Skip to content

Instantly share code, notes, and snippets.

@boucher
Created January 25, 2017 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boucher/220a9e955422d0b35f9cfe1abffbec14 to your computer and use it in GitHub Desktop.
Save boucher/220a9e955422d0b35f9cfe1abffbec14 to your computer and use it in GitHub Desktop.
docker run --rm -it --privileged criu-alpine ./test/zdtm.py run -t zdtm/static/env00
cc -D_GNU_SOURCE umount2.c -o umount2
cc -D_GNU_SOURCE zdtm_ct.c -o zdtm_ct
=== Run 1/1 ================ zdtm/static/env00
========================== Run zdtm/static/env00 in h ==========================
Start test
./env00 --pidfile=env00.pid --outfile=env00.out --envname=ENV_00_TEST
Run criu dump
=[log]=> dump/zdtm/static/env00/32/1/dump.log
------------------------ grep Error ------------------------
(00.018481) Error (criu/util.c:670): exited, status=3
------------------------ ERROR OVER ------------------------
Run criu restore
=[log]=> dump/zdtm/static/env00/32/1/restore.log
------------------------ grep Error ------------------------
(00.019880) Error (criu/util.c:670): exited, status=3
------------------------ ERROR OVER ------------------------
Send the 15 signal to 32
Wait for zdtm/static/env00(32) to die for 0.100000
Removing dump/zdtm/static/env00/32
========================= Test zdtm/static/env00 PASS ==========================
========================= Run zdtm/static/env00 in ns ==========================
Construct root for zdtm/static/env00
Skipping /dev/rtc at root
Start test
./env00 --pidfile=env00.pid --outfile=env00.out --envname=ENV_00_TEST
Run criu dump
=[log]=> dump/zdtm/static/env00/63/1/dump.log
------------------------ grep Error ------------------------
(00.016578) Error (criu/util.c:670): exited, status=3
Error occurred at line: 1
(00.059646) Error (criu/util.c:670): exited, status=2
Error occurred at line: 1
(00.075054) Error (criu/util.c:670): exited, status=2
(00.075113) Error (criu/cr-dump.c:1673): Dumping FAILED.
------------------------ ERROR OVER ------------------------
################### Test zdtm/static/env00 FAIL at CRIU dump ###################
Send the 9 signal to 63
Wait for zdtm/static/env00(63) to die for 0.100000
##################################### FAIL #####################################
Makefile:10: recipe for target 'alpine' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment