[llvm] [lit] cross platform progress bar (PR #189970)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 1 07:58:36 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
The build failed before running any tests. Click on a failure below to see the details.
<details>
<summary>tools/mlir/test/CMakeFiles/check-mlir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/test/CMakeFiles/check-mlir</summary>
```
FAILED: tools/mlir/test/CMakeFiles/check-mlir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/test/CMakeFiles/check-mlir
cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/test && /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-lit -v --xunit-xml-output /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests --succinct /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/test
```
</details>
<details>
<summary>utils/lit/CMakeFiles/check-lit /home/gha/actions-runner/_work/llvm-project/llvm-project/build/utils/lit/CMakeFiles/check-lit</summary>
```
FAILED: utils/lit/CMakeFiles/check-lit /home/gha/actions-runner/_work/llvm-project/llvm-project/build/utils/lit/CMakeFiles/check-lit
cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/utils/lit && /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-lit -v --xunit-xml-output /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests --succinct /home/gha/actions-runner/_work/llvm-project/llvm-project/build/utils/lit
```
</details>
<details>
<summary>tools/lld/test/CMakeFiles/check-lld /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/CMakeFiles/check-lld</summary>
```
FAILED: tools/lld/test/CMakeFiles/check-lld /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/CMakeFiles/check-lld
cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test && /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-lit -v --xunit-xml-output /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests --succinct /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test
```
</details>
<details>
<summary>tools/bolt/test/CMakeFiles/check-bolt /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/CMakeFiles/check-bolt</summary>
```
FAILED: tools/bolt/test/CMakeFiles/check-bolt /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/CMakeFiles/check-bolt
cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test && /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-lit -v --xunit-xml-output /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests --succinct --param bolt_site_config=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/lit.site.cfg /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test
```
</details>
<details>
<summary>tools/polly/test/CMakeFiles/check-polly-tests /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/polly/test/CMakeFiles/check-polly-tests</summary>
```
FAILED: tools/polly/test/CMakeFiles/check-polly-tests /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/polly/test/CMakeFiles/check-polly-tests
cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/polly/test && /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-lit -v --xunit-xml-output /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests --succinct --param polly_site_config=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/polly/test/lit.site.cfg --param polly_unit_site_config=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/polly/test/Unit/lit.site.cfg /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/polly/test
```
</details>
<details>
<summary>tools/clang/test/CMakeFiles/check-clang /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CMakeFiles/check-clang</summary>
```
FAILED: tools/clang/test/CMakeFiles/check-clang /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CMakeFiles/check-clang
cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test && /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-lit -v --xunit-xml-output /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests --succinct /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test
```
</details>
<details>
<summary>tools/clang/tools/extra/CMakeFiles/check-clang-tools /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/CMakeFiles/check-clang-tools</summary>
```
llvm-lit: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 1200 seconds was requested on the command line. Forcing timeout to be 1200 seconds.
[1m -- Testing: 1647 tests, 64 workers -- [0m
[A[K 0% [[1m--------------------------------------------------------------------[0m][0m
[K Traceback (most recent call last):
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-lit", line 70, in <module>
main(builtin_parameters)
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/main.py", line 129, in main
run_tests(selected_tests, lit_config, opts, len(discovered_tests))
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/main.py", line 266, in run_tests
display.print_header()
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/display.py", line 112, in print_header
self.progress_bar.update(0.0, "")
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/ProgressBar.py", line 282, in update
if not self.term.XN:
^^^^^^^^^^^^
AttributeError: 'TerminalController' object has no attribute 'XN'
FAILED: tools/clang/tools/extra/CMakeFiles/check-clang-tools /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/CMakeFiles/check-clang-tools
cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra && /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-lit -v --xunit-xml-output /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests --succinct /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/include-cleaner/test /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/clangd/test/../unittests /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/clangd/test /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test
```
</details>
<details>
<summary>test/CMakeFiles/check-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/CMakeFiles/check-llvm</summary>
```
FAILED: test/CMakeFiles/check-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/CMakeFiles/check-llvm
cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test && /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-lit -v --xunit-xml-output /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests --succinct /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test
```
</details>
<details>
<summary>tools/flang/test/CMakeFiles/check-flang /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/CMakeFiles/check-flang</summary>
```
llvm-lit: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/llvm/config.py:569: note: using clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
llvm-lit: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 1200 seconds was requested on the command line. Forcing timeout to be 1200 seconds.
[1m -- Testing: 4253 tests, 64 workers -- [0m
[A[K 0% [[1m--------------------------------------------------------------------[0m][0m
[K Traceback (most recent call last):
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-lit", line 70, in <module>
main(builtin_parameters)
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/main.py", line 129, in main
run_tests(selected_tests, lit_config, opts, len(discovered_tests))
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/main.py", line 266, in run_tests
display.print_header()
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/display.py", line 112, in print_header
self.progress_bar.update(0.0, "")
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/ProgressBar.py", line 282, in update
if not self.term.XN:
^^^^^^^^^^^^
AttributeError: 'TerminalController' object has no attribute 'XN'
FAILED: tools/flang/test/CMakeFiles/check-flang /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/CMakeFiles/check-flang
cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test && /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-lit -v --xunit-xml-output /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests --succinct --param flang_site_config=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/lit.site.cfg.py /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test
```
</details>
<details>
<summary>tools/lldb/test/CMakeFiles/check-lldb /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/CMakeFiles/check-lldb</summary>
```
llvm-lit: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/llvm/config.py:569: note: using clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
llvm-lit: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/llvm/config.py:569: note: using ld.lld: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/ld.lld
llvm-lit: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/llvm/config.py:569: note: using lld-link: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lld-link
llvm-lit: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/llvm/config.py:569: note: using ld64.lld: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/ld64.lld
llvm-lit: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/llvm/config.py:569: note: using wasm-ld: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/wasm-ld
llvm-lit: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 600 seconds but a timeout of 1200 seconds was requested on the command line. Forcing timeout to be 1200 seconds.
[1m -- Testing: 3398 tests, 64 workers -- [0m
[A[K 0% [[1m--------------------------------------------------------------------[0m][0m
[K Traceback (most recent call last):
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-lit", line 70, in <module>
main(builtin_parameters)
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/main.py", line 129, in main
run_tests(selected_tests, lit_config, opts, len(discovered_tests))
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/main.py", line 266, in run_tests
display.print_header()
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/display.py", line 112, in print_header
self.progress_bar.update(0.0, "")
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/ProgressBar.py", line 282, in update
if not self.term.XN:
^^^^^^^^^^^^
AttributeError: 'TerminalController' object has no attribute 'XN'
FAILED: tools/lldb/test/CMakeFiles/check-lldb /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/CMakeFiles/check-lldb
cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test && /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-lit -v --xunit-xml-output /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests --succinct /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test
```
</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/189970
More information about the llvm-commits
mailing list