-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make test not working #33
Comments
checkpoint/restore of $ sudo make test
mkdir -p image
test/piggie
Child forked, pid 325139
test/test dump `pidof piggie` image
CRIU version 31500
Dumping
TEST PRE DUMP
Success
test/test restore image
CRIU version 31500
Restoring
Success
pkill -9 piggie || : |
This was caused by not running tests as root, as well as lack of checking in piggie and Makefile. All this is addressed now:
|
now fixed: [kir@kir-rhat go-criu]$ make test
mkdir -p image
PID=$(test/piggie/piggie) && { \
test/test dump $PID image && \
test/test restore image; \
pkill -9 piggie; \
}
clone() failed: Operation not permitted
make: *** [Makefile:23: test] Error 1 (it' is more clear now that EPERM is the cause of the failure, and where it comes from) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to run
make test
for this repo and it's not workingOne thing I can see is
test/piggie
is run w/o arguments, while it requires a log file as an argument. The other (secondary) issue is lack of error checking.I have a feeling I am missing something very obvious here; please help.
The text was updated successfully, but these errors were encountered: