From 82692290c64f6dd2f11f25625489dab7f7749fab Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 6 Apr 2023 00:53:32 +0100 Subject: dev-lang/python: add timeout for PGO task for >= 3.10 Add a timeout matching the upstream default PROFILE_TASK given how often we've seen hangs here. Bug: https://bugs.gentoo.org/828535 Bug: https://bugs.gentoo.org/850154 Bug: https://bugs.gentoo.org/900429 Bug: https://bugs.gentoo.org/903890 Thanks-to: Martin Jansa Signed-off-by: Sam James --- dev-lang/python/python-3.11.3.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'dev-lang/python/python-3.11.3.ebuild') diff --git a/dev-lang/python/python-3.11.3.ebuild b/dev-lang/python/python-3.11.3.ebuild index 83f671a8ef6f..f575d640f0dd 100644 --- a/dev-lang/python/python-3.11.3.ebuild +++ b/dev-lang/python/python-3.11.3.ebuild @@ -167,9 +167,14 @@ src_configure() { -m test "-j$(makeopts_jobs)" --pgo-extended - -x test_gdb -u-network + # We use a timeout because of how often we've had hang issues + # here. It also matches the default upstream PROFILE_TASK. + --timeout 1200 + + -x test_gdb + # All of these seem to occasionally hang for PGO inconsistently # They'll even hang here but be fine in src_test sometimes. # bug #828535 (and related: bug #788022) -- cgit v1.2.3