Comments

3836 Comments

This changes the prompt display in ways that break openQA, and seem unintentional. For instance, when logged in as root, the entire prompt is green and there is no # character - https://openqa.stg.fedoraproject.org/tests/6860320#step/_console_wait_login_2/9

It's BIOS installs that fail on x86_64. UEFI installs are OK.

On aarch64...there's a lot of stuff in the serial console log but I'm not sure how useful it is. The first part is the pre-update boot. On the second boot we see grub at line 17379:

GRUB version 2.12

/----------------------------------------------------------------------------------------------------------------------------\||||||||||||||||||||||||||||||||||||||||||||||||||||||||\----------------------------------------------------------------------------------------------------------------------------/     Use the ^ and v keys to select which entry is highlighted.                                                          

      Press enter to boot the selected OS, `e' to edit the commands before booting or `c' for a command-line. ESC to      

      return previous menu.                                                                                                *Fedora Linux (7.3.0-0.rc0.260821g818bebeb63dd.8.fc46.aarch64) 46 (Rawhide Prerelease)                                       Fedora Linux (7.3.0-0.rc0.260819gbd5f485f3f02.5.fc46.aarch64) 46 (Rawhide Prerelease)                                       Fedora Linux (0-rescue-54db555c6dd246dda318e3bc7ec016c0) 46 (Rawhide Prerelease)                                            UEFI Firmware Settings                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         The highlighted entry will be executed automatically in 5s.                                                                    The highlighted entry will be executed automatically in 4s.                                                                    The highlighted entry will be executed automatically in 3s.                                                                    The highlighted entry will be executed automatically in 2s.                                                                    The highlighted entry will be executed automatically in 1s.                                                                    The highlighted entry will be executed automatically in 0s.                                                                   Booting `Fedora Linux (7.3.0-0.rc0.260821g818bebeb63dd.8.fc46.aarch64) 46 (Rawhide Prerelease)'

and then after that there's just a whole ton of this kinda stuff:

GetMemoryAttributes: BaseAddress == 0x23E08A000, Length == 0x1000
GetMemoryAttributes: RegionAddress == 0x23E000000, RegionLength == 0x800000, RegionAttributes == 0x6000000000070C
GetMemoryAttributes: Union == 6000000000070C, Intersection == 6000000000070C

then it ends with:

GetMemoryAttributes: BaseAddress == 0x236071000, Length == 0xF000
GetMemoryAttributes: RegionAddress == 0x236071000, RegionLength == 0x18F000, RegionAttributes == 0x70C
GetMemoryAttributes: Union == 70C, Intersection == 70C
VirtioBlkExitBoot: Context=0x23EA35C98
VirtioRngExitBoot: Context=0x23EBF9018
VirtioGpuExitBoot: Context=0x23EBFE118
SetUefiImageMemoryAttributes - 0x000000023FE70000 - 0x0000000000010000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000023FE80000 - 0x0000000000010000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000023FE90000 - 0x0000000000020000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000023FE20000 - 0x0000000000010000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000023FE30000 - 0x0000000000010000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000023FE40000 - 0x0000000000020000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000023F330000 - 0x0000000000010000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000023F340000 - 0x0000000000010000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000023F350000 - 0x0000000000020000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000023F290000 - 0x0000000000010000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000023F2A0000 - 0x0000000000010000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000023F2B0000 - 0x0000000000020000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000023F120000 - 0x0000000000010000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000023F130000 - 0x0000000000010000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000023F140000 - 0x0000000000020000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000023EEF0000 - 0x0000000000010000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000023EF00000 - 0x0000000000010000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000023EF10000 - 0x0000000000010000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000023EEB0000 - 0x0000000000010000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000023EEC0000 - 0x0000000000010000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000023EED0000 - 0x0000000000010000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000023EE70000 - 0x0000000000010000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000023EE80000 - 0x0000000000010000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000023EE90000 - 0x0000000000010000 (0x0000000000000008)

No idea if any of that is useful.

openQA suggests this fails to boot entirely on aarch64. Also some installs on x86_64 appear to fail with:

Aug 21 23:42:29 localhost.localdomain org.fedoraproject.Anaconda.Modules.Storage[2485]: INFO:program:Running in chroot '/mnt/sysroot'... grub2-install --no-floppy /dev/vda
Aug 21 23:42:29 localhost.localdomain org.fedoraproject.Anaconda.Modules.Storage[2485]: INFO:program:grub2-install: error: /usr/lib/grub/i386-ieee1275/modinfo.sh doesn't exist. Please specify --target or --directory.
Aug 21 23:42:29 localhost.localdomain org.fedoraproject.Anaconda.Modules.Storage[2485]: DEBUG:program:Return code of grub2-install: 1

OK, so now the failures look a lot like the other updates - failing its own test suite, that's up to you to figure out. :D

openQA failures are resolved, so re-enabling autopush.

Here's the backtrace:

#0  kmscon_seat_remove_video (seat=seat@entry=0x55c0d21aa8c0, data=0x55c0d2208780) at ../src/seat.c:1032
        vid = <optimized out>
        d = 0x0
        iter = 0x0
        __ptr = <optimized out>
#1  0x000055c0a545fbad in kmscon_seat_remove_video (seat=<optimized out>, data=<optimized out>) at ../src/seat.c:1025
        vid = <optimized out>
        d = <optimized out>
        iter = <optimized out>
        __ptr = <optimized out>
#2  kmscon_seat_free (seat=0x55c0d21aa8c0) at ../src/seat.c:852
        s = <optimized out>
        vid = <optimized out>
        ret = 0
        __func__ = <optimized out>
        __ptr = <optimized out>
        __ptr = <optimized out>
#3  0x000055c0a5453b21 in kmscon_seat_free (seat=<optimized out>) at ../src/seat.c:840
        s = <optimized out>
        vid = <optimized out>
        ret = <optimized out>
        __func__ = <optimized out>
        __ptr = <optimized out>
        __ptr = <optimized out>
#4  destroy_seat (app=0x7ffd935f1f30) at ../src/main.c:98
No locals.
#5  main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:231
        ret = 0
        conf_ctx = 0x55c0d21a9560
        conf = <optimized out>
        app = {conf_ctx = 0x55c0d21a9560, conf = 0x55c0d21a93c0, exiting = true, eloop = 0x55c0d21abb40, seat_ctx = 0x55c0d21af9e0, seat_conf = 0x55c0d21af840, seat = 0x55c0d21aa8c0, dbus = 0x55c0d21ac190}
        __func__ = "main"

This seems to have a real bug: when we boot to runlevel 3, do some stuff, then run systemctl start graphical.target, we don't reach a graphical login screen as we should. We just wind up at a non-kmscon login prompt on VT1: https://openqa.fedoraproject.org/tests/5171725#step/desktop_notifications/134 .

The journal seems to show that, when we run that command, kmscon on tty1 crashes on exit:

Aug 20 16:21:34 fedora systemd[1]: Stopping kmsconvt@tty1.service - KMS System Console on tty1...
Aug 20 16:21:34 fedora kernel: kmscon[988]: segfault at 18 ip 000055c0a545c820 sp 00007ffd935f1e50 error 4 in kmscon[24820,55c0a5450000+25000] likely on CPU 0 (core 0, socket 0)
Aug 20 16:21:34 fedora systemd[1]: plymouth-quit.service: Deactivated successfully.
Aug 20 16:21:34 fedora kernel: Code: 85 ff 0f 84 81 00 00 00 4c 89 6d f0 4d 8d 6e 38 48 89 5d e0 49 8b 5e 38 4c 39 eb 75 0d eb 3b 0f 1f 00 48 8b 1b 4c 39 eb 74 30 <48> 8b 43 18 48 85 c0 74 04 48 8b 40 30 48 39 c7 75 e6 48 89 de 4c

that presumably causes the problem. I'll try to get a backtrace.

karma

This has the same problem as the F44 update and the F46 update. A footgun left lying in the spec file means that FreeIPA's upgrade version check treats 4.13.2 builds as 4.13.5, and considers these new 4.13.3 builds as being lower-versioned, and refuses to run the upgrade.

The bug is technically in the 4.13.2 builds, but everything is "fine" until we introduce 4.13.3 or 4.13.4 builds like these. We need to resolve this by going straight to 4.13.6 (or 4.13.5-3 or higher, I guess) or doing some more sed chicanery which we remember to remove afterwards this time. These updates cannot be pushed out as they stand.

karma

Per https://bodhi.fedoraproject.org/updates/FEDORA-2026-903d904933#comment-4740881 , networking is broken because the FreeIPA upgrade failed, and the FreeIPA upgrade fails because you left a footgun in the spec which makes the upgrade check treat the 4.13.2 build as 4.13.5 and means it sees 4.13.3 as a downgrade. I will request that this update be untagged.

No. The upgrade failures are critical. When the AVC check test runs correctly, it will only ever cause a soft fail (which is treated as a pass), not a hard fail. It is hard failing because networking isn't working, which is obviously critical.

Networking isn't working because the FreeIPA upgrade didn't work. The FreeIPA upgrade didn't work because the version check failed:

Aug 20 09:02:52 ipa001.test.openqa.fedoraproject.org ipactl[20115]: Automatic upgrade failed: IPA server upgrade failed: Inspect /var/log/ipaupgrade.log and run command ipa-server-upgrade manually.
Aug 20 09:02:52 ipa001.test.openqa.fedoraproject.org ipactl[20115]: ("Unable to execute IPA upgrade: data are in newer version than IPA (data version '4.13.5-2.fc43', IPA version '4.13.3-1.fc44')", 1)

and that failed because you left a big footgun lying around in the spec:

# Adjust minor release version because we actually applied all patches post 4.12.2
sed -i 's@IPA_VERSION_RELEASE, 2@IPA_VERSION_RELEASE, 5@' VERSION.m4

This turns any x.x.2 release into an x.x.5 release so far as the upgrade version check is concerned - but does nothing to x.x.3, x.x.4 or x.x.5 releases. So our 4.13.2 releases look like 4.13.5 to the upgrade check, and upgrades to 4.13.3 and 4.13.4 will fail.

To fix this we either need to just skip to 4.13.6 upstream, or put a new sed command in which turns .3 into .6 and then REMEMBER TO TAKE IT OUT AGAIN before we get to 4.14.3.

For now we will have to untag this from Rawhide and leave the 43/44/45 updates gated, even though they are security fixes. Please sort this mess out ASAP.

karma

No, the AVCs aren't the problem. The AVC check only ever causes a soft fail. The test is hard failing because this upgrade breaks networking on the upgraded system, so when we try to do dnf -y install python3-dnf in the course of running the post-fail hook to ensure all logs are uploaded, it fails. That is, correctly, a hard failure, and you should not have waived this. Now all subsequent updates are failing the same way.

Yeah, I saw the Discover thing yesterday and started looking into it but ran out of time. It's quite odd. For now I've just been brute force restarting those failures, but we need to do something about it.

If the test suite is racy, then it is a bad idea to configure it as gating, IMO. If you are careful to monitor the results and waive 'OK' failures I guess it's sustainable, but it still feels like a bad idea. It seems like it'd be better to make the test suite non-gating, or remove the racy tests from it, or mark them as known to fail (however the test framework in question allows that, if it does).

Looks like this failed its own test suite because Fedora 46 needs to be added to the ON_PREM_RELEASES constant:

Error: getHostDistroKey failed, distro not in ON_PREM_RELEASES

The kernel build test appears to have failed on a dracut error:

+ dracut --conf=/home/tmp.jxoDYfH78G/SOURCES/dracut-virt.conf --confdir=/tmp/tmp.BCPVnE5pG8 --no-hostonly --verbose --kver 7.2.0-0.rc4.34.LK.fc46.x86_64+debug --kmoddir /home/tmp.jxoDYfH78G/BUILD/kernel-7.2.0-build/BUILDROOT/lib/modules/7.2.0-0.rc4.34.LK.fc46.x86_64+debug/ --logfile=/tmp/tmp.Yxfb4gxML2 /home/tmp.jxoDYfH78G/BUILD/kernel-7.2.0-build/BUILDROOT/lib/modules/7.2.0-0.rc4.34.LK.fc46.x86_64+debug/vmlinuz-virt.img
dracut[I]: Executing: /usr/bin/dracut --conf=/home/tmp.jxoDYfH78G/SOURCES/dracut-virt.conf --confdir=/tmp/tmp.BCPVnE5pG8 --no-hostonly --verbose --kver 7.2.0-0.rc4.34.LK.fc46.x86_64+debug --kmoddir /home/tmp.jxoDYfH78G/BUILD/kernel-7.2.0-build/BUILDROOT/lib/modules/7.2.0-0.rc4.34.LK.fc46.x86_64+debug/ --logfile=/tmp/tmp.Yxfb4gxML2 /home/tmp.jxoDYfH78G/BUILD/kernel-7.2.0-build/BUILDROOT/lib/modules/7.2.0-0.rc4.34.LK.fc46.x86_64+debug/vmlinuz-virt.img
dracut[E]: Module 'systemd-pcrphase' cannot be found.

not quite sure what's going on there. Please investigate, @nickc.

This hit several failures in its own test suite. Please investigate, @plautrba .

This failed its own test suite because it attempts to use debuginfo-install command which is not present:

:: [ 20:18:45 ] :: [  BEGIN   ] :: Running 'debuginfo-install -y bash'
/usr/share/beakerlib/testing.sh: line 896: debuginfo-install: command not found
:: [ 20:18:45 ] :: [   FAIL   ] :: Command 'debuginfo-install -y bash' (Expected 0, got 127)

With dnf5, the correct command is dnf debuginfo-install. The test should probably be updated to just run that unconditionally, or if it needs to run on anything old enough not to have dnf5 yet, check and run the appropriate command for the circumstances.

@amerey

Like the F45 update, this failed its own test suite:

libkcapi - Error: AF_ALG: bind failed (errno: -2)
libkcapi - Error: AF_ALG: bind failed (errno: -2)
[FAILED: 64-bit - 7.2.0-0.rc4.34.fc45.x86_64] Auxiliary test failure detected

@omos

This failed its own test suite because it apparently can't find it:

:: [ 13:12:04 ] :: [  BEGIN   ] :: Enter testsuite directory :: actually running 'pushd BUILD/linuxptp-4.4-build/testsuite'
/usr/share/beakerlib/testing.sh: line 896: pushd: BUILD/linuxptp-4.4-build/testsuite: No such file or directory
:: [ 13:12:04 ] :: [   FAIL   ] :: Enter testsuite directory (Expected 0, got 1)

@mlichvar