this was a known issue: https://github.com/openshift/origin/issues/7706
it's been fixed in origin master but there are no immediate plans to backport it to origin:3.6 if that is what you are using. On Tue, Oct 10, 2017 at 5:16 PM, Rishi Misra <[email protected]> wrote: > Hi there, > > I am trying to run test suites of Origin 3.6 on s390x but getting some > "invalid memory address or nil pointer dereference" error. I am not sure > if this is a testcase error or something wrong in my environment. > > Please let me know if you spot anything obvious in the stack trace: > > /================================================/ > Running TestImageStreamImport... > *failed TestImageStreamImport* > I1010 18:33:17.292196Z 6826 pkg_logger.go:48] 2017-10-10T18:33:17Z > etcdserver: name = foo > ..... > I1010 14:33:23.372744 6826 importer.go:551] unsupported manifest type: > *manifestlist.DeserializedManifestList > E1010 14:33:23.372858 6826 runtime.go:66] Observed a panic: "invalid > memory address or nil pointer dereference" (runtime error: invalid memory > address or nil pointer dereference) > /root/go/src/github.com/openshift/origin/_output/local/go/src/github.com/ > openshift/origin/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:72 > /root/go/src/github.com/openshift/origin/_output/local/go/src/github.com/ > openshift/origin/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:65 > /root/go/src/github.com/openshift/origin/_output/local/go/src/github.com/ > openshift/origin/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:51 > /usr/lib/golang/src/runtime/asm_s390x.s:415 > /usr/lib/golang/src/runtime/panic.go:489 > /usr/lib/golang/src/runtime/panic.go:63 > /usr/lib/golang/src/runtime/signal_unix.go:290 > /root/go/src/github.com/openshift/origin/_output/local/go/src/github.com/ > openshift/origin/pkg/image/importer/importer.go:181 > /root/go/src/github.com/openshift/origin/_output/local/go/src/github.com/ > openshift/origin/pkg/image/importer/importer.go:93 > /root/go/src/github.com/openshift/origin/_output/local/go/src/github.com/ > openshift/origin/pkg/image/registry/imagestreamimport/rest.go:156 > /root/go/src/github.com/openshift/origin/_output/local/go/src/github.com/ > openshift/origin/vendor/k8s.io/apiserver/pkg/endpoints/ > handlers/rest.go:469 > /root/go/src/github.com/openshift/origin/_output/local/go/src/github.com/ > openshift/origin/vendor/k8s.io/apiserver/pkg/endpoints/ > handlers/rest.go:432 > /root/go/src/github.com/openshift/origin/_output/local/go/src/github.com/ > openshift/origin/vendor/k8s.io/apiserver/pkg/endpoints/ > handlers/rest.go:1107 > /usr/lib/golang/src/runtime/asm_s390x.s:994 > panic: runtime error: invalid memory address or nil pointer dereference > [recovered] > panic: runtime error: invalid memory address or nil pointer dereference > [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8189b646] > > goroutine 22911 [running]: > github.com/openshift/origin/vendor/k8s.io/apimachinery/ > pkg/util/runtime.HandleCrash(0xc43d92df80, 0x1, 0x1) > /root/go/src/github.com/openshift/origin/_output/local/go/src/github.com/ > openshift/origin/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:58 > +0x150 > panic(0x8412c940, 0x8a62e3a0) > /usr/lib/golang/src/runtime/panic.go:489 +0x2d8 > github.com/openshift/origin/pkg/image/importer.(*ImageStreamImporter). > importImages(0xc43b927b40, 0x3ff96fffed8, 0xc43ac7cc60, 0x8a664be0, > 0xc43b461bd0, 0xc4352958c0, 0x8a6c05a0, 0xc43587a070) > /root/go/src/github.com/openshift/origin/_output/local/go/src/github.com/ > openshift/origin/pkg/image/importer/importer.go:181 +0x8d6 > github.com/openshift/origin/pkg/image/importer.(* > ImageStreamImporter).Import(0xc43b927b40, 0x3ff96fffed8, 0xc43ac7cc60, > 0xc4352958c0, 0xc43ac7cc60, 0xc436cd5b60) > /root/go/src/github.com/openshift/origin/_output/local/go/src/github.com/ > openshift/origin/pkg/image/importer/importer.go:93 +0xd0 > github.com/openshift/origin/pkg/image/registry/imagestreamimport.(*REST). > Create(0xc422612b40, 0x3ff96ffff18, 0xc43ac7cc60, 0x8a6646a0, > 0xc4352958c0, 0xc42b5da7d0, 0xc42002e000, 0x0, 0x8a6b7360) > /root/go/src/github.com/openshift/origin/_output/local/go/src/github.com/ > openshift/origin/pkg/image/registry/imagestreamimport/rest.go:156 +0x870 > github.com/openshift/origin/vendor/k8s.io/apiserver/pkg/ > endpoints/handlers.(*namedCreaterAdapter).Create(0xc421792140, > 0x3ff96ffff18, 0xc437d0e060, 0x0, 0x0, 0x8a6646a0, 0xc4352958c0, > 0x81b47c4e, 0xc43d42af60, 0xc43d42af58, ...) > /root/go/src/github.com/openshift/origin/_output/local/go/src/github.com/ > openshift/origin/vendor/k8s.io/apiserver/pkg/endpoints/ > handlers/rest.go:469 +0x5e > github.com/openshift/origin/vendor/k8s.io/apiserver/pkg/ > endpoints/handlers.createHandler.func1.1(0x1800000000, 0x84c03df0, > 0xc43d42af80, 0x1) > /root/go/src/github.com/openshift/origin/_output/local/go/src/github.com/ > openshift/origin/vendor/k8s.io/apiserver/pkg/endpoints/ > handlers/rest.go:432 +0x6a > github.com/openshift/origin/vendor/k8s.io/apiserver/pkg/ > endpoints/handlers.finishRequest.func1(0xc4387cd440, 0xc43ac7e550, > 0xc4387cd380, 0xc4387cd320) > /root/go/src/github.com/openshift/origin/_output/local/go/src/github.com/ > openshift/origin/vendor/k8s.io/apiserver/pkg/endpoints/ > handlers/rest.go:1107 +0x88 > created by github.com/openshift/origin/vendor/k8s.io/apiserver/pkg/ > endpoints/handlers.finishRequest > /root/go/src/github.com/openshift/origin/_output/local/go/src/github.com/ > openshift/origin/vendor/k8s.io/apiserver/pkg/endpoints/ > handlers/rest.go:1112 +0xba > > ... > > > *failed TestImageStreamImportDockerHub* > I1010 14:34:54.994410 7039 importer.go:65] the global layer cache is > disabled > I1010 14:34:54.994586 7039 importer.go:378] importing remote Docker > repository registry=https://registry-1.docker.io > repository=mysql/doesnotexistinanyform > insecure=false > I1010 14:34:55.225179 7039 credentials.go:31] asked to provide > RefreshToken for https://auth.docker.io/token > I1010 14:34:55.225204 7039 credentials.go:26] asked to provide Basic > credentials for https://auth.docker.io/token > I1010 14:34:55.736587 7039 client.go:336] Retrying request to a v2 > Docker registry after encountering error (1 attempts remaining): > unauthorized: authentication required > I1010 14:34:56.810141 7039 client.go:336] Retrying request to a v2 > Docker registry after encountering error (0 attempts remaining): > unauthorized: authentication required > I1010 14:34:56.855418 7039 importer.go:523] unable to get manifest by > tag "latest" for repository &importer.importRepository{Ref:image. > DockerImageReference{Registry:"", Namespace:"mysql", > Name:"doesnotexistinanyform", Tag:"", ID:""}, > Registry:(*url.URL)(0xc4211c4240), > Name:"mysql/doesnotexistinanyform", Insecure:false, > Tags:[]importer.importTag{importer.importTag{Name:"latest", > Image:(*image.Image)(nil), Err:error(nil)}}, > Digests:[]importer.importDigest(nil), > MaximumTags:0, AdditionalTags:[]string(nil), Err:error(nil)}: > errcode.Errors{errcode.Error{Code:1002, Message:"authentication > required", Detail:[]interface {}{map[string]interface > {}{"Type":"repository", "Class":"", "Name":"mysql/doesnotexistinanyform", > "Action":"pull"}}}} > I1010 14:34:56.901409 7039 importer.go:527] unable to get tag "latest" > for repository &importer.importRepository{Ref:image. > DockerImageReference{Registry:"", Namespace:"mysql", > Name:"doesnotexistinanyform", Tag:"", ID:""}, > Registry:(*url.URL)(0xc4211c4240), > Name:"mysql/doesnotexistinanyform", Insecure:false, > Tags:[]importer.importTag{importer.importTag{Name:"latest", > Image:(*image.Image)(nil), Err:error(nil)}}, > Digests:[]importer.importDigest(nil), > MaximumTags:0, AdditionalTags:[]string(nil), Err:error(nil)}: > errcode.Error{Code:1002, Message:"authentication required", > Detail:[]uint8{}} > I1010 14:34:56.901484 7039 importer.go:378] importing remote Docker > repository registry=https://registry-1.docker.io repository=library/redis > insecure=false > I1010 14:34:56.902640 7039 credentials.go:31] asked to provide > RefreshToken for https://auth.docker.io/token > I1010 14:34:56.902653 7039 credentials.go:26] asked to provide Basic > credentials for https://auth.docker.io/token > *I1010 14:34:57.004966 7039 importer.go:551] unsupported manifest type: > **manifestlist.DeserializedManifestList > --- FAIL: TestImageStreamImportDockerHub (2.01s) > panic: runtime error: invalid memory address or nil pointer dereference > [recovered] > panic: runtime error: invalid memory address or nil pointer dereference > [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8189b646] > > goroutine 75 [running]: > testing.tRunner.func1(0xc4211a8000) > /usr/lib/golang/src/testing/testing.go:622 +0x2e0 > panic(0x8412c940, 0x8a62e3a0) > /usr/lib/golang/src/runtime/panic.go:489 +0x2d8 > github.com/openshift/origin/pkg/image/importer.(*ImageStreamImporter). > importImages(0xc421161380, 0x3ffafac6a00, 0xc420014fe8, 0x8a664be0, > 0xc42116cdc0, 0xc421194580, 0x8a6c04e0, 0x8c358bb8) > /root/go/src/github.com/openshift/origin/_output/local/go/src/github.com/ > openshift/origin/pkg/image/importer/importer.go:181 +0x8d6 > github.com/openshift/origin/pkg/image/importer.(* > ImageStreamImporter).Import(0xc421161380, 0x3ffafac6a00, 0xc420014fe8, > 0xc421194580, 0xc420014fe8, 0x0) > /root/go/src/github.com/openshift/origin/_output/local/go/src/github.com/ > openshift/origin/pkg/image/importer/importer.go:93 +0xd0 > github.com/openshift/origin/test/integration. > TestImageStreamImportDockerHub.func1(0x84c0d1b8, 0x40000c42015f300) > /root/go/src/github.com/openshift/origin/_output/local/go/src/github.com/ > openshift/origin/test/integration/imageimporter_test.go:825 +0xba > github.com/openshift/origin/test/integration.retryOnErrors(0xc4211a8000, > 0xc421161340, 0x4, 0x4, 0xc420c75d98, 0x4, 0x4) > /root/go/src/github.com/openshift/origin/_output/local/go/src/github.com/ > openshift/origin/test/integration/dockerregistryclient_test.go:57 +0x30 > github.com/openshift/origin/test/integration.retryWhenUnreachable( > 0xc4211a8000, 0xc420045d98, 0x0, 0x0, 0x0, 0x0, 0x600000000000000) > /root/go/src/github.com/openshift/origin/_output/local/go/src/github.com/ > openshift/origin/test/integration/dockerregistryclient_test.go:82 +0xfa > github.com/openshift/origin/test/integration. > TestImageStreamImportDockerHub(0xc4211a8000) > /root/go/src/github.com/openshift/origin/_output/local/go/src/github.com/ > openshift/origin/test/integration/imageimporter_test.go:837 +0x372 > testing.tRunner(0xc4211a8000, 0x84bfecc0) > /usr/lib/golang/src/testing/testing.go:657 +0xa6 > created by testing.(*T).Run > /usr/lib/golang/src/testing/testing.go:697 +0x2e4 > Running TestImageStreamImportQuayIO... > ok TestImageStreamImportQuayIO > /================================================/ > > Thanks. > > _______________________________________________ > dev mailing list > [email protected] > http://lists.openshift.redhat.com/openshiftmm/listinfo/dev > > -- Ben Parees | OpenShift
_______________________________________________ dev mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
