Bug 15141

Summary: AB-INT PTEST ARM: python test_thread_time ptest failure
Product: [QA/Testing] Package Testing (ptest) Reporter: Alexandre Belloni <alexandre.belloni>
Component: ptestAssignee: Trevor Gamblin <tgamblin>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Medium+ CC: alexandre.belloni, randy.macleod
Version: unspecified   
Target Milestone: 4.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alexandre Belloni 2023-06-08 21:22:23 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/4910/steps/13/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1
Comment 1 Alexandre Belloni 2023-06-08 21:24:30 UTC
======================================================================
FAIL: test_thread_time (test.test_time.TimeTestCase.test_thread_time)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.11/test/test_time.py", line 523, in test_thread_time
    self.assertLess(stop - start, 0.020)
AssertionError: 0.1065535400000499 not less than 0.02

----------------------------------------------------------------------
Ran 59 tests in 2.108s

FAILED (failures=1, skipped=3)
test test_time failed
0:41:07 load avg: 0.70 [360/431/3] test_timeit -- test_time failed (1 failure)
Comment 2 Ross Burton 2023-06-15 14:36:51 UTC
Probably a time-sensitive test, if so we should just skip it.
Comment 3 Trevor Gamblin 2023-09-28 18:31:01 UTC
Fixed in https://git.yoctoproject.org/poky/commit/?id=e56b895866c941a71fd495727e360c534b5c9898

*** This bug has been marked as a duplicate of bug 15177 ***