sbattach --detach failures with 6.18
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| linux-meta (Ubuntu) |
New
|
Undecided
|
Paolo Pisati | ||
| sbsigntool (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Bug Description
Ubuntu Resolute install ISOs are starting to fail a promotion step, due to test failures related to sbattach / sbverify. Promotion here means that we take a built ISO, see if it passes some integration tests, and if so, allow it to be considered the "current" ISO on cdimage.
The test failure is related to kernel signatures, and has regressed with the 6.18 upload.
That failing test can be found here - https:/
I have extracted the logic from that test into a standalone script that can be used against vmlinuz files directly, without the additional challenge of needing a full UTAH setup. See attached. It needs a little configuration - see the things marked FIXME.
The last passing ISO logfile can be found here - https:/
The first failing ISO logfile can be found here - https:/
This dec-20th logfile is the first one to pick up kernel 6.18.
The failure in question looks like:
08:46:53 ERROR: test_efi_
08:46:53 ERROR: Traceback (most recent call last):
08:46:53 File "/usr/lib/
08:46:53 yield
08:46:53 File "/usr/lib/
08:46:53 self._callTestM
08:46:53 File "/usr/lib/
08:46:53 method()
08:46:53 File "/usr/share/
08:46:53 self.assertEqua
08:46:53 AssertionError: 'warning: data remaining[16721800 vs 17160[34 chars]s?\n' != ''
08:46:53 - warning: data remaining[16721800 vs 17160264]: gaps between PE/COFF sections?
If you use my attached script and point it at kernels 6.17 and 6.18, you will see the `sbattach --detach` pass for 6.17 and fail for 6.18.
| tags: | added: iso-testing |
| tags: | added: kernel-daily-bug |
| Changed in linux-meta (Ubuntu): | |
| assignee: | nobody → Paolo Pisati (p-pisati) |

fyi
Starting with kernel 6.18 I see secureboot problems (likely also due to signature) on s390x - these again do not exist on a kernel 6.17.
However, s390x is not a UEFI platforms, but the issue with the signatures can be a more general issue, not limited to UEFI platforms.