criu
criu copied to clipboard
socket-tcp-nfconntrack fails on Fedora 37
Encountered this problem on one of my own PRs: https://github.com/checkpoint-restore/criu/pull/2125/checks?check_run_id=12029551674.
Start test
Test is SUID
./socket-tcp-nfconntrack --pidfile=socket-tcp-nfconntrack.pid --outfile=socket-tcp-nfconntrack.out
Run criu dump
Run criu restore
=[log]=> dump/zdtm/static/socket-tcp-nfconntrack/59/1/restore.log
------------------------ grep Error ------------------------
b'(00.012179) 59: \tRunning ip rule delete table local'
b'(00.013981) 59: \tRunning ip rule restore'
b'(00.020002) 59: \tRunning iptables-restore -w for iptables-restore -w'
b'(00.024142) 59: \tRunning ip6tables-restore -w for ip6tables-restore -w'
b'(00.028625) 59: Error (criu/libnetlink.c:54): -16 reported by netlink: Device or resource busy'
b"(00.028669) 59: Error (criu/util.c:1413): Can't wait or bad status: errno=0, status=65280"
b'(00.028688) Error (criu/cr-restore.c:2543): Restoring FAILED.'
------------------------ ERROR OVER ------------------------
######### Test zdtm/static/socket-tcp-nfconntrack FAIL at CRIU restore #########
Additional Information: The test seems to fail on each PR.
I was able to replicate this error on Fedora 37 with ./zdtm.py run -t zdtm/static/socket-tcp-nfconntrack.
It looks like CRIU fails when restore_nf_ct(nsid, CR_FD_NETNF_CT) →nlmsg_receive(...) is called.
(00.028451) 59: Error (criu/libnetlink.c:54): -16 reported by netlink: Device or resource busy
(00.028606) 59: Error (criu/util.c:1413): Can't wait or bad status: errno=0, status=65280
A link to the full log: restore.log
A friendly reminder that this issue had no activity for 30 days.
A friendly reminder that this issue had no activity for 30 days.