-
Notifications
You must be signed in to change notification settings - Fork 334
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
tests: fix some failures reported by oci-runtime-validation #16
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
it seems oci-runtime-validation is creating config files where rootfs is set to '.'. Signed-off-by: Giuseppe Scrivano <[email protected]>
Signed-off-by: Giuseppe Scrivano <[email protected]>
Signed-off-by: Giuseppe Scrivano <[email protected]>
Signed-off-by: Giuseppe Scrivano <[email protected]>
the OCI specifications say that "bind" or "rbind" are specified in the options. Signed-off-by: Giuseppe Scrivano <[email protected]>
24989bf
to
cc263e1
Compare
Signed-off-by: Giuseppe Scrivano <[email protected]>
Signed-off-by: Giuseppe Scrivano <[email protected]>
Signed-off-by: Giuseppe Scrivano <[email protected]>
Signed-off-by: Giuseppe Scrivano <[email protected]>
cc263e1
to
0df41fc
Compare
@giuseppe I haven't tried oci-runtime-validation against runc recently, but last time I tried, there was still some tests that don't pass. /cc @dongsupark |
@alban @giuseppe Exactly. |
on what system are you running the tests? I've tried several times both on Ubuntu and Fedora and I never manage to get less than 20 failures with runc |
This is a quite weird requirement in the OCI specs, but let's make sure we honor it. Signed-off-by: Giuseppe Scrivano <[email protected]>
Fedora 29. |
Signed-off-by: Giuseppe Scrivano <[email protected]>
Signed-off-by: Giuseppe Scrivano <[email protected]>
Signed-off-by: Giuseppe Scrivano <[email protected]>
Signed-off-by: Giuseppe Scrivano <[email protected]>
Signed-off-by: Giuseppe Scrivano <[email protected]>
this is a weird requirement from the OCI specs, but it makes the oci-runtime-tools tests pass. Signed-off-by: Giuseppe Scrivano <[email protected]>
16a0592
to
fbefa09
Compare
I've done some more changes and now crun gets to 0 failures 😃 🎉 🎉 🎉 I needed to fix some tests in Some of the issues I was seeing were on my end. I've had to change the CPU type for the VM I was using so that 1gb hugetlb can be used and I've needed to add a IDE disk so the major:minor 8:0 is a valid device. The PR for runtime-tools doesn't affect which is still at 11 failures. |
/cc @vbatts |
Oh nice |
2b49e20
to
d9e3a43
Compare
4421727
to
268b435
Compare
Signed-off-by: Giuseppe Scrivano <[email protected]>
268b435
to
30def0a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
yey tests are happy! Now I've enabled the oci-validation as part of the PR merge tests. Except some tests that fail or are flaky on Travis (but I promise they work on a F29 VM!) |
No description provided.