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
Distinguish criu dump fail from criu dump crash in zdtm #350
Comments
A friendly reminder that this issue had no activity for 30 days. |
A friendly reminder that this issue had no activity for 30 days. |
I would like to take up this issue. Is the fix just adding a 'crfail' flag to every ZDTM ,desc file? |
nope. It's about distinguishing two cases when |
In the
Should this work? |
you can easily test it by adding bug in CRIU code and run some AFAIU you need to pay attention to this piece of code:
hint: https://docs.python.org/3/library/subprocess.html#subprocess.Popen.returncode |
Is this issue still up for grabs? I would like to take it up. |
Adds a exit_signal static method to criu_cli, criu_config and criu_rpc used to detect a crash. Fixes: checkpoint-restore#350 Signed-off-by: Bhavik Sachdev <b.sachdev1904@gmail.com>
Adds a exit_signal static method to criu_cli, criu_config and criu_rpc used to detect a crash. Fixes: checkpoint-restore#350 Signed-off-by: Bhavik Sachdev <b.sachdev1904@gmail.com>
Adds a exit_signal static method to criu_cli, criu_config and criu_rpc used to detect a crash. Fixes: checkpoint-restore#350 Signed-off-by: Bhavik Sachdev <b.sachdev1904@gmail.com>
In zdtm .desc files there can be a flag called "crfail". It means, that the dump of this test should fail, we know it and are willing to fix. Unfortunately, the zdtm.py script doesn't tell criu dump command failure from crash (for sigsegv, for example). While the former result is what's expected, the latter one should be reported as test failure.
The text was updated successfully, but these errors were encountered: