[libc-commits] [libc] [libc] add basic lifetime annotations for support data structures (PR #145933)
LLVM Continuous Integration via libc-commits
libc-commits at lists.llvm.org
Fri Oct 17 14:05:33 PDT 2025
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/12882
<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)
...
Ran 1 tests. PASS: 1 FAIL: 0
[6771/6906] Running unit test libc.test.src.poll.poll_test
sh: line 1: /timer.20389: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcPollTest.SmokeTest
[ OK ] LlvmLibcPollTest.SmokeTest (513 us)
[ RUN ] LlvmLibcPollTest.SmokeFailureTest
[ OK ] LlvmLibcPollTest.SmokeFailureTest (111 us)
Ran 2 tests. PASS: 2 FAIL: 0
[6772/6906] Running unit test libc.test.src.fcntl.openat_test
FAILED: libc/test/src/fcntl/CMakeFiles/libc.test.src.fcntl.openat_test /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/libc/test/src/fcntl/CMakeFiles/libc.test.src.fcntl.openat_test
cd /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/libc/test/src/fcntl && /home/libcrv32buildbot/cross.sh /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/libc/test/src/fcntl/libc.test.src.fcntl.openat_test.__build__
sh: line 1: /timer.20390: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcOpenAtTest.OpenAndReadTest
/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/src/fcntl/openat_test.cpp:32: FAILURE
Expected: 0
Which is: 0
To be equal to: static_cast<int>(libc_errno)
Which is: 2
/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/UnitTest/ErrnoCheckingTest.h:47: FAILURE
Expected: 0
Which is: 0
To be equal to: static_cast<int>(libc_errno)
Which is: 2
[ FAILED ] LlvmLibcOpenAtTest.OpenAndReadTest
[ RUN ] LlvmLibcOpenAtTest.FailTest
[ OK ] LlvmLibcOpenAtTest.FailTest (457 us)
Ran 2 tests. PASS: 1 FAIL: 1
[6773/6906] Running unit test libc.test.src.fcntl.fcntl_test
sh: line 1: /timer.20392: Permission denied
[==========] Running 7 tests from 1 test suite.
[ RUN ] LlvmLibcFcntlTest.FcntlDupfd
[ OK ] LlvmLibcFcntlTest.FcntlDupfd (2 ms)
[ RUN ] LlvmLibcFcntlTest.FcntlGetFl
[ OK ] LlvmLibcFcntlTest.FcntlGetFl (517 us)
[ RUN ] LlvmLibcFcntlTest.FcntlSetFl
[ OK ] LlvmLibcFcntlTest.FcntlSetFl (563 us)
[ RUN ] LlvmLibcFcntlTest.FcntlGetLkRead
[ OK ] LlvmLibcFcntlTest.FcntlGetLkRead (944 us)
[ RUN ] LlvmLibcFcntlTest.FcntlGetLkWrite
[ OK ] LlvmLibcFcntlTest.FcntlGetLkWrite (698 us)
[ RUN ] LlvmLibcFcntlTest.UseAfterClose
[ OK ] LlvmLibcFcntlTest.UseAfterClose (507 us)
[ RUN ] LlvmLibcFcntlTest.SetGetOwnerTest
[ OK ] LlvmLibcFcntlTest.SetGetOwnerTest (821 us)
Ran 7 tests. PASS: 7 FAIL: 0
[6774/6906] Running unit test libc.test.src.sched.yield_test
sh: line 1: /timer.20471: Permission denied
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
...
Ran 1 tests. PASS: 1 FAIL: 0
[6771/6906] Running unit test libc.test.src.poll.poll_test
sh: line 1: /timer.20389: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcPollTest.SmokeTest
[ OK ] LlvmLibcPollTest.SmokeTest (513 us)
[ RUN ] LlvmLibcPollTest.SmokeFailureTest
[ OK ] LlvmLibcPollTest.SmokeFailureTest (111 us)
Ran 2 tests. PASS: 2 FAIL: 0
[6772/6906] Running unit test libc.test.src.fcntl.openat_test
FAILED: libc/test/src/fcntl/CMakeFiles/libc.test.src.fcntl.openat_test /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/libc/test/src/fcntl/CMakeFiles/libc.test.src.fcntl.openat_test
cd /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/libc/test/src/fcntl && /home/libcrv32buildbot/cross.sh /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/libc/test/src/fcntl/libc.test.src.fcntl.openat_test.__build__
sh: line 1: /timer.20390: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcOpenAtTest.OpenAndReadTest
/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/src/fcntl/openat_test.cpp:32: FAILURE
Expected: 0
Which is: 0
To be equal to: static_cast<int>(libc_errno)
Which is: 2
/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/UnitTest/ErrnoCheckingTest.h:47: FAILURE
Expected: 0
Which is: 0
To be equal to: static_cast<int>(libc_errno)
Which is: 2
[ FAILED ] LlvmLibcOpenAtTest.OpenAndReadTest
[ RUN ] LlvmLibcOpenAtTest.FailTest
[ OK ] LlvmLibcOpenAtTest.FailTest (457 us)
Ran 2 tests. PASS: 1 FAIL: 1
[6773/6906] Running unit test libc.test.src.fcntl.fcntl_test
sh: line 1: /timer.20392: Permission denied
[==========] Running 7 tests from 1 test suite.
[ RUN ] LlvmLibcFcntlTest.FcntlDupfd
[ OK ] LlvmLibcFcntlTest.FcntlDupfd (2 ms)
[ RUN ] LlvmLibcFcntlTest.FcntlGetFl
[ OK ] LlvmLibcFcntlTest.FcntlGetFl (517 us)
[ RUN ] LlvmLibcFcntlTest.FcntlSetFl
[ OK ] LlvmLibcFcntlTest.FcntlSetFl (563 us)
[ RUN ] LlvmLibcFcntlTest.FcntlGetLkRead
[ OK ] LlvmLibcFcntlTest.FcntlGetLkRead (944 us)
[ RUN ] LlvmLibcFcntlTest.FcntlGetLkWrite
[ OK ] LlvmLibcFcntlTest.FcntlGetLkWrite (698 us)
[ RUN ] LlvmLibcFcntlTest.UseAfterClose
[ OK ] LlvmLibcFcntlTest.UseAfterClose (507 us)
[ RUN ] LlvmLibcFcntlTest.SetGetOwnerTest
[ OK ] LlvmLibcFcntlTest.SetGetOwnerTest (821 us)
Ran 7 tests. PASS: 7 FAIL: 0
[6774/6906] Running unit test libc.test.src.sched.yield_test
sh: line 1: /timer.20471: Permission denied
```
</details>
https://github.com/llvm/llvm-project/pull/145933
More information about the libc-commits
mailing list