-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Test] Post submit tests on MKP deployment fails #2950
Comments
QQ: did you try removing the sudo? I think docker runs as root user by default. Not very sure about this, if you haven't tried, then it may work |
Yes. First version is without sudo. And we found that docker requires sudo by default. To avoid running with sudo, we need set up docker post installation(https://docs.docker.com/install/linux/linux-postinstall/). |
SG |
It's docker insider docker case? We can
|
Besides mpdev, we also need docker build for deployer image(https://github.com/kubeflow/pipelines/blob/master/test/deploy-pipeline-mkp-cli.sh#L64). An alternative way to do this is to build the deployer image using Cloud Build. But in that case the behavior we are testing is not the same as our release process. Can we start with install sudo to see if it works or not? |
Mirror the offline discussion here: Another alternative is to maintain our own test image used in prow (other than kubekins-e2e image built by k8s). Note that this is the practice of other Kubeflow repo, which is currently using |
Post submit tests are fixed in this PR: #3193. |
Remove cached tools and unnecessary libraries from GitHub Action Runner node before setting up Minikube Resolves kubeflow#2950 --------- Signed-off-by: Christian Kadner <ckadner@us.ibm.com> Signed-off-by: Dan Sun <dsun20@bloomberg.net> Co-authored-by: Dan Sun <dsun20@bloomberg.net>
What happened:
Post submit tests on MKP deployment fails. Due to docker command can not get run.
https://prow.k8s.io/view/gcs/kubernetes-jenkins/logs/kubeflow-pipeline-postsubmit-mkp-component-test/1223274544043659266
What did you expect to happen:
Docker command cannot run on base image.
log:
sudo docker pull gcr.io/cloud-marketplace-tools/k8s/dev
903
/home/prow/go/src/github.com/kubeflow/pipelines/test/deploy-pipeline-mkp-cli.sh: line 45: sudo: command not found
Anything else you would like to add:
There is no sudo in the base image when installing docker:
https://github.com/kubernetes/test-infra/blob/master/images/bootstrap/Dockerfile#L94
One thing we could try is to add group(https://docs.docker.com/install/linux/linux-postinstall/) without sudo on the base image.
Or remove all the docker build and replace with cloud build.
The text was updated successfully, but these errors were encountered: