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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#76260: closed (Non-deterministic test failure in python-numba
 0.61.0)
Date: Tue, 25 Mar 2025 08:58:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 25 Mar 2025 09:56:55 +0100
with message-id <87ldstpjxk.fsf <at> gnu.org>
and subject line Re: Non-deterministic test failure in python-numba 0.61.0
has caused the debbugs.gnu.org bug report #76260,
regarding Non-deterministic test failure in python-numba 0.61.0
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
76260: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76260
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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’.


[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: 76260-done <at> debbugs.gnu.org, Jelle Licht <jlicht <at> fsfe.org>
Subject: Re: Non-deterministic test failure in python-numba 0.61.0
Date: Tue, 25 Mar 2025 09:56:55 +0100
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!


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.