Test TestOpenshift.test_oc_s2i_template failed in CI
Closed this issue · 3 comments
TomasTomecek commented
https://ci.centos.org/job/user-cont-conu-pr/1314/console
19:09:13 logger.warning("Timeout: Request to service unsuccessful.")
19:09:13 > raise ConuException("Timeout: Request to service unsuccessful.")
19:09:13 E ConuException: Timeout: Request to service unsuccessful.
rpitonak commented
I went through logs and the problem is here:
11:04:19 --> Creating resources ...
11:04:19 secret "django-psql-example" created
11:04:19 service "django-psql-example" created
11:04:19 service "postgresql" created
11:04:19 error: no matches for kind "Route" in version "v1"
11:04:19 error: no matches for kind "ImageStream" in version "v1"
11:04:19 error: no matches for kind "BuildConfig" in version "v1"
11:04:19 error: no matches for kind "DeploymentConfig" in version "v1"
11:04:19 error: no matches for kind "DeploymentConfig" in version "v1"
11:04:19 --> Failed
Seems like there is an incompatible version of origin-clients in the test container. I tried it locally and it worked with:
oc v3.9.0+191fece
kubernetes v1.9.1+a0ce1bc657
In the container there is :
oc v3.11.0+8de5c34
kubernetes v1.10.0+d4cacc0
TomasTomecek commented
that sounds like a problem if our software doesn't work with the latest versions of oc and kube
I thought we were using the openshift python client: if not, the error makes perfect sense: k8s doesn't know what route/iss/dc are.
TomasTomecek commented
Looking at the test-req.sh script, we should also fetch oc 3.11
, instead of 3.9
.