diff mbox series

python3: skip test_monotonic_settime() test case

Message ID 20261119171359.3296818-1-ross.burton@arm.com
State New
Headers show
Series python3: skip test_monotonic_settime() test case | expand

Commit Message

Ross Burton Nov. 19, 2026, 5:13 p.m. UTC
This test sets the system clock back an hour for a fraction of a second,
but we also run the tests with a moderate level of parallelism (-j4).

Obviously this means that several times a year the tarfile tests run in
that microsecond window and fail because mtimes are not as expected...

Skip this test as we'd prefer the speed gains from running the tests in
parallel over the testing of clock_settime().

Also change a SKIPPED_TESTS assignment to use += instead of :append.

[ YOCTO #15783 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-devtools/python/python3_3.15.2.bb | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3_3.15.2.bb b/meta/recipes-devtools/python/python3_3.15.2.bb
index bfc783c9227..bc6c3b919d6 100644
--- a/meta/recipes-devtools/python/python3_3.15.2.bb
+++ b/meta/recipes-devtools/python/python3_3.15.2.bb
@@ -320,9 +320,12 @@  SKIPPED_TESTS += " \
 # test_timerfd_ns_TFS_TIMER_ABSTIME was observed failing in Bugzilla YP 16470.
 # There are actually several other tests in the suite that all look prone to
 # load variability, so skip the whole test class.
-SKIPPED_TESTS:append = " \
-    --ignore TimerfdTests \
-"
+SKIPPED_TESTS += "--ignore TimerfdTests"
+
+# Skip a test that changes the system time
+# https://bugzilla.yoctoproject.org/show_bug.cgi?id=15783
+# https://github.com/python/cpython/issues/162280
+SKIPPED_TESTS += "--ignore test.test_time.TimeTestCase.test_monotonic_settime"
 
 # https://bugzilla.yoctoproject.org/show_bug.cgi?id=16348
 SKIPPED_TESTS:append:libc-musl = " \