From 222d4d99b9e56306a7dee4ec5051587b0892e18c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 27 Aug 2024 12:28:44 +0200 Subject: [PATCH] Skip test_sendfile_close_peer_in_the_middle_of_receiving on ppc64le Reported upstream https://github.com/python/cpython/issues/123384 Which was a duplicate of https://github.com/python/cpython/issues/120226 The test is fixed on the main branch, but skipping is easier than backporting. The failure occurs with Kernel 6.10.x even when Python is built with an older Kernel. By skipping the tests, we can ship a CVE fix. --- python3.13.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python3.13.spec b/python3.13.spec index 6c30fde..360fe27 100644 --- a/python3.13.spec +++ b/python3.13.spec @@ -1334,6 +1334,8 @@ CheckPython() { # test_signal is skipped due to https://github.com/python/cpython/issues/118989 # test.test_concurrent_futures.test_deadlock tends to time out on s390x in # freethreading{,-debug} build, skipping it to shorten the build time + # test_sendfile_close_peer_in_the_middle_of_receiving: + # https://github.com/python/cpython/issues/120226 LD_LIBRARY_PATH=$ConfDir $ConfDir/python -m test.regrtest \ -wW --slowest %{_smp_mflags} --timeout=2700 \ -i test_freeze_simple_script \ @@ -1346,6 +1348,9 @@ CheckPython() { -x test_signal \ -i test_deadlock \ %endif + %ifarch ppc64le + -i test_sendfile_close_peer_in_the_middle_of_receiving \ + %endif echo FINISHED: CHECKING OF PYTHON FOR CONFIGURATION: $ConfName