Bug#1060318: silx: autopkgtest failure with Python 3.12
In order to reproduce the bug, install python3-silx 2.0.0+dfsg-1 python3-pytest-xvfb pocl-opencl-icd then $ pytest --pyargs silx.image.test.test_medianfilter -v === test session starts === platform linux -- Python 3.11.8, pytest-8.0.2, pluggy-1.4.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /home/picca/debian/science-team/pyvkfft plugins: anyio-4.2.0, dials-data-2.4.0, xvfb-3.0.0 collected 2 items ::TestMedianFilterEngines::testCppMedFilt2d PASSED [ 50%] ::TestMedianFilterEngines::testOpenCLMedFilt2d Abandon the OpenCL test fails
Bug#1060318: silx: autopkgtest failure with Python 3.12
With the silx 2.0.0 version the failire is located in the OpenCL part the backtrace is this one when running the median filter # build the packag eintht echroot and enter into it once build dgit --gbp sbuild --finished-build-commands '%SBUILD_SHELL' run this command to obtain the backtrace... DEBUGINFOD_URLS="https://debuginfod.debian.net; PYTHONPATH=. gdb --args python3.11 -m pytest --pyarg silx silx/image/test/test_medianfilter.py here the backtrace. Thread 1 "python3.11" received signal SIGABRT, Aborted. 0x77d3516c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt #0 0x77d3516c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x77ce7472 in raise () from /lib/x86_64-linux-gnu/libc.so.6 #2 0x77cd14b2 in abort () from /lib/x86_64-linux-gnu/libc.so.6 #3 0x77cd13d5 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #4 0x77ce03a2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6 #5 0x7344770d in pocl::Kernel::createParallelRegionBefore (this=, B=0x8980180) at ../llvmopencl/./lib/llvmopencl/Kernel.cc:129 #6 pocl::Kernel::getParallelRegions (this=, LI=..., ParallelRegions=0x7fff4860) at ../llvmopencl/./lib/llvmopencl/Kernel.cc:193 #7 0x7346ab82 in pocl::WorkitemLoopsImpl::processFunction (this=this@entry=0x7fff47c0, F=...) at ../llvmopencl/./lib/llvmopencl/WorkitemLoops.cc:445 #8 0x7346cb8d in pocl::WorkitemLoopsImpl::runOnFunction (this=0x7fff47c0, F=...) at ../llvmopencl/./lib/llvmopencl/WorkitemLoops.cc:183 #9 0x7346ecac in pocl::WorkitemLoops::run (this=, F=..., AM=...) at ../llvmopencl/./lib/llvmopencl/WorkitemLoops.cc:1490 #10 0x7346ede5 in llvm::detail::PassModel>::run(llvm::Function&, llvm::AnalysisManager&) (this=, IR=..., AM=...) at /usr/lib/llvm-16/include/llvm/IR/PassManagerInternal.h:89 #11 0x7fffe91d7579 in run () at llvm/include/llvm/IR/PassManager.h:517 #12 0x7fffeaeedb01 in llvm::detail::PassModel>, llvm::PreservedAnalyses, llvm::AnalysisManager>::run(llvm::Function&, llvm::AnalysisManager&) () at llvm/include/llvm/IR/PassManagerInternal.h:89 #13 0x7fffe91dade6 in run () at build-llvm/tools/clang/stage2-bins/llvm/lib/IR/PassManager.cpp:124 #14 0x7fffeaeed921 in llvm::detail::PassModel>::run(llvm::Module&, llvm::AnalysisManager&) () at llvm/include/llvm/IR/PassManagerInternal.h:89 #15 0x7348cd85 in llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (AM=..., IR=..., this=0x7fff50b8) at /usr/include/c++/13/bits/unique_ptr.h:199 #16 PoCLModulePassManager::run (this=0x7fff4f98, Bitcode=...) at ./lib/CL/pocl_llvm_wg.cc:322 #17 0x73494b14 in TwoStagePoCLModulePassManager::run (Bitcode=..., this=0x7fff4e10) at ./lib/CL/pocl_llvm_wg.cc:386 #18 runKernelCompilerPasses (Device=Device@entry=0x151f050, Mod=...) at ./lib/CL/pocl_llvm_wg.cc:727 #19 0x73496302 in pocl_llvm_run_pocl_passes(llvm::Module*, _cl_command_run*, llvm::LLVMContext*, PoclLLVMContextData*, _cl_kernel*, _cl_device_id*, int) [clone .isra.0] ( Bitcode=Bitcode@entry=0x16d6ef0, RunCommand=RunCommand@entry=0x7fffbd40, PoclCtx=PoclCtx@entry=0x157e340, Kernel=Kernel@entry=0x7fffbcb0, Device=Device@entry=0x151f050, Specialize=Specialize@entry=0, LLVMContext=) at ./lib/CL/pocl_llvm_wg.cc:1101 #20 0x7348ff32 in pocl_llvm_generate_workgroup_function_nowrite (DeviceI=DeviceI@entry=0, Device=Device@entry=0x151f050, Kernel=Kernel@entry=0x7fffbcb0, Command=Command@entry=0x7fffbd40, Output=Output@entry=0x7fff6548, Specialize=Specialize@entry=0) at ./lib/CL/pocl_llvm_wg.cc:1147 #21 0x73424b2f in llvm_codegen (output=output@entry=0x30d19f0 "/sbuild-nonexistent/.cache/pocl/kcache/BC/KCELIMKPIAEADDLPJHGMOMPOPMNFLCMCBIOCK/medfilt2d/0-0-0/medfilt2d.so", device_i=device_i@entry=0, kernel=kernel@entry=0x7fffbcb0, device=0x151f050, command=command@entry=0x7fffbd40, specialize=specialize@entry=0) at ./lib/CL/devices/common.c:137 #22 0x7342778e in pocl_check_kernel_disk_cache (command=command@entry=0x7fffbd40, specialized=specialized@entry=0) at ./lib/CL/devices/common.c:983 #23 0x73427e7a in pocl_check_kernel_dlhandle_cache (command=command@entry=0x7fffbd40, retain=retain@entry=0, specialize=specialize@entry=0) at ./lib/CL/devices/common.c:1108 #24 0x7fffe477fc3d in pocl_basic_compile_kernel (cmd=0x7fffbd40, kernel=0x7fffbcb0, device=, specialize=0) at ./lib/CL/devices/basic/basic.c:682 #25 0x7342c71f in pocl_driver_build_poclbinary (program=0x15a6170, device_i=) at ./lib/CL/devices/common_driver.c:969 #26 0x733f291e in get_binary_sizes (sizes=, program=) at ./lib/CL/clGetProgramInfo.c:54 #27 POclGetProgramInfo (program=0x15a6170, param_name=, param_value_size=, param_value=0x15116f0, param_value_size_ret=0x7fffbf70) at ./lib/CL/clGetProgramInfo.c:143 #28 0x736a46ae in pyopencl::program::get_info
Bug#1060318: silx: autopkgtest failure with Python 3.12
Source: silx Version: 1.1.2+dfsg-2 Severity: serious User: debian-pyt...@lists.debian.org Usertags: python3.12 Hi Maintainer silx's autopkgtests fail with Python 3.12 [1]. I've copied what I hope is the relevant part of the log below. Regards Graham [1] https://ci.debian.net/packages/s/silx/testing/amd64/ 187s autopkgtest [23:24:52]: test command1: [--- 187s Testing with python3.12: 192s = test session starts == 192s platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0 192s rootdir: /tmp/autopkgtest-lxc.90b2flld/downtmp/autopkgtest_tmp 192s plugins: xvfb-3.0.0, mock-3.12.0 192s collected 1798 items 192s 192s app/test/test_convert.py [ 0%] 192s app/view/test/test_launcher.py . [ 0%] 196s app/view/test/test_view.py .. [ 2%] 196s gui/_glutils/test/test_gl.py .. [ 2%] 197s gui/data/test/test_arraywidget.py s... [ 3%] 205s gui/data/test/test_dataviewer.py ... [ 5%] 205s ... [ 5%] 206s gui/data/test/test_numpyaxesselector.py . [ 6%] 208s gui/data/test/test_textformatter.py [ 7%] 217s gui/dialog/test/test_colormapdialog.py ... [ 8%] 223s gui/dialog/test/test_datafiledialog.py . [ 10%] 223s .. [ 10%] 233s gui/dialog/test/test_imagefiledialog.py [ 12%] 233s .. [ 12%] 238s gui/hdf5/test/test_hdf5.py . [ 14%] 242s ... [ 16%] 242s gui/plot/_utils/test/test_dtime_ticklayout.py . [ 16%] 242s gui/plot/_utils/test/test_ticklayout.py ... [ 16%] 242s gui/plot3d/scene/test/test_transform.py . [ 16%] 242s gui/plot3d/scene/test/test_utils.py [ 17%] 242s gui/test/test_colors.py ... [ 19%] 242s gui/test/test_console.py ss [ 19%] 243s gui/test/test_icons.py .s.. [ 20%] 243s gui/test/test_qt.py [ 20%] 243s gui/utils/test/test_async.py ... [ 20%] 245s gui/utils/test/test_glutils.py [ 20%] 246s gui/utils/test/test_image.py .. [ 21%] 246s gui/utils/test/test_qtutils.py . [ 21%] 246s gui/utils/test/test_testutils.py . [ 21%] 246s gui/widgets/test/test_boxlayoutdockwidget.py . [ 21%] 246s gui/widgets/test/test_elidedlabel.py [ 21%] 246s gui/widgets/test/test_flowlayout.py . [ 21%] 246s gui/widgets/test/test_framebrowser.py . [ 22%] 247s gui/widgets/test/test_hierarchicaltableview.py ... [ 22%] 247s gui/widgets/test/test_legendiconwidget.py ... [ 22%] 248s gui/widgets/test/test_periodictable.py [ 22%] 248s gui/widgets/test/test_printpreview.py [ 23%] 248s gui/widgets/test/test_rangeslider.py ... [ 23%] 248s gui/widgets/test/test_tablewidget.py . [ 23%] 249s gui/widgets/test/test_threadpoolpushbutton.py . [ 23%] 249s image/marchingsquares/test/test_funcapi.py .. [ 23%] 249s image/marchingsquares/test/test_mergeimpl.py .. [ 25%] 249s image/test/test_bb.py [ 25%] 249s image/test/test_bilinear.py .. [ 25%] 275s image/test/test_medianfilter.py .. [ 25%] 275s image/test/test_shapes.py [ 26%] 276s image/test/test_tomography.py .. [ 26%] 277s io/test/test_commonh5.py ... [ 28%] 277s io/test/test_dictdump.py ...s.s [ 30%] 277s io/test/test_fabioh5.py ... [ 32%] 277s io/test/test_fioh5.py [ 32%] 284s io/test/test_h5py_utils.py ... [ 33%] 285s io/test/test_nxdata.py [ 34%] 285s io/test/test_octaveh5.py .. [ 34%] 285s io/test/test_rawh5.py ... [ 34%] 285s io/test/test_specfile.py s. [ 35%] 285s io/test/test_specfilewrapper.py .. [ 36%] 285s io/test/test_spech5.py .. [ 39%] 285s io/test/test_spectoh5.py .. [ 39%] 285s io/test/test_url.py .. [ 41%] 285s io/test/test_utils.py .. [ 44%] 285s [ 44%] 285s io/test/test_write_to_h5.py ... [ 45%] 291s math/fft/test/test_fft.py .ss.s [ 45%] 291s math/fit/test/test_bgtheories.py .. [ 45%] 291s math/fit/test/test_filters.py ... [ 46%] 292s math/fit/test/test_fit.py . [ 46%] 293s math/fit/test/test_fitmanager.py . [ 47%] 293s math/fit/test/test_functions.py .. [ 47%] 293s math/fit/test/test_peaks.py . [ 47%] 293s math/medianfilter/test/test_medianfilter.py [ 49%] 296s ... [ 49%] 296s math/test/test_HistogramndLut_nominal.py ... [ 51%] 296s [ 52%] 296s math/test/test_calibration.py ... [ 53%] 296s math/test/test_colormap.py [ 54%] 296s math/test/test_combo.py . [ 54%] 296s math/test/test_histogramnd_error.py . [ 55%] 296s