[llvm] [llvm] Remove `br i1 undef` from regression tests (PR #115688)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 12 00:46:57 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 `llvm` at step 4 "annotate".

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

<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 ] LlvmLibcGetRandomTest.ReturnsSize (16 us)
[ RUN      ] LlvmLibcGetRandomTest.CheckValue
[       OK ] LlvmLibcGetRandomTest.CheckValue (15 us)
Ran 4 tests.  PASS: 4  FAIL: 0
[961/1095] Running unit test libc.test.src.sys.select.select_failure_test
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcSelectTest.SelectInvalidFD
[       OK ] LlvmLibcSelectTest.SelectInvalidFD (7 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[962/1095] Running unit test libc.test.src.sys.statvfs.linux.fstatvfs_test
FAILED: projects/libc/test/src/sys/statvfs/linux/CMakeFiles/libc.test.src.sys.statvfs.linux.fstatvfs_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.fstatvfs_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.fstatvfs_test.__build__
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcSysFStatvfsTest.FStatvfsBasic
[       OK ] LlvmLibcSysFStatvfsTest.FStatvfsBasic (85 us)
[ RUN      ] LlvmLibcSysFStatvfsTest.FStatvfsInvalidPath
/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/fstatvfs_test.cpp:40: 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  ] LlvmLibcSysFStatvfsTest.FStatvfsInvalidPath
Ran 2 tests.  PASS: 1  FAIL: 1
[963/1095] Running unit test libc.test.src.sys.utsname.uname_test
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcUnameTest.GetMachineName
[       OK ] LlvmLibcUnameTest.GetMachineName (62 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[964/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 (14 us)
[ RUN      ] LlvmLibcSysPrctlTest.GetTHPDisable
[       OK ] LlvmLibcSysPrctlTest.GetTHPDisable (5 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[965/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 (75 us)
[ RUN      ] LlvmLibcEpollCreate1Test.CloseOnExecute
[       OK ] LlvmLibcEpollCreate1Test.CloseOnExecute (15 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[966/1095] Running unit test libc.test.src.sys.wait.wait4_test
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcwait4Test.NoHangTest
[       OK ] LlvmLibcwait4Test.NoHangTest (24 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[967/1095] Running unit test libc.test.src.unistd.dup_test
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcdupTest.ReadAndWriteViaDup
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[       OK ] LlvmLibcGetRandomTest.ReturnsSize (16 us)
[ RUN      ] LlvmLibcGetRandomTest.CheckValue
[       OK ] LlvmLibcGetRandomTest.CheckValue (15 us)
Ran 4 tests.  PASS: 4  FAIL: 0
[961/1095] Running unit test libc.test.src.sys.select.select_failure_test
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcSelectTest.SelectInvalidFD
[       OK ] LlvmLibcSelectTest.SelectInvalidFD (7 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[962/1095] Running unit test libc.test.src.sys.statvfs.linux.fstatvfs_test
FAILED: projects/libc/test/src/sys/statvfs/linux/CMakeFiles/libc.test.src.sys.statvfs.linux.fstatvfs_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.fstatvfs_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.fstatvfs_test.__build__
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcSysFStatvfsTest.FStatvfsBasic
[       OK ] LlvmLibcSysFStatvfsTest.FStatvfsBasic (85 us)
[ RUN      ] LlvmLibcSysFStatvfsTest.FStatvfsInvalidPath
/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/fstatvfs_test.cpp:40: 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  ] LlvmLibcSysFStatvfsTest.FStatvfsInvalidPath
Ran 2 tests.  PASS: 1  FAIL: 1
[963/1095] Running unit test libc.test.src.sys.utsname.uname_test
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcUnameTest.GetMachineName
[       OK ] LlvmLibcUnameTest.GetMachineName (62 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[964/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 (14 us)
[ RUN      ] LlvmLibcSysPrctlTest.GetTHPDisable
[       OK ] LlvmLibcSysPrctlTest.GetTHPDisable (5 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[965/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 (75 us)
[ RUN      ] LlvmLibcEpollCreate1Test.CloseOnExecute
[       OK ] LlvmLibcEpollCreate1Test.CloseOnExecute (15 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[966/1095] Running unit test libc.test.src.sys.wait.wait4_test
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcwait4Test.NoHangTest
[       OK ] LlvmLibcwait4Test.NoHangTest (24 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[967/1095] Running unit test libc.test.src.unistd.dup_test
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcdupTest.ReadAndWriteViaDup

```

</details>

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


More information about the llvm-commits mailing list