[Bug 1164310] New: [Build 20200213] wrong order: /boot/grub2/arm64-efi specified before /boot
http://bugzilla.opensuse.org/show_bug.cgi?id=1164310 Bug ID: 1164310 Summary: [Build 20200213] wrong order: /boot/grub2/arm64-efi specified before /boot Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other URL: https://openqa.opensuse.org/tests/1174670/modules/firs trun/steps/48 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: mloviska@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- ## Observation openQA test in scenario opensuse-Tumbleweed-JeOS-for-AArch64-aarch64-jeos@aarch64-HD24G fails in [firstrun](https://openqa.opensuse.org/tests/1174670/modules/firstrun/steps/48) ## Test suite description Maintainer: fvogt, mnowak Start JeOS from the HDD image, configure it using the firstboot wizard and then run basic tests. console=tty0 added as needed for aarch64. `findmnt --verbose --verify` reports issue with mounts in /boot : : /usr/local [ ] target exists [ ] FS options: autodefrag,subvol=@/usr/local [ ] UUID=f8d31393-2483-4231-9ead-1682c870873e translated to /dev/vda4 [ ] source /dev/vda4 exists [ ] FS type is btrfs /boot/grub2/arm64-efi [E] wrong order: /boot/grub2/arm64-efi specified before /boot [ ] target exists [ ] FS options: autodefrag,subvol=@/boot/grub2/arm64-efi [ ] UUID=f8d31393-2483-4231-9ead-1682c870873e translated to /dev/vda4 [ ] source /dev/vda4 exists [ ] FS type is btrfs / [ ] target exists [ ] FS options: autodefrag [ ] UUID=f8d31393-2483-4231-9ead-1682c870873e translated to /dev/vda4 [ ] source /dev/vda4 exists [ ] FS type is btrfs swap [ ] UUID=135d9c2f-691f-4f23-8f61-75672c1fa424 translated to /dev/vda3 [ ] source /dev/vda3 exists [ ] FS type is swap /boot [ ] target exists [ ] UUID=221bc50e-fee7-4fc4-8659-a6245c9ff571 translated to /dev/vda2 [ ] source /dev/vda2 exists [ ] FS type is ext4 /boot/efi [ ] target exists [ ] UUID=90F4-E245 translated to /dev/vda1 [ ] source /dev/vda1 exists [ ] FS type is vfat ## Reproducible Fails since (at least) Build [20200115](https://openqa.opensuse.org/tests/1146520) ## Expected result Last good: [20200107](https://openqa.opensuse.org/tests/1136889) (or more recent) ## Further details Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=aarch64&distri=opensuse&flavor=JeOS-for-AArch64&machine=aarch64-HD24G&test=jeos&version=Tumbleweed) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164310 Martin Loviska <mloviska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|qa-bugs@suse.de |mloviska@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164310 Guillaume GARDET <guillaume.gardet@arm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |guillaume.gardet@arm.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164310 Guillaume GARDET <guillaume.gardet@arm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcassany@suse.com, | |ms@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164310 Guillaume GARDET <guillaume.gardet@arm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fvogt@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164310 http://bugzilla.opensuse.org/show_bug.cgi?id=1164310#c1 --- Comment #1 from Guillaume GARDET <guillaume.gardet@arm.com> --- It looks like a bug in kiwi. Reported upstream: https://github.com/OSInside/kiwi/issues/1349 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164310 http://bugzilla.opensuse.org/show_bug.cgi?id=1164310#c2 Fabian Vogt <fvogt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |guillaume.gardet@opensuse.o | |rg Flags| |needinfo?(guillaume.gardet@ | |opensuse.org) --- Comment #2 from Fabian Vogt <fvogt@suse.com> --- Why is there a /boot partition? That breaks snapshotting. It doesn't make sense to have /boot on ext4 and /boot/grub2/arm64-efi as btrfs subvolume. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164310 http://bugzilla.opensuse.org/show_bug.cgi?id=1164310#c3 Guillaume GARDET <guillaume.gardet@arm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(guillaume.gardet@ | |opensuse.org) | --- Comment #3 from Guillaume GARDET <guillaume.gardet@arm.com> --- (In reply to Fabian Vogt from comment #2)
Why is there a /boot partition? That breaks snapshotting.
It doesn't make sense to have /boot on ext4 and /boot/grub2/arm64-efi as btrfs subvolume.
I think /boot was not a btrfs volume because u-boot had no support for btrfs, so far. Matthias enabled it very recently, so we should be able to merge /boot partition into the btrfs volume. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164310 Guillaume GARDET <guillaume.gardet@arm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |afaerber@suse.com, | |dmueller@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164310 http://bugzilla.opensuse.org/show_bug.cgi?id=1164310#c4 --- Comment #4 from Fabian Vogt <fvogt@suse.com> --- (In reply to Guillaume GARDET from comment #3)
(In reply to Fabian Vogt from comment #2)
Why is there a /boot partition? That breaks snapshotting.
It doesn't make sense to have /boot on ext4 and /boot/grub2/arm64-efi as btrfs subvolume.
I think /boot was not a btrfs volume because u-boot had no support for btrfs, so far. Matthias enabled it very recently, so we should be able to merge /boot partition into the btrfs volume.
For EFI images the btrfs support in GRUB is used. That's how RPi images boot already. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164310 http://bugzilla.opensuse.org/show_bug.cgi?id=1164310#c5 --- Comment #5 from Guillaume GARDET <guillaume.gardet@arm.com> --- (In reply to Fabian Vogt from comment #4)
For EFI images the btrfs support in GRUB is used. That's how RPi images boot already.
No, JeOS RPi images do not use btrfs, so far. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164310 http://bugzilla.opensuse.org/show_bug.cgi?id=1164310#c6 --- Comment #6 from Guillaume GARDET <guillaume.gardet@arm.com> --- The comment in JeOS is: "Map /boot as ext4 to make dtbs available to U-Boot" For RPi, we need a FAT partition so that the firmware, dtb and u-boot can be loaded. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164310 http://bugzilla.opensuse.org/show_bug.cgi?id=1164310#c7 --- Comment #7 from Fabian Vogt <fvogt@suse.com> --- (In reply to Guillaume GARDET from comment #6)
The comment in JeOS is: "Map /boot as ext4 to make dtbs available to U-Boot"
For RPi, we need a FAT partition so that the firmware, dtb and u-boot can be loaded.
That's the VFAT EFI partition. /boot is on btrfs, at least for the SLE JeOS and openSUSE JeOS should do the same. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164310 http://bugzilla.opensuse.org/show_bug.cgi?id=1164310#c8 --- Comment #8 from Guillaume GARDET <guillaume.gardet@arm.com> --- (In reply to Fabian Vogt from comment #7)
(In reply to Guillaume GARDET from comment #6)
The comment in JeOS is: "Map /boot as ext4 to make dtbs available to U-Boot"
For RPi, we need a FAT partition so that the firmware, dtb and u-boot can be loaded.
That's the VFAT EFI partition. /boot is on btrfs, at least for the SLE JeOS and openSUSE JeOS should do the same.
Yes, it is the EFI partition where required files are copied automatically. So far, openSUSE JeOS uses ext4, not btrfs. If we switch to btrfs, we need to warn people about the additional free space required to avoid 'zypper dup' failures. But this is another topic. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164310 http://bugzilla.opensuse.org/show_bug.cgi?id=1164310#c9 --- Comment #9 from Fabian Vogt <fvogt@suse.com> --- (In reply to Guillaume GARDET from comment #8)
(In reply to Fabian Vogt from comment #7)
(In reply to Guillaume GARDET from comment #6)
The comment in JeOS is: "Map /boot as ext4 to make dtbs available to U-Boot"
For RPi, we need a FAT partition so that the firmware, dtb and u-boot can be loaded.
That's the VFAT EFI partition. /boot is on btrfs, at least for the SLE JeOS and openSUSE JeOS should do the same.
Yes, it is the EFI partition where required files are copied automatically.
So far, openSUSE JeOS uses ext4, not btrfs.
The EFI flavor, which is tested in openQA, uses btrfs. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164310 http://bugzilla.opensuse.org/show_bug.cgi?id=1164310#c10 --- Comment #10 from Guillaume GARDET <guillaume.gardet@arm.com> --- SR to fix JeOS images builds with btrfs enabled: * Tumbleweed: https://build.opensuse.org/request/show/779006 * Leap 15.2: https://build.opensuse.org/request/show/779007 But it seems that bootpartition should default to false in kiwi when btrfs is used. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164310 http://bugzilla.opensuse.org/show_bug.cgi?id=1164310#c11 Guillaume GARDET <guillaume.gardet@arm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Assignee|screening-team-bugs@suse.de |guillaume.gardet@arm.com --- Comment #11 from Guillaume GARDET <guillaume.gardet@arm.com> --- Fixed in both Leap 15.2 and Tumbleweed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164310 http://bugzilla.opensuse.org/show_bug.cgi?id=1164310#c20 --- Comment #20 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1164310) was mentioned in https://build.opensuse.org/request/show/888681 Factory:ARM / JeOS -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164310 http://bugzilla.opensuse.org/show_bug.cgi?id=1164310#c22 --- Comment #22 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1164310) was mentioned in https://build.opensuse.org/request/show/924915 Factory:ARM / JeOS -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164310 http://bugzilla.opensuse.org/show_bug.cgi?id=1164310#c23 --- Comment #23 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1164310) was mentioned in https://build.opensuse.org/request/show/924923 Factory:ARM / JeOS -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com