Skip to content

docker build using a pull secret Building from a template should create a docker build that pulls using a secret run it #12007

Closed

Description

@stevekuznetsov

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

Seen here in this job

/data/src/github.com/openshift/origin/test/extended/builds/docker_pullsecret.go:48
Expected
    <bool>: false
to be true
/data/src/github.com/openshift/origin/test/extended/builds/docker_pullsecret.go:41

Activity

  1. added
    kind/test-flake
    on Nov 23, 2016
  2. bparees commented on Nov 23, 2016

    @bparees
    Contributor

    looks like a registry issue:

    2016-11-22T22:59:12.736978000Z Successfully built 84ff1257879c
    2016-11-22T22:59:12.760573000Z Pushing image 172.30.153.38:5000/extended-test-docker-build-pullsecret-jt7vn-saoxh/image1:latest ...
    2016-11-22T22:59:17.392481000Z Registry server Address: 
    2016-11-22T22:59:17.392786000Z Registry server User Name: serviceaccount
    2016-11-22T22:59:17.393058000Z Registry server Email: [email protected]
    2016-11-22T22:59:17.393318000Z Registry server Password: <<non-empty>>
    2016-11-22T22:59:17.393586000Z error: build error: Failed to push image: Error: Status 404 trying to push repository extended-test-docker-build-pullsecret-jt7vn-saoxh/image1: "404 page not found\n"
    

    note that we dump some registry pod info here and the filesystem looks pretty full, but i don't see that causing a 404:

    Nov 22 17:59:24.393: INFO: Running 'oc exec --config=/tmp/extended-test-docker-build-pullsecret-jt7vn-saoxh-user.kubeconfig --namespace=extended-test-docker-build-pullsecret-jt7vn-saoxh -n default docker-registry-1-z017o df --config /tmp/openshift/test-extended/core/openshift.local.config/master/admin.kubeconfig'
    
    
     df from registry pod: 
    Filesystem                                                                                         1K-blocks     Used Available Use% Mounted on
    /dev/mapper/docker-202:2-33888628-33b56421827c5be7467b9b65760e25093e3533d79cf8230ab8d0242a5ecd7803  10474496   411548  10062948   4% /
    tmpfs                                                                                                8002656        0   8002656   0% /dev
    tmpfs                                                                                                8002656        0   8002656   0% /sys/fs/cgroup
    /dev/mapper/docker--vg-openshift--xfs--vol--dir                                                      5212160    33076   5179084   1% /registry
    /dev/xvda2                                                                                          26202092 16463532   9738560  63% /run/secrets
    shm                                                                                                    65536        0     65536   0% /dev/shm
    tmpfs                                                                                                8002656       16   8002640   1% /run/secrets/kubernetes.io/serviceaccount
    
  3. assigned and unassigned on Nov 23, 2016
  4. assigned and unassigned on Nov 25, 2016
  5. miminar commented on Nov 25, 2016

    @miminar

    Running the extended test alone in a loop, I cannot reproduce it locally. Trying whole conformance suite now.

  6. miminar commented on Nov 25, 2016

    @miminar

    The conformance suite takes like forever on my end. I didn't manage to reproduce in a first run taking 1 and half hour. The second is running twice that time without hitting the test in question.

    I'll rather focus on collecting more info in jenkins.

  7. miminar commented on Nov 28, 2016

    @miminar

    Since I failed to reproduce locally, I fixed an extended cleanup to let us collect openshift and registry log in the jenkins. Please review #12037

    The referenced job terminated with:

    [INFO] Stacked plot for log subset "memory" written to /tmp/openshift/test-extended/core/logs/memory.pdf
    /data/src/github.com/openshift/origin/test/extended/setup.sh: line 45: cleanup_openshift: command not found
    
  8. miminar commented on Nov 28, 2016

    @miminar

    Is this really a P1? So far no luck hitting this in my previous 2 attempts in jenkins.

  9. stevekuznetsov commented on Nov 28, 2016

    @stevekuznetsov
    ContributorAuthor

    @bparees @danmcp do we have some tangible guidelines for prioritizing this?

  10. 1 remaining item

  11. miminar commented on Dec 6, 2016

    @miminar

    I failed to reproduce in jenkins in 10 out of 10 runs. I'm postponing investigation until someone hits this.

  12. eparis commented on Mar 15, 2017

    @eparis
    Member
  13. miminar commented on Mar 27, 2017

    @miminar

    I wish there were registry logs available for gce runs.

  14. smarterclayton commented on Mar 27, 2017

    @smarterclayton
    Contributor

    Pull requests welcome! :)

  15. miminar commented on Mar 28, 2017

    @miminar

    Here you go: #13557 merged. Next time somebody hits this, we'll have more information.

  16. bparees commented on Oct 25, 2017

    @bparees
    Contributor

    most recent flake didn't include the logs, so i can't determine if it was really a recurrence of this issue or not. Otherwise i've not seen/heard evidence that this is still an issue. Closing and someone can open a new flake w/ logs if it's still happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

component/buildcomponent/imageregistrykind/test-flakepriority/P2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions