Fix tests after increasing qube count on mock_app#299
Merged
Conversation
1 task
Author
|
PipelineRetryFailed |
Author
|
Rerunning the test because core dumped for some reason??? https://gitlab.com/QubesOS/qubes-desktop-linux-manager/-/jobs/13143203138 Details
qubes_config/tests/test_global_config.py::test_global_config_init Fatal Python error: Aborted
Current thread 0x00007f29838db6c0 (most recent call first):
File "/home/user/.local/lib/python3.13/site-packages/gi/overrides/__init__.py", line 313 in new_init
File "/home/user/builds/QubesOS/qubes-desktop-linux-manager/qubes_config/global_config/rule_list_widgets.py", line 356 in __init__
File "/home/user/builds/QubesOS/qubes-desktop-linux-manager/qubes_config/global_config/policy_handler.py", line 229 in populate_rule_lists
File "/home/user/builds/QubesOS/qubes-desktop-linux-manager/qubes_config/global_config/policy_handler.py", line 411 in reset
File "/home/user/builds/QubesOS/qubes-desktop-linux-manager/qubes_config/global_config/global_config.py", line 168 in reset
File "/home/user/builds/QubesOS/qubes-desktop-linux-manager/qubes_config/global_config/global_config.py", line 575 in perform_save
File "/usr/lib64/python3.13/threading.py", line 995 in run
File "/usr/lib64/python3.13/threading.py", line 1044 in _bootstrap_inner
File "/usr/lib64/python3.13/threading.py", line 1015 in _bootstrap
Thread 0x00007f29afe23f00 (most recent call first):
File "/home/user/builds/QubesOS/qubes-desktop-linux-manager/qubes_config/widgets/gtk_utils.py", line 160 in show_dialog
File "/home/user/builds/QubesOS/qubes-desktop-linux-manager/qubes_config/global_config/global_config.py", line 593 in save_page
File "/home/user/builds/QubesOS/qubes-desktop-linux-manager/qubes_config/global_config/global_config.py", line 635 in verify_changes
File "/home/user/builds/QubesOS/qubes-desktop-linux-manager/qubes_config/global_config/global_config.py", line 644 in _page_switched
File "/home/user/builds/QubesOS/qubes-desktop-linux-manager/qubes_config/tests/test_global_config.py", line 140 in test_global_config_init
File "/usr/lib64/python3.13/unittest/mock.py", line 1426 in patched
File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159 in pytest_pyfunc_call
File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103 in _multicall
File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120 in _hookexec
File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513 in __call__
File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627 in runtest
File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174 in pytest_runtest_call
File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103 in _multicall
File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120 in _hookexec
File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513 in __call__
File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242 in <lambda>
File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341 in from_call
File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241 in call_and_report
File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132 in runtestprotocol
File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113 in pytest_runtest_protocol
File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103 in _multicall
File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120 in _hookexec
File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513 in __call__
File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362 in pytest_runtestloop
File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103 in _multicall
File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120 in _hookexec
File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513 in __call__
File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337 in _main
File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283 in wrap_session
File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330 in pytest_cmdline_main
File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103 in _multicall
File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120 in _hookexec
File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513 in __call__
File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175 in main
File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201 in console_main
File "/usr/lib/python3.13/site-packages/pytest/__main__.py", line 9 in <module>
File "/usr/lib64/python3.13/site-packages/coverage/execfile.py", line 211 in run
File "/usr/lib64/python3.13/site-packages/coverage/cmdline.py", line 861 in do_run
File "/usr/lib64/python3.13/site-packages/coverage/cmdline.py", line 684 in command_line
File "/usr/lib64/python3.13/site-packages/coverage/cmdline.py", line 973 in main
File "/usr/lib64/python3.13/site-packages/coverage/__main__.py", line 10 in <module>
File "<frozen runpy>", line 88 in _run_code
File "<frozen runpy>", line 198 in _run_module_as_main
Extension modules: gi._gi, cairo._cairo, gi._gi_cairo, qubesdb, yaml._yaml (total: 5)
./run-tests.sh: line 3: 2226 Aborted (core dumped) python3 -m coverage run -m pytest -vv qubes_config/tests qui |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #299 +/- ##
=======================================
Coverage 92.98% 92.99%
=======================================
Files 64 64
Lines 13291 13291
=======================================
+ Hits 12359 12360 +1
+ Misses 932 931 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
marmarek
approved these changes
Feb 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For: QubesOS/qubes-core-admin-client#422
For: QubesOS/qubes-core-admin-client#411