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


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: bug-guix <at> gnu.org
Subject: Non-deterministic test failure in python-numba 0.61.0
Date: Thu, 13 Feb 2025 10:38:07 +0100
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’.




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.