From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 51452@debbugs.gnu.org
Subject: bug#51452: Numpy fails test suite with illegal instruction error on Core 2 Duo
Date: Thu, 28 Oct 2021 00:32:02 -0400 [thread overview]
Message-ID: <87v91hahx9.fsf@gmail.com> (raw)
Hi,
While attempting to update numpy to 1.21.3, I encountered the following
failure only on an older Q6700 (Core2Duo) Intel processor:
--8<---------------cut here---------------start------------->8---
starting phase `check'
Building, see build.log...
... build in progress
... build in progress
... build in progress
Build OK
NumPy version 1.21.3
NumPy relaxed strides checking option: True
NumPy CPU features: SSE SSE2 SSE3 SSSE3* SSE41? POPCNT? SSE42? AVX? F16C? FMA3? AVX2? AVX512F? AVX512CD? AVX512_KNL? AVX512_KNM? AVX512_SKX? AVX512_CLX? AVX512_CNL? AVX512_ICL?
........................................................................ [ 0%]
..............................................................x......... [ 0%]
........................................................................ [ 1%]
........................................................x............... [ 1%]
........................................................................ [ 2%]
........................................................................ [ 2%]
........................................................................ [ 3%]
...........................................................ss........... [ 3%]
........................................................................ [ 4%]
..........................................s............................. [ 4%]
........................................................................ [ 5%]
x..........x..x..........x.............................................. [ 5%]
..............................................s......................... [ 5%]
..................................ssssssss.............................. [ 6%]
...................................................................ssss. [ 6%]
........................................................................ [ 7%]
........................................................................ [ 7%]
........................................................................ [ 8%]
........................................................................ [ 8%]
........................................................................ [ 9%]
........................................................................ [ 9%]
........................................................................ [ 10%]
........................................................................ [ 10%]
........................................................................ [ 11%]
........................................................................ [ 11%]
........................................................................ [ 11%]
........................................................................ [ 12%]
.Fatal Python error: Illegal instruction
Current thread 0x00007ffff7833340 (most recent call first):
File "<__array_function__ internals>", line 5 in dot
File "/tmp/guix-build-python-numpy-1.21.3.drv-0/numpy-1.21.3/build/testenv/lib/python3.9/site-packages/numpy/core/tests/test_einsum.py", line 340 in check_einsum_sums
File "/tmp/guix-build-python-numpy-1.21.3.drv-0/numpy-1.21.3/build/testenv/lib/python3.9/site-packages/numpy/core/tests/test_einsum.py", line 536 in test_einsum_sums_int8
File "/gnu/store/r5an02g9ddc5xncz87vyn8crib0j13bx-python-pytest-6.2.5/lib/python3.9/site-packages/_pytest/python.py", line 183 in pytest_pyfunc_call
File "/gnu/store/jl4mf8vm840bpcqb3ks4cpyymr83khnv-python-pluggy-0.13.1/lib/python3.9/site-packages/pluggy/callers.py", line 187 in _multicall
File "/gnu/store/jl4mf8vm840bpcqb3ks4cpyymr83khnv-python-pluggy-0.13.1/lib/python3.9/site-packages/pluggy/manager.py", line 84 in <lambda>
File "/gnu/store/jl4mf8vm840bpcqb3ks4cpyymr83khnv-python-pluggy-0.13.1/lib/python3.9/site-packages/pluggy/manager.py", line 93 in _hookexec
File "/gnu/store/jl4mf8vm840bpcqb3ks4cpyymr83khnv-python-pluggy-0.13.1/lib/python3.9/site-packages/pluggy/hooks.py", line 286 in __call__
File "/gnu/store/r5an02g9ddc5xncz87vyn8crib0j13bx-python-pytest-6.2.5/lib/python3.9/site-packages/_pytest/python.py", line 1641 in runtest
File "/gnu/store/r5an02g9ddc5xncz87vyn8crib0j13bx-python-pytest-6.2.5/lib/python3.9/site-packages/_pytest/runner.py", line 162 in pytest_runtest_call
File "/gnu/store/jl4mf8vm840bpcqb3ks4cpyymr83khnv-python-pluggy-0.13.1/lib/python3.9/site-packages/pluggy/callers.py", line 187 in _multicall
File "/gnu/store/jl4mf8vm840bpcqb3ks4cpyymr83khnv-python-pluggy-0.13.1/lib/python3.9/site-packages/pluggy/manager.py", line 84 in <lambda>
File "/gnu/store/jl4mf8vm840bpcqb3ks4cpyymr83khnv-python-pluggy-0.13.1/lib/python3.9/site-packages/pluggy/manager.py", line 93 in _hookexec
File "/gnu/store/jl4mf8vm840bpcqb3ks4cpyymr83khnv-python-pluggy-0.13.1/lib/python3.9/site-packages/pluggy/hooks.py", line 286 in __call__
File "/gnu/store/r5an02g9ddc5xncz87vyn8crib0j13bx-python-pytest-6.2.5/lib/python3.9/site-packages/_pytest/runner.py", line 255 in <lambda>
File "/gnu/store/r5an02g9ddc5xncz87vyn8crib0j13bx-python-pytest-6.2.5/lib/python3.9/site-packages/_pytest/runner.py", line 311 in from_call
File "/gnu/store/r5an02g9ddc5xncz87vyn8crib0j13bx-python-pytest-6.2.5/lib/python3.9/site-packages/_pytest/runner.py", line 254 in call_runtest_hook
File "/gnu/store/r5an02g9ddc5xncz87vyn8crib0j13bx-python-pytest-6.2.5/lib/python3.9/site-packages/_pytest/runner.py", line 215 in call_and_report
File "/gnu/store/r5an02g9ddc5xncz87vyn8crib0j13bx-python-pytest-6.2.5/lib/python3.9/site-packages/_pytest/runner.py", line 126 in runtestprotocol
File "/gnu/store/r5an02g9ddc5xncz87vyn8crib0j13bx-python-pytest-6.2.5/lib/python3.9/site-packages/_pytest/runner.py", line 109 in pytest_runtest_protocol
File "/gnu/store/jl4mf8vm840bpcqb3ks4cpyymr83khnv-python-pluggy-0.13.1/lib/python3.9/site-packages/pluggy/callers.py", line 187 in _multicall
File "/gnu/store/jl4mf8vm840bpcqb3ks4cpyymr83khnv-python-pluggy-0.13.1/lib/python3.9/site-packages/pluggy/manager.py", line 84 in <lambda>
File "/gnu/store/jl4mf8vm840bpcqb3ks4cpyymr83khnv-python-pluggy-0.13.1/lib/python3.9/site-packages/pluggy/manager.py", line 93 in _hookexec
File "/gnu/store/jl4mf8vm840bpcqb3ks4cpyymr83khnv-python-pluggy-0.13.1/lib/python3.9/site-packages/pluggy/hooks.py", line 286 in __call__
File "/gnu/store/r5an02g9ddc5xncz87vyn8crib0j13bx-python-pytest-6.2.5/lib/python3.9/site-packages/_pytest/main.py", line 348 in pytest_runtestloop
File "/gnu/store/jl4mf8vm840bpcqb3ks4cpyymr83khnv-python-pluggy-0.13.1/lib/python3.9/site-packages/pluggy/callers.py", line 187 in _multicall
File "/gnu/store/jl4mf8vm840bpcqb3ks4cpyymr83khnv-python-pluggy-0.13.1/lib/python3.9/site-packages/pluggy/manager.py", line 84 in <lambda>
File "/gnu/store/jl4mf8vm840bpcqb3ks4cpyymr83khnv-python-pluggy-0.13.1/lib/python3.9/site-packages/pluggy/manager.py", line 93 in _hookexec
File "/gnu/store/jl4mf8vm840bpcqb3ks4cpyymr83khnv-python-pluggy-0.13.1/lib/python3.9/site-packages/pluggy/hooks.py", line 286 in __call__
File "/gnu/store/r5an02g9ddc5xncz87vyn8crib0j13bx-python-pytest-6.2.5/lib/python3.9/site-packages/_pytest/main.py", line 323 in _main
File "/gnu/store/r5an02g9ddc5xncz87vyn8crib0j13bx-python-pytest-6.2.5/lib/python3.9/site-packages/_pytest/main.py", line 269 in wrap_session
File "/gnu/store/r5an02g9ddc5xncz87vyn8crib0j13bx-python-pytest-6.2.5/lib/python3.9/site-packages/_pytest/main.py", line 316 in pytest_cmdline_main
File "/gnu/store/jl4mf8vm840bpcqb3ks4cpyymr83khnv-python-pluggy-0.13.1/lib/python3.9/site-packages/pluggy/callers.py", line 187 in _multicall
File "/gnu/store/jl4mf8vm840bpcqb3ks4cpyymr83khnv-python-pluggy-0.13.1/lib/python3.9/site-packages/pluggy/manager.py", line 84 in <lambda>
File "/gnu/store/jl4mf8vm840bpcqb3ks4cpyymr83khnv-python-pluggy-0.13.1/lib/python3.9/site-packages/pluggy/manager.py", line 93 in _hookexec
File "/gnu/store/jl4mf8vm840bpcqb3ks4cpyymr83khnv-python-pluggy-0.13.1/lib/python3.9/site-packages/pluggy/hooks.py", line 286 in __call__
File "/gnu/store/r5an02g9ddc5xncz87vyn8crib0j13bx-python-pytest-6.2.5/lib/python3.9/site-packages/_pytest/config/__init__.py", line 162 in main
File "/tmp/guix-build-python-numpy-1.21.3.drv-0/numpy-1.21.3/build/testenv/lib/python3.9/site-packages/numpy/_pytesttester.py", line 197 in __call__
File "/tmp/guix-build-python-numpy-1.21.3.drv-0/numpy-1.21.3/./runtests.py", line 383 in main
File "/tmp/guix-build-python-numpy-1.21.3.drv-0/numpy-1.21.3/./runtests.py", line 700 in <module>
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "./runtests.py" arguments: ("-j" "4") exit-status: #f term-signal: 4 stop-signal: #f>
phase `check' failed after 458.4 seconds
--8<---------------cut here---------------end--------------->8---
I'm not sure what's at cause; I have the same problem when testing
against the current 1.17.3.
Thanks,
Maxim
next reply other threads:[~2021-10-28 4:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-28 4:32 Maxim Cournoyer [this message]
2021-10-28 5:00 ` bug#51452: Numpy fails test suite with illegal instruction error on Core 2 Duo Thiago Jung Bauermann via Bug reports for GNU Guix
2021-10-29 20:16 ` Maxim Cournoyer
2021-11-11 19:21 ` Maxim Cournoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v91hahx9.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=51452@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).