INFO:2025-01-21T01:22:25Z:root:pulling... From github.com:llvm/llvm-project * branch main -> FETCH_HEAD 271b3383d7d8..4e2efc3bd500 main -> origin/main Switched to branch 'main' Your branch is behind 'origin/main' by 1 commit, and can be fast-forwarded. (use "git pull" to update your local branch) HEAD is now at 4e2efc3bd500 [OffloadBundler] Compress bundles over 4GB (#122307) INFO:2025-01-21T01:22:30Z:root:syncing... Deleted branch merge (was 271b3383d7d8). Switched to a new branch 'merge' branch 'merge' set up to track 'origin/main'. INFO:2025-01-21T01:22:31Z:root:building ninja: Entering directory `out/gn' [1/345] CXX obj/clang/tools/clang-offload-bundler/clang-offload-bundler.ClangOffloadBundler.o [2/345] CXX obj/clang/lib/Driver/Driver.OffloadBundler.o [3/345] AR lib/libclangDriver.a [4/345] LINK ./bin/clang-offload-bundler [5/345] LINK obj/clang-tools-extra/unittests/clang-apply-replacements/ClangApplyReplacementsTests [6/345] LINK ./bin/clang-apply-replacements [7/345] LINK obj/clang/unittests/Format/FormatTests [8/345] LINK ./bin/clang-move [9/345] LINK ./bin/clang-change-namespace [10/345] LINK ./bin/clang-installapi [11/345] LINK ./bin/modularize [12/345] LINK obj/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests [13/345] LINK obj/clang-tools-extra/unittests/clang-move/ClangMoveTests [14/345] LINK obj/clang/unittests/Lex/LexTests [15/345] LINK obj/clang-tools-extra/unittests/clang-include-fixer/ClangIncludeFixerTests [16/345] LINK ./bin/clang-doc [17/345] LINK ./bin/clang-include-fixer [18/345] LINK ./bin/clang-reorder-fields [19/345] LINK obj/clang-tools-extra/unittests/clang-doc/ClangDocTests [20/345] LINK ./bin/clang-diff [21/345] LINK obj/clang/unittests/Index/IndexTests [22/345] LINK ./bin/clang-refactor [23/345] LINK obj/clang/unittests/Serialization/SerializationTests [24/345] LINK ./bin/diagtool [25/345] LINK obj/clang/unittests/Support/ClangSupportTests [26/345] LINK ./bin/arcmt-test [27/345] LINK ./bin/find-all-symbols [28/345] LINK obj/clang/unittests/Analysis/ClangAnalysisTests [29/345] LINK obj/clang/unittests/ASTMatchers/Dynamic/DynamicASTMatchersTests [30/345] LINK obj/clang/unittests/Sema/SemaTests [31/345] LINK ./bin/clang-query [32/345] LINK obj/clang/unittests/Analysis/FlowSensitive/ClangAnalysisFlowSensitiveTests [33/345] LINK ./bin/pp-trace [34/345] LINK obj/clang-tools-extra/unittests/clang-query/ClangQueryTests [35/345] LINK obj/clang/unittests/Tooling/Syntax/SyntaxTests [36/345] LINK obj/clang/unittests/AST/ByteCode/InterpTests [37/345] LINK obj/clang/unittests/Rewrite/RewriteTests [38/345] LINK obj/clang-tools-extra/unittests/clang-change-namespace/ClangChangeNamespaceTests [39/345] LINK obj/clang/unittests/ASTMatchers/ASTMatchersTests [40/345] LINK obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests [41/345] LINK obj/clang-tools-extra/unittests/clang-tidy/ClangTidyTests [42/345] STAMP obj/clang-tools-extra/unittests/unittests.stamp [43/345] LINK ./bin/dexp [44/345] LINK ./bin/clang-extdef-mapping [45/345] LINK obj/clang/unittests/AST/ASTTests [46/345] LINK obj/clang/unittests/CodeGen/ClangCodeGenTests [47/345] LINK ./bin/clang-import-test [48/345] LINK obj/clang/unittests/CrossTU/CrossTUTests [49/345] LINK ./bin/lldb-server [50/345] LINK ./bin/clang-tidy [51/345] LINK ./bin/clangd-indexer [52/345] LINK obj/clang/unittests/Frontend/FrontendTests [53/345] LINK obj/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests [54/345] SOLINK ./lib/libclang.so [55/345] LINK ./bin/c-arcmt-test [56/345] LINK obj/clang/unittests/Driver/ClangDriverTests [57/345] LINK obj/clang/unittests/libclang/CrashTests/libclangCrashTests [58/345] LINK obj/clang/unittests/libclang/libclangTests [59/345] LINK ./bin/clang-check [60/345] LINK ./bin/lldb-test [61/345] LINK ./bin/clang-scan-deps [62/345] LINK ./bin/lldb-dap [63/345] LINK obj/clang/unittests/Tooling/ToolingTests [64/345] LINK obj/clang-tools-extra/clangd/unittests/ClangdTests [65/345] LINK ./bin/clang [66/345] LINK ./bin/clang-repl [67/345] LINK obj/clang/unittests/Interpreter/ClangReplInterpreterTests [68/345] STAMP obj/clang/unittests/unittests.stamp [69/345] LINK ./bin/clangd [70/345] STAMP obj/clang-tools-extra/clangd/test/test.stamp [71/345] ACTION //clang/tools/driver:clang-cl(//llvm/utils/gn/build/toolchain:unix) [72/345] ACTION //clang/tools/driver:clang-cpp(//llvm/utils/gn/build/toolchain:unix) [73/345] STAMP obj/clang/tools/driver/clang-cl.stamp [74/345] STAMP obj/clang/tools/driver/clang-cpp.stamp [75/345] ACTION //clang/tools/driver:clangxx(//llvm/utils/gn/build/toolchain:unix) [76/345] STAMP obj/clang/tools/driver/clangxx.stamp [77/345] STAMP obj/clang/tools/driver/symlinks.stamp [78/345] STAMP obj/clang.stamp [79/345] STAMP obj/bolt/test/test.stamp [80/345] STAMP stage2_baremetal_aarch64/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [81/345] STAMP stage2_unix/obj/compiler-rt/lib/asan/asan_shared_library.inputdeps.stamp [82/345] STAMP stage2_unix/obj/compiler-rt/lib/asan/asan_static_library.inputdeps.stamp [83/345] STAMP stage2_unix/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [84/345] STAMP stage2_unix/obj/compiler-rt/lib/asan/static_sources.inputdeps.stamp [85/345] STAMP stage2_unix/obj/compiler-rt/lib/profile/profile.inputdeps.stamp [86/345] STAMP stage2_unix/obj/compiler-rt/lib/hwasan/sources.inputdeps.stamp [87/345] STAMP stage2_unix/obj/compiler-rt/lib/msan/msan.inputdeps.stamp [88/345] STAMP stage2_unix/obj/compiler-rt/lib/interception/sources.inputdeps.stamp [89/345] STAMP stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.inputdeps.stamp [90/345] STAMP stage2_unix/obj/compiler-rt/lib/lsan/common_sources.inputdeps.stamp [91/345] STAMP stage2_unix/obj/compiler-rt/lib/scudo/standalone/sources.inputdeps.stamp [92/345] STAMP stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.inputdeps.stamp [93/345] STAMP stage2_unix/obj/libunwind/src/unwind_static.inputdeps.stamp [94/345] STAMP stage2_unix/obj/libunwind/src/unwind_shared.inputdeps.stamp [95/345] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/sources.inputdeps.stamp [96/345] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/standalone_sources.inputdeps.stamp [97/345] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/cxx_sources.inputdeps.stamp [98/345] STAMP stage2_unix/obj/libunwind/src/unwind_static_exported.inputdeps.stamp [99/345] STAMP stage2_unix/obj/llvm/lib/Demangle/Demangle.inputdeps.stamp [100/345] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [101/344] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) [102/341] ACTION //llvm/include/llvm/Config:AsmPrinters.def(//llvm/utils/gn/build/toolchain:stage2_unix) [103/340] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [104/337] ACTION //llvm/include/llvm/Config:abi-breaking(//llvm/utils/gn/build/toolchain:stage2_unix) [105/335] ACTION //llvm/include/llvm/Support:write_extension_def(//llvm/utils/gn/build/toolchain:stage2_unix) [106/334] ACTION //llvm/include/llvm/Config:TargetExegesis.def(//llvm/utils/gn/build/toolchain:stage2_unix) [107/333] ACTION //compiler-rt/test/hwasan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [108/332] ACTION //llvm/include/llvm/Config:Disassemblers.def(//llvm/utils/gn/build/toolchain:stage2_unix) [109/331] ACTION //llvm/include/llvm/Config:TargetMCAs.def(//llvm/utils/gn/build/toolchain:stage2_unix) [110/330] ACTION //llvm/include/llvm/Config:AsmParsers.def(//llvm/utils/gn/build/toolchain:stage2_unix) [111/329] ACTION //llvm/include/llvm/Config:Targets.def(//llvm/utils/gn/build/toolchain:stage2_unix) [112/327] ACTION //llvm/include/llvm/Config:llvm-config(//llvm/utils/gn/build/toolchain:stage2_unix) [113/171] ACTION //llvm/include/llvm/Support:write_vcsrevision(//llvm/utils/gn/build/toolchain:stage2_unix) [114/170] STAMP stage2_unix/obj/llvm/lib/Support/BLAKE3/BLAKE3.inputdeps.stamp [115/170] ACTION //llvm/include/llvm/Config:config(//llvm/utils/gn/build/toolchain:stage2_unix) [116/137] STAMP stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoCxxUnitTest.inputdeps.stamp [117/137] STAMP stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoCUnitTest.inputdeps.stamp [118/137] STAMP stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.inputdeps.stamp [119/137] STAMP stage2_unix/obj/third-party/unittest/gtest.inputdeps.stamp [120/137] STAMP stage2_unix/obj/llvm/lib/Support/Support.inputdeps.stamp [121/137] LINK ./bin/c-index-test [122/137] STAMP obj/clang-tools-extra/test/test.stamp [123/137] STAMP obj/clang/test/test.stamp [124/137] ACTION //compiler-rt/lib/ubsan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [125/137] ACTION //compiler-rt/lib/hwasan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [126/137] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/version_script.stamp [127/137] STAMP stage2_unix/obj/compiler-rt/lib/hwasan/version_script.stamp [128/137] LINK ./bin/lldb [129/137] STAMP obj/lldb/test/test.stamp [130/137] SOLINK lib/clang/20/lib/linux/libclang_rt.ubsan_standalone-x86_64.so [131/137] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/ubsan.stamp [132/137] STAMP stage2_unix/obj/compiler-rt/lib/lib.stamp [133/137] SOLINK lib/clang/20/lib/linux/libclang_rt.hwasan_aliases-x86_64.so [134/137] STAMP obj/compiler-rt/compiler-rt.stamp [135/137] STAMP stage2_unix/obj/compiler-rt/test/hwasan/hwasan_toolchain.stamp [136/137] STAMP obj/compiler-rt/test/hwasan/hwasan.stamp [137/137] STAMP obj/default.stamp INFO:2025-01-21T01:22:38Z:root:analyze gn analyze output: { "compile_targets": [], "status": "Found dependency", "test_targets": [ "//clang-tools-extra/clangd/test:check-clangd", "//clang-tools-extra/test:check-clang-tools", "//clang/test:check-clang", "//compiler-rt/test/hwasan:check-hwasan" ] } gn analyze input: { "files": [ "//clang/docs/ClangOffloadBundler.rst", "//clang/docs/ReleaseNotes.rst", "//clang/include/clang/Driver/OffloadBundler.h", "//clang/lib/Driver/OffloadBundler.cpp", "//clang/test/Driver/clang-offload-bundler-zlib.c" ], "test_targets": [ "//clang-tools-extra/clangd/test:check-clangd", "//clang-tools-extra/test:check-clang-tools", "//clang/test:check-clang", "//compiler-rt/test/hwasan:check-hwasan", "//lld/test:check-lld", "//llvm/test:check-llvm" ], "additional_compile_targets": [] } running all tests due to change to blacklisted file INFO:2025-01-21T01:22:38Z:root:testing INFO:2025-01-21T01:22:38Z:root:test check-clang 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.