Bug#1014690: llvmlite breaks numba autopkgtest: segmentation fault

2022-07-14 Thread Diane Trout
On Thu, 2022-07-14 at 10:10 +0200, Paul Gevers wrote:
> Control: reassign 1014690 src:llvmlite 0.38.1-2
> Control: affects 1014690 src:numba
> Control: fixed 1014690 0.38.1-3
> 
> Hi Diane,
> 
> On 14-07-2022 05:26, Diane Trout wrote:
> > I know there's some problems with some of numba's autopkgtests but
> > I
> > couldn't reproduce the segmentation fault.
> 
> That's because Mo reverted the change to use llvm-toolchain-13 in
> llvmlite.
> 
> > llvmlite's tracker suggests that the tests are passing now?
> > 
> > Did you find a solution or is this likely to be a random problem?
> 
> Well, reverting reopened another issue we have which is that we want
> to 
> drop llvm-toolchain-11 from testing.


In that case what about submitting the llvm-toolchain-13 version of
llvmlite to experimental to start the process of trying to fix what it
breaks?

Diane


signature.asc
Description: This is a digitally signed message part


Bug#1014690: llvmlite breaks numba autopkgtest: segmentation fault

2022-07-14 Thread Paul Gevers

Control: reassign 1014690 src:llvmlite 0.38.1-2
Control: affects 1014690 src:numba
Control: fixed 1014690 0.38.1-3

Hi Diane,

On 14-07-2022 05:26, Diane Trout wrote:

I know there's some problems with some of numba's autopkgtests but I
couldn't reproduce the segmentation fault.


That's because Mo reverted the change to use llvm-toolchain-13 in llvmlite.


llvmlite's tracker suggests that the tests are passing now?

Did you find a solution or is this likely to be a random problem?


Well, reverting reopened another issue we have which is that we want to 
drop llvm-toolchain-11 from testing.


Paul


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1014690: llvmlite breaks numba autopkgtest: segmentation fault

2022-07-13 Thread Diane Trout
Hi,

I know there's some problems with some of numba's autopkgtests but I
couldn't reproduce the segmentation fault.

llvmlite's tracker suggests that the tests are passing now?

Did you find a solution or is this likely to be a random problem?

Diane


On Sun, 2022-07-10 at 13:10 +0200, Paul Gevers wrote:
> 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...@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.TestGUfuncBuildingJitDisable
> d) 
> ... 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 0xac447010 (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
> 

Bug#1014690: llvmlite breaks numba autopkgtest: segmentation fault

2022-07-10 Thread Paul Gevers

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...@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:


   passfail
llvmlite   from testing0.38.1-2
numba  from testing0.55.2+dfsg-1
all others from testingfrom 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 0xac447010 (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