[llvm] [YAML][NFC] precommit wrong test case (PR #131782)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 25 00:02:30 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-ppc64le-linux-test-suite` running on `ppc64le-clang-test-suite` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/95/builds/11196
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
...
15.145 [5/68/41] Linking CXX executable unittests/Bitcode/BitcodeTests
15.655 [4/67/42] cd /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/runtimes/runtimes-bins && /home/buildbots/llvm-external-buildbots/cmake-3.31.2/bin/cmake --build /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/runtimes/runtimes-bins/ --target runtimes-test-depends --config Release
ninja: no work to do.
15.853 [3/67/43] No install step for 'runtimes'
15.958 [2/67/45] Completed 'runtimes'
16.155 [2/66/46] Linking CXX executable unittests/FuzzMutate/FuzzMutateTests
17.075 [2/65/47] Linking CXX executable unittests/MC/MCTests
18.415 [2/64/48] Linking CXX executable unittests/Transforms/IPO/IPOTests
20.185 [2/63/49] Linking CXX executable unittests/tools/llvm-cfi-verify/CFIVerifyTests
20.937 [2/62/50] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o
FAILED: unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o
ccache /usr/lib64/ccache/c++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/unittests/Support -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/unittests/Support -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/third-party/unittest/googletest/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/third-party/unittest/googlemock/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -Wno-dangling-else -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -MD -MT unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -MF unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o.d -o unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp:1280:20: error: explicit specialization of ‘template<class T> struct llvm::yaml::MappingTraits’ outside its namespace must use a nested-name-specifier [-fpermissive]
template <> struct MappingTraits<V> {
^~~~~~~~~~~~~~~~
23.315 [2/61/51] Linking CXX executable unittests/Target/PowerPC/PowerPCTests
27.415 [2/60/52] Linking CXX executable unittests/Target/WebAssembly/WebAssemblyTests
28.305 [2/59/53] Linking CXX executable unittests/Target/VE/VETests
28.465 [2/58/54] Linking CXX executable unittests/Target/LoongArch/LoongArchTests
30.465 [2/57/55] Linking CXX executable unittests/Target/RISCV/RISCVTests
30.695 [2/56/56] Linking CXX executable unittests/Target/ARM/ARMTests
30.825 [2/55/57] Linking CXX executable unittests/Target/SPIRV/SPIRVTests
32.395 [2/54/58] Linking CXX executable unittests/Target/AArch64/AArch64Tests
33.215 [2/53/59] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
40.085 [2/52/60] Linking CXX executable unittests/Transforms/Instrumentation/InstrumentationTests
40.265 [2/51/61] Linking CXX executable tools/clang/tools/extra/unittests/clang-query/ClangQueryTests
40.327 [2/50/62] Linking CXX executable tools/clang/unittests/Lex/LexTests
41.464 [2/49/63] Linking CXX executable unittests/ExecutionEngine/Orc/OrcJITTests
42.856 [2/48/64] Linking CXX executable unittests/Transforms/Utils/UtilsTests
43.173 [2/47/65] Linking CXX executable unittests/Transforms/Coroutines/CoroTests
43.494 [2/46/66] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
43.548 [2/45/67] Linking CXX executable unittests/Frontend/LLVMFrontendTests
43.705 [2/44/68] Linking CXX executable unittests/Passes/PassBuilderBindings/PassesBindingsTests
44.654 [2/43/69] Linking CXX executable tools/clang/unittests/Support/ClangSupportTests
45.664 [2/42/70] Linking CXX executable unittests/Passes/Plugins/PluginsTests
46.403 [2/41/71] Linking CXX executable unittests/IR/IRTests
46.869 [2/40/72] Linking CXX executable tools/clang/unittests/Rewrite/RewriteTests
47.208 [2/39/73] Linking CXX executable tools/clang/unittests/CrossTU/CrossTUTests
47.371 [2/38/74] Linking CXX executable unittests/Analysis/AnalysisTests
47.813 [2/37/75] Linking CXX executable tools/clang/unittests/AST/ByteCode/InterpTests
48.011 [2/36/76] Linking CXX executable tools/clang/tools/extra/unittests/clang-include-fixer/ClangIncludeFixerTests
48.383 [2/35/77] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
48.421 [2/34/78] Linking CXX executable tools/clang/tools/extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests
48.513 [2/33/79] Linking CXX executable tools/clang/tools/extra/unittests/clang-change-namespace/ClangChangeNamespaceTests
48.575 [2/32/80] Linking CXX executable tools/clang/unittests/Index/IndexTests
48.816 [2/31/81] Linking CXX executable tools/clang/tools/extra/unittests/clang-doc/ClangDocTests
49.239 [2/30/82] Linking CXX executable tools/clang/unittests/Sema/SemaTests
49.554 [2/29/83] Linking CXX executable tools/clang/tools/extra/include-cleaner/unittests/ClangIncludeCleanerTests
49.771 [2/28/84] Linking CXX executable tools/clang/unittests/Analysis/ClangAnalysisTests
```
</details>
https://github.com/llvm/llvm-project/pull/131782
More information about the llvm-commits
mailing list