[Bug 1198197] New: [Build 20220406] Yast canot process current bootloader configuration
http://bugzilla.opensuse.org/show_bug.cgi?id=1198197 Bug ID: 1198197 Summary: [Build 20220406] Yast canot process current bootloader configuration Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other URL: https://openqa.opensuse.org/tests/2284856/modules/yast 2_bootloader/steps/6 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Bootloader Assignee: screening-team-bugs@suse.de Reporter: dimstar@opensuse.org QA Contact: qa-bugs@suse.de Found By: openQA Blocker: Yes ## Observation openQA test in scenario opensuse-Tumbleweed-NET-x86_64-zdup-Leap-15.2-gnome@64bit fails in [yast2_bootloader](https://openqa.opensuse.org/tests/2284856/modules/yast2_bootloader/steps/6) The issue is appearing on all 15.x -> TW update tests, as openQA was reconfigured to add an RNG device (resulting in /dev/by-path changes for disks) Insofar, this is 'ok' to be strange. But we so far managed to identify at least one other bug in perl-Bootloader, based on the logs: 2022-04-07 04:44:58 <3> update-bootloader-9310 run_command.294: '/usr/lib/bootloader/grub2/install' failed with exit code 1, output: <<<<<<<<<<<<<<<< target = i386-pc /dev/disk/by-path/pci-0000:00:08.0: not a block device grub_installdevice missing or invalid determining suitable boot device disk device(/boot) kernel device = vda2 disk(vda2) = vda disk = vda + /usr/sbin/grub2-install --target=i386-pc --force --skip-fs-probe /dev/vda Installing for i386-pc platform. Installation finished. No error reported. >>>>>>>>>>>>>>>> This is inconsistent in that it reports 'Installation finished. No error reported' while returning with exit code 1. This in turn was traced down to: https://github.com/openSUSE/perl-bootloader/blob/master/grub2/install#L176 The script tries to identify the device, 'fails', sets err=1 and then goes into an error handler to recover from the situation. In this case though, irrespective of the result of the error handler, the final result is error (which seems wrong, if the code could recover and correct) ## Test suite description ## Reproducible Fails since (at least) Build [20220406](https://openqa.opensuse.org/tests/2284856) (current job) ## Expected result Last good: [20220405](https://openqa.opensuse.org/tests/2284393) (or more recent) ## Further details Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=NET&machine=64bit&test=zdup-Leap-15.2-gnome&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=1198197 http://bugzilla.opensuse.org/show_bug.cgi?id=1198197#c1 --- Comment #1 from Dominique Leuenberger <dimstar@opensuse.org> --- Fix submitted as https://github.com/openSUSE/perl-bootloader/pull/138 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1198197 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |snwint@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com