Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942426 - dev-python/cython-3.0.11 - fails runTest (__main__.EndToEndTest.runTest) and fails to complete testsuite
Summary: dev-python/cython-3.0.11 - fails runTest (__main__.EndToEndTest.runTest) and ...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-10-28 22:45 UTC by ernsteiswuerfel
Modified: 2024-10-28 22:50 UTC (History)
1 user (show)

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


Attachments
build.log.xz (ppc, 3.0.11) (cython-3.0.11:20241028-085328.log.xz,92.91 KB, application/x-xz)
2024-10-28 22:45 UTC, ernsteiswuerfel
Details
build.log.xz (ppc, 3.0.10) (cython-3.0.10:20241028-185748.log.xz,102.79 KB, application/x-xz)
2024-10-28 22:46 UTC, ernsteiswuerfel
Details
emerge --info (file_942426.txt,5.84 KB, text/plain)
2024-10-28 22:46 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2024-10-28 22:45:53 UTC
Created attachment 907199 [details]
build.log.xz (ppc, 3.0.11)

On ppc current cython 3.0.10 and 3.0.11 fail to complete testsuite, running for several hours only showing these "#### 2024-10-28 12:12:06.128567", etc. timestamps.

[...]
runTest (__main__.CythonRunTestCase.runTest)
[1] compiling (cpp/cy2) and running cppwrap ... DoubleKeeper (cppwrap)
Doctest: cppwrap.DoubleKeeper ... ok
doublefunc (cppwrap)
Doctest: cppwrap.doublefunc ... ok
transmogrify_from_cpp (cppwrap)
Doctest: cppwrap.transmogrify_from_cpp ... ok
voidfunc (cppwrap)
Doctest: cppwrap.voidfunc ... ok

======================================================================
FAIL: runTest (__main__.EndToEndTest.runTest)
[1] End-to-end coverage_cmd_src_pkg_layout
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/cython-3.0.11/work/cython-3.0.11/runtests.py", line 2095, in runTest
    self.assertEqual(0, res, "non-zero exit status, last output was:\n%r\n-- stdout:%s\n-- stderr:%s\n" % (
AssertionError: 0 != 1 : non-zero exit status, last output was:
'/usr/bin/python3.12 -m pip install .'
-- stdout:
-- stderr:error: externally-managed-environment

× This environment is externally managed
╰─> 
    The system-wide Python installation in Gentoo should be maintained
    using the system package manager (e.g. emerge).
    
    If the package in question is not packaged for Gentoo, please
    consider installing it inside a virtual environment, e.g.:
    
    python -m venv /path/to/venv
    . /path/to/venv/bin/activate
    pip install mypackage
    
    To exit the virtual environment, run:
    
    deactivate
    
    The virtual environment is not deleted, and can be re-entered by
    re-sourcing the activate file.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.



----------------------------------------------------------------------
Ran 7547 tests in 8036.223s

FAILED (failures=1, skipped=16)
Following tests excluded because of missing dependencies on your system:
   run.numpy_pythran
   run.numpy_pythran_unit
   run.test_exceptions
FAILED (1/2)
ALL DONE (1/2)

#### 2024-10-28 12:12:06.128567

#### 2024-10-28 12:12:16.158388

#### 2024-10-28 12:12:26.186493

#### 2024-10-28 12:12:36.206186

#### 2024-10-28 12:12:46.220736
[...]

Up to that point 3.0.11 shows the __main__.EndToEndTest.runTest above, 3.0.10 shows a few more.
Comment 1 ernsteiswuerfel archtester 2024-10-28 22:46:16 UTC
Created attachment 907200 [details]
build.log.xz (ppc, 3.0.10)
Comment 2 ernsteiswuerfel archtester 2024-10-28 22:46:33 UTC
Created attachment 907201 [details]
emerge --info