Repository navigation
Closed
Labels
Description
--- FAIL: TestImageStreamImport-2 (6.29s)
imageimporter_test.go:105: unexpected image output: (*api.Image)(nil)
FAIL
I0229 17:38:57.818710 25915 importer.go:308] importing remote Docker repository registry=https://registry-1.docker.io repository=library/mongo insecure=false
I0229 17:38:57.820419 25915 credentials.go:24] asked to provide Basic credentials for https://auth.docker.io/token
I0229 17:38:58.056945 25915 importer.go:352] unable to access tags for repository &importer.importRepository{Ref:api.DockerImageReference{Registry:"", Namespace:"", Name:"mongo", Tag:"", ID:""}, Registry:(*url.URL)(0xc20807a580), Name:"library/mongo", Insecure:false, Tags:[]importer.importTag(nil), Digests:[]importer.importDigest(nil), MaximumTags:3, AdditionalTags:[]string(nil), Err:error(nil)}: &url.Error{Op:"Get", URL:"https://registry-1.docker.io/v2/library/mongo/tags/list", Err:(*errors.errorString)(0xc2087ad360)}
--- FAIL: TestImageStreamImportDockerHub-2 (1.80s)
imageimporter_test.go:523: unexpected repository: &api.RepositoryImportStatus{Status:unversioned.Status{TypeMeta:unversioned.TypeMeta{Kind:"", APIVersion:""}, ListMeta:unversioned.ListMeta{SelfLink:"", ResourceVersion:""}, Status:"Failure", Message:"Internal error occurred: Get https://registry-1.docker.io/v2/library/mongo/tags/list: token auth attempt for registry: https://auth.docker.io/token?scope=repository%3Alibrary%2Fmongo%3Apull&service=registry.docker.io request failed with status: 500 Internal Server Error", Reason:"InternalError", Details:(*unversioned.StatusDetails)(0xc2087d7c20), Code:500}, Images:[]api.ImageImportStatus(nil), AdditionalTags:[]string(nil)}
imageimporter_test.go:530: unexpected object: (*api.Image)(nil)
imageimporter_test.go:534: unexpected object: (*api.Image)(nil)
imageimporter_test.go:538: unexpected object: (*api.Image)(nil)
imageimporter_test.go:542: unexpected object: api.ImageImportStatus{Tag:"", Status:unversioned.Status{TypeMeta:unversioned.TypeMeta{Kind:"", APIVersion:""}, ListMeta:unversioned.ListMeta{SelfLink:"", ResourceVersion:""}, Status:"Failure", Message:"Internal error occurred: Get https://registry-1.docker.io/v2/mysql/doesnotexistinanyform/manifests/latest: token auth attempt for registry: https://auth.docker.io/token?scope=repository%3Amysql%2Fdoesnotexistinanyform%3Apull&service=registry.docker.io request failed with status: 500 Internal Server Error", Reason:"InternalError", Details:(*unversioned.StatusDetails)(0xc20897f3b0), Code:500}, Image:(*api.Image)(nil)}
FAIL
Activity
smarterclayton commentedon Apr 22, 2016
Not related to #8558 - will need a separate fix.
0xmichalis commentedon Jun 1, 2016
https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_integration/1357/consoleFull
Been hitting this all day today
0xmichalis commentedon Jun 1, 2016
We should stop using DockerHub in our tests.
stevekuznetsov commentedon Jun 1, 2016
Seeing similar (??) failures on recent runs ... moving to P0 as the last 20 test_integration runs have failed on it.
deads2k commentedon Jun 1, 2016
Not all tests can run disconnected from DockerHub. Being able to inter-operate with DockerHub is one of our core use-cases, so we will always end up having some level of test dependency on them and given how critical the path is, I think its reasonable to block merge on them.
I'm not against trying to make it more resilient to transient failures, but I'm far less inclined to remove the dependency entirely. Imagine if we had a new-app bug that prevented it from working against the docker hub.
deads2k commentedon Jun 1, 2016
Looks like the reported image size is wrong. Check to see if dockerhub stopped reporting the field.
0xmichalis commentedon Jun 1, 2016
@deads2k we can consolidate the tests we need to run against DockerHub. Also, it would be nice if we wouldn't run those tests, when pulls don't affect things we need to work against DockerHub AND DockerHub is down at the same time.
13 remaining items
legionus commentedon Jun 1, 2016
@smarterclayton I'm not sure I understand.
Cc: @miminar
smarterclayton commentedon Jun 1, 2016
We need to be sure that we import via schema2 by default, and fall back to schema1 only if necessary.
[-]TestImageStreamImportDockerHub / TestImageStreamImport[/-][+]Images on DockerHub fail to import size because they are in schema1[/+]smarterclayton commentedon Jun 2, 2016
Summary:
deads2k commentedon Aug 25, 2016
I've seen this in 5 of the last 6 test runs, the sixth failed on yum. Bumping to P1.
@smarterclayton @mfojtik @miminar
deads2k commentedon Aug 25, 2016
See https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_integration/5503/ as an example.
smarterclayton commentedon Aug 25, 2016
mfojtik commentedon Aug 25, 2016
@smarterclayton see #10639