| Summary: | AB-INT PTEST: python3 test_timerfd_initval failure | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [QA/Testing] Package Testing (ptest) | Reporter: | João Marcos Costa <joaomarcos.costa> | ||||
| Component: | ptest | Assignee: | Mathieu Dubois-Briand <mathieu.dubois-briand> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | mathieu.dubois-briand, randy.macleod, ross.burton | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 6.1 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | AB-INT | ||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | Don't know | |||||
| Attachments: |
|
||||||
|
Description
João Marcos Costa
2025-02-14 13:39:49 UTC
Let's see if this happens frequently. ======================================================================
FAIL: test_timerfd_initval (test.test_os.TimerfdTests.test_timerfd_initval)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.13/test/test_os.py", line 4166, in test_timerfd_initval
self.assertAlmostEqual(next_expiration, initial_expiration, places=self.CLOCK_RES_PLACES)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 0.24403756000000001 != 0.25 within 3 places (0.0059624399999999855 difference)
Heavily loaded system will break that test.
In an attempt to fix this pattern upstream I filed https://github.com/python/cpython/issues/130363. Someone else has seen this on a gentoo: https://github.com/python/cpython/issues/126112. https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/992/steps/12/logs/stdio Failed ptests:{'python3': ['test_timerfd_TFD_TIMER_ABSTIME', 'python3']} qemux86-64-ptest debian12-vk-3 Bulk move of all unassigned 5.2 medium importance bugs to 5.3. Ross' upstream issue is still open. That said, the issue hasn't happened in more than a year so we could just drop it. As per previous comments. qemuarm64-ptest ubuntu2504-vk-arm1 master completed at 2026-04-11 11:06:53+00:00 https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/3467/steps/13/logs/stdio Randy magic comments, they always allow to reproduce rare failures. :) I sent a patch to disable this ptest: https://lore.kernel.org/all/20260417-mathieu-python3-ptest-v1-0-9b5ec044a1b8@bootlin.com/ |