[llvm] [llvm][docs] Expand HowToAddABuilder with guidance on testing locally (PR #115024)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 12 14:16:35 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 `llvm` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/196/builds/931
<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
[811/928] Running unit test libc.test.src.sys.statvfs.linux.statvfs_test
sh: line 1: /timer.3119: 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
[812/928] 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.3114: 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
[813/928] Running unit test libc.test.src.sys.stat.mkdirat_test
sh: line 1: /timer.3126: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcMkdiratTest.CreateAndRemove
[ OK ] LlvmLibcMkdiratTest.CreateAndRemove (3 ms)
[ RUN ] LlvmLibcMkdiratTest.BadPath
[ OK ] LlvmLibcMkdiratTest.BadPath (218 us)
Ran 2 tests. PASS: 2 FAIL: 0
[814/928] Running unit test libc.test.src.sys.auxv.linux.getauxval_test
sh: line 1: /timer.3134: Permission denied
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcGetauxvalTest.Basic
[ OK ] LlvmLibcGetauxvalTest.Basic (2 ms)
Ran 1 tests. PASS: 1 FAIL: 0
[815/928] Running unit test libc.test.src.sys.wait.wait4_test
sh: line 1: /timer.3135: Permission denied
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcwait4Test.NoHangTest
[ OK ] LlvmLibcwait4Test.NoHangTest (629 us)
Ran 1 tests. PASS: 1 FAIL: 0
[816/928] Running unit test libc.test.src.sys.epoll.linux.epoll_ctl_test
sh: line 1: /timer.3254: Permission denied
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcEpollCtlTest.Basic
[ OK ] LlvmLibcEpollCtlTest.Basic (2 ms)
Ran 1 tests. PASS: 1 FAIL: 0
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
...
Ran 2 tests. PASS: 2 FAIL: 0
[811/928] Running unit test libc.test.src.sys.statvfs.linux.statvfs_test
sh: line 1: /timer.3119: 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
[812/928] 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.3114: 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
[813/928] Running unit test libc.test.src.sys.stat.mkdirat_test
sh: line 1: /timer.3126: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcMkdiratTest.CreateAndRemove
[ OK ] LlvmLibcMkdiratTest.CreateAndRemove (3 ms)
[ RUN ] LlvmLibcMkdiratTest.BadPath
[ OK ] LlvmLibcMkdiratTest.BadPath (218 us)
Ran 2 tests. PASS: 2 FAIL: 0
[814/928] Running unit test libc.test.src.sys.auxv.linux.getauxval_test
sh: line 1: /timer.3134: Permission denied
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcGetauxvalTest.Basic
[ OK ] LlvmLibcGetauxvalTest.Basic (2 ms)
Ran 1 tests. PASS: 1 FAIL: 0
[815/928] Running unit test libc.test.src.sys.wait.wait4_test
sh: line 1: /timer.3135: Permission denied
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcwait4Test.NoHangTest
[ OK ] LlvmLibcwait4Test.NoHangTest (629 us)
Ran 1 tests. PASS: 1 FAIL: 0
[816/928] Running unit test libc.test.src.sys.epoll.linux.epoll_ctl_test
sh: line 1: /timer.3254: Permission denied
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcEpollCtlTest.Basic
[ OK ] LlvmLibcEpollCtlTest.Basic (2 ms)
Ran 1 tests. PASS: 1 FAIL: 0
```
</details>
https://github.com/llvm/llvm-project/pull/115024
More information about the llvm-commits
mailing list