Bug 15177 - AB-INT PTEST: python3 test_thread_time failure
Summary: AB-INT PTEST: python3 test_thread_time failure
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.3
Assignee: Trevor Gamblin
QA Contact:
URL:
Whiteboard: AB-INT
: 15141 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-08-02 14:09 UTC by Alexandre Belloni
Modified: 2023-09-28 18:31 UTC (History)
3 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 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. ***