Skip to content

Report swapinfo - #140

Open
ben-grande wants to merge 1 commit into
QubesOS:mainfrom
ben-grande:share-swap
Open

Report swapinfo#140
ben-grande wants to merge 1 commit into
QubesOS:mainfrom
ben-grande:share-swap

Conversation

@ben-grande

Copy link
Copy Markdown

Allows distinguishing how much memory the qube is using from what is assigned by using "meminfo - swapinfo".

For: QubesOS/qubes-core-admin#827


Tested briefly.

ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Jun 25, 2026
@codecov-commenter

codecov-commenter commented Jun 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.24%. Comparing base (0dc52ab) to head (d12a416).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #140   +/-   ##
=======================================
  Coverage   71.24%   71.24%           
=======================================
  Files           6        6           
  Lines         991      991           
=======================================
  Hits          706      706           
  Misses        285      285           

☔ View full report in Codecov by Harness.
📢 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.

ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Jun 25, 2026
ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Jul 3, 2026
ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Jul 6, 2026
Comment thread qmemman/meminfo-writer.c Outdated
Comment on lines +89 to +90
sprintf(used_mem_buf, "%lld", used_mem);
sprintf(used_swap_buf, "%lld", used_swap);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Redundant calls.

Comment thread qmemman/meminfo-writer.c Outdated
syslog(LOG_DAEMON | LOG_ERR, "error writing meminfo to xenstore ?");
exit(1);
}
if (!xs_write(xs, XBT_NULL, "memory/swapinfo", swap, strlen(swap))) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Note to self: this can be merged only after core-admin part, which sets necessary xenstore access.

Comment thread qmemman/meminfo-writer.c Outdated
char *swap;
} UsedMem;

UsedMem parse(const char *meminfo_buf, const char* dom_current_buf)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

FWIW the usual method in C for returning more results is to either return a pointer to a structure (usually dynamically allocated via malloc), or add output parameters (pointers to where function should write result). In case of a simple structure like this, compiler will do the latter for you here, so it can stay this way, but keep in mind it wont be efficient code in more complex cases.

Comment thread qmemman/meminfo-writer.c Outdated
return (UsedMem){ .mem = used_mem_buf, .swap = used_swap_buf };
}
return NULL;
return (UsedMem){ .mem = NULL, .swap = NULL };

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Report swap change if above threshold despite memory being below its threshold.

Comment thread qmemman/meminfo-writer.c Outdated
if (meminfo_data)
send_to_qmemman(xs, meminfo_data);
UsedMem meminfo_data = parse(meminfo_buf, dom_current_buf);
if (meminfo_data.mem && meminfo_data.mem[0])

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Allows distinguishing how much memory the qube is using from what is
assigned by using "meminfo - swapinfo".

For: QubesOS/qubes-core-admin#827
ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Jul 14, 2026
Although both values can be lied by the qube, we can distinguish the
"memory types" being used in client tools.

For: QubesOS/qubes-linux-utils#140
ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Jul 14, 2026
Although both values can be lied by the qube, we can distinguish the
"memory types" being used in client tools.

For: QubesOS/qubes-linux-utils#140
ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Jul 16, 2026
Although both values can be lied by the qube, we can distinguish the
"memory types" being used in client tools.

For: QubesOS/qubes-linux-utils#140
ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Jul 17, 2026
Although both values can be lied by the qube, we can distinguish the
"memory types" in client tools.

For: QubesOS/qubes-linux-utils#140
ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Jul 17, 2026
Although both values can be lied by the qube, we can distinguish the
"memory types" in client tools.

For: QubesOS/qubes-linux-utils#140
ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Jul 21, 2026
Although both values can be lied by the qube, we can distinguish the
"memory types" in client tools.

For: QubesOS/qubes-linux-utils#140
ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Jul 22, 2026
Although both values can be lied by the qube, we can distinguish the
"memory types" in client tools.

For: QubesOS/qubes-linux-utils#140
ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Jul 22, 2026
Although both values can be lied by the qube, we can distinguish the
"memory types" in client tools.

For: QubesOS/qubes-linux-utils#140
ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Jul 22, 2026
Although both values can be lied by the qube, we can distinguish the
"memory types" in client tools.

For: QubesOS/qubes-linux-utils#140
ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Jul 22, 2026
Although both values can be lied by the qube, we can distinguish the
"memory types" in client tools.

For: QubesOS/qubes-linux-utils#140
ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Jul 22, 2026
Although both values can be lied by the qube, we can distinguish the
"memory types" in client tools.

For: QubesOS/qubes-linux-utils#140
ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Jul 23, 2026
Although both values can be lied by the qube, we can distinguish the
"memory types" in client tools.

For: QubesOS/qubes-linux-utils#140
ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Jul 23, 2026
Although both values can be lied by the qube, we can distinguish the
"memory types" in client tools.

For: QubesOS/qubes-linux-utils#140
ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Jul 24, 2026
Although both values can be lied by the qube, we can distinguish the
"memory types" in client tools.

For: QubesOS/qubes-linux-utils#140
ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Jul 24, 2026
Although both values can be lied by the qube, we can distinguish the
"memory types" in client tools.

For: QubesOS/qubes-linux-utils#140
ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Jul 30, 2026
Although both values can be lied by the qube, we can distinguish the
"memory types" in client tools.

For: QubesOS/qubes-linux-utils#140
ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Jul 31, 2026
Although both values can be lied by the qube, we can distinguish the
"memory types" in client tools.

For: QubesOS/qubes-linux-utils#140
ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Aug 1, 2026
Although both values can be lied by the qube, we can distinguish the
"memory types" in client tools.

For: QubesOS/qubes-linux-utils#140
ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Aug 2, 2026
Although both values can be lied by the qube, we can distinguish the
"memory types" in client tools.

For: QubesOS/qubes-linux-utils#140
ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Aug 3, 2026
Although both values can be lied by the qube, we can distinguish the
"memory types" in client tools.

For: QubesOS/qubes-linux-utils#140
ben-grande added a commit to ben-grande/qubes-core-admin that referenced this pull request Aug 6, 2026
Although both values can be lied by the qube, we can distinguish the
"memory types" in client tools.

For: QubesOS/qubes-linux-utils#140
marmarek added a commit to QubesOS/qubes-core-admin that referenced this pull request Aug 6, 2026
* origin/pr/827:
  Avoid reads to xenstore keys that are not written
  Deprecate cpu_usage_raw from Stats event
  Report more CPU information to QubesHost
  Report maxmem and fix get_mem variants
  Hotplug memory for real
  Skip stubdom_xid query if qube is not HVM
  Do not require Xen to get VM stats
  Report amount of swap used
  Broadcast memory correctly
  Report vcpu in stats API

Pull request description:

- online vcpus
- time of each vcpu
- share all vm_info captured with clients (I presume there is no intent to capture private information internally and not broadcast to clients, as the only place where `get_vm_stats()` is called is from `admin.vm.Stats`.

---

Requires:

- QubesOS/qubes-linux-utils#140
@marmarek marmarek added the openqa-pending PR to be tested in the next OpenQA run label Aug 6, 2026
@qubesos-bot

qubesos-bot commented Aug 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=2026080820-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_usbproxy

    • TC_20_USBProxy_core3_fedora-44-xfce: test_030_detach (error)
      qubesusbproxy.core3ext.QubesUSBException: Device detach failed: 20...
  • system_tests_qrexec

  • system_tests_guivm_gpu_gui_interactive@hw13

    • gui_keyboard_layout: Failed (test died)
      # Test died: command 'test "$(qvm-run --nogui -p sys-gui-gpu 'ls e1...

Failed tests

8 failures
  • system_tests_whonix

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

    • [unstable] whonixcheck: wait_serial (unknown)
      # Command: qvm-run -ap whonix-gateway-18 'LC_ALL=C whonixcheck --v...

    • [unstable] whonixcheck: Failed (test died + timed out)
      # Test died: command 'qvm-run -ap whonix-gateway-18 'LC_ALL=C whon...

  • system_tests_usbproxy

    • TC_20_USBProxy_core3_fedora-44-xfce: test_030_detach (error)
      qubesusbproxy.core3ext.QubesUSBException: Device detach failed: 20...
  • system_tests_qrexec

  • system_tests_whonix@hw1

    • [unstable] whonixcheck: fail (unknown)
      Whonixcheck for whonix-gateway-18 failed...

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

  • system_tests_guivm_gpu_gui_interactive@hw13

    • gui_keyboard_layout: Failed (test died)
      # Test died: command 'test "$(qvm-run --nogui -p sys-gui-gpu 'ls e1...

Fixed failures

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

32 fixed
  • system_tests_pvgrub_salt_storage

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

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

    • 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_usbproxy

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

    • 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_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_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_extra

    • system_tests: Fail (unknown)
      Tests qubes.tests.extra failed (exit code 1), details reported sepa...

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

    • 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...

    • 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

    • TC_00_PDFConverter_fedora-43-xfce: test_004_cancel_stops_conversion (failure)
      AssertionError: DispVM not cleaned up 10s after cancel: {<DispVM at...

Unstable tests

Details
  • system_tests_whonix

    whonixcheck/Failed (1/5 times with errors)
    • job 189348 # Test died: command 'qvm-run -ap whonix-gateway-18 'LC_ALL=C whon...
    whonixcheck/fail (1/5 times with errors)
    • job 189348 Whonixcheck for anon-whonix failed...
    whonixcheck/wait_serial (1/5 times with errors)
    • job 189348 # Command: qvm-run -ap whonix-gateway-18 'LC_ALL=C whonixcheck --v...
    whonixcheck/wait_serial (1/5 times with errors)
    • job 189348 # Command: curl --form upload=@/var/log/libvirt/libxl/libxl-driver....
  • system_tests_gui_tools

    qui_widgets_update/ (1/5 times with errors)
    qui_widgets_update/ (1/5 times with errors)
    qui_widgets_update/Failed (1/5 times with errors)
    • job 189375 # Test died: no candidate needle with tag(s) 'qubes-update-finish' ...
  • system_tests_network

    system_tests/Fail (1/5 times with errors)
    • job 190295 Tests qubes.tests.integ.network failed (exit code 1), details repor...
    system_tests/Failed (1/5 times with errors)
    • job 191203 # Test died: command 'curl --form upload=@tests-qubes.tests.integ.n...
    system_tests/Failed (1/5 times with errors)
    • job 190295 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    VmNetworking_debian-13-xfce/test_001_simple_networking_paused_from_none_to_existent (1/5 times with errors)
    • job 190295 raise TimeoutError from exc_val... TimeoutError
    VmNetworking_debian-13-xfce/test_110_dynamic_attach (1/5 times with errors)
    • job 190295 raise TimeoutError from exc_val... TimeoutError
  • system_tests_pvgrub_salt_storage

    system_tests/Fail (2/5 times with errors)
    • job 190476 Tests qubes.tests.integ.grub failed (exit code 1), details reported...
    • job 191206 Tests qubes.tests.integ.grub failed (exit code 1), details reported...
    system_tests/Failed (1/5 times with errors)
    • job 190298 # Test died: command 'curl --form upload=@nose2-junit.xml --form up...
    system_tests/Failed (2/5 times with errors)
    • job 190476 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 191206 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    TC_41_HVMGrub_debian-13-xfce/test_010_template_based_vm (2/5 times with errors)
    • job 190476 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 191206 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_41_HVMGrub_fedora-44-xfce/test_010_template_based_vm (2/5 times with errors)
    • job 190476 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 191206 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_41_HVMGrub_debian-13-xfce/test_011_template_based_vm_dracut (1/5 times with errors)
    • job 190476 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
  • system_tests_gui_interactive

    clipboard_and_web/ (1/5 times with errors)
    clipboard_and_web/Failed (1/5 times with errors)
    • job 191556 # Test died: no candidate needle with tag(s) 'personal-firefox' mat...
  • system_tests_usbproxy

    system_tests/Fail (1/5 times with errors)
    • job 190443 Tests qubes.tests.extra failed (exit code 1), details reported sepa...
    system_tests/Failed (1/5 times with errors)
    • job 190443 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    TC_00_USBProxy_fedora-44-xfce/test_020_detach_on_remove (1/5 times with errors)
    • job 190443 AssertionError: 0 != 1 : Device not cleaned up
  • system_tests_qrexec

    system_tests/Fail (2/5 times with errors)
    • job 190299 Tests qubes.tests.integ.qrexec failed (exit code 1), details report...
    • job 190314 Tests qubes.tests.integ.qrexec failed (exit code 1), details report...
    system_tests/Failed (2/5 times with errors)
    • job 190299 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 190314 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    TC_00_Qrexec_whonix-workstation-18/test_095_qrexec_service_socket_vm (2/5 times with errors)
    • job 190299 AssertionError: waiting for /etc/qubes-rpc/test.Socket in VM timed out
    • job 190314 AssertionError: waiting for /etc/qubes-rpc/test.Socket in VM timed out
  • system_tests_network_ipv6

    system_tests/Fail (3/5 times with errors)
    • job 189378 Tests qubes.tests.integ.network_ipv6 failed (exit code 1), details ...
    • job 190296 Tests qubes.tests.integ.network_ipv6 failed (exit code 1), details ...
    • job 191204 Tests qubes.tests.integ.network_ipv6 failed (exit code 1), details ...
    system_tests/Failed (1/5 times with errors)
    • job 190474 # Test died: command 'curl --form upload=@tests-qubes.tests.integ.n...
    system_tests/Failed (3/5 times with errors)
    • job 189378 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 190296 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 191204 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    VmIPv6Networking_debian-13-xfce/test_001_simple_networking_paused_from_none_to_existent (1/5 times with errors)
    • job 189378 subprocess.CalledProcessError: Command 'qubes.WaitForNetworkUplink'...
    VmIPv6Networking_debian-13-xfce/test_001_simple_networking_paused_restart_netvm (1/5 times with errors)
    • job 190296 AssertionError: Timeout while waiting for VM test-inst-netvm1 shutdown
    VmIPv6Networking_fedora-44-xfce/test_501_simple_networking_paused_from_none_to_existent (1/5 times with errors)
    • job 191204 raise TimeoutError from exc_val... TimeoutError
    VmIPv6Networking_fedora-44-xfce/test_510_ipv6_simple_proxyvm (1/5 times with errors)
    • job 190296 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
  • system_tests_network_updates

    system_tests/Fail (3/5 times with errors)
    • job 190297 Tests qubes.tests.integ.dom0_update failed (exit code 1), details r...
    • job 190312 Tests qubes.tests.integ.dom0_update failed (exit code 1), details r...
    • job 190475 Tests qubes.tests.integ.dom0_update failed (exit code 1), details r...
    system_tests/Fail (1/5 times with errors)
    • job 191227 Tests qubes.tests.integ.vm_update failed (exit code 1), details rep...
    fetch_packages_list/Failed (1/5 times with errors)
    system_tests/Failed (4/5 times with errors)
    • job 190297 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 190312 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 190475 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 191227 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    TC_11_QvmTemplateMgmtVM_whonix-gateway-18/test_000_template_list (1/5 times with errors)
    • job 190475 subprocess.CalledProcessError: Command 'timeout=120; while ! tor-ci...
    TC_00_Dom0Upgrade_whonix-gateway-18/test_000_update_salt (2/5 times with errors)
    • job 190297 ?[0;31mDuration: 140907.985 ms?[0;0m... ?[0;31m Changes: ?[0;0m
    • job 190312 ?[0;31mDuration: 135117.105 ms?[0;0m... ?[0;31m Changes: ?[0;0m
    TC_00_Dom0Upgrade_whonix-gateway-18/test_001_update_check (2/5 times with errors)
    VmUpdates_fedora-44-xfce/test_011_pkcon_via_proxy (1/5 times with errors)
    • job 191227 AssertionError: 7 not found in [0, 100] : pkcon install -y test-pkg...
    VmUpdates_debian-13-xfce/test_110_update_via_proxy_qubes_vm_update (1/5 times with errors)
    • job 191227 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
  • system_tests_kde_gui_interactive

    gui_keyboard_layout/Failed (1/5 times with errors)
    • job 189137 # Test died: command 'qvm-shutdown --wait work' timed out at /usr/l...
    gui_keyboard_layout/wait_serial (1/5 times with errors)
    • job 189137 # Command: qvm-shutdown --wait work...
  • system_tests_audio

    system_tests/Fail (3/5 times with errors)
    • job 189136 Tests qubes.tests.integ.audio failed (exit code 1), details reporte...
    • job 190447 Tests qubes.tests.integ.audio failed (exit code 1), details reporte...
    • job 191177 Tests qubes.tests.integ.audio failed (exit code 1), details reporte...
    system_tests/Failed (2/5 times with errors)
    • job 190447 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 191177 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    system_tests/Failed (1/5 times with errors)
    • job 189136 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    TC_20_AudioVM_PipeWire_whonix-workstation-18/test_251_audio_playback_audiovm_pipewire_late_start (1/5 times with errors)
    • job 189136 AssertionError: too short audio, expected 10s, got 9.09505668934240...
    TC_20_AudioVM_PipeWire_debian-13-xfce/test_260_audio_mic_enabled_switch_audiovm (1/5 times with errors)
    • job 191177 AssertionError: pacat for test-inst-vm1 (xid 50) running(False) in ...
    TC_20_AudioVM_PipeWire_fedora-44-xfce/test_260_audio_mic_enabled_switch_audiovm (1/5 times with errors)
    • job 191177 AssertionError: pacat for test-inst-vm1 (xid 59) running(False) in ...
    TC_20_AudioVM_PipeWire_whonix-workstation-18/test_260_audio_mic_enabled_switch_audiovm (1/5 times with errors)
    • job 190447 AssertionError: 0 not greater than 0 : Failed to move-source-output
  • system_tests_audio@hw1

    system_tests/Fail (3/5 times with errors)
    • job 189136 Tests qubes.tests.integ.audio failed (exit code 1), details reporte...
    • job 190447 Tests qubes.tests.integ.audio failed (exit code 1), details reporte...
    • job 191177 Tests qubes.tests.integ.audio failed (exit code 1), details reporte...
    system_tests/Failed (2/5 times with errors)
    • job 190447 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    • job 191177 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    system_tests/Failed (1/5 times with errors)
    • job 189136 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    TC_20_AudioVM_PipeWire_whonix-workstation-18/test_251_audio_playback_audiovm_pipewire_late_start (1/5 times with errors)
    • job 189136 AssertionError: too short audio, expected 10s, got 9.09505668934240...
    TC_20_AudioVM_PipeWire_debian-13-xfce/test_260_audio_mic_enabled_switch_audiovm (1/5 times with errors)
    • job 191177 AssertionError: pacat for test-inst-vm1 (xid 50) running(False) in ...
    TC_20_AudioVM_PipeWire_fedora-44-xfce/test_260_audio_mic_enabled_switch_audiovm (1/5 times with errors)
    • job 191177 AssertionError: pacat for test-inst-vm1 (xid 59) running(False) in ...
    TC_20_AudioVM_PipeWire_whonix-workstation-18/test_260_audio_mic_enabled_switch_audiovm (1/5 times with errors)
    • job 190447 AssertionError: 0 not greater than 0 : Failed to move-source-output
  • system_tests_gui_interactive@hw7

    clipboard_and_web/ (1/5 times with errors)
    clipboard_and_web/Failed (1/5 times with errors)
    • job 191556 # Test died: no candidate needle with tag(s) 'personal-firefox' mat...
  • system_tests_whonix@hw1

    whonixcheck/Failed (1/5 times with errors)
    • job 189348 # Test died: command 'qvm-run -ap whonix-gateway-18 'LC_ALL=C whon...
    whonixcheck/fail (1/5 times with errors)
    • job 189348 Whonixcheck for anon-whonix failed...
    whonixcheck/wait_serial (1/5 times with errors)
    • job 189348 # Command: qvm-run -ap whonix-gateway-18 'LC_ALL=C whonixcheck --v...
    whonixcheck/wait_serial (1/5 times with errors)
    • job 189348 # Command: curl --form upload=@/var/log/libvirt/libxl/libxl-driver....
  • system_tests_gui_tools@hw7

    qui_widgets_update/ (1/5 times with errors)
    qui_widgets_update/ (1/5 times with errors)
    qui_widgets_update/Failed (1/5 times with errors)
    • job 189375 # Test died: no candidate needle with tag(s) 'qubes-update-finish' ...
  • system_tests_extra

    system_tests/Fail (1/5 times with errors)
    • job 190469 Tests qubes.tests.extra failed (exit code 1), details reported sepa...
    system_tests/Failed (1/5 times with errors)
    • job 190469 # Test died: Some tests failed at qubesos/tests/system_tests.pm lin...
    TC_00_PDFConverter_debian-13-xfce/test_004_cancel_stops_conversion (1/5 times with errors)
    • job 190469 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 190469 AssertionError: DispVM not cleaned up 10s after cancel: {<DispVM at...

Performance Tests

Performance degradation:

18 performance degradations
  • whonix-gateway-18_exec-root: 151.86 🔻 ( previous job: 126.14, degradation: 120.39%)
  • whonix-workstation-18_exec-root: 165.40 🔻 ( previous job: 144.02, degradation: 114.84%)
  • whonix-workstation-18_exec-data-duplex-root: 148.12 🔻 ( previous job: 130.67, degradation: 113.35%)
  • dom0_root_rnd4k_q1t1_read 3:read_bandwidth_kb: 7914.00 🔻 ( previous job: 8963.00, degradation: 88.30%)
  • dom0_root_rnd4k_q1t1_write 3:write_bandwidth_kb: 4256.00 🔻 ( previous job: 5055.00, degradation: 84.19%)
  • dom0_varlibqubes_seq1m_q1t1_read 3:read_bandwidth_kb: 194287.00 🔻 ( previous job: 446202.00, degradation: 43.54%)
  • dom0_varlibqubes_seq1m_q1t1_write 3:write_bandwidth_kb: 132135.00 🔻 ( previous job: 201978.00, degradation: 65.42%)
  • dom0_varlibqubes_rnd4k_q32t1_write 3:write_bandwidth_kb: 9178.00 🔻 ( previous job: 10623.00, degradation: 86.40%)
  • debian-13-xfce_dom0-dispvm-gui-api (mean:8.774): 105.28 🔻 ( previous job: 93.50, degradation: 112.61%)
  • debian-13-xfce_dom0-dispvm-preload-2-delay-minus-1d2-api (mean:3.568): 42.81 🔻 ( previous job: 38.52, degradation: 111.15%)
  • whonix-workstation-18_dom0-dispvm-api (mean:10.069): 120.83 🔻 ( previous job: 97.14, degradation: 124.40%)
  • whonix-workstation-18_dom0-dispvm-gui-api (mean:12.107): 145.28 🔻 ( previous job: 121.86, degradation: 119.22%)
  • whonix-workstation-18_dom0-dispvm-preload-2-api (mean:4.731): 56.78 🔻 ( previous job: 48.39, degradation: 117.33%)
  • whonix-workstation-18_dom0-dispvm-preload-2-delay-0-api (mean:4.538): 54.45 🔻 ( previous job: 48.26, degradation: 112.83%)
  • whonix-workstation-18_dom0-dispvm-preload-2-delay-minus-1d2-api (mean:5.433): 65.20 🔻 ( previous job: 59.22, degradation: 110.11%)
  • whonix-workstation-18_dom0-dispvm-preload-4-api (mean:3.652): 43.83 🔻 ( previous job: 38.29, degradation: 114.47%)
  • whonix-workstation-18_dom0-dispvm-preload-4-gui-api (mean:4.917): 59.00 🔻 ( previous job: 52.81, degradation: 111.72%)
  • whonix-workstation-18_dom0-vm-gui-api (mean:0.064): 0.76 🔻 ( previous job: 0.56, degradation: 137.23%)

Remaining performance tests:

93 tests
  • debian-13-xfce_exec: 8.54 🔻 ( previous job: 7.85, degradation: 108.71%)
  • debian-13-xfce_exec-root: 27.03 🔻 ( previous job: 26.74, degradation: 101.09%)
  • debian-13-xfce_socket: 8.17 🟢 ( previous job: 8.37, improvement: 97.66%)
  • debian-13-xfce_socket-root: 7.99 🟢 ( previous job: 9.13, improvement: 87.58%)
  • debian-13-xfce_exec-data-simplex: 55.23 🟢 ( previous job: 63.05, improvement: 87.59%)
  • debian-13-xfce_exec-data-duplex: 56.31 🟢 ( previous job: 62.45, improvement: 90.17%)
  • debian-13-xfce_exec-data-duplex-root: 68.73 🟢 ( previous job: 78.04, improvement: 88.07%)
  • debian-13-xfce_socket-data-duplex: 78.25 🟢 ( previous job: 85.67, improvement: 91.35%)
  • fedora-44-xfce_exec: 8.82
  • fedora-44-xfce_exec-root: 74.44
  • fedora-44-xfce_socket: 8.22
  • fedora-44-xfce_socket-root: 8.41
  • fedora-44-xfce_exec-data-simplex: 60.64
  • fedora-44-xfce_exec-data-duplex: 68.06
  • fedora-44-xfce_exec-data-duplex-root: 101.86
  • fedora-44-xfce_socket-data-duplex: 79.39
  • whonix-gateway-18_exec: 7.50 🟢 ( previous job: 8.01, improvement: 93.68%)
  • whonix-gateway-18_socket: 8.56 🟢 ( previous job: 8.63, improvement: 99.16%)
  • whonix-gateway-18_socket-root: 8.57 🔻 ( previous job: 8.37, degradation: 102.38%)
  • whonix-gateway-18_exec-data-simplex: 63.24 🔻 ( previous job: 62.50, degradation: 101.18%)
  • whonix-gateway-18_exec-data-duplex: 58.05 🟢 ( previous job: 68.01, improvement: 85.36%)
  • whonix-gateway-18_exec-data-duplex-root: 134.93 🟢 ( previous job: 137.28, improvement: 98.28%)
  • whonix-gateway-18_socket-data-duplex: 93.54 🔻 ( previous job: 90.03, degradation: 103.89%)
  • whonix-workstation-18_exec: 7.23 🟢 ( previous job: 8.14, improvement: 88.91%)
  • whonix-workstation-18_socket: 7.56 🟢 ( previous job: 7.66, improvement: 98.70%)
  • whonix-workstation-18_socket-root: 9.36 🔻 ( previous job: 8.87, degradation: 105.59%)
  • whonix-workstation-18_exec-data-simplex: 59.92 🟢 ( previous job: 66.36, improvement: 90.31%)
  • whonix-workstation-18_exec-data-duplex: 62.28 🟢 ( previous job: 65.56, improvement: 95.00%)
  • whonix-workstation-18_socket-data-duplex: 77.27 🟢 ( previous job: 92.97, improvement: 83.11%)
  • dom0_root_seq1m_q8t1_read 3:read_bandwidth_kb: 490447.00 🟢 ( previous job: 388793.00, improvement: 126.15%)
  • dom0_root_seq1m_q8t1_write 3:write_bandwidth_kb: 221032.00 🟢 ( previous job: 119690.00, improvement: 184.67%)
  • dom0_root_seq1m_q1t1_read 3:read_bandwidth_kb: 422812.00 🟢 ( previous job: 245223.00, improvement: 172.42%)
  • dom0_root_seq1m_q1t1_write 3:write_bandwidth_kb: 181126.00 🔻 ( previous job: 199974.00, degradation: 90.57%)
  • dom0_root_rnd4k_q32t1_read 3:read_bandwidth_kb: 92657.00 🟢 ( previous job: 13948.00, improvement: 664.30%)
  • dom0_root_rnd4k_q32t1_write 3:write_bandwidth_kb: 9124.00 🟢 ( previous job: 6899.00, improvement: 132.25%)
  • dom0_varlibqubes_seq1m_q8t1_read 3:read_bandwidth_kb: 486578.00 🟢 ( previous job: 429040.00, improvement: 113.41%)
  • dom0_varlibqubes_seq1m_q8t1_write 3:write_bandwidth_kb: 334367.00 🟢 ( previous job: 257066.00, improvement: 130.07%)
  • dom0_varlibqubes_rnd4k_q32t1_read 3:read_bandwidth_kb: 104263.00 🟢 ( previous job: 102155.00, improvement: 102.06%)
  • dom0_varlibqubes_rnd4k_q1t1_read 3:read_bandwidth_kb: 8054.00 🔻 ( previous job: 8179.00, degradation: 98.47%)
  • dom0_varlibqubes_rnd4k_q1t1_write 3:write_bandwidth_kb: 4485.00 🟢 ( previous job: 4404.00, improvement: 101.84%)
  • fedora-44-xfce_root_seq1m_q8t1_read 3:read_bandwidth_kb: 310321.00
  • fedora-44-xfce_root_seq1m_q8t1_write 3:write_bandwidth_kb: 147197.00
  • fedora-44-xfce_root_seq1m_q1t1_read 3:read_bandwidth_kb: 297975.00
  • fedora-44-xfce_root_seq1m_q1t1_write 3:write_bandwidth_kb: 63312.00
  • fedora-44-xfce_root_rnd4k_q32t1_read 3:read_bandwidth_kb: 87897.00
  • fedora-44-xfce_root_rnd4k_q32t1_write 3:write_bandwidth_kb: 2662.00
  • fedora-44-xfce_root_rnd4k_q1t1_read 3:read_bandwidth_kb: 8967.00
  • fedora-44-xfce_root_rnd4k_q1t1_write 3:write_bandwidth_kb: 560.00
  • fedora-44-xfce_private_seq1m_q8t1_read 3:read_bandwidth_kb: 325341.00
  • fedora-44-xfce_private_seq1m_q8t1_write 3:write_bandwidth_kb: 143266.00
  • fedora-44-xfce_private_seq1m_q1t1_read 3:read_bandwidth_kb: 364722.00
  • fedora-44-xfce_private_seq1m_q1t1_write 3:write_bandwidth_kb: 79726.00
  • fedora-44-xfce_private_rnd4k_q32t1_read 3:read_bandwidth_kb: 81421.00
  • fedora-44-xfce_private_rnd4k_q32t1_write 3:write_bandwidth_kb: 2819.00
  • fedora-44-xfce_private_rnd4k_q1t1_read 3:read_bandwidth_kb: 8820.00
  • fedora-44-xfce_private_rnd4k_q1t1_write 3:write_bandwidth_kb: 572.00
  • fedora-44-xfce_volatile_seq1m_q8t1_read 3:read_bandwidth_kb: 369998.00
  • fedora-44-xfce_volatile_seq1m_q8t1_write 3:write_bandwidth_kb: 158977.00
  • fedora-44-xfce_volatile_seq1m_q1t1_read 3:read_bandwidth_kb: 332775.00
  • fedora-44-xfce_volatile_seq1m_q1t1_write 3:write_bandwidth_kb: 45972.00
  • fedora-44-xfce_volatile_rnd4k_q32t1_read 3:read_bandwidth_kb: 71241.00
  • fedora-44-xfce_volatile_rnd4k_q32t1_write 3:write_bandwidth_kb: 2740.00
  • fedora-44-xfce_volatile_rnd4k_q1t1_read 3:read_bandwidth_kb: 7786.00
  • fedora-44-xfce_volatile_rnd4k_q1t1_write 3:write_bandwidth_kb: 536.00
  • debian-13-xfce_dom0-dispvm-api (mean:6.604): 79.25 🔻 ( previous job: 74.50, degradation: 106.39%)
  • debian-13-xfce_dom0-dispvm-preload-2-api (mean:3.373): 40.48 🔻 ( previous job: 37.79, degradation: 107.13%)
  • debian-13-xfce_dom0-dispvm-preload-2-delay-0-api (mean:3.012): 36.14 🔻 ( previous job: 34.29, degradation: 105.39%)
  • debian-13-xfce_dom0-dispvm-preload-4-api (mean:2.45): 29.41 🟢 ( previous job: 30.73, improvement: 95.67%)
  • debian-13-xfce_dom0-dispvm-preload-4-delay-0-api (mean:2.682): 32.19 🔻 ( previous job: 29.50, degradation: 109.10%)
  • debian-13-xfce_dom0-dispvm-preload-4-delay-minus-1d2-api (mean:2.606): 31.27 🔻 ( previous job: 28.74, degradation: 108.81%)
  • debian-13-xfce_dom0-dispvm-preload-2-gui-api (mean:4.912): 58.95 🔻 ( previous job: 53.65, degradation: 109.87%)
  • debian-13-xfce_dom0-dispvm-preload-4-gui-api (mean:3.946): 47.35 🔻 ( previous job: 44.40, degradation: 106.65%)
  • debian-13-xfce_dom0-dispvm-preload-6-gui-api (mean:3.31): 39.72 🟢 ( previous job: 41.47, improvement: 95.78%)
  • debian-13-xfce_dom0-vm-api (mean:0.031): 0.38 🟢 ( previous job: 0.62, improvement: 60.65%)
  • debian-13-xfce_dom0-vm-gui-api (mean:0.035): 0.41 🟢 ( previous job: 0.47, improvement: 89.25%)
  • fedora-44-xfce_dom0-dispvm-api (mean:8.692): 104.31
  • fedora-44-xfce_dom0-dispvm-gui-api (mean:10.255): 123.06
  • fedora-44-xfce_dom0-dispvm-preload-2-api (mean:4.181): 50.17
  • fedora-44-xfce_dom0-dispvm-preload-2-delay-0-api (mean:4.03): 48.36
  • fedora-44-xfce_dom0-dispvm-preload-2-delay-minus-1d2-api (mean:4.177): 50.12
  • fedora-44-xfce_dom0-dispvm-preload-4-api (mean:3.015): 36.18
  • fedora-44-xfce_dom0-dispvm-preload-4-delay-0-api (mean:2.981): 35.78
  • fedora-44-xfce_dom0-dispvm-preload-4-delay-minus-1d2-api (mean:3.152): 37.82
  • fedora-44-xfce_dom0-dispvm-preload-2-gui-api (mean:5.735): 68.82
  • fedora-44-xfce_dom0-dispvm-preload-4-gui-api (mean:4.144): 49.73
  • fedora-44-xfce_dom0-dispvm-preload-6-gui-api (mean:3.609): 43.31
  • fedora-44-xfce_dom0-vm-api (mean:0.029): 0.35
  • fedora-44-xfce_dom0-vm-gui-api (mean:0.035): 0.42
  • whonix-workstation-18_dom0-dispvm-preload-4-delay-0-api (mean:3.432): 41.18 🟢 ( previous job: 43.23, improvement: 95.25%)
  • whonix-workstation-18_dom0-dispvm-preload-4-delay-minus-1d2-api (mean:3.733): 44.79 🔻 ( previous job: 42.67, degradation: 104.99%)
  • whonix-workstation-18_dom0-dispvm-preload-2-gui-api (mean:6.512): 78.14 🔻 ( previous job: 72.05, degradation: 108.46%)
  • whonix-workstation-18_dom0-dispvm-preload-6-gui-api (mean:4.251): 51.01 🔻 ( previous job: 50.72, degradation: 100.59%)
  • whonix-workstation-18_dom0-vm-api (mean:0.039): 0.47 🔻 ( previous job: 0.43, degradation: 108.78%)

Comment thread qmemman/meminfo-writer.c
Comment on lines +106 to +107
data->mem = ret_mem;
data->swap = ret_swap;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Those two may be uninitialized at this point. Maybe simply set to NULL at the start?

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

Labels

openqa-pending PR to be tested in the next OpenQA run

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants