[clang-tools-extra] Revert "[clang-doc] add ftime profiling" (PR #100251)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 23 16:29:24 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-ppc64le-linux-multistage` running on `ppc64le-clang-multistage-test` while building `clang-tools-extra` at step 5 "ninja check 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/76/builds/1281
Here is the relevant piece of the build log for the reference:
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'Clang Tools :: clang-doc/namespace.cpp' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...
Emiting docs in md format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...
--
Command Output (stderr):
--
RUN: at line 1: rm -rf /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp && mkdir -p /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ rm -rf /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ mkdir -p /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
RUN: at line 2: clang-doc --format=html --output=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp --executor=standalone /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=html --output=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp --executor=standalone /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or directory
json-compilation-database: Error while opening JSON database: No such file or directory
Running without flags.
RUN: at line 3: clang-doc --format=md --output=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp --executor=standalone /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=md --output=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp --executor=standalone /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or directory
json-compilation-database: Error while opening JSON database: No such file or directory
Running without flags.
RUN: at line 4: FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/namespace.cpp < /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/index_json.js -check-prefix=JSON-INDEX
+ FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=JSON-INDEX
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/namespace.cpp:195:21: error: JSON-INDEX-NEXT: expected string not found in input
// JSON-INDEX-NEXT: "USR": "{{([0-9A-F]{40})}}",
^
<stdin>:2:8: note: scanning from here
return{
^
<stdin>:13:2: note: possible intended match here
"Name": "AnonClass",
...
Step 11 (ninja check 2) failure: stage 2 checked (failure)
******************** TEST 'Clang Tools :: clang-doc/basic-project.test' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 5 infos...
Generating docs...
Generating assets for docs...
--
Command Output (stderr):
--
RUN: at line 1: rm -rf /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp && mkdir -p /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
+ rm -rf /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp
+ mkdir -p /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
RUN: at line 2: sed 's|$test_dir|/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc|g' /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json > /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ sed 's|$test_dir|/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc|g' /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
RUN: at line 3: clang-doc --format=html --output=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs --executor=all-TUs /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ clang-doc --format=html --output=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs --executor=all-TUs /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
[1/3] Processing file /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Calculator.cpp
[2/3] Processing file /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Rectangle.cpp
[3/3] Processing file /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Circle.cpp
RUN: at line 4: FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/basic-project.test -input-file=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js -check-prefix=JSON-INDEX
+ FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/basic-project.test -input-file=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js -check-prefix=JSON-INDEX
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/basic-project.test:12:21: error: JSON-INDEX-NEXT: expected string not found in input
// JSON-INDEX-NEXT: "USR": "{{([0-9A-F]{40})}}",
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js:2:8: note: scanning from here
return{
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js:3:2: note: possible intended match here
"Name": "",
^
Input file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/basic-project.test
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: async function LoadIndex() {
2: return{
next:12'0 X error: no match found
3: "Name": "",
next:12'0 ~~~~~~~~~~~~~
next:12'1 ? possible intended match
...
```
https://github.com/llvm/llvm-project/pull/100251
More information about the cfe-commits
mailing list