Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
Open
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixesOS-netbsdtestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
The test_timerfd_initval test in test_os.TimerfdTests is failing on NetBSD with a very large time difference between the expected and actual expiration values. The test expects values to be almost equal within 3 decimal places, but the actual difference is over 1.7 billion seconds.
Configuration:
./configure --with-pydebug Test
./python -m test test_os -m test_timerfd_initval -v Output:
==CPython3.14.0a6+ (heads/main:26511993e63, Mar152025, 01:30:33) [GCC10.5.0] ==NetBSD-10.0-amd64-x86_64-64bit-ELFlittle-endian==Pythonbuild: debug==cwd:/home/blue/cpython/build/test_python_worker_20567æ==CPUcount: 16==encodings: locale=UTF-8FS=utf-8==resources: alltestresourcesaredisabled, use-uoptiontounskiptestsUsingrandomseed: 30112501790:00:00loadavg: 2.25Run1testsequentiallyinasingleprocess0:00:00loadavg: 2.25 [1/1] test_ostest_timerfd_initval (test.test_os.TimerfdTests.test_timerfd_initval) ... FAIL======================================================================FAIL: test_timerfd_initval (test.test_os.TimerfdTests.test_timerfd_initval) ----------------------------------------------------------------------Traceback (mostrecentcalllast): File"/home/blue/cpython/Lib/test/test_os.py", line4327, intest_timerfd_initvalself.assertAlmostEqual(next_expiration, initial_expiration, places=self.CLOCK_RES_PLACES) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^AssertionError: 1741991497.5326333!=0.25within3places (1741991497.2826333difference) ----------------------------------------------------------------------Ran1testin0.010sFAILED (failures=1) testtest_osfailed0:00:00loadavg: 2.25 [1/1/1] test_osfailed (1failure) ==Testsresult: FAILURE==1testfailed: test_osTotalduration: 958msTotaltests: run=1 (filtered) failures=1Totaltestfiles: run=1/1 (filtered) failed=1Result: FAILUREOS: NetBSD-10.0-amd64
CPython versions tested on:
CPython main branch, 3.14, 3.13
Operating systems tested on:
Other
Metadata
Metadata
Assignees
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixesOS-netbsdtestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
Status
No status