From 7e80f75262e5edfe825faed52614c8b3d3c9bb51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 23 Mar 2023 17:56:50 +0100 Subject: [PATCH] Increase the test timeout in %check We see test failures lately mostly on ppc64le due to test_compile taking more than 30 minutes. --- python3.12.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python3.12.spec b/python3.12.spec index 2f33a76..e24f583 100644 --- a/python3.12.spec +++ b/python3.12.spec @@ -17,7 +17,7 @@ URL: https://www.python.org/ %global prerel a6 %global upstream_version %{general_version}%{?prerel} Version: %{general_version}%{?prerel:~%{prerel}} -Release: 1%{?dist} +Release: 2%{?dist} License: Python-2.0.1 # Getting this build in Koji on 32bit ARM is frustrating due to technical problems @@ -1064,13 +1064,13 @@ CheckPython() { LD_LIBRARY_PATH=$ConfDir $ConfDir/python -m test.pythoninfo # Run the upstream test suite - # --timeout=1800: kill test running for longer than 30 minutes + # --timeout=2700: kill test running for longer than 45 minutes # test_freeze_simple_script is skipped, because it fails without bundled libs. # the freeze tool is only usable from the source checkout anyway, # we don't ship it in the RPM package. LD_LIBRARY_PATH=$ConfDir $ConfDir/python -m test.regrtest \ - -wW --slowest %{_smp_mflags} --timeout=1800 \ + -wW --slowest %{_smp_mflags} --timeout=2700 \ -i test_freeze_simple_script \ %ifarch %{mips64} -x test_ctypes \ @@ -1583,6 +1583,9 @@ CheckPython optimized # ====================================================== %changelog +* Thu Mar 23 2023 Miro Hrončok - 3.12.0~a6-2 +- Increase the test timeout during package build + * Wed Mar 08 2023 Tomáš Hrnčiar - 3.12.0~a6-1 - Update to 3.12.0a6