[libc-commits] [libc] [libc] {u}lkbits broken on riscv32 (PR #115799)
LLVM Continuous Integration via libc-commits
libc-commits at lists.llvm.org
Tue Nov 12 11:01:43 PST 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/923
<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 2 tests. PASS: 2 FAIL: 0
[3768/3889] Running unit test libc.test.src.sys.stat.stat_test
sh: line 1: /timer.28307: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcStatTest.CreatAndReadMode
[ OK ] LlvmLibcStatTest.CreatAndReadMode (1 ms)
[ RUN ] LlvmLibcStatTest.NonExistentFile
[ OK ] LlvmLibcStatTest.NonExistentFile (125 us)
Ran 2 tests. PASS: 2 FAIL: 0
[3769/3889] 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/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/projects/libc/test/src/sys/statvfs/linux/CMakeFiles/libc.test.src.sys.statvfs.linux.fstatvfs_test
cd /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/projects/libc/test/src/sys/statvfs/linux && /home/libcrv32buildbot/cross.sh /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/projects/libc/test/src/sys/statvfs/linux/libc.test.src.sys.statvfs.linux.fstatvfs_test.__build__
sh: line 1: /timer.28306: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcSysFStatvfsTest.FStatvfsBasic
[ OK ] LlvmLibcSysFStatvfsTest.FStatvfsBasic (1 ms)
[ RUN ] LlvmLibcSysFStatvfsTest.FStatvfsInvalidPath
/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/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
[3770/3889] Running unit test libc.test.src.sys.stat.lstat_test
sh: line 1: /timer.28311: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcLStatTest.CreatAndReadMode
[ OK ] LlvmLibcLStatTest.CreatAndReadMode (2 ms)
[ RUN ] LlvmLibcLStatTest.NonExistentFile
[ OK ] LlvmLibcLStatTest.NonExistentFile (406 us)
Ran 2 tests. PASS: 2 FAIL: 0
[3771/3889] Running unit test libc.test.src.sys.wait.waitpid_test
sh: line 1: /timer.28310: Permission denied
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcWaitPidTest.NoHangTest
[ OK ] LlvmLibcWaitPidTest.NoHangTest (759 us)
Ran 1 tests. PASS: 1 FAIL: 0
[3772/3889] Running unit test libc.test.src.sys.statvfs.linux.statvfs_test
sh: line 1: /timer.28302: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcSysStatvfsTest.StatvfsBasic
[ OK ] LlvmLibcSysStatvfsTest.StatvfsBasic (1 ms)
[ RUN ] LlvmLibcSysStatvfsTest.StatvfsInvalidPath
[ OK ] LlvmLibcSysStatvfsTest.StatvfsInvalidPath (2 ms)
Ran 2 tests. PASS: 2 FAIL: 0
[3773/3889] Running unit test libc.test.src.sys.utsname.uname_test
sh: line 1: /timer.28305: Permission denied
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcUnameTest.GetMachineName
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
...
Ran 2 tests. PASS: 2 FAIL: 0
[3768/3889] Running unit test libc.test.src.sys.stat.stat_test
sh: line 1: /timer.28307: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcStatTest.CreatAndReadMode
[ OK ] LlvmLibcStatTest.CreatAndReadMode (1 ms)
[ RUN ] LlvmLibcStatTest.NonExistentFile
[ OK ] LlvmLibcStatTest.NonExistentFile (125 us)
Ran 2 tests. PASS: 2 FAIL: 0
[3769/3889] 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/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/projects/libc/test/src/sys/statvfs/linux/CMakeFiles/libc.test.src.sys.statvfs.linux.fstatvfs_test
cd /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/projects/libc/test/src/sys/statvfs/linux && /home/libcrv32buildbot/cross.sh /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/projects/libc/test/src/sys/statvfs/linux/libc.test.src.sys.statvfs.linux.fstatvfs_test.__build__
sh: line 1: /timer.28306: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcSysFStatvfsTest.FStatvfsBasic
[ OK ] LlvmLibcSysFStatvfsTest.FStatvfsBasic (1 ms)
[ RUN ] LlvmLibcSysFStatvfsTest.FStatvfsInvalidPath
/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/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
[3770/3889] Running unit test libc.test.src.sys.stat.lstat_test
sh: line 1: /timer.28311: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcLStatTest.CreatAndReadMode
[ OK ] LlvmLibcLStatTest.CreatAndReadMode (2 ms)
[ RUN ] LlvmLibcLStatTest.NonExistentFile
[ OK ] LlvmLibcLStatTest.NonExistentFile (406 us)
Ran 2 tests. PASS: 2 FAIL: 0
[3771/3889] Running unit test libc.test.src.sys.wait.waitpid_test
sh: line 1: /timer.28310: Permission denied
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcWaitPidTest.NoHangTest
[ OK ] LlvmLibcWaitPidTest.NoHangTest (759 us)
Ran 1 tests. PASS: 1 FAIL: 0
[3772/3889] Running unit test libc.test.src.sys.statvfs.linux.statvfs_test
sh: line 1: /timer.28302: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcSysStatvfsTest.StatvfsBasic
[ OK ] LlvmLibcSysStatvfsTest.StatvfsBasic (1 ms)
[ RUN ] LlvmLibcSysStatvfsTest.StatvfsInvalidPath
[ OK ] LlvmLibcSysStatvfsTest.StatvfsInvalidPath (2 ms)
Ran 2 tests. PASS: 2 FAIL: 0
[3773/3889] Running unit test libc.test.src.sys.utsname.uname_test
sh: line 1: /timer.28305: Permission denied
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcUnameTest.GetMachineName
```
</details>
https://github.com/llvm/llvm-project/pull/115799
More information about the libc-commits
mailing list