-
Notifications
You must be signed in to change notification settings - Fork 244
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
Enable docker devfile push test in OpenShift CI #2921
Enable docker devfile push test in OpenShift CI #2921
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
7e4d39d
to
51c02dd
Compare
@amitkrout: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
@amitkrout there is a legitimate failures on openshift CI. can you please debug this? |
The tests are failing because there isn't a Docker socket available on the OpenShift CI:
In order to run the Docker tests there, we'd need to find a way to set up a remote docker daemon (maybe running in another container?) and get odo/docker to talk to it instead of But I'm wondering, do we need the Docker tests to run on the OpenShift CI? Since they won't be interacting with a Kube environment, we shouldn't need coverage on different OCPs. The Travis CI should be sufficient for test coverage for odo with Docker. |
Can we actually do this? Test on Prow run inside Pod, I'm not sure if you will be able to access docker daemon inside container on OpenShift |
+1 |
@johnmcollier @kadel I just opend the pr just to have more discussoin on it
@johnmcollier The error is coming because of docker is not started in the test container. Here is the log details - https://storage.googleapis.com/origin-ci-test/pr-logs/pull/openshift_odo/2921/pull-ci-openshift-odo-master-v4.2-integration-e2e-benchmark/2026/artifacts/build-logs/root.log. Ideally the docker demon should start as per the change i made https://github.com/openshift/odo/pull/2921/files#diff-01f4ec918b634e024905add2f91a58abR5-R6.
I miss interpret the whole test scenario, actually the line https://github.com/openshift/odo/blob/master/.travis.yml#L150 force me to test it against 4.* too. Now understood that for docker push target, no OpenShift cluster is needed. Thanks @johnmcollier. So instead of oc version i think we should add coverage for docker version. I am creating a separate issue #2995 for the same.
@kadel I think there should not be any issues as we are triggering the test inside a container. We just need to setup a docker environment inside that container. Anyway it will add no sense as per @johnmcollier statement. |
What type of PR is this?
/kind feature
What does does this PR do / why we need it:
Enable docker devfile push test in OpenShift CI
Which issue(s) this PR fixes:
Fixes NA
How to test changes / Special notes to the reviewer:
docker devfile push test should pass in OpenShift CI