[clang] [HLSL] Vector Usual Arithmetic Conversions (PR #108659)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 26 17:08:14 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-ve-ninja` running on `hpce-ve-main` while building `clang` at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/12/builds/6689

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/ve-linux.py ...' (failure)
...
[293/299] Linking CXX executable tools/clang/unittests/Serialization/SerializationTests
[294/299] Linking CXX executable tools/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests
[295/299] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests
[296/299] Linking CXX executable tools/clang/unittests/CodeGen/ClangCodeGenTests
[297/299] Linking CXX executable tools/clang/unittests/Interpreter/ClangReplInterpreterTests
[298/299] Linking CXX executable tools/clang/unittests/Frontend/FrontendTests
[298/299] Running the Clang regression tests
-- Testing: 21110 tests, 48 workers --
llvm-lit: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80..
FAIL: Clang :: SemaHLSL/Language/UsualArithmeticConversions.hlsl (18730 of 21110)
******************** TEST 'Clang :: SemaHLSL/Language/UsualArithmeticConversions.hlsl' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.3-library -finclude-default-header -fnative-half-type /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/SemaHLSL/Language/UsualArithmeticConversions.hlsl -DERRORS -Wconversion -Wdouble-promotion -verify
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.3-library -finclude-default-header -fnative-half-type /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/SemaHLSL/Language/UsualArithmeticConversions.hlsl -DERRORS -Wconversion -Wdouble-promotion -verify
RUN: at line 2: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.3-library -std=hlsl2018 -finclude-default-header -fnative-half-type /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/SemaHLSL/Language/UsualArithmeticConversions.hlsl -DERRORS -Wconversion -Wdouble-promotion -verify
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.3-library -std=hlsl2018 -finclude-default-header -fnative-half-type /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/SemaHLSL/Language/UsualArithmeticConversions.hlsl -DERRORS -Wconversion -Wdouble-promotion -verify
error: 'expected-warning' diagnostics seen but not expected: 
  (frontend): support for HLSL language version hlsl2018 is incomplete, recommend using hlsl202x instead
1 error generated.

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
********************
Failed Tests (1):
  Clang :: SemaHLSL/Language/UsualArithmeticConversions.hlsl


Testing Time: 55.24s

Total Discovered Tests: 38085
  Skipped          :    10 (0.03%)
  Unsupported      :  3778 (9.92%)
  Passed           : 34269 (89.98%)
  Expectedly Failed:    27 (0.07%)
  Failed           :     1 (0.00%)
FAILED: tools/clang/test/CMakeFiles/check-clang /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/tools/clang/test/CMakeFiles/check-clang 
cd /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/tools/clang/test && /home/buildbot/sandbox/bin/python3 /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/./bin/llvm-lit -sv --param USE_Z3_SOLVER=0 /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/tools/clang/test
ninja: build stopped: subcommand failed.
make: *** [check-llvm] Error 1
['make', '-f', '/scratch/buildbot/bothome/clang-ve-ninja/llvm-zorg/zorg/buildbot/builders/annotated/ve-linux-steps.make', 'check-llvm', 'BUILDROOT=/scratch/buildbot/bothome/clang-ve-ninja/build'] exited with return code 2.
The build step threw an exception...
Traceback (most recent call last):
  File "../llvm-zorg/zorg/buildbot/builders/annotated/ve-linux.py", line 47, in step
Step 8 (check-llvm) failure: check-llvm (failure)
...
[293/299] Linking CXX executable tools/clang/unittests/Serialization/SerializationTests
[294/299] Linking CXX executable tools/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests
[295/299] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests
[296/299] Linking CXX executable tools/clang/unittests/CodeGen/ClangCodeGenTests
[297/299] Linking CXX executable tools/clang/unittests/Interpreter/ClangReplInterpreterTests
[298/299] Linking CXX executable tools/clang/unittests/Frontend/FrontendTests
[298/299] Running the Clang regression tests
-- Testing: 21110 tests, 48 workers --
llvm-lit: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80..
FAIL: Clang :: SemaHLSL/Language/UsualArithmeticConversions.hlsl (18730 of 21110)
******************** TEST 'Clang :: SemaHLSL/Language/UsualArithmeticConversions.hlsl' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.3-library -finclude-default-header -fnative-half-type /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/SemaHLSL/Language/UsualArithmeticConversions.hlsl -DERRORS -Wconversion -Wdouble-promotion -verify
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.3-library -finclude-default-header -fnative-half-type /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/SemaHLSL/Language/UsualArithmeticConversions.hlsl -DERRORS -Wconversion -Wdouble-promotion -verify
RUN: at line 2: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.3-library -std=hlsl2018 -finclude-default-header -fnative-half-type /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/SemaHLSL/Language/UsualArithmeticConversions.hlsl -DERRORS -Wconversion -Wdouble-promotion -verify
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.3-library -std=hlsl2018 -finclude-default-header -fnative-half-type /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/SemaHLSL/Language/UsualArithmeticConversions.hlsl -DERRORS -Wconversion -Wdouble-promotion -verify
error: 'expected-warning' diagnostics seen but not expected: 
  (frontend): support for HLSL language version hlsl2018 is incomplete, recommend using hlsl202x instead
1 error generated.

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
********************
Failed Tests (1):
  Clang :: SemaHLSL/Language/UsualArithmeticConversions.hlsl


Testing Time: 55.24s

Total Discovered Tests: 38085
  Skipped          :    10 (0.03%)
  Unsupported      :  3778 (9.92%)
  Passed           : 34269 (89.98%)
  Expectedly Failed:    27 (0.07%)
  Failed           :     1 (0.00%)
FAILED: tools/clang/test/CMakeFiles/check-clang /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/tools/clang/test/CMakeFiles/check-clang 
cd /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/tools/clang/test && /home/buildbot/sandbox/bin/python3 /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/./bin/llvm-lit -sv --param USE_Z3_SOLVER=0 /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/tools/clang/test
ninja: build stopped: subcommand failed.
make: *** [check-llvm] Error 1
['make', '-f', '/scratch/buildbot/bothome/clang-ve-ninja/llvm-zorg/zorg/buildbot/builders/annotated/ve-linux-steps.make', 'check-llvm', 'BUILDROOT=/scratch/buildbot/bothome/clang-ve-ninja/build'] exited with return code 2.
The build step threw an exception...
Traceback (most recent call last):
  File "../llvm-zorg/zorg/buildbot/builders/annotated/ve-linux.py", line 47, in step

```

</details>

https://github.com/llvm/llvm-project/pull/108659


More information about the cfe-commits mailing list