Skip to content

Conversation

@ben-grande
Copy link
Contributor

@codecov
Copy link

codecov bot commented Jul 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.47%. Comparing base (36fee27) to head (7c3a5bc).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #706      +/-   ##
==========================================
- Coverage   70.53%   70.47%   -0.06%     
==========================================
  Files          61       61              
  Lines       13546    13546              
==========================================
- Hits         9554     9546       -8     
- Misses       3992     4000       +8     
Flag Coverage Δ
unittests 70.47% <ø> (-0.06%) ⬇️

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@qubesos-bot
Copy link

qubesos-bot commented Jul 24, 2025

OpenQA test summary

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

  • system_tests_basic_vm_qrexec_gui

  • system_tests_pvgrub_salt_storage

    • StorageLVM: test_000_volatile (error + cleanup)
      raise TimeoutError from exc_val... TimeoutError
  • system_tests_qwt_win10@hw13

    • windows_install: wait_serial (wait serial expected)
      # wait_serial expected: qr/tKcyh-\d+-/...

    • windows_install: Failed (test died + timed out)
      # Test died: command 'script -e -c 'bash -x /usr/bin/qvm-create-win...

  • system_tests_qwt_win10_seamless@hw13

    • windows_install: wait_serial (wait serial expected)
      # wait_serial expected: qr/4E4Ei-\d+-/...

    • windows_install: Failed (test died + timed out)
      # Test died: command 'script -e -c 'bash -x /usr/bin/qvm-create-win...

  • system_tests_qwt_win11@hw13

    • windows_install: wait_serial (wait serial expected)
      # wait_serial expected: qr/qDqV_-\d+-/...

    • windows_install: Failed (test died + timed out)
      # Test died: command 'script -e -c 'bash -x /usr/bin/qvm-create-win...

  • system_tests_basic_vm_qrexec_gui_ext4

    • TC_20_NonAudio_whonix-gateway-17-pool: test_012_qubes_desktop_run (error + cleanup)
      raise TimeoutError from exc_val... TimeoutError
  • install_default_upload@hw7

    • install_startup: unnamed test (unknown)
    • install_startup: Failed (test died)
      # Test died: no candidate needle with tag(s) 'installer' matched...
  • system_tests_network_updates

    • TC_11_QvmTemplateMgmtVM_fedora-42-xfce: test_000_template_list (failure)
      AssertionError: qvm-template failed: [Qrexec] ERROR: dnf command is...

Failed tests

18 failures
  • system_tests_basic_vm_qrexec_gui

  • system_tests_pvgrub_salt_storage

    • StorageLVM: test_000_volatile (error + cleanup)
      raise TimeoutError from exc_val... TimeoutError
  • system_tests_extra

    • TC_00_QVCTest_whonix-workstation-17: test_010_screenshare (failure)
      AssertionError: 1 != 0 : Timeout waiting for /dev/video0 in test-in...
  • system_tests_kde_gui_interactive

    • gui_keyboard_layout: wait_serial (wait serial expected)
      # wait_serial expected: "echo -e '[Layout]\nLayoutList=us,de' | sud...

    • gui_keyboard_layout: Failed (test died)
      # Test died: command 'test "$(cd ~user;ls e1*)" = "$(qvm-run -p wor...

  • system_tests_qwt_win10@hw13

    • windows_install: wait_serial (wait serial expected)
      # wait_serial expected: qr/tKcyh-\d+-/...

    • windows_install: Failed (test died + timed out)
      # Test died: command 'script -e -c 'bash -x /usr/bin/qvm-create-win...

  • system_tests_qwt_win10_seamless@hw13

    • windows_install: wait_serial (wait serial expected)
      # wait_serial expected: qr/4E4Ei-\d+-/...

    • windows_install: Failed (test died + timed out)
      # Test died: command 'script -e -c 'bash -x /usr/bin/qvm-create-win...

  • system_tests_qwt_win11@hw13

    • windows_install: wait_serial (wait serial expected)
      # wait_serial expected: qr/qDqV_-\d+-/...

    • windows_install: Failed (test died + timed out)
      # Test died: command 'script -e -c 'bash -x /usr/bin/qvm-create-win...

  • system_tests_basic_vm_qrexec_gui_ext4

    • TC_20_NonAudio_whonix-gateway-17-pool: test_012_qubes_desktop_run (error + cleanup)
      raise TimeoutError from exc_val... TimeoutError
  • install_default_upload@hw7

    • install_startup: unnamed test (unknown)
    • install_startup: Failed (test died)
      # Test died: no candidate needle with tag(s) 'installer' matched...
  • system_tests_network_updates

    • TC_11_QvmTemplateMgmtVM_fedora-42-xfce: test_000_template_list (failure)
      AssertionError: qvm-template failed: [Qrexec] ERROR: dnf command is...
  • system_tests_guivm_vnc_gui_interactive

    • simple_gui_apps: unnamed test (unknown)
    • simple_gui_apps: Failed (test died)
      # Test died: no candidate needle with tag(s) 'vm-settings-applicati...

Fixed failures

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

8 fixed

Unstable tests

Details

Performance Tests

Performance degradation:

7 performance degradations
  • debian-12-xfce_exec-data-simplex: 75.11 🔺 ( previous job: 65.51, degradation: 114.65%)
  • debian-12-xfce_exec-data-duplex-root: 80.24 🔺 ( previous job: 70.01, degradation: 114.62%)
  • whonix-gateway-17_socket: 9.86 🔺 ( previous job: 7.85, degradation: 125.60%)
  • whonix-gateway-17_exec-data-duplex-root: 107.37 🔺 ( previous job: 90.74, degradation: 118.33%)
  • whonix-workstation-17_exec-data-duplex-root: 100.29 🔺 ( previous job: 86.00, degradation: 116.62%)
  • dom0_root_rnd4k_q1t1_read 3:read_bandwidth_kb: 8940.00 :small_red_triangle: ( previous job: 11086.00, degradation: 80.64%)
  • dom0_varlibqubes_rnd4k_q32t1_write 3:write_bandwidth_kb: 7476.00 :small_red_triangle: ( previous job: 8874.00, degradation: 84.25%)

Remaining performance tests:

65 tests
  • debian-12-xfce_exec: 6.99 🟢 ( previous job: 8.63, improvement: 80.96%)
  • debian-12-xfce_exec-root: 28.89 🟢 ( previous job: 29.44, improvement: 98.14%)
  • debian-12-xfce_socket: 9.11 🔺 ( previous job: 8.50, degradation: 107.20%)
  • debian-12-xfce_socket-root: 8.26 🟢 ( previous job: 8.31, improvement: 99.33%)
  • debian-12-xfce_exec-data-duplex: 73.84 🔺 ( previous job: 73.55, degradation: 100.40%)
  • debian-12-xfce_socket-data-duplex: 157.84 🟢 ( previous job: 161.35, improvement: 97.82%)
  • fedora-42-xfce_exec: 9.31
  • fedora-42-xfce_exec-root: 58.93
  • fedora-42-xfce_socket: 8.33
  • fedora-42-xfce_socket-root: 8.17
  • fedora-42-xfce_exec-data-simplex: 78.78
  • fedora-42-xfce_exec-data-duplex: 68.48
  • fedora-42-xfce_exec-data-duplex-root: 93.49
  • fedora-42-xfce_socket-data-duplex: 138.28
  • whonix-gateway-17_exec: 6.32 🟢 ( previous job: 7.34, improvement: 86.15%)
  • whonix-gateway-17_exec-root: 37.92 🟢 ( previous job: 39.57, improvement: 95.81%)
  • whonix-gateway-17_socket-root: 7.38 🟢 ( previous job: 7.89, improvement: 93.55%)
  • whonix-gateway-17_exec-data-simplex: 75.14 🟢 ( previous job: 77.76, improvement: 96.62%)
  • whonix-gateway-17_exec-data-duplex: 80.41 🔺 ( previous job: 78.39, degradation: 102.59%)
  • whonix-gateway-17_socket-data-duplex: 164.83 🔺 ( previous job: 161.95, degradation: 101.78%)
  • whonix-workstation-17_exec: 8.49 🔺 ( previous job: 8.27, degradation: 102.59%)
  • whonix-workstation-17_exec-root: 53.72 🟢 ( previous job: 57.61, improvement: 93.24%)
  • whonix-workstation-17_socket: 8.41 🟢 ( previous job: 8.97, improvement: 93.79%)
  • whonix-workstation-17_socket-root: 8.28 🟢 ( previous job: 9.46, improvement: 87.58%)
  • whonix-workstation-17_exec-data-simplex: 74.86 🔺 ( previous job: 74.54, degradation: 100.43%)
  • whonix-workstation-17_exec-data-duplex: 75.57 🔺 ( previous job: 74.84, degradation: 100.98%)
  • whonix-workstation-17_socket-data-duplex: 166.76 🔺 ( previous job: 160.20, degradation: 104.09%)
  • dom0_root_seq1m_q8t1_read 3:read_bandwidth_kb: 261490.00 :small_red_triangle: ( previous job: 289982.00, degradation: 90.17%)
  • dom0_root_seq1m_q8t1_write 3:write_bandwidth_kb: 208588.00 :green_circle: ( previous job: 101988.00, improvement: 204.52%)
  • dom0_root_seq1m_q1t1_read 3:read_bandwidth_kb: 184004.00 :green_circle: ( previous job: 14284.00, improvement: 1288.18%)
  • dom0_root_seq1m_q1t1_write 3:write_bandwidth_kb: 48858.00 :green_circle: ( previous job: 32696.00, improvement: 149.43%)
  • dom0_root_rnd4k_q32t1_read 3:read_bandwidth_kb: 100247.00 :green_circle: ( previous job: 17102.00, improvement: 586.17%)
  • dom0_root_rnd4k_q32t1_write 3:write_bandwidth_kb: 8924.00 :green_circle: ( previous job: 1091.00, improvement: 817.97%)
  • dom0_root_rnd4k_q1t1_write 3:write_bandwidth_kb: 3646.00 :green_circle: ( previous job: 1840.00, improvement: 198.15%)
  • dom0_varlibqubes_seq1m_q8t1_read 3:read_bandwidth_kb: 462539.00 :green_circle: ( previous job: 289182.00, improvement: 159.95%)
  • dom0_varlibqubes_seq1m_q8t1_write 3:write_bandwidth_kb: 246260.00 :green_circle: ( previous job: 122848.00, improvement: 200.46%)
  • dom0_varlibqubes_seq1m_q1t1_read 3:read_bandwidth_kb: 434552.00 :green_circle: ( previous job: 433654.00, improvement: 100.21%)
  • dom0_varlibqubes_seq1m_q1t1_write 3:write_bandwidth_kb: 184193.00 :green_circle: ( previous job: 167872.00, improvement: 109.72%)
  • dom0_varlibqubes_rnd4k_q32t1_read 3:read_bandwidth_kb: 99545.00 :small_red_triangle: ( previous job: 108760.00, degradation: 91.53%)
  • dom0_varlibqubes_rnd4k_q1t1_read 3:read_bandwidth_kb: 7587.00 :green_circle: ( previous job: 6356.00, improvement: 119.37%)
  • dom0_varlibqubes_rnd4k_q1t1_write 3:write_bandwidth_kb: 5053.00 :green_circle: ( previous job: 4420.00, improvement: 114.32%)
  • fedora-42-xfce_root_seq1m_q8t1_read 3:read_bandwidth_kb: 390822.00
  • fedora-42-xfce_root_seq1m_q8t1_write 3:write_bandwidth_kb: 144031.00
  • fedora-42-xfce_root_seq1m_q1t1_read 3:read_bandwidth_kb: 324235.00
  • fedora-42-xfce_root_seq1m_q1t1_write 3:write_bandwidth_kb: 31720.00
  • fedora-42-xfce_root_rnd4k_q32t1_read 3:read_bandwidth_kb: 89837.00
  • fedora-42-xfce_root_rnd4k_q32t1_write 3:write_bandwidth_kb: 1677.00
  • fedora-42-xfce_root_rnd4k_q1t1_read 3:read_bandwidth_kb: 8404.00
  • fedora-42-xfce_root_rnd4k_q1t1_write 3:write_bandwidth_kb: 642.00
  • fedora-42-xfce_private_seq1m_q8t1_read 3:read_bandwidth_kb: 342671.00
  • fedora-42-xfce_private_seq1m_q8t1_write 3:write_bandwidth_kb: 89824.00
  • fedora-42-xfce_private_seq1m_q1t1_read 3:read_bandwidth_kb: 331722.00
  • fedora-42-xfce_private_seq1m_q1t1_write 3:write_bandwidth_kb: 50504.00
  • fedora-42-xfce_private_rnd4k_q32t1_read 3:read_bandwidth_kb: 84673.00
  • fedora-42-xfce_private_rnd4k_q32t1_write 3:write_bandwidth_kb: 2986.00
  • fedora-42-xfce_private_rnd4k_q1t1_read 3:read_bandwidth_kb: 8455.00
  • fedora-42-xfce_private_rnd4k_q1t1_write 3:write_bandwidth_kb: 215.00
  • fedora-42-xfce_volatile_seq1m_q8t1_read 3:read_bandwidth_kb: 331408.00
  • fedora-42-xfce_volatile_seq1m_q8t1_write 3:write_bandwidth_kb: 94788.00
  • fedora-42-xfce_volatile_seq1m_q1t1_read 3:read_bandwidth_kb: 315931.00
  • fedora-42-xfce_volatile_seq1m_q1t1_write 3:write_bandwidth_kb: 99802.00
  • fedora-42-xfce_volatile_rnd4k_q32t1_read 3:read_bandwidth_kb: 86216.00
  • fedora-42-xfce_volatile_rnd4k_q32t1_write 3:write_bandwidth_kb: 2946.00
  • fedora-42-xfce_volatile_rnd4k_q1t1_read 3:read_bandwidth_kb: 8477.00
  • fedora-42-xfce_volatile_rnd4k_q1t1_write 3:write_bandwidth_kb: 1129.00

self.assertEqual(len(old_preload), preload_max)
self.assertEqual(len(preload_dispvm), preload_max)
self.assertTrue(
set(old_preload).isdisjoint(preload_dispvm),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is it supposed to be disjoint? I don't see anything using or killing preloaded between collecging old_preload and preload_dispvm? You just unset the feature on the disposable template, but it's still set via global property at that time, so it shouldn't matter, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This unsets the feature:

        proc = self.loop.run_until_complete(
            asyncio.create_subprocess_exec("/usr/lib/qubes/preload-dispvm")
        )

In other words, event domain-preload-dispvm-autostart does it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, this could use a comment then, next to calling that script here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added as a doctstring because there is another disjoint on the block before and I prefer to consider both blocks with a single comment.

@marmarek marmarek merged commit d95888b into QubesOS:main Jul 25, 2025
3 of 5 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.

3 participants