Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build 202412140459-4.3] start_standalone_with_cdrom_vm test fails on system installed in legacy boot mode #9645

Open
marmarek opened this issue Dec 14, 2024 · 1 comment
Labels
affects-4.3 This issue affects Qubes OS 4.3. C: tests needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@marmarek
Copy link
Member

Observation

openQA test in scenario qubesos-4.3-kernel-x86_64-system_tests_basic_vm_qrexec_gui@hw6 fails in
TC_00_Basic

grub2-mkimage: error: cannot open `/usr/lib/grub/x86_64-efi/moddep.lst': No such file or directory.
...
ERROR: qubes.tests.integ.basic/TC_00_Basic/test_120_start_standalone_with_cdrom_dom0
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.13/contextlib.py", line 85, in inner
    return func(*args, **kwds)
  File "/usr/lib/python3.13/site-packages/qubes/tests/integ/basic.py", line 102, in test_120_start_standalone_with_cdrom_dom0
    iso_path = self.create_bootable_iso()
  File "/usr/lib/python3.13/site-packages/qubes/tests/__init__.py", line 1547, in create_bootable_iso
    subprocess.check_call(
    ~~~~~~~~~~~~~~~~~~~~~^
        [
        ^
    ...<11 lines>...
        stdout=v,
        ^^^^^^^^^
    )
    ^
  File "/usr/lib64/python3.13/subprocess.py", line 419, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['grub2-mkimage', '-O', 'x86_64-efi', '-d', '/usr/lib/grub/x86_64-efi', '-p', '/boot/grub2', 'iso9660', 'disk', 'halt']' returned non-zero exit status 1.

Reproducible

Fails since (at least) Build 202412140459-4.3 (current job)

Expected result

Last good: 202411110019-4.3 (or more recent)

Further details

Always latest result in this scenario: latest

@marmarek marmarek added T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. C: tests P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. affects-4.3 This issue affects Qubes OS 4.3. labels Dec 14, 2024
@marmarek
Copy link
Member Author

The start_standalone_with_cdrom_vm test tries to boot a VM from a CDROM via SeaBIOS (legacy boot), yet it fails due to not finding grub's efi modules. It shouldn't need them in this test...

The start_uefi fails too, but it's kinda expected (relevant grub modules needs to be installed manually).

@andrewdavidwong andrewdavidwong added the needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. label Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.3 This issue affects Qubes OS 4.3. C: tests needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

2 participants