=?utf-8?q?Balázs_Kéri?= <[email protected]>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 3194 tests passed
* 7 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang Tools
<details>
<summary>Clang
Tools.clang-tidy/checkers/bugprone/throwing-static-initialization-ignore.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/usr/bin/python3
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/throwing-static-initialization-ignore.cpp
bugprone-throwing-static-initialization
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp
-- -config="{CheckOptions:
{bugprone-throwing-static-initialization.IgnoredTypes:
\"Ignore;^ns::S1$;^ns::Template<1>$\"}}" -- -fexceptions
# executed command: /usr/bin/python3
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/throwing-static-initialization-ignore.cpp
bugprone-throwing-static-initialization
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp
-- '-config={CheckOptions:
{bugprone-throwing-static-initialization.IgnoredTypes:
"Ignore;^ns::S1$;^ns::Template<1>$"}}' -- -fexceptions
# .---command stdout------------
# | Running ['clang-tidy', '--experimental-custom-checks',
'/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp',
'-fix', '--checks=-*,bugprone-throwing-static-initialization',
'-config={CheckOptions:
{bugprone-throwing-static-initialization.IgnoredTypes:
"Ignore;^ns::S1$;^ns::Template<1>$"}}', '--', '-fexceptions', '-std=c++11',
'-nostdinc++', '-isystem',
'/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/checkers/Inputs/Headers/std']...
# | ------------------------ clang-tidy output -----------------------
# | 8 warnings generated.
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp:34:4:
warning: initialization of 'VarThrow' with static storage duration may throw
an exception that cannot be caught [bugprone-throwing-static-initialization]
# | 34 | S1 VarThrow;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp:7:3:
note: possibly throwing constructor declared here
# | 7 | S1() noexcept(false);
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp:36:17:
warning: initialization of 'VarTempl' with static storage duration may throw
an exception that cannot be caught [bugprone-throwing-static-initialization]
# | 36 | ns::Template<2> VarTempl;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp:23:3:
note: possibly throwing constructor declared here
# | 23 | Template() noexcept(false);
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp:39:11:
warning: initialization of 'VarIgnoreConstr' with static storage duration may
throw an exception that cannot be caught
[bugprone-throwing-static-initialization]
# | 39 | S1_Ignore VarIgnoreConstr;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp:11:3:
note: possibly throwing constructor declared here
# | 11 | S1_Ignore() noexcept(false);
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp:40:11:
warning: initialization of 'VarIgnoreInitF' with static storage duration may
throw an exception that cannot be caught
[bugprone-throwing-static-initialization]
# | 40 | S1_Ignore VarIgnoreInitF = getS1();
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp:32:11:
note: possibly throwing function declared here
# | 32 | S1_Ignore getS1() noexcept(false);
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp:41:8:
warning: initialization of 'VarIgnore2' with static storage duration may throw
an exception that cannot be caught [bugprone-throwing-static-initialization]
# | 41 | ns::S1 VarIgnore2;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp:16:3:
note: possibly throwing constructor declared here
# | 16 | S1();
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp:42:15:
warning: initialization of 'VarIgnore3' with static storage duration may throw
an exception that cannot be caught [bugprone-throwing-static-initialization]
# | 42 | ns::S1_Ignore VarIgnore3;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp:19:3:
note: possibly throwing constructor declared here
# | 19 | S1_Ignore();
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp:43:22:
warning: initialization of 'VarIgnore4' with static storage duration may throw
an exception that cannot be caught [bugprone-throwing-static-initialization]
# | 43 | TemplateIgnored<int> VarIgnore4;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp:29:3:
note: possibly throwing constructor declared here
# | 29 | TemplateIgnored() noexcept(false);
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp:44:17:
warning: initialization of 'VarIgnore5' with static storage duration may throw
an exception that cannot be caught [bugprone-throwing-static-initialization]
# | 44 | ns::Template<1> VarIgnore5;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp:23:3:
note: possibly throwing constructor declared here
# | 23 | Template() noexcept(false);
# | | ^
# |
# | ------------------------------------------------------------------
# | ------------------------------ Fixes -----------------------------
# |
# | ------------------------------------------------------------------
# | FileCheck
-input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp.msg
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/throwing-static-initialization-ignore.cpp
-check-prefixes=CHECK-MESSAGES -implicit-check-not={{warning|error}}: failed:
# | command line:1:22: error: IMPLICIT-CHECK-NOT: excluded string found in input
# | -implicit-check-not='{{warning|error}}:'
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp.msg:14:186:
note: found here
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp:39:11:
warning: initialization of 'VarIgnoreConstr' with static storage duration may
throw an exception that cannot be caught
[bugprone-throwing-static-initialization]
# |
^~~~~~~~
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp.msg
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/throwing-static-initialization-ignore.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 9: 36 | ns::Template<2> VarTempl;
# | 10: | ^
# | 11:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp:23:3:
note: possibly throwing constructor declared here
# | 12: 23 | Template() noexcept(false);
# | 13: | ^
# | 14:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp:39:11:
warning: initialization of 'VarIgnoreConstr' with static storage duration may
throw an exception that cannot be caught
[bugprone-throwing-static-initialization]
# | not:imp1
!~~~~~~~
error: no match expected
# | 15: 39 | S1_Ignore VarIgnoreConstr;
# | 16: | ^
# | 17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp:11:3:
note: possibly throwing constructor declared here
# | 18: 11 | S1_Ignore() noexcept(false);
# | 19: | ^
# | .
# | .
# | .
# | >>>>>>
# |
# `-----------------------------
# .---command stderr------------
# | Traceback (most recent call last):
# | File
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py",
line 554, in <module>
# | main()
# | File
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py",
line 550, in main
# | CheckRunner(args, extra_args).run()
# | File
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py",
line 433, in run
# | self.check_messages(main_output)
# | File
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py",
line 358, in check_messages
# | try_run(
# | File
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py",
line 64, in try_run
# | process_output = subprocess.check_output(args,
stderr=subprocess.STDOUT).decode(
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
# | return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "/usr/lib/python3.12/subprocess.py", line 571, in run
# | raise CalledProcessError(retcode, process.args,
# | subprocess.CalledProcessError: Command '['FileCheck',
'-input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throwing-static-initialization-ignore.cpp.tmp.cpp.msg',
'/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/throwing-static-initialization-ignore.cpp',
'-check-prefixes=CHECK-MESSAGES', '-implicit-check-not={{warning|error}}:']'
returned non-zero exit status 1.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken
or flaky at HEAD), please open an issue at
https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/192031
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits