Skip to content

Allow restricting qubesdb write acccess on Linux#72

Merged
marmarek merged 2 commits into
QubesOS:mainfrom
ArrayBolt3:arraybolt3/write-restrict
Jun 15, 2026
Merged

Allow restricting qubesdb write acccess on Linux#72
marmarek merged 2 commits into
QubesOS:mainfrom
ArrayBolt3:arraybolt3/write-restrict

Conversation

@ArrayBolt3

@ArrayBolt3 ArrayBolt3 commented May 7, 2026

Copy link
Copy Markdown
Contributor

Only uses in the qubes group should be able to modify qubesdb, to prevent some forms of in-VM attacks where a malicious process injects crafted values into qubesdb that are then trusted by other processes in the same VM. For the sake of convenience, this is only done for Linux, Windows remains with a single "socket" for everything.

Closes QubesOS/qubes-issues#10871.

@ArrayBolt3

Copy link
Copy Markdown
Contributor Author

This successfully builds on host-fc41, vm-bookworm, vm-fc42, vm-fc43, vm-fc44, and vm-trixie. It also appears to function properly in a Kicksecure 18 AppVM (new sockets exist with the expected names, user (which is in the qubes group) has full write access, nobody can read but cannot write). I haven't tested it beyond that, mainly because I need to recreate my qubes-builder AppVM before I trust it to generate packages that I can install in dom0.

Comment thread include/qubesdb.h
@marmarek

marmarek commented May 7, 2026

Copy link
Copy Markdown
Member

You need to update selinux policy:

[2026-05-07 08:55:44] [    8.502821] audit: type=1400 audit(1778158544.590:5): avc:  denied  { create } for  pid=249 comm="qubesdb-daemon" name="qubesdb.ro.sock" scontext=system_u:system_r:qubes_qubesdb_daemon_t:s0 tcontext=system_u:object_r:qubes_var_run_t:s0 tclass=sock_file permissive=0
[2026-05-07 08:55:44] [    8.551252] systemd[1]: Failed to start qubes-db.service - Qubes DB agent.
[2026-05-07 08:55:44] [FAILED] Failed to start qubes-db.service - Qubes DB agent.

@qubesos-bot

qubesos-bot commented May 7, 2026

Copy link
Copy Markdown

OpenQA test summary

Complete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2026061502-devel&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=2026050504-devel&flavor=update

  • system_tests_pvgrub_salt_storage

  • system_tests_extra

  • system_tests_guivm_gui_interactive

    • clipboard_and_web: unnamed test (unknown)
    • clipboard_and_web: Failed (test died)
      # Test died: no candidate needle with tag(s) 'text-editor-save-prom...
  • system_tests_guivm_vnc_gui_interactive

    • clipboard_and_web: unnamed test (unknown)

    • clipboard_and_web: Failed (test died)
      # Test died: no candidate needle with tag(s) 'text-editor-save-prom...

    • clipboard_and_web: wait_serial (unknown)
      # Command: curl --form upload=@/var/log/libvirt/libxl/libxl-driver....

  • system_tests_audio

    • TC_20_AudioVM_Pulse_debian-13-xfce: test_224_audio_rec_muted_hvm (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

    • TC_20_AudioVM_Pulse_fedora-43-xfce: test_223_audio_play_hvm (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

    • TC_20_AudioVM_Pulse_fedora-43-xfce: test_224_audio_rec_muted_hvm (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

  • system_tests_basic_vm_qrexec_gui_xfs

    • TC_20_NonAudio_whonix-gateway-18-pool: test_000_start_shutdown (error)
      subprocess.CalledProcessError: Command 'qubes.WaitForSession' retur...
  • system_tests_guivm_gpu_gui_interactive@hw13

    • clipboard_and_web: unnamed test (unknown)
    • clipboard_and_web: Failed (test died)
      # Test died: no candidate needle with tag(s) 'text-editor-save-prom...
  • system_tests_storage_perf@hw1

Failed tests

56 failures
  • system_tests_pvgrub_salt_storage

  • system_tests_extra

    • TC_10_Thunderbird_fedora-43-xfce: test_000_send_receive_default (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

    • TC_00_PDFConverter_debian-13-xfce: test_004_cancel_stops_conversion (failure)
      AssertionError: DispVM not cleaned up 20s after cancel: ['disp5363']

    • [unstable] TC_00_PDFConverter_fedora-43-xfce: test_004_cancel_stops_conversion (failure)
      AssertionError: DispVM not cleaned up 20s after cancel: ['disp3843']

    • TC_01_InputProxyExclude_debian-13-xfce: test_000_qemu_tablet (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

    • TC_01_InputProxyExclude_fedora-43-xfce: test_000_qemu_tablet (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

  • system_tests_guivm_gui_interactive

    • clipboard_and_web: unnamed test (unknown)
    • clipboard_and_web: Failed (test died)
      # Test died: no candidate needle with tag(s) 'text-editor-save-prom...
  • system_tests_usbproxy

    • [unstable] TC_20_USBProxy_core3_fedora-43-xfce: test_090_attach_stubdom (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
  • system_tests_guivm_vnc_gui_interactive

    • clipboard_and_web: unnamed test (unknown)

    • clipboard_and_web: Failed (test died)
      # Test died: no candidate needle with tag(s) 'text-editor-save-prom...

    • clipboard_and_web: wait_serial (unknown)
      # Command: curl --form upload=@/var/log/libvirt/libxl/libxl-driver....

  • system_tests_audio

  • system_tests_basic_vm_qrexec_gui_xfs

    • TC_20_NonAudio_whonix-gateway-18-pool: test_000_start_shutdown (error)
      subprocess.CalledProcessError: Command 'qubes.WaitForSession' retur...
  • system_tests_guivm_gpu_gui_interactive@hw13

    • clipboard_and_web: unnamed test (unknown)
    • clipboard_and_web: Failed (test died)
      # Test died: no candidate needle with tag(s) 'text-editor-save-prom...
  • system_tests_storage_perf@hw1

Fixed failures

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

21 fixed
  • system_tests_whonix

    • whonixcheck: Failed (test died)
      # Test died: command 'qvm-shutdown --wait anon-whonix ' failed at /...
  • system_tests_pvgrub_salt_storage

    • TC_41_HVMGrub_debian-13-xfce: test_000_standalone_vm (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

    • TC_41_HVMGrub_debian-13-xfce: test_001_standalone_vm_dracut (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

    • TC_41_HVMGrub_debian-13-xfce: test_010_template_based_vm (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

    • TC_41_HVMGrub_debian-13-xfce: test_011_template_based_vm_dracut (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

    • TC_41_HVMGrub_fedora-43-xfce: test_010_template_based_vm (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

  • system_tests_extra

    • TC_00_QVCTest_fedora-43-xfce: test_010_screenshare (failure + cleanup)
      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^... AssertionError: 1179648 != 0

    • TC_00_QVCTest_whonix-gateway-18: test_010_screenshare (failure + cleanup)
      AssertionError: 2.3156185715769593 not less than 2.0

  • system_tests_usbproxy

    • system_tests: wait_serial (wait serial expected)
      # wait_serial expected: qr/h3uXO-\d+-/...
  • system_tests_audio

  • system_tests_audio@hw1

    • system_tests: Fail (unknown)
      Tests qubes.tests.integ.audio failed (exit code 1), details reporte...

    • system_tests: Failed (test died)
      # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...

    • TC_20_AudioVM_Pulse_debian-13-xfce: test_222_audio_rec_unmuted_pulseaudio (failure)
      AssertionError: only silence detected, no useful audio data

  • system_tests_guivm_gpu_gui_interactive@hw13

    • shutdown: unnamed test (unknown)
    • shutdown: Failed (test died)
      # Test died: no candidate needle with tag(s) 'text-logged-in-root' ...
  • system_tests_network_ipv6

    • system_tests: Fail (unknown)
      Tests qubes.tests.integ.network_ipv6 failed (exit code 1), details ...

    • system_tests: Failed (test died)
      # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...

    • VmIPv6Networking_fedora-43-xfce: test_001_simple_networking_paused_from_none_to_existent (error)
      raise TimeoutError from exc_val... TimeoutError

  • system_tests_whonix@hw1

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

    • whonixcheck: Failed (test died)
      # Test died: systemcheck failed at qubesos/tests/whonixcheck.pm lin...

Unstable tests

Details
  • system_tests_whonix

    whonixcheck/Failed (2/5 times with errors)
    • job 180878 # Test died: systemcheck failed at qubesos/tests/whonixcheck.pm lin...
    • job 182677 # Test died: systemcheck failed at qubesos/tests/whonixcheck.pm lin...
    whonixcheck/Failed (2/5 times with errors)
    • job 181249 # Test died: systemcheck failed at qubesos/tests/whonixcheck.pm lin...
    • job 182411 # Test died: systemcheck failed at qubesos/tests/whonixcheck.pm lin...
    whonixcheck/fail (2/5 times with errors)
    whonixcheck/fail (2/5 times with errors)
    whonixcheck/fail (2/5 times with errors)
  • system_tests_suspend

    suspend/Failed (2/5 times with errors)
    • job 179086 # Test died: command 'qvm-run -p sys-net true' timed out at /usr/li...
    • job 179098 # Test died: command 'qvm-run -p sys-net true' timed out at /usr/li...
    suspend/Failed (3/5 times with errors)
    • job 179097 # Test died: command '! qvm-check sys-usb || qvm-run -p sys-usb tru...
    • job 179101 # Test died: command '! qvm-check sys-usb || qvm-run -p sys-usb tru...
    • job 179957 # Test died: command '! qvm-check sys-usb || qvm-run -p sys-usb tru...
    suspend/wait_serial (2/5 times with errors)
    suspend/wait_serial (3/5 times with errors)
    • job 179097 # Command: ! qvm-check sys-usb || qvm-run -p sys-usb true...
    • job 179101 # Command: ! qvm-check sys-usb || qvm-run -p sys-usb true...
    • job 179957 # Command: ! qvm-check sys-usb || qvm-run -p sys-usb true...
    suspend/wait_serial (2/5 times with errors)
    suspend/wait_serial (3/5 times with errors)
    • job 179097 # wait_serial expected: "lspci; echo 2E8vz-\$?-"...
    • job 179101 # wait_serial expected: "lspci; echo 2E8vz-\$?-"...
    • job 179957 # wait_serial expected: "lspci; echo 2E8vz-\$?-"...
  • system_tests_basic_vm_qrexec_gui

    system_tests/Fail (1/5 times with errors)
    • job 182429 Tests qubes.tests.integ.basic failed (exit code 1), details reporte...
    system_tests/Fail (1/5 times with errors)
    • job 181256 Tests qubes.tests.integ.vm_qrexec_gui failed (exit code 1), details...
    system_tests/Fail (1/5 times with errors)
    • job 182429 Tests qubes.tests.integ.vm_qrexec_gui failed (exit code 1), details...
    system_tests/Failed (1/5 times with errors)
    • job 181256 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    system_tests/Failed (1/5 times with errors)
    • job 182429 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    TC_10_Generic/test_000_anyvm_deny_dom0 (1/5 times with errors)
    • job 182429 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_03_QvmRevertTemplateChanges/test_000_revert_linux (1/5 times with errors)
    • job 182429 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_NonAudio_fedora-43-xfce/test_101_qrexec_filecopy_with_autostart (1/5 times with errors)
    • job 182429 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_00_Basic/test_211_bootmode_standalone (1/5 times with errors)
    • job 182429 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_NonAudio_fedora-43-xfce/test_401_long_window_title_utf8 (1/5 times with errors)
    • job 181256 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
  • system_tests_network

    system_tests/Fail (3/5 times with errors)
    • job 181267 Tests qubes.tests.integ.network failed (exit code 1), details repor...
    • job 182440 Tests qubes.tests.integ.network failed (exit code 1), details repor...
    • job 182706 Tests qubes.tests.integ.network failed (exit code 1), details repor...
    system_tests/Failed (1/5 times with errors)
    • job 181267 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    system_tests/Failed (2/5 times with errors)
    • job 182440 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 182706 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    VmNetworking_fedora-43-xfce/test_001_simple_networking_paused_restart_netvm (1/5 times with errors)
    • job 182706 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    VmNetworking_fedora-43-xfce/test_001_simple_networking_paused_shutdown_netvm (1/5 times with errors)
    • job 182706 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    VmNetworking_fedora-43-xfce/test_010_simple_proxyvm (1/5 times with errors)
    VmNetworking_fedora-43-xfce/test_020_simple_proxyvm_nm (2/5 times with errors)
    • job 182440 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 182706 ^^^^^^^^^^... AssertionError
    VmNetworking_fedora-43-xfce/test_030_firewallvm_firewall (2/5 times with errors)
    VmNetworking_fedora-43-xfce/test_031_firewall_dynamic_block (2/5 times with errors)
    VmNetworking_fedora-43-xfce/test_040_inter_vm (2/5 times with errors)
    VmNetworking_fedora-43-xfce/test_050_spoof_ip (2/5 times with errors)
    • job 182440 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 182706 ^^^^^^^^^^... AssertionError
    VmNetworking_fedora-43-xfce/test_100_late_xldevd_startup (2/5 times with errors)
    VmNetworking_debian-13-xfce/test_110_dynamic_attach (1/5 times with errors)
    • job 182706 ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^... AssertionError: 125 != 0
    VmNetworking_fedora-43-xfce/test_110_dynamic_attach (2/5 times with errors)
    • job 182440 ^^^^^^^^^^... AssertionError
    • job 182706 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    VmNetworking_fedora-43-xfce/test_111_dynamic_detach_attach (2/5 times with errors)
    VmNetworking_fedora-43-xfce/test_112_reattach_after_provider_shutdown (2/5 times with errors)
    VmNetworking_fedora-43-xfce/test_113_reattach_after_provider_kill (2/5 times with errors)
    • job 182440 ^^^^^^^^^^... AssertionError
    • job 182706 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    VmNetworking_fedora-43-xfce/test_114_reattach_after_provider_crash (2/5 times with errors)
    VmNetworking_fedora-43-xfce/test_200_fake_ip_simple (3/5 times with errors)
    • job 181267 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 182440 ^^^^^^^^^^... AssertionError
    • job 182706 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    VmNetworking_fedora-43-xfce/test_201_fake_ip_without_gw (2/5 times with errors)
    • job 182440 ^^^^^^^^^^... AssertionError
    • job 182706 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    VmNetworking_fedora-43-xfce/test_202_fake_ip_firewall (2/5 times with errors)
    • job 182440 ^^^^^^^^^^... AssertionError
    • job 182706 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    VmNetworking_fedora-43-xfce/test_203_fake_ip_inter_vm_allow (2/5 times with errors)
    VmNetworking_fedora-43-xfce/test_204_fake_ip_proxy (2/5 times with errors)
    • job 182440 ^^^^^^^^^^... AssertionError
    • job 182706 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    VmNetworking_fedora-43-xfce/test_210_custom_ip_simple (2/5 times with errors)
    VmNetworking_fedora-43-xfce/test_211_custom_ip_proxy (2/5 times with errors)
    • job 182440 ^^^^^^^^^^... AssertionError
    • job 182706 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    VmNetworking_fedora-43-xfce/test_212_custom_ip_firewall (3/5 times with errors)
    • job 181267 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 182440 ^^^^^^^^^^... AssertionError
    • job 182706 ^^^^^^^^^^... AssertionError
  • system_tests_pvgrub_salt_storage

    system_tests/Fail (3/5 times with errors)
    • job 180910 Tests qubes.tests.integ.grub failed (exit code 1), details reported...
    • job 182709 Tests qubes.tests.integ.grub failed (exit code 1), details reported...
    • job 183539 Tests qubes.tests.integ.grub failed (exit code 1), details reported...
    system_tests/Failed (3/5 times with errors)
    • job 180910 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 182709 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 183539 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    TC_41_HVMGrub_debian-13-xfce/test_000_standalone_vm (2/5 times with errors)
    • job 180910 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 182709 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_41_HVMGrub_fedora-43-xfce/test_000_standalone_vm (1/5 times with errors)
    • job 182709 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_41_HVMGrub_debian-13-xfce/test_001_standalone_vm_dracut (2/5 times with errors)
    • job 182709 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 183539 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_41_HVMGrub_debian-13-xfce/test_010_template_based_vm (3/5 times with errors)
    • job 180910 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 182709 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 183539 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_41_HVMGrub_fedora-43-xfce/test_010_template_based_vm (2/5 times with errors)
    • job 180910 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 182709 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_41_HVMGrub_fedora-44-xfce/test_010_template_based_vm (1/5 times with errors)
    • job 183539 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_41_HVMGrub_debian-13-xfce/test_011_template_based_vm_dracut (3/5 times with errors)
    • job 180910 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 182709 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 183539 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
  • system_tests_extra

    system_tests/Fail (2/5 times with errors)
    • job 181263 Tests qubes.tests.extra failed (exit code 1), details reported sepa...
    • job 183532 Tests qubes.tests.extra failed (exit code 1), details reported sepa...
    system_tests/Failed (2/5 times with errors)
    • job 181263 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 183532 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    TC_20_Evolution_fedora-43-xfce/test_000_send_receive_signed_encrypted (1/5 times with errors)
    • job 181263 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_00_PDFConverter_fedora-44-xfce/test_002_500_pages (1/5 times with errors)
    • job 183532 AssertionError: 1 != 0 : qvm-convert-pdf failed: b'Sending file to ...
    TC_00_PDFConverter_fedora-43-xfce/test_004_cancel_stops_conversion (1/5 times with errors)
    • job 181263 AssertionError: DispVM not cleaned up 10s after cancel: {<DispVM at...
    TC_00_PDFConverter_fedora-44-xfce/test_004_cancel_stops_conversion (1/5 times with errors)
    • job 183532 AssertionError: DispVM not cleaned up 20s after cancel: ['disp4799']
    TC_20_Evolution_fedora-43-xfce/test_010_send_receive_signed_only (1/5 times with errors)
    • job 181263 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_10_Thunderbird_fedora-43-xfce/test_020_send_receive_inline_with_attachment (1/5 times with errors)
    • job 181263 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
  • system_tests_gui_interactive

    screenlocker_lock/ (1/5 times with errors)
    screenlocker_lock/Failed (1/5 times with errors)
    • job 181264 # Test died: no candidate needle with tag(s) 'screenlocker-blank' m...
  • system_tests_guivm_gui_interactive

    update_guivm/Failed (2/5 times with errors)
    • job 183535 # Test died: command '(set -o pipefail; qubesctl --all --show-outpu...
    • job 183568 # Test died: command '(set -o pipefail; qubesctl --all --show-outpu...
  • system_tests_usbproxy

    system_tests/Fail (3/5 times with errors)
    • job 180877 Tests qubes.tests.extra failed (exit code 1), details reported sepa...
    • job 181248 Tests qubes.tests.extra failed (exit code 1), details reported sepa...
    • job 182676 Tests qubes.tests.extra failed (exit code 1), details reported sepa...
    system_tests/Failed (3/5 times with errors)
    • job 180877 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 181248 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 182676 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    TC_00_USBProxy_fedora-43-xfce/test_000_attach_detach (1/5 times with errors)
    • job 181248 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_USBProxy_core3_fedora-43-xfce/test_000_list (1/5 times with errors)
    • job 181248 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_USBProxy_core3_fedora-43-xfce/test_080_attach_existing_policy (1/5 times with errors)
    • job 181248 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_USBProxy_core3_fedora-43-xfce/test_090_attach_stubdom (2/5 times with errors)
    • job 180877 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 182676 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
  • system_tests_qrexec

    system_tests/Fail (1/5 times with errors)
    • job 183576 Tests qubes.tests.integ.qrexec failed (exit code 1), details report...
    system_tests/Failed (1/5 times with errors)
    • job 183540 # Test died: command 'curl --form upload=@tests-qubes.tests.integ.q...
    system_tests/Failed (1/5 times with errors)
    • job 183576 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    TC_00_Qrexec_whonix-gateway-18/test_090_qrexec_service_socket_dom0 (1/5 times with errors)
    • job 183576 AssertionError: service timeout, probably EOF wasn't transferred to...
  • system_tests_network_updates

    system_tests/Fail (2/5 times with errors)
    • job 180909 Tests qubes.tests.integ.dom0_update failed (exit code 1), details r...
    • job 181269 Tests qubes.tests.integ.dom0_update failed (exit code 1), details r...
    system_tests/Failed (2/5 times with errors)
    • job 180909 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 181269 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    TC_11_QvmTemplateMgmtVM_fedora-43-xfce/test_000_template_list (1/5 times with errors)
    • job 181269 AssertionError: qvm-template failed: [Qrexec] ERROR: dnf command is...
    TC_00_Dom0Upgrade_whonix-gateway-18/test_000_update (1/5 times with errors)
    • job 180909 Error: Failed to download metadata for repo 'test': Cannot download...
    TC_00_Dom0Upgrade_whonix-gateway-18/test_010_instal (1/5 times with errors)
    • job 181269 subprocess.CalledProcessError: Command 'timeout=120; while ! tor-ci...
  • system_tests_dispvm

    system_tests/Fail (4/5 times with errors)
    • job 180902 Tests qubes.tests.integ.dispvm failed (exit code 1), details report...
    • job 181262 Tests qubes.tests.integ.dispvm failed (exit code 1), details report...
    • job 182435 Tests qubes.tests.integ.dispvm failed (exit code 1), details report...
    • job 182701 Tests qubes.tests.integ.dispvm failed (exit code 1), details report...
    system_tests/Failed (4/5 times with errors)
    • job 180902 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 181262 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 182435 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 182701 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    TC_21_DispVM_Preload/test_019_preload_discard_outdated_volumes (1/5 times with errors)
    • job 180902 AssertionError: last preloaded didn't complete in time
    TC_20_DispVM_fedora-43-xfce/test_100_open_in_dispvm (3/5 times with errors)
    • job 181262 subprocess.CalledProcessError: Command 'cat > /etc/thunderbird/pref...
    • job 182435 subprocess.CalledProcessError: Command 'cat > /etc/thunderbird/pref...
    • job 182701 subprocess.CalledProcessError: Command 'cat > /etc/thunderbird/pref...
    system_tests/wait_serial (1/5 times with errors)
    • job 181262 # Command: curl --form upload=@/var/log/libvirt/libxl/libxl-driver....
  • system_tests_kde_gui_interactive

    gui_keyboard_layout/Failed (1/5 times with errors)
    • job 183511 # Test died: command 'qvm-shutdown --wait work' timed out at /usr/l...
    gui_keyboard_layout/Failed (1/5 times with errors)
    • job 182415 # Test died: command 'qvm-shutdown --wait work' failed at /usr/lib/...
    gui_keyboard_layout/wait_serial (1/5 times with errors)
    • job 183511 # Command: qvm-shutdown --wait work...
    gui_keyboard_layout/wait_serial (1/5 times with errors)
    • job 183511 # Command: curl --form upload=@/var/log/libvirt/libxl/libxl-driver....
  • system_tests_basic_vm_qrexec_gui_zfs

    system_tests/Fail (1/5 times with errors)
    • job 182433 Tests qubes.tests.integ.vm_qrexec_gui failed (exit code 1), details...
    system_tests/Failed (1/5 times with errors)
    • job 182433 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    TC_20_NonAudio_fedora-43-xfce-pool/test_200_timezone (1/5 times with errors)
    • job 182433 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_NonAudio_fedora-43-xfce-pool/test_400_long_window_title (1/5 times with errors)
    • job 182433 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
  • system_tests_guivm_vnc_gui_interactive

    update_guivm/Failed (1/5 times with errors)
    • job 183515 # Test died: command '(set -o pipefail; qubesctl --all --show-outpu...
  • system_tests_audio

    system_tests/Failed (1/5 times with errors)
    • job 183510 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    system_tests/Failed (4/5 times with errors)
    • job 180881 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 181250 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 182414 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 182680 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    TC_20_AudioVM_Pulse_fedora-44-xfce/test_223_audio_play_hvm (1/5 times with errors)
    • job 183510 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_AudioVM_Pulse_whonix-workstation-18/test_223_audio_play_hvm (2/5 times with errors)
    • job 180881 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 183510 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_AudioVM_Pulse_fedora-44-xfce/test_224_audio_rec_muted_hvm (1/5 times with errors)
    • job 183510 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_AudioVM_Pulse_whonix-workstation-18/test_224_audio_rec_muted_hvm (1/5 times with errors)
    • job 180881 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_AudioVM_Pulse_fedora-43-xfce/test_225_audio_rec_unmuted_hvm (2/5 times with errors)
    • job 180881 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 182414 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_AudioVM_Pulse_fedora-44-xfce/test_225_audio_rec_unmuted_hvm (1/5 times with errors)
    • job 183510 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_AudioVM_Pulse_whonix-workstation-18/test_225_audio_rec_unmuted_hvm (5/5 times with errors)
    • job 180881 AssertionError: too short audio, expected 10s, got 6.69970521541950...
    • job 181250 AssertionError: too short audio, expected 10s, got 6.18662131519274...
    • job 182414 AssertionError: too short audio, expected 10s, got 4.07111111111111...
    • job 182680 AssertionError: too short audio, expected 10s, got 7.11995464852607...
    • job 183510 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_AudioVM_PipeWire_debian-13-xfce/test_251_audio_playback_audiovm_pipewire_late_start (1/5 times with errors)
    • job 182414 AssertionError: pacat for test-inst-vm1 (xid 48) running(False) in ...
    TC_20_AudioVM_PipeWire_fedora-43-xfce/test_251_audio_playback_audiovm_pipewire_late_start (1/5 times with errors)
    • job 181250 AssertionError: too short audio, expected 10s, got 9.35857142857142...
    TC_20_AudioVM_PipeWire_whonix-workstation-18/test_251_audio_playback_audiovm_pipewire_late_start (1/5 times with errors)
    • job 182680 AssertionError: too short audio, expected 10s, got 9.36630385487528...
    TC_20_AudioVM_Pulse_fedora-43-xfce/test_252_audio_playback_audiovm_switch_hvm (3/5 times with errors)
    • job 180881 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 181250 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 182414 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_AudioVM_Pulse_fedora-44-xfce/test_252_audio_playback_audiovm_switch_hvm (1/5 times with errors)
    • job 183510 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_AudioVM_Pulse_whonix-workstation-18/test_252_audio_playback_audiovm_switch_hvm (3/5 times with errors)
    • job 180881 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 181250 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 183510 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_AudioVM_PipeWire_debian-13-xfce/test_260_audio_mic_enabled_switch_audiovm (1/5 times with errors)
    • job 181250 AssertionError: pacat for test-inst-vm1 (xid 50) running(False) in ...
    TC_20_AudioVM_PipeWire_fedora-43-xfce/test_260_audio_mic_enabled_switch_audiovm (1/5 times with errors)
    • job 180881 AssertionError: Failed to get mic attach/detach status!
    TC_20_AudioVM_PipeWire_whonix-workstation-18/test_260_audio_mic_enabled_switch_audiovm (1/5 times with errors)
    • job 182414 AssertionError: 0 not greater than 0 : Failed to move-source-output
  • system_tests_audio@hw1

    system_tests/Failed (1/5 times with errors)
    • job 183510 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    system_tests/Failed (4/5 times with errors)
    • job 180881 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 181250 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 182414 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 182680 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    TC_20_AudioVM_Pulse_fedora-44-xfce/test_223_audio_play_hvm (1/5 times with errors)
    • job 183510 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_AudioVM_Pulse_whonix-workstation-18/test_223_audio_play_hvm (2/5 times with errors)
    • job 180881 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 183510 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_AudioVM_Pulse_fedora-44-xfce/test_224_audio_rec_muted_hvm (1/5 times with errors)
    • job 183510 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_AudioVM_Pulse_whonix-workstation-18/test_224_audio_rec_muted_hvm (1/5 times with errors)
    • job 180881 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_AudioVM_Pulse_fedora-43-xfce/test_225_audio_rec_unmuted_hvm (2/5 times with errors)
    • job 180881 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 182414 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_AudioVM_Pulse_fedora-44-xfce/test_225_audio_rec_unmuted_hvm (1/5 times with errors)
    • job 183510 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_AudioVM_Pulse_whonix-workstation-18/test_225_audio_rec_unmuted_hvm (5/5 times with errors)
    • job 180881 AssertionError: too short audio, expected 10s, got 6.69970521541950...
    • job 181250 AssertionError: too short audio, expected 10s, got 6.18662131519274...
    • job 182414 AssertionError: too short audio, expected 10s, got 4.07111111111111...
    • job 182680 AssertionError: too short audio, expected 10s, got 7.11995464852607...
    • job 183510 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_AudioVM_PipeWire_debian-13-xfce/test_251_audio_playback_audiovm_pipewire_late_start (1/5 times with errors)
    • job 182414 AssertionError: pacat for test-inst-vm1 (xid 48) running(False) in ...
    TC_20_AudioVM_PipeWire_fedora-43-xfce/test_251_audio_playback_audiovm_pipewire_late_start (1/5 times with errors)
    • job 181250 AssertionError: too short audio, expected 10s, got 9.35857142857142...
    TC_20_AudioVM_PipeWire_whonix-workstation-18/test_251_audio_playback_audiovm_pipewire_late_start (1/5 times with errors)
    • job 182680 AssertionError: too short audio, expected 10s, got 9.36630385487528...
    TC_20_AudioVM_Pulse_fedora-43-xfce/test_252_audio_playback_audiovm_switch_hvm (3/5 times with errors)
    • job 180881 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 181250 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 182414 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_AudioVM_Pulse_fedora-44-xfce/test_252_audio_playback_audiovm_switch_hvm (1/5 times with errors)
    • job 183510 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_AudioVM_Pulse_whonix-workstation-18/test_252_audio_playback_audiovm_switch_hvm (3/5 times with errors)
    • job 180881 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 181250 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 183510 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_AudioVM_PipeWire_debian-13-xfce/test_260_audio_mic_enabled_switch_audiovm (1/5 times with errors)
    • job 181250 AssertionError: pacat for test-inst-vm1 (xid 50) running(False) in ...
    TC_20_AudioVM_PipeWire_fedora-43-xfce/test_260_audio_mic_enabled_switch_audiovm (1/5 times with errors)
    • job 180881 AssertionError: Failed to get mic attach/detach status!
    TC_20_AudioVM_PipeWire_whonix-workstation-18/test_260_audio_mic_enabled_switch_audiovm (1/5 times with errors)
    • job 182414 AssertionError: 0 not greater than 0 : Failed to move-source-output
  • system_tests_gui_interactive@hw7

    screenlocker_lock/ (1/5 times with errors)
    screenlocker_lock/Failed (1/5 times with errors)
    • job 181264 # Test died: no candidate needle with tag(s) 'screenlocker-blank' m...
  • system_tests_basic_vm_qrexec_gui_ext4

    system_tests/ (2/5 times with errors)
    system_tests/Failed (2/5 times with errors)
    • job 183527 # Test died: no candidate needle with tag(s) 'x11' matched...
    • job 183569 # Test died: no candidate needle with tag(s) 'x11' matched...
  • system_tests_basic_vm_qrexec_gui_xfs

    switch_pool/Failed (2/5 times with errors)
    • job 182432 # Test died: command 'qvm-start sys-firewall sys-usb' failed at /us...
    • job 183748 # Test died: command 'qvm-start sys-firewall sys-usb' failed at /us...
    switch_pool/wait_serial (1/5 times with errors)
    • job 183748 # Command: qvm-run --no-gui -p -u root sys-firewall "cat /var/log/x...
  • system_tests_suspend@hw1

    suspend/Failed (2/5 times with errors)
    • job 179086 # Test died: command 'qvm-run -p sys-net true' timed out at /usr/li...
    • job 179098 # Test died: command 'qvm-run -p sys-net true' timed out at /usr/li...
    suspend/Failed (3/5 times with errors)
    • job 179097 # Test died: command '! qvm-check sys-usb || qvm-run -p sys-usb tru...
    • job 179101 # Test died: command '! qvm-check sys-usb || qvm-run -p sys-usb tru...
    • job 179957 # Test died: command '! qvm-check sys-usb || qvm-run -p sys-usb tru...
    suspend/wait_serial (2/5 times with errors)
    suspend/wait_serial (3/5 times with errors)
    • job 179097 # Command: ! qvm-check sys-usb || qvm-run -p sys-usb true...
    • job 179101 # Command: ! qvm-check sys-usb || qvm-run -p sys-usb true...
    • job 179957 # Command: ! qvm-check sys-usb || qvm-run -p sys-usb true...
    suspend/wait_serial (2/5 times with errors)
    suspend/wait_serial (3/5 times with errors)
    • job 179097 # wait_serial expected: "lspci; echo 2E8vz-\$?-"...
    • job 179101 # wait_serial expected: "lspci; echo 2E8vz-\$?-"...
    • job 179957 # wait_serial expected: "lspci; echo 2E8vz-\$?-"...
  • system_tests_basic_vm_qrexec_gui@hw7

    system_tests/Fail (1/5 times with errors)
    • job 182429 Tests qubes.tests.integ.basic failed (exit code 1), details reporte...
    system_tests/Fail (1/5 times with errors)
    • job 181256 Tests qubes.tests.integ.vm_qrexec_gui failed (exit code 1), details...
    system_tests/Fail (1/5 times with errors)
    • job 182429 Tests qubes.tests.integ.vm_qrexec_gui failed (exit code 1), details...
    system_tests/Failed (1/5 times with errors)
    • job 181256 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    system_tests/Failed (1/5 times with errors)
    • job 182429 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    TC_10_Generic/test_000_anyvm_deny_dom0 (1/5 times with errors)
    • job 182429 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_03_QvmRevertTemplateChanges/test_000_revert_linux (1/5 times with errors)
    • job 182429 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_NonAudio_fedora-43-xfce/test_101_qrexec_filecopy_with_autostart (1/5 times with errors)
    • job 182429 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_00_Basic/test_211_bootmode_standalone (1/5 times with errors)
    • job 182429 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_20_NonAudio_fedora-43-xfce/test_401_long_window_title_utf8 (1/5 times with errors)
    • job 181256 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
  • system_tests_splitgpg

    system_tests/Failed (2/5 times with errors)
    • job 180912 # Test died: command 'testfunc qubes.tests.extra' timed out at qube...
    • job 182711 # Test died: command 'testfunc qubes.tests.extra' timed out at qube...
    system_tests/wait_serial (2/5 times with errors)
    • job 180912 # Command: testfunc qubes.tests.extra...
    • job 182711 # Command: testfunc qubes.tests.extra...
  • system_tests_basic_vm_qrexec_gui_btrfs

    system_tests/ (1/5 times with errors)
    system_tests/Fail (1/5 times with errors)
    • job 182430 Tests qubes.tests.integ.basic failed (exit code 1), details reporte...
    system_tests/Failed (1/5 times with errors)
    • job 183526 # Test died: no candidate needle with tag(s) 'x11' matched...
    system_tests/Failed (1/5 times with errors)
    • job 183570 # Test died: command 'curl --form upload=@nose2-junit.xml --form up...
    system_tests/Failed (1/5 times with errors)
    • job 182430 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    TC_00_Basic/test_210_bootmode_template (1/5 times with errors)
    • job 182430 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
  • system_tests_network_ipv6

    system_tests/Fail (2/5 times with errors)
    • job 181268 Tests qubes.tests.integ.network_ipv6 failed (exit code 1), details ...
    • job 182441 Tests qubes.tests.integ.network_ipv6 failed (exit code 1), details ...
    system_tests/Failed (2/5 times with errors)
    • job 181268 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 182441 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    VmIPv6Networking_fedora-43-xfce/test_001_simple_networking_paused_restart_netvm (1/5 times with errors)
    • job 181268 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    VmIPv6Networking_fedora-43-xfce/test_010_simple_proxyvm (1/5 times with errors)
    • job 182441 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    VmIPv6Networking_fedora-43-xfce/test_020_simple_proxyvm_nm (1/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_030_firewallvm_firewall (1/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_031_firewall_dynamic_block (1/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_040_inter_vm (1/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_050_spoof_ip (1/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_100_late_xldevd_startup (1/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_110_dynamic_attach (1/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_111_dynamic_detach_attach (1/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_112_reattach_after_provider_shutdown (2/5 times with errors)
    • job 181268 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 182441 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    VmIPv6Networking_fedora-43-xfce/test_113_reattach_after_provider_kill (2/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_114_reattach_after_provider_crash (2/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_200_fake_ip_simple (2/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_201_fake_ip_without_gw (2/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_202_fake_ip_firewall (2/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_203_fake_ip_inter_vm_allow (2/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_204_fake_ip_proxy (2/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_210_custom_ip_simple (2/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_211_custom_ip_proxy (2/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_212_custom_ip_firewall (2/5 times with errors)
    • job 181268 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 182441 ^^^^^^^^^^... AssertionError
    VmIPv6Networking_fedora-43-xfce/test_500_ipv6_simple_networking (2/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_501_simple_networking_paused_change_purge_old (2/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_501_simple_networking_paused_change_shutdown_old (2/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_501_simple_networking_paused_from_existent_to_none (2/5 times with errors)
    VmIPv6Networking_debian-13-xfce/test_501_simple_networking_paused_from_none_to_existent (1/5 times with errors)
    • job 181268 subprocess.CalledProcessError: Command 'qubes.WaitForNetworkUplink'...
    VmIPv6Networking_fedora-43-xfce/test_501_simple_networking_paused_from_none_to_existent (2/5 times with errors)
    • job 181268 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 182441 ^^^^^^^^^^... AssertionError
    VmIPv6Networking_fedora-43-xfce/test_501_simple_networking_paused_restart_netvm (2/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_501_simple_networking_paused_shutdown_netvm (2/5 times with errors)
    • job 181268 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 182441 ^^^^^^^^^^... AssertionError
    VmIPv6Networking_fedora-43-xfce/test_510_ipv6_simple_proxyvm (2/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_520_ipv6_simple_proxyvm_nm (2/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_530_ipv6_firewallvm_firewall (2/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_540_ipv6_inter_vm (2/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_550_ipv6_spoof_ip (2/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_710_ipv6_custom_ip_simple (2/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_711_ipv6_custom_ip_proxy (2/5 times with errors)
    VmIPv6Networking_fedora-43-xfce/test_712_ipv6_custom_ip_firewall (2/5 times with errors)
  • system_tests_whonix@hw1

    whonixcheck/Failed (2/5 times with errors)
    • job 180878 # Test died: systemcheck failed at qubesos/tests/whonixcheck.pm lin...
    • job 182677 # Test died: systemcheck failed at qubesos/tests/whonixcheck.pm lin...
    whonixcheck/Failed (2/5 times with errors)
    • job 181249 # Test died: systemcheck failed at qubesos/tests/whonixcheck.pm lin...
    • job 182411 # Test died: systemcheck failed at qubesos/tests/whonixcheck.pm lin...
    whonixcheck/fail (2/5 times with errors)
    whonixcheck/fail (2/5 times with errors)
    whonixcheck/fail (2/5 times with errors)

Performance Tests

Performance degradation:

14 performance degradations
  • debian-13-xfce_dom0-vm-gui-api (mean:0.072): 0.86 🔻 ( previous job: 0.47, degradation: 185.38%)
  • fedora-43-xfce_dom0-dispvm-api (mean:8.611): 103.33 🔻 ( previous job: 89.33, degradation: 115.66%)
  • fedora-43-xfce_dom0-dispvm-preload-2-delay-0-api (mean:3.927): 47.12 🔻 ( previous job: 41.41, degradation: 113.78%)
  • whonix-workstation-18_dom0-dispvm-api (mean:9.92): 119.05 🔻 ( previous job: 97.14, degradation: 122.56%)
  • whonix-workstation-18_dom0-dispvm-gui-api (mean:11.943): 143.31 🔻 ( previous job: 121.86, degradation: 117.61%)
  • whonix-workstation-18_dom0-dispvm-preload-2-delay-0-api (mean:4.53): 54.36 🔻 ( previous job: 48.26, degradation: 112.63%)
  • whonix-workstation-18_dom0-dispvm-preload-4-api (mean:3.665): 43.98 🔻 ( previous job: 38.29, degradation: 114.87%)
  • dom0_root_rnd4k_q1t1_write 3:write_bandwidth_kb: 4450.00 🔻 ( previous job: 5055.00, degradation: 88.03%)
  • dom0_varlibqubes_rnd4k_q32t1_read 3:read_bandwidth_kb: 15990.00 🔻 ( previous job: 102155.00, degradation: 15.65%)
  • dom0_varlibqubes_rnd4k_q32t1_write 3:write_bandwidth_kb: 8873.00 🔻 ( previous job: 10623.00, degradation: 83.53%)
  • fedora-43-xfce_private_seq1m_q8t1_read 3:read_bandwidth_kb: 221452.00 🔻 ( previous job: 355690.00, degradation: 62.26%)
  • fedora-43-xfce_private_seq1m_q1t1_write 3:write_bandwidth_kb: 32096.00 🔻 ( previous job: 71992.00, degradation: 44.58%)
  • fedora-43-xfce_private_rnd4k_q32t1_write 3:write_bandwidth_kb: 2144.00 🔻 ( previous job: 3674.00, degradation: 58.36%)
  • whonix-gateway-18_socket-data-duplex: 115.58 🔻 ( previous job: 90.03, degradation: 128.37%)

Remaining performance tests:

95 tests
  • debian-13-xfce_dom0-dispvm-api (mean:6.534): 78.40 🔻 ( previous job: 74.50, degradation: 105.24%)
  • debian-13-xfce_dom0-dispvm-gui-api (mean:8.287): 99.45 🔻 ( previous job: 93.50, degradation: 106.36%)
  • debian-13-xfce_dom0-dispvm-preload-2-api (mean:3.199): 38.38 🔻 ( previous job: 37.79, degradation: 101.58%)
  • debian-13-xfce_dom0-dispvm-preload-2-delay-0-api (mean:3.036): 36.44 🔻 ( previous job: 34.29, degradation: 106.26%)
  • debian-13-xfce_dom0-dispvm-preload-2-delay-minus-1d2-api (mean:3.356): 40.27 🔻 ( previous job: 38.52, degradation: 104.55%)
  • debian-13-xfce_dom0-dispvm-preload-4-api (mean:2.539): 30.47 🟢 ( previous job: 30.73, improvement: 99.13%)
  • debian-13-xfce_dom0-dispvm-preload-4-delay-0-api (mean:2.439): 29.27 🟢 ( previous job: 29.50, improvement: 99.22%)
  • debian-13-xfce_dom0-dispvm-preload-4-delay-minus-1d2-api (mean:2.45): 29.40 🔻 ( previous job: 28.74, degradation: 102.29%)
  • debian-13-xfce_dom0-dispvm-preload-2-gui-api (mean:4.843): 58.11 🔻 ( previous job: 53.65, degradation: 108.31%)
  • debian-13-xfce_dom0-dispvm-preload-4-gui-api (mean:3.72): 44.64 🔻 ( previous job: 44.40, degradation: 100.54%)
  • debian-13-xfce_dom0-dispvm-preload-6-gui-api (mean:3.314): 39.77 🟢 ( previous job: 41.47, improvement: 95.89%)
  • debian-13-xfce_dom0-vm-api (mean:0.032): 0.39 🟢 ( previous job: 0.62, improvement: 62.74%)
  • fedora-43-xfce_dom0-dispvm-gui-api (mean:10.127): 121.52 🔻 ( previous job: 112.35, degradation: 108.16%)
  • fedora-43-xfce_dom0-dispvm-preload-2-api (mean:3.937): 47.24 🔻 ( previous job: 44.03, degradation: 107.31%)
  • fedora-43-xfce_dom0-dispvm-preload-2-delay-minus-1d2-api (mean:4.039): 48.47 🔻 ( previous job: 46.26, degradation: 104.77%)
  • fedora-43-xfce_dom0-dispvm-preload-4-api (mean:2.892): 34.70 🟢 ( previous job: 36.18, improvement: 95.91%)
  • fedora-43-xfce_dom0-dispvm-preload-4-delay-0-api (mean:2.858): 34.29 🟢 ( previous job: 36.15, improvement: 94.86%)
  • fedora-43-xfce_dom0-dispvm-preload-4-delay-minus-1d2-api (mean:2.995): 35.94 🟢 ( previous job: 36.13, improvement: 99.48%)
  • fedora-43-xfce_dom0-dispvm-preload-2-gui-api (mean:5.316): 63.80 🟢 ( previous job: 63.91, improvement: 99.82%)
  • fedora-43-xfce_dom0-dispvm-preload-4-gui-api (mean:4.247): 50.97 🟢 ( previous job: 52.06, improvement: 97.91%)
  • fedora-43-xfce_dom0-dispvm-preload-6-gui-api (mean:3.458): 41.50 🟢 ( previous job: 46.35, improvement: 89.52%)
  • fedora-43-xfce_dom0-vm-api (mean:0.027): 0.33 🟢 ( previous job: 0.47, improvement: 70.54%)
  • fedora-43-xfce_dom0-vm-gui-api (mean:0.037): 0.45 🟢 ( previous job: 0.46, improvement: 98.68%)
  • whonix-workstation-18_dom0-dispvm-preload-2-api (mean:4.371): 52.45 🔻 ( previous job: 48.39, degradation: 108.39%)
  • whonix-workstation-18_dom0-dispvm-preload-2-delay-minus-1d2-api (mean:5.285): 63.43 🔻 ( previous job: 59.22, degradation: 107.11%)
  • whonix-workstation-18_dom0-dispvm-preload-4-delay-0-api (mean:3.391): 40.69 🟢 ( previous job: 43.23, improvement: 94.12%)
  • whonix-workstation-18_dom0-dispvm-preload-4-delay-minus-1d2-api (mean:3.664): 43.97 🔻 ( previous job: 42.67, degradation: 103.05%)
  • whonix-workstation-18_dom0-dispvm-preload-2-gui-api (mean:6.133): 73.60 🔻 ( previous job: 72.05, degradation: 102.16%)
  • whonix-workstation-18_dom0-dispvm-preload-4-gui-api (mean:4.646): 55.75 🔻 ( previous job: 52.81, degradation: 105.57%)
  • whonix-workstation-18_dom0-dispvm-preload-6-gui-api (mean:4.085): 49.02 🟢 ( previous job: 50.72, improvement: 96.66%)
  • whonix-workstation-18_dom0-vm-api (mean:0.02): 0.24 🟢 ( previous job: 0.43, improvement: 56.12%)
  • whonix-workstation-18_dom0-vm-gui-api (mean:0.043): 0.51 🟢 ( previous job: 0.56, improvement: 91.91%)
  • dom0_root_seq1m_q8t1_read 3:read_bandwidth_kb: 397489.00 🟢 ( previous job: 388793.00, improvement: 102.24%)
  • dom0_root_seq1m_q8t1_write 3:write_bandwidth_kb: 199785.00 🟢 ( previous job: 119690.00, improvement: 166.92%)
  • dom0_root_seq1m_q1t1_read 3:read_bandwidth_kb: 429392.00 🟢 ( previous job: 245223.00, improvement: 175.10%)
  • dom0_root_seq1m_q1t1_write 3:write_bandwidth_kb: 204349.00 🟢 ( previous job: 199974.00, improvement: 102.19%)
  • dom0_root_rnd4k_q32t1_read 3:read_bandwidth_kb: 107018.00 🟢 ( previous job: 13948.00, improvement: 767.26%)
  • dom0_root_rnd4k_q32t1_write 3:write_bandwidth_kb: 10392.00 🟢 ( previous job: 6899.00, improvement: 150.63%)
  • dom0_root_rnd4k_q1t1_read 3:read_bandwidth_kb: 8459.00 🔻 ( previous job: 8963.00, degradation: 94.38%)
  • dom0_varlibqubes_seq1m_q8t1_read 3:read_bandwidth_kb: 485676.00 🟢 ( previous job: 429040.00, improvement: 113.20%)
  • dom0_varlibqubes_seq1m_q8t1_write 3:write_bandwidth_kb: 253034.00 🔻 ( previous job: 257066.00, degradation: 98.43%)
  • dom0_varlibqubes_seq1m_q1t1_read 3:read_bandwidth_kb: 447535.00 🟢 ( previous job: 446202.00, improvement: 100.30%)
  • dom0_varlibqubes_seq1m_q1t1_write 3:write_bandwidth_kb: 205127.00 🟢 ( previous job: 201978.00, improvement: 101.56%)
  • dom0_varlibqubes_rnd4k_q1t1_read 3:read_bandwidth_kb: 8491.00 🟢 ( previous job: 8179.00, improvement: 103.81%)
  • dom0_varlibqubes_rnd4k_q1t1_write 3:write_bandwidth_kb: 4734.00 🟢 ( previous job: 4404.00, improvement: 107.49%)
  • fedora-43-xfce_root_seq1m_q8t1_read 3:read_bandwidth_kb: 417925.00 🟢 ( previous job: 415113.00, improvement: 100.68%)
  • fedora-43-xfce_root_seq1m_q1t1_read 3:read_bandwidth_kb: 344359.00 🟢 ( previous job: 310781.00, improvement: 110.80%)
  • fedora-43-xfce_root_seq1m_q1t1_write 3:write_bandwidth_kb: 73142.00 🔻 ( previous job: 78270.00, degradation: 93.45%)
  • fedora-43-xfce_root_rnd4k_q32t1_read 3:read_bandwidth_kb: 83495.00 🔻 ( previous job: 90877.00, degradation: 91.88%)
  • fedora-43-xfce_root_rnd4k_q32t1_write 3:write_bandwidth_kb: 1598.00 🟢 ( previous job: 1519.00, improvement: 105.20%)
  • fedora-43-xfce_root_rnd4k_q1t1_read 3:read_bandwidth_kb: 8867.00 🟢 ( previous job: 8769.00, improvement: 101.12%)
  • fedora-43-xfce_private_seq1m_q8t1_write 3:write_bandwidth_kb: 232861.00 🟢 ( previous job: 130275.00, improvement: 178.75%)
  • fedora-43-xfce_private_seq1m_q1t1_read 3:read_bandwidth_kb: 278284.00 🔻 ( previous job: 294295.00, degradation: 94.56%)
  • fedora-43-xfce_private_rnd4k_q32t1_read 3:read_bandwidth_kb: 76966.00 🔻 ( previous job: 81357.00, degradation: 94.60%)
  • fedora-43-xfce_private_rnd4k_q1t1_read 3:read_bandwidth_kb: 8874.00 🟢 ( previous job: 8429.00, improvement: 105.28%)
  • fedora-43-xfce_private_rnd4k_q1t1_write 3:write_bandwidth_kb: 669.00 🟢 ( previous job: 567.00, improvement: 117.99%)
  • fedora-43-xfce_volatile_seq1m_q8t1_read 3:read_bandwidth_kb: 362202.00 🔻 ( previous job: 378957.00, degradation: 95.58%)
  • fedora-43-xfce_volatile_seq1m_q8t1_write 3:write_bandwidth_kb: 111494.00 🟢 ( previous job: 95037.00, improvement: 117.32%)
  • fedora-43-xfce_volatile_seq1m_q1t1_read 3:read_bandwidth_kb: 303056.00 🟢 ( previous job: 202428.00, improvement: 149.71%)
  • fedora-43-xfce_volatile_seq1m_q1t1_write 3:write_bandwidth_kb: 26080.00 🟢 ( previous job: 26016.00, improvement: 100.25%)
  • fedora-43-xfce_volatile_rnd4k_q32t1_read 3:read_bandwidth_kb: 83956.00 🟢 ( previous job: 79218.00, improvement: 105.98%)
  • fedora-43-xfce_volatile_rnd4k_q32t1_write 3:write_bandwidth_kb: 3594.00 🟢 ( previous job: 1720.00, improvement: 208.95%)
  • fedora-43-xfce_volatile_rnd4k_q1t1_read 3:read_bandwidth_kb: 8651.00 🔻 ( previous job: 8667.00, degradation: 99.82%)
  • fedora-43-xfce_volatile_rnd4k_q1t1_write 3:write_bandwidth_kb: 1112.00 🟢 ( previous job: 548.00, improvement: 202.92%)
  • debian-13-xfce_exec: 8.59 🔻 ( previous job: 7.85, degradation: 109.34%)
  • debian-13-xfce_exec-root: 27.01 🔻 ( previous job: 26.74, degradation: 100.99%)
  • debian-13-xfce_socket: 8.27 🟢 ( previous job: 8.37, improvement: 98.79%)
  • debian-13-xfce_socket-root: 8.91 🟢 ( previous job: 9.13, improvement: 97.58%)
  • debian-13-xfce_exec-data-simplex: 62.77 🟢 ( previous job: 63.05, improvement: 99.55%)
  • debian-13-xfce_exec-data-duplex: 64.62 🔻 ( previous job: 62.45, degradation: 103.47%)
  • debian-13-xfce_exec-data-duplex-root: 74.17 🟢 ( previous job: 78.04, improvement: 95.04%)
  • debian-13-xfce_socket-data-duplex: 88.93 🔻 ( previous job: 85.67, degradation: 103.81%)
  • fedora-43-xfce_exec: 8.93 🟢 ( previous job: 9.10, improvement: 98.06%)
  • fedora-43-xfce_exec-root: 70.18 🔻 ( previous job: 69.86, degradation: 100.46%)
  • fedora-43-xfce_socket: 9.12 🔻 ( previous job: 8.52, degradation: 107.11%)
  • fedora-43-xfce_socket-root: 8.65 🔻 ( previous job: 7.96, degradation: 108.71%)
  • fedora-43-xfce_exec-data-simplex: 63.37 🔻 ( previous job: 60.82, degradation: 104.18%)
  • fedora-43-xfce_exec-data-duplex: 68.49 🔻 ( previous job: 68.31, degradation: 100.27%)
  • fedora-43-xfce_exec-data-duplex-root: 99.58 🔻 ( previous job: 98.74, degradation: 100.85%)
  • fedora-43-xfce_socket-data-duplex: 93.03 🔻 ( previous job: 91.81, degradation: 101.33%)
  • whonix-gateway-18_exec: 7.54 🟢 ( previous job: 8.01, improvement: 94.08%)
  • whonix-gateway-18_exec-root: 127.26 🔻 ( previous job: 126.14, degradation: 100.89%)
  • whonix-gateway-18_socket: 8.34 🟢 ( previous job: 8.63, improvement: 96.69%)
  • whonix-gateway-18_socket-root: 8.84 🔻 ( previous job: 8.37, degradation: 105.67%)
  • whonix-gateway-18_exec-data-simplex: 64.83 🔻 ( previous job: 62.50, degradation: 103.73%)
  • whonix-gateway-18_exec-data-duplex: 66.70 🟢 ( previous job: 68.01, improvement: 98.06%)
  • whonix-gateway-18_exec-data-duplex-root: 135.27 🟢 ( previous job: 137.28, improvement: 98.53%)
  • whonix-workstation-18_exec: 8.66 🔻 ( previous job: 8.14, degradation: 106.46%)
  • whonix-workstation-18_exec-root: 141.78 🟢 ( previous job: 144.02, improvement: 98.44%)
  • whonix-workstation-18_socket: 8.38 🔻 ( previous job: 7.66, degradation: 109.34%)
  • whonix-workstation-18_socket-root: 9.60 🔻 ( previous job: 8.87, degradation: 108.29%)
  • whonix-workstation-18_exec-data-simplex: 60.76 🟢 ( previous job: 66.36, improvement: 91.57%)
  • whonix-workstation-18_exec-data-duplex: 66.34 🔻 ( previous job: 65.56, degradation: 101.19%)
  • whonix-workstation-18_exec-data-duplex-root: 137.08 🔻 ( previous job: 130.67, degradation: 104.91%)
  • whonix-workstation-18_socket-data-duplex: 89.86 🟢 ( previous job: 92.97, improvement: 96.66%)

@ArrayBolt3

Copy link
Copy Markdown
Contributor Author

@marmarek I don't really know what I'm doing with SELinux policy, but I tried to do what looked right based on the existing policy files. Tested by installing built packages in a Fedora 43 DispVM; /var/run/qubes now contains both qubesdb.sock and qubesdb.ro.sock. I also verified that I cannot write to or delete items in the db as user nobody, but can do so as user user.

Comment thread selinux/qubes-core-qubesdb.fc
@andrewdavidwong

Copy link
Copy Markdown
Member

Suggestion: If you intend for this pull request to resolve the associated issue and would like for it to be linked to the issue automatically, you can put Closes QubesOS/qubes-issues#XXXX in the PR message (where XXXX is the issue number). Closes is one of several special keywords that GitHub will recognize. If and when the PR is merged, GitHub will automatically close the associated issue.

Comment thread daemon/db-daemon.c Outdated
@marmarek

Copy link
Copy Markdown
Member

And once this is merged, do you insist on having it in R4.3, or R4.4+ is fine?

@ArrayBolt3

Copy link
Copy Markdown
Contributor Author

@marmarek I guess that depends on how dangerous you think it is to apply to R4.3. If it could be backported to R4.3, that would be ideal, but if it comes with a significant risk of breaking people's systems, then we can probably live without it until R4.4+.

@marmarek

marmarek commented Jun 1, 2026

Copy link
Copy Markdown
Member

@ArrayBolt3

Only users in the qubes group should be able to modify qubesdb, to
prevent some forms of in-VM attacks where a malicious process injects
crafted values into qubesdb that are then trusted by other processes in
the same VM. Split the qubesdb access socket into two sockets; a
privileged read/write socket and an unprivileged read-only socket. Also
introduce an option that allows locking down the permissions on the
read/write socket.

In R4.3, we'll have to keep the existing, less-safe behavior by default
to avoid a breaking change. Templates that can accept the risks of
locking down write access can do so by setting the command-line option.

For the sake of convenience, this is only done for Linux, Windows
remains with a single "socket" for everything.

Implements QubesOS/qubes-issues#10871.
@ArrayBolt3
ArrayBolt3 force-pushed the arraybolt3/write-restrict branch from dbd786c to d755337 Compare June 14, 2026 18:43
@ArrayBolt3

Copy link
Copy Markdown
Contributor Author

@marmarek Applied both fixes. (Thanks for your patience, been busy with work outside of Kicksecure/Whonix/Qubes OS for some weeks.)

@marmarek
marmarek merged commit 6d8769c into QubesOS:main Jun 15, 2026
2 of 3 checks passed
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.

Prevent users outside of the qubes group from writing to QubesDB in Linux qubes

4 participants