criu icon indicating copy to clipboard operation
criu copied to clipboard

socket-tcp-nfconntrack fails on Fedora 37

Open sankalp-12 opened this issue 2 years ago • 3 comments

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.

sankalp-12 avatar Mar 15 '23 20:03 sankalp-12

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

rst0git avatar Mar 21 '23 14:03 rst0git

A friendly reminder that this issue had no activity for 30 days.

github-actions[bot] avatar May 20 '23 00:05 github-actions[bot]

A friendly reminder that this issue had no activity for 30 days.

github-actions[bot] avatar Jun 20 '23 00:06 github-actions[bot]