qubes-core-agent-linux
qubes-core-agent-linux copied to clipboard
Limit initramfs size to fix booting with limited memory size
This change reduces intramfs size to about 20MB, but the VM still fails to boot.
Fixes QubesOS/qubes-issues#8540
Codecov Report
Merging #457 (66f2a4f) into main (6b98ff2) will not change coverage. The diff coverage is
n/a.
@@ Coverage Diff @@
## main #457 +/- ##
=======================================
Coverage 70.63% 70.63%
=======================================
Files 3 3
Lines 470 470
=======================================
Hits 332 332
Misses 138 138
OpenQA test summary
Complete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2024071804-4.3&flavor=pull-requests
Test run included the following:
- https://github.com/QubesOS/qubes-core-admin-linux/pull/161 (https://github.com/QubesOS/qubes-core-admin-linux/pull/161/commits/18fd95044ba559b43bfb136f28692da7e0454463)
- https://github.com/QubesOS/qubes-core-admin-linux/pull/152 (https://github.com/QubesOS/qubes-core-admin-linux/pull/152/commits/38cab0187de480b2d4cfafa32e285adc2e305b36)
- https://github.com/QubesOS/qubes-artwork/pull/40 (https://github.com/QubesOS/qubes-artwork/pull/40/commits/67fc3ef6cc95c82b2309af14e3ba8f59cef74386)
- https://github.com/QubesOS/qubes-video-companion/pull/28 (https://github.com/QubesOS/qubes-video-companion/pull/28/commits/624ebce383e757b2c45905f998e65d77cf4c5ba7)
- https://github.com/QubesOS/qubes-core-admin/pull/609 (https://github.com/QubesOS/qubes-core-admin/pull/609/commits/1734b65dd2bf906aacbd1de7f3bcea5784180bd4)
- https://github.com/QubesOS/qubes-core-agent-linux/pull/510 (https://github.com/QubesOS/qubes-core-agent-linux/pull/510/commits/7447fa264a502d17fadc512f789653519358ecd2)
- https://github.com/QubesOS/qubes-mgmt-salt-dom0-virtual-machines/pull/64 (https://github.com/QubesOS/qubes-mgmt-salt-dom0-virtual-machines/pull/64/commits/f13b9f6b450ffe76318aaa867157b320f5cfd1e5)
- https://github.com/QubesOS/qubes-core-agent-linux/pull/457 (https://github.com/QubesOS/qubes-core-agent-linux/pull/457/commits/c0830766af87f2c229734307bfb8dc9d800b32df)
- https://github.com/QubesOS/qubes-core-qrexec/pull/134 (https://github.com/QubesOS/qubes-core-qrexec/pull/134/commits/966e3836db6aa0c55cfc76f728e64a8b249fe05f)
- https://github.com/QubesOS/qubes-core-admin/pull/608 (https://github.com/QubesOS/qubes-core-admin/pull/608/commits/d80114a73724e0a67d0284ee303bd35ffde3cadb)
- https://github.com/QubesOS/qubes-core-admin/pull/603 (https://github.com/QubesOS/qubes-core-admin/pull/603/commits/dc4b63c65186514766c12d5de8e34c23db0bf7c5)
- https://github.com/QubesOS/qubes-gui-daemon/pull/145 (https://github.com/QubesOS/qubes-gui-daemon/pull/145/commits/844ce83daa3626816ced0d3ec4ab2c4835d1a3e9)
New failures, excluding unstable
Compared to: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2024070519-4.3&flavor=update
-
system_tests_extra
- TC_00_QVCTest_whonix-workstation-17: test_010_screenshare (failure)
self.assertNotEqual(vm.run('test -e /dev/vid... AssertionError: 0 == 0
- TC_00_QVCTest_whonix-workstation-17: test_010_screenshare (failure)
-
system_tests_audio
-
TC_20_AudioVM_PipeWire_debian-12-xfce: test_260_audio_mic_enabled_switch_audiovm (failure)
AssertionError: too short audio, expected 10s, got 0.00013605442176... -
TC_20_AudioVM_PipeWire_whonix-workstation-17: test_260_audio_mic_enabled_switch_audiovm (failure)
AssertionError: too short audio, expected 10s, got 0.00013605442176...
-
Failed tests
5 failures
-
system_tests_extra
-
[unstable] TC_00_QVCTest_debian-12-xfce: test_020_webcam (failure)
AssertionError: 'qubes-video-companion webcam' exited early (0): b'... -
TC_00_QVCTest_whonix-workstation-17: test_010_screenshare (failure)
self.assertNotEqual(vm.run('test -e /dev/vid... AssertionError: 0 == 0
-
-
system_tests_network_updates
- [unstable] VmUpdates_debian-12-xfce: test_020_updates_available_notification (error)
subprocess.CalledProcessError: Command '/usr/lib/qubes/upgrades-sta...
- [unstable] VmUpdates_debian-12-xfce: test_020_updates_available_notification (error)
-
system_tests_audio
-
TC_20_AudioVM_PipeWire_debian-12-xfce: test_260_audio_mic_enabled_switch_audiovm (failure)
AssertionError: too short audio, expected 10s, got 0.00013605442176... -
TC_20_AudioVM_PipeWire_whonix-workstation-17: test_260_audio_mic_enabled_switch_audiovm (failure)
AssertionError: too short audio, expected 10s, got 0.00013605442176...
-
Fixed failures
Compared to: https://openqa.qubes-os.org/tests/105374#dependencies
9 fixed
-
system_tests_pvgrub_salt_storage
-
TC_41_HVMGrub_fedora-40-xfce: test_000_standalone_vm (error)
qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco... -
TC_41_HVMGrub_fedora-40-xfce: test_010_template_based_vm (error)
qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
-
-
system_tests_splitgpg
-
TC_10_Thunderbird_debian-12-xfce: test_010_send_receive_inline_signed_only (failure)
dogtail.tree.SearchError: descendent of [application | Thunderbird]... -
TC_10_Thunderbird_whonix-workstation-17: test_020_send_receive_inline_with_attachment (failure)
dogtail.tree.SearchError: descendent of [application | Thunderbird]...
-
-
system_tests_extra
-
TC_00_QVCTest_fedora-40-xfce: test_020_webcam (failure + cleanup)
AssertionError: 'qubes-video-companion webcam' exited early (0): b'... -
TC_00_QVCTest_whonix-gateway-17: test_020_webcam (failure + cleanup)
AssertionError: 'qubes-video-companion webcam' exited early (0): b'... -
TC_00_QVCTest_whonix-workstation-17: test_020_webcam (failure + cleanup)
AssertionError: 'qubes-video-companion webcam' exited early (0): b'...
-
-
system_tests_usbproxy
- TC_20_USBProxy_core3_fedora-40-xfce: test_070_attach_not_installed_front (error)
qubesusbproxy.core3ext.QubesUSBException: Device attach failed: 202...
- TC_20_USBProxy_core3_fedora-40-xfce: test_070_attach_not_installed_front (error)
-
system_tests_network_updates
- TC_11_QvmTemplateMgmtVM_debian-12-xfce: test_000_template_list (failure)
AssertionError: libvirt event impl drain timeout
- TC_11_QvmTemplateMgmtVM_debian-12-xfce: test_000_template_list (failure)
Unstable tests
-
system_tests_update
update2/Failed (1/5 times with errors)
- job 103358
# Test died: command 'script -c 'qubes-vm-update --max-concurrency=...
- job 103358
-
system_tests_suspend
suspend/ (1/5 times with errors)
- job 103660
None
suspend/Failed (1/5 times with errors)
- job 103660
# Test died: no candidate needle with tag(s) 'xscreensaver-prompt' ...
suspend/wait_serial (1/5 times with errors)
- job 103660
# wait_serial expected: qr/2E8vz-\d+-/...
- job 103660
-
system_tests_basic_vm_qrexec_gui
TC_20_AudioVM_Pulse_whonix-workstation-17/test_220_audio_play_pulseaudio (1/5 times with errors)
- job 103642
AssertionError: too short audio, expected 10s, got 8.64043083900226...
TC_20_AudioVM_Pulse_whonix-workstation-17/test_221_audio_rec_muted_pulseaudio (1/5 times with errors)
- job 103642
Cannot process volume group qubes_dom0...
TC_20_AudioVM_Pulse_whonix-workstation-17/test_223_audio_play_hvm (1/5 times with errors)
- job 102413
AssertionError: only silence detected, no useful audio data
- job 103642
-
system_tests_pvgrub_salt_storage
TC_41_HVMGrub_debian-12-xfce/test_000_standalone_vm (1/5 times with errors)
- job 102428
qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
TC_41_HVMGrub_debian-12-xfce/test_010_template_based_vm (1/5 times with errors)
- job 102428
qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
- job 102428
-
system_tests_splitgpg
TC_10_Thunderbird_debian-12-xfce/test_010_send_receive_inline_signed_only (1/5 times with errors)
- job 105472
dogtail.tree.SearchError: descendent of [application | Thunderbird]...
- job 105472
-
system_tests_extra
TC_00_QVCTest_debian-12-xfce/test_020_webcam (2/5 times with errors)
- job 102420
AssertionError: 'qubes-video-companion webcam' exited early (0): b'... - job 104728
AssertionError: 'qubes-video-companion webcam' exited early (0): b'...
TC_00_QVCTest_fedora-40-xfce/test_020_webcam (2/5 times with errors)
- job 105464
AssertionError: 'qubes-video-companion webcam' exited early (0): b'... - job 105868
AssertionError: 'qubes-video-companion webcam' exited early (0): b'...
TC_00_QVCTest_whonix-gateway-17/test_020_webcam (4/5 times with errors)
- job 102420
AssertionError: 'qubes-video-companion webcam' exited early (0): b'... - job 103649
self.assertNotEqual(vm.run('test -e /dev/vid... AssertionError: 0 == 0 - job 105464
AssertionError: 'qubes-video-companion webcam' exited early (0): b'... - job 105868
AssertionError: 'qubes-video-companion webcam' exited early (0): b'...
TC_00_QVCTest_whonix-workstation-17/test_020_webcam (4/5 times with errors)
- job 102420
AssertionError: 'qubes-video-companion webcam' exited early (0): b'... - job 103649
AssertionError: 'qubes-video-companion webcam' exited early (0): b'... - job 105464
AssertionError: 'qubes-video-companion webcam' exited early (0): b'... - job 105868
AssertionError: 'qubes-video-companion webcam' exited early (0): b'...
- job 102420
-
system_tests_usbproxy
TC_20_USBProxy_core3_fedora-40-xfce/test_070_attach_not_installed_front (1/5 times with errors)
- job 105442
qubesusbproxy.core3ext.QubesUSBException: Device attach failed: 202...
- job 105442
-
system_tests_network_updates
TC_11_QvmTemplateMgmtVM_debian-12-xfce/test_000_template_list (1/5 times with errors)
- job 105469
AssertionError: libvirt event impl drain timeout
TC_10_QvmTemplate_whonix-gateway-17/test_010_template_install (2/5 times with errors)
- job 103656
AssertionError: libvirt event impl drain timeout - job 105873
AssertionError: libvirt event impl drain timeout
VmUpdates_debian-12-xfce/test_020_updates_available_notification (1/5 times with errors)
- job 104735
subprocess.CalledProcessError: Command '/usr/lib/qubes/upgrades-sta...
VmUpdates_debian-12-xfce/test_110_update_via_proxy_qubes_vm_update (1/5 times with errors)
- job 104735
AssertionError: 1 not found in [0] : dpkg -l test-pkg | grep 1.1: b''
VmUpdates_fedora-40-xfce/test_110_update_via_proxy_qubes_vm_update (1/5 times with errors)
- job 104735
AssertionError: 1 not found in [0, 100] : rpm -q test-pkg | grep 1....
VmUpdates_debian-12-xfce/test_111_update_via_proxy_qubes_vm_update_cli (1/5 times with errors)
- job 104735
AssertionError: 1 not found in [0] : dpkg -l test-pkg | grep 1.1: b''
VmUpdates_fedora-40-xfce/test_111_update_via_proxy_qubes_vm_update_cli (1/5 times with errors)
- job 104735
AssertionError: 1 not found in [0, 100] : rpm -q test-pkg | grep 1....
VmUpdates_debian-12-xfce/test_130_no_network_qubes_vm_update (1/5 times with errors)
- job 104735
AssertionError: qubes-vm-update return unexpected code: 0 in (1, 2, 5)
VmUpdates_fedora-40-xfce/test_130_no_network_qubes_vm_update (1/5 times with errors)
- job 104735
AssertionError: qubes-vm-update return unexpected code: 0 in (1, 2, 5)
VmUpdates_debian-12-xfce/test_131_no_network_qubes_vm_update_cli (1/5 times with errors)
- job 104735
AssertionError: qubes-vm-update return unexpected code: 0 in (1, 2, 5)
VmUpdates_fedora-40-xfce/test_131_no_network_qubes_vm_update_cli (1/5 times with errors)
- job 104735
AssertionError: qubes-vm-update return unexpected code: 0 in (1, 2, 5)
- job 105469
-
system_tests_dispvm
TC_20_DispVM_fedora-40-xfce/test_100_open_in_dispvm (1/5 times with errors)
- job 102419
AssertionError: './open-file test.txt' failed with ./open-file test...
- job 102419
-
system_tests_update@hw1
update2/Failed (1/5 times with errors)
- job 103358
# Test died: command 'script -c 'qubes-vm-update --max-concurrency=...
- job 103358
-
system_tests_basic_vm_qrexec_gui_zfs
TC_20_AudioVM_Pulse_debian-12-xfce-pool/test_223_audio_play_hvm (1/5 times with errors)
- job 103646
AssertionError: only silence detected, no useful audio data
- job 103646
-
system_tests_update@hw7
update2/Failed (1/5 times with errors)
- job 103358
# Test died: command 'script -c 'qubes-vm-update --max-concurrency=...
- job 103358
-
system_tests_basic_vm_qrexec_gui_xfs
TC_20_AudioVM_PipeWire_debian-12-xfce-pool/test_226_audio_playback_pipewire (1/5 times with errors)
- job 102416
AssertionError: too short audio, expected 10s, got 8.31034013605442...
TC_20_AudioVM_PipeWire_debian-12-xfce-pool/test_228_audio_rec_unmuted_pipewire (1/5 times with errors)
- job 102416
AssertionError: too short audio, expected 10s, got 8.89784580498866...
TC_20_AudioVM_PipeWire_fedora-40-xfce-pool/test_228_audio_rec_unmuted_pipewire (1/5 times with errors)
- job 102416
AssertionError: too short audio, expected 10s, got 9.45630385487528...
TC_20_AudioVM_PipeWire_debian-12-xfce-pool/test_250_audio_playback_audiovm_pipewire (1/5 times with errors)
- job 102416
AssertionError: too short audio, expected 10s, got 7.48553287981859...
TC_20_AudioVM_PipeWire_debian-12-xfce-pool/test_251_audio_playback_audiovm_pipewire_late_start (1/5 times with errors)
- job 102416
AssertionError: too short audio, expected 10s, got 9.19612244897959...
TC_20_AudioVM_Pulse_whonix-workstation-17-pool/test_252_audio_playback_audiovm_switch_hvm (1/5 times with errors)
- job 102416
AssertionError: too short audio, expected 10s, got 6.77941043083900...
- job 102416
-
system_tests_basic_vm_qrexec_gui@hw1
TC_20_AudioVM_Pulse_whonix-workstation-17/test_220_audio_play_pulseaudio (1/5 times with errors)
- job 103642
AssertionError: too short audio, expected 10s, got 8.64043083900226...
TC_20_AudioVM_Pulse_whonix-workstation-17/test_221_audio_rec_muted_pulseaudio (1/5 times with errors)
- job 103642
Cannot process volume group qubes_dom0...
TC_20_AudioVM_Pulse_whonix-workstation-17/test_223_audio_play_hvm (1/5 times with errors)
- job 102413
AssertionError: only silence detected, no useful audio data
- job 103642
-
system_tests_suspend@hw1
suspend/ (1/5 times with errors)
- job 103660
None
suspend/Failed (1/5 times with errors)
- job 103660
# Test died: no candidate needle with tag(s) 'xscreensaver-prompt' ...
suspend/wait_serial (1/5 times with errors)
- job 103660
# wait_serial expected: qr/2E8vz-\d+-/...
- job 103660
-
system_tests_basic_vm_qrexec_gui_ext4
TC_20_AudioVM_Pulse_debian-12-xfce-pool/test_223_audio_play_hvm (1/5 times with errors)
- job 102415
AssertionError: only silence detected, no useful audio data
- job 102415