Bug 15907 - AB-INT PTEST: python3 test_ptestrunner_expectfail
Summary: AB-INT PTEST: python3 test_ptestrunner_expectfail
Status: RESOLVED WORKSFORME
Alias: None
Product: Package Testing (ptest)
Classification: QA/Testing
Component: ptest (show other bugs)
Version: unspecified
Hardware: ARM arm64
: Medium normal
Target Milestone: 5.3
Assignee: Unassigned
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2025-06-16 09:21 UTC by João Marcos Costa
Modified: 2026-01-22 16:13 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
logs from valkyrie.yocto.io (116.09 KB, text/plain)
2025-06-16 09:21 UTC, João Marcos Costa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description João Marcos Costa 2025-06-16 09:21:50 UTC
Created attachment 5120 [details]
logs from valkyrie.yocto.io

https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/1707/steps/13/logs/stdio

NOTE: test_ptestrunner_expectfail (ptest.PtestRunnerTest.test_ptestrunner_expectfail)
DEBUG: Checking if at least one of ptest-runner is installed
DEBUG: Checking if ptest is in DISTRO_FEATURES or IMAGE_FEATURES
DEBUG: [Running]$ ssh -l root -o ServerAliveCountMax=2 -o ServerAliveInterval=30 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.18 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; which ptest-runner
DEBUG: Data from SSH call:
/usr/bin/ptest-runner
DEBUG: [Command returned '0' after 0.14 seconds]
DEBUG: Command: which ptest-runner
Status: 0 Output:  /usr/bin/ptest-runner

DEBUG: [Running]$ ssh -l root -o ServerAliveCountMax=2 -o ServerAliveInterval=30 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.18 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; ptest-runner -t 450 -d "/usr/lib"
DEBUG: Data received serial thread [  182.616836] 
DEBUG: Data received serial thread UDPLite: UDP-Lite is deprecated and scheduled to be removed in 2025, please 
DEBUG: Data received serial thread contact the netdev mailing list

DEBUG: Data received serial thread [  196.
DEBUG: Data received serial thread 388098] UD
DEBUG: Data received serial thread PLite6: UDP-Lite is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list

DEBUG: [Command returned '0' after 238.15 seconds]
DEBUG: Command: ptest-runner -t 450 -d "/usr/lib"
Status: 0 Output length:  5023501

DEBUG: [Running]$ ssh -l root -o ServerAliveCountMax=2 -o ServerAliveInterval=30 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.18 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; dmesg | grep "Killed process"
DEBUG: No output from SSH call
DEBUG: [Command returned '1' after 0.14 seconds]
DEBUG: Command: dmesg | grep "Killed process"
Status: 1 Output:  

WARNING: There were failing ptests.
NOTE:  ... expected failure
Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
  File "/srv/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
  File "/srv/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
  File "/srv/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/runtime/cases/ptest.py", line 27, in test_ptestrunner_expectfail
    self.do_ptestrunner()
    ~~~~~~~~~~~~~~~~~~~^^
  File "/srv/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/runtime/cases/ptest.py", line 120, in do_ptestrunner
    self.fail(failmsg)
    ~~~~~~~~~^^^^^^^^^
AssertionError: 
Failed ptests:
{'python3': ['python3']}

qemuarm64-ptest ubuntu2004-vk-arm2
Comment 1 Randy MacLeod 2025-06-19 14:34:20 UTC
Ross will use his magic script to review the logs.
Comment 2 Ross Burton 2025-06-19 14:36:07 UTC
0:03:33 load avg: 2.05 [410/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 0x0000ffff03fff180 (most recent call first):
  <no Python frame>
...
Thread 0x0000ffff9d0f4020 (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 77 in worker_process
  File "/usr/lib/python3.13/test/libregrtest/worker.py", line 112 in main
  File "/usr/lib/python3.13/test/libregrtest/worker.py", line 116 in <module>
  File "<frozen runpy>", line 88 in _run_code
  File "<frozen runpy>", line 198 in _run_module_as_main
Comment 3 Randy MacLeod 2026-01-22 16:13:57 UTC
Not seen in > 6 months. 
We have updated python at least once...