gnome-software in Fedora 40 seems to automatically download distribution release upgrades
We are working on a Fedora openQA 'graphical upgrade' test - automating https://fedoraproject.org/wiki/QA:Testcase_upgrade_gnome-software_current_workstation , basically. The instance of the test this bug report is concerned with boots from a Fedora Workstation 40 disk image, switches to a VT, updates (with dnf -y update
), reboots, goes to a VT again, installs jq and dbus-x11, goes back to GDM, logs in, runs gnome-software (to trigger creation of fedora.json), waits ten seconds, quits it, goes back to the VT, su
s to the user account, hacks up fedora.json
to say there's a Fedora 41 that is "Active" - https://openqa.stg.fedoraproject.org/tests/3783949/file/graphical_upgrade_prerequisites-fedora.json is how the hacked up file looks - disables some screen blanking setting, reboots, logs into the desktop, runs Software, goes to the Updates tab, and expects to see a notification of an available upgrade with a Download button.
However, it seems like in this specific configuration, instead gnome-software has already downloaded the upgrade, and shows a "Restart & Upgrade..." button. It shouldn't do that, right? Distribution release upgrades should always be manually triggered.
The exact same test starting from Fedora 39 does not act this way - it shows the "Download" button as expected. Similarly, the same tests for upgrading from 39 to 40 and 38 to 40 also show the "Download" button. It's only when we run the test from Fedora 40 to "41" (Rawhide) that it does this.