Bug 15177

Summary: AB-INT PTEST: python3 test_thread_time failure
Product: [QA/Testing] Package Testing (ptest) Reporter: Alexandre Belloni <alexandre.belloni>
Component: ptestAssignee: Trevor Gamblin <tgamblin>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: alexandre.belloni, randy.macleod, tgamblin
Version: unspecified   
Target Milestone: 4.3   
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-08-02 14:09:42 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5196/steps/12/logs/stdio

qemuarm64-ptest ubuntu2204-arm-1

======================================================================
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.02314556000000001 not less than 0.02

----------------------------------------------------------------------
Ran 59 tests in 1.902s

FAILED (failures=1, skipped=3)
test test_time failed
Comment 1 Trevor Gamblin 2023-08-10 14:49:59 UTC
Patch merged that should fix this: https://git.yoctoproject.org/poky/commit/?id=e56b895866c941a71fd495727e360c534b5c9898
Comment 2 Trevor Gamblin 2023-09-28 18:31:01 UTC
*** Bug 15141 has been marked as a duplicate of this bug. ***