-
Notifications
You must be signed in to change notification settings - Fork 355
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
Requesting Temporary ignoring of default.go oci-runtime-validation test #721
Comments
@YJDoc2 |
Hey @utam0k Currently my suggested approach is this :
I'll update here once I have ran the runc check. @utam0k What do you think? |
Hmm I cloned and built runc from main branch, and it seems that it is passing the default.go tests, but failing the delete.go tests 🤔 🤔 🤔 If that is right, it would mean that is is some bug from our end, likely that we need to check the kernel version and enable the BPF and other features according to that.
Update : So I have run this several times, and with different combinations of options, and what I'm almost certain of is :
|
I think I figured out what is causing the issue, and I think solution is simple if I understand it correctly : That is why I think even though youki reports that they are supported, they are ignored above when setting capabilities, and thus the error occurs. I tried commenting that part, and unconditionally dropping the cap (the _ arm), and that seemed to pass the default and delete tests as well. @Furisto if possible can you confirm what I am thinking is correct or not? This seemed to slip by originally due to the CI cahcing I have mentioned. @utam0k What do you think? |
@YJDoc2 Makes sense to me. We should support these capabilities in Youki as well. |
@YJDoc2 Sounds good to me to support them. But If we will support these capabilities, we have to check the linux kernel version. That's the only thing I want to pay attention to. |
@YJDoc2 is there still pending action items for this issue? |
No I think everything mentioned here was covered in some or other PR/issue, so we can close this one out. Thanks for pinging! |
After two weeks of testing and a lot of digging of git commit history, I think I have finally found what has been causing CI failure for #694 's OCI validation test (there are some other failing tests, but this is not related to them).
The surprising reason behind that test failing is a knock-on effect of the way -
If you see in commet I have mentioned that the CI is faioing on youki for these three capabilities, although if you check the integration test CI of any other PR there is no issue. The reason behind this is :
It is too late here, so I'm not sure what approach might be best, my suggestion is to either comment the default.go test and open an issue if not yet opened on oci-runtime-tools
I do not have runc 1.1 yet, so cannot verify if the tests are also failing on it as well , but I would guess that it is so. I will try to get the 1.1 and check on it if I can.
@Furisto @utam0k Please take a look. Thank you.
The text was updated successfully, but these errors were encountered: