criu: Add pidfd support #2259
Closed
criu: Add pidfd support #2259
Cirrus CI / CentOS Stream 9 based test
failed
Oct 12, 2023 in 8m 32s
Task Summary
Instruction build failed in 05:57
Details
ℹ️ Scheduling was delayed due to a concurrency limit on community tasks
✅ 00:06 clone
✅ 02:25 setup
❌ 05:57 build
b'(00.004881) 156: \tReceive fd for 7'
b'(00.004883) 156: Opening 0x007f7e9e1f3000-0x007f7e9e1f4000 0000000000000000 (4081) vma'
b'(00.004885) 156: Restoring memfd id=4'
b'(00.004893) pie: 154: restoring lsm profile (current) system_u:system_r:unconfined_service_t:s0'
b'(00.004898) 156: Warn (criu/memfd.c:371): execveat(fd=9, ..., AT_EMPTY_PATH) might fail after restore; memfd id=4'
------------------------ ERROR OVER ------------------------
Send the 15 signal to 152
Wait for zdtm/transition/unix_sock(152) to die for 0.100000
Removing dump/zdtm/transition/unix_sock/152
===================== Test zdtm/transition/unix_sock PASS ======================
===================== Run zdtm/transition/unix_sock in uns =====================
Start test
./unix_sock --pidfile=unix_sock.pid --outfile=unix_sock.out --filename=unix_sock.test
Run criu dump
Run criu restore
=[log]=> dump/zdtm/transition/unix_sock/214/1/restore.log
------------------------ grep Error ------------------------
b'(00.005743) 1: net: Try to restore a link 10:1:lo'
b'(00.005747) 1: net: Restoring link lo type 1'
b'(00.006366) 1: net: \tRunning ip addr restore'
b'RTNETLINK answers: File exists'
b'Error: ipv6: address already assigned.'
b'(00.040887) 4: unix: Opening slave (stage 1 id 0x15 ino 1393769 peer 1392485)'
b'(00.040889) 4: unix: Opening slave (stage 1 id 0x12 ino 1391287 peer 1392484)'
b'(00.040889) 8: Restoring memfd id=8'
b'(00.040890) 4: unix: Opening master (stage 1 id 0xc ino 1392484 peer 1391287)'
b'(00.040890) 7: Warn (criu/memfd.c:371): execveat(fd=8, ..., AT_EMPTY_PATH) might fail after restore; memfd id=8'
b'(00.040895) 4: skqueue: Trying to restore recv queue for 18'
b'(00.040899) 4: uns: calling sk_setbufs_ns (5, 0)'
b'(00.040901) 6: Restoring resources'
b'(00.040916) 8: Warn (criu/memfd.c:371): execveat(fd=9, ..., AT_EMPTY_PATH) might fail after restore; memfd id=8'
b'(00.040969) 7: Parsed 14cf000-155b000 vma'
b'(00.040970) 7: Parsed 7fc6b5127000-7fc6b5129000 vma'
b'(00.040972) 7: Parsed 7fc6b5127000-7fc6b512d000 vma'
b'(00.040973) 7: Parsed 7fc6b5127000-7fc6b512f000 vma'
b'(00.040973) 6: Warn (criu/memfd.c:371): execveat(fd=7, ..., AT_EMPTY_PATH) might fail after restore; memfd id=8'
b'(00.041576) 8: Parsed 7fc6b5c2c000-7fc6b5d88000 vma'
b'(00.041577) 7: 1 threads require 120K of memory'
b'(00.041577) 6: Parsed 7fc6b5c2c000-7fc6b5d45000 vma'
b'(00.041580) 7: Found bootstrap VMA hint at: 0x10000 (needs ~144K)'
b'(00.041581) 4: Warn (criu/memfd.c:371): execveat(fd=9, ..., AT_EMPTY_PATH) might fail after restore; memfd id=8'
------------------------ ERROR OVER ------------------------
Send the 15 signal to 242
Wait for zdtm/transition/unix_sock(242) to die for 0.100000
Removing dump/zdtm/transition/unix_sock/214
===================== Test zdtm/transition/unix_sock PASS ======================
################### 1 TEST(S) FAILED (TOTAL 458/SKIPPED 45) ####################
* zdtm/static/pidfd00(uns)
##################################### FAIL #####################################
+ cleanup_cgroup
+ ./test/zdtm_umount_cgroups 13545
make: *** [Makefile:2: local] Error 1
make: Leaving directory '/tmp/criu/scripts/ci'
Exit status: 2
Loading