Open keszybz opened 1 year ago
With --deselect
to skip the first failing test:
tests/test_open.py::test_open[w-cparams0-dparams0-0-50-int16-schunk.b2frame-True] Fatal Python error: Segmentation fault
Current thread 0x000003ffabef7720 (most recent call first):
File "/builddir/build/BUILDROOT/python-blosc2-2.2.2-4.fc39.s390x/usr/lib64/python3.12/site-packages/blosc2/schunk.py", line 926 in open
File "/builddir/build/BUILD/python-blosc2-2.2.2/tests/test_open.py", line 42 in test_open
File "/usr/lib/python3.12/site-packages/_pytest/python.py", line 194 in pytest_pyfunc_call
File "/usr/lib/python3.12/site-packages/pluggy/_callers.py", line 39 in _multicall
File "/usr/lib/python3.12/site-packages/pluggy/_manager.py", line 80 in _hookexec
File "/usr/lib/python3.12/site-packages/pluggy/_hooks.py", line 265 in __call__
File "/usr/lib/python3.12/site-packages/_pytest/python.py", line 1799 in runtest
File "/usr/lib/python3.12/site-packages/_pytest/runner.py", line 169 in pytest_runtest_call
File "/usr/lib/python3.12/site-packages/pluggy/_callers.py", line 39 in _multicall
File "/usr/lib/python3.12/site-packages/pluggy/_manager.py", line 80 in _hookexec
File "/usr/lib/python3.12/site-packages/pluggy/_hooks.py", line 265 in __call__
File "/usr/lib/python3.12/site-packages/_pytest/runner.py", line 262 in <lambda>
File "/usr/lib/python3.12/site-packages/_pytest/runner.py", line 341 in from_call
File "/usr/lib/python3.12/site-packages/_pytest/runner.py", line 261 in call_runtest_hook
File "/usr/lib/python3.12/site-packages/_pytest/runner.py", line 222 in call_and_report
File "/usr/lib/python3.12/site-packages/_pytest/runner.py", line 133 in runtestprotocol
File "/usr/lib/python3.12/site-packages/_pytest/runner.py", line 114 in pytest_runtest_protocol
File "/usr/lib/python3.12/site-packages/pluggy/_callers.py", line 39 in _multicall
File "/usr/lib/python3.12/site-packages/pluggy/_manager.py", line 80 in _hookexec
File "/usr/lib/python3.12/site-packages/pluggy/_hooks.py", line 265 in __call__
File "/usr/lib/python3.12/site-packages/_pytest/main.py", line 348 in pytest_runtestloop
File "/usr/lib/python3.12/site-packages/pluggy/_callers.py", line 39 in _multicall
File "/usr/lib/python3.12/site-packages/pluggy/_manager.py", line 80 in _hookexec
File "/usr/lib/python3.12/site-packages/pluggy/_hooks.py", line 265 in __call__
File "/usr/lib/python3.12/site-packages/_pytest/main.py", line 323 in _main
File "/usr/lib/python3.12/site-packages/_pytest/main.py", line 269 in wrap_session
File "/usr/lib/python3.12/site-packages/_pytest/main.py", line 316 in pytest_cmdline_main
File "/usr/lib/python3.12/site-packages/pluggy/_callers.py", line 39 in _multicall
File "/usr/lib/python3.12/site-packages/pluggy/_manager.py", line 80 in _hookexec
File "/usr/lib/python3.12/site-packages/pluggy/_hooks.py", line 265 in __call__
File "/usr/lib/python3.12/site-packages/_pytest/config/__init__.py", line 166 in main
File "/usr/lib/python3.12/site-packages/_pytest/config/__init__.py", line 189 in console_main
File "/usr/bin/pytest", line 8 in <module>
Extension modules: numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, msgpack._cmsgpack, blosc2.blosc2_ext, ndindex.ndindex, ndindex.shapetools, ndindex._crt, ndindex.subindex_helpers, ndindex.array, ndindex.ellipsis, ndindex.newaxis, ndindex.integer, ndindex.booleanarray, ndindex.integerarray, ndindex.tuple, ndindex.slice, ndindex.chunking, ndindex._version, ndindex, psutil._psutil_linux, psutil._psutil_posix (total: 32)
/var/tmp/rpm-tmp.YFmUyS: line 57: 708 Segmentation fault (core dumped) CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}" PATH="/builddir/build/BUILDROOT/python-blosc2-2.2.2-4.fc39.s390x/usr/bin:$PATH" PYTHONPATH="${PYTHONPATH:-/builddir/build/BUILDROOT/python-blosc2-2.2.2-4.fc39.s390x/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-blosc2-2.2.2-4.fc39.s390x/usr/lib/python3.12/site-packages}" PYTHONDONTWRITEBYTECODE=1 PYTEST_ADDOPTS="${PYTEST_ADDOPTS:-} --ignore=/builddir/build/BUILD/python-blosc2-2.2.2/.pyproject-builddir" PYTEST_XDIST_AUTO_NUM_WORKERS=3 /usr/bin/pytest tests/ "${OPTIONS[@]}" -v
This issue stems from https://github.com/Blosc/c-blosc2/issues/467
When building the Fedora package for version 2.2.2, s390x fails with:
This is with python3-3.12.0~b4-1.fc39 and python3-numpy-1:1.24.3-2.fc39.
Unfortunately I can't provide much more information than this, I don't have access to the machine. I'd be happy to try patches though :)