[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:49:28 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `libc-x86_64-debian-gcc-fullbuild-dbg` 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/131/builds/11220
<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 ] LlvmLibcMincoreTest.PageOut
[ OK ] LlvmLibcMincoreTest.PageOut (67 us)
Ran 6 tests. PASS: 6 FAIL: 0
[4480/4918] Building CXX object projects/libc/test/src/sys/random/linux/CMakeFiles/libc.test.src.sys.random.linux.getrandom_test.__build__.dir/getrandom_test.cpp.o
[4481/4918] Building CXX object projects/libc/test/src/sys/random/linux/CMakeFiles/libc.test.src.sys.random.linux.getrandom_test.__NO_FMA_OPT.__build__.dir/getrandom_test.cpp.o
[4482/4918] Building CXX object projects/libc/test/src/sys/random/linux/CMakeFiles/libc.test.src.sys.random.linux.getrandom_test.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/getrandom_test.cpp.o
[4483/4918] Linking CXX executable projects/libc/test/src/sys/mman/linux/libc.test.src.sys.mman.linux.process_mrelease_test.__build__
[4484/4918] Linking CXX executable projects/libc/test/src/sys/mman/linux/libc.test.src.sys.mman.linux.shm_test.__build__
[4485/4918] Linking CXX executable projects/libc/test/src/sys/mman/linux/libc.test.src.sys.mman.linux.mlock_test.__build__
[4486/4918] 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-gcc-fullbuild-dbg/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-gcc-fullbuild-dbg/build/projects/libc/test/src/sys/mman/linux && /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/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 (229 us)
[ RUN ] LlvmLibcMProcessMReleaseTest.ErrorNotKilled
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-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/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-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
[4487/4918] Running unit test libc.test.src.sys.mman.linux.mlock_test
[==========] Running 5 tests from 1 test suite.
[ RUN ] LlvmLibcMlockTest.UnMappedMemory
[ OK ] LlvmLibcMlockTest.UnMappedMemory (7 us)
[ RUN ] LlvmLibcMlockTest.Overflow
[ OK ] LlvmLibcMlockTest.Overflow (185 us)
[ RUN ] LlvmLibcMlockTest.MLock2
[ OK ] LlvmLibcMlockTest.MLock2 (99 us)
[ RUN ] LlvmLibcMlockTest.InvalidFlag
[ OK ] LlvmLibcMlockTest.InvalidFlag (18 us)
[ RUN ] LlvmLibcMlockTest.MLockAll
[ OK ] LlvmLibcMlockTest.MLockAll (1 ms)
Ran 5 tests. PASS: 5 FAIL: 0
[4488/4918] Linking CXX executable projects/libc/test/src/sys/mman/linux/libc.test.src.sys.mman.linux.remap_file_pages_test.__build__
[4489/4918] Running unit test libc.test.src.sys.mman.linux.shm_test
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcShmTest.Basic
[ OK ] LlvmLibcShmTest.Basic (168 us)
[ RUN ] LlvmLibcShmTest.NameConversion
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[ RUN ] LlvmLibcMincoreTest.PageOut
[ OK ] LlvmLibcMincoreTest.PageOut (67 us)
Ran 6 tests. PASS: 6 FAIL: 0
[4480/4918] Building CXX object projects/libc/test/src/sys/random/linux/CMakeFiles/libc.test.src.sys.random.linux.getrandom_test.__build__.dir/getrandom_test.cpp.o
[4481/4918] Building CXX object projects/libc/test/src/sys/random/linux/CMakeFiles/libc.test.src.sys.random.linux.getrandom_test.__NO_FMA_OPT.__build__.dir/getrandom_test.cpp.o
[4482/4918] Building CXX object projects/libc/test/src/sys/random/linux/CMakeFiles/libc.test.src.sys.random.linux.getrandom_test.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/getrandom_test.cpp.o
[4483/4918] Linking CXX executable projects/libc/test/src/sys/mman/linux/libc.test.src.sys.mman.linux.process_mrelease_test.__build__
[4484/4918] Linking CXX executable projects/libc/test/src/sys/mman/linux/libc.test.src.sys.mman.linux.shm_test.__build__
[4485/4918] Linking CXX executable projects/libc/test/src/sys/mman/linux/libc.test.src.sys.mman.linux.mlock_test.__build__
[4486/4918] 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-gcc-fullbuild-dbg/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-gcc-fullbuild-dbg/build/projects/libc/test/src/sys/mman/linux && /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/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 (229 us)
[ RUN ] LlvmLibcMProcessMReleaseTest.ErrorNotKilled
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-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/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-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
[4487/4918] Running unit test libc.test.src.sys.mman.linux.mlock_test
[==========] Running 5 tests from 1 test suite.
[ RUN ] LlvmLibcMlockTest.UnMappedMemory
[ OK ] LlvmLibcMlockTest.UnMappedMemory (7 us)
[ RUN ] LlvmLibcMlockTest.Overflow
[ OK ] LlvmLibcMlockTest.Overflow (185 us)
[ RUN ] LlvmLibcMlockTest.MLock2
[ OK ] LlvmLibcMlockTest.MLock2 (99 us)
[ RUN ] LlvmLibcMlockTest.InvalidFlag
[ OK ] LlvmLibcMlockTest.InvalidFlag (18 us)
[ RUN ] LlvmLibcMlockTest.MLockAll
[ OK ] LlvmLibcMlockTest.MLockAll (1 ms)
Ran 5 tests. PASS: 5 FAIL: 0
[4488/4918] Linking CXX executable projects/libc/test/src/sys/mman/linux/libc.test.src.sys.mman.linux.remap_file_pages_test.__build__
[4489/4918] Running unit test libc.test.src.sys.mman.linux.shm_test
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcShmTest.Basic
[ OK ] LlvmLibcShmTest.Basic (168 us)
[ RUN ] LlvmLibcShmTest.NameConversion
```
</details>
https://github.com/llvm/llvm-project/pull/117503
More information about the libc-commits
mailing list