commit: 82692290c64f6dd2f11f25625489dab7f7749fab Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Apr 5 23:53:32 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Apr 6 00:31:47 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82692290
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 <Martin.Jansa <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> dev-lang/python/python-3.10.11.ebuild | 7 ++++++- dev-lang/python/python-3.11.3.ebuild | 7 ++++++- dev-lang/python/python-3.12.0_alpha7.ebuild | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/dev-lang/python/python-3.10.11.ebuild b/dev-lang/python/python-3.10.11.ebuild index 0e9df1369b1b..36d2fa653fd4 100644 --- a/dev-lang/python/python-3.10.11.ebuild +++ b/dev-lang/python/python-3.10.11.ebuild @@ -180,9 +180,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) 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) diff --git a/dev-lang/python/python-3.12.0_alpha7.ebuild b/dev-lang/python/python-3.12.0_alpha7.ebuild index 94d6f02c4f80..d5837ceffb0c 100644 --- a/dev-lang/python/python-3.12.0_alpha7.ebuild +++ b/dev-lang/python/python-3.12.0_alpha7.ebuild @@ -162,9 +162,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)
