[libc-commits] [libc] [libc] Implement process_mrelease. (PR #117503)
LLVM Continuous Integration via libc-commits
libc-commits at lists.llvm.org
Tue Nov 26 14:46:57 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `libc-x86_64-debian-fullbuild-dbg-asan` running on `libc-x86_64-debian-fullbuild` while building `libc` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/171/builds/11127
<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 ] LlvmLibcRemapFilePagesTest.NoError
[ OK ] LlvmLibcRemapFilePagesTest.NoError (173 us)
[ RUN ] LlvmLibcRemapFilePagesTest.ErrorInvalidFlags
[ OK ] LlvmLibcRemapFilePagesTest.ErrorInvalidFlags (58 us)
[ RUN ] LlvmLibcRemapFilePagesTest.ErrorInvalidAddress
[ OK ] LlvmLibcRemapFilePagesTest.ErrorInvalidAddress (4 us)
Ran 3 tests. PASS: 3 FAIL: 0
[4469/4903] Building CXX object projects/libc/test/src/sys/socket/linux/CMakeFiles/libc.test.src.sys.socket.linux.socketpair_test.__build__.dir/socketpair_test.cpp.o
[4470/4903] Linking CXX executable projects/libc/test/src/sys/mman/linux/libc.test.src.sys.mman.linux.mincore_test.__build__
[4471/4903] 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/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/test/src/sys/mman/linux/CMakeFiles/libc.test.src.sys.mman.linux.process_mrelease_test
cd /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/test/src/sys/mman/linux && /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/test/src/sys/mman/linux/libc.test.src.sys.mman.linux.process_mrelease_test.__build__
[==========] Running 3 tests from 1 test suite.
[ RUN ] LlvmLibcMProcessMReleaseTest.NoError
[ OK ] LlvmLibcMProcessMReleaseTest.NoError (1 ms)
[ RUN ] LlvmLibcMProcessMReleaseTest.ErrorNotKilled
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/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/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/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
[4472/4903] Building CXX object projects/libc/test/src/sys/resource/CMakeFiles/libc.test.src.sys.resource.getrlimit_setrlimit_test.__build__.dir/getrlimit_setrlimit_test.cpp.o
[4473/4903] Building CXX object projects/libc/test/src/sys/sendfile/CMakeFiles/libc.test.src.sys.sendfile.sendfile_test.__build__.dir/sendfile_test.cpp.o
[4474/4903] Running unit test libc.test.src.sys.mman.linux.mincore_test
[==========] Running 6 tests from 1 test suite.
[ RUN ] LlvmLibcMincoreTest.UnMappedMemory
[ OK ] LlvmLibcMincoreTest.UnMappedMemory (8 us)
[ RUN ] LlvmLibcMincoreTest.UnalignedAddr
[ OK ] LlvmLibcMincoreTest.UnalignedAddr (65 us)
[ RUN ] LlvmLibcMincoreTest.InvalidVec
[ OK ] LlvmLibcMincoreTest.InvalidVec (15 us)
[ RUN ] LlvmLibcMincoreTest.NoError
[ OK ] LlvmLibcMincoreTest.NoError (16 us)
[ RUN ] LlvmLibcMincoreTest.NegativeLength
[ OK ] LlvmLibcMincoreTest.NegativeLength (12 us)
[ RUN ] LlvmLibcMincoreTest.PageOut
[ OK ] LlvmLibcMincoreTest.PageOut (53 us)
Ran 6 tests. PASS: 6 FAIL: 0
[4475/4903] Building CXX object projects/libc/test/src/sys/socket/linux/CMakeFiles/libc.test.src.sys.socket.linux.send_recv_test.__build__.dir/send_recv_test.cpp.o
[4476/4903] Building CXX object projects/libc/test/src/sys/mman/linux/CMakeFiles/libc.test.src.sys.mman.linux.mlock_test.__build__.dir/mlock_test.cpp.o
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[ RUN ] LlvmLibcRemapFilePagesTest.NoError
[ OK ] LlvmLibcRemapFilePagesTest.NoError (173 us)
[ RUN ] LlvmLibcRemapFilePagesTest.ErrorInvalidFlags
[ OK ] LlvmLibcRemapFilePagesTest.ErrorInvalidFlags (58 us)
[ RUN ] LlvmLibcRemapFilePagesTest.ErrorInvalidAddress
[ OK ] LlvmLibcRemapFilePagesTest.ErrorInvalidAddress (4 us)
Ran 3 tests. PASS: 3 FAIL: 0
[4469/4903] Building CXX object projects/libc/test/src/sys/socket/linux/CMakeFiles/libc.test.src.sys.socket.linux.socketpair_test.__build__.dir/socketpair_test.cpp.o
[4470/4903] Linking CXX executable projects/libc/test/src/sys/mman/linux/libc.test.src.sys.mman.linux.mincore_test.__build__
[4471/4903] 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/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/test/src/sys/mman/linux/CMakeFiles/libc.test.src.sys.mman.linux.process_mrelease_test
cd /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/test/src/sys/mman/linux && /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/test/src/sys/mman/linux/libc.test.src.sys.mman.linux.process_mrelease_test.__build__
[==========] Running 3 tests from 1 test suite.
[ RUN ] LlvmLibcMProcessMReleaseTest.NoError
[ OK ] LlvmLibcMProcessMReleaseTest.NoError (1 ms)
[ RUN ] LlvmLibcMProcessMReleaseTest.ErrorNotKilled
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/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/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/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
[4472/4903] Building CXX object projects/libc/test/src/sys/resource/CMakeFiles/libc.test.src.sys.resource.getrlimit_setrlimit_test.__build__.dir/getrlimit_setrlimit_test.cpp.o
[4473/4903] Building CXX object projects/libc/test/src/sys/sendfile/CMakeFiles/libc.test.src.sys.sendfile.sendfile_test.__build__.dir/sendfile_test.cpp.o
[4474/4903] Running unit test libc.test.src.sys.mman.linux.mincore_test
[==========] Running 6 tests from 1 test suite.
[ RUN ] LlvmLibcMincoreTest.UnMappedMemory
[ OK ] LlvmLibcMincoreTest.UnMappedMemory (8 us)
[ RUN ] LlvmLibcMincoreTest.UnalignedAddr
[ OK ] LlvmLibcMincoreTest.UnalignedAddr (65 us)
[ RUN ] LlvmLibcMincoreTest.InvalidVec
[ OK ] LlvmLibcMincoreTest.InvalidVec (15 us)
[ RUN ] LlvmLibcMincoreTest.NoError
[ OK ] LlvmLibcMincoreTest.NoError (16 us)
[ RUN ] LlvmLibcMincoreTest.NegativeLength
[ OK ] LlvmLibcMincoreTest.NegativeLength (12 us)
[ RUN ] LlvmLibcMincoreTest.PageOut
[ OK ] LlvmLibcMincoreTest.PageOut (53 us)
Ran 6 tests. PASS: 6 FAIL: 0
[4475/4903] Building CXX object projects/libc/test/src/sys/socket/linux/CMakeFiles/libc.test.src.sys.socket.linux.send_recv_test.__build__.dir/send_recv_test.cpp.o
[4476/4903] Building CXX object projects/libc/test/src/sys/mman/linux/CMakeFiles/libc.test.src.sys.mman.linux.mlock_test.__build__.dir/mlock_test.cpp.o
```
</details>
https://github.com/llvm/llvm-project/pull/117503
More information about the libc-commits
mailing list