Bugzilla – Bug 1219347
[Build 20240128] perl-Bootloader: pbl --log creates empty log file
Last modified: 2024-02-27 12:10:26 UTC
## Observation Command 'pbl --log pbl.log' creates an empty log file: --- Script: cat /var/log/pbl-test.log Regular expression: (?^:pbl) Output: --- openQA test in scenario opensuse-Tumbleweed-JeOS-for-kvm-and-xen-x86_64-jeos-extra@64bit_virtio-2G fails in [perl_bootloader](https://openqa.opensuse.org/tests/3899504/modules/perl_bootloader/steps/43) ## Reproducible Fails since (at least) Build [20240123](https://openqa.opensuse.org/tests/3888714) ## Expected result See result for SLE: [13379161](https://openqa.suse.de/tests/13379161#step/perl_bootloader/42) --- Script: cat /var/log/pbl-test.log Regular expression: (?^:pbl) Output: 2024-01-29 18:04:34 <1> pbl-1268 new.151: pbl-1268 = /sbin/pbl, version = 0.945, root = 0:48 2024-01-29 18:04:34 <1> pbl-1268 main.310: /sbin/pbl 2024-01-29 18:04:34 <1> pbl-1268 main.312: bootloader = grub2-efi 2024-01-29 18:04:34 <1> pbl-1268 main.318: locale = --- ## Further details Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=JeOS-for-kvm-and-xen&machine=64bit_virtio-2G&test=jeos-extra&version=Tumbleweed)
Hi Steffen, Could you please have a look for the empty log an intended behavior or not ? Thanks.
'pbl --log foo' is not a good test as it doesn't specify any action for pbl. Better use 'pbl --log foo --default-settings' (for example). Otherwise pbl will set the log file and then do nothing - i.e also log nothing. The change compared to SLE came with the rewrite as shell script. Please adjust the test.
Hi Steffen, Noted, I updated the test: https://openqa.opensuse.org/tests/3958904#step/perl_bootloader/51
Thanks, looks good.