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

tests: assertEquals -> assertEqual #615

Merged
merged 9 commits into from
Aug 24, 2024
Merged

Conversation

marmarek
Copy link
Member

@marmarek marmarek commented Aug 21, 2024

The former is removed in Python 3.13

QubesOS/qubes-issues#9402
Fixes QubesOS/qubes-issues#9429

Copy link

codecov bot commented Aug 21, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 69.33%. Comparing base (4857cd7) to head (d43a12b).
Report is 10 commits behind head on main.

Files Patch % Lines
qubes/tools/qubesd.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #615      +/-   ##
==========================================
+ Coverage   69.32%   69.33%   +0.01%     
==========================================
  Files          58       58              
  Lines       11953    11946       -7     
==========================================
- Hits         8286     8283       -3     
+ Misses       3667     3663       -4     
Flag Coverage Δ
unittests 69.33% <0.00%> (+0.01%) ⬆️

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.

Copy link
Contributor

@DemiMarie DemiMarie left a comment

Choose a reason for hiding this comment

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

LGTM!

@qubesos-bot
Copy link

qubesos-bot commented Aug 21, 2024

OpenQA test summary

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

Failed tests

120 failures

Fixed failures

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

8 fixed
  • system_tests_pvgrub_salt_storage

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

  • system_tests_extra

    • TC_00_QVCTest_fedora-40-xfce: test_020_webcam (failure + cleanup)
      AssertionError: 'qubes-video-companion webcam' exited early (0): b'...

    • TC_00_QVCTest_whonix-gateway-17: test_020_webcam (failure + cleanup)
      AssertionError: 'qubes-video-companion webcam' exited early (0): b'...

    • TC_00_QVCTest_whonix-workstation-17: test_020_webcam (failure + cleanup)
      AssertionError: 'qubes-video-companion webcam' exited early (0): b'...

  • system_tests_usbproxy

  • system_tests_network_updates

    • TC_11_QvmTemplateMgmtVM_debian-12-xfce: test_000_template_list (failure)
      AssertionError: libvirt event impl drain timeout

