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

add custom-persist extension #650

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

Guiiix
Copy link
Member

@Guiiix Guiiix commented Jan 28, 2025

custom-persist extension (see QubesOS/qubes-issues#1006)

Adds a custom-persist feature. The service custom-persist must be activated to enable the feature.
When the feature is enabled, user custom persistent file and dirs must be configured with qvm-features. Example: qvm-features work custom-persist.var_test /var/test

@DemiMarie
Copy link
Contributor

@Guiiix Is there a companion PR to core-agent-linux?

@Guiiix
Copy link
Member Author

Guiiix commented Jan 29, 2025

Hi @DemiMarie, yes this one: QubesOS/qubes-core-agent-linux#551

I'll fix lint errors today.

@Guiiix Guiiix force-pushed the custom-persist branch 4 times, most recently from 68bcfbc to 2d64eae Compare February 2, 2025 10:18
Copy link

codecov bot commented Feb 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.82%. Comparing base (c1cdf38) to head (7b1069a).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #650      +/-   ##
==========================================
+ Coverage   69.71%   69.82%   +0.10%     
==========================================
  Files          58       59       +1     
  Lines       12499    12544      +45     
==========================================
+ Hits         8714     8759      +45     
  Misses       3785     3785              
Flag Coverage Δ
unittests 69.82% <100.00%> (+0.10%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@marmarek
Copy link
Member

marmarek commented Feb 3, 2025

Please add some unit test

@Guiiix Guiiix force-pushed the custom-persist branch 5 times, most recently from 1f0c3ec to 929a076 Compare February 7, 2025 11:05
@Guiiix
Copy link
Member Author

Guiiix commented Feb 7, 2025

Tests added

@marmarek
Copy link
Member

I'll also add an integration test. In the meantime, can you update documentation at https://www.qubes-os.org/doc/bind-dirs/ to include this feature too? Or maybe you see some better place for that?

@qubesos-bot
Copy link

qubesos-bot commented Feb 13, 2025

OpenQA test summary

Complete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2025021317-4.3&flavor=pull-requests

Test run included the following:

New failures, excluding unstable

Compared to: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2025020404-4.3&flavor=update

  • system_tests_whonix

    • whonixcheck: fail (unknown)
      Whonixcheck for sys-whonix failed...

    • whonixcheck: unnamed test (unknown)

  • system_tests_suspend

    • suspend: unnamed test (unknown)
    • suspend: Failed (test died)
      # Test died: no candidate needle with tag(s) 'SUSPEND-FAILED' match...
  • system_tests_basic_vm_qrexec_gui

    • TC_06_AppVM_debian-12-xfce: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_debian-12-xfce: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_debian-12-xfce: test_111_rescue_console_initrd (failure)
      AssertionError: Emergency mode not found

    • TC_06_AppVM_fedora-41-xfce: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_fedora-41-xfce: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-gateway-17: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

    • TC_06_AppVM_whonix-workstation-17: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-workstation-17: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-workstation-17: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

  • system_tests_extra

    • TC_00_QVCTest_whonix-gateway-17: test_010_screenshare (failure)
      ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^... AssertionError: 0 == 0

    • TC_00_QVCTest_whonix-workstation-17: test_010_screenshare (failure)
      ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^... AssertionError: 0 == 0

  • system_tests_network_updates

  • system_tests_kde_gui_interactive

  • system_tests_basic_vm_qrexec_gui_zfs

    • TC_03_QvmRevertTemplateChanges: test_000_revert_linux (error)
      subprocess.CalledProcessError: Command '['sha1sum', '/dev/zvol/test...

    • TC_06_AppVM_debian-12-xfce-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_debian-12-xfce-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_debian-12-xfce-pool: test_111_rescue_console_initrd (failure)
      AssertionError: Emergency mode not found

    • TC_06_AppVM_fedora-41-xfce-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_fedora-41-xfce-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-gateway-17-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17-pool: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

    • TC_06_AppVM_whonix-workstation-17-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-workstation-17-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-workstation-17-pool: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

  • system_tests_whonix@hw7

    • whonixcheck: fail (unknown)
      Whonixcheck for sys-whonix failed...

    • whonixcheck: unnamed test (unknown)

  • system_tests_basic_vm_qrexec_gui_btrfs

    • TC_06_AppVM_debian-12-xfce-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_debian-12-xfce-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_debian-12-xfce-pool: test_111_rescue_console_initrd (failure)
      AssertionError: Emergency mode not found

    • TC_06_AppVM_fedora-41-xfce-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_fedora-41-xfce-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-gateway-17-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17-pool: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

    • TC_06_AppVM_whonix-workstation-17-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-workstation-17-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-workstation-17-pool: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

  • system_tests_basic_vm_qrexec_gui_ext4

    • TC_06_AppVM_debian-12-xfce-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_debian-12-xfce-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_debian-12-xfce-pool: test_111_rescue_console_initrd (failure)
      AssertionError: Emergency mode not found

    • TC_06_AppVM_fedora-41-xfce-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_fedora-41-xfce-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-gateway-17-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17-pool: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

    • TC_06_AppVM_whonix-workstation-17-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-workstation-17-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-workstation-17-pool: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

  • system_tests_basic_vm_qrexec_gui_xfs

    • TC_06_AppVM_debian-12-xfce-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_debian-12-xfce-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_debian-12-xfce-pool: test_111_rescue_console_initrd (failure)
      AssertionError: Emergency mode not found

    • TC_06_AppVM_fedora-41-xfce-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_fedora-41-xfce-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-gateway-17-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17-pool: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

    • TC_06_AppVM_whonix-workstation-17-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-workstation-17-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-workstation-17-pool: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

  • system_tests_suspend@hw1

    • suspend: unnamed test (unknown)
    • suspend: Failed (test died)
      # Test died: no candidate needle with tag(s) 'SUSPEND-FAILED' match...
  • system_tests_basic_vm_qrexec_gui@hw7

    • TC_06_AppVM_debian-12-xfce: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_debian-12-xfce: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_debian-12-xfce: test_111_rescue_console_initrd (failure)
      AssertionError: Emergency mode not found

    • TC_06_AppVM_fedora-41-xfce: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_fedora-41-xfce: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-gateway-17: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 60 secon...

    • TC_06_AppVM_whonix-workstation-17: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-workstation-17: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-workstation-17: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 60 secon...

  • system_tests_gui_tools@hw7

    • desktop_linux_manager_config: unnamed test (unknown)

    • desktop_linux_manager_config: Failed (test died)
      # Test died: no candidate needle with tag(s) 'global-config-cancel-...

    • desktop_linux_manager_config: unnamed test (unknown)

  • system_tests_gui_tools

    • desktop_linux_manager_config: unnamed test (unknown)

    • desktop_linux_manager_config: Failed (test died)
      # Test died: no candidate needle with tag(s) 'global-config-cancel-...

    • desktop_linux_manager_config: unnamed test (unknown)

Failed tests

86 failures
  • system_tests_whonix

    • whonixcheck: fail (unknown)
      Whonixcheck for sys-whonix failed...

    • whonixcheck: unnamed test (unknown)

  • system_tests_suspend

    • suspend: unnamed test (unknown)
    • suspend: Failed (test died)
      # Test died: no candidate needle with tag(s) 'SUSPEND-FAILED' match...
  • system_tests_basic_vm_qrexec_gui

    • TC_06_AppVM_debian-12-xfce: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_debian-12-xfce: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_debian-12-xfce: test_111_rescue_console_initrd (failure)
      AssertionError: Emergency mode not found

    • TC_06_AppVM_fedora-41-xfce: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_fedora-41-xfce: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-gateway-17: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

    • TC_06_AppVM_whonix-workstation-17: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-workstation-17: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-workstation-17: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

  • system_tests_extra

    • TC_00_QVCTest_whonix-gateway-17: test_010_screenshare (failure)
      ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^... AssertionError: 0 == 0

    • TC_00_QVCTest_whonix-workstation-17: test_010_screenshare (failure)
      ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^... AssertionError: 0 == 0

  • system_tests_network_updates

  • system_tests_kde_gui_interactive

    • clipboard_and_web: unnamed test (unknown)
    • clipboard_and_web: Failed (test died)
      # Test died: no candidate needle with tag(s) 'clipboard-copy-notifi...
  • system_tests_basic_vm_qrexec_gui_zfs

    • TC_03_QvmRevertTemplateChanges: test_000_revert_linux (error)
      subprocess.CalledProcessError: Command '['sha1sum', '/dev/zvol/test...

    • TC_06_AppVM_debian-12-xfce-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_debian-12-xfce-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_debian-12-xfce-pool: test_111_rescue_console_initrd (failure)
      AssertionError: Emergency mode not found

    • TC_06_AppVM_fedora-41-xfce-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_fedora-41-xfce-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-gateway-17-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17-pool: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

    • TC_06_AppVM_whonix-workstation-17-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-workstation-17-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-workstation-17-pool: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

  • system_tests_whonix@hw7

    • whonixcheck: fail (unknown)
      Whonixcheck for sys-whonix failed...

    • whonixcheck: unnamed test (unknown)

  • system_tests_basic_vm_qrexec_gui_btrfs

    • TC_06_AppVM_debian-12-xfce-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_debian-12-xfce-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_debian-12-xfce-pool: test_111_rescue_console_initrd (failure)
      AssertionError: Emergency mode not found

    • TC_06_AppVM_fedora-41-xfce-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_fedora-41-xfce-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-gateway-17-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17-pool: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

    • TC_06_AppVM_whonix-workstation-17-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-workstation-17-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-workstation-17-pool: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

  • system_tests_basic_vm_qrexec_gui_ext4

    • TC_06_AppVM_debian-12-xfce-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_debian-12-xfce-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_debian-12-xfce-pool: test_111_rescue_console_initrd (failure)
      AssertionError: Emergency mode not found

    • TC_06_AppVM_fedora-41-xfce-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_fedora-41-xfce-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-gateway-17-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17-pool: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

    • TC_06_AppVM_whonix-workstation-17-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-workstation-17-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-workstation-17-pool: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

  • system_tests_basic_vm_qrexec_gui_xfs

    • TC_06_AppVM_debian-12-xfce-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_debian-12-xfce-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_debian-12-xfce-pool: test_111_rescue_console_initrd (failure)
      AssertionError: Emergency mode not found

    • TC_06_AppVM_fedora-41-xfce-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_fedora-41-xfce-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-gateway-17-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17-pool: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

    • TC_06_AppVM_whonix-workstation-17-pool: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-workstation-17-pool: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-workstation-17-pool: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

  • system_tests_suspend@hw1

    • suspend: unnamed test (unknown)
    • suspend: Failed (test died)
      # Test died: no candidate needle with tag(s) 'SUSPEND-FAILED' match...
  • system_tests_basic_vm_qrexec_gui@hw7

    • TC_06_AppVM_debian-12-xfce: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_debian-12-xfce: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_debian-12-xfce: test_111_rescue_console_initrd (failure)
      AssertionError: Emergency mode not found

    • TC_06_AppVM_fedora-41-xfce: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_fedora-41-xfce: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-gateway-17: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-gateway-17: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 60 secon...

    • TC_06_AppVM_whonix-workstation-17: test_020_custom_persist (error)
      subprocess.CalledProcessError: Command 'echo test1 > /home/user/Dow...

    • TC_06_AppVM_whonix-workstation-17: test_110_rescue_console (failure)
      AssertionError: Calling whoami failed, but emergency console started

    • TC_06_AppVM_whonix-workstation-17: test_111_rescue_console_initrd (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 60 secon...

  • system_tests_gui_tools@hw7

    • desktop_linux_manager_config: unnamed test (unknown)

    • desktop_linux_manager_config: Failed (test died)
      # Test died: no candidate needle with tag(s) 'global-config-cancel-...

    • desktop_linux_manager_config: unnamed test (unknown)

  • system_tests_gui_tools

    • desktop_linux_manager_config: unnamed test (unknown)

    • desktop_linux_manager_config: Failed (test died)
      # Test died: no candidate needle with tag(s) 'global-config-cancel-...

    • desktop_linux_manager_config: unnamed test (unknown)

Fixed failures

Compared to: https://openqa.qubes-os.org/tests/127852#dependencies

30 fixed
  • system_tests_suspend

    • mount_and_boot_options: unnamed test (unknown)
    • mount_and_boot_options: Failed (test died)
      # Test died: no candidate needle with tag(s) 'x11' matched...
  • system_tests_backup

    • TC_10_BackupVM_whonix-gateway-17: test_110_send_to_vm_no_space (error)
      subprocess.CalledProcessError: Command 'mknod /dev/loop0 b 7 0;trun...

    • TC_10_BackupVM_whonix-workstation-17: test_110_send_to_vm_no_space (error)
      subprocess.CalledProcessError: Command 'mknod /dev/loop0 b 7 0;trun...

  • system_tests_qrexec

  • system_tests_dispvm

    • TC_20_DispVM_fedora-41-xfce: test_100_open_in_dispvm (failure)
      AssertionError: './open-file test.txt' failed with ./open-file test...
  • system_tests_devices

    • TC_00_List_whonix-gateway-17: test_000_list_loop (error)
      subprocess.CalledProcessError: Command 'set -e;truncate -s 128M /tm...

    • TC_00_List_whonix-gateway-17: test_001_list_loop_mounted (error)
      subprocess.CalledProcessError: Command 'set -e;truncate -s 128M /tm...

    • TC_00_List_whonix-gateway-17: test_010_list_dm (error)
      subprocess.CalledProcessError: Command 'set -e;truncate -s 128M /tm...

    • TC_00_List_whonix-gateway-17: test_011_list_dm_mounted (error)
      subprocess.CalledProcessError: Command 'set -e;truncate -s 128M /tm...

    • TC_00_List_whonix-gateway-17: test_012_list_dm_delayed (error)
      subprocess.CalledProcessError: Command 'set -e;truncate -s 128M /tm...

    • TC_00_List_whonix-gateway-17: test_013_list_dm_removed (error)
      subprocess.CalledProcessError: Command 'set -e;truncate -s 128M /tm...

    • TC_00_List_whonix-gateway-17: test_020_list_loop_partition (error)
      subprocess.CalledProcessError: Command 'set -e;truncate -s 128M /tm...

    • TC_00_List_whonix-gateway-17: test_021_list_loop_partition_mounted (error)
      subprocess.CalledProcessError: Command 'set -e;truncate -s 128M /tm...

    • TC_00_List_whonix-workstation-17: test_000_list_loop (error)
      subprocess.CalledProcessError: Command 'set -e;truncate -s 128M /tm...

    • TC_00_List_whonix-workstation-17: test_001_list_loop_mounted (error)
      subprocess.CalledProcessError: Command 'set -e;truncate -s 128M /tm...

    • TC_00_List_whonix-workstation-17: test_010_list_dm (error)
      subprocess.CalledProcessError: Command 'set -e;truncate -s 128M /tm...

    • TC_00_List_whonix-workstation-17: test_011_list_dm_mounted (error)
      subprocess.CalledProcessError: Command 'set -e;truncate -s 128M /tm...

    • TC_00_List_whonix-workstation-17: test_012_list_dm_delayed (error)
      subprocess.CalledProcessError: Command 'set -e;truncate -s 128M /tm...

    • TC_00_List_whonix-workstation-17: test_013_list_dm_removed (error)
      subprocess.CalledProcessError: Command 'set -e;truncate -s 128M /tm...

    • TC_00_List_whonix-workstation-17: test_020_list_loop_partition (error)
      subprocess.CalledProcessError: Command 'set -e;truncate -s 128M /tm...

    • TC_00_List_whonix-workstation-17: test_021_list_loop_partition_mounted (error)
      subprocess.CalledProcessError: Command 'set -e;truncate -s 128M /tm...

    • TC_10_Attach_whonix-gateway-17: test_000_attach_reattach (error)
      subprocess.CalledProcessError: Command 'set -e;truncate -s 128M /tm...

    • TC_10_Attach_whonix-workstation-17: test_000_attach_reattach (error)
      subprocess.CalledProcessError: Command 'set -e;truncate -s 128M /tm...

  • system_tests_kde_gui_interactive

  • system_tests_audio

  • system_tests_qrexec_perf@hw1

    • TC_00_QrexecPerf_debian-12-xfce: test_110_simple_data_duplex (failure)
      AssertionError: '/usr/lib/qubes/tests/qrexec_perf.py --vm1=test-ins...
  • system_tests_storage_perf@hw1

    • integ: storage_perf (error)
      ModuleNotFoundError: No module named 'qubes.tests.integ.storage_perf'
  • system_tests_basic_vm_qrexec_gui_ext4

    • switch_pool: Failed (test died)
      # Test died: command 'printf "label: gpt\n,,L" | sfdisk /dev/sdb' f...

Unstable tests

Performance Tests

Performance degradation:

No issues

Remaining performance tests:

52 tests
  • debian-12-xfce_exec: 7.48
  • debian-12-xfce_exec-root: 27.94
  • debian-12-xfce_socket: 8.63
  • debian-12-xfce_socket-root: 8.87
  • debian-12-xfce_exec-data-simplex: 49.27
  • debian-12-xfce_exec-data-duplex: 49.74
  • debian-12-xfce_exec-data-duplex-root: 65.18
  • debian-12-xfce_socket-data-duplex: 79.63
  • fedora-41-xfce_exec: 9.03 🟢 ( previous job: 21.67, improvement: 41.70%)
  • fedora-41-xfce_exec-root: 58.97 🟢 ( previous job: 74.48, improvement: 79.18%)
  • fedora-41-xfce_socket: 8.68 🟢 ( previous job: 21.26, improvement: 40.82%)
  • fedora-41-xfce_socket-root: 8.63 🟢 ( previous job: 20.89, improvement: 41.33%)
  • fedora-41-xfce_exec-data-simplex: 50.41 🟢 ( previous job: 58.71, improvement: 85.86%)
  • fedora-41-xfce_exec-data-duplex: 48.82 🟢 ( previous job: 60.49, improvement: 80.71%)
  • fedora-41-xfce_exec-data-duplex-root: 80.98 🟢 ( previous job: 92.13, improvement: 87.91%)
  • fedora-41-xfce_socket-data-duplex: 76.05 🟢 ( previous job: 83.57, improvement: 91.01%)
  • whonix-gateway-17_exec: 7.59
  • whonix-gateway-17_exec-root: 38.76
  • whonix-gateway-17_socket: 7.68
  • whonix-gateway-17_socket-root: 7.89
  • whonix-gateway-17_exec-data-simplex: 48.88
  • whonix-gateway-17_exec-data-duplex: 47.06
  • whonix-gateway-17_exec-data-duplex-root: 70.73
  • whonix-gateway-17_socket-data-duplex: 83.61
  • whonix-workstation-17_exec: 8.12
  • whonix-workstation-17_exec-root: 52.50
  • whonix-workstation-17_socket: 8.39
  • whonix-workstation-17_socket-root: 8.12
  • whonix-workstation-17_exec-data-simplex: 46.87
  • whonix-workstation-17_exec-data-duplex: 46.90
  • whonix-workstation-17_exec-data-duplex-root: 76.72
  • whonix-workstation-17_socket-data-duplex: 84.90
  • dom0_root_rand-read 3:read_bandwidth_kb: 10744.00
  • dom0_root_rand-write 3:write_bandwidth_kb: 13707.00
  • dom0_root_seq-read 3:read_bandwidth_kb: 515953.00
  • dom0_root_seq-write 3:write_bandwidth_kb: 209530.00
  • dom0_varlibqubes_rand-read 3:read_bandwidth_kb: 13226.00
  • dom0_varlibqubes_rand-write 3:write_bandwidth_kb: 21734.00
  • dom0_varlibqubes_seq-read 3:read_bandwidth_kb: 524955.00
  • dom0_varlibqubes_seq-write 3:write_bandwidth_kb: 282112.00
  • fedora-41-xfce_root_rand-read 3:read_bandwidth_kb: 9400.00
  • fedora-41-xfce_root_rand-write 3:write_bandwidth_kb: 10998.00
  • fedora-41-xfce_root_seq-read 3:read_bandwidth_kb: 397994.00
  • fedora-41-xfce_root_seq-write 3:write_bandwidth_kb: 113399.00
  • fedora-41-xfce_private_rand-read 3:read_bandwidth_kb: 9051.00
  • fedora-41-xfce_private_rand-write 3:write_bandwidth_kb: 10956.00
  • fedora-41-xfce_private_seq-read 3:read_bandwidth_kb: 409701.00
  • fedora-41-xfce_private_seq-write 3:write_bandwidth_kb: 158653.00
  • fedora-41-xfce_volatile_rand-read 3:read_bandwidth_kb: 9019.00
  • fedora-41-xfce_volatile_rand-write 3:write_bandwidth_kb: 9289.00
  • fedora-41-xfce_volatile_seq-read 3:read_bandwidth_kb: 422718.00
  • fedora-41-xfce_volatile_seq-write 3:write_bandwidth_kb: 100367.00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants