| Summary: | AB-INT PTEST: python3 test_default_timeout ptest failure | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [QA/Testing] Package Testing (ptest) | Reporter: | João Marcos Costa <joaomarcos.costa> | ||||
| Component: | ptest | Assignee: | Unassigned <unassigned> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | antonin.godard, randy.macleod, richard.purdie, tim.orling, yoann.congal | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 5.3 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | AB-INT | ||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | Don't know | |||||
| Attachments: |
|
||||||
|
Description
João Marcos Costa
2025-06-02 15:25:47 UTC
Created attachment 5118 [details]
logs
https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/2543/steps/13/logs/stdio qemuarm64-ptest ubuntu2504-vk-arm1 Not clear WHICH exact test case failed, since the same name is in two files: Lib/test/lock_tests.py: def test_default_timeout(self): https://github.com/python/cpython/blob/main/Lib/test/lock_tests.py#L1219 Lib/test/_test_multiprocessing.py: def test_default_timeout(self): https://github.com/python/cpython/blob/main/Lib/test/_test_multiprocessing.py#L2406 contrib/ycongal/whinlatter-nut qemuarm64-ptest debian13-vk-arm1 https://autobuilder.yoctoproject.org/valkyrie/?#/builders/61/builds/3109 Error log is not precisely the same but the elapsed time look suspiciously like a 5 minutes timeout: Failed ptests: {'python3': ['python3']} [...] RESULTS - ptest.PtestRunnerTest.test_ptestrunner_expectfail: EXPECTEDFAIL (297.11s) SUMMARY: core-image-ptest-python3 () - Ran 6 tests in 299.769s Note: this patch was merged on master: commit 9382dee2a59a359f38e03179d01fce47c2d86372 Author: Antonin Godard <antonin.godard@bootlin.com> Date: Tue Jan 20 08:25:25 2026 +0100 python3: skip flaky test_default_timeout test We have been observing intermittent issues with this test on the Autobuilder: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15885 This is probably due to the Autobuilder being heavily loaded at the time of the test. The logs on the ticket above do not allow us to know which of the two "test_default_timeout" tests is failing, so disable both with self.skipTest(). Excerpt from `ptest-runner python3`: test_default_timeout (test.test_multiprocessing_fork.test_manager.WithManagerTestBarrier.test_default_timeout) SKIP: Test the barrier's default timeout 'skip flaky timeout test' [YOCTO #15885] Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Patch merged https://git.openembedded.org/openembedded-core/commit/?id=9382dee2a59a359f38e03179d01fce47c2d86372 Moving to Resolved Fixed For the whinlatter failure in comment 5: https://valkyrie.yocto.io/pub/non-release/20260224-64/testresults/qemuarm64-ptest/python3.log 1 test failed: test_tracemalloc 0:04:03 load avg: 2.16 [411/480/1] test_tracemalloc worker non-zero exit code (Exit code -11 (SIGSEGV)) PASS: test_late_untrack (test.test_tracemalloc.TestCAPI.test_late_untrack) PASS: test_stop_track (test.test_tracemalloc.TestCAPI.test_stop_track) PASS: test_stop_untrack (test.test_tracemalloc.TestCAPI.test_stop_untrack) test_tracemalloc_track_race (test.test_tracemalloc.TestCAPI.test_tracemalloc_track_race) ... Fatal Python error: Segmentation fault Thread 0x0000ffff06f5f180 (most recent call first): <no Python frame> Thread 0x0000ffff0776f180 (most recent call first): <no Python frame> Thread 0x0000ffff07f7f180 (most recent call first): <no Python frame> Thread 0x0000ffff0878f180 (most recent call first): <no Python frame> Thread 0x0000ffff08f9f180 (most recent call first): <no Python frame> Thread 0x0000ffff097af180 (most recent call first): <no Python frame> Thread 0x0000ffff09fbf180 (most recent call first): <no Python frame> Thread 0x0000ffff0a7cf180 (most recent call first): <no Python frame> Thread 0x0000ffff0afdf180 (most recent call first): <no Python frame> Thread 0x0000ffff0b7ef180 (most recent call first): <no Python frame> Thread 0x0000ffff0bfff180 (most recent call first): <no Python frame> Thread 0x0000ffff10f9f180 (most recent call first): <no Python frame> Thread 0x0000ffff117af180 (most recent call first): <no Python frame> Thread 0x0000ffff11fbf180 (most recent call first): <no Python frame> Thread 0x0000ffff127cf180 (most recent call first): <no Python frame> Thread 0x0000ffff12fdf180 (most recent call first): <no Python frame> Thread 0x0000ffff137ef180 (most recent call first): <no Python frame> Thread 0x0000ffff13fff180 (most recent call first): <no Python frame> Thread 0x0000ffff30f9f180 (most recent call first): <no Python frame> Thread 0x0000ffff317af180 (most recent call first): <no Python frame> Thread 0x0000ffff31fbf180 (most recent call first): <no Python frame> Thread 0x0000ffff327cf180 (most recent call first): <no Python frame> Thread 0x0000ffff32fdf180 (most recent call first): <no Python frame> Thread 0x0000ffff337ef180 (most recent call first): <no Python frame> Thread 0x0000ffff33fff180 (most recent call first): <no Python frame> Thread 0x0000ffff54f9f180 (most recent call first): <no Python frame> Thread 0x0000ffff557af180 (most recent call first): <no Python frame> Thread 0x0000ffff55fbf180 (most recent call first): <no Python frame> Thread 0x0000ffff567cf180 (most recent call first): <no Python frame> Thread 0x0000ffff56fdf180 (most recent call first): <no Python frame> Thread 0x0000ffff577ef180 (most recent call first): <no Python frame> Thread 0x0000ffff57fff180 (most recent call first): <no Python frame> Thread 0x0000ffff84f9f180 (most recent call first): <no Python frame> Thread 0x0000ffff857af180 (most recent call first): <no Python frame> Thread 0x0000ffff85fbf180 (most recent call first): <no Python frame> Thread 0x0000ffff867cf180 (most recent call first): <no Python frame> Thread 0x0000ffff86fdf180 (most recent call first): <no Python frame> Thread 0x0000ffff877ef180 (most recent call first): <no Python frame> Thread 0x0000ffff94f9f180 (most recent call first): <no Python frame> Thread 0x0000ffff87fff180 (most recent call first): <no Python frame> Thread 0x0000ffff957af180 (most recent call first): <no Python frame> Thread 0x0000ffff95fbf180 (most recent call first): <no Python frame> Thread 0x0000ffff967cf180 (most recent call first): <no Python frame> Thread 0x0000ffff977ef180 (most recent call first): <no Python frame> Thread 0x0000ffff9cb4f180 (most recent call first): <no Python frame> Thread 0x0000ffff96fdf180 (most recent call first): <no Python frame> Thread 0x0000ffff9d35f180 (most recent call first): <no Python frame> Thread 0x0000ffff97fff180 (most recent call first): <no Python frame> Thread 0x0000ffff9db6f180 (most recent call first): <no Python frame> Thread 0x0000ffffa0041020 (most recent call first): File "/usr/lib/python3.13/test/test_tracemalloc.py", line 1119 in test_tracemalloc_track_race File "/usr/lib/python3.13/unittest/case.py", line 606 in _callTestMethod File "/usr/lib/python3.13/unittest/case.py", line 651 in run File "/usr/lib/python3.13/unittest/case.py", line 707 in __call__ File "/usr/lib/python3.13/unittest/suite.py", line 122 in run File "/usr/lib/python3.13/unittest/suite.py", line 84 in __call__ File "/usr/lib/python3.13/unittest/suite.py", line 122 in run File "/usr/lib/python3.13/unittest/suite.py", line 84 in __call__ File "/usr/lib/python3.13/unittest/runner.py", line 240 in run File "/usr/lib/python3.13/test/libregrtest/single.py", line 57 in _run_suite File "/usr/lib/python3.13/test/libregrtest/single.py", line 37 in run_unittest File "/usr/lib/python3.13/test/libregrtest/single.py", line 135 in test_func File "/usr/lib/python3.13/test/libregrtest/single.py", line 91 in regrtest_runner File "/usr/lib/python3.13/test/libregrtest/single.py", line 138 in _load_run_test File "/usr/lib/python3.13/test/libregrtest/single.py", line 181 in _runtest_env_changed_exc File "/usr/lib/python3.13/test/libregrtest/single.py", line 281 in _runtest File "/usr/lib/python3.13/test/libregrtest/single.py", line 310 in run_single_test File "/usr/lib/python3.13/test/libregrtest/worker.py", line 84 in worker_process File "/usr/lib/python3.13/test/libregrtest/worker.py", line 119 in main File "/usr/lib/python3.13/test/libregrtest/worker.py", line 123 in <module> File "<frozen runpy>", line 88 in _run_code File "<frozen runpy>", line 198 in _run_module_as_main |