[Bug 2018517] Re: build fails on Ubuntu Jammy 22.04 - failing tests
Julian Andres Klode
2018517 at bugs.launchpad.net
Mon Aug 21 13:24:26 UTC 2023
The current version for 22.04 is 2.06-2ubuntu14.2 and it built
successfully on the builders. There can be a lot of reasons why the test
suite fails on a local machine, for example, the file system tests fail
when running as root in a container.
We can't fix the test suite everywhere - ultimately what matters is that
it works on the builders, which it does.
** Changed in: grub2-unsigned (Ubuntu)
Status: New => Won't Fix
** Changed in: grub2-unsigned (Ubuntu)
Status: Won't Fix => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2-unsigned in Ubuntu.
https://bugs.launchpad.net/bugs/2018517
Title:
build fails on Ubuntu Jammy 22.04 - failing tests
Status in grub2-unsigned package in Ubuntu:
Invalid
Bug description:
Several tests fail when building on a freshly installed Ubuntu 22.04.
Trying to compile 2.06-2ubuntu7:
- btrfs_test fails because it complains that "invalid sectorsize 256, expected range is [4K, 64K]", although trying to use 4K - 64K gives a new error, "sectorsize 8192 not yet supported for page size 4096". I was able to get the build going with MINLOGSECSIZE=12, MAXLOGSECSIZE=12, but that's probably silly. Also, I'm not sure what happens on a Linux system with page size <> 4K (would mkbtrfs complain about a sector size 4K there?)
- fat_test fails because grub-fs-tester contains "GRUBTEST ;_" for a label and mkfs.vfat complains "Labels with characters *?.,;:/\|+=<>[]" are not allowed". (Setting the label to "GRUBTEST _" fixes this.
squashfs_test shows a "TIME FAIL" - removing "-not-reproducable" as
2.06-2ubuntu14 does, did not help.
Please note: trying to compile 2.06-2ubuntu16 gave even more failed
tests: xfs_test, ahci_test and grub_func_test failed, too, but as
2.06-2ubuntu16 has no business on 22.04, I didn't investigate further.
Anyway: changing "MINLOGSECSIZE=8" to "12" for btrfs*, and changing
the FSLABEL to "GRUBTEST _" for vfat, fixed the btrfs_test and
vfat_test for me. Squashfs still shows a TIME FAIL.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/2018517/+subscriptions
More information about the foundations-bugs
mailing list