Unstable tests

  • system_tests_update

    update2/Failed (1/5 times with errors)
    • job 109900 # Test died: command '(set -o pipefail; qubesctl --show-output stat...
  • system_tests_whonix

    whonix_torbrowser/ (1/5 times with errors)
    whonix_torbrowser/ (1/5 times with errors)
    whonix_torbrowser/ (1/5 times with errors)
    whonix_torbrowser/ (1/5 times with errors)
    whonix_torbrowser/Failed (1/5 times with errors)
    • job 109974 # Test died: no candidate needle with tag(s) 'menu-vm-anon-whonix' ...
    whonix_torbrowser/Failed (1/5 times with errors)
    • job 110007 # Test died: no candidate needle with tag(s) 'menu-tor-browser' mat...
  • system_tests_suspend

    suspend/ (1/5 times with errors)
    suspend/ (2/5 times with errors)
    suspend/Failed (1/5 times with errors)
    • job 109647 # Test died: no candidate needle with tag(s) 'xscreensaver-prompt' ...
    suspend/Failed (2/5 times with errors)
    • job 109999 # Test died: no candidate needle with tag(s) 'xscreensaver-prompt' ...
    • job 110006 # Test died: no candidate needle with tag(s) 'xscreensaver-prompt' ...
    suspend/wait_serial (1/5 times with errors)
    • job 109647 # wait_serial expected: "lspci; echo 2E8vz-\$?-"...
    suspend/wait_serial (1/5 times with errors)
    • job 109647 # wait_serial expected: qr/2E8vz-\d+-/...
    suspend/wait_serial (2/5 times with errors)
    • job 109999 # wait_serial expected: qr/2E8vz-\d+-/...
    • job 110006 # wait_serial expected: qr/2E8vz-\d+-/...
  • system_tests_basic_vm_qrexec_gui

    TC_00_Basic/test_141_libvirt_objects_reconnect (1/5 times with errors)
    • job 109476 AssertionError: libvirt event impl drain timeout
  • system_tests_extra

    TC_00_QVCTest_whonix-gateway-17/test_010_screenshare (2/5 times with errors)
    • job 108698 self.assertNotEqual(vm.run('test -e /dev/vid... AssertionError: 0 == 0
    • job 109638 self.assertNotEqual(vm.run('test -e /dev/vid... AssertionError: 0 == 0
    TC_00_QVCTest_whonix-workstation-17/test_010_screenshare (2/5 times with errors)
    • job 108698 self.assertNotEqual(vm.run('test -e /dev/vid... AssertionError: 0 == 0
    • job 109483 self.assertNotEqual(vm.run('test -e /dev/vid... AssertionError: 0 == 0
    TC_00_QVCTest_debian-12-xfce/test_020_webcam (2/5 times with errors)
    • job 108698 AssertionError: 'qubes-video-companion webcam' exited early (0): b'...
    • job 109483 AssertionError: 'qubes-video-companion webcam' exited early (0): b'...
    TC_00_QVCTest_fedora-40-xfce/test_020_webcam (1/5 times with errors)
    • job 108074 AssertionError: 'qubes-video-companion webcam' exited early (0): b'...
    TC_00_QVCTest_whonix-gateway-17/test_020_webcam (4/5 times with errors)
    • job 107584 AssertionError: 'qubes-video-companion webcam' exited early (0): b'...
    • job 108074 AssertionError: 'qubes-video-companion webcam' exited early (0): b'...
    • job 109483 AssertionError: 'qubes-video-companion webcam' exited early (0): b'...
    • job 109638 self.assertNotEqual(vm.run('test -e /dev/vid... AssertionError: 0 == 0
    TC_00_QVCTest_whonix-workstation-17/test_020_webcam (3/5 times with errors)
    • job 108698 AssertionError: 'qubes-video-companion webcam' exited early (0): b'...
    • job 109483 self.assertNotEqual(vm.run('test -e /dev/vid... AssertionError: 0 == 0
    • job 109638 AssertionError: 'qubes-video-companion webcam' exited early (0): b'...
  • system_tests_usbproxy

    TC_00_USBProxy_debian-12-xfce/test_020_detach_on_remove (1/5 times with errors)
    • job 109615 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
  • system_tests_basic_vm_qrexec_gui_zfs

    TC_00_Basic/test_120_start_standalone_with_cdrom_dom0 (1/5 times with errors)
    • job 109480 AssertionError: 1 != 0 : b'Timeout waiting for dom0:loop6 device to...
  • system_tests_audio

    TC_20_AudioVM_Pulse_whonix-workstation-17/test_252_audio_playback_audiovm_switch_hvm (1/5 times with errors)
    • job 108679 AssertionError: only silence detected, no useful audio data
  • system_tests_basic_vm_qrexec_gui_ext4

    TC_20_NonAudio_whonix-gateway-17-pool/test_000_start_shutdown (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_000_start_shutdown (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_010_run_xterm (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_010_run_xterm (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_011_run_gnome_terminal (1/5 times with errors)
    TC_20_NonAudio_whonix-workstation-17-pool/test_011_run_gnome_terminal (1/5 times with errors)
    TC_20_NonAudio_whonix-gateway-17-pool/test_012_qubes_desktop_run (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_012_qubes_desktop_run (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_100_qrexec_filecopy (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_100_qrexec_filecopy (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_101_qrexec_filecopy_with_autostart (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_101_qrexec_filecopy_with_autostart (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_105_qrexec_filemove (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_105_qrexec_filemove (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_110_qrexec_filecopy_deny (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_110_qrexec_filecopy_deny (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_115_qrexec_filecopy_no_agent (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_115_qrexec_filecopy_no_agent (2/5 times with errors)
    • job 108693 libvirt.libvirtError: internal error: libxenlight failed to create ...
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_fedora-40-xfce-pool/test_130_qrexec_filemove_disk_full (1/5 times with errors)
    • job 109478 libvirt.libvirtError: internal error: libxenlight failed to create ...
    TC_20_NonAudio_whonix-gateway-17-pool/test_130_qrexec_filemove_disk_full (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_130_qrexec_filemove_disk_full (2/5 times with errors)
    • job 108693 libvirt.libvirtError: internal error: libxenlight failed to create ...
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_fedora-40-xfce-pool/test_140_qrexec_filecopy_unsafe_name (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_140_qrexec_filecopy_unsafe_name (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_140_qrexec_filecopy_unsafe_name (2/5 times with errors)
    • job 108693 libvirt.libvirtError: internal error: libxenlight failed to create ...
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_fedora-40-xfce-pool/test_141_qrexec_filecopy_unsafe_symlink (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_141_qrexec_filecopy_unsafe_symlink (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_141_qrexec_filecopy_unsafe_symlink (2/5 times with errors)
    • job 108693 libvirt.libvirtError: internal error: libxenlight failed to create ...
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_fedora-40-xfce-pool/test_200_timezone (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_200_timezone (1/5 times with errors)
    TC_20_NonAudio_whonix-workstation-17-pool/test_200_timezone (2/5 times with errors)
    TC_20_NonAudio_fedora-40-xfce-pool/test_210_time_sync (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_210_time_sync (1/5 times with errors)
    TC_20_NonAudio_whonix-workstation-17-pool/test_210_time_sync (2/5 times with errors)
    TC_20_NonAudio_fedora-40-xfce-pool/test_250_resize_private_img (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_250_resize_private_img (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_250_resize_private_img (2/5 times with errors)
    • job 108693 libvirt.libvirtError: internal error: libxenlight failed to create ...
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_fedora-40-xfce-pool/test_300_bug_1028_gui_memory_pinning (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_300_bug_1028_gui_memory_pinning (1/5 times with errors)
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_300_bug_1028_gui_memory_pinning (2/5 times with errors)
    • job 108693 libvirt.libvirtError: internal error: libxenlight failed to create ...
    • job 109478 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
  • system_tests_basic_vm_qrexec_gui_xfs

    TC_20_NonAudio_fedora-40-xfce-pool/test_000_start_shutdown (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_000_start_shutdown (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_000_start_shutdown (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_fedora-40-xfce-pool/test_010_run_xterm (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_010_run_xterm (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_010_run_xterm (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_fedora-40-xfce-pool/test_011_run_gnome_terminal (1/5 times with errors)
    TC_20_NonAudio_whonix-gateway-17-pool/test_011_run_gnome_terminal (1/5 times with errors)
    TC_20_NonAudio_whonix-workstation-17-pool/test_011_run_gnome_terminal (1/5 times with errors)
    TC_20_NonAudio_fedora-40-xfce-pool/test_012_qubes_desktop_run (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_012_qubes_desktop_run (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_012_qubes_desktop_run (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_fedora-40-xfce-pool/test_100_qrexec_filecopy (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_100_qrexec_filecopy (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_100_qrexec_filecopy (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_fedora-40-xfce-pool/test_101_qrexec_filecopy_with_autostart (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_101_qrexec_filecopy_with_autostart (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_101_qrexec_filecopy_with_autostart (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_debian-12-xfce-pool/test_105_qrexec_filemove (1/5 times with errors)
    • job 109634 libvirt.libvirtError: internal error: libxenlight failed to create ...
    TC_20_NonAudio_fedora-40-xfce-pool/test_105_qrexec_filemove (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_105_qrexec_filemove (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_105_qrexec_filemove (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_debian-12-xfce-pool/test_110_qrexec_filecopy_deny (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_fedora-40-xfce-pool/test_110_qrexec_filecopy_deny (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_110_qrexec_filecopy_deny (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_110_qrexec_filecopy_deny (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_debian-12-xfce-pool/test_115_qrexec_filecopy_no_agent (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_fedora-40-xfce-pool/test_115_qrexec_filecopy_no_agent (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_115_qrexec_filecopy_no_agent (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_115_qrexec_filecopy_no_agent (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_debian-12-xfce-pool/test_130_qrexec_filemove_disk_full (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_fedora-40-xfce-pool/test_130_qrexec_filemove_disk_full (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_130_qrexec_filemove_disk_full (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_130_qrexec_filemove_disk_full (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_debian-12-xfce-pool/test_140_qrexec_filecopy_unsafe_name (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_fedora-40-xfce-pool/test_140_qrexec_filecopy_unsafe_name (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_140_qrexec_filecopy_unsafe_name (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_140_qrexec_filecopy_unsafe_name (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_debian-12-xfce-pool/test_141_qrexec_filecopy_unsafe_symlink (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_fedora-40-xfce-pool/test_141_qrexec_filecopy_unsafe_symlink (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_141_qrexec_filecopy_unsafe_symlink (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_141_qrexec_filecopy_unsafe_symlink (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_debian-12-xfce-pool/test_200_timezone (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_fedora-40-xfce-pool/test_200_timezone (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_200_timezone (1/5 times with errors)
    TC_20_NonAudio_whonix-workstation-17-pool/test_200_timezone (1/5 times with errors)
    TC_20_NonAudio_debian-12-xfce-pool/test_210_time_sync (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_fedora-40-xfce-pool/test_210_time_sync (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_210_time_sync (1/5 times with errors)
    TC_20_NonAudio_whonix-workstation-17-pool/test_210_time_sync (1/5 times with errors)
    TC_20_NonAudio_debian-12-xfce-pool/test_250_resize_private_img (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_fedora-40-xfce-pool/test_250_resize_private_img (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_250_resize_private_img (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_250_resize_private_img (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_debian-12-xfce-pool/test_300_bug_1028_gui_memory_pinning (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_fedora-40-xfce-pool/test_300_bug_1028_gui_memory_pinning (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-gateway-17-pool/test_300_bug_1028_gui_memory_pinning (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_NonAudio_whonix-workstation-17-pool/test_300_bug_1028_gui_memory_pinning (1/5 times with errors)
    • job 109634 ^^^^^^^^^^^^^^^^^^^^^^... AssertionError
  • system_tests_update@hw1

    update2/Failed (1/5 times with errors)
    • job 109900 # Test died: command '(set -o pipefail; qubesctl --show-output stat...
  • system_tests_audio@hw1

    TC_20_AudioVM_Pulse_whonix-workstation-17/test_252_audio_playback_audiovm_switch_hvm (1/5 times with errors)
    • job 108679 AssertionError: only silence detected, no useful audio data
  • system_tests_basic_vm_qrexec_gui@hw1

    TC_00_Basic/test_141_libvirt_objects_reconnect (1/5 times with errors)
    • job 109476 AssertionError: libvirt event impl drain timeout
  • system_tests_suspend@hw1

    suspend/ (1/5 times with errors)
    suspend/ (2/5 times with errors)
    suspend/Failed (1/5 times with errors)
    • job 109647 # Test died: no candidate needle with tag(s) 'xscreensaver-prompt' ...
    suspend/Failed (2/5 times with errors)
    • job 109999 # Test died: no candidate needle with tag(s) 'xscreensaver-prompt' ...
    • job 110006 # Test died: no candidate needle with tag(s) 'xscreensaver-prompt' ...
    suspend/wait_serial (1/5 times with errors)
    • job 109647 # wait_serial expected: "lspci; echo 2E8vz-\$?-"...
    suspend/wait_serial (1/5 times with errors)
    • job 109647 # wait_serial expected: qr/2E8vz-\d+-/...
    suspend/wait_serial (2/5 times with errors)
    • job 109999 # wait_serial expected: qr/2E8vz-\d+-/...
    • job 110006 # wait_serial expected: qr/2E8vz-\d+-/...
  • system_tests_update@hw7

    update2/Failed (1/5 times with errors)
    • job 109900 # Test died: command '(set -o pipefail; qubesctl --show-output stat...
  • system_tests_whonix@hw7

    whonix_torbrowser/ (1/5 times with errors)
    whonix_torbrowser/ (1/5 times with errors)
    whonix_torbrowser/ (1/5 times with errors)
    whonix_torbrowser/ (1/5 times with errors)
    whonix_torbrowser/Failed (1/5 times with errors)
    • job 109974 # Test died: no candidate needle with tag(s) 'menu-vm-anon-whonix' ...
    whonix_torbrowser/Failed (1/5 times with errors)
    • job 110007 # Test died: no candidate needle with tag(s) 'menu-tor-browser' mat...

Don't leave children, as cleanup_loop will (rightfully) detect it as a
leak.
@marmarek marmarek force-pushed the update-f41 branch 3 times, most recently from 1df301a to be1dc05 Compare August 22, 2024 11:23
Don't leak child processes after the test, even if they would terminate
after a timeout anyway.
Include content of the selector map when it's non-empty, to ease finding
what got leaked.
@marmarek marmarek force-pushed the update-f41 branch 2 times, most recently from 065e78c to 7bc5ad7 Compare August 23, 2024 15:29
Recent Thunderbird opens a message in a window no fitting on 1024x768 by
default. This makes the attachment button off-screen so clicking it
doesn't work. Fix it by resizing the window.
Python 3.12+ fixed server.wait_closed() to really wait for all the
connections to terminate. This causes qubesd to hang on shutdown, as
events connections were not closed. Python 3.13 introduces convenient
server.close_clients() function to close all connections.

There was a similar code in tests already - convert that to
close_clients() call too.

Fixes QubesOS/qubes-issues#9427
Python 3.13 adds automatic socket cleanup - specifically, a
cleanup_socket parameter to loop.create_unix_server, and it defaults to
True. Manual cleanup is not needed anymore.
@marmarek marmarek merged commit d43a12b into QubesOS:main Aug 24, 2024
3 of 4 checks passed
@marmarek marmarek deleted the update-f41 branch October 8, 2024 03:45
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.

qubesd doesn't stop on SIGTERM
3 participants