[Pkg-opencl-devel] Bug#1040055: spirv-tools breaks spirv-llvm-translator-14 autopkgtest: exactly one input file must be specified

Paul Gevers elbrus at debian.org
Sat Jul 1 20:45:46 BST 2023


Source: spirv-tools, spirv-llvm-translator-14
Control: found -1 spirv-tools/2023.3-1
Control: found -1 spirv-llvm-translator-14/14.0.0-5
Severity: serious
Tags: sid bookworm
User: debian-ci at lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of spirv-tools the autopkgtest of 
spirv-llvm-translator-14 fails in testing when that autopkgtest is run 
with the binary packages of spirv-tools from unstable. It passes when 
run with only packages from testing. In tabular form:

                        pass            fail
spirv-tools            from testing    2023.3-1
spirv-llvm-translator-14 from testing    14.0.0-5
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 spirv-tools 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=spirv-tools

https://ci.debian.net/data/autopkgtest/testing/amd64/s/spirv-llvm-translator-14/34967726/log.gz

  38s + sed -n -r /^Build/,/^$/s/.*llvm-([0-9]+)-dev.*/\1/p debian/control
  38s + LLVM_VERSION=14
  38s + cp -a . /tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp
  38s + cd /tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp
  38s + mkdir build
  38s + cd build
  38s + cmake -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=/usr/include 
-DLLVM_SPIRV_INCLUDE_TESTS=ON 
-DLLVM_EXTERNAL_LIT=/usr/lib/llvm-14/build/utils/lit/lit.py -Wno-dev ..
  38s -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") 
38s -- Using SPIR-V Headers from
  38s           /usr/include
  38s -- The CXX compiler identification is GNU 12.3.0
  38s -- The C compiler identification is GNU 12.3.0
  38s -- Detecting CXX compiler ABI info
  38s -- Detecting CXX compiler ABI info - done
  38s -- Check for working CXX compiler: /usr/bin/c++ - skipped
  38s -- Detecting CXX compile features
  38s -- Detecting CXX compile features - done
  38s -- Detecting C compiler ABI info
  38s -- Detecting C compiler ABI info - done
  38s -- Check for working C compiler: /usr/bin/cc - skipped
  38s -- Detecting C compile features
  38s -- Detecting C compile features - done
  38s -- Performing Test HAVE_FFI_CALL
  38s -- Performing Test HAVE_FFI_CALL - Success
  38s -- Found FFI: /usr/lib/x86_64-linux-gnu/libffi.so   38s -- 
Performing Test Terminfo_LINKABLE
  38s -- Performing Test Terminfo_LINKABLE - Success
  38s -- Found Terminfo: /usr/lib/x86_64-linux-gnu/libtinfo.so   38s -- 
Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)  38s -- 
Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version 
"2.9.14")  38s -- Linker detection: GNU ld
  38s -- Performing Test C_SUPPORTS_FPIC
  38s -- Performing Test C_SUPPORTS_FPIC - Success
  38s -- Performing Test CXX_SUPPORTS_FPIC
  39s -- Performing Test CXX_SUPPORTS_FPIC - Success
  39s -- Building with -fPIC
  39s -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION
  39s -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success
  39s -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION
  39s -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success
  39s -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
  39s -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
  39s -- Performing Test C_SUPPORTS_WERROR_DATE_TIME
  39s -- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success
  39s -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME
  39s -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success
  39s -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
  39s -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - 
Failed
  39s -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
  39s -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW 
- Failed
  39s -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
  39s -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - 
Success
  39s -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG
  39s -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success
  39s -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG
  40s -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success
  40s -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
  40s -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed
  40s -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
  40s -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed
  40s -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG
  40s -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Success
  40s -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG
  40s -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG - Success
  40s -- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG
  40s -- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG - Success
  40s -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG
  40s -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success
  40s -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR
  40s -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Failed
  40s -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG
  40s -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG - Success
  40s -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL
  40s -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL - Success
  40s -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP
  40s -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed
  40s -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG
  40s -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Failed
  40s -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG
  41s -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Failed
  41s -- Performing Test C_SUPPORTS_MISLEADING_INDENTATION_FLAG
  41s -- Performing Test C_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success
  41s -- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG
  41s -- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success
  41s -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS
  41s -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success
  41s -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS
  41s -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success
  41s -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS
  41s -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success
  41s -- Performing Test C_SUPPORTS_FDATA_SECTIONS
  41s -- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success
  41s -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS
  41s -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success
  41s -- Looking for os_signpost_interval_begin
  41s -- Looking for os_signpost_interval_begin - not found
  41s -- Found LLVM: 14.0.6
  41s -- Checking for one of the modules 'SPIRV-Tools'
  41s -- Configuring done (3.5s)
  41s -- Generating done (0.0s)
  41s -- Build files have been written to: 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build
  41s + make --touch
  41s + rm -f tools/llvm-spirv/llvm-spirv
  41s + cp /usr/bin/llvm-spirv-14 tools/llvm-spirv/llvm-spirv
  41s + make -C test clean
  41s make: Entering directory 
