https://autobuilder.yoctoproject.org/typhoon/#/builders/93/builds/457
Cannot run ptests with @expectedFailure as ptests are required to pass Traceback (most recent call last): File "/home/pokybuild/yocto-worker/qemuarm64-ptest-fast/build/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f return func(*args, **kwargs) File "/home/pokybuild/yocto-worker/qemuarm64-ptest-fast/build/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f return func(*args, **kwargs) File "/home/pokybuild/yocto-worker/qemuarm64-ptest-fast/build/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f return func(*args, **kwargs) File "/home/pokybuild/yocto-worker/qemuarm64-ptest-fast/build/meta/lib/oeqa/runtime/cases/ptest.py", line 33, in test_ptestrunner_expectsuccess self.do_ptestrunner() File "/home/pokybuild/yocto-worker/qemuarm64-ptest-fast/build/meta/lib/oeqa/runtime/cases/ptest.py", line 103, in do_ptestrunner self.fail(failmsg) AssertionError: Failed ptests: {'apr': ['testlock_1_of_6']} We should be able to find the ptest logs on the autobuilder from this build too.
So I have been running testlock of and on since last Thursday with no luck in reproduction. Were I to venture a guess its likely: test_timeoutmutex test_timeoutcond It doesn't appear the test is run with -v (which would at least give a line number as to which test failed). However, testsock has at least every 30-40 runs failed(if running the full suite). And it looks like a timeout issue in the code. Not sure if bumping the sleep it is using would resolve the issue.
Adding screen to the image and running the ltp tests in the background to stress the system I am able to get both testsock and testlock to fail in the timer tests. These are both highly dependant on the function returning in a specific amount of time if they run over the allotted time they fail. With virtualization and any other stresses on the system, these tests are going to randomly fail. My first inclination is to just disable them because they are likely not going to be consistent in a virtualized environment.
Initial cut at resolving this. https://patchwork.openembedded.org/patch/171350/
Commit accepted in to master. https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ab0dbfc034a596a9171ce00f34467bc42534f00a Moving to resolved.