Bug 14596 - AB-INT PTEST ARM: strace ptest intermittent failure in strace-T.test
Summary: AB-INT PTEST ARM: strace ptest intermittent failure in strace-T.test
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: 4.0 M4
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2021-10-12 15:06 UTC by Thomas Perrot
Modified: 2022-03-21 20:03 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Perrot 2021-10-12 15:06:10 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2385/steps/12/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1

WARNING: core-image-ptest-all-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 36, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/runtime/cases/ptest.py", line 25, in test_ptestrunner_expectfail
    self.do_ptestrunner()
  File "/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/runtime/cases/ptest.py", line 112, in do_ptestrunner
    self.fail(failmsg)
AssertionError: Failed ptests:
{'strace': ['strace-T.test']}
Cannot run ptests without @expectedFailure as ptests are expected to fail
Output from runqemu:
runqemu - INFO - SIGTERM received
runqemu - INFO - Cleaning up
runqemu - INFO - Removing /home/pokybuild/tmp/core-image-ptest-all-qemuarm64.ext4.46043
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
RESULTS:
RESULTS - ping.PingTest.test_ping: PASSED (0.13s)
RESULTS - ssh.SSHTest.test_ssh: PASSED (0.39s)
RESULTS - ptest.PtestRunnerTest.test_ptestrunner_expectsuccess: SKIPPED (0.00s)
RESULTS - ptest.PtestRunnerTest.test_ptestrunner_expectfail: EXPECTEDFAIL (12404.22s)
SUMMARY:
core-image-ptest-all () - Ran 4 tests in 12404.759s
core-image-ptest-all - OK - All required tests passed (successes=2, skipped=1, failures=0, errors=0)
NOTE: recipe core-image-ptest-all-1.0-r0: task do_testimage: Succeeded
NOTE: Tasks Summary: Attempted 991 tasks of which 990 didn't need to be rerun and all succeeded.
Comment 1 Ross Burton 2021-10-19 15:03:45 UTC
strace-T does a sleep(1) and then checks that the log shows nanosleep(1.[01]|0.9), which will fail badly on a loaded system.
Comment 2 Ross Burton 2021-10-19 19:26:26 UTC
Patch on the list.
Comment 3 Ross Burton 2021-11-15 17:37:16 UTC
Patch still on the list :)
Comment 4 Randy MacLeod 2021-12-21 00:37:44 UTC
Patch still on the list! and we've updated to 5.15 to match le kernel. Re-submit please.