'/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test'
  41s make[1]: Entering directory 
'/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build'
  41s make[2]: Entering directory 
'/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build'
  41s make[2]: Leaving directory 
'/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build'
  41s make[2]: Entering directory 
'/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build'
  41s make[2]: Leaving directory 
'/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build'
  41s make[1]: Leaving directory 
'/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build'
  41s make: Leaving directory 
'/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test'
  41s + make test
  41s [  0%] Built target intrinsics_gen
  41s [ 92%] Built target LLVMSPIRVLib
  41s [ 97%] Built target llvm-spirv
  41s [100%] Running the LLVM-SPIRV regression tests
  42s lit.py: /usr/lib/llvm-14/build/utils/lit/lit/llvm/config.py:436: 
note: using clang: /usr/lib/llvm-14/bin/clang
  42s -- Testing: 623 tests, 64 workers --
  42s Testing: 0  2  4  6  8  10 12 14 16  42s FAIL: LLVM_SPIRV :: 
GroupAndSubgroupInstructions.spvasm (119 of 623)
  42s ******************** TEST 'LLVM_SPIRV :: 
GroupAndSubgroupInstructions.spvasm' FAILED ********************
  42s Script:
  42s --
  42s : 'RUN: at line 34';   /usr/bin/spirv-as < 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/test/GroupAndSubgroupInstructions.spvasm 
--target-env spv1.0 -o 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test/test_output/Output/GroupAndSubgroupInstructions.spvasm.tmp.spv
  42s : 'RUN: at line 35';   /usr/bin/spirv-val 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test/test_output/Output/GroupAndSubgroupInstructions.spvasm.tmp.spv
  42s : 'RUN: at line 36'; 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/tools/llvm-spirv/llvm-spirv 
-r 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test/test_output/Output/GroupAndSubgroupInstructions.spvasm.tmp.spv 
--spirv-target-env=CL1.2 -o 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test/test_output/Output/GroupAndSubgroupInstructions.spvasm.tmp.bc
  42s : 'RUN: at line 37';   /usr/lib/llvm-14/bin/llvm-dis 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test/test_output/Output/GroupAndSubgroupInstructions.spvasm.tmp.bc 
-o 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test/test_output/Output/GroupAndSubgroupInstructions.spvasm.tmp.ll
  42s : 'RUN: at line 38';   /usr/lib/llvm-14/bin/FileCheck < 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test/test_output/Output/GroupAndSubgroupInstructions.spvasm.tmp.ll 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/test/GroupAndSubgroupInstructions.spvasm 
--check-prefixes=CHECK-COMMON,CHECK-CL,CHECK-CL12
  42s : 'RUN: at line 40'; 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/tools/llvm-spirv/llvm-spirv 
-r 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test/test_output/Output/GroupAndSubgroupInstructions.spvasm.tmp.spv 
--spirv-target-env=CL2.0 -o 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test/test_output/Output/GroupAndSubgroupInstructions.spvasm.tmp.bc
  42s : 'RUN: at line 41';   /usr/lib/llvm-14/bin/llvm-dis 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test/test_output/Output/GroupAndSubgroupInstructions.spvasm.tmp.bc 
-o 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test/test_output/Output/GroupAndSubgroupInstructions.spvasm.tmp.ll
  42s : 'RUN: at line 42';   /usr/lib/llvm-14/bin/FileCheck < 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test/test_output/Output/GroupAndSubgroupInstructions.spvasm.tmp.ll 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/test/GroupAndSubgroupInstructions.spvasm 
--check-prefixes=CHECK-COMMON,CHECK-CL,CHECK-CL20
  42s : 'RUN: at line 44'; 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/tools/llvm-spirv/llvm-spirv 
-r 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test/test_output/Output/GroupAndSubgroupInstructions.spvasm.tmp.spv 
--spirv-target-env=SPV-IR -o 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test/test_output/Output/GroupAndSubgroupInstructions.spvasm.tmp.bc
  42s : 'RUN: at line 45';   /usr/lib/llvm-14/bin/llvm-dis 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test/test_output/Output/GroupAndSubgroupInstructions.spvasm.tmp.bc 
-o 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test/test_output/Output/GroupAndSubgroupInstructions.spvasm.tmp.ll
  42s : 'RUN: at line 46';   /usr/lib/llvm-14/bin/FileCheck < 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test/test_output/Output/GroupAndSubgroupInstructions.spvasm.tmp.ll 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/test/GroupAndSubgroupInstructions.spvasm 
--check-prefixes=CHECK-COMMON,CHECK-SPV-IR
  42s : 'RUN: at line 48'; 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/tools/llvm-spirv/llvm-spirv 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test/test_output/Output/GroupAndSubgroupInstructions.spvasm.tmp.bc 
--spirv-ext=+all -o 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test/test_output/Output/GroupAndSubgroupInstructions.spvasm.tmp.rev.spv
  42s : 'RUN: at line 49';   /usr/bin/spirv-val 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test/test_output/Output/GroupAndSubgroupInstructions.spvasm.tmp.rev.spv
  42s --
  42s Exit Code: 1
  42s  42s Command Output (stderr):
  42s --
  42s error: exactly one input file must be specified.
  42s  42s --
  42s  42s ********************
  44s Testing: 0  2  4  6  8  10 12 14 16 18 20 22 24 26 28 30 32 34 36 
38 40 42 44 46 48 50 52 54 56 58  44s FAIL: LLVM_SPIRV :: 
spirv-tools-dis.ll (383 of 623)
  44s ******************** TEST 'LLVM_SPIRV :: spirv-tools-dis.ll' 
FAILED ********************
  44s Script:
  44s --
  44s : 'RUN: at line 1';   /usr/lib/llvm-14/bin/llvm-as 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/test/spirv-tools-dis.ll 
-o 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test/test_output/Output/spirv-tools-dis.ll.tmp.bc
  44s : 'RUN: at line 2'; 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/tools/llvm-spirv/llvm-spirv 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test/test_output/Output/spirv-tools-dis.ll.tmp.bc 
--spirv-tools-dis -o - | /usr/lib/llvm-14/bin/FileCheck 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/test/spirv-tools-dis.ll
  44s : 'RUN: at line 3'; 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/tools/llvm-spirv/llvm-spirv 
/tmp/autopkgtest-lxc.xpnph_ne/downtmp/autopkgtest_tmp/build/test/test_output/Output/spirv-tools-dis.ll.tmp.bc 
--spirv-tools-dis -o - | /usr/bin/spirv-as
  44s --
  44s Exit Code: 1
  44s  44s Command Output (stderr):
  44s --
  44s error: exactly one input file must be specified.
  44s  44s --
  44s  44s ********************
  47s Testing: 0  2  4  6  8  10 12 14 16 18 20 22 24 26 28 30 32 34 36 
38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 
86 88 90 92 94 96 98  47s ********************
  47s Failed Tests (2):
  47s   LLVM_SPIRV :: GroupAndSubgroupInstructions.spvasm
  47s   LLVM_SPIRV :: spirv-tools-dis.ll
  47s  47s  47s Testing Time: 5.81s
  47s   Unsupported      :   1
  47s   Passed           : 616
  47s   Expectedly Failed:   4
  47s   Failed           :   2
  47s make[3]: *** [test/CMakeFiles/check-llvm-spirv.dir/build.make:71: 
test/CMakeFiles/check-llvm-spirv] Error 1
  47s make[2]: *** [CMakeFiles/Makefile2:376: 
test/CMakeFiles/check-llvm-spirv.dir/all] Error 2
  47s make[1]: *** [CMakeFiles/Makefile2:409: 
test/CMakeFiles/test.dir/rule] Error 2
  47s make: *** [Makefile:299: test] Error 2
  48s autopkgtest [19:16:35]: test upstream-testsuite

-------------- 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/pkg-opencl-devel/attachments/20230701/8c77bf4b/attachment-0001.sig>


More information about the Pkg-opencl-devel mailing list