Repository navigation
Closed
Labels
Description
In "Extended.[builds][pullsecret][Conformance] docker build using a pull secret Building from a template should create a docker build that pulls using a secret run it"
data/src/github.com/openshift/origin/test/extended/builds/docker_pullsecret.go:61
Apr 21 17:28:36.457: build failed: Command "build-logs" is deprecated, use "oc logs build/<build-name>" instead.
I0421 21:28:30.126818 1 builder.go:46] $BUILD env var is {"kind":"Build","apiVersion":"v1","metadata":{"name":"docker-build-pull-1","namespace":"extended-test-docker-build-pullsecret-8vffw-nczyd","selfLink":"/oapi/v1/namespaces/extended-test-docker-build-pullsecret-8vffw-nczyd/builds/docker-build-pull-1","uid":"fb23c7ab-0807-11e6-8f0c-0ec1c4277789","resourceVersion":"4199","creationTimestamp":"2016-04-21T21:28:25Z","labels":{"buildconfig":"docker-build-pull","name":"docker-build-pull","openshift.io/build-config.name":"docker-build-pull"},"annotations":{"openshift.io/build.number":"1"}},"spec":{"serviceAccount":"builder","source":{"type":"Dockerfile","dockerfile":"FROM centos:7","secrets":null},"strategy":{"type":"Docker","dockerStrategy":{"from":{"kind":"DockerImage","name":"172.30.14.166:5000/extended-test-docker-build-pullsecret-8vffw-nczyd/image1@sha256:478607969ab93bfa1f9a74e4e25579dda1cabe206ff6f5aa0da88a9b51b85d4a"},"pullSecret":{"name":"builder-dockercfg-i28qq"},"forcePull":true}},"output":{},"resources":{},"postCommit":{}},"status":{"phase":"New","config":{"kind":"BuildConfig","namespace":"extended-test-docker-build-pullsecret-8vffw-nczyd","name":"docker-build-pull"}}}
I0421 21:28:30.159724 1 builder.go:57] Master version "v1.1.6-171-g83248f3", Builder version "v1.1.6-171-g83248f3"
I0421 21:28:30.162948 1 builder.go:145] Running build with cgroup limits: api.CGroupLimits{MemoryLimitBytes:92233720368547, CPUShares:2, CPUPeriod:100000, CPUQuota:-1, MemorySwap:92233720368547}
I0421 21:28:30.174508 1 docker.go:78] Starting Docker build from build config docker-build-pull-1 ...
I0421 21:28:30.174550 1 docker.go:262] Checking for Docker config file for PULL_DOCKERCFG_PATH in path /var/run/secrets/openshift.io/pull
I0421 21:28:30.174583 1 docker.go:267] Using Docker config file /var/run/secrets/openshift.io/pull/.dockercfg
Step 1 : FROM 172.30.14.166:5000/extended-test-docker-build-pullsecret-8vffw-nczyd/image1@sha256:478607969ab93bfa1f9a74e4e25579dda1cabe206ff6f5aa0da88a9b51b85d4a
F0421 21:28:30.348218 1 builder.go:204] Error: build error: manifest unknown: manifest unknown
Trying to pull repository 172.30.14.166:5000/extended-test-docker-build-pullsecret-8vffw-nczyd/image1 ... failed
Activity
smarterclayton commentedon Apr 22, 2016
@mfojtik
mfojtik commentedon May 9, 2016
@smarterclayton i can't reproduce this locally and I haven't seen this flake for a while. My guess is that the first build failed or registry flaked.
smarterclayton commentedon Jun 8, 2016
Happening a lot more recently, bumping priority.
smarterclayton commentedon Jun 8, 2016
Seen in https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_integration/1652/
[-]Extended flake `Building from a template should create a docker build`[/-][+]Extended flake `manifest unknown` when trying to pull base image for build[/+]smarterclayton commentedon Jun 8, 2016
What's bizarre is that this is flaky, rather than predictable. The Docker daemon in the test suite should be 1.10, and the image should be pushed by 1.10 (or at least, consistent). Instead, it appears that it only sometimes fails.
smarterclayton commentedon Jun 8, 2016
We addressed the Docker 1.10 / 1.9 part of this, so this is back to being a regular flake.
mfojtik commentedon Jun 24, 2016
@smarterclayton I thought the manifest unknown is the issue with image pushed using 1.10. Is this fixed? Or still flaking regularly?
miminar commentedon Jun 24, 2016
@mfojtik I believe we can close this now since our images are build with docker 1.9 / or with 1.10 pushing just schema v1.
Build from wicksy/alpine built with docker 1.9 to work around openshi…