-
Notifications
You must be signed in to change notification settings - Fork 772
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
Build errors with current OpenShift cluster tests #752
Comments
@cdrage , |
Hey @surajnarwade and @ashetty1 Pulled 3/4 layers, 85% complete
Pulled 4/4 layers, 100% complete
Extracting
Image pull complete
OpenShift server started.
The server is accessible via web console at:
https://127.0.0.1:8443
You are logged in as:
User: developer
Password: <any value>
To login as administrator:
Testing buildconfig dockerfile construct in kompose
�(BRunning kompose up ...
�(B
INFO Buildconfig using [email protected]:kubernetes/kompose.git::master as source.
INFO We are going to create OpenShift DeploymentConfigs, Services for your Dockerized application.
If you need different kind of resources, use the 'kompose convert' and 'oc create -f' commands instead.
INFO Deploying application in "myproject" namespace
INFO Successfully created DeploymentConfig: foo
INFO Successfully created ImageStream: foo
INFO Successfully created BuildConfig: foo
Your application has been deployed to OpenShift. You can run 'oc get dc,svc,is' for details.
INFO Successfully created Service: foo
�(B
Waiting for the pods to come up ...
oc login -u system:admin
FAIL: kompose up has failed to bring the pods up
�(BNAME READY STATUS RESTARTS AGE
foo-1-build 0/1 Error 0 4m
Testing buildconfig on kompose
�(BRunning kompose up ...
�(B
INFO Buildconfig using [email protected]:kubernetes/kompose.git::master as source.
INFO We are going to create OpenShift DeploymentConfigs, Services for your Dockerized application.
If you need different kind of resources, use the 'kompose convert' and 'oc create -f' commands instead.
INFO Successfully created DeploymentConfig: foo INFO Deploying application in "myproject" namespace
INFO Successfully created Service: foo
INFO Successfully created ImageStream: foo
INFO Successfully created BuildConfig: foo
Your application has been deployed to OpenShift. You can run 'oc get dc,svc,is' for details.
Waiting for the pods to come up ...
�(B
FAIL: kompose up has failed to bring the pods up
�(BNAME READY STATUS RESTARTS AGE
foo-1-build 0/1 Error 0 4m
Running tests with entrypoint/command option
�(BRunning kompose up ...
�(B
INFO We are going to create OpenShift DeploymentConfigs, Services for your Dockerized application.
If you need different kind of resources, use the 'kompose convert' and 'oc create -f' commands instead.
INFO Deploying application in "myproject" namespace
INFO Successfully created Service: base1
INFO Successfully created Service: base2
INFO Successfully created DeploymentConfig: base1
INFO Successfully created ImageStream: base1
INFO Successfully created DeploymentConfig: base2
INFO Successfully created ImageStream: base2
Your application has been deployed to OpenShift. You can run 'oc get dc,svc,is' for details.
No resources found.
Waiting for the pods to come up ...
�(B
No resources found.
NAME READY STATUS RESTARTS AGE
base1-1-2dsxl 1/1 Running 0 8s
base2-1-r6094 1/1 Running 0 8s
�(B
PASS: All pods are Running now. kompose up is successful.
Running kompose down ...
�(B
INFO Deleting application in "myproject" namespace
INFO Successfully deleted Service: base1
INFO Successfully deleted Service: base2
INFO Successfully deleted DeploymentConfig: base1
INFO Successfully deleted ImageStream: base1
INFO Successfully deleted DeploymentConfig: base2
INFO Successfully deleted ImageStream: base2
�(B
Waiting for the pods to go down ...
PASS: All pods are down now. kompose down successful.
�(BNAME READY STATUS RESTARTS AGE
base1-1-2dsxl 1/1 Terminating 0 13s
base2-1-r6094 1/1 Terminating 0 13s
Testing kompose up/down with etherpad docker-compose file
�(B
Running kompose up ...
�(B
WARN Unsupported depends_on key - ignoring
INFO We are going to create OpenShift DeploymentConfigs, Services for your Dockerized application.
If you need different kind of resources, use the 'kompose convert' and 'oc create -f' commands instead.
INFO Deploying application in "myproject" namespace
INFO Successfully created Service: etherpad
INFO Successfully created Service: mariadb
INFO Successfully created DeploymentConfig: etherpad
INFO Successfully created ImageStream: etherpad
INFO Successfully created DeploymentConfig: mariadb
Waiting for the pods to come up ...
INFO Successfully created ImageStream: mariadb
Your application has been deployed to OpenShift. You can run 'oc get dc,svc,is' for details.
No resources found.
�(B
FAIL: kompose up has failed to bring the pods up
�(BNAME READY STATUS RESTARTS AGE
etherpad-1-djzv7 0/1 CrashLoopBackOff 4 5m
mariadb-1-deploy 1/1 Running 0 5m
mariadb-1-rbq4f 0/1 5m
CrashLoopBackOff 5
Running tests for replica option
�(B
INFO We are going to create OpenShift DeploymentConfigs, Services for your Dockerized application.
If you need different kind of resources, use the 'kompose convert' and 'oc create -f' commands instead.
INFO Deploying application in "myproject" namespace
INFO Successfully created Service: redis
INFO Successfully created Service: web
INFO Successfully created DeploymentConfig: redis
INFO Successfully created ImageStream: redis
INFO Successfully created DeploymentConfig: web
INFO Successfully created ImageStream: web
Your application has been deployed to OpenShift. You can run 'oc get dc,svc,is' for details.
No resources found.
Waiting for the pods to come up ...
�(BAGE
redis-1-2bb9s 1/1 Running 0 28s
redis-1-lrcfq 1/1 Running
NAME READY STATUS RESTARTS 0 28s
web-1-th78nweb-1-f517v 1/1 Running0 28s
PASS: All pods are Running now. kompose up is successful.
�(B
1/1 Running 0 28s
Running kompose down ...
�(B
INFO Deleting application in "myproject" namespace
INFO Successfully deleted Service: redis
INFO Successfully deleted Service: web
INFO Successfully deleted DeploymentConfig: redis
INFO Successfully deleted ImageStream: redis
INFO Successfully deleted DeploymentConfig: web
INFO Successfully deleted ImageStream: web
Waiting for the pods to go down ...
�(B
PASS: All pods are down now. kompose down successful.
�(BNAME READY STATUS
redis-1-2bb9s RESTARTS AGE 1/1 Terminating 0 redis-1-lrcfq 33s
33s0 1/1 Terminating 0 33s
web-1-f517v 1/1 Terminating 0 33s
web-1-th78n 1/1 Terminating
Testing restart: 'always'
�(BRunning kompose up ...
�(B
INFO We are going to create OpenShift DeploymentConfigs, Services for your Dockerized application.
If you need different kind of resources, use the 'kompose convert' and 'oc create -f' commands instead.
INFO Deploying application in "myproject" namespace
INFO Successfully created Service: pival
INFO Successfully created DeploymentConfig: pival
INFO Successfully created ImageStream: pival
Your application has been deployed to OpenShift. You can run 'oc get dc,svc,is' for details.
PASS: restart option set to 'always' is working as expected
AGE
pival-1-hbq20 1/1 Running 1 37s
�(BNAME READY STATUS RESTARTS Running kompose down ...
�(B
INFO Deleting application in "myproject" namespace
INFO Successfully deleted Service: pival
INFO Successfully deleted DeploymentConfig: pival
INFO Successfully deleted ImageStream: pival
Waiting for the pods to go down ...
�(B
PASS: All pods are down now. kompose down successful.
�(BNo resources found.
Running kompose up ...
�(BTesting kompose-specific label:kompose.service.expose=hostname
�(B
INFO We are going to create OpenShift DeploymentConfigs, Services for your Dockerized application.
If you need different kind of resources, use the 'kompose convert' and 'oc create -f' commands instead.
INFO Deploying application in "myproject" namespace
INFO Successfully created Service: redis
INFO Successfully created Service: web
INFO Successfully created DeploymentConfig: redis
INFO Successfully created ImageStream: redis
INFO Successfully created DeploymentConfig: web
INFO Successfully created ImageStream: web
�(B
INFO Successfully created Route: web
Your application has been deployed to OpenShift. You can run 'oc get dc,svc,is' for details.
No resources found.
Waiting for the pods to come up ...
No resources found.
0 5s
web-1-25c4w 1/1 Running 0 5s
NAME READY STATUS RESTARTS AGE
redis-1-d98xh 1/1 Running PASS: All pods are Running now. kompose up is successful.
�(B
�(BPASS: Route *.batman.example.com has been exposed
NAME HOST/PORT PATH SERVICES PORT TERMINATION web
Running kompose down ...
�(B
WILDCARD
web INFO Deleting application in "myproject" namespace
INFO Successfully deleted Service: redis
batman.example.com 5000 None
INFO Successfully deleted Service: web
INFO Successfully deleted DeploymentConfig: redis
INFO Successfully deleted ImageStream: redis
INFO Successfully deleted DeploymentConfig: web
INFO Successfully deleted ImageStream: web
INFO Successfully deleted Route: web
Waiting for the pods to go down ...
�(B
PASS: All pods are down now. kompose down successful.
�(BNAME READY STATUS RESTARTS AGE
redis-1-d98xh 1/1 Terminating 0 11s
web-1-25c4w 1/1 Terminating 0 11s
Running tests for kompose-specific labels: 'kompose.service.expose:True'
�(B
Running kompose up ...
�(B
INFO We are going to create OpenShift DeploymentConfigs, Services for your Dockerized application.
If you need different kind of resources, use the 'kompose convert' and 'oc create -f' commands instead.
INFO Deploying application in "myproject" namespace
INFO Successfully created Service: redis
INFO Successfully created Service: web
INFO Successfully created DeploymentConfig: redis
INFO Successfully created ImageStream: redis
INFO Successfully created DeploymentConfig: web
INFO Successfully created ImageStream: web
INFO Successfully created Route: web
Your application has been deployed to OpenShift. You can run 'oc get dc,svc,is' for details.
No resources found.
Waiting for the pods to come up ...
�(B
NAME READY STATUS RESTARTS AGE
redis-1-d98xh 1/1 Terminating 0 18s
redis-1-mqtl7 1/1 Running 0 5s
web-1-25c4w 1/1 Terminating 0 18s
web-1-3w7zr 1/1 Running 0PASS: All pods are Running now. kompose up is successful.
5s
�(BPASS: Route *.nip.io has been exposed
�(B
NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD
web web-myproject.127.0.0.1.nip.io web 5000 None
Running kompose down ...
�(B
INFO Deleting application in "myproject" namespace
INFO Successfully deleted Service: redis
INFO Successfully deleted Service: web
INFO Successfully deleted DeploymentConfig: redis
INFO Successfully deleted ImageStream: redis
INFO Successfully deleted DeploymentConfig: web
INFO Successfully deleted ImageStream: web
INFO Successfully deleted Route: web
�(B
Waiting for the pods to go down ...
PASS: All pods are down now. kompose down successful.
�(B0 NAME READY STATUS RESTARTS AGE
redis-1-mqtl7 0/1 Terminating 0 38s
web-1-3w7zr 0/1 Terminating 38s
make: *** [test-openshift] Error 1 That's after your PR has been merged.. |
For the first one, here are the logs:
|
@cdrage this looks like an git authentication error because the repo is a ssh-git clone. I tried with an https clone, and it works:
|
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
I believe this has been fixed. Please re-open if not! I don't encounter these issues anymore. |
See: https://semaphoreci.com/cdrage/kompose-2/branches/master/builds/25
Seems that adding the
xip.io
change caused an issue.The text was updated successfully, but these errors were encountered: