Skip to content
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

base_ami failing due to oc ex dockerbuild image name regex failures #9269

Closed
danmcp opened this issue Jun 10, 2016 · 13 comments
Closed

base_ami failing due to oc ex dockerbuild image name regex failures #9269

danmcp opened this issue Jun 10, 2016 · 13 comments
Assignees
Labels
area/infrastructure kind/test-flake Categorizes issue or PR as related to test flakes. priority/P0

Comments

@danmcp
Copy link
Contributor

danmcp commented Jun 10, 2016

https://ci.openshift.redhat.com/jenkins/job/base_ami/1990/console

Stdout from the command:

Building base images...
/data/src/github.com/openshift/origin ~
++ Building go targets for linux/amd64: cmd/oc
++ Placing binaries
/data/src/github.com/openshift/origin/hack/build-go.sh took 124 seconds


Stderr from the command:

--> Image centos:centos7 was not found, pulling ...
error: API error (500): repository name component must match "[a-z0-9](?:-*[a-z0-9])*(?:[._][a-z0-9](?:-*[a-z0-9])*)*"
!!! Error in hack/build-base-images.sh:28
    '"${oc}" ex dockerbuild $2 $1' exited with status 1
Call stack:
    1: hack/build-base-images.sh:28 build(...)
    2: hack/build-base-images.sh:32 main(...)
Exiting with status 1
Build step 'Execute shell' marked build as failure
@smarterclayton
Copy link
Contributor

smarterclayton commented Jun 10, 2016 via email

@danmcp
Copy link
Contributor Author

danmcp commented Jun 21, 2016

@danmcp danmcp reopened this Jun 21, 2016
@danmcp
Copy link
Contributor Author

danmcp commented Jul 15, 2016

@danmcp
Copy link
Contributor Author

danmcp commented Jul 19, 2016

@jwforres @stevekuznetsov This appears to be totally blocking pushing images.

@stevekuznetsov
Copy link
Contributor

@smarterclayton do you have bandwidth to look at this today?

@stevekuznetsov stevekuznetsov changed the title base_ami failing base_ami failing due to oc ex dockerbuild image name regex failures Jul 19, 2016
@smarterclayton
Copy link
Contributor

Can you print out the arguments to oc ex dockerbuild and turn on loglevel=5?

@stevekuznetsov stevekuznetsov added the kind/test-flake Categorizes issue or PR as related to test flakes. label Jul 22, 2016
@danmcp danmcp reopened this Jul 25, 2016
@danmcp
Copy link
Contributor Author

danmcp commented Jul 25, 2016

Just got this one this morning: https://ci.openshift.redhat.com/jenkins/job/devenv_ami/4660/console

@smarterclayton
Copy link
Contributor

That's a different bug.

On Mon, Jul 25, 2016 at 10:23 AM, Dan McPherson notifications@github.com
wrote:

Just got this one this morning:
https://ci.openshift.redhat.com/jenkins/job/devenv_ami/4660/console


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#9269 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABG_pxUNxLAw6_EheeFF0t1HNQ_5ze3tks5qZMbQgaJpZM4Iy8q-
.

@danmcp
Copy link
Contributor Author

danmcp commented Jul 25, 2016

@smarterclayton I can open a new issue then. Who should be the owner?

@smarterclayton
Copy link
Contributor

Definitely not the scratch issue.

On Mon, Jul 25, 2016 at 10:36 AM, Clayton Coleman ccoleman@redhat.com
wrote:

That's a different bug.

On Mon, Jul 25, 2016 at 10:23 AM, Dan McPherson notifications@github.com
wrote:

Just got this one this morning:
https://ci.openshift.redhat.com/jenkins/job/devenv_ami/4660/console


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#9269 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABG_pxUNxLAw6_EheeFF0t1HNQ_5ze3tks5qZMbQgaJpZM4Iy8q-
.

@stevekuznetsov
Copy link
Contributor

@smarterclayton I'm seeing this in the log:

Building base images...
/data/src/github.com/openshift/origin ~
--> Image centos:centos7 was not found, pulling ...
error: API error (500): repository name component must match "[a-z0-9](?:-*[a-z0-9])*(?:[._][a-z0-9](?:-*[a-z0-9])*)*"
[ERROR] PID 2624: hack/build-base-images.sh:27: `'/data/src/github.com/openshift/origin/_output/local/bin/linux/amd64/oc' ex dockerbuild /data/src/github.com/openshift/origin/images/base openshift/origin-base` exited with status 1.
[INFO]      Stack Trace: 
[INFO]        1: hack/build-base-images.sh:27: `'/data/src/github.com/openshift/origin/_output/local/bin/linux/amd64/oc' ex dockerbuild /data/src/github.com/openshift/origin/images/base openshift/origin-base`
[INFO]        2: hack/build-base-images.sh:31: build
[INFO]   Exiting with code 1.

Why is that a different issue than this one? The failure cause for this one picks it up.

@smarterclayton
Copy link
Contributor

No it's fine - it's same symptom (so title is correct), just different
place it's failing

On Mon, Jul 25, 2016 at 10:42 AM, Dan McPherson notifications@github.com
wrote:

@smarterclayton https://github.com/smarterclayton I can open a new
issue then. Who should be the owner?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#9269 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABG_pyGXRiauywzdhT5yz2bWoiIPUY_gks5qZMtfgaJpZM4Iy8q-
.

@smarterclayton
Copy link
Contributor

Docker 1.9 has different PullImage semantics in the API - it looks like a
call that works in Docker 1.10 fails in 1.9 and vice versa. Good to know...

On Mon, Jul 25, 2016 at 10:51 AM, Clayton Coleman ccoleman@redhat.com
wrote:

No it's fine - it's same symptom (so title is correct), just different
place it's failing

On Mon, Jul 25, 2016 at 10:42 AM, Dan McPherson notifications@github.com
wrote:

@smarterclayton https://github.com/smarterclayton I can open a new
issue then. Who should be the owner?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#9269 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABG_pyGXRiauywzdhT5yz2bWoiIPUY_gks5qZMtfgaJpZM4Iy8q-
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/infrastructure kind/test-flake Categorizes issue or PR as related to test flakes. priority/P0
Projects
None yet
Development

No branches or pull requests

3 participants