[clang] [NFC][Clang] Use range for loops in ClangDiagnosticsEmitter (PR #115573)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 12 14:42:35 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `libc-x86_64-debian-fullbuild-dbg-asan` running on `libc-x86_64-debian-fullbuild` while building `clang` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/171/builds/10204
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
[ OK ] LlvmLibcSysFStatvfsTest.FStatvfsBasic (26 us)
[ RUN ] LlvmLibcSysFStatvfsTest.FStatvfsInvalidPath
[ OK ] LlvmLibcSysFStatvfsTest.FStatvfsInvalidPath (202 us)
Ran 2 tests. PASS: 2 FAIL: 0
[962/1095] Running unit test libc.test.src.sys.utsname.uname_test
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcUnameTest.GetMachineName
[ OK ] LlvmLibcUnameTest.GetMachineName (35 us)
Ran 1 tests. PASS: 1 FAIL: 0
[963/1095] Running unit test libc.test.src.sys.statvfs.linux.statvfs_test
FAILED: projects/libc/test/src/sys/statvfs/linux/CMakeFiles/libc.test.src.sys.statvfs.linux.statvfs_test /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/test/src/sys/statvfs/linux/CMakeFiles/libc.test.src.sys.statvfs.linux.statvfs_test
cd /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/test/src/sys/statvfs/linux && /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/test/src/sys/statvfs/linux/libc.test.src.sys.statvfs.linux.statvfs_test.__build__
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcSysStatvfsTest.StatvfsBasic
[ OK ] LlvmLibcSysStatvfsTest.StatvfsBasic (17 us)
[ RUN ] LlvmLibcSysStatvfsTest.StatvfsInvalidPath
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/test/src/sys/statvfs/linux/statvfs_test.cpp:37: FAILURE
Failed to match LIBC_NAMESPACE::mkdirat(AT_FDCWD, TEST_DIR, S_IRWXU) against Succeeds(0).
Expected return value to be equal to 0 but got -1.
Expected errno to be equal to "Success" but got "File exists".
[ FAILED ] LlvmLibcSysStatvfsTest.StatvfsInvalidPath
Ran 2 tests. PASS: 1 FAIL: 1
[964/1095] Running unit test libc.test.src.sys.wait.wait4_test
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcwait4Test.NoHangTest
[ OK ] LlvmLibcwait4Test.NoHangTest (4 us)
Ran 1 tests. PASS: 1 FAIL: 0
[965/1095] Running unit test libc.test.src.sys.epoll.linux.epoll_ctl_test
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcEpollCtlTest.Basic
[ OK ] LlvmLibcEpollCtlTest.Basic (52 us)
Ran 1 tests. PASS: 1 FAIL: 0
[966/1095] Running unit test libc.test.src.sys.auxv.linux.getauxval_test
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcGetauxvalTest.Basic
[ OK ] LlvmLibcGetauxvalTest.Basic (64 us)
Ran 1 tests. PASS: 1 FAIL: 0
[967/1095] Running unit test libc.test.src.sys.epoll.linux.epoll_create1_test
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcEpollCreate1Test.Basic
[ OK ] LlvmLibcEpollCreate1Test.Basic (19 us)
[ RUN ] LlvmLibcEpollCreate1Test.CloseOnExecute
[ OK ] LlvmLibcEpollCreate1Test.CloseOnExecute (10 us)
Ran 2 tests. PASS: 2 FAIL: 0
[968/1095] Running unit test libc.test.src.sys.prctl.linux.prctl_test
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcSysPrctlTest.GetSetName
[ OK ] LlvmLibcSysPrctlTest.GetSetName (26 us)
[ RUN ] LlvmLibcSysPrctlTest.GetTHPDisable
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[ OK ] LlvmLibcSysFStatvfsTest.FStatvfsBasic (26 us)
[ RUN ] LlvmLibcSysFStatvfsTest.FStatvfsInvalidPath
[ OK ] LlvmLibcSysFStatvfsTest.FStatvfsInvalidPath (202 us)
Ran 2 tests. PASS: 2 FAIL: 0
[962/1095] Running unit test libc.test.src.sys.utsname.uname_test
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcUnameTest.GetMachineName
[ OK ] LlvmLibcUnameTest.GetMachineName (35 us)
Ran 1 tests. PASS: 1 FAIL: 0
[963/1095] Running unit test libc.test.src.sys.statvfs.linux.statvfs_test
FAILED: projects/libc/test/src/sys/statvfs/linux/CMakeFiles/libc.test.src.sys.statvfs.linux.statvfs_test /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/test/src/sys/statvfs/linux/CMakeFiles/libc.test.src.sys.statvfs.linux.statvfs_test
cd /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/test/src/sys/statvfs/linux && /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/test/src/sys/statvfs/linux/libc.test.src.sys.statvfs.linux.statvfs_test.__build__
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcSysStatvfsTest.StatvfsBasic
[ OK ] LlvmLibcSysStatvfsTest.StatvfsBasic (17 us)
[ RUN ] LlvmLibcSysStatvfsTest.StatvfsInvalidPath
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/test/src/sys/statvfs/linux/statvfs_test.cpp:37: FAILURE
Failed to match LIBC_NAMESPACE::mkdirat(AT_FDCWD, TEST_DIR, S_IRWXU) against Succeeds(0).
Expected return value to be equal to 0 but got -1.
Expected errno to be equal to "Success" but got "File exists".
[ FAILED ] LlvmLibcSysStatvfsTest.StatvfsInvalidPath
Ran 2 tests. PASS: 1 FAIL: 1
[964/1095] Running unit test libc.test.src.sys.wait.wait4_test
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcwait4Test.NoHangTest
[ OK ] LlvmLibcwait4Test.NoHangTest (4 us)
Ran 1 tests. PASS: 1 FAIL: 0
[965/1095] Running unit test libc.test.src.sys.epoll.linux.epoll_ctl_test
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcEpollCtlTest.Basic
[ OK ] LlvmLibcEpollCtlTest.Basic (52 us)
Ran 1 tests. PASS: 1 FAIL: 0
[966/1095] Running unit test libc.test.src.sys.auxv.linux.getauxval_test
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcGetauxvalTest.Basic
[ OK ] LlvmLibcGetauxvalTest.Basic (64 us)
Ran 1 tests. PASS: 1 FAIL: 0
[967/1095] Running unit test libc.test.src.sys.epoll.linux.epoll_create1_test
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcEpollCreate1Test.Basic
[ OK ] LlvmLibcEpollCreate1Test.Basic (19 us)
[ RUN ] LlvmLibcEpollCreate1Test.CloseOnExecute
[ OK ] LlvmLibcEpollCreate1Test.CloseOnExecute (10 us)
Ran 2 tests. PASS: 2 FAIL: 0
[968/1095] Running unit test libc.test.src.sys.prctl.linux.prctl_test
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcSysPrctlTest.GetSetName
[ OK ] LlvmLibcSysPrctlTest.GetSetName (26 us)
[ RUN ] LlvmLibcSysPrctlTest.GetTHPDisable
```
</details>
https://github.com/llvm/llvm-project/pull/115573
More information about the cfe-commits
mailing list