Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931888 - [TRACKER] dev-lang/python:3.13[pgo] failures
Summary: [TRACKER] dev-lang/python:3.13[pgo] failures
Status: CONFIRMED
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, Tracker
Depends on: 931844 933840 939403 939463 941156 931826 931908 938662
Blocks:
  Show dependency tree
 
Reported: 2024-05-13 21:27 UTC by matoro
Modified: 2024-10-11 02:06 UTC (History)
2 users (show)

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


Attachments
build log (dev-lang:python-3.13.0_beta1_p1:20240514-200005.log,294.67 KB, text/plain)
2024-05-14 21:25 UTC, Gary E. Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-05-13 21:27:22 UTC
Tracker bug.

With https://github.com/python/cpython/pull/110295 python 3.13 changes the behavior of USE=pgo so that test failures are now fatal to compile phase.  Quite a lot of the python test suite is flaky or fragile especially on niche architectures so this exposes these test failures to a much wider range of users.
Comment 1 Gary E. Miller 2024-05-13 22:31:42 UTC
And some not so niche arches.
Comment 2 Larry the Git Cow gentoo-dev 2024-05-14 05:48:03 UTC
The bug has been referenced in the following commit(s):

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

commit bb1a5195faf73a9e9f014a7b660e1c422baae5bd
Author:     Matoro Mahri <matoro_gentoo@matoro.tk>
AuthorDate: 2024-05-13 21:30:45 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-05-14 05:47:50 +0000

    dev-lang/python: make test failures verbose, both pgo & src_test
    
    Test failure logs are very terse otherwise and hard to tell what's going
    on.
    
    Bug: https://bugs.gentoo.org/931888
    Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
    Closes: https://github.com/gentoo/gentoo/pull/36667
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-lang/python/python-3.13.0_beta1_p1.ebuild | 2 ++
 1 file changed, 2 insertions(+)
Comment 3 Gary E. Miller 2024-05-14 21:25:10 UTC
Created attachment 892940 [details]
build log

New build log, after the verbose log patch.

Odd, I don't seem to be out of disk?
Comment 4 Gary E. Miller 2024-05-14 21:25:35 UTC
======================================================================
ERROR: test_fds (test.test_os.ExtendedAttributeTests.test_fds)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.13.0_beta1_p1/work/Python-3.13.0b1/Li
b/test/test_os.py", line 3947, in test_fds
    self._check_xattrs(getxattr, setxattr, removexattr, listxattr)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/tmp/portage/dev-lang/python-3.13.0_beta1_p1/work/Python-3.13.0b1/Li
b/test/test_os.py", line 3920, in _check_xattrs
    self._check_xattrs_str(str, *args, **kwargs)
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/var/tmp/portage/dev-lang/python-3.13.0_beta1_p1/work/Python-3.13.0b1/Lib/test/test_os.py", line 3911, in _check_xattrs_str
    setxattr(fn, s("user.test"), b"a"*1024, **kwargs)
    ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/tmp/portage/dev-lang/python-3.13.0_beta1_p1/work/Python-3.13.0b1/Lib/test/test_os.py", line 3940, in setxattr
    os.setxattr(fp.fileno(), *args)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device: 3


Time to clean out some cruft I guess...
Comment 5 Gary E. Miller 2024-05-14 22:00:21 UTC
I have 73G free in /var/tmp.  6G free in /tmp/.  Not enough?
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-15 14:55:18 UTC
Please file new bugs and have them block this one.
Comment 7 Gary E. Miller 2024-05-15 19:57:17 UTC
> Please file new bugs and have them block this one.

Already did, before this one was created, and already linked to here: 931844

Seemed like 831844 got redirected to here...

I'll copy on that one.
Comment 8 Larry the Git Cow gentoo-dev 2024-05-25 04:09:24 UTC
The bug has been referenced in 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(-)
Comment 9 Larry the Git Cow gentoo-dev 2024-05-29 12:12:59 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=538db5c4dd47d9383cbeb8a3f23757a7477213d6

commit 538db5c4dd47d9383cbeb8a3f23757a7477213d6
Author:     Matoro Mahri <matoro_gentoo@matoro.tk>
AuthorDate: 2024-05-28 15:45:16 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-05-29 11:52:28 +0000

    dev-lang/python: arch-specific test skips for alpha
    
    Bug: https://bugs.gentoo.org/931888
    Bug: https://bugs.gentoo.org/653850
    Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
    Closes: https://github.com/gentoo/gentoo/pull/36875
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-lang/python/python-3.13.0_beta1_p3.ebuild | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)