[clang] [clang][test] add testing for the AST matcher reference (PR #94248)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 27 05:14:54 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `arc-builder` running on `arc-worker` while building `clang` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/3/builds/5342
<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)
...
74.697 [876/18/76] Building CXX object tools/clang/unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TestingSupport.cpp.o
75.234 [875/18/77] Building CXX object tools/clang/unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/SignAnalysisTest.cpp.o
79.248 [874/18/78] Building CXX object tools/clang/unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/ConflictingEvalCallsTest.cpp.o
79.412 [873/18/79] Building CXX object tools/clang/unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/CallEventTest.cpp.o
80.148 [872/18/80] Building CXX object tools/clang/unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TestingSupportTest.cpp.o
80.195 [871/18/81] Building CXX object tools/clang/unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/SingleVarConstantPropagationTest.cpp.o
80.267 [870/18/82] Building CXX object tools/clang/unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TransferBranchTest.cpp.o
86.081 [869/18/83] Building CXX object tools/clang/unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/ExprEngineVisitTest.cpp.o
86.680 [868/18/84] Building CXX object tools/clang/unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/BugReportInterestingnessTest.cpp.o
86.952 [867/18/85] Generating ASTMatchersDocTests.cpp
FAILED: tools/clang/unittests/ASTMatchers/ASTMatchersDocTests.cpp
cd /buildbot/worker/arc-folder/build/tools/clang/unittests/ASTMatchers && /buildbot/worker/arc-folder/llvm-project/clang/utils/generate_ast_matcher_doc_tests.py --input-file /buildbot/worker/arc-folder/llvm-project/clang/include/clang/ASTMatchers/ASTMatchers.h --output-file /buildbot/worker/arc-folder/build/tools/clang/unittests/ASTMatchers/ASTMatchersDocTests.cpp
Traceback (most recent call last):
File "/buildbot/worker/arc-folder/llvm-project/clang/utils/generate_ast_matcher_doc_tests.py", line 1165, in <module>
main()
File "/buildbot/worker/arc-folder/llvm-project/clang/utils/generate_ast_matcher_doc_tests.py", line 1130, in main
[r.build_test_case() for r in results[0]],
File "/buildbot/worker/arc-folder/llvm-project/clang/utils/generate_ast_matcher_doc_tests.py", line 1130, in <listcomp>
[r.build_test_case() for r in results[0]],
File "/buildbot/worker/arc-folder/llvm-project/clang/utils/generate_ast_matcher_doc_tests.py", line 620, in build_test_case
if not can_code_compile(self.code, self.headers, self.compile_args):
File "/buildbot/worker/arc-folder/llvm-project/clang/utils/generate_ast_matcher_doc_tests.py", line 477, in can_code_compile
res = run(invocation, cwd=tmp_path, check=False)
File "/usr/local/lib/python3.9/subprocess.py", line 505, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/local/lib/python3.9/subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'clang'
90.007 [867/17/86] Building CXX object tools/clang/unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/MemRegionDescriptiveNameTest.cpp.o
91.372 [867/16/87] Building CXX object tools/clang/unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/WatchedLiteralsSolverTest.cpp.o
92.265 [867/15/88] Building CXX object tools/clang/unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/UncheckedOptionalAccessModelTest.cpp.o
92.283 [867/14/89] Building CXX object tools/clang/unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/NoStateChangeFuncVisitorTest.cpp.o
92.585 [867/13/90] Building CXX object tools/clang/unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/CallDescriptionTest.cpp.o
96.486 [867/12/91] Building CXX object tools/clang/unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/Z3CrosscheckOracleTest.cpp.o
96.681 [867/11/92] Building CXX object tools/clang/unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/FalsePositiveRefutationBRVisitorTest.cpp.o
97.367 [867/10/93] Building CXX object tools/clang/unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/RegisterCustomCheckersTest.cpp.o
97.617 [867/9/94] Building CXX object tools/clang/unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/IsCLibraryFunctionTest.cpp.o
98.219 [867/8/95] Building CXX object tools/clang/unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/TestReturnValueUnderConstruction.cpp.o
98.231 [867/7/96] Building CXX object tools/clang/unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TypeErasedDataflowAnalysisTest.cpp.o
98.570 [867/6/97] Building CXX object tools/clang/unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/ParamRegionTest.cpp.o
102.532 [867/5/98] Building CXX object tools/clang/unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/SValTest.cpp.o
103.679 [867/4/99] Building CXX object tools/clang/unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/StoreTest.cpp.o
103.905 [867/3/100] Building CXX object tools/clang/unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/SymbolReaperTest.cpp.o
104.508 [867/2/101] Building CXX object tools/clang/unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TransferTest.cpp.o
108.814 [867/1/102] Building CXX object tools/clang/unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/RangeSetTest.cpp.o
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/94248
More information about the cfe-commits
mailing list