Bug#1014690: llvmlite breaks numba autopkgtest: segmentation fault
Paul Gevers
elbrus at debian.org
Sun Jul 10 12:10:10 BST 2022
Source: llvmlite, numba
Control: found -1 llvmlite/0.38.1-2
Control: found -1 numba/0.55.2+dfsg-1
Severity: serious
Tags: sid bookworm
User: debian-ci at lists.debian.org
Usertags: breaks needs-update
Dear maintainer(s),
With a recent upload of llvmlite the autopkgtest of numba fails in
testing when that autopkgtest is run with the binary packages of
llvmlite from unstable. It passes when run with only packages from
testing. In tabular form:
pass fail
llvmlite from testing 0.38.1-2
numba from testing 0.55.2+dfsg-1
all others from testing from testing
I copied some of the output at the bottom of this report.
Currently this regression is blocking the migration of llvmlite to
testing [1]. Due to the nature of this issue, I filed this bug report
against both packages. Can you please investigate the situation and
reassign the bug to the right package?
More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
Paul
[1] https://qa.debian.org/excuses.php?package=llvmlite
https://ci.debian.net/data/autopkgtest/testing/arm64/n/numba/23504675/log.gz
[*] Testing with python3.9:
/usr/lib/python3/dist-packages/numba/tests/npyufunc/test_gufunc.py:5:
DeprecationWarning: numpy.core.umath_tests is an internal NumPy module
and should not be imported. It will be removed in a future NumPy release.
import numpy.core.umath_tests as ut
/usr/lib/python3/dist-packages/numba/tests/test_llvm_version_check.py:1:
DeprecationWarning: the imp module is deprecated in favour of importlib;
see the module's documentation for alternative uses
import imp
skipped CUDA tests
skipped CUDA tests
Parallel: 9022. Serial: 652
test (numba.tests.gdb.test_array_arg.Test) ... skipped 'needs subprocess
harness'
test (numba.tests.gdb.test_basic.Test) ... skipped 'needs subprocess
harness'
test (numba.tests.gdb.test_break_on_symbol.Test) ... skipped 'needs
subprocess harness'
test (numba.tests.gdb.test_conditional_breakpoint.Test) ... skipped
'needs subprocess harness'
test_axis (numba.tests.npyufunc.test_gufunc.TestGUFunc) ... ok
test_axis (numba.tests.npyufunc.test_gufunc.TestDynamicGUFunc) ... ok
test_basic_gufunc
(numba.tests.npyufunc.test_ufuncbuilding.TestGUfuncBuilding) ... ok
test_basic_gufunc
(numba.tests.npyufunc.test_ufuncbuilding.TestGUfuncBuildingJitDisabled)
... ok
test_basic_ufunc
(numba.tests.npyufunc.test_ufuncbuilding.TestUfuncBuilding) ... ok
test_basic_ufunc
(numba.tests.npyufunc.test_ufuncbuilding.TestUfuncBuildingJitDisabled)
... ok
test_documentation_example1
(numba.tests.doc_examples.test_rec_array.TestExample) ... ok
test_docstring (numba.tests.npyufunc.test_gufunc.TestGUFunc) ... ok
test_broadcasting (numba.tests.npyufunc.test_ufunc.TestUFuncs) ... ok
test_dynamic_ufunc_like
(numba.tests.npyufunc.test_gufunc.TestDynamicGUFunc) ... ok
test_dynamic_scalar_output
(numba.tests.npyufunc.test_gufunc.TestDynamicGUFunc)
Note that scalar output is a 0-dimension array that acts as ... ok
test_documentation_example2
(numba.tests.doc_examples.test_rec_array.TestExample) ... ok
test_dynamic_matmul (numba.tests.npyufunc.test_gufunc.TestDynamicGUFunc)
... ok
Fatal Python error: Segmentation fault
Current thread 0x0000ffffac447010 (most recent call first):
File
"/usr/lib/python3/dist-packages/numba/tests/doc_examples/test_typed_list_usage.py",
line 34 in test_ex_inferred_list_jit
File "/usr/lib/python3.9/unittest/case.py", line 550 in _callTestMethod
File "/usr/lib/python3.9/unittest/case.py", line 592 in run
File "/usr/lib/python3.9/unittest/case.py", line 651 in __call__
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 664
in __call__
File "/usr/lib/python3.9/multiprocessing/pool.py", line 125 in worker
File "/usr/lib/python3.9/multiprocessing/process.py", line 108 in run
File "/usr/lib/python3.9/multiprocessing/process.py", line 315 in
_bootstrap
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 71 in
_launch
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 19 in
__init__
File "/usr/lib/python3.9/multiprocessing/context.py", line 277 in _Popen
File "/usr/lib/python3.9/multiprocessing/process.py", line 121 in start
File "/usr/lib/python3.9/multiprocessing/pool.py", line 326 in
_repopulate_pool_static
File "/usr/lib/python3.9/multiprocessing/pool.py", line 303 in
_repopulate_pool
File "/usr/lib/python3.9/multiprocessing/pool.py", line 212 in __init__
File "/usr/lib/python3.9/multiprocessing/context.py", line 119 in Pool
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 741
in _run_inner
File "/usr/lib/python3.9/unittest/runner.py", line 184 in run
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 795
in run
File "/usr/lib/python3.9/unittest/main.py", line 271 in runTests
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 325
in run_tests_real
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 340
in runTests
File "/usr/lib/python3.9/unittest/main.py", line 101 in __init__
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 168
in __init__
File "/usr/lib/python3/dist-packages/numba/testing/__init__.py", line
54 in run_tests
File "/usr/lib/python3/dist-packages/numba/testing/_runtests.py",
line 25 in _main
File "/usr/lib/python3/dist-packages/numba/runtests.py", line 9 in
<module>
File "/usr/lib/python3.9/runpy.py", line 87 in _run_code
File "/usr/lib/python3.9/runpy.py", line 197 in _run_module_as_main
Fatal Python error: Segmentation fault
Current thread 0x0000ffffac447010 (most recent call first):
File "/usr/lib/python3.9/unittest/case.py", line 550 in _callTestMethod
File "/usr/lib/python3.9/unittest/case.py", line 592 in run
File "/usr/lib/python3.9/unittest/case.py", line 651 in __call__
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 664
in __call__
File "/usr/lib/python3.9/multiprocessing/pool.py", line 125 in worker
File "/usr/lib/python3.9/multiprocessing/process.py", line 108 in run
File "/usr/lib/python3.9/multiprocessing/process.py", line 315 in
_bootstrap
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 71 in
_launch
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 19 in
__init__
File "/usr/lib/python3.9/multiprocessing/context.py", line 277 in _Popen
File "/usr/lib/python3.9/multiprocessing/process.py", line 121 in start
File "/usr/lib/python3.9/multiprocessing/pool.py", line 326 in
_repopulate_pool_static
File "/usr/lib/python3.9/multiprocessing/pool.py", line 303 in
_repopulate_pool
File "/usr/lib/python3.9/multiprocessing/pool.py", line 212 in __init__
File "/usr/lib/python3.9/multiprocessing/context.py", line 119 in Pool
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 741
in _run_inner
File "/usr/lib/python3.9/unittest/runner.py", line 184 in run
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 795
in run
File "/usr/lib/python3.9/unittest/main.py", line 271 in runTests
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 325
in run_tests_real
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 340
in runTests
File "/usr/lib/python3.9/unittest/main.py", line 101 in __init__
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 168
in __init__
File "/usr/lib/python3/dist-packages/numba/testing/__init__.py", line
54 in run_tests
File "/usr/lib/python3/dist-packages/numba/testing/_runtests.py",
line 25 in _main
File "/usr/lib/python3/dist-packages/numba/runtests.py", line 9 in
<module>
File "/usr/lib/python3.9/runpy.py", line 87 in _run_code
File "/usr/lib/python3.9/runpy.py", line 197 in _run_module_as_main
Fatal Python error: Segmentation fault
Current thread 0x0000ffffac447010 (most recent call first):
File
"/usr/lib/python3/dist-packages/numba/tests/doc_examples/test_typed_dict_usage.py",
line 100 in test_ex_inferred_dict_njit
File "/usr/lib/python3.9/unittest/case.py", line 550 in _callTestMethod
File "/usr/lib/python3.9/unittest/case.py", line 592 in run
File "/usr/lib/python3.9/unittest/case.py", line 651 in __call__
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 664
in __call__
File "/usr/lib/python3.9/multiprocessing/pool.py", line 125 in worker
File "/usr/lib/python3.9/multiprocessing/process.py", line 108 in run
File "/usr/lib/python3.9/multiprocessing/process.py", line 315 in
_bootstrap
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 71 in
_launch
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 19 in
__init__
File "/usr/lib/python3.9/multiprocessing/context.py", line 277 in _Popen
File "/usr/lib/python3.9/multiprocessing/process.py", line 121 in start
File "/usr/lib/python3.9/multiprocessing/pool.py", line 326 in
_repopulate_pool_static
File "/usr/lib/python3.9/multiprocessing/pool.py", line 303 in
_repopulate_pool
File "/usr/lib/python3.9/multiprocessing/pool.py", line 212 in __init__
File "/usr/lib/python3.9/multiprocessing/context.py", line 119 in Pool
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 741
in _run_inner
File "/usr/lib/python3.9/unittest/runner.py", line 184 in run
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 795
in run
File "/usr/lib/python3.9/unittest/main.py", line 271 in runTests
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 325
in run_tests_real
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 340
in runTests
File "/usr/lib/python3.9/unittest/main.py", line 101 in __init__
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 168
in __init__
File "/usr/lib/python3/dist-packages/numba/testing/__init__.py", line
54 in run_tests
File "/usr/lib/python3/dist-packages/numba/testing/_runtests.py",
line 25 in _main
File "/usr/lib/python3/dist-packages/numba/runtests.py", line 9 in
<module>
File "/usr/lib/python3.9/runpy.py", line 87 in _run_code
File "/usr/lib/python3.9/runpy.py", line 197 in _run_module_as_main
test_ex_initial_value_list_compile_time_consts
(numba.tests.doc_examples.test_literal_container_usage.DocsLiteralContainerUsageTest)
... ok
test_ex_literal_dict_compile_time_consts
(numba.tests.doc_examples.test_literal_container_usage.DocsLiteralContainerUsageTest)
... ok
test_ex_literal_list
(numba.tests.doc_examples.test_literal_container_usage.DocsLiteralContainerUsageTest)
... ok
test_ex_jitclass
(numba.tests.doc_examples.test_jitclass.DocsJitclassUsageTest) ... ok
Fatal Python error: Segmentation fault
Current thread 0x0000ffff9c9ac150 (most recent call first):
File "/usr/lib/python3/dist-packages/numba/typed/typedlist.py", line
345 in append
File
"/usr/lib/python3/dist-packages/numba/tests/doc_examples/test_typed_list_usage.py",
line 87 in test_ex_nested_list
File "/usr/lib/python3.9/unittest/case.py", line 550 in _callTestMethod
File "/usr/lib/python3.9/unittest/case.py", line 592 in run
File "/usr/lib/python3.9/unittest/case.py", line 651 in __call__
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 664
in __call__
File "/usr/lib/python3.9/multiprocessing/pool.py", line 125 in worker
File "/usr/lib/python3.9/multiprocessing/process.py", line 108 in run
File "/usr/lib/python3.9/multiprocessing/process.py", line 315 in
_bootstrap
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 71 in
_launch
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 19 in
__init__
File "/usr/lib/python3.9/multiprocessing/context.py", line 277 in _Popen
File "/usr/lib/python3.9/multiprocessing/process.py", line 121 in start
File "/usr/lib/python3.9/multiprocessing/pool.py", line 326 in
_repopulate_pool_static
File "/usr/lib/python3.9/multiprocessing/pool.py", line 337 in
_maintain_pool
File "/usr/lib/python3.9/multiprocessing/pool.py", line 513 in
_handle_workers
File "/usr/lib/python3.9/threading.py", line 917 in run
File "/usr/lib/python3.9/threading.py", line 980 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 937 in _bootstrap
Fatal Python error: Bus error
Current thread 0x0000ffff9c9ac150 (most recent call first):
File "/usr/lib/python3.9/unittest/case.py", line 550 in _callTestMethod
File "/usr/lib/python3.9/unittest/case.py", line 592 in run
File "/usr/lib/python3.9/unittest/case.py", line 651 in __call__
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 664
in __call__
File "/usr/lib/python3.9/multiprocessing/pool.py", line 125 in worker
File "/usr/lib/python3.9/multiprocessing/process.py", line 108 in run
File "/usr/lib/python3.9/multiprocessing/process.py", line 315 in
_bootstrap
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 71 in
_launch
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 19 in
__init__
File "/usr/lib/python3.9/multiprocessing/context.py", line 277 in _Popen
File "/usr/lib/python3.9/multiprocessing/process.py", line 121 in start
File "/usr/lib/python3.9/multiprocessing/pool.py", line 326 in
_repopulate_pool_static
File "/usr/lib/python3.9/multiprocessing/pool.py", line 337 in
_maintain_pool
File "/usr/lib/python3.9/multiprocessing/pool.py", line 513 in
_handle_workers
File "/usr/lib/python3.9/threading.py", line 917 in run
File "/usr/lib/python3.9/threading.py", line 980 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 937 in _bootstrap
test_floordiv_float
(numba.tests.npyufunc.test_errors.TestFloatingPointExceptions) ... ok
test_floordiv_int
(numba.tests.npyufunc.test_errors.TestFloatingPointExceptions) ... ok
test_frozen (numba.tests.npyufunc.test_dufunc.TestDUFunc) ... ok
test_gufunc (numba.tests.npyufunc.test_gufunc.TestGUFunc) ... ok
test_gufunc_attributes
(numba.tests.npyufunc.test_gufunc.TestDynamicGUFunc) ... ok
Fatal Python error: Segmentation fault
Current thread 0x0000ffffac447010 (most recent call first):
File
"/usr/lib/python3/dist-packages/numba/tests/doc_examples/test_literal_container_usage.py",
line 83 in test_ex_initial_value_dict_compile_time_consts
File "/usr/lib/python3.9/unittest/case.py", line 550 in _callTestMethod
File "/usr/lib/python3.9/unittest/case.py", line 592 in run
File "/usr/lib/python3.9/unittest/case.py", line 651 in __call__
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 664
in __call__
File "/usr/lib/python3.9/multiprocessing/pool.py", line 125 in worker
File "/usr/lib/python3.9/multiprocessing/process.py", line 108 in run
File "/usr/lib/python3.9/multiprocessing/process.py", line 315 in
_bootstrap
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 71 in
_launch
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 19 in
__init__
File "/usr/lib/python3.9/multiprocessing/context.py", line 277 in _Popen
File "/usr/lib/python3.9/multiprocessing/process.py", line 121 in start
File "/usr/lib/python3.9/multiprocessing/pool.py", line 326 in
_repopulate_pool_static
File "/usr/lib/python3.9/multiprocessing/pool.py", line 303 in
_repopulate_pool
File "/usr/lib/python3.9/multiprocessing/pool.py", line 212 in __init__
File "/usr/lib/python3.9/multiprocessing/context.py", line 119 in Pool
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 741
in _run_inner
File "/usr/lib/python3.9/unittest/runner.py", line 184 in run
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 795
in run
File "/usr/lib/python3.9/unittest/main.py", line 271 in runTests
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 325
in run_tests_real
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 340
in runTests
File "/usr/lib/python3.9/unittest/main.py", line 101 in __init__
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 168
in __init__
File "/usr/lib/python3/dist-packages/numba/testing/__init__.py", line
54 in run_tests
File "/usr/lib/python3/dist-packages/numba/testing/_runtests.py",
line 25 in _main
File "/usr/lib/python3/dist-packages/numba/runtests.py", line 9 in
<module>
File "/usr/lib/python3.9/runpy.py", line 87 in _run_code
File "/usr/lib/python3.9/runpy.py", line 197 in _run_module_as_main
test_gufunc_attributes2
(numba.tests.npyufunc.test_gufunc.TestDynamicGUFunc) ... ok
test_gufunc_raise (numba.tests.npyufunc.test_errors.TestExceptions) ... ok
test_gufunc_raise_objmode
(numba.tests.npyufunc.test_errors.TestExceptions) ... ok
test_gufunc_struct
(numba.tests.npyufunc.test_ufuncbuilding.TestGUfuncBuilding) ... ok
test_gufunc_struct
(numba.tests.npyufunc.test_ufuncbuilding.TestGUfuncBuildingJitDisabled)
... ok
test_gufunc_struct_forceobj
(numba.tests.npyufunc.test_ufuncbuilding.TestGUfuncBuilding) ... ok
test_gufunc_struct_forceobj
(numba.tests.npyufunc.test_ufuncbuilding.TestGUfuncBuildingJitDisabled)
... ok
test_guvectorize
(numba.tests.npyufunc.test_ufuncbuilding.TestVectorizeDecor) ... ok
test_guvectorize_error_in_objectmode
(numba.tests.npyufunc.test_ufuncbuilding.TestVectorizeDecor) ... ok
test_guvectorize_decor (numba.tests.npyufunc.test_gufunc.TestGUFunc) ... ok
Fatal Python error: Segmentation fault
Current thread 0x0000ffff9c9ac150 (most recent call first):
File "/usr/lib/python3/dist-packages/numba/typed/typeddict.py", line
155 in __setitem__
File
"/usr/lib/python3/dist-packages/numba/tests/doc_examples/test_typed_dict_usage.py",
line 26 in test_ex_typed_dict_from_cpython
File "/usr/lib/python3.9/unittest/case.py", line 550 in _callTestMethod
File "/usr/lib/python3.9/unittest/case.py", line 592 in run
File "/usr/lib/python3.9/unittest/case.py", line 651 in __call__
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 664
in __call__
File "/usr/lib/python3.9/multiprocessing/pool.py", line 125 in worker
File "/usr/lib/python3.9/multiprocessing/process.py", line 108 in run
File "/usr/lib/python3.9/multiprocessing/process.py", line 315 in
_bootstrap
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 71 in
_launch
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 19 in
__init__
File "/usr/lib/python3.9/multiprocessing/context.py", line 277 in _Popen
File "/usr/lib/python3.9/multiprocessing/process.py", line 121 in start
File "/usr/lib/python3.9/multiprocessing/pool.py", line 326 in
_repopulate_pool_static
File "/usr/lib/python3.9/multiprocessing/pool.py", line 337 in
_maintain_pool
File "/usr/lib/python3.9/multiprocessing/pool.py", line 513 in
_handle_workers
File "/usr/lib/python3.9/threading.py", line 917 in run
File "/usr/lib/python3.9/threading.py", line 980 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 937 in _bootstrap
test_guvectorize_invalid_layout
(numba.tests.npyufunc.test_ufuncbuilding.TestVectorizeDecor) ... ok
/usr/lib/python3/dist-packages/numba/tests/npyufunc/test_ufuncbuilding.py:50:
NumbaWarning: Compilation is falling back to object mode WITHOUT
looplifting enabled because Function "guadd_obj" failed type inference
due to: Untyped global name 'Dummy': Cannot determine Numba type of
<class 'type'>
File
"../../../../usr/lib/python3/dist-packages/numba/tests/npyufunc/test_ufuncbuilding.py",
line 51:
def guadd_obj(a, b, c):
Dummy() # to force object mode
^
def guadd_obj(a, b, c):
test_guvectorize_no_output
(numba.tests.npyufunc.test_ufuncbuilding.TestVectorizeDecor) ... ok
/usr/lib/python3/dist-packages/numba/tests/npyufunc/test_ufuncbuilding.py:57:
NumbaWarning: Compilation is falling back to object mode WITHOUT
looplifting enabled because Function "guadd_scalar_obj" failed type
inference due to: Untyped global name 'Dummy': Cannot determine Numba
type of <class 'type'>
File
"../../../../usr/lib/python3/dist-packages/numba/tests/npyufunc/test_ufuncbuilding.py",
line 58:
def guadd_scalar_obj(a, b, c):
Dummy() # to force object mode
^
def guadd_scalar_obj(a, b, c):
/usr/lib/python3/dist-packages/numba/core/object_mode_passes.py:151:
NumbaWarning: Function "guadd_obj" was compiled in object mode without
forceobj=True.
File
"../../../../usr/lib/python3/dist-packages/numba/tests/npyufunc/test_ufuncbuilding.py",
line 50:
def guadd_obj(a, b, c):
^
warnings.warn(errors.NumbaWarning(warn_msg,
/usr/lib/python3/dist-packages/numba/core/object_mode_passes.py:161:
NumbaDeprecationWarning: Fall-back from the nopython compilation path to
the object mode compilation path has been detected, this is deprecated
behaviour.
For more information visit
https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit
File
"../../../../usr/lib/python3/dist-packages/numba/tests/npyufunc/test_ufuncbuilding.py",
line 50:
def guadd_obj(a, b, c):
^
warnings.warn(errors.NumbaDeprecationWarning(msg,
/usr/lib/python3/dist-packages/numba/core/object_mode_passes.py:151:
NumbaWarning: Function "guadd_scalar_obj" was compiled in object mode
without forceobj=True.
File
"../../../../usr/lib/python3/dist-packages/numba/tests/npyufunc/test_ufuncbuilding.py",
line 57:
def guadd_scalar_obj(a, b, c):
^
warnings.warn(errors.NumbaWarning(warn_msg,
/usr/lib/python3/dist-packages/numba/core/object_mode_passes.py:161:
NumbaDeprecationWarning: Fall-back from the nopython compilation path to
the object mode compilation path has been detected, this is deprecated
behaviour.
For more information visit
https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit
File
"../../../../usr/lib/python3/dist-packages/numba/tests/npyufunc/test_ufuncbuilding.py",
line 57:
def guadd_scalar_obj(a, b, c):
^
warnings.warn(errors.NumbaDeprecationWarning(msg,
test_guvectorize_objectmode
(numba.tests.npyufunc.test_ufuncbuilding.TestVectorizeDecor) ... ok
test_implicit_broadcasting (numba.tests.npyufunc.test_ufunc.TestUFuncs)
... ok
test_guvectorize_scalar_objectmode
(numba.tests.npyufunc.test_ufuncbuilding.TestVectorizeDecor)
Test passing of scalars to object mode gufuncs. ... ok
test_guvectorize_identity
(numba.tests.npyufunc.test_ufuncbuilding.TestVectorizeDecor) ... ok
test_moving_average
(numba.tests.doc_examples.test_examples.DocsExamplesTest) ... ok
test_ndim_mismatch
(numba.tests.npyufunc.test_gufunc.TestGUVectorizeScalar) ... ok
test_mandelbrot
(numba.tests.doc_examples.test_examples.DocsExamplesTest) ... ok
test_nested_call (numba.tests.npyufunc.test_ufuncbuilding.TestUfuncBuilding)
Check nested call to an implicitly-typed ufunc. ... ok
test_nested_call
(numba.tests.npyufunc.test_ufuncbuilding.TestUfuncBuildingJitDisabled)
Check nested call to an implicitly-typed ufunc. ... ok
test_nested_call_explicit
(numba.tests.npyufunc.test_ufuncbuilding.TestUfuncBuilding)
Check nested call to an explicitly-typed ufunc. ... ok
Fatal Python error: Segmentation fault
Current thread 0x0000ffff9c9ac150 (most recent call first):
File
"/usr/lib/python3/dist-packages/numba/tests/doc_examples/test_typed_dict_usage.py",
line 76 in test_ex_typed_dict_njit
File "/usr/lib/python3.9/unittest/case.py", line 550 in _callTestMethod
File "/usr/lib/python3.9/unittest/case.py", line 592 in run
File "/usr/lib/python3.9/unittest/case.py", line 651 in __call__
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 664
in __call__
File "/usr/lib/python3.9/multiprocessing/pool.py", line 125 in worker
File "/usr/lib/python3.9/multiprocessing/process.py", line 108 in run
File "/usr/lib/python3.9/multiprocessing/process.py", line 315 in
_bootstrap
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 71 in
_launch
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 19 in
__init__
File "/usr/lib/python3.9/multiprocessing/context.py", line 277 in _Popen
File "/usr/lib/python3.9/multiprocessing/process.py", line 121 in start
File "/usr/lib/python3.9/multiprocessing/pool.py", line 326 in
_repopulate_pool_static
File "/usr/lib/python3.9/multiprocessing/pool.py", line 337 in
_maintain_pool
File "/usr/lib/python3.9/multiprocessing/pool.py", line 513 in
_handle_workers
File "/usr/lib/python3.9/threading.py", line 917 in run
File "/usr/lib/python3.9/threading.py", line 980 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 937 in _bootstrap
test_nested_call_explicit
(numba.tests.npyufunc.test_ufuncbuilding.TestUfuncBuildingJitDisabled)
Check nested call to an explicitly-typed ufunc. ... ok
test_literally_usage
(numba.tests.doc_examples.test_literally_usage.DocsLiterallyUsageTest)
... ok
test_no_impl_import (numba.cuda.tests.nocuda.test_import.TestImport)
Tests that importing cuda doesn't trigger the import of modules ... ok
test_nvvm_accepts_encoding
(numba.cuda.tests.nocuda.test_nvvm.TestNvvmWithoutCuda) ... skipped 'No
libNVVM'
test_nvvm_memset_fixup_for_34
(numba.cuda.tests.nocuda.test_nvvm.TestNvvmWithoutCuda)
Test llvm.memset changes in llvm7. ... skipped 'No libNVVM'
test_nvvm_memset_fixup_for_34_missing_align
(numba.cuda.tests.nocuda.test_nvvm.TestNvvmWithoutCuda)
We require alignment to be specified as a parameter attribute to the ...
skipped 'No libNVVM'
test_nogil (numba.tests.doc_examples.test_examples.DocsExamplesTest) ... ok
test_npm_call (numba.tests.npyufunc.test_dufunc.TestDUFunc) ... ok
test_pass_timings
(numba.tests.doc_examples.test_llvm_pass_timings.DocsLLVMPassTimings) ... ok
test_optional_type_handling (numba.tests.npyufunc.test_ufunc.TestUFuncs)
... ok
test_npm_call_implicit_output
(numba.tests.npyufunc.test_dufunc.TestDUFunc) ... ok
test_pickle_gufunc_dyanmic_null_init
(numba.tests.npyufunc.test_gufunc.TestGUVectorizePickling)
Dynamic gufunc w/o prepopulating before pickling. ... ok
test_pickle_gufunc_non_dyanmic
(numba.tests.npyufunc.test_gufunc.TestGUVectorizePickling)
Non-dynamic gufunc. ... ok
test_power_float
(numba.tests.npyufunc.test_errors.TestFloatingPointExceptions)
Test 0 ** -1 and 2 ** <big number>. ... ok
test_remainder_float
(numba.tests.npyufunc.test_errors.TestFloatingPointExceptions) ... ok
test_remainder_int
(numba.tests.npyufunc.test_errors.TestFloatingPointExceptions) ... ok
test_power_integer
(numba.tests.npyufunc.test_errors.TestFloatingPointExceptions)
Test 0 ** -1. ... ok
test_pickle_gufunc_dynamic_initialized
(numba.tests.npyufunc.test_gufunc.TestGUVectorizePickling)
Dynamic gufunc prepopulated before pickling. ... ok
test_scalar_input
(numba.tests.npyufunc.test_gufunc.TestGUVectorizeScalar) ... ok
test_scalar (numba.tests.npyufunc.test_dufunc.TestDUFunc) ... ok
Fatal Python error: Segmentation fault
Current thread 0x0000ffff9c9ac150 (most recent call first):
File
"/usr/lib/python3/dist-packages/numba/tests/doc_examples/test_structref_usage.py",
line 149 in test_overload_method
File "/usr/lib/python3.9/unittest/case.py", line 550 in _callTestMethod
File "/usr/lib/python3.9/unittest/case.py", line 592 in run
File "/usr/lib/python3.9/unittest/case.py", line 651 in __call__
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 664
in __call__
File "/usr/lib/python3.9/multiprocessing/pool.py", line 125 in worker
File "/usr/lib/python3.9/multiprocessing/process.py", line 108 in run
File "/usr/lib/python3.9/multiprocessing/process.py", line 315 in
_bootstrap
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 71 in
_launch
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 19 in
__init__
File "/usr/lib/python3.9/multiprocessing/context.py", line 277 in _Popen
File "/usr/lib/python3.9/multiprocessing/process.py", line 121 in start
File "/usr/lib/python3.9/multiprocessing/pool.py", line 326 in
_repopulate_pool_static
File "/usr/lib/python3.9/multiprocessing/pool.py", line 337 in
_maintain_pool
File "/usr/lib/python3.9/multiprocessing/pool.py", line 513 in
_handle_workers
File "/usr/lib/python3.9/threading.py", line 917 in run
File "/usr/lib/python3.9/threading.py", line 980 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 937 in _bootstrap
test_scalar_input_core_type_error
(numba.tests.npyufunc.test_gufunc.TestGUVectorizeScalar) ... ok
test_restricted (numba.tests.npyufunc.test_dufunc.TestDUFuncPickling) ... ok
test_scalar_input_core_type
(numba.tests.npyufunc.test_gufunc.TestGUVectorizeScalar) ... ok
test_truediv_float
(numba.tests.npyufunc.test_errors.TestFloatingPointExceptions) ... ok
test_truediv_integer
(numba.tests.npyufunc.test_errors.TestFloatingPointExceptions) ... ok
test_scalar_output (numba.tests.npyufunc.test_gufunc.TestGUVectorizeScalar)
Note that scalar output is a 0-dimension array that acts as ... ok
test_ufunc_forceobj
(numba.tests.npyufunc.test_ufuncbuilding.TestUfuncBuilding) ... ok
test_ufunc_forceobj
(numba.tests.npyufunc.test_ufuncbuilding.TestUfuncBuildingJitDisabled)
... ok
test_ufunc_like (numba.tests.npyufunc.test_gufunc.TestGUFunc) ... ok
test_ufunc_attributes (numba.tests.npyufunc.test_ufunc.TestUFuncs) ... ok
/usr/lib/python3/dist-packages/numba/tests/npyufunc/test_ufunc.py:111:
NumbaWarning: Compilation is falling back to object mode WITH
looplifting enabled because Function "test" failed type inference due
to: No implementation of function Function(<ufunc 'sin'>) found for
signature:
>>> sin(array(float64, 1d, C), readonly array(float64, 1d, C))
There are 2 candidate implementations:
- Of which 2 did not match due to:
Overload in function 'Numpy_rules_ufunc.generic': File:
numba/core/typing/npydecl.py: Line 98.
With argument(s): '(array(float64, 1d, C), readonly
array(float64, 1d, C))':
Rejected as the implementation raised a specific error:
TypingError: ufunc 'sin' called with an explicit output that is
read-only
raised from
/usr/lib/python3/dist-packages/numba/core/typing/npydecl.py:73
During: resolving callee type: Function(<ufunc 'sin'>)
During: typing of call at
/usr/lib/python3/dist-packages/numba/tests/npyufunc/test_ufunc.py (113)
File
"../../../../usr/lib/python3/dist-packages/numba/tests/npyufunc/test_ufunc.py",
line 113:
def test(x):
<source elided>
a = np.ones(x.shape, x.dtype) # do not copy RO
attribute from x
np.sin(a, x)
^
def test(x):
test_ufunc_raise (numba.tests.npyufunc.test_errors.TestExceptions) ... ok
/usr/lib/python3/dist-packages/numba/core/object_mode_passes.py:151:
NumbaWarning: Function "test" was compiled in object mode without
forceobj=True.
File
"../../../../usr/lib/python3/dist-packages/numba/tests/npyufunc/test_ufunc.py",
line 111:
for dec, exc, msg in tests:
def test(x):
^
warnings.warn(errors.NumbaWarning(warn_msg,
/usr/lib/python3/dist-packages/numba/core/object_mode_passes.py:161:
NumbaDeprecationWarning: Fall-back from the nopython compilation path to
the object mode compilation path has been detected, this is deprecated
behaviour.
For more information visit
https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit
File
"../../../../usr/lib/python3/dist-packages/numba/tests/npyufunc/test_ufunc.py",
line 111:
for dec, exc, msg in tests:
def test(x):
^
warnings.warn(errors.NumbaDeprecationWarning(msg,
test_ufunc_exception_on_write_to_readonly
(numba.tests.npyufunc.test_ufunc.TestUFuncs) ... ok
test_ufunc_struct
(numba.tests.npyufunc.test_ufuncbuilding.TestUfuncBuilding) ... ok
test_ufunc_raise_objmode
(numba.tests.npyufunc.test_errors.TestExceptions) ... ok
test_ufunc_props (numba.tests.npyufunc.test_dufunc.TestDUFunc) ... ok
test_ufunc_struct
(numba.tests.npyufunc.test_ufuncbuilding.TestUfuncBuildingJitDisabled)
... ok
test_vectorize
(numba.tests.npyufunc.test_ufuncbuilding.TestVectorizeDecor) ... ok
test_vectorize_bool_return
(numba.tests.npyufunc.test_ufuncbuilding.TestVectorizeDecor) ... ok
test_unrestricted (numba.tests.npyufunc.test_dufunc.TestDUFuncPickling)
... ok
test_vectorize_no_args
(numba.tests.npyufunc.test_ufuncbuilding.TestVectorizeDecor) ... ok
test_vectorize_objmode
(numba.tests.npyufunc.test_ufuncbuilding.TestVectorizeDecor) ... ok
test_vectorize_identity
(numba.tests.npyufunc.test_ufuncbuilding.TestVectorizeDecor) ... ok
Fatal Python error: Segmentation fault
Current thread 0x0000ffff9c9ac150 (most recent call first):
File "/usr/lib/python3.9/unittest/case.py", line 550 in _callTestMethod
File "/usr/lib/python3.9/unittest/case.py", line 592 in run
File "/usr/lib/python3.9/unittest/case.py", line 651 in __call__
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line 664
in __call__
File "/usr/lib/python3.9/multiprocessing/pool.py", line 125 in worker
File "/usr/lib/python3.9/multiprocessing/process.py", line 108 in run
File "/usr/lib/python3.9/multiprocessing/process.py", line 315 in
_bootstrap
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 71 in
_launch
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 19 in
__init__
File "/usr/lib/python3.9/multiprocessing/context.py", line 277 in _Popen
File "/usr/lib/python3.9/multiprocessing/process.py", line 121 in start
File "/usr/lib/python3.9/multiprocessing/pool.py", line 326 in
_repopulate_pool_static
File "/usr/lib/python3.9/multiprocessing/pool.py", line 337 in
_maintain_pool
File "/usr/lib/python3.9/multiprocessing/pool.py", line 513 in
_handle_workers
File "/usr/lib/python3.9/threading.py", line 917 in run
File "/usr/lib/python3.9/threading.py", line 980 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 937 in _bootstrap
Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/lib/python3/dist-packages/numba/runtests.py", line 9, in
<module>
sys.exit(0 if _main(sys.argv) else 1)
File "/usr/lib/python3/dist-packages/numba/testing/_runtests.py",
line 25, in _main
return run_tests(argv, defaultTest='numba.tests',
File "/usr/lib/python3/dist-packages/numba/testing/__init__.py", line
54, in run_tests
prog = NumbaTestProgram(argv=argv,
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line
168, in __init__
super(NumbaTestProgram, self).__init__(*args, **kwargs)
File "/usr/lib/python3.9/unittest/main.py", line 101, in __init__
self.runTests()
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line
340, in runTests
run_tests_real()
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line
325, in run_tests_real
super(NumbaTestProgram, self).runTests()
File "/usr/lib/python3.9/unittest/main.py", line 271, in runTests
self.result = testRunner.run(self.test)
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line
795, in run
return super(ParallelTestRunner, self).run(self._run_inner)
File "/usr/lib/python3.9/unittest/runner.py", line 184, in run
test(result)
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line
743, in _run_inner
self._run_parallel_tests(result, pool, child_runner, tests)
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line
779, in _run_parallel_tests
raise e
File "/usr/lib/python3/dist-packages/numba/testing/main.py", line
770, in _run_parallel_tests
child_result = it.__next__(self.timeout)
File "/usr/lib/python3.9/multiprocessing/pool.py", line 865, in next
raise TimeoutError from None
multiprocessing.context.TimeoutError: Tests didn't finish before timeout
(or crashed):
-
'numba.tests.doc_examples.test_jitclass.DocsJitclassUsageTest.test_ex_jitclass_type_hints'
-
'numba.tests.doc_examples.test_literal_container_usage.DocsLiteralContainerUsageTest.test_ex_initial_value_dict_compile_time_consts'
-
'numba.tests.doc_examples.test_structref_usage.TestStructRefUsage.test_overload_method'
-
'numba.tests.doc_examples.test_structref_usage.TestStructRefUsage.test_type_definition'
-
'numba.tests.doc_examples.test_typed_dict_usage.DocsTypedDictUsageTest.test_ex_inferred_dict_njit'
-
'numba.tests.doc_examples.test_typed_dict_usage.DocsTypedDictUsageTest.test_ex_typed_dict_from_cpython'
-
'numba.tests.doc_examples.test_typed_dict_usage.DocsTypedDictUsageTest.test_ex_typed_dict_njit'
-
'numba.tests.doc_examples.test_typed_list_usage.DocsTypedListUsageTest.test_ex_inferred_list'
-
'numba.tests.doc_examples.test_typed_list_usage.DocsTypedListUsageTest.test_ex_inferred_list_jit'
-
'numba.tests.doc_examples.test_typed_list_usage.DocsTypedListUsageTest.test_ex_nested_list'
autopkgtest [15:22:46]: test python3-numba
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20220710/21de1a9c/attachment-0001.sig>
More information about the debian-science-maintainers
mailing list