Bug#1067301: compyle: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13
Lucas Nussbaum
lucas at debian.org
Wed Mar 20 20:56:48 GMT 2024
Source: compyle
Version: 0.8.1-8
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240319 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:305: python3.12 setup.py config
> running config
> I: pybuild base:305: python3.11 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:305: /usr/bin/python3.12 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/cuda.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/ext_module.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/parallel.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/capture_stream.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/translator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/low_level.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/opencl.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/ast_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/types.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/profile.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/api.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/template.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/sort.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/jit.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/extern.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/transpiler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/cython_generator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/array.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/thrust
> copying compyle/thrust/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/thrust
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_parallel.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_cython_generator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_capture_stream.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_gpu_struct.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_types.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_cuda.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_profile.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_transpiler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_translator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_low_level.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_template.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/py3_code.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_array.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_jit.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_ext_module.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_ast_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> I: pybuild base:305: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/cuda.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/ext_module.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/parallel.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/capture_stream.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/translator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/low_level.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/opencl.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/ast_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/types.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/profile.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/api.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/template.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/sort.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/jit.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/extern.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/transpiler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/cython_generator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/array.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/thrust
> copying compyle/thrust/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/thrust
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_parallel.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_cython_generator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_capture_stream.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_gpu_struct.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_types.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_cuda.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_profile.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_transpiler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_translator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_low_level.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_template.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/py3_code.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_array.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_jit.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_ext_module.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_ast_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build; python3.12 -m pytest -k "not test_that_multiple_compiles_do_not_occur_for_same_source and not test_const_as_call_arg and not test_const_in_return" --ignore=/<<PKGBUILDDIR>>/compyle/tests/test_cuda.py --ignore=/<<PKGBUILDDIR>>/compyle/tests/test_parallel.py /<<PKGBUILDDIR>>/compyle/tests
> ============================= test session starts ==============================
> platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: pyproject.toml
> collected 327 items / 3 deselected / 324 selected
>
> ../../../compyle/tests/test_array.py ..s..s..s..s..s..s..s..s..s..s..s.. [ 10%]
> s..s.FsF..s.sx..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s. [ 33%]
> .s..s..s..s..s..s..ss..s......sss......sss......sss..s [ 49%]
> ../../../compyle/tests/test_ast_utils.py ....... [ 51%]
> ../../../compyle/tests/test_capture_stream.py ..... [ 53%]
> ../../../compyle/tests/test_config.py ............ [ 57%]
> ../../../compyle/tests/test_cython_generator.py ................. [ 62%]
> ../../../compyle/tests/test_ext_module.py ........ [ 64%]
> ../../../compyle/tests/test_gpu_struct.py s [ 65%]
> ../../../compyle/tests/test_jit.py .......................... [ 73%]
> ../../../compyle/tests/test_low_level.py s.s..... [ 75%]
> ../../../compyle/tests/test_profile.py ..... [ 77%]
> ../../../compyle/tests/test_template.py ..... [ 78%]
> ../../../compyle/tests/test_translator.py .............................. [ 87%]
> ......................... [ 95%]
> ../../../compyle/tests/test_transpiler.py ... [ 96%]
> ../../../compyle/tests/test_types.py ....... [ 98%]
> ../../../compyle/tests/test_utils.py .... [100%]
>
> =================================== FAILURES ===================================
> __________________________ test_sort_by_keys[opencl] ___________________________
>
> backend = 'opencl'
>
> @check_all_backends
> def test_sort_by_keys(backend):
> check_import(backend)
>
> # Given
> nparr1 = np.random.randint(0, 100, 16, dtype=np.int32)
> nparr2 = np.random.randint(0, 100, 16, dtype=np.int32)
> dev_array1, dev_array2 = array.wrap(nparr1, nparr2, backend=backend)
>
> # When
> out_array1, out_array2 = array.sort_by_keys([dev_array1, dev_array2])
>
> # Then
> order = np.argsort(nparr1)
> act_result1 = np.take(nparr1, order)
> act_result2 = np.take(nparr2, order)
> assert np.all(out_array1.get() == act_result1)
> > assert np.all(out_array2.get() == act_result2)
> E assert False
> E + where False = <function all at 0x7f4cb39aa9f0>(array([ 9, 3... dtype=int32) == array([ 9, 3... dtype=int32)
> E + where <function all at 0x7f4cb39aa9f0> = np.all
> E
> E Use -v to get more diff)
>
> ../../../compyle/tests/test_array.py:273: AssertionError
> ------------------------------ Captured log call -------------------------------
> DEBUG pyopencl.cache:cache.py:378 build program: binary cache miss (key: 4bf4d189ce2047b8b06d9a0a5bca2e9d)
> DEBUG pyopencl.cache:cache.py:413 build program: start building program from source on <pyopencl.Device 'cpu-skylake-avx512-Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz' on 'Portable Computing Language' at 0x2958b20>
> DEBUG pyopencl.cache:cache.py:419 build program: from-source build complete
> DEBUG pytools.persistent_dict:persistent_dict.py:758 pyopencl-invoker-cache-v41: disk cache hit [key=25d010a3d8d1b7c7137e612326d8db5d04a1e8ec5bb2a48c57295ed6430bda96]
> INFO pyopencl:__init__.py:469 build program: kernel 'get_size_and_offsets' was part of a lengthy source build resulting from a binary cache miss (0.28 s)
> DEBUG pytools.persistent_dict:persistent_dict.py:727 pyopencl-generated-scan-kernel-cache-v1: disk cache miss [key=611aa02c9ab60fec70c25bc297d9b1653da0a6e28c0f8ca21971a6c5efbcd16e]
> DEBUG pyopencl.scan:scan.py:1194 cache miss for generated scan kernel 'scan'
> DEBUG pyopencl.cache:cache.py:378 build program: binary cache miss (key: 653143575044338b788fc83353afc3f7)
> DEBUG pyopencl.cache:cache.py:413 build program: start building program from source on <pyopencl.Device 'cpu-skylake-avx512-Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz' on 'Portable Computing Language' at 0x2958b20>
> DEBUG pyopencl.cache:cache.py:419 build program: from-source build complete
> DEBUG pytools.persistent_dict:persistent_dict.py:727 pyopencl-invoker-cache-v41: disk cache miss [key=49efc131ac55675366d11c67a6021ffc9ab51061e766db708184340ec1e7b944]
> DEBUG pytools.persistent_dict:persistent_dict.py:696 pyopencl-invoker-cache-v41: disk cache store [key=49efc131ac55675366d11c67a6021ffc9ab51061e766db708184340ec1e7b944]
> INFO pyopencl:__init__.py:469 build program: kernel 'scan_lev1' was part of a lengthy source build resulting from a binary cache miss (1.37 s)
> DEBUG pytools.persistent_dict:persistent_dict.py:727 pyopencl-invoker-cache-v41: disk cache miss [key=eca878c5a15faa094d2cd87ee42508762ce2d70071b18e16df9b2f56071b9e2a]
> DEBUG pytools.persistent_dict:persistent_dict.py:696 pyopencl-invoker-cache-v41: disk cache store [key=eca878c5a15faa094d2cd87ee42508762ce2d70071b18e16df9b2f56071b9e2a]
> DEBUG pytools.persistent_dict:persistent_dict.py:696 pyopencl-generated-scan-kernel-cache-v1: disk cache store [key=611aa02c9ab60fec70c25bc297d9b1653da0a6e28c0f8ca21971a6c5efbcd16e]
> DEBUG pyopencl.cache:cache.py:384 build program: binary cache hit (key: 653143575044338b788fc83353afc3f7)
> DEBUG pytools.persistent_dict:persistent_dict.py:758 pyopencl-invoker-cache-v41: disk cache hit [key=49efc131ac55675366d11c67a6021ffc9ab51061e766db708184340ec1e7b944]
> DEBUG pytools.persistent_dict:persistent_dict.py:758 pyopencl-invoker-cache-v41: disk cache hit [key=eca878c5a15faa094d2cd87ee42508762ce2d70071b18e16df9b2f56071b9e2a]
> DEBUG pyopencl.cache:cache.py:378 build program: binary cache miss (key: a7aa988ad08d4c5636b571b0cd4ae55e)
> DEBUG pyopencl.cache:cache.py:413 build program: start building program from source on <pyopencl.Device 'cpu-skylake-avx512-Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz' on 'Portable Computing Language' at 0x2958b20>
> DEBUG pyopencl.cache:cache.py:419 build program: from-source build complete
> DEBUG pytools.persistent_dict:persistent_dict.py:727 pyopencl-invoker-cache-v41: disk cache miss [key=02d42ae23a40f1caecefc2770cde1b1b442262a489c1b3a002673425df9233b7]
> DEBUG pytools.persistent_dict:persistent_dict.py:696 pyopencl-invoker-cache-v41: disk cache store [key=02d42ae23a40f1caecefc2770cde1b1b442262a489c1b3a002673425df9233b7]
> INFO pyopencl:__init__.py:469 build program: kernel 'scan_lev2' was part of a lengthy source build resulting from a binary cache miss (1.30 s)
> DEBUG pytools.persistent_dict:persistent_dict.py:727 pyopencl-invoker-cache-v41: disk cache miss [key=d913f3cd98e8844fab3f92bfc28d0e5dca7af2f7da3b784402ba106d08be4e68]
> DEBUG pytools.persistent_dict:persistent_dict.py:696 pyopencl-invoker-cache-v41: disk cache store [key=d913f3cd98e8844fab3f92bfc28d0e5dca7af2f7da3b784402ba106d08be4e68]
> DEBUG pyopencl.cache:cache.py:378 build program: binary cache miss (key: fdd1b09b4764e411254319832d21c5fb)
> DEBUG pyopencl.cache:cache.py:413 build program: start building program from source on <pyopencl.Device 'cpu-skylake-avx512-Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz' on 'Portable Computing Language' at 0x2958b20>
> DEBUG pyopencl.cache:cache.py:419 build program: from-source build complete
> DEBUG pytools.persistent_dict:persistent_dict.py:727 pyopencl-invoker-cache-v41: disk cache miss [key=01951cb5ce3fe8984bb56f98fa6e9163f6396390a612759f911c18d9a47df5c2]
> DEBUG pytools.persistent_dict:persistent_dict.py:696 pyopencl-invoker-cache-v41: disk cache store [key=01951cb5ce3fe8984bb56f98fa6e9163f6396390a612759f911c18d9a47df5c2]
> INFO pyopencl:__init__.py:469 build program: kernel 'scan_final_update' was part of a lengthy source build resulting from a binary cache miss (0.29 s)
> DEBUG pytools.persistent_dict:persistent_dict.py:727 pyopencl-invoker-cache-v41: disk cache miss [key=f41f4aa10a5614c18e468c40b4ca31d6c64a59c262ed220e22930319f10ea84b]
> DEBUG pytools.persistent_dict:persistent_dict.py:696 pyopencl-invoker-cache-v41: disk cache store [key=f41f4aa10a5614c18e468c40b4ca31d6c64a59c262ed220e22930319f10ea84b]
> ___________________________ test_radix_sort_by_keys ____________________________
>
> def test_radix_sort_by_keys():
> backend = 'cython'
> for use_openmp in [True, False]:
> get_config().use_openmp = use_openmp
> # Given
> nparr1 = np.random.randint(0, 100, 16, dtype=np.int32)
> nparr2 = np.random.randint(0, 100, 16, dtype=np.int32)
> dev_array1, dev_array2 = array.wrap(nparr1, nparr2, backend=backend)
>
> # When
> out_array1, out_array2 = array.sort_by_keys([dev_array1, dev_array2],
> use_radix_sort=True)
>
> # Then
> order = np.argsort(nparr1)
> act_result1 = np.take(nparr1, order)
> act_result2 = np.take(nparr2, order)
> assert np.all(out_array1.get() == act_result1)
> > assert np.all(out_array2.get() == act_result2)
> E assert False
> E + where False = <function all at 0x7f4cb39aa9f0>(array([33, 7... dtype=int32) == array([33, 7... dtype=int32)
> E + where <function all at 0x7f4cb39aa9f0> = np.all
> E
> E Use -v to get more diff)
>
> ../../../compyle/tests/test_array.py:294: AssertionError
> ----------------------------- Captured stdout call -----------------------------
> [1/1] Cythonizing /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/.compyle/source/py3.1-linux-x86_64/m_38c1c650fcf31d53befb93aa70eceb48.pyx
> ------------------------------ Captured log call -------------------------------
> INFO compyle.ext_module:ext_module.py:321 Compiling code at: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/.compyle/source/py3.1-linux-x86_64/m_38c1c650fcf31d53befb93aa70eceb48.pyx
> DEBUG root:discovery.py:490 No `name` configuration, performing automatic discovery
> INFO root:dist.py:985 running build_ext
> INFO root:build_ext.py:521 building 'm_38c1c650fcf31d53befb93aa70eceb48' extension
> INFO root:spawn.py:38 x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.12 -c /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/.compyle/source/py3.1-linux-x86_64/m_38c1c650fcf31d53befb93aa70eceb48.cpp -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/.compyle/source/py3.1-linux-x86_64/build/temp.linux-x86_64-cpython-312/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/.compyle/source/py3.1-linux-x86_64/m_38c1c650fcf31d53befb93aa70eceb48.o -fopenmp
> INFO root:spawn.py:38 x86_64-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/.compyle/source/py3.1-linux-x86_64/build/temp.linux-x86_64-cpython-312/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/.compyle/source/py3.1-linux-x86_64/m_38c1c650fcf31d53befb93aa70eceb48.o -L/usr/lib/x86_64-linux-gnu -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/.compyle/source/py3.1-linux-x86_64/build/lib.linux-x86_64-cpython-312/m_38c1c650fcf31d53befb93aa70eceb48.cpython-312-x86_64-linux-gnu.so -fopenmp
> =============================== warnings summary ===============================
> compyle/tests/test_array.py: 6 warnings
> compyle/tests/test_jit.py: 5 warnings
> compyle/tests/test_translator.py: 93 warnings
> /usr/lib/python3.12/ast.py:407: DeprecationWarning: visit_Num is deprecated; add visit_Constant
> return visitor(node)
>
> compyle/tests/test_array.py: 4 warnings
> compyle/tests/test_translator.py: 93 warnings
> /<<PKGBUILDDIR>>/compyle/translator.py:682: DeprecationWarning: Attribute n is deprecated and will be removed in Python 3.14; use value instead
> return str(node.n)
>
> compyle/tests/test_array.py: 31 warnings
> /usr/lib/python3/dist-packages/pyopencl/cache.py:417: CompilerWarning: Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.
> prg.build(options_bytes, [devices[i] for i in to_be_built_indices])
>
> compyle/tests/test_array.py::test_remove[opencl]
> compyle/tests/test_array.py::test_cumsum[opencl]
> compyle/tests/test_array.py::test_take_bool[opencl-int32]
> /usr/lib/python3/dist-packages/pyopencl/cache.py:495: CompilerWarning: Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.
> _create_built_program_from_source_cached(
>
> compyle/tests/test_array.py::test_remove[opencl]
> compyle/tests/test_array.py::test_cumsum[opencl]
> compyle/tests/test_array.py::test_take_bool[opencl-int32]
> /usr/lib/python3/dist-packages/pyopencl/cache.py:499: CompilerWarning: Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.
> prg.build(options_bytes, devices)
>
> compyle/tests/test_array.py: 5 warnings
> compyle/tests/test_template.py: 5 warnings
> /<<PKGBUILDDIR>>/compyle/template.py:52: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
> template = body[-1].value.s
>
> compyle/tests/test_array.py::test_align_multiple[opencl]
> compyle/tests/test_array.py::test_align_multiple[opencl]
> compyle/tests/test_translator.py::test_simple_function_with_return
> compyle/tests/test_translator.py::test_calling_method_of_known_type_in_method
> compyle/tests/test_translator.py::test_wrapping_class
> compyle/tests/test_translator.py::test_wrapping_class
> compyle/tests/test_translator.py::test_wrapping_class_with_ignore_methods
> /<<PKGBUILDDIR>>/compyle/translator.py:228: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
> isinstance(body[0].value, ast.Str):
>
> compyle/tests/test_array.py::test_radix_sort_by_keys
> compyle/tests/test_array.py::test_radix_sort_by_keys
> compyle/tests/test_jit.py::TestAnnotationHelper::test_declare_multiple_variables
> compyle/tests/test_jit.py::TestAnnotationHelper::test_declare_multiple_variables
> compyle/tests/test_jit.py::TestAnnotationHelper::test_no_return_value
> compyle/tests/test_jit.py::TestAnnotationHelper::test_no_return_value
> compyle/tests/test_jit.py::TestAnnotationHelper::test_undeclared_variable_declaration_in_for
> /<<PKGBUILDDIR>>/compyle/jit.py:299: DeprecationWarning: Attribute n is deprecated and will be removed in Python 3.14; use value instead
> return get_ctype_from_arg(node.n)
>
> compyle/tests/test_array.py::test_diff[int32-opencl]
> compyle/tests/test_array.py::test_diff[float32-opencl]
> compyle/tests/test_array.py::test_diff[float64-opencl]
> compyle/tests/test_array.py::test_trapz[opencl]
> compyle/tests/test_jit.py::TestAnnotationHelper::test_declare_multiple_variables
> compyle/tests/test_jit.py::TestAnnotationHelper::test_variable_as_call_arg
> compyle/tests/test_jit.py::TestAnnotationHelper::test_variable_as_call_arg_nonjit
> /<<PKGBUILDDIR>>/compyle/jit.py:205: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
> if not isinstance(node.args[0], ast.Str):
>
> compyle/tests/test_array.py::test_diff[int32-opencl]
> compyle/tests/test_array.py::test_diff[float32-opencl]
> compyle/tests/test_array.py::test_diff[float64-opencl]
> compyle/tests/test_array.py::test_trapz[opencl]
> compyle/tests/test_jit.py::TestAnnotationHelper::test_declare_multiple_variables
> compyle/tests/test_jit.py::TestAnnotationHelper::test_variable_as_call_arg
> compyle/tests/test_jit.py::TestAnnotationHelper::test_variable_as_call_arg_nonjit
> /<<PKGBUILDDIR>>/compyle/jit.py:207: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
> type_str = node.args[0].s
>
> compyle/tests/test_array.py: 3 warnings
> compyle/tests/test_low_level.py: 2 warnings
> compyle/tests/test_translator.py: 14 warnings
> /<<PKGBUILDDIR>>/compyle/translator.py:344: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
> if not isinstance(right.args[0], ast.Str):
>
> compyle/tests/test_array.py: 3 warnings
> compyle/tests/test_low_level.py: 2 warnings
> compyle/tests/test_translator.py: 14 warnings
> /<<PKGBUILDDIR>>/compyle/translator.py:346: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
> type = right.args[0].s
>
> compyle/tests/test_cython_generator.py::TestCythonCodeGenerator::test_function_with_annotation
> compyle/tests/test_cython_generator.py::TestCythonCodeGenerator::test_method_with_declare
> compyle/tests/test_cython_generator.py::TestCythonCodeGenerator::test_method_with_declare
> compyle/tests/test_cython_generator.py::TestCythonCodeGenerator::test_method_with_matrix
> compyle/tests/test_cython_generator.py::TestCythonCodeGenerator::test_method_with_matrix
> compyle/tests/test_cython_generator.py::TestCythonCodeGenerator::test_python3_annotation
> compyle/tests/test_low_level.py::TestCython::test_cython_code_with_return_and_nested_call
> compyle/tests/test_low_level.py::TestCython::test_cython_code_with_return_and_nested_call
> compyle/tests/test_low_level.py::TestCython::test_cython_with_externs
> /<<PKGBUILDDIR>>/compyle/cython_generator.py:129: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
> if not isinstance(arg0, ast.Str):
>
> compyle/tests/test_cython_generator.py::TestCythonCodeGenerator::test_function_with_annotation
> compyle/tests/test_cython_generator.py::TestCythonCodeGenerator::test_method_with_declare
> compyle/tests/test_cython_generator.py::TestCythonCodeGenerator::test_method_with_declare
> compyle/tests/test_cython_generator.py::TestCythonCodeGenerator::test_method_with_matrix
> compyle/tests/test_cython_generator.py::TestCythonCodeGenerator::test_method_with_matrix
> compyle/tests/test_cython_generator.py::TestCythonCodeGenerator::test_python3_annotation
> compyle/tests/test_low_level.py::TestCython::test_cython_code_with_return_and_nested_call
> compyle/tests/test_low_level.py::TestCython::test_cython_code_with_return_and_nested_call
> compyle/tests/test_low_level.py::TestCython::test_cython_with_externs
> /<<PKGBUILDDIR>>/compyle/cython_generator.py:133: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
> return get_declare_info(arg0.s)
>
> compyle/tests/test_ext_module.py::TestExtModule::test_that_multiple_writes_do_not_occur_for_same_source
> compyle/tests/test_ext_module.py::TestExtModule::test_that_multiple_writes_do_not_occur_for_same_source
> compyle/tests/test_ext_module.py::TestExtModule::test_that_multiple_writes_do_not_occur_for_same_source
> compyle/tests/test_ext_module.py::TestExtModule::test_that_multiple_writes_do_not_occur_for_same_source
> compyle/tests/test_ext_module.py::TestExtModule::test_that_multiple_writes_do_not_occur_for_same_source
> /usr/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=758834) is multi-threaded, use of fork() may lead to deadlocks in the child.
> self.pid = os.fork()
>
> compyle/tests/test_jit.py::TestAnnotationHelper::test_cast_return_type
> /<<PKGBUILDDIR>>/compyle/jit.py:211: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
> if not isinstance(node.args[1], ast.Str):
>
> compyle/tests/test_jit.py::TestAnnotationHelper::test_cast_return_type
> /<<PKGBUILDDIR>>/compyle/jit.py:213: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
> return node.args[1].s
>
> compyle/tests/test_jit.py::TestAnnotationHelper::test_non_jit_call_as_call_arg
> /<<PKGBUILDDIR>>/compyle/jit.py:202: UserWarning:
> In code in line 5:
>
> return g(sin(a))
> ^
>
>
> Function called is not marked by the annotate decorator. Argument
> type defaulting to 'double'. If the type is not 'double', store
> the value in a variable of appropriate type and use the variable
>
> warnings.warn(msg)
>
> compyle/tests/test_jit.py::TestAnnotationHelper::test_non_jit_call_in_return
> /<<PKGBUILDDIR>>/compyle/jit.py:202: UserWarning:
> In code in line 5:
>
> return sin(a)
> ^
>
>
> Function called is not marked by the annotate decorator. Argument
> type defaulting to 'double'. If the type is not 'double', store
> the value in a variable of appropriate type and use the variable
>
> warnings.warn(msg)
>
> compyle/tests/test_template.py::test_simple_template
> compyle/tests/test_template.py::test_simple_template
> compyle/tests/test_template.py::test_that_source_code_is_available
> /<<PKGBUILDDIR>>/compyle/template.py:53: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
> docstring = body[0].value.s if len(body) == 2 else ''
>
> compyle/tests/test_translator.py::test_calling_printf_with_string
> compyle/tests/test_translator.py::test_calling_printf_with_string
> /usr/lib/python3.12/ast.py:407: DeprecationWarning: visit_Str is deprecated; add visit_Constant
> return visitor(node)
>
> compyle/tests/test_translator.py::test_calling_printf_with_string
> compyle/tests/test_translator.py::test_calling_printf_with_string
> /<<PKGBUILDDIR>>/compyle/translator.py:700: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
> return r'"%s"' % node.s
>
> compyle/tests/test_translator.py::test_bool_true_false_and_none
> compyle/tests/test_translator.py::test_bool_true_false_and_none
> compyle/tests/test_translator.py::test_bool_true_false_and_none
> compyle/tests/test_translator.py::test_bool_true_false_and_none
> /usr/lib/python3.12/ast.py:407: DeprecationWarning: visit_NameConstant is deprecated; add visit_Constant
> return visitor(node)
>
> compyle/tests/test_translator.py::test_cast_works
> compyle/tests/test_translator.py::test_cast_works
> /<<PKGBUILDDIR>>/compyle/translator.py:388: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
> return '(%s) (%s)' % (node.args[1].s, self.visit(node.args[0]))
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> FAILED ../../../compyle/tests/test_array.py::test_sort_by_keys[opencl] - asse...
> FAILED ../../../compyle/tests/test_array.py::test_radix_sort_by_keys - assert...
> = 2 failed, 264 passed, 57 skipped, 3 deselected, 1 xfailed, 354 warnings in 334.14s (0:05:34) =
> E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build; python3.12 -m pytest -k "not test_that_multiple_compiles_do_not_occur_for_same_source and not test_const_as_call_arg and not test_const_in_return" --ignore=/<<PKGBUILDDIR>>/compyle/tests/test_cuda.py --ignore=/<<PKGBUILDDIR>>/compyle/tests/test_parallel.py /<<PKGBUILDDIR>>/compyle/tests
> I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build; python3.11 -m pytest -k "not test_that_multiple_compiles_do_not_occur_for_same_source and not test_const_as_call_arg and not test_const_in_return" --ignore=/<<PKGBUILDDIR>>/compyle/tests/test_cuda.py --ignore=/<<PKGBUILDDIR>>/compyle/tests/test_parallel.py /<<PKGBUILDDIR>>/compyle/tests
> ============================= test session starts ==============================
> platform linux -- Python 3.11.8, pytest-8.1.1, pluggy-1.4.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: pyproject.toml
> collected 327 items / 3 deselected / 324 selected
>
> ../../../compyle/tests/test_array.py ..s..s..s..s..s..s..s..s..s..s..s.. [ 10%]
> s..s.Fs...s.sx..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s. [ 33%]
> .s..s..s..s..s..s..ss..s......sss......sss......sss..s [ 49%]
> ../../../compyle/tests/test_ast_utils.py ....... [ 51%]
> ../../../compyle/tests/test_capture_stream.py ..... [ 53%]
> ../../../compyle/tests/test_config.py ............ [ 57%]
> ../../../compyle/tests/test_cython_generator.py ................. [ 62%]
> ../../../compyle/tests/test_ext_module.py ........ [ 64%]
> ../../../compyle/tests/test_gpu_struct.py s [ 65%]
> ../../../compyle/tests/test_jit.py .......................... [ 73%]
> ../../../compyle/tests/test_low_level.py s.s..... [ 75%]
> ../../../compyle/tests/test_profile.py ..... [ 77%]
> ../../../compyle/tests/test_template.py ..... [ 78%]
> ../../../compyle/tests/test_translator.py .............................. [ 87%]
> ......................... [ 95%]
> ../../../compyle/tests/test_transpiler.py ... [ 96%]
> ../../../compyle/tests/test_types.py ....... [ 98%]
> ../../../compyle/tests/test_utils.py .... [100%]
>
> =================================== FAILURES ===================================
> __________________________ test_sort_by_keys[opencl] ___________________________
>
> backend = 'opencl'
>
> @check_all_backends
> def test_sort_by_keys(backend):
> check_import(backend)
>
> # Given
> nparr1 = np.random.randint(0, 100, 16, dtype=np.int32)
> nparr2 = np.random.randint(0, 100, 16, dtype=np.int32)
> dev_array1, dev_array2 = array.wrap(nparr1, nparr2, backend=backend)
>
> # When
> out_array1, out_array2 = array.sort_by_keys([dev_array1, dev_array2])
>
> # Then
> order = np.argsort(nparr1)
> act_result1 = np.take(nparr1, order)
> act_result2 = np.take(nparr2, order)
> assert np.all(out_array1.get() == act_result1)
> > assert np.all(out_array2.get() == act_result2)
> E assert False
> E + where False = <function all at 0x7f4531955730>(array([62, 44... dtype=int32) == array([62, 44... dtype=int32)
> E + where <function all at 0x7f4531955730> = np.all
> E
> E Use -v to get more diff)
>
> ../../../compyle/tests/test_array.py:273: AssertionError
> ------------------------------ Captured log call -------------------------------
> DEBUG pyopencl.cache:cache.py:378 build program: binary cache miss (key: 4bf4d189ce2047b8b06d9a0a5bca2e9d)
> DEBUG pyopencl.cache:cache.py:413 build program: start building program from source on <pyopencl.Device 'cpu-skylake-avx512-Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz' on 'Portable Computing Language' at 0x2594f80>
> DEBUG pyopencl.cache:cache.py:419 build program: from-source build complete
> DEBUG pytools.persistent_dict:persistent_dict.py:758 pyopencl-invoker-cache-v41: disk cache hit [key=25d010a3d8d1b7c7137e612326d8db5d04a1e8ec5bb2a48c57295ed6430bda96]
> INFO pyopencl:__init__.py:469 build program: kernel 'get_size_and_offsets' was part of a lengthy source build resulting from a binary cache miss (0.35 s)
> DEBUG pytools.persistent_dict:persistent_dict.py:727 pyopencl-generated-scan-kernel-cache-v1: disk cache miss [key=611aa02c9ab60fec70c25bc297d9b1653da0a6e28c0f8ca21971a6c5efbcd16e]
> DEBUG pyopencl.scan:scan.py:1194 cache miss for generated scan kernel 'scan'
> DEBUG pyopencl.cache:cache.py:378 build program: binary cache miss (key: 653143575044338b788fc83353afc3f7)
> DEBUG pyopencl.cache:cache.py:413 build program: start building program from source on <pyopencl.Device 'cpu-skylake-avx512-Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz' on 'Portable Computing Language' at 0x2594f80>
> DEBUG pyopencl.cache:cache.py:419 build program: from-source build complete
> DEBUG pytools.persistent_dict:persistent_dict.py:727 pyopencl-invoker-cache-v41: disk cache miss [key=49efc131ac55675366d11c67a6021ffc9ab51061e766db708184340ec1e7b944]
> DEBUG pytools.persistent_dict:persistent_dict.py:696 pyopencl-invoker-cache-v41: disk cache store [key=49efc131ac55675366d11c67a6021ffc9ab51061e766db708184340ec1e7b944]
> INFO pyopencl:__init__.py:469 build program: kernel 'scan_lev1' was part of a lengthy source build resulting from a binary cache miss (1.50 s)
> DEBUG pytools.persistent_dict:persistent_dict.py:727 pyopencl-invoker-cache-v41: disk cache miss [key=eca878c5a15faa094d2cd87ee42508762ce2d70071b18e16df9b2f56071b9e2a]
> DEBUG pytools.persistent_dict:persistent_dict.py:696 pyopencl-invoker-cache-v41: disk cache store [key=eca878c5a15faa094d2cd87ee42508762ce2d70071b18e16df9b2f56071b9e2a]
> DEBUG pytools.persistent_dict:persistent_dict.py:696 pyopencl-generated-scan-kernel-cache-v1: disk cache store [key=611aa02c9ab60fec70c25bc297d9b1653da0a6e28c0f8ca21971a6c5efbcd16e]
> DEBUG pyopencl.cache:cache.py:384 build program: binary cache hit (key: 653143575044338b788fc83353afc3f7)
> DEBUG pytools.persistent_dict:persistent_dict.py:758 pyopencl-invoker-cache-v41: disk cache hit [key=49efc131ac55675366d11c67a6021ffc9ab51061e766db708184340ec1e7b944]
> DEBUG pytools.persistent_dict:persistent_dict.py:758 pyopencl-invoker-cache-v41: disk cache hit [key=eca878c5a15faa094d2cd87ee42508762ce2d70071b18e16df9b2f56071b9e2a]
> DEBUG pyopencl.cache:cache.py:378 build program: binary cache miss (key: a7aa988ad08d4c5636b571b0cd4ae55e)
> DEBUG pyopencl.cache:cache.py:413 build program: start building program from source on <pyopencl.Device 'cpu-skylake-avx512-Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz' on 'Portable Computing Language' at 0x2594f80>
> DEBUG pyopencl.cache:cache.py:419 build program: from-source build complete
> DEBUG pytools.persistent_dict:persistent_dict.py:727 pyopencl-invoker-cache-v41: disk cache miss [key=02d42ae23a40f1caecefc2770cde1b1b442262a489c1b3a002673425df9233b7]
> DEBUG pytools.persistent_dict:persistent_dict.py:696 pyopencl-invoker-cache-v41: disk cache store [key=02d42ae23a40f1caecefc2770cde1b1b442262a489c1b3a002673425df9233b7]
> INFO pyopencl:__init__.py:469 build program: kernel 'scan_lev2' was part of a lengthy source build resulting from a binary cache miss (1.95 s)
> DEBUG pytools.persistent_dict:persistent_dict.py:727 pyopencl-invoker-cache-v41: disk cache miss [key=d913f3cd98e8844fab3f92bfc28d0e5dca7af2f7da3b784402ba106d08be4e68]
> DEBUG pytools.persistent_dict:persistent_dict.py:696 pyopencl-invoker-cache-v41: disk cache store [key=d913f3cd98e8844fab3f92bfc28d0e5dca7af2f7da3b784402ba106d08be4e68]
> DEBUG pyopencl.cache:cache.py:378 build program: binary cache miss (key: fdd1b09b4764e411254319832d21c5fb)
> DEBUG pyopencl.cache:cache.py:413 build program: start building program from source on <pyopencl.Device 'cpu-skylake-avx512-Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz' on 'Portable Computing Language' at 0x2594f80>
> DEBUG pyopencl.cache:cache.py:419 build program: from-source build complete
> DEBUG pytools.persistent_dict:persistent_dict.py:727 pyopencl-invoker-cache-v41: disk cache miss [key=01951cb5ce3fe8984bb56f98fa6e9163f6396390a612759f911c18d9a47df5c2]
> DEBUG pytools.persistent_dict:persistent_dict.py:696 pyopencl-invoker-cache-v41: disk cache store [key=01951cb5ce3fe8984bb56f98fa6e9163f6396390a612759f911c18d9a47df5c2]
> INFO pyopencl:__init__.py:469 build program: kernel 'scan_final_update' was part of a lengthy source build resulting from a binary cache miss (0.50 s)
> DEBUG pytools.persistent_dict:persistent_dict.py:727 pyopencl-invoker-cache-v41: disk cache miss [key=f41f4aa10a5614c18e468c40b4ca31d6c64a59c262ed220e22930319f10ea84b]
> DEBUG pytools.persistent_dict:persistent_dict.py:696 pyopencl-invoker-cache-v41: disk cache store [key=f41f4aa10a5614c18e468c40b4ca31d6c64a59c262ed220e22930319f10ea84b]
> =============================== warnings summary ===============================
> compyle/tests/test_array.py: 8 warnings
> compyle/tests/test_jit.py: 5 warnings
> compyle/tests/test_translator.py: 93 warnings
> /usr/lib/python3.11/ast.py:418: DeprecationWarning: visit_Num is deprecated; add visit_Constant
> return visitor(node)
>
> compyle/tests/test_array.py: 31 warnings
> /usr/lib/python3/dist-packages/pyopencl/cache.py:417: CompilerWarning: Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.
> prg.build(options_bytes, [devices[i] for i in to_be_built_indices])
>
> compyle/tests/test_array.py::test_remove[opencl]
> compyle/tests/test_array.py::test_cumsum[opencl]
> compyle/tests/test_array.py::test_take_bool[opencl-int32]
> /usr/lib/python3/dist-packages/pyopencl/cache.py:495: CompilerWarning: Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.
> _create_built_program_from_source_cached(
>
> compyle/tests/test_array.py::test_remove[opencl]
> compyle/tests/test_array.py::test_cumsum[opencl]
> compyle/tests/test_array.py::test_take_bool[opencl-int32]
> /usr/lib/python3/dist-packages/pyopencl/cache.py:499: CompilerWarning: Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.
> prg.build(options_bytes, devices)
>
> compyle/tests/test_jit.py::TestAnnotationHelper::test_non_jit_call_as_call_arg
> /<<PKGBUILDDIR>>/compyle/jit.py:202: UserWarning:
> In code in line 5:
>
> return g(sin(a))
> ^
>
>
> Function called is not marked by the annotate decorator. Argument
> type defaulting to 'double'. If the type is not 'double', store
> the value in a variable of appropriate type and use the variable
>
> warnings.warn(msg)
>
> compyle/tests/test_jit.py::TestAnnotationHelper::test_non_jit_call_in_return
> /<<PKGBUILDDIR>>/compyle/jit.py:202: UserWarning:
> In code in line 5:
>
> return sin(a)
> ^
>
>
> Function called is not marked by the annotate decorator. Argument
> type defaulting to 'double'. If the type is not 'double', store
> the value in a variable of appropriate type and use the variable
>
> warnings.warn(msg)
>
> compyle/tests/test_translator.py::test_calling_printf_with_string
> compyle/tests/test_translator.py::test_calling_printf_with_string
> /usr/lib/python3.11/ast.py:418: DeprecationWarning: visit_Str is deprecated; add visit_Constant
> return visitor(node)
>
> compyle/tests/test_translator.py::test_bool_true_false_and_none
> compyle/tests/test_translator.py::test_bool_true_false_and_none
> compyle/tests/test_translator.py::test_bool_true_false_and_none
> compyle/tests/test_translator.py::test_bool_true_false_and_none
> /usr/lib/python3.11/ast.py:418: DeprecationWarning: visit_NameConstant is deprecated; add visit_Constant
> return visitor(node)
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> FAILED ../../../compyle/tests/test_array.py::test_sort_by_keys[opencl] - asse...
> = 1 failed, 265 passed, 57 skipped, 3 deselected, 1 xfailed, 151 warnings in 307.24s (0:05:07) =
> E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build; python3.11 -m pytest -k "not test_that_multiple_compiles_do_not_occur_for_same_source and not test_const_as_call_arg and not test_const_in_return" --ignore=/<<PKGBUILDDIR>>/compyle/tests/test_cuda.py --ignore=/<<PKGBUILDDIR>>/compyle/tests/test_parallel.py /<<PKGBUILDDIR>>/compyle/tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2024/03/19/compyle_0.8.1-8_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240319;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240319&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the debian-science-maintainers
mailing list