ninja: Entering directory `out/gn' [0/2] ACTION //clang/test:check-clang(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 21995 tests, 64 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70. FAIL: Clang :: Driver/clang-offload-bundler-zlib.c (4938 of 21995) ******************** TEST 'Clang :: Driver/clang-offload-bundler-zlib.c' FAILED ******************** Exit Code: 1 Command Output (stderr): -- RUN: at line 7: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang -O0 -target x86_64-unknown-linux-gnu /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/clang-offload-bundler-zlib.c -c -emit-llvm -o /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang/test/Driver/Output/clang-offload-bundler-zlib.c.tmp.bc + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang -O0 -target x86_64-unknown-linux-gnu /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/clang-offload-bundler-zlib.c -c -emit-llvm -o /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang/test/Driver/Output/clang-offload-bundler-zlib.c.tmp.bc RUN: at line 12: touch /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang/test/Driver/Output/clang-offload-bundler-zlib.c.tmp.empty + touch /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang/test/Driver/Output/clang-offload-bundler-zlib.c.tmp.empty RUN: at line 17: echo 'Content of device file 1' > /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang/test/Driver/Output/clang-offload-bundler-zlib.c.tmp.tgt1 + echo 'Content of device file 1' RUN: at line 18: echo 'Content of device file 2' > /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang/test/Driver/Output/clang-offload-bundler-zlib.c.tmp.tgt2 + echo 'Content of device file 2' RUN: at line 23: env OFFLOAD_BUNDLER_COMPRESS=1 OFFLOAD_BUNDLER_VERBOSE=1 clang-offload-bundler -type=bc -targets=hip-amdgcn-amd-amdhsa--gfx900,hip-amdgcn-amd-amdhsa--gfx906 -input=/usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang/test/Driver/Output/clang-offload-bundler-zlib.c.tmp.tgt1 -input=/usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang/test/Driver/Output/clang-offload-bundler-zlib.c.tmp.tgt2 -output=/usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang/test/Driver/Output/clang-offload-bundler-zlib.c.tmp.hip.bundle.bc 2>&1 | /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck -check-prefix=COMPRESS /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/clang-offload-bundler-zlib.c + env OFFLOAD_BUNDLER_COMPRESS=1 OFFLOAD_BUNDLER_VERBOSE=1 clang-offload-bundler -type=bc -targets=hip-amdgcn-amd-amdhsa--gfx900,hip-amdgcn-amd-amdhsa--gfx906 -input=/usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang/test/Driver/Output/clang-offload-bundler-zlib.c.tmp.tgt1 -input=/usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang/test/Driver/Output/clang-offload-bundler-zlib.c.tmp.tgt2 -output=/usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang/test/Driver/Output/clang-offload-bundler-zlib.c.tmp.hip.bundle.bc + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck -check-prefix=COMPRESS /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/clang-offload-bundler-zlib.c /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/clang-offload-bundler-zlib.c:59:14: error: COMPRESS: expected string not found in input // COMPRESS: Compressed bundle format version: 3 ^ :4:21: note: scanning from here Compression level: 6 ^ :7:1: note: possible intended match here Compression rate: 1.86 ^ Input file: Check file: /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/clang-offload-bundler-zlib.c -dump-input=help explains the following input dump. Input was: <<<<<< 1: Compressed bundle format version: 2 2: Total file size (including headers): 125 bytes 3: Compression method used: zlib 4: Compression level: 6 check:59'0 X error: no match found 5: Binary size before compression: 188 bytes check:59'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: Binary size after compression: 101 bytes check:59'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: Compression rate: 1.86 check:59'0 ~~~~~~~~~~~~~~~~~~~~~~~ check:59'1 ? possible intended match 8: Compression ratio: 53.72% check:59'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: Compression speed: 0.68 MB/s check:59'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: Truncated MD5 hash: 0x2bcafb899a29dc94 check:59'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: ===-------------------------------------------------------------------------=== check:59'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12: Timer group for clang offload bundler check:59'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (1): Clang :: Driver/clang-offload-bundler-zlib.c Testing Time: 134.45s Total Discovered Tests: 46454 Skipped : 4 (0.01%) Unsupported : 108 (0.23%) Passed : 46309 (99.69%) Expectedly Failed: 32 (0.07%) Failed : 1 (0.00%) FAILED: gen/clang/test/run-lit python3 bin/llvm-lit -sv ../../clang/test ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn', 'check-clang']' returned non-zero exit status 1.