Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931908 - dev-lang/python-3.13.0_beta1_p1: test.test_exceptions.ExceptionTests.test_recursion_normalizing_infinite_exception fails on ppc64, sparc, hppa
Summary: dev-lang/python-3.13.0_beta1_p1: test.test_exceptions.ExceptionTests.test_rec...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 931888
  Show dependency tree
 
Reported: 2024-05-14 15:27 UTC by matoro
Modified: 2024-05-25 04:09 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (ppc64 PGO) (file_931908.txt,275.62 KB, text/plain)
2024-05-14 15:27 UTC, matoro
Details
build.log and emerge --info (sparc PGO) (file_931908.txt,325.35 KB, text/plain)
2024-05-14 15:28 UTC, matoro
Details
build.log and emerge --info (hppa PGO) (file_931908.txt,309.28 KB, text/plain)
2024-05-14 15:28 UTC, matoro
Details
build.log and emerge --info (sparc test) (file_931908.txt,438.92 KB, text/plain)
2024-05-14 15:29 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-05-14 15:27:23 UTC
This fails with a segfault, but it's subprocessed out so no traceback is available without checking the core.

This does NOT fail on ppc64le.  On ppc64 BE and sparc, it's reproducible both during PGO runs and a normal testsuite.  On hppa, it fails only during PGO.

The use of "recursion" in the title may point to a possible stack size issue.

======================================================================
FAIL: test_recursion_normalizing_infinite_exception (test.test_exceptions.ExceptionTests.test_recursion_normalizing_infinite_exception)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.13.0_beta1_p1/work/Python-3.13.0b1/Lib/test/test_exceptions.py", line 1455, in test_recursion_normalizing_infinite_exception
    self.assertEqual(rc, 1)
    ~~~~~~~~~~~~~~~~^^^^^^^
AssertionError: -11 != 1

----------------------------------------------------------------------
Ran 98 tests in 4.129s

FAILED (failures=1, skipped=3)
test test_exceptions failed
Comment 1 matoro archtester 2024-05-14 15:27:46 UTC
Created attachment 892919 [details]
build.log and emerge --info (ppc64 PGO)
Comment 2 matoro archtester 2024-05-14 15:28:04 UTC
Created attachment 892920 [details]
build.log and emerge --info (sparc PGO)
Comment 3 matoro archtester 2024-05-14 15:28:27 UTC
Created attachment 892921 [details]
build.log and emerge --info (hppa PGO)
Comment 4 matoro archtester 2024-05-14 15:29:19 UTC
Created attachment 892922 [details]
build.log and emerge --info (sparc test)
Comment 5 matoro archtester 2024-05-14 15:29:48 UTC
Oops sorry, on ppc64 it is also PGO-only.  Only sparc shows it on both PGO and regular test.
Comment 6 Larry the Git Cow gentoo-dev 2024-05-25 04:09:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a39dad26ea2b0fe8bb8f0be5c1cd231c664fd4d

commit 8a39dad26ea2b0fe8bb8f0be5c1cd231c664fd4d
Author:     Matoro Mahri <matoro_gentoo@matoro.tk>
AuthorDate: 2024-05-23 20:49:21 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-05-25 04:09:19 +0000

    dev-lang/python: skip failing tests for niche arches
    
    Bug: https://bugs.gentoo.org/931888
    Closes: https://bugs.gentoo.org/931908
    Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
    Closes: https://github.com/gentoo/gentoo/pull/36807
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-lang/python/python-3.13.0_beta1_p2.ebuild | 94 ++++++++++++++++++++++++---
 1 file changed, 85 insertions(+), 9 deletions(-)