-
Notifications
You must be signed in to change notification settings - Fork 461
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-images multiarch #287
Comments
@nitkon Can we do something like this? https://github.com/kubernetes/kubernetes/blob/master/test/utils/image/manifest.go#L103 |
@Random-Liu : The following changes would make the test images used in "make test-cri" run on x86 as well as ppc64le arch.
|
@feiskyer @Random-Liu : I think my analysis for test-image-* mentioned in point 3 above is incorrect as the touch binary depends on the Baseimage. We need to make all these test-image-* multi-arch else they are bound to fail on all non-x86 arch. Let me know how we would like to proceed further? These images are currently not multiarch.
|
Point 2 mentioned above is tracked here as well. Issue |
@Random-Liu Could you help to push the multi-arch images for both pause and busybox? |
@feiskyer : The pause image that is pushed is now multi-arch. See Issue. Also the busybox image now used in the test-cases is multi-arch. See PR. We need to build the image-test-* images on x86(already done) and ppc64le(I can do it) and any other arch if needed and push these images into gcr.io/cri-tools and then use manifest-tool to create a fat-manifest. |
@feiskyer: Yes I will. However, I have noticed that cross built images fail to unpack when pulled. Hence it will still fail on ppc64le arch. Here is the reference Issue Solution: |
@nitkon Seems it is a containerd issue? |
@feiskyer @Random-Liu : When are we planning to push all these images? |
I have no access to the gcr registry. @Random-Liu Could you help to push those images? |
@feiskyer: I realize that you do not have the access to the gcr repo. How do we get this done then before any other changes break my PRs? @Random-Liu could you help? |
The "make test-cri" command fails on non-x86 architecture because of the images created from image-test and image-user directory are not multi-arch. If these images are made multi-arch when built and pushed, then it would be easy to test on other non-x86 architectures as well
The text was updated successfully, but these errors were encountered: