Bug 15510 - AB-INT PTEST: python3 ptest failure: in test_active_children
Summary: AB-INT PTEST: python3 ptest failure: in test_active_children
Status: RESOLVED FIXED
Alias: None
Product: Package Testing (ptest)
Classification: QA/Testing
Component: ptest (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 5.1 M2
Assignee: Trevor Gamblin
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2024-06-11 07:20 UTC by João Marcos Costa
Modified: 2024-08-06 15:09 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description João Marcos Costa 2024-06-11 07:20:38 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6514/steps/13/logs/stdio

WARNING: core-image-ptest-python3-1.0-r0 do_testimage: There were failing ptests.
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/runtime/cases/ptest.py", line 27, in test_ptestrunner_expectfail
    self.do_ptestrunner()
  File "/home/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': ['test_active_children', 'python3']}
Cannot run ptests without @expectedFailure as ptests are expected to fail

qemuarm64-ptest ubuntu1804-arm-1
Comment 1 Randy MacLeod 2024-06-13 14:36:04 UTC
Seen in master-next with the python update.
Either fix the test or disable it temporarily.
Comment 2 Ross Burton 2024-06-13 14:37:43 UTC
FAIL: test_active_children (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_active_children)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.12/test/_test_multiprocessing.py", line 590, in test_active_children
    self.assertIn(p, self.active_children())
AssertionError: <DummyProcess(Thread-116 (sleep), stopped daemon 547339891072)> not found in []
Comment 4 Trevor Gamblin 2024-08-06 15:09:20 UTC
This was added as a test to be skipped in:

https://git.openembedded.org/openembedded-core/commit/?id=ac000b00ec615b3e51dda8d819015d5e7110ed88

Closing.