#10067 Retire F34FailsToInstall NEW bugs 8+ weeks old 1 week before the final freeze
Closed: Fixed 3 months ago by churchyard. Opened 3 months ago by churchyard.

I will do this myself, do not take action

Point 10 of the https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/ says:

A week before the scheduled final freeze, any packages which have open FTI bugs in the NEW state for at least 8 weeks with at least 2 reminder comments will be retired from the relevant release and rawhide (in addition to being orphaned).

I will do this. The following scriptlet determines the raw list:

import bugzilla
import sys
import time
from datetime import datetime


bzapi = bugzilla.Bugzilla("bugzilla.redhat.com")
if not bzapi.logged_in:
    bzapi.interactive_login()

TRACKER = 1868279  # F34FailsToInstall
JUDGEMENT_DAY = datetime.fromisoformat("2021-03-30")

fields = ["component", "creation_time"]
query = bzapi.build_query(product="Fedora", include_fields=fields)
query["blocks"] = TRACKER
query["status"] = "NEW"
bugzillas = bzapi.query(query)


def is_reminder(c):
    return c["creator"].startswith("mhroncok@") and "reminder" in c["text"]


def two_reminders(bug):
    return sum(is_reminder(c) for c in bug.getcomments()) >= 2


retire_ids = []

for bug in bugzillas:
    creation_time = datetime.fromtimestamp(time.mktime(bug.creation_time.timetuple()))
    delta = JUDGEMENT_DAY - creation_time
    symbol = "\N{GREEN HEART}"
    if delta.days >= 8 * 7 and two_reminders(bug):
        symbol = "\N{SKULL}"
        retire_ids.append(bug.id)
    print(bug.component, delta, symbol, file=sys.stderr)

print(
    "https://bugzilla.redhat.com/buglist.cgi?bug_id="
    + ",".join(str(b) for b in retire_ids)
)

The list needs to be hand-checked for outliers (e.g. packages that only changed to NEW recently).

The list needs to be updated on the judgement day.

Fixed bugs need to be closed before running this script.

The current output of the script is:

trac-privateticketsplugin 92 days, 11:57:20 ๐Ÿ’€
xmonad-log-applet 92 days, 11:56:49 ๐Ÿ’€
dionaea 83 days, 12:44:39 ๐Ÿ’€
fillets-ng-data 83 days, 12:44:36 ๐Ÿ’€
flexdock 83 days, 12:44:32 ๐Ÿ’€
gedit-code-assistance 83 days, 12:44:28 ๐Ÿ’€
quvi 83 days, 12:40:21 ๐Ÿ’€
sump-analyzer 83 days, 12:40:15 ๐Ÿ’€
xiphos 83 days, 12:40:09 ๐Ÿ’€
rubygem-raindrops 80 days, 14:05:59 ๐Ÿ’€
jrnl 55 days, 2:05:00 ๐Ÿ’š
luminance-hdr 55 days, 2:04:54 ๐Ÿ’š
nightview 55 days, 2:04:49 ๐Ÿ’š
pgRouting 47 days, 14:40:02 ๐Ÿ’š
rdkit 47 days, 14:40:00 ๐Ÿ’š
gtk-nodoka-engine 46 days, 3:58:12 ๐Ÿ’š
cutter-re 41 days, 9:44:01 ๐Ÿ’š
root 10 days, 10:32:44 ๐Ÿ’š
moodle 10 days, 5:55:51 ๐Ÿ’š
nextcloud 10 days, 5:55:45 ๐Ÿ’š
sirikali 10 days, 5:55:32 ๐Ÿ’š
rust-nom 10 days, 1:48:09 ๐Ÿ’š

https://bugzilla.redhat.com/buglist.cgi?bug_id=1911078,1911090,1912733,1912734,1912735,1912736,1912814,1912816,1912818,1914180

I've checked the ๐Ÿ’€ bugzillas and they are all valid policy-wise. I'll post a comment to them that they are scheduled to be retired.


Metadata Update from @smooge:
- Issue tagged with: medium-gain, medium-trouble, ops

3 months ago

Here we go. Running the scriipt that automatically opens (but also closes) F34FailsToInstall bugzillas first.

As expected, it said:

No FTI bugs to close, everything is still broken

Looking at the list. gedit-code-assistance has already been retired in F35 and F34 by @kalev:

$ koji list-pkgs --show-blocked  --tag f34 --quiet --package gedit-code-assistance 
gedit-code-assistance   f34                                      releng          [BLOCKED]
$ koji list-pkgs --show-blocked  --tag f35 --quiet --package gedit-code-assistance 
gedit-code-assistance   f35                                      releng          [BLOCKED]

From the remaining packages, only xmonad-log-applet was retired on F35:

$ parallel koji list-pkgs  --show-blocked --tag f35 --quiet --package -- flexdock quvi sump-analyzer trac-privateticketsplugin xiphos rubygem-raindrops dionaea xmonad-log-applet fillets-ng-data
flexdock                f35                                      releng         
sump-analyzer           f35                                      releng         
xiphos                  f35                                      releng         
quvi                    f35                                      releng         
xmonad-log-applet       f35                                      releng          [BLOCKED]
rubygem-raindrops       f35                                      releng         
trac-privateticketsplugin f35                                      releng         
dionaea                 f35                                      releng         
fillets-ng-data         f35                                      releng  

Merging the commit to f34:

$ fedpkg clone xmonad-log-applet && (cd xmonad-log-applet && git switch f34 && git merge rawhide --ff-only && git push); rm xmonad-log-applet -rf
Cloning into 'xmonad-log-applet'...
...
Branch 'f34' set up to track remote branch 'f34' from 'origin'.
Switched to a new branch 'f34'
Updating 6c88ad2..7bc23e2
Fast-forward
...
 5 files changed, 1 insertion(+), 242 deletions(-)
 delete mode 100644 .gitignore
 delete mode 100644 0001-update-to-libmatepanelapplet-4.0.patch
 create mode 100644 dead.package
 delete mode 100644 sources
 delete mode 100644 xmonad-log-applet.spec
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
...
To ssh://pkgs.fedoraproject.org/rpms/xmonad-log-applet
   6c88ad2..7bc23e2  f34 -> f34

https://src.fedoraproject.org/rpms/xmonad-log-applet/commits/f34 verified and checks.

$ close-rawhide-bzs xmonad-log-applet; close-branched-bzs xmonad-log-applet
https://bugzilla.redhat.com/show_bug.cgi?id=1923489
https://bugzilla.redhat.com/show_bug.cgi?id=1911090

The rest:

for pkg in flexdock quvi sump-analyzer trac-privateticketsplugin xiphos rubygem-raindrops dionaea fillets-ng-data; do
  echo Retiring $pkg
  fedpkg clone $pkg && \
  (cd $pkg && git switch f34 && \
    fedpkg retire 'Retired: Package fails to install for 8+ weeks

See https://pagure.io/releng/issue/10067' && \
    git switch rawhide && git merge f34 && git push)
  rm -rf $pkg
  close-rawhide-bzs $pkg
  close-branched-bzs $pkg
done

It takes a while...

https://src.fedoraproject.org/rpms/flexdock/commits/rawhide
https://src.fedoraproject.org/rpms/flexdock/commits/f34
https://bugzilla.redhat.com/show_bug.cgi?id=1923458
https://bugzilla.redhat.com/show_bug.cgi?id=1912735

https://src.fedoraproject.org/rpms/quvi/commits/rawhide
https://src.fedoraproject.org/rpms/quvi/commits/f34
https://bugzilla.redhat.com/show_bug.cgi?id=1912814
https://bugzilla.redhat.com/show_bug.cgi?id=1923452

https://src.fedoraproject.org/rpms/sump-analyzer/commits/rawhide
https://src.fedoraproject.org/rpms/sump-analyzer/commits/f34
https://bugzilla.redhat.com/show_bug.cgi?id=1923425
https://bugzilla.redhat.com/show_bug.cgi?id=1912816

https://src.fedoraproject.org/rpms/trac-privateticketsplugin/commits/rawhide
https://src.fedoraproject.org/rpms/trac-privateticketsplugin/commits/f34
https://bugzilla.redhat.com/show_bug.cgi?id=1911078
https://bugzilla.redhat.com/show_bug.cgi?id=1739032

https://src.fedoraproject.org/rpms/xiphos/commits/rawhide
https://src.fedoraproject.org/rpms/xiphos/commits/f34
https://bugzilla.redhat.com/show_bug.cgi?id=1912818
https://bugzilla.redhat.com/show_bug.cgi?id=1923343

https://src.fedoraproject.org/rpms/rubygem-raindrops/commits/rawhide
https://src.fedoraproject.org/rpms/rubygem-raindrops/commits/f34
https://bugzilla.redhat.com/show_bug.cgi?id=821686
https://bugzilla.redhat.com/show_bug.cgi?id=1914180

https://src.fedoraproject.org/rpms/dionaea/commits/rawhide
https://src.fedoraproject.org/rpms/dionaea/commits/f34
https://bugzilla.redhat.com/show_bug.cgi?id=1912733
https://bugzilla.redhat.com/show_bug.cgi?id=1943017
https://bugzilla.redhat.com/show_bug.cgi?id=1923566

https://src.fedoraproject.org/rpms/fillets-ng-data/commits/rawhide
https://src.fedoraproject.org/rpms/fillets-ng-data/commits/f34
https://bugzilla.redhat.com/show_bug.cgi?id=1912734

This is now done on dist-git level. Packages still need to be blocked and untagged, so i keep this open until this happens (it should happen automatically).

$ parallel koji list-pkgs  --show-blocked --tag f35 --quiet --package -- flexdock quvi sump-analyzer trac-privateticketsplugin xiphos rubygem-raindrops dionaea xmonad-log-applet fillets-ng-data
trac-privateticketsplugin f35                                      releng          [BLOCKED]
quvi                    f35                                      releng          [BLOCKED]
rubygem-raindrops       f35                                      releng          [BLOCKED]
dionaea                 f35                                      releng          [BLOCKED]
xiphos                  f35                                      releng          [BLOCKED]
xmonad-log-applet       f35                                      releng          [BLOCKED]
sump-analyzer           f35                                      releng          [BLOCKED]
flexdock                f35                                      releng          [BLOCKED]
fillets-ng-data         f35                                      releng          [BLOCKED]

$ parallel koji list-pkgs  --show-blocked --tag f34 --quiet --package -- flexdock quvi sump-analyzer trac-privateticketsplugin xiphos rubygem-raindrops dionaea xmonad-log-applet fillets-ng-data
flexdock                f34                                      releng          [BLOCKED]
trac-privateticketsplugin f34                                      releng          [BLOCKED]
xmonad-log-applet       f34                                      releng          [BLOCKED]
rubygem-raindrops       f34                                      releng          [BLOCKED]
quvi                    f34                                      releng          [BLOCKED]
dionaea                 f34                                      releng          [BLOCKED]
sump-analyzer           f34                                      releng          [BLOCKED]
xiphos                  f34                                      releng          [BLOCKED]
fillets-ng-data         f34                                      releng          [BLOCKED]

Metadata Update from @churchyard:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

3 months ago

Login to comment on this ticket.

Metadata
Boards 1
Ops Status: Backlog