GNU bug report logs - #76260
Non-deterministic test failure in python-numba 0.61.0

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Date: Thu, 13 Feb 2025 09:39:05 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jelle Licht <jlicht <at> fsfe.org>
To: Ludovic Courtès <ludovic.courtes <at> inria.fr>, 76260 <at> debbugs.gnu.org
Subject: bug#76260: Non-deterministic test failure in python-numba 0.61.0
Date: Tue, 04 Mar 2025 21:08:27 +0100
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





This bug report was last modified 59 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.