Skip to content

Instantly share code, notes, and snippets.

@soltysh
Created August 17, 2018 08:23
Show Gist options
  • Save soltysh/626ed205610b1394925727548dad27e2 to your computer and use it in GitHub Desktop.
Save soltysh/626ed205610b1394925727548dad27e2 to your computer and use it in GitHub Desktop.
$ hack/test-go.sh pkg/oc/cli/admin/prune/imageprune/
[INFO] [CLEANUP] Cleaning up temporary directories
2018/08/17 10:23:05 http: TLS handshake error from 127.0.0.1:45548: tls: first record does not look like a TLS handshake
2018/08/17 10:23:05 http: TLS handshake error from 127.0.0.1:40722: remote error: tls: bad certificate
2018/08/17 10:23:05 http: TLS handshake error from 127.0.0.1:59422: tls: first record does not look like a TLS handshake
--- FAIL: TestImagePruning (0.00s)
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=0x18 pc=0x1a13c5f]
goroutine 147 [running]:
testing.tRunner.func1(0xc4206021e0)
/usr/local/go/src/testing/testing.go:742 +0x567
panic(0x1be34c0, 0x2d1e3a0)
/usr/local/go/src/runtime/panic.go:502 +0x24a
github.com/openshift/origin/pkg/image/apis/image/v1.Convert_image_Image_To_v1_Image(0xc420067400, 0xc420456000, 0x0, 0x0, 0x0, 0xc4207d03c8)
/home/maszulik/workspace/origin/src/github.com/openshift/origin/pkg/image/apis/image/v1/conversion.go:31 +0x5f
github.com/openshift/origin/pkg/oc/cli/admin/prune/imageprune/testutil.ImageWithLayers(0x1dbbc63, 0x47, 0xc4203d9380, 0x5b, 0x0, 0xc4207d03c8, 0x5, 0x5, 0x0, 0x0, ...)
/home/maszulik/workspace/origin/src/github.com/openshift/origin/pkg/oc/cli/admin/prune/imageprune/testutil/util.go:79 +0x208
github.com/openshift/origin/pkg/oc/cli/admin/prune/imageprune/testutil.CreatedImage(0x1dbbc63, 0x47, 0xc4203d9380, 0x5b, 0xbed5b85279343a35, 0xfffff973aa0ad2c6, 0x2d326a0, 0x0, 0x0, 0x0, ...)
/home/maszulik/workspace/origin/src/github.com/openshift/origin/pkg/oc/cli/admin/prune/imageprune/testutil/util.go:52 +0xfc
github.com/openshift/origin/pkg/oc/cli/admin/prune/imageprune/testutil.AgedImage(0x1dbbc63, 0x47, 0xc4203d9380, 0x5b, 0x78, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/maszulik/workspace/origin/src/github.com/openshift/origin/pkg/oc/cli/admin/prune/imageprune/testutil/util.go:44 +0xf4
github.com/openshift/origin/pkg/oc/cli/admin/prune/imageprune/testutil.Image(0x1dbbc63, 0x47, 0xc4203d9380, 0x5b, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/maszulik/workspace/origin/src/github.com/openshift/origin/pkg/oc/cli/admin/prune/imageprune/testutil/util.go:72 +0xbc
github.com/openshift/origin/pkg/oc/cli/admin/prune/imageprune.TestImagePruning(0xc4206021e0)
/home/maszulik/workspace/origin/src/github.com/openshift/origin/pkg/oc/cli/admin/prune/imageprune/prune_test.go:85 +0x29a
testing.tRunner(0xc4206021e0, 0x1e0af38)
/usr/local/go/src/testing/testing.go:777 +0x16e
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:824 +0x565
FAIL github.com/openshift/origin/pkg/oc/cli/admin/prune/imageprune 0.200s
[ERROR] PID 28929: hack/test-go.sh:186: `go test ${gotest_flags} ${test_packages}` exited with status 1.
[INFO] Stack Trace:
[INFO] 1: hack/test-go.sh:186: `go test ${gotest_flags} ${test_packages}`
[INFO] Exiting with code 1.
[ERROR] hack/test-go.sh exited with code 1 after 00h 00m 02s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment