Skip to content

Unify method to query available terminals #556

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

Merged
merged 1 commit into from
Mar 4, 2025

Conversation

ben-grande
Copy link
Contributor

Because of some exceptions such as gnome-terminal and kgx, the ordering was getting convoluted when considering precedence. Instead of adding new if statements every time a terminal requires precedence, run only add a new entry to the for loop. Also allows the user to enforce a terminal with environment variable TERMINAL.

Because of some exceptions such as gnome-terminal and kgx, the ordering
was getting convoluted when considering precedence. Instead of adding
new if statements every time a terminal requires precedence, run only
add a new entry to the for loop. Also allows the user to enforce a
terminal with environment variable TERMINAL.
Copy link

codecov bot commented Feb 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.14%. Comparing base (529e8b2) to head (5e5fc52).
Report is 27 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #556      +/-   ##
==========================================
- Coverage   70.57%   70.14%   -0.43%     
==========================================
  Files           3        3              
  Lines         469      469              
==========================================
- Hits          331      329       -2     
- Misses        138      140       +2     

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

@qubesos-bot
Copy link

qubesos-bot commented Feb 27, 2025

OpenQA test summary

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

  • system_tests_whonix

  • system_tests_qrexec

  • system_tests_network_ipv6

    • VmIPv6Networking_debian-12-xfce: test_020_simple_proxyvm_nm (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
  • 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_basic_vm_qrexec_gui_zfs

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

Failed tests

7 failures
  • system_tests_whonix

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

    • whonixcheck: unnamed test (unknown)

  • system_tests_qrexec

  • system_tests_network_ipv6

    • VmIPv6Networking_debian-12-xfce: test_020_simple_proxyvm_nm (error)
      qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
  • 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_basic_vm_qrexec_gui_zfs

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

Fixed failures

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

14 fixed
  • system_tests_whonix

  • system_tests_suspend

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

  • 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-paste-notif...
  • system_tests_audio

  • system_tests_whonix@hw7

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

    • whonixcheck: unnamed test (unknown)

  • system_tests_basic_vm_qrexec_gui_btrfs

    • TC_03_QvmRevertTemplateChanges: test_000_revert_linux (error)
      subprocess.CalledProcessError: Command '['sha1sum', '/var/lib/qubes...
  • system_tests_suspend@hw1

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

Unstable tests

Performance Tests

Performance degradation:

31 performance degradations
  • debian-12-xfce_exec: 8.38 :small_red_triangle_up: ( previous job: 7.15, degradation: 117.14%)
  • debian-12-xfce_socket-root: 9.14 :small_red_triangle_up: ( previous job: 8.20, degradation: 111.45%)
  • debian-12-xfce_exec-data-simplex: 74.21 :small_red_triangle_up: ( previous job: 48.93, degradation: 151.66%)
  • debian-12-xfce_exec-data-duplex: 70.41 :small_red_triangle_up: ( previous job: 50.76, degradation: 138.70%)
  • debian-12-xfce_exec-data-duplex-root: 79.98 :small_red_triangle_up: ( previous job: 64.91, degradation: 123.21%)
  • debian-12-xfce_socket-data-duplex: 160.73 :small_red_triangle_up: ( previous job: 81.49, degradation: 197.24%)
  • fedora-41-xfce_exec-data-simplex: 68.97 :small_red_triangle_up: ( previous job: 49.65, degradation: 138.91%)
  • fedora-41-xfce_exec-data-duplex: 76.02 :small_red_triangle_up: ( previous job: 49.08, degradation: 154.88%)
  • fedora-41-xfce_exec-data-duplex-root: 98.53 :small_red_triangle_up: ( previous job: 81.65, degradation: 120.67%)
  • fedora-41-xfce_socket-data-duplex: 151.87 :small_red_triangle_up: ( previous job: 78.62, degradation: 193.17%)
  • whonix-gateway-17_exec-data-simplex: 74.59 :small_red_triangle_up: ( previous job: 48.76, degradation: 152.95%)
  • whonix-gateway-17_exec-data-duplex: 76.50 :small_red_triangle_up: ( previous job: 48.55, degradation: 157.55%)
  • whonix-gateway-17_exec-data-duplex-root: 88.16 :small_red_triangle_up: ( previous job: 70.13, degradation: 125.72%)
  • whonix-gateway-17_socket-data-duplex: 165.17 :small_red_triangle_up: ( previous job: 82.74, degradation: 199.62%)
  • whonix-workstation-17_exec-data-simplex: 72.97 :small_red_triangle_up: ( previous job: 47.01, degradation: 155.21%)
  • whonix-workstation-17_exec-data-duplex: 69.99 :small_red_triangle_up: ( previous job: 49.48, degradation: 141.46%)
  • whonix-workstation-17_exec-data-duplex-root: 91.23 :small_red_triangle_up: ( previous job: 79.93, degradation: 114.13%)
  • whonix-workstation-17_socket-data-duplex: 169.65 :small_red_triangle_up: ( previous job: 81.71, degradation: 207.62%)
  • dom0_root_seq1m_q8t1_write 3:write_bandwidth_kb: 130404.00 :small_red_triangle_up: ( previous job: 276742.00, degradation: 47.12%)
  • dom0_root_seq1m_q1t1_read 3:read_bandwidth_kb: 97182.00 :small_red_triangle_up: ( previous job: 423495.00, degradation: 22.95%)
  • dom0_root_seq1m_q1t1_write 3:write_bandwidth_kb: 42633.00 :small_red_triangle_up: ( previous job: 185030.00, degradation: 23.04%)
  • dom0_root_rnd4k_q32t1_read 3:read_bandwidth_kb: 10408.00 :small_red_triangle_up: ( previous job: 100699.00, degradation: 10.34%)
  • dom0_root_rnd4k_q32t1_write 3:write_bandwidth_kb: 872.00 :small_red_triangle_up: ( previous job: 3277.00, degradation: 26.61%)
  • dom0_varlibqubes_seq1m_q8t1_read 3:read_bandwidth_kb: 206887.00 :small_red_triangle_up: ( previous job: 475329.00, degradation: 43.53%)
  • dom0_varlibqubes_seq1m_q8t1_write 3:write_bandwidth_kb: 52003.00 :small_red_triangle_up: ( previous job: 95209.00, degradation: 54.62%)
  • fedora-41-xfce_root_seq1m_q1t1_read 3:read_bandwidth_kb: 277915.00 :small_red_triangle_up: ( previous job: 343795.00, degradation: 80.84%)
  • fedora-41-xfce_root_rnd4k_q1t1_read 3:read_bandwidth_kb: 6781.00 :small_red_triangle_up: ( previous job: 8623.00, degradation: 78.64%)
  • fedora-41-xfce_private_seq1m_q8t1_read 3:read_bandwidth_kb: 341778.00 :small_red_triangle_up: ( previous job: 401907.00, degradation: 85.04%)
  • fedora-41-xfce_private_rnd4k_q32t1_read 3:read_bandwidth_kb: 70985.00 :small_red_triangle_up: ( previous job: 87999.00, degradation: 80.67%)
  • fedora-41-xfce_volatile_seq1m_q8t1_write 3:write_bandwidth_kb: 112558.00 :small_red_triangle_up: ( previous job: 139933.00, degradation: 80.44%)
  • fedora-41-xfce_volatile_rnd4k_q1t1_write 3:write_bandwidth_kb: 1941.00 :small_red_triangle_up: ( previous job: 2693.00, degradation: 72.08%)

Remaining performance tests:

41 tests
  • debian-12-xfce_exec-root: 28.13 :small_red_triangle_up: ( previous job: 27.97, degradation: 100.56%)
  • debian-12-xfce_socket: 8.51 :small_red_triangle_up: ( previous job: 8.33, degradation: 102.16%)
  • fedora-41-xfce_exec: 9.14 :small_red_triangle_up: ( previous job: 9.13, degradation: 100.11%)
  • fedora-41-xfce_exec-root: 63.24 :small_red_triangle_up: ( previous job: 61.17, degradation: 103.38%)
  • fedora-41-xfce_socket: 8.85 :small_red_triangle_up: ( previous job: 8.66, degradation: 102.15%)
  • fedora-41-xfce_socket-root: 8.71 :small_red_triangle_up: ( previous job: 8.61, degradation: 101.21%)
  • whonix-gateway-17_exec: 7.10 🟢 ( previous job: 7.87, improvement: 90.21%)
  • whonix-gateway-17_exec-root: 39.00 :small_red_triangle_up: ( previous job: 38.36, degradation: 101.66%)
  • whonix-gateway-17_socket: 8.25 :small_red_triangle_up: ( previous job: 7.54, degradation: 109.30%)
  • whonix-gateway-17_socket-root: 7.64 🟢 ( previous job: 8.27, improvement: 92.32%)
  • whonix-workstation-17_exec: 8.14 🟢 ( previous job: 8.23, improvement: 98.91%)
  • whonix-workstation-17_exec-root: 55.19 :small_red_triangle_up: ( previous job: 52.56, degradation: 104.99%)
  • whonix-workstation-17_socket: 8.77 :small_red_triangle_up: ( previous job: 8.21, degradation: 106.85%)
  • whonix-workstation-17_socket-root: 8.67 :small_red_triangle_up: ( previous job: 8.20, degradation: 105.72%)
  • dom0_root_seq1m_q8t1_read 3:read_bandwidth_kb: 462335.00 :small_red_triangle_up: ( previous job: 486352.00, degradation: 95.06%)
  • dom0_root_rnd4k_q1t1_read 3:read_bandwidth_kb: 10901.00 :green_circle: ( previous job: 10163.00, improvement: 107.26%)
  • dom0_root_rnd4k_q1t1_write 3:write_bandwidth_kb: 497.00 :green_circle: ( previous job: 282.00, improvement: 176.24%)
  • dom0_varlibqubes_seq1m_q1t1_read 3:read_bandwidth_kb: 404699.00 :small_red_triangle_up: ( previous job: 433474.00, degradation: 93.36%)
  • dom0_varlibqubes_seq1m_q1t1_write 3:write_bandwidth_kb: 171484.00 :green_circle: ( previous job: 164133.00, improvement: 104.48%)
  • dom0_varlibqubes_rnd4k_q32t1_read 3:read_bandwidth_kb: 100857.00 :green_circle: ( previous job: 99808.00, improvement: 101.05%)
  • dom0_varlibqubes_rnd4k_q32t1_write 3:write_bandwidth_kb: 9256.00 :green_circle: ( previous job: 8767.00, improvement: 105.58%)
  • dom0_varlibqubes_rnd4k_q1t1_read 3:read_bandwidth_kb: 8208.00 :green_circle: ( previous job: 7053.00, improvement: 116.38%)
  • dom0_varlibqubes_rnd4k_q1t1_write 3:write_bandwidth_kb: 5054.00 :green_circle: ( previous job: 3868.00, improvement: 130.66%)
  • fedora-41-xfce_root_seq1m_q8t1_read 3:read_bandwidth_kb: 362077.00 :small_red_triangle_up: ( previous job: 396586.00, degradation: 91.30%)
  • fedora-41-xfce_root_seq1m_q8t1_write 3:write_bandwidth_kb: 213081.00 :green_circle: ( previous job: 99783.00, improvement: 213.54%)
  • fedora-41-xfce_root_seq1m_q1t1_write 3:write_bandwidth_kb: 49809.00 :green_circle: ( previous job: 44770.00, improvement: 111.26%)
  • fedora-41-xfce_root_rnd4k_q32t1_read 3:read_bandwidth_kb: 90349.00 :green_circle: ( previous job: 86742.00, improvement: 104.16%)
  • fedora-41-xfce_root_rnd4k_q32t1_write 3:write_bandwidth_kb: 4556.00 :green_circle: ( previous job: 3785.00, improvement: 120.37%)
  • fedora-41-xfce_root_rnd4k_q1t1_write 3:write_bandwidth_kb: 1118.00 :small_red_triangle_up: ( previous job: 1126.00, degradation: 99.29%)
  • fedora-41-xfce_private_seq1m_q8t1_write 3:write_bandwidth_kb: 212477.00 :green_circle: ( previous job: 116848.00, improvement: 181.84%)
  • fedora-41-xfce_private_seq1m_q1t1_read 3:read_bandwidth_kb: 330156.00 :small_red_triangle_up: ( previous job: 357875.00, degradation: 92.25%)
  • fedora-41-xfce_private_seq1m_q1t1_write 3:write_bandwidth_kb: 70585.00 :green_circle: ( previous job: 41375.00, improvement: 170.60%)
  • fedora-41-xfce_private_rnd4k_q32t1_write 3:write_bandwidth_kb: 3664.00 :small_red_triangle_up: ( previous job: 3885.00, degradation: 94.31%)
  • fedora-41-xfce_private_rnd4k_q1t1_read 3:read_bandwidth_kb: 8474.00 :small_red_triangle_up: ( previous job: 8744.00, degradation: 96.91%)
  • fedora-41-xfce_private_rnd4k_q1t1_write 3:write_bandwidth_kb: 1771.00 :green_circle: ( previous job: 1613.00, improvement: 109.80%)
  • fedora-41-xfce_volatile_seq1m_q8t1_read 3:read_bandwidth_kb: 372760.00 :small_red_triangle_up: ( previous job: 392725.00, degradation: 94.92%)
  • fedora-41-xfce_volatile_seq1m_q1t1_read 3:read_bandwidth_kb: 311057.00 :green_circle: ( previous job: 294875.00, improvement: 105.49%)
  • fedora-41-xfce_volatile_seq1m_q1t1_write 3:write_bandwidth_kb: 104527.00 :green_circle: ( previous job: 78093.00, improvement: 133.85%)
  • fedora-41-xfce_volatile_rnd4k_q32t1_read 3:read_bandwidth_kb: 81929.00 :green_circle: ( previous job: 71108.00, improvement: 115.22%)
  • fedora-41-xfce_volatile_rnd4k_q32t1_write 3:write_bandwidth_kb: 3893.00 :small_red_triangle_up: ( previous job: 3959.00, degradation: 98.33%)
  • fedora-41-xfce_volatile_rnd4k_q1t1_read 3:read_bandwidth_kb: 8433.00 :green_circle: ( previous job: 8408.00, improvement: 100.30%)

@marmarek marmarek merged commit c7c79db into QubesOS:main Mar 4, 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