-
Notifications
You must be signed in to change notification settings - Fork 362
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
[e2e] Keep ubuntu:20.04 image #4493
Conversation
Fix issue caused by antrea-io#4459 Some images rely on ubuntu:20.04, keep the manual pulling step in e2e. Signed-off-by: gran <gran@vmware.com>
Codecov Report
@@ Coverage Diff @@
## main #4493 +/- ##
==========================================
+ Coverage 67.87% 68.01% +0.14%
==========================================
Files 402 402
Lines 57284 57284
==========================================
+ Hits 38879 38960 +81
+ Misses 15707 15632 -75
+ Partials 2698 2692 -6
*This pull request uses carry forward flags. Click here to find out more.
|
/test-ipv6-e2e |
/test-ipv6-e2e |
@@ -114,9 +114,12 @@ echo "BUILD_TAG: $BUILD_TAG" | |||
# new base images in the build chain. | |||
if $PULL; then | |||
if [[ ${DOCKER_REGISTRY} == "" ]]; then | |||
docker pull $PLATFORM_ARG ubuntu:20.04 |
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.
I don't find any the following steps in the script needing ubuntu:20.04. I guess this patch fixes the test because this script runs first and caches the image on the Node, which resolves the problem but is not good for long term maintenance.
Could you point out where ubuntu:20.04 is needed? Perhaps there is a better place to pull the images.
cc @antoninbas
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.
this script is just to build Antrea and there is no longer a dependencies on ubuntu 20.04 for building Antrea itself.
If some tests require ubuntu 20.04 to be pulled, then the test scripts should take care of pulling the image. As Quan pointed out, this doesn't seem like the right place to do it.
Note that I am planning to upgrade the base image to ubuntu 22.04 for the rest of the container images today (Flow Aggregator, ...).
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.
Yes, currently flexible-ipam-e2e will fail when building Flow Aggregator image, since it will pull ubuntu:20.04 from dockerhub and will get rate limit error. If we'll update other images to ubuntu:22.04, we can retry after that PR merged.
Closing because #4499 has been merged |
Fix issue caused by #4459
Some images rely on ubuntu:20.04, keep the manual pulling step in e2e.
Signed-off-by: gran gran@vmware.com