[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1040056: spirv-tools breaks spirv-llvm-translator-15 autopkgtest: exactly one input file must be specified.



Source: spirv-tools, spirv-llvm-translator-15
Control: found -1 spirv-tools/2023.3-1
Control: found -1 spirv-llvm-translator-15/15.0.0-2
Severity: serious
Tags: sid bookworm
User: debian-ci@lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of spirv-tools the autopkgtest of spirv-llvm-translator-15 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-15 from testing    15.0.0-2
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-15/34967727/log.gz

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

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: