GNU bug report logs -
#76260
Non-deterministic test failure in python-numba 0.61.0
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 76260 in the body.
You can then email your comments to 76260 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#76260
; Package
guix
.
(Thu, 13 Feb 2025 09:39:07 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ludovic Courtès <ludovic.courtes <at> inria.fr>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Thu, 13 Feb 2025 09:39:08 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
The test suite of python-numba 0.61.0 appears to fail
non-deterministically, possibly depending on the underlying CPU:
--8<---------------cut here---------------start------------->8---
======================================================================
ERROR: test_wrapper_address_protocol_libm (numba.tests.test_function_type.TestFunctionTypeExtensions) [<object object at 0x7ffe6ed6d120>] (jit={'nopython': True})
Call cos and sinf from standard math library.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/gnu/store/72yrh3zapdhq2ka5s0d9jlmx3ma0b0c3-python-numba-0.61.0/lib/python3.10/site-packages/numba/tests/test_function_type.py", line 628, in test_wrapper_address_protocol_libm
self.assertEqual(jit_(myeval)(mycos, 0.0), 1.0)
File "/gnu/store/72yrh3zapdhq2ka5s0d9jlmx3ma0b0c3-python-numba-0.61.0/lib/python3.10/site-packages/numba/core/dispatcher.py", line 424, in _compile_for_args
error_rewrite(e, 'typing')
File "/gnu/store/72yrh3zapdhq2ka5s0d9jlmx3ma0b0c3-python-numba-0.61.0/lib/python3.10/site-packages/numba/core/dispatcher.py", line 365, in error_rewrite
raise e.with_traceback(None)
numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
non-precise type pyobject
During: typing of argument at /gnu/store/72yrh3zapdhq2ka5s0d9jlmx3ma0b0c3-python-numba-0.61.0/lib/python3.10/site-packages/numba/tests/test_function_type.py (619)
File "../gnu/store/72yrh3zapdhq2ka5s0d9jlmx3ma0b0c3-python-numba-0.61.0/lib/python3.10/site-packages/numba/tests/test_function_type.py", line 619:
def myeval(f, x):
^
During: Pass nopython_type_inference
----------------------------------------------------------------------
Ran 10498 tests in 2473.476s
FAILED (errors=1, skipped=706, expected failures=18)
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "python3" arguments: ("-m" "numba.runtests" "-v" "-m") exit-status: 1 term-signal: #f stop-signal: #f>
phase `check' failed after 2479.6 seconds
command "python3" "-m" "numba.runtests" "-v" "-m" failed with status 1
build process 18 exited with status 256
builder for `/gnu/store/39yljlzxy92x7gq74w5hv25sqwapdsz6-python-numba-0.61.0.drv' failed with exit code 1
--8<---------------cut here---------------end--------------->8---
(From <https://ci.guix.gnu.org/build/8994434/details>.)
This is tracked upstream at
<https://github.com/numba/numba/issues/8282>.
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#76260
; Package
guix
.
(Tue, 04 Mar 2025 20:09:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 76260 <at> debbugs.gnu.org (full text, mbox):
Ludovic Courtès <ludovic.courtes <at> inria.fr> writes:
> Hello,
>
> The test suite of python-numba 0.61.0 appears to fail
> non-deterministically, possibly depending on the underlying CPU:
>
> --8<---------------cut here---------------start------------->8---
> ======================================================================
> ERROR: test_wrapper_address_protocol_libm (numba.tests.test_function_type.TestFunctionTypeExtensions) [<object object at 0x7ffe6ed6d120>] (jit={'nopython': True})
> Call cos and sinf from standard math library.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/gnu/store/72yrh3zapdhq2ka5s0d9jlmx3ma0b0c3-python-numba-0.61.0/lib/python3.10/site-packages/numba/tests/test_function_type.py", line 628, in test_wrapper_address_protocol_libm
> self.assertEqual(jit_(myeval)(mycos, 0.0), 1.0)
> File "/gnu/store/72yrh3zapdhq2ka5s0d9jlmx3ma0b0c3-python-numba-0.61.0/lib/python3.10/site-packages/numba/core/dispatcher.py", line 424, in _compile_for_args
> error_rewrite(e, 'typing')
> File "/gnu/store/72yrh3zapdhq2ka5s0d9jlmx3ma0b0c3-python-numba-0.61.0/lib/python3.10/site-packages/numba/core/dispatcher.py", line 365, in error_rewrite
> raise e.with_traceback(None)
> numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
> non-precise type pyobject
> During: typing of argument at /gnu/store/72yrh3zapdhq2ka5s0d9jlmx3ma0b0c3-python-numba-0.61.0/lib/python3.10/site-packages/numba/tests/test_function_type.py (619)
>
> File "../gnu/store/72yrh3zapdhq2ka5s0d9jlmx3ma0b0c3-python-numba-0.61.0/lib/python3.10/site-packages/numba/tests/test_function_type.py", line 619:
>
> def myeval(f, x):
> ^
>
> During: Pass nopython_type_inference
>
> ----------------------------------------------------------------------
> Ran 10498 tests in 2473.476s
>
> FAILED (errors=1, skipped=706, expected failures=18)
> error: in phase 'check': uncaught exception:
> %exception #<&invoke-error program: "python3" arguments: ("-m" "numba.runtests" "-v" "-m") exit-status: 1 term-signal: #f stop-signal: #f>
> phase `check' failed after 2479.6 seconds
> command "python3" "-m" "numba.runtests" "-v" "-m" failed with status 1
> build process 18 exited with status 256
> builder for `/gnu/store/39yljlzxy92x7gq74w5hv25sqwapdsz6-python-numba-0.61.0.drv' failed with exit code 1
> --8<---------------cut here---------------end--------------->8---
Would it be possible to disable this test?
There are quite some packages blocked by this breakage:
guix refresh -l python-numba
Building the following 60 packages would ensure 145 dependent packages are rebuilt...
Kind regards,
Jelle
Information forwarded
to
bug-guix <at> gnu.org
:
bug#76260
; Package
guix
.
(Mon, 10 Mar 2025 08:30:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 76260 <at> debbugs.gnu.org (full text, mbox):
Hi Jelle,
(Cc: Python team.)
Jelle Licht <jlicht <at> fsfe.org> skribis:
> Ludovic Courtès <ludovic.courtes <at> inria.fr> writes:
[...]
>> numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
>> non-precise type pyobject
>> During: typing of argument at /gnu/store/72yrh3zapdhq2ka5s0d9jlmx3ma0b0c3-python-numba-0.61.0/lib/python3.10/site-packages/numba/tests/test_function_type.py (619)
>>
>> File "../gnu/store/72yrh3zapdhq2ka5s0d9jlmx3ma0b0c3-python-numba-0.61.0/lib/python3.10/site-packages/numba/tests/test_function_type.py", line 619:
>>
>> def myeval(f, x):
>> ^
>>
>> During: Pass nopython_type_inference
>>
>> ----------------------------------------------------------------------
>> Ran 10498 tests in 2473.476s
>>
>> FAILED (errors=1, skipped=706, expected failures=18)
>> error: in phase 'check': uncaught exception:
>> %exception #<&invoke-error program: "python3" arguments: ("-m" "numba.runtests" "-v" "-m") exit-status: 1 term-signal: #f stop-signal: #f>
>> phase `check' failed after 2479.6 seconds
>> command "python3" "-m" "numba.runtests" "-v" "-m" failed with status 1
>> build process 18 exited with status 256
>> builder for `/gnu/store/39yljlzxy92x7gq74w5hv25sqwapdsz6-python-numba-0.61.0.drv' failed with exit code 1
>> --8<---------------cut here---------------end--------------->8---
>
> Would it be possible to disable this test?
> There are quite some packages blocked by this breakage:
>
> guix refresh -l python-numba
> Building the following 60 packages would ensure 145 dependent packages are rebuilt...
I’m not qualified so I defer to the Python team, but I agree that it
would be nice to work around it somehow.
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#76260
; Package
guix
.
(Tue, 11 Mar 2025 07:57:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 76260 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
The patch from #76917 had a positive effect and the most dependent packages are
rebuilt successfully now <https://ci.guix.gnu.org/eval/2046482>.
Feel free to close if you think it's resolved.
--
Oleg
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Tue, 25 Mar 2025 08:58:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ludovic Courtès <ludovic.courtes <at> inria.fr>
:
bug acknowledged by developer.
(Tue, 25 Mar 2025 08:58:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 76260-done <at> debbugs.gnu.org (full text, mbox):
Sharlatan Hellseher <sharlatanus <at> gmail.com> skribis:
> The patch from #76917 had a positive effect and the most dependent packages are
> rebuilt successfully now <https://ci.guix.gnu.org/eval/2046482>.
>
> Feel free to close if you think it's resolved.
Closing, thanks!
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 22 Apr 2025 11:24:13 GMT)
Full text and
rfc822 format available.
This bug report was last modified 16 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.