[Mlir-commits] [clang] [llvm] [mlir] [Support] Validate number of arguments passed to formatv() (PR #105745)

LLVM Continuous Integration llvmlistbot at llvm.org
Fri Sep 6 05:53:33 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-with-lto-ubuntu` running on `as-worker-91` while building `clang,llvm,mlir` at step 7 "test-stage1-compiler".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/49/builds/431

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 7 (test-stage1-compiler) failure: build (failure)
...
llvm-lit: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:505: note: using ld64.lld: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage1/bin/ld64.lld
llvm-lit: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:505: note: using wasm-ld: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage1/bin/wasm-ld
llvm-lit: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage1/utils/lit/tests/lit.cfg:111: warning: Setting a timeout per test not supported. Requires the Python psutil module but it could not be found. Try installing it via pip or via your operating system's package manager.
 Some tests will be skipped and the --timeout command line argument will not work.
llvm-lit: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:505: note: using ld.lld: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage1/bin/ld.lld
llvm-lit: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:505: note: using lld-link: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage1/bin/lld-link
llvm-lit: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:505: note: using ld64.lld: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage1/bin/ld64.lld
llvm-lit: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:505: note: using wasm-ld: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage1/bin/wasm-ld
-- Testing: 80249 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90
FAIL: LLVM-Unit :: Support/./SupportTests/54/85 (76365 of 80249)
******************** TEST 'LLVM-Unit :: Support/./SupportTests/54/85' FAILED ********************
Script(shard):
--
GTEST_OUTPUT=json:/home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage1/unittests/Support/./SupportTests-LLVM-Unit-3381136-54-85.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=85 GTEST_SHARD_INDEX=54 /home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage1/unittests/Support/./SupportTests
--

Script:
--
/home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage1/unittests/Support/./SupportTests --gtest_filter=FormatVariadicTest.Validate
--
/home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/unittests/Support/FormatVariadicTest.cpp:716: Failure
Value of: Str
Expected: has substring "Unexpected number of arguments"
  Actual: "1"

/home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/unittests/Support/FormatVariadicTest.cpp:719: Failure
Value of: Str
Expected: has substring "eplacement indices have holes"
  Actual: "1 3"


/home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/unittests/Support/FormatVariadicTest.cpp:716
Value of: Str
Expected: has substring "Unexpected number of arguments"
  Actual: "1"

/home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/unittests/Support/FormatVariadicTest.cpp:719
Value of: Str
Expected: has substring "eplacement indices have holes"
  Actual: "1 3"



********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 

1 warning(s) in tests
********************

```

</details>

https://github.com/llvm/llvm-project/pull/105745


More information about the Mlir-commits mailing list