ninja: Entering directory `out/gn' [0/1] ACTION //llvm/test:check-llvm(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using lld-link: /Users/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld64.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 59899 tests, 8 workers -- Testing: FAIL: LLVM :: CodeGen/X86/basic-block-sections-bb-hash.ll (1 of 59899) ******************** TEST 'LLVM :: CodeGen/X86/basic-block-sections-bb-hash.ll' FAILED ******************** Exit Code: 2 Command Output (stdout): -- # RUN: at line 3 /Users/thakis/src/llvm-project/out/gn/bin/llc /Users/thakis/src/llvm-project/llvm/test/CodeGen/X86/basic-block-sections-bb-hash.ll -O0 -mtriple=x86_64-pc-linux -function-sections -filetype=obj -basic-block-address-map -emit-bb-hash -o /Users/thakis/src/llvm-project/out/gn/obj/llvm/test/CodeGen/X86/Output/basic-block-sections-bb-hash.ll.tmp.o # executed command: /Users/thakis/src/llvm-project/out/gn/bin/llc /Users/thakis/src/llvm-project/llvm/test/CodeGen/X86/basic-block-sections-bb-hash.ll -O0 -mtriple=x86_64-pc-linux -function-sections -filetype=obj -basic-block-address-map -emit-bb-hash -o /Users/thakis/src/llvm-project/out/gn/obj/llvm/test/CodeGen/X86/Output/basic-block-sections-bb-hash.ll.tmp.o # RUN: at line 4 /Users/thakis/src/llvm-project/out/gn/bin/obj2yaml /Users/thakis/src/llvm-project/out/gn/obj/llvm/test/CodeGen/X86/Output/basic-block-sections-bb-hash.ll.tmp.o -o /Users/thakis/src/llvm-project/out/gn/obj/llvm/test/CodeGen/X86/Output/basic-block-sections-bb-hash.ll.tmp.yaml # executed command: /Users/thakis/src/llvm-project/out/gn/bin/obj2yaml /Users/thakis/src/llvm-project/out/gn/obj/llvm/test/CodeGen/X86/Output/basic-block-sections-bb-hash.ll.tmp.o -o /Users/thakis/src/llvm-project/out/gn/obj/llvm/test/CodeGen/X86/Output/basic-block-sections-bb-hash.ll.tmp.yaml # RUN: at line 7 echo 'v1' > /Users/thakis/src/llvm-project/out/gn/obj/llvm/test/CodeGen/X86/Output/basic-block-sections-bb-hash.ll.tmp # executed command: echo v1 # RUN: at line 8 echo 'f foo' >> /Users/thakis/src/llvm-project/out/gn/obj/llvm/test/CodeGen/X86/Output/basic-block-sections-bb-hash.ll.tmp # executed command: echo 'f foo' # RUN: at line 9 echo 'g 0:10,1:9,2:1 1:8,3:8 2:2,3:2 3:11' >> /Users/thakis/src/llvm-project/out/gn/obj/llvm/test/CodeGen/X86/Output/basic-block-sections-bb-hash.ll.tmp # executed command: echo 'g 0:10,1:9,2:1 1:8,3:8 2:2,3:2 3:11' # RUN: at line 10 echo 'c 0 2 3' >> /Users/thakis/src/llvm-project/out/gn/obj/llvm/test/CodeGen/X86/Output/basic-block-sections-bb-hash.ll.tmp # executed command: echo 'c 0 2 3' # RUN: at line 14 grep -E '^\s+(- ID:|Hash:)' /Users/thakis/src/llvm-project/out/gn/obj/llvm/test/CodeGen/X86/Output/basic-block-sections-bb-hash.ll.tmp.yaml | grep -B1 'Hash:' | sed 's/^\s*//; s/^- ID: *//; s/Hash: *0x//' | paste -d: - - | tr '\n' ' ' | sed 's/ $/\n/; s/^/h /' >> /Users/thakis/src/llvm-project/out/gn/obj/llvm/test/CodeGen/X86/Output/basic-block-sections-bb-hash.ll.tmp # executed command: grep -E '^\s+(- ID:|Hash:)' /Users/thakis/src/llvm-project/out/gn/obj/llvm/test/CodeGen/X86/Output/basic-block-sections-bb-hash.ll.tmp.yaml # executed command: grep -B1 Hash: # executed command: sed 's/^\s*//; s/^- ID: *//; s/Hash: *0x//' # executed command: paste -d: - - # executed command: tr '\n' ' ' # executed command: sed 's/ $/\n/; s/^/h /' # RUN: at line 21 /Users/thakis/src/llvm-project/out/gn/bin/llc < /Users/thakis/src/llvm-project/llvm/test/CodeGen/X86/basic-block-sections-bb-hash.ll -O0 -mtriple=x86_64-pc-linux -function-sections -basic-block-sections=/Users/thakis/src/llvm-project/out/gn/obj/llvm/test/CodeGen/X86/Output/basic-block-sections-bb-hash.ll.tmp | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/llvm/test/CodeGen/X86/basic-block-sections-bb-hash.ll # executed command: /Users/thakis/src/llvm-project/out/gn/bin/llc -O0 -mtriple=x86_64-pc-linux -function-sections -basic-block-sections=/Users/thakis/src/llvm-project/out/gn/obj/llvm/test/CodeGen/X86/Output/basic-block-sections-bb-hash.ll.tmp # .---command stderr------------ # | LLVM ERROR: invalid profile /Users/thakis/src/llvm-project/out/gn/obj/llvm/test/CodeGen/X86/Output/basic-block-sections-bb-hash.ll.tmp at line 5: unsigned integer expected: '-' # | # | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug. # | Stack dump: # | 0. Program arguments: /Users/thakis/src/llvm-project/out/gn/bin/llc -O0 -mtriple=x86_64-pc-linux -function-sections -basic-block-sections=/Users/thakis/src/llvm-project/out/gn/obj/llvm/test/CodeGen/X86/Output/basic-block-sections-bb-hash.ll.tmp # `----------------------------- # error: command failed with exit status: -6 # executed command: /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/llvm/test/CodeGen/X86/basic-block-sections-bb-hash.ll # .---command stderr------------ # | FileCheck error: '' is empty. # | FileCheck command line: /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/llvm/test/CodeGen/X86/basic-block-sections-bb-hash.ll # `----------------------------- # error: command failed with exit status: 2 -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (1): LLVM :: CodeGen/X86/basic-block-sections-bb-hash.ll Testing Time: 580.61s Total Discovered Tests: 70202 Skipped : 33 (0.05%) Unsupported : 2714 (3.87%) Passed : 67287 (95.85%) Expectedly Failed: 167 (0.24%) Failed : 1 (0.00%) FAILED: gen/llvm/test/run-lit python3 bin/llvm-lit -sv ../../llvm/test ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn', 'check-llvm']' returned non-zero exit status 1.