openshift / vagrant-openshift

Other
83 stars 117 forks source link

Update docker installation test to be less specific #538

Closed stevekuznetsov closed 7 years ago

stevekuznetsov commented 7 years ago

There is no contract that docker-1.12.2 will remain available in the given repository, so we should update the test to be less specific and point at a repository where we know docker will live.

Signed-off-by: Steve Kuznetsov skuznets@redhat.com

/cc @dobbymoodge [test]

stevekuznetsov commented 7 years ago
[INFO] Testing `vagrant install-docker --docker.version=1.12 --repourl=https://mirror.openshift.com/enterprise/rhel/dockertested/x86_64/os/ --repo=oso-rhui-rhel-server-releases --repo=oso-rhui-rhel-server-releases-optional`
Running ssh/sudo command 'mkdir -p /etc/yum.repos.d;
mv /tmp/file20170418-20868-1vf2dll /etc/yum.repos.d/httpsmirroropenshiftcomenterpriserheldockertestedx8664os.repo &&
chown root /etc/yum.repos.d/httpsmirroropenshiftcomenterpriserheldockertestedx8664os.repo &&
chmod 0644 /etc/yum.repos.d/httpsmirroropenshiftcomenterpriserheldockertestedx8664os.repo' with timeout 14400. Attempt #0
Running ssh/sudo command 'yum install -y --disablerepo="*" --enablerepo=httpsmirroropenshiftcomenterpriserheldockertestedx8664os --enablerepo=oso-rhui-rhel-server-releases --enablerepo=oso-rhui-rhel-server-releases-optional docker-1.12' with timeout 1800. Attempt #0
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
No package docker-1.12 available.
Error: Nothing to do
Error while running ssh/sudo command: yum install -y --disablerepo="*" --enablerepo=httpsmirroropenshiftcomenterpriserheldockertestedx8664os --enablerepo=oso-rhui-rhel-server-releases --enablerepo=oso-rhui-rhel-server-releases-optional docker-1.12
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

yum install -y --disablerepo="*" --enablerepo=httpsmirroropenshiftcomenterpriserheldockertestedx8664os --enablerepo=oso-rhui-rhel-server-releases --enablerepo=oso-rhui-rhel-server-releases-optional docker-1.12

Stdout from the command:

Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
No package docker-1.12 available.

Stderr from the command:

Error: Nothing to do
[FAILURE] The command `vagrant install-docker --docker.version=1.12 --repourl=https://mirror.openshift.com/enterprise/rhel/dockertested/x86_64/os/ --repo=oso-rhui-rhel-server-releases --repo=oso-rhui-rhel-server-releases-optional` failed!

A quick visual inspection of the repo clearly shows the "missing" package ...

openshift-bot commented 7 years ago

Evaluated for vagrant openshift test up to a472c0cedd349941b92010a294341e94f9fa8258

openshift-bot commented 7 years ago

Vagrant OpenShift Test Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_vagrant_openshift/103/) (Base Commit: b909c261b62ae4c5542fca56982ee3100d880d0e)