[libc-commits] [libc] [libc] Add `__builtin_expect` tag on assert conditions; NFC (PR #99498)

LLVM Continuous Integration via libc-commits libc-commits at lists.llvm.org
Sun Oct 27 07:25:35 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `libc-riscv32-qemu-yocto-fullbuild-dbg` running on `rv32gc-qemu-system` while building `libc` at step 4 "annotate".

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

<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) (timed out)
...
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcDifftime.SmokeTest
[       OK ] LlvmLibcDifftime.SmokeTest (2 ms)
Ran 1 tests.  PASS: 1  FAIL: 0
[2884/2888] Running unit test libc.test.src.time.nanosleep_test.__unit__
sh: line 1: /timer.17550: Permission denied
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcNanosleep.SmokeTest
[       OK ] LlvmLibcNanosleep.SmokeTest (847 us)
Ran 1 tests.  PASS: 1  FAIL: 0
command timed out: 1200 seconds without output running [b'python', b'../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py', b'--debug'], attempting to kill
process killed by signal 9
program finished with exit code -1
elapsedTime=2060.851458
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[ RUN      ] LlvmLibcSignalTest.SigaltstackInvalidStack
[       OK ] LlvmLibcSignalTest.SigaltstackInvalidStack (266 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[2880/2888] Running unit test libc.test.src.time.time_test
sh: line 1: /timer.17574: Permission denied
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcTimeTest.SmokeTest
[       OK ] LlvmLibcTimeTest.SmokeTest (1 ms)
Ran 1 tests.  PASS: 1  FAIL: 0
[2881/2888] Running unit test libc.test.src.time.ctime_r_test
sh: line 1: /timer.17568: Permission denied
[==========] Running 4 tests from 1 test suite.
[ RUN      ] LlvmLibcCtimeR.Nullptr
[       OK ] LlvmLibcCtimeR.Nullptr (527 us)
[ RUN      ] LlvmLibcCtimeR.ValidUnixTimestamp0
[       OK ] LlvmLibcCtimeR.ValidUnixTimestamp0 (1 ms)
[ RUN      ] LlvmLibcCtime.ValidUnixTimestamp32Int
[       OK ] LlvmLibcCtime.ValidUnixTimestamp32Int (68 us)
[ RUN      ] LlvmLibcCtimeR.InvalidArgument
[       OK ] LlvmLibcCtimeR.InvalidArgument (46 us)
Ran 4 tests.  PASS: 4  FAIL: 0
[2882/2888] Running unit test libc.test.src.pthread.pthread_condattr_test
sh: line 1: /timer.17575: Permission denied
[==========] Running 4 tests from 1 test suite.
[ RUN      ] LlvmLibcPThreadCondAttrTest.InitAndDestroy
[       OK ] LlvmLibcPThreadCondAttrTest.InitAndDestroy (284 us)
[ RUN      ] LlvmLibcPThreadCondAttrTest.GetDefaultValues
[       OK ] LlvmLibcPThreadCondAttrTest.GetDefaultValues (202 us)
[ RUN      ] LlvmLibcPThreadCondAttrTest.SetGoodValues
[       OK ] LlvmLibcPThreadCondAttrTest.SetGoodValues (425 us)
[ RUN      ] LlvmLibcPThreadCondAttrTest.SetBadValues
[       OK ] LlvmLibcPThreadCondAttrTest.SetBadValues (209 us)
Ran 4 tests.  PASS: 4  FAIL: 0
[2883/2888] Running unit test libc.test.src.time.difftime_test
sh: line 1: /timer.17579: Permission denied
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcDifftime.SmokeTest
[       OK ] LlvmLibcDifftime.SmokeTest (2 ms)
Ran 1 tests.  PASS: 1  FAIL: 0
[2884/2888] Running unit test libc.test.src.time.nanosleep_test.__unit__
sh: line 1: /timer.17550: Permission denied
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcNanosleep.SmokeTest
[       OK ] LlvmLibcNanosleep.SmokeTest (847 us)
Ran 1 tests.  PASS: 1  FAIL: 0

command timed out: 1200 seconds without output running [b'python', b'../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py', b'--debug'], attempting to kill
process killed by signal 9
program finished with exit code -1
elapsedTime=2060.851458

```

</details>

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


More information about the libc-commits mailing list