[libc-commits] [libc] [libc] Implement process_mrelease. (PR #117503)
LLVM Continuous Integration via libc-commits
libc-commits at lists.llvm.org
Tue Nov 26 15:02:48 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/1580
<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)
...
[ RUN ] LlvmLibcPosixMadviseTest.Error_BadPtr
[ OK ] LlvmLibcPosixMadviseTest.Error_BadPtr (345 us)
Ran 2 tests. PASS: 2 FAIL: 0
[3759/3897] Running unit test libc.test.src.sys.socket.linux.socket_test
sh: line 1: /timer.24127: Permission denied
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcSocketTest.LocalSocket
[ OK ] LlvmLibcSocketTest.LocalSocket (509 us)
Ran 1 tests. PASS: 1 FAIL: 0
[3760/3897] Running unit test libc.test.src.sys.mman.linux.process_mrelease_test
FAILED: projects/libc/test/src/sys/mman/linux/CMakeFiles/libc.test.src.sys.mman.linux.process_mrelease_test /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/projects/libc/test/src/sys/mman/linux/CMakeFiles/libc.test.src.sys.mman.linux.process_mrelease_test
cd /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/projects/libc/test/src/sys/mman/linux && /home/libcrv32buildbot/cross.sh /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/projects/libc/test/src/sys/mman/linux/libc.test.src.sys.mman.linux.process_mrelease_test.__build__
sh: line 1: /timer.24132: Permission denied
[==========] Running 3 tests from 1 test suite.
[ RUN ] LlvmLibcMProcessMReleaseTest.NoError
[ OK ] LlvmLibcMProcessMReleaseTest.NoError (2 ms)
[ RUN ] LlvmLibcMProcessMReleaseTest.ErrorNotKilled
/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/src/sys/mman/linux/process_mrelease_test.cpp:63: FAILURE
Expected: __llvm_libc_20_0_0_git::process_mrelease(pidfd, 0)
Which is: -1
To be equal to: 22
Which is: 22
[ FAILED ] LlvmLibcMProcessMReleaseTest.ErrorNotKilled
[ RUN ] LlvmLibcMProcessMReleaseTest.ErrorNonExistingPidfd
/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/src/sys/mman/linux/process_mrelease_test.cpp:71: FAILURE
Expected: __llvm_libc_20_0_0_git::process_mrelease(-1, 0)
Which is: -1
To be equal to: 9
Which is: 9
[ FAILED ] LlvmLibcMProcessMReleaseTest.ErrorNonExistingPidfd
Ran 3 tests. PASS: 1 FAIL: 2
[3761/3897] Running unit test libc.test.src.sys.mman.linux.msync_test
sh: line 1: /timer.24123: Permission denied
[==========] Running 4 tests from 1 test suite.
[ RUN ] LlvmLibcMsyncTest.UnMappedMemory
[ OK ] LlvmLibcMsyncTest.UnMappedMemory (585 us)
[ RUN ] LlvmLibcMsyncTest.LockedPage
[ OK ] LlvmLibcMsyncTest.LockedPage (4 ms)
[ RUN ] LlvmLibcMsyncTest.UnalignedAddress
[ OK ] LlvmLibcMsyncTest.UnalignedAddress (921 us)
[ RUN ] LlvmLibcMsyncTest.InvalidFlag
[ OK ] LlvmLibcMsyncTest.InvalidFlag (286 us)
Ran 4 tests. PASS: 4 FAIL: 0
[3762/3897] Running unit test libc.test.src.sys.mman.linux.shm_test
sh: line 1: /timer.24128: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcShmTest.Basic
[ OK ] LlvmLibcShmTest.Basic (6 ms)
[ RUN ] LlvmLibcShmTest.NameConversion
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[ RUN ] LlvmLibcPosixMadviseTest.Error_BadPtr
[ OK ] LlvmLibcPosixMadviseTest.Error_BadPtr (345 us)
Ran 2 tests. PASS: 2 FAIL: 0
[3759/3897] Running unit test libc.test.src.sys.socket.linux.socket_test
sh: line 1: /timer.24127: Permission denied
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcSocketTest.LocalSocket
[ OK ] LlvmLibcSocketTest.LocalSocket (509 us)
Ran 1 tests. PASS: 1 FAIL: 0
[3760/3897] Running unit test libc.test.src.sys.mman.linux.process_mrelease_test
FAILED: projects/libc/test/src/sys/mman/linux/CMakeFiles/libc.test.src.sys.mman.linux.process_mrelease_test /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/projects/libc/test/src/sys/mman/linux/CMakeFiles/libc.test.src.sys.mman.linux.process_mrelease_test
cd /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/projects/libc/test/src/sys/mman/linux && /home/libcrv32buildbot/cross.sh /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/projects/libc/test/src/sys/mman/linux/libc.test.src.sys.mman.linux.process_mrelease_test.__build__
sh: line 1: /timer.24132: Permission denied
[==========] Running 3 tests from 1 test suite.
[ RUN ] LlvmLibcMProcessMReleaseTest.NoError
[ OK ] LlvmLibcMProcessMReleaseTest.NoError (2 ms)
[ RUN ] LlvmLibcMProcessMReleaseTest.ErrorNotKilled
/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/src/sys/mman/linux/process_mrelease_test.cpp:63: FAILURE
Expected: __llvm_libc_20_0_0_git::process_mrelease(pidfd, 0)
Which is: -1
To be equal to: 22
Which is: 22
[ FAILED ] LlvmLibcMProcessMReleaseTest.ErrorNotKilled
[ RUN ] LlvmLibcMProcessMReleaseTest.ErrorNonExistingPidfd
/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/src/sys/mman/linux/process_mrelease_test.cpp:71: FAILURE
Expected: __llvm_libc_20_0_0_git::process_mrelease(-1, 0)
Which is: -1
To be equal to: 9
Which is: 9
[ FAILED ] LlvmLibcMProcessMReleaseTest.ErrorNonExistingPidfd
Ran 3 tests. PASS: 1 FAIL: 2
[3761/3897] Running unit test libc.test.src.sys.mman.linux.msync_test
sh: line 1: /timer.24123: Permission denied
[==========] Running 4 tests from 1 test suite.
[ RUN ] LlvmLibcMsyncTest.UnMappedMemory
[ OK ] LlvmLibcMsyncTest.UnMappedMemory (585 us)
[ RUN ] LlvmLibcMsyncTest.LockedPage
[ OK ] LlvmLibcMsyncTest.LockedPage (4 ms)
[ RUN ] LlvmLibcMsyncTest.UnalignedAddress
[ OK ] LlvmLibcMsyncTest.UnalignedAddress (921 us)
[ RUN ] LlvmLibcMsyncTest.InvalidFlag
[ OK ] LlvmLibcMsyncTest.InvalidFlag (286 us)
Ran 4 tests. PASS: 4 FAIL: 0
[3762/3897] Running unit test libc.test.src.sys.mman.linux.shm_test
sh: line 1: /timer.24128: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcShmTest.Basic
[ OK ] LlvmLibcShmTest.Basic (6 ms)
[ RUN ] LlvmLibcShmTest.NameConversion
```
</details>
https://github.com/llvm/llvm-project/pull/117503
More information about the libc-commits
mailing list