Closed ggardet closed 2 years ago
Hi @ggardet, thank you for pointing out this bug. The team will work on finding a fix.
Hi @ggardet , would you be able to check if you can build the branch from #296?
[ 138s] thewalrus/tests/test_hafnian.py::TestHafnianWrapper::test_real_wrapper Fatal Python error: /var/tmp/rpm-tmp.KxmHrY: line 39: 2390 Segmentation fault
And also on ppc64le:
[ 303s] thewalrus/tests/test_hafnian.py::TestHafnianWrapper::test_real_wrapper Fatal Python error: Segmentation fault
[ 303s]
[ 303s] Thread 0x00007fffa8a938c0 (most recent call first):
[ 303s] File "/home/abuild/rpmbuild/BUILDROOT/python-thewalrus-0.16.2-16.1.ppc64le/usr/lib64/python3.9/site-packages/thewalrus/_hafnian.py", line 214 in hafnian
[ 303s] File "/home/abuild/rpmbuild/BUILD/thewalrus-0.16.2/thewalrus/tests/test_hafnian.py", line 135 in test_real_wrapper
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/python.py", line 183 in pytest_pyfunc_call
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/python.py", line 1641 in runtest
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 162 in pytest_runtest_call
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 255 in <lambda>
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 311 in from_call
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 254 in call_runtest_hook
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 215 in call_and_report
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 126 in runtestprotocol
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 109 in pytest_runtest_protocol
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 348 in pytest_runtestloop
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 323 in _main
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 269 in wrap_session
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 316 in pytest_cmdline_main
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/config/__init__.py", line 162 in main
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/config/__init__.py", line 185 in console_main
[ 303s] File "/usr/bin/pytest-3.9", line 33 in <module>
[ 303s] /var/tmp/rpm-tmp.puaZ07: line 39: 2470 Segmentation fault PYTHONPATH=${PYTHONPATH:+$PYTHONPATH:}/home/abuild/rpmbuild/BUILDROOT/python-thewalrus-0.16.2-16.1.ppc64le/usr/lib64/python3.9/site-packages
Thank you for checking @ggardet !
Closing this since it should be fixed in the latest release. The Walrus no longer contains any C++ dependencies, and should work fine on all platforms. @ggardet Let me know if you're still having issues.
Expected behavior
Build fails on aarch64, but it should succeed.
Actual behavior
Build error log:
Reproduces how often
100% on openSUSE Tumbleweed aarch64.
System information
Source code
No response
Tracebacks
No response
Additional information
No response