Skip to content

Instantly share code, notes, and snippets.

@harche
Created September 16, 2019 16:58
Show Gist options
  • Save harche/e9a55c2c421a13361a30b3affb6784f7 to your computer and use it in GitHub Desktop.
Save harche/e9a55c2c421a13361a30b3affb6784f7 to your computer and use it in GitHub Desktop.
```bash
[harshal@oc1472752102 cri-o]$ make testunit
rm -rf /home/harshal/go/src/github.com/cri-o/cri-o/build/coverage && mkdir -p /home/harshal/go/src/github.com/cri-o/cri-o/build/coverage
rm -rf /home/harshal/go/src/github.com/cri-o/cri-o/build/junit && mkdir -p /home/harshal/go/src/github.com/cri-o/cri-o/build/junit
/home/harshal/go/src/github.com/cri-o/cri-o/build/bin/ginkgo \
\
-r \
--trace \
--cover \
--covermode atomic \
--outputdir /home/harshal/go/src/github.com/cri-o/cri-o/build/coverage \
--coverprofile coverprofile \
--tags "test containers_image_ostree_stub seccomp selinux" \
--succinct
[1568652801] Lib - 123/123 specs ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••2019/09/16 22:25:23 Seeked sandboxID/containerID.log - &{Offset:0 Whence:0}
•2019/09/16 22:25:23 Waiting for sandboxID/containerID.log to appear...
•••••••••••••••••••••••••••••••••••••••••• SUCCESS! 368.801463ms PASS
coverage: 84.0% of statements
[1568652801] LibConfig - 76/76 specs •••time="2019-09-16T22:25:23+05:30" level=info msg="using conmon executable \"/bin/sh\""
••time="2019-09-16T22:25:23+05:30" level=info msg="using conmon executable \"/bin/sh\""
•••••••••time="2019-09-16T22:25:23+05:30" level=info msg="using conmon executable \"/bin/sh\""
•time="2019-09-16T22:25:23+05:30" level=info msg="using conmon executable \"/bin/sh\""
•time="2019-09-16T22:25:23+05:30" level=info msg="using conmon executable \"/bin/sh\""
•••••••••••••••••••••••time="2019-09-16T22:25:23+05:30" level=info msg="using conmon executable \"/bin/sh\""
••time="2019-09-16T22:25:23+05:30" level=info msg="using conmon executable \"/tmp/crio-empty811681051\""
•••••••time="2019-09-16T22:25:23+05:30" level=warning msg="The config field plugin_dir is being deprecated. Please use plugin_dirs instead"
•time="2019-09-16T22:25:23+05:30" level=warning msg="The config field plugin_dir is being deprecated. Please use plugin_dirs instead"
•time="2019-09-16T22:25:23+05:30" level=warning msg="The config field plugin_dir is being deprecated. Please use plugin_dirs instead"
•••••••••••••••••••time="2019-09-16T22:25:23+05:30" level=info msg="set config log_level to \"fatal\""
••••••• SUCCESS! 173.404672ms PASS
coverage: 93.4% of statements
[1568652801] Sandbox - 33/33 specs ••••••••••••••••••••••••••••••••• SUCCESS! 15.071173ms PASS
coverage: 76.1% of statements
[1568652801] Oci - 35/35 specs ••••••••••••••••••••••••••••••••••• SUCCESS! 18.020308ms PASS
coverage: 9.5% of statements
[1568652801] Findprocess - 3/3 specs ••• SUCCESS! 29.008159ms PASS
coverage: 87.5% of statements
[1568652801] Log - 9/9 specs ••••••••• SUCCESS! 1.106185ms PASS
coverage: 15.5% of statements
[1568652801] Storage - 79/79 specs ••••••••••••••••••••••••••••
------------------------------
• Failure [0.003 seconds]
cri-o: Runtime cri-o: CreateContainer/CreatePodSandbox cri-o: success [It] should succeed to create a container
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:566
Unexpected call to *criostoragemock.MockImageServer.CanDecrypt([0xc00034a420 docker.io/library/imagename:latest 0xc0004ad500]) at /home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44 because:
Expected call at /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:562 doesn't have a prerequisite call satisfied:
*containerstoragemock.MockStore.ContainerRunDirectory(is anything) /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:560
should be called before:
*criostoragemock.MockImageServer.CanDecrypt(is anything, is anything, is anything) /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:562
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44
Full Stack Trace
/home/harshal/go/pkg/mod/github.com/golang/mock@v1.3.1/gomock/controller.go:201 +0x470
github.com/golang/mock/gomock.(*Controller).Call(0xc0000a9980, 0xef3240, 0xc00027c180, 0xf77435, 0xa, 0xc0000a9bf0, 0x3, 0x3, 0x413028, 0x70, ...)
/home/harshal/go/pkg/mod/github.com/golang/mock@v1.3.1/gomock/controller.go:217 +0xb4
github.com/cri-o/cri-o/test/mocks/criostorage.(*MockImageServer).CanDecrypt(0xc00027c180, 0xc00034a420, 0xf91552, 0x22, 0xc0004ad500, 0xc00024a0e0, 0x0, 0x0)
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44 +0x12d
github.com/cri-o/cri-o/internal/pkg/storage.(*runtimeService).createContainerOrPodSandbox(0xc000201160, 0xc00034a420, 0xf74ae0, 0x7, 0xf721ff, 0x5, 0xf76b0a, 0x9, 0x0, 0x0, ...)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime.go:199 +0x2a7f
github.com/cri-o/cri-o/internal/pkg/storage.(*runtimeService).CreateContainer(0xc000201160, 0xc00034a420, 0xf74ae0, 0x7, 0xf721ff, 0x5, 0xf76b0a, 0x9, 0xfaa59f, 0x40, ...)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime.go:378 +0x1d5
github.com/cri-o/cri-o/internal/pkg/storage_test.glob..func2.12.1.2()
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:568 +0x1e4
github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc000331020, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:113 +0x9c
github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc000331020, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:64 +0xcf
github.com/onsi/ginkgo/internal/leafnodes.(*ItNode).Run(0xc00033c580, 0x10ed9e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/it_node.go:26 +0x64
github.com/onsi/ginkgo/internal/spec.(*Spec).runSample(0xc000221b30, 0x0, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:215 +0x596
github.com/onsi/ginkgo/internal/spec.(*Spec).Run(0xc000221b30, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:138 +0xf4
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpec(0xc0004afe00, 0xc000221b30, 0x0)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:200 +0x10f
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpecs(0xc0004afe00, 0x1)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:170 +0x124
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc0004afe00, 0xc00033b1e8)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:66 +0x117
github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc0000d66e0, 0x7f4c6af49a00, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d200, 0x2, 0x2, 0x110e140, 0xc000086f00, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/suite/suite.go:62 +0x42e
github.com/onsi/ginkgo.RunSpecsWithCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d1e0, 0x2, 0x2, 0x2)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:221 +0x217
github.com/onsi/ginkgo.RunSpecsWithDefaultAndCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc000208f50, 0x1, 0x1, 0x508850)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:209 +0xad
github.com/cri-o/cri-o/test/framework.RunFrameworkSpecs(0xc0000d3000, 0xf73f79, 0x7)
/home/harshal/go/src/github.com/cri-o/cri-o/test/framework/framework.go:99 +0x15b
github.com/cri-o/cri-o/internal/pkg/storage_test.TestStorage(0xc0000d3000)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/suite_test.go:14 +0x98
testing.tRunner(0xc0000d3000, 0xfbe8d8)
/usr/local/go/src/testing/testing.go:865 +0xc0
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:916 +0x35a
------------------------------
• Failure [0.004 seconds]
cri-o: Runtime cri-o: CreateContainer/CreatePodSandbox cri-o: success [It] should succeed to create a pod sandbox
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:575
Unexpected call to *criostoragemock.MockImageServer.CanDecrypt([0xc00034a6e0 docker.io/library/imagename:latest 0xc000495570]) at /home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44 because:
Expected call at /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:562 doesn't have a prerequisite call satisfied:
*containerstoragemock.MockStore.ContainerRunDirectory(is anything) /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:560
should be called before:
*criostoragemock.MockImageServer.CanDecrypt(is anything, is anything, is anything) /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:562
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44
Full Stack Trace
/home/harshal/go/pkg/mod/github.com/golang/mock@v1.3.1/gomock/controller.go:201 +0x470
github.com/golang/mock/gomock.(*Controller).Call(0xc0000a9fb0, 0xef3240, 0xc0000752f0, 0xf77435, 0xa, 0xc000474210, 0x3, 0x3, 0x413028, 0x70, ...)
/home/harshal/go/pkg/mod/github.com/golang/mock@v1.3.1/gomock/controller.go:217 +0xb4
github.com/cri-o/cri-o/test/mocks/criostorage.(*MockImageServer).CanDecrypt(0xc0000752f0, 0xc00034a6e0, 0xf91552, 0x22, 0xc000495570, 0xc00024a2a0, 0x0, 0x0)
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44 +0x12d
github.com/cri-o/cri-o/internal/pkg/storage.(*runtimeService).createContainerOrPodSandbox(0xc00000e3e0, 0xc00034a6e0, 0xf74ae0, 0x7, 0xf721ff, 0x5, 0xf76b0a, 0x9, 0x0, 0x0, ...)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime.go:199 +0x2a7f
github.com/cri-o/cri-o/internal/pkg/storage.(*runtimeService).CreatePodSandbox(0xc00000e3e0, 0xc00034a6e0, 0xf74ae0, 0x7, 0xf721ff, 0x5, 0xf76b0a, 0x9, 0x0, 0x0, ...)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime.go:374 +0x1f2
github.com/cri-o/cri-o/internal/pkg/storage_test.glob..func2.12.1.3()
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:577 +0x212
github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc0003310e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:113 +0x9c
github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc0003310e0, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:64 +0xcf
github.com/onsi/ginkgo/internal/leafnodes.(*ItNode).Run(0xc00033c740, 0x10ed9e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/it_node.go:26 +0x64
github.com/onsi/ginkgo/internal/spec.(*Spec).runSample(0xc000221c20, 0x0, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:215 +0x596
github.com/onsi/ginkgo/internal/spec.(*Spec).Run(0xc000221c20, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:138 +0xf4
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpec(0xc0004afe00, 0xc000221c20, 0x0)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:200 +0x10f
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpecs(0xc0004afe00, 0x1)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:170 +0x124
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc0004afe00, 0xc00033b1e8)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:66 +0x117
github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc0000d66e0, 0x7f4c6af49a00, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d200, 0x2, 0x2, 0x110e140, 0xc000086f00, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/suite/suite.go:62 +0x42e
github.com/onsi/ginkgo.RunSpecsWithCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d1e0, 0x2, 0x2, 0x2)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:221 +0x217
github.com/onsi/ginkgo.RunSpecsWithDefaultAndCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc000208f50, 0x1, 0x1, 0x508850)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:209 +0xad
github.com/cri-o/cri-o/test/framework.RunFrameworkSpecs(0xc0000d3000, 0xf73f79, 0x7)
/home/harshal/go/src/github.com/cri-o/cri-o/test/framework/framework.go:99 +0x15b
github.com/cri-o/cri-o/internal/pkg/storage_test.TestStorage(0xc0000d3000)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/suite_test.go:14 +0x98
testing.tRunner(0xc0000d3000, 0xfbe8d8)
/usr/local/go/src/testing/testing.go:865 +0xc0
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:916 +0x35a
------------------------------
• Failure in Spec Teardown (AfterEach) [0.001 seconds]
cri-o: Runtime [AfterEach] cri-o: CreateContainer/CreatePodSandbox should fail to create a container on invalid pod ID
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:595
missing call(s) to *criostoragemock.MockImageServer.CanDecrypt(is anything, is anything, is anything) /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:599
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:113
Full Stack Trace
/home/harshal/go/pkg/mod/github.com/golang/mock@v1.3.1/gomock/controller.go:252 +0x124
github.com/cri-o/cri-o/internal/pkg/storage_test.glob..func2.2()
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:43 +0x2d
github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc000352a20, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:113 +0x9c
github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc000352a20, 0xc0001af4a8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:64 +0xcf
github.com/onsi/ginkgo/internal/leafnodes.(*SetupNode).Run(0xc0004f6240, 0x10ed9e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/setup_nodes.go:15 +0x64
github.com/onsi/ginkgo/internal/spec.(*Spec).runSample.func1(0xc0001af860, 0xc000221d10, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:180 +0x347
github.com/onsi/ginkgo/internal/spec.(*Spec).runSample(0xc000221d10, 0x0, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:218 +0x5fe
github.com/onsi/ginkgo/internal/spec.(*Spec).Run(0xc000221d10, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:138 +0xf4
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpec(0xc0004afe00, 0xc000221d10, 0x0)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:200 +0x10f
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpecs(0xc0004afe00, 0x1)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:170 +0x124
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc0004afe00, 0xc00033b1e8)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:66 +0x117
github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc0000d66e0, 0x7f4c6af49a00, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d200, 0x2, 0x2, 0x110e140, 0xc000086f00, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/suite/suite.go:62 +0x42e
github.com/onsi/ginkgo.RunSpecsWithCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d1e0, 0x2, 0x2, 0x2)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:221 +0x217
github.com/onsi/ginkgo.RunSpecsWithDefaultAndCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc000208f50, 0x1, 0x1, 0x508850)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:209 +0xad
github.com/cri-o/cri-o/test/framework.RunFrameworkSpecs(0xc0000d3000, 0xf73f79, 0x7)
/home/harshal/go/src/github.com/cri-o/cri-o/test/framework/framework.go:99 +0x15b
github.com/cri-o/cri-o/internal/pkg/storage_test.TestStorage(0xc0000d3000)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/suite_test.go:14 +0x98
testing.tRunner(0xc0000d3000, 0xfbe8d8)
/usr/local/go/src/testing/testing.go:865 +0xc0
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:916 +0x35a
------------------------------
• Failure in Spec Teardown (AfterEach) [0.001 seconds]
cri-o: Runtime [AfterEach] cri-o: CreateContainer/CreatePodSandbox should fail to create a container on invalid pod name
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:612
missing call(s) to *criostoragemock.MockImageServer.CanDecrypt(is anything, is anything, is anything) /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:616
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:113
Full Stack Trace
/home/harshal/go/pkg/mod/github.com/golang/mock@v1.3.1/gomock/controller.go:252 +0x124
github.com/cri-o/cri-o/internal/pkg/storage_test.glob..func2.2()
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:43 +0x2d
github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc000352a20, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:113 +0x9c
github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc000352a20, 0xc0001af4a8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:64 +0xcf
github.com/onsi/ginkgo/internal/leafnodes.(*SetupNode).Run(0xc0004f6240, 0x10ed9e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/setup_nodes.go:15 +0x64
github.com/onsi/ginkgo/internal/spec.(*Spec).runSample.func1(0xc0001af860, 0xc000221e00, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:180 +0x347
github.com/onsi/ginkgo/internal/spec.(*Spec).runSample(0xc000221e00, 0x0, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:218 +0x5fe
github.com/onsi/ginkgo/internal/spec.(*Spec).Run(0xc000221e00, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:138 +0xf4
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpec(0xc0004afe00, 0xc000221e00, 0x0)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:200 +0x10f
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpecs(0xc0004afe00, 0x1)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:170 +0x124
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc0004afe00, 0xc00033b1e8)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:66 +0x117
github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc0000d66e0, 0x7f4c6af49a00, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d200, 0x2, 0x2, 0x110e140, 0xc000086f00, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/suite/suite.go:62 +0x42e
github.com/onsi/ginkgo.RunSpecsWithCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d1e0, 0x2, 0x2, 0x2)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:221 +0x217
github.com/onsi/ginkgo.RunSpecsWithDefaultAndCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc000208f50, 0x1, 0x1, 0x508850)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:209 +0xad
github.com/cri-o/cri-o/test/framework.RunFrameworkSpecs(0xc0000d3000, 0xf73f79, 0x7)
/home/harshal/go/src/github.com/cri-o/cri-o/test/framework/framework.go:99 +0x15b
github.com/cri-o/cri-o/internal/pkg/storage_test.TestStorage(0xc0000d3000)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/suite_test.go:14 +0x98
testing.tRunner(0xc0000d3000, 0xfbe8d8)
/usr/local/go/src/testing/testing.go:865 +0xc0
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:916 +0x35a
------------------------------
• Failure in Spec Teardown (AfterEach) [0.001 seconds]
cri-o: Runtime [AfterEach] cri-o: CreateContainer/CreatePodSandbox should fail to create a container on invalid image ID
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:629
missing call(s) to *criostoragemock.MockImageServer.CanDecrypt(is anything, is anything, is anything) /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:633
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:113
Full Stack Trace
/home/harshal/go/pkg/mod/github.com/golang/mock@v1.3.1/gomock/controller.go:252 +0x124
github.com/cri-o/cri-o/internal/pkg/storage_test.glob..func2.2()
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:43 +0x2d
github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc000352a20, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:113 +0x9c
github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc000352a20, 0xc0001af4a8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:64 +0xcf
github.com/onsi/ginkgo/internal/leafnodes.(*SetupNode).Run(0xc0004f6240, 0x10ed9e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/setup_nodes.go:15 +0x64
github.com/onsi/ginkgo/internal/spec.(*Spec).runSample.func1(0xc0001af860, 0xc000221ef0, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:180 +0x347
github.com/onsi/ginkgo/internal/spec.(*Spec).runSample(0xc000221ef0, 0x0, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:218 +0x5fe
github.com/onsi/ginkgo/internal/spec.(*Spec).Run(0xc000221ef0, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:138 +0xf4
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpec(0xc0004afe00, 0xc000221ef0, 0x20)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:200 +0x10f
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpecs(0xc0004afe00, 0x1)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:170 +0x124
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc0004afe00, 0xc00033b1e8)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:66 +0x117
github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc0000d66e0, 0x7f4c6af49a00, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d200, 0x2, 0x2, 0x110e140, 0xc000086f00, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/suite/suite.go:62 +0x42e
github.com/onsi/ginkgo.RunSpecsWithCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d1e0, 0x2, 0x2, 0x2)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:221 +0x217
github.com/onsi/ginkgo.RunSpecsWithDefaultAndCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc000208f50, 0x1, 0x1, 0x508850)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:209 +0xad
github.com/cri-o/cri-o/test/framework.RunFrameworkSpecs(0xc0000d3000, 0xf73f79, 0x7)
/home/harshal/go/src/github.com/cri-o/cri-o/test/framework/framework.go:99 +0x15b
github.com/cri-o/cri-o/internal/pkg/storage_test.TestStorage(0xc0000d3000)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/suite_test.go:14 +0x98
testing.tRunner(0xc0000d3000, 0xfbe8d8)
/usr/local/go/src/testing/testing.go:865 +0xc0
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:916 +0x35a
------------------------------
• Failure in Spec Teardown (AfterEach) [0.001 seconds]
cri-o: Runtime [AfterEach] cri-o: CreateContainer/CreatePodSandbox should fail to create a container on invalid container name
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:645
missing call(s) to *criostoragemock.MockImageServer.CanDecrypt(is anything, is anything, is anything) /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:649
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:113
Full Stack Trace
/home/harshal/go/pkg/mod/github.com/golang/mock@v1.3.1/gomock/controller.go:252 +0x124
github.com/cri-o/cri-o/internal/pkg/storage_test.glob..func2.2()
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:43 +0x2d
github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc000352a20, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:113 +0x9c
github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc000352a20, 0xc0001af4a8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:64 +0xcf
github.com/onsi/ginkgo/internal/leafnodes.(*SetupNode).Run(0xc0004f6240, 0x10ed9e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/setup_nodes.go:15 +0x64
github.com/onsi/ginkgo/internal/spec.(*Spec).runSample.func1(0xc0001af860, 0xc00023e000, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:180 +0x347
github.com/onsi/ginkgo/internal/spec.(*Spec).runSample(0xc00023e000, 0x0, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:218 +0x5fe
github.com/onsi/ginkgo/internal/spec.(*Spec).Run(0xc00023e000, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:138 +0xf4
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpec(0xc0004afe00, 0xc00023e000, 0x0)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:200 +0x10f
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpecs(0xc0004afe00, 0x1)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:170 +0x124
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc0004afe00, 0xc00033b1e8)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:66 +0x117
github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc0000d66e0, 0x7f4c6af49a00, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d200, 0x2, 0x2, 0x110e140, 0xc000086f00, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/suite/suite.go:62 +0x42e
github.com/onsi/ginkgo.RunSpecsWithCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d1e0, 0x2, 0x2, 0x2)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:221 +0x217
github.com/onsi/ginkgo.RunSpecsWithDefaultAndCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc000208f50, 0x1, 0x1, 0x508850)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:209 +0xad
github.com/cri-o/cri-o/test/framework.RunFrameworkSpecs(0xc0000d3000, 0xf73f79, 0x7)
/home/harshal/go/src/github.com/cri-o/cri-o/test/framework/framework.go:99 +0x15b
github.com/cri-o/cri-o/internal/pkg/storage_test.TestStorage(0xc0000d3000)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/suite_test.go:14 +0x98
testing.tRunner(0xc0000d3000, 0xfbe8d8)
/usr/local/go/src/testing/testing.go:865 +0xc0
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:916 +0x35a
------------------------------
• Failure [0.003 seconds]
cri-o: Runtime cri-o: CreateContainer/CreatePodSandbox [It] should fail to create a container on run dir error
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:661
Unexpected call to *criostoragemock.MockImageServer.CanDecrypt([0xc00034b1e0 docker.io/library/imagename:latest 0xc000457d50]) at /home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44 because:
Expected call at /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:680 doesn't have a prerequisite call satisfied:
*containerstoragemock.MockStore.DeleteContainer(is anything) /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:679
should be called before:
*criostoragemock.MockImageServer.CanDecrypt(is anything, is anything, is anything) /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:680
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44
Full Stack Trace
/home/harshal/go/pkg/mod/github.com/golang/mock@v1.3.1/gomock/controller.go:201 +0x470
github.com/golang/mock/gomock.(*Controller).Call(0xc000474ff0, 0xef3240, 0xc000451650, 0xf77435, 0xa, 0xc000475230, 0x3, 0x3, 0x413028, 0x70, ...)
/home/harshal/go/pkg/mod/github.com/golang/mock@v1.3.1/gomock/controller.go:217 +0xb4
github.com/cri-o/cri-o/test/mocks/criostorage.(*MockImageServer).CanDecrypt(0xc000451650, 0xc00034b1e0, 0xf91552, 0x22, 0xc000457d50, 0xc00024a460, 0x0, 0x0)
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44 +0x12d
github.com/cri-o/cri-o/internal/pkg/storage.(*runtimeService).createContainerOrPodSandbox(0xc00000fea0, 0xc00034b1e0, 0xf74ae0, 0x7, 0xf721ff, 0x5, 0xf76b0a, 0x9, 0x0, 0x0, ...)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime.go:199 +0x2a7f
github.com/cri-o/cri-o/internal/pkg/storage.(*runtimeService).CreateContainer(0xc00000fea0, 0xc00034b1e0, 0xf74ae0, 0x7, 0xf721ff, 0x5, 0xf76b0a, 0x9, 0xfaa59f, 0x40, ...)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime.go:378 +0x1d5
github.com/cri-o/cri-o/internal/pkg/storage_test.glob..func2.12.6()
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:684 +0xcb2
github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc000330e40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:113 +0x9c
github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc000330e40, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:64 +0xcf
github.com/onsi/ginkgo/internal/leafnodes.(*ItNode).Run(0xc00033c6a0, 0x10ed9e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/it_node.go:26 +0x64
github.com/onsi/ginkgo/internal/spec.(*Spec).runSample(0xc00023e0f0, 0x0, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:215 +0x596
github.com/onsi/ginkgo/internal/spec.(*Spec).Run(0xc00023e0f0, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:138 +0xf4
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpec(0xc0004afe00, 0xc00023e0f0, 0x0)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:200 +0x10f
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpecs(0xc0004afe00, 0x1)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:170 +0x124
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc0004afe00, 0xc00033b1e8)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:66 +0x117
github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc0000d66e0, 0x7f4c6af49a00, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d200, 0x2, 0x2, 0x110e140, 0xc000086f00, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/suite/suite.go:62 +0x42e
github.com/onsi/ginkgo.RunSpecsWithCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d1e0, 0x2, 0x2, 0x2)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:221 +0x217
github.com/onsi/ginkgo.RunSpecsWithDefaultAndCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc000208f50, 0x1, 0x1, 0x508850)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:209 +0xad
github.com/cri-o/cri-o/test/framework.RunFrameworkSpecs(0xc0000d3000, 0xf73f79, 0x7)
/home/harshal/go/src/github.com/cri-o/cri-o/test/framework/framework.go:99 +0x15b
github.com/cri-o/cri-o/internal/pkg/storage_test.TestStorage(0xc0000d3000)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/suite_test.go:14 +0x98
testing.tRunner(0xc0000d3000, 0xfbe8d8)
/usr/local/go/src/testing/testing.go:865 +0xc0
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:916 +0x35a
------------------------------
• Failure [0.001 seconds]
cri-o: Runtime cri-o: CreateContainer/CreatePodSandbox [It] should fail to create a container on container dir error
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:694
Unexpected call to *criostoragemock.MockImageServer.CanDecrypt([0xc00034b4a0 docker.io/library/imagename:latest 0xc0004131f0]) at /home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44 because:
Expected call at /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:709 doesn't have a prerequisite call satisfied:
*criostoragemock.MockImageServer.GetStore() /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:708
should be called before:
*criostoragemock.MockImageServer.CanDecrypt(is anything, is anything, is anything) /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:709
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44
Full Stack Trace
/home/harshal/go/pkg/mod/github.com/golang/mock@v1.3.1/gomock/controller.go:201 +0x470
github.com/golang/mock/gomock.(*Controller).Call(0xc000475530, 0xef3240, 0xc00032ef10, 0xf77435, 0xa, 0xc000475770, 0x3, 0x3, 0x413028, 0x70, ...)
/home/harshal/go/pkg/mod/github.com/golang/mock@v1.3.1/gomock/controller.go:217 +0xb4
github.com/cri-o/cri-o/test/mocks/criostorage.(*MockImageServer).CanDecrypt(0xc00032ef10, 0xc00034b4a0, 0xf91552, 0x22, 0xc0004131f0, 0xc00024a620, 0x0, 0x0)
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44 +0x12d
github.com/cri-o/cri-o/internal/pkg/storage.(*runtimeService).createContainerOrPodSandbox(0xc000466ba0, 0xc00034b4a0, 0xf74ae0, 0x7, 0xf721ff, 0x5, 0xf76b0a, 0x9, 0x0, 0x0, ...)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime.go:199 +0x2a7f
github.com/cri-o/cri-o/internal/pkg/storage.(*runtimeService).CreateContainer(0xc000466ba0, 0xc00034b4a0, 0xf74ae0, 0x7, 0xf721ff, 0x5, 0xf76b0a, 0x9, 0xfaa59f, 0x40, ...)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime.go:378 +0x1d5
github.com/cri-o/cri-o/internal/pkg/storage_test.glob..func2.12.7()
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:714 +0xb6a
github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc000330fc0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:113 +0x9c
github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc000330fc0, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:64 +0xcf
github.com/onsi/ginkgo/internal/leafnodes.(*ItNode).Run(0xc00033c7a0, 0x10ed9e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/it_node.go:26 +0x64
github.com/onsi/ginkgo/internal/spec.(*Spec).runSample(0xc00023e1e0, 0x0, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:215 +0x596
github.com/onsi/ginkgo/internal/spec.(*Spec).Run(0xc00023e1e0, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:138 +0xf4
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpec(0xc0004afe00, 0xc00023e1e0, 0x0)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:200 +0x10f
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpecs(0xc0004afe00, 0x1)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:170 +0x124
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc0004afe00, 0xc00033b1e8)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:66 +0x117
github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc0000d66e0, 0x7f4c6af49a00, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d200, 0x2, 0x2, 0x110e140, 0xc000086f00, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/suite/suite.go:62 +0x42e
github.com/onsi/ginkgo.RunSpecsWithCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d1e0, 0x2, 0x2, 0x2)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:221 +0x217
github.com/onsi/ginkgo.RunSpecsWithDefaultAndCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc000208f50, 0x1, 0x1, 0x508850)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:209 +0xad
github.com/cri-o/cri-o/test/framework.RunFrameworkSpecs(0xc0000d3000, 0xf73f79, 0x7)
/home/harshal/go/src/github.com/cri-o/cri-o/test/framework/framework.go:99 +0x15b
github.com/cri-o/cri-o/internal/pkg/storage_test.TestStorage(0xc0000d3000)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/suite_test.go:14 +0x98
testing.tRunner(0xc0000d3000, 0xfbe8d8)
/usr/local/go/src/testing/testing.go:865 +0xc0
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:916 +0x35a
------------------------------
• Failure [0.002 seconds]
cri-o: Runtime cri-o: CreateContainer/CreatePodSandbox [It] should fail to create a pod sandbox on set names error
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:724
Unexpected call to *criostoragemock.MockImageServer.CanDecrypt([0xc00034b760 docker.io/library/imagename:latest 0xc0003ec690]) at /home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44 because:
Expected call at /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:728 doesn't have a prerequisite call satisfied:
*criostoragemock.MockImageServer.GetStore() /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:54
should be called before:
*criostoragemock.MockImageServer.CanDecrypt(is anything, is anything, is anything) /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:728
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44
Full Stack Trace
/home/harshal/go/pkg/mod/github.com/golang/mock@v1.3.1/gomock/controller.go:201 +0x470
github.com/golang/mock/gomock.(*Controller).Call(0xc000475a70, 0xef3240, 0xc0003187b0, 0xf77435, 0xa, 0xc000475cb0, 0x3, 0x3, 0x413028, 0x70, ...)
/home/harshal/go/pkg/mod/github.com/golang/mock@v1.3.1/gomock/controller.go:217 +0xb4
github.com/cri-o/cri-o/test/mocks/criostorage.(*MockImageServer).CanDecrypt(0xc0003187b0, 0xc00034b760, 0xf91552, 0x22, 0xc0003ec690, 0xc00024a7e0, 0x0, 0x0)
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44 +0x12d
github.com/cri-o/cri-o/internal/pkg/storage.(*runtimeService).createContainerOrPodSandbox(0xc000467740, 0xc00034b760, 0xf74ae0, 0x7, 0xf721ff, 0x5, 0xf76b0a, 0x9, 0x0, 0x0, ...)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime.go:199 +0x2a7f
github.com/cri-o/cri-o/internal/pkg/storage.(*runtimeService).CreatePodSandbox(0xc000467740, 0xc00034b760, 0xf74ae0, 0x7, 0xf721ff, 0x5, 0xf76b0a, 0x9, 0x0, 0x0, ...)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime.go:374 +0x1f2
github.com/cri-o/cri-o/internal/pkg/storage_test.glob..func2.12.8()
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:742 +0xa10
github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc000331140, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:113 +0x9c
github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc000331140, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:64 +0xcf
github.com/onsi/ginkgo/internal/leafnodes.(*ItNode).Run(0xc00033c8a0, 0x10ed9e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/it_node.go:26 +0x64
github.com/onsi/ginkgo/internal/spec.(*Spec).runSample(0xc00023e2d0, 0x0, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:215 +0x596
github.com/onsi/ginkgo/internal/spec.(*Spec).Run(0xc00023e2d0, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:138 +0xf4
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpec(0xc0004afe00, 0xc00023e2d0, 0x0)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:200 +0x10f
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpecs(0xc0004afe00, 0x1)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:170 +0x124
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc0004afe00, 0xc00033b1e8)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:66 +0x117
github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc0000d66e0, 0x7f4c6af49a00, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d200, 0x2, 0x2, 0x110e140, 0xc000086f00, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/suite/suite.go:62 +0x42e
github.com/onsi/ginkgo.RunSpecsWithCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d1e0, 0x2, 0x2, 0x2)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:221 +0x217
github.com/onsi/ginkgo.RunSpecsWithDefaultAndCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc000208f50, 0x1, 0x1, 0x508850)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:209 +0xad
github.com/cri-o/cri-o/test/framework.RunFrameworkSpecs(0xc0000d3000, 0xf73f79, 0x7)
/home/harshal/go/src/github.com/cri-o/cri-o/test/framework/framework.go:99 +0x15b
github.com/cri-o/cri-o/internal/pkg/storage_test.TestStorage(0xc0000d3000)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/suite_test.go:14 +0x98
testing.tRunner(0xc0000d3000, 0xfbe8d8)
/usr/local/go/src/testing/testing.go:865 +0xc0
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:916 +0x35a
------------------------------
• Failure [0.002 seconds]
cri-o: Runtime cri-o: CreateContainer/CreatePodSandbox [It] should fail to create a pod sandbox on names retrieval error
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:752
Unexpected call to *criostoragemock.MockImageServer.CanDecrypt([0xc00034ba20 docker.io/library/imagename:latest 0xc0003edb90]) at /home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44 because:
Expected call at /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:756 doesn't have a prerequisite call satisfied:
*criostoragemock.MockImageServer.GetStore() /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:54
should be called before:
*criostoragemock.MockImageServer.CanDecrypt(is anything, is anything, is anything) /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:756
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44
Full Stack Trace
/home/harshal/go/pkg/mod/github.com/golang/mock@v1.3.1/gomock/controller.go:201 +0x470
github.com/golang/mock/gomock.(*Controller).Call(0xc000475fb0, 0xef3240, 0xc000319f90, 0xf77435, 0xa, 0xc00032bc20, 0x3, 0x3, 0x413028, 0x70, ...)
/home/harshal/go/pkg/mod/github.com/golang/mock@v1.3.1/gomock/controller.go:217 +0xb4
github.com/cri-o/cri-o/test/mocks/criostorage.(*MockImageServer).CanDecrypt(0xc000319f90, 0xc00034ba20, 0xf91552, 0x22, 0xc0003edb90, 0xc00024a9a0, 0x0, 0x0)
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44 +0x12d
github.com/cri-o/cri-o/internal/pkg/storage.(*runtimeService).createContainerOrPodSandbox(0xc000328280, 0xc00034ba20, 0xf74ae0, 0x7, 0xf721ff, 0x5, 0xf76b0a, 0x9, 0x0, 0x0, ...)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime.go:199 +0x2a7f
github.com/cri-o/cri-o/internal/pkg/storage.(*runtimeService).CreatePodSandbox(0xc000328280, 0xc00034ba20, 0xf74ae0, 0x7, 0xf721ff, 0x5, 0xf76b0a, 0x9, 0x0, 0x0, ...)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime.go:374 +0x1f2
github.com/cri-o/cri-o/internal/pkg/storage_test.glob..func2.12.9()
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:768 +0x88a
github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc000331260, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:113 +0x9c
github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc000331260, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:64 +0xcf
github.com/onsi/ginkgo/internal/leafnodes.(*ItNode).Run(0xc00033c940, 0x10ed9e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/it_node.go:26 +0x64
github.com/onsi/ginkgo/internal/spec.(*Spec).runSample(0xc00023e3c0, 0x0, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:215 +0x596
github.com/onsi/ginkgo/internal/spec.(*Spec).Run(0xc00023e3c0, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:138 +0xf4
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpec(0xc0004afe00, 0xc00023e3c0, 0x0)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:200 +0x10f
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpecs(0xc0004afe00, 0x1)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:170 +0x124
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc0004afe00, 0xc00033b1e8)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:66 +0x117
github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc0000d66e0, 0x7f4c6af49a00, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d200, 0x2, 0x2, 0x110e140, 0xc000086f00, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/suite/suite.go:62 +0x42e
github.com/onsi/ginkgo.RunSpecsWithCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d1e0, 0x2, 0x2, 0x2)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:221 +0x217
github.com/onsi/ginkgo.RunSpecsWithDefaultAndCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc000208f50, 0x1, 0x1, 0x508850)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:209 +0xad
github.com/cri-o/cri-o/test/framework.RunFrameworkSpecs(0xc0000d3000, 0xf73f79, 0x7)
/home/harshal/go/src/github.com/cri-o/cri-o/test/framework/framework.go:99 +0x15b
github.com/cri-o/cri-o/internal/pkg/storage_test.TestStorage(0xc0000d3000)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/suite_test.go:14 +0x98
testing.tRunner(0xc0000d3000, 0xfbe8d8)
/usr/local/go/src/testing/testing.go:865 +0xc0
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:916 +0x35a
------------------------------
• Failure [0.002 seconds]
cri-o: Runtime cri-o: CreateContainer/CreatePodSandbox [It] should fail to create a pod sandbox on main creation error
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:778
Unexpected call to *criostoragemock.MockImageServer.CanDecrypt([0xc00034bce0 docker.io/library/imagename:latest 0xc0003e0fc0]) at /home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44 because: there are no expected calls of the method "CanDecrypt" for that receiver
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44
Full Stack Trace
/home/harshal/go/pkg/mod/github.com/golang/mock@v1.3.1/gomock/controller.go:201 +0x470
github.com/golang/mock/gomock.(*Controller).Call(0xc00032bf20, 0xef3240, 0xc0004fb3d0, 0xf77435, 0xa, 0xc00037e240, 0x3, 0x3, 0x413028, 0x70, ...)
/home/harshal/go/pkg/mod/github.com/golang/mock@v1.3.1/gomock/controller.go:217 +0xb4
github.com/cri-o/cri-o/test/mocks/criostorage.(*MockImageServer).CanDecrypt(0xc0004fb3d0, 0xc00034bce0, 0xf91552, 0x22, 0xc0003e0fc0, 0xc00024ab60, 0x0, 0x0)
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44 +0x12d
github.com/cri-o/cri-o/internal/pkg/storage.(*runtimeService).createContainerOrPodSandbox(0xc000328e00, 0xc00034bce0, 0xf74ae0, 0x7, 0xf721ff, 0x5, 0xf76b0a, 0x9, 0x0, 0x0, ...)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime.go:199 +0x2a7f
github.com/cri-o/cri-o/internal/pkg/storage.(*runtimeService).CreatePodSandbox(0xc000328e00, 0xc00034bce0, 0xf74ae0, 0x7, 0xf721ff, 0x5, 0xf76b0a, 0x9, 0x0, 0x0, ...)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime.go:374 +0x1f2
github.com/cri-o/cri-o/internal/pkg/storage_test.glob..func2.12.10()
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:788 +0x393
github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc000331320, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:113 +0x9c
github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc000331320, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:64 +0xcf
github.com/onsi/ginkgo/internal/leafnodes.(*ItNode).Run(0xc00033ca00, 0x10ed9e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/it_node.go:26 +0x64
github.com/onsi/ginkgo/internal/spec.(*Spec).runSample(0xc00023e4b0, 0x0, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:215 +0x596
github.com/onsi/ginkgo/internal/spec.(*Spec).Run(0xc00023e4b0, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:138 +0xf4
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpec(0xc0004afe00, 0xc00023e4b0, 0x0)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:200 +0x10f
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpecs(0xc0004afe00, 0x1)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:170 +0x124
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc0004afe00, 0xc00033b1e8)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:66 +0x117
github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc0000d66e0, 0x7f4c6af49a00, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d200, 0x2, 0x2, 0x110e140, 0xc000086f00, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/suite/suite.go:62 +0x42e
github.com/onsi/ginkgo.RunSpecsWithCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d1e0, 0x2, 0x2, 0x2)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:221 +0x217
github.com/onsi/ginkgo.RunSpecsWithDefaultAndCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc000208f50, 0x1, 0x1, 0x508850)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:209 +0xad
github.com/cri-o/cri-o/test/framework.RunFrameworkSpecs(0xc0000d3000, 0xf73f79, 0x7)
/home/harshal/go/src/github.com/cri-o/cri-o/test/framework/framework.go:99 +0x15b
github.com/cri-o/cri-o/internal/pkg/storage_test.TestStorage(0xc0000d3000)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/suite_test.go:14 +0x98
testing.tRunner(0xc0000d3000, 0xfbe8d8)
/usr/local/go/src/testing/testing.go:865 +0xc0
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:916 +0x35a
------------------------------
• Failure [0.003 seconds]
cri-o: Runtime cri-o: CreateContainer/CreatePodSandbox [It] should fail to create a container on main creation error
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:798
Unexpected call to *criostoragemock.MockImageServer.CanDecrypt([0xc00036a580 docker.io/library/imagename:latest 0xc000390540]) at /home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44 because:
Expected call at /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:802 doesn't have a prerequisite call satisfied:
*criostoragemock.MockImageServer.GetStore() /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:54
should be called before:
*criostoragemock.MockImageServer.CanDecrypt(is anything, is anything, is anything) /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:802
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44
Full Stack Trace
/home/harshal/go/pkg/mod/github.com/golang/mock@v1.3.1/gomock/controller.go:201 +0x470
github.com/golang/mock/gomock.(*Controller).Call(0xc00037e510, 0xef3240, 0xc0001845e0, 0xf77435, 0xa, 0xc00037e750, 0x3, 0x3, 0x413028, 0x70, ...)
/home/harshal/go/pkg/mod/github.com/golang/mock@v1.3.1/gomock/controller.go:217 +0xb4
github.com/cri-o/cri-o/test/mocks/criostorage.(*MockImageServer).CanDecrypt(0xc0001845e0, 0xc00036a580, 0xf91552, 0x22, 0xc000390540, 0xc00024ad20, 0x0, 0x0)
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44 +0x12d
github.com/cri-o/cri-o/internal/pkg/storage.(*runtimeService).createContainerOrPodSandbox(0xc000329680, 0xc00036a580, 0xf74ae0, 0x7, 0xf721ff, 0x5, 0xf76b0a, 0x9, 0x0, 0x0, ...)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime.go:199 +0x2a7f
github.com/cri-o/cri-o/internal/pkg/storage.(*runtimeService).CreateContainer(0xc000329680, 0xc00036a580, 0xf74ae0, 0x7, 0xf721ff, 0x5, 0xf76b0a, 0x9, 0xfaa59f, 0x40, ...)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime.go:378 +0x1d5
github.com/cri-o/cri-o/internal/pkg/storage_test.glob..func2.12.11()
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:809 +0x489
github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc0003313e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:113 +0x9c
github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc0003313e0, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:64 +0xcf
github.com/onsi/ginkgo/internal/leafnodes.(*ItNode).Run(0xc00033caa0, 0x10ed9e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/it_node.go:26 +0x64
github.com/onsi/ginkgo/internal/spec.(*Spec).runSample(0xc00023e5a0, 0x0, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:215 +0x596
github.com/onsi/ginkgo/internal/spec.(*Spec).Run(0xc00023e5a0, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:138 +0xf4
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpec(0xc0004afe00, 0xc00023e5a0, 0x0)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:200 +0x10f
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpecs(0xc0004afe00, 0x1)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:170 +0x124
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc0004afe00, 0xc00033b1e8)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:66 +0x117
github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc0000d66e0, 0x7f4c6af49a00, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d200, 0x2, 0x2, 0x110e140, 0xc000086f00, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/suite/suite.go:62 +0x42e
github.com/onsi/ginkgo.RunSpecsWithCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d1e0, 0x2, 0x2, 0x2)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:221 +0x217
github.com/onsi/ginkgo.RunSpecsWithDefaultAndCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc000208f50, 0x1, 0x1, 0x508850)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:209 +0xad
github.com/cri-o/cri-o/test/framework.RunFrameworkSpecs(0xc0000d3000, 0xf73f79, 0x7)
/home/harshal/go/src/github.com/cri-o/cri-o/test/framework/framework.go:99 +0x15b
github.com/cri-o/cri-o/internal/pkg/storage_test.TestStorage(0xc0000d3000)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/suite_test.go:14 +0x98
testing.tRunner(0xc0000d3000, 0xfbe8d8)
/usr/local/go/src/testing/testing.go:865 +0xc0
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:916 +0x35a
------------------------------
• Failure [0.002 seconds]
cri-o: Runtime cri-o: CreateContainer/CreatePodSandbox [It] should fail to create a container on error accessing local image
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:819
Unexpected call to *criostoragemock.MockImageServer.CanDecrypt([0xc00036a840 docker.io/library/imagename:latest 0xc000391c70]) at /home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44 because:
Expected call at /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:834 doesn't have a prerequisite call satisfied:
*containerstoragemock.MockStore.ImageBigDataSize(is anything, is anything) /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:832
should be called before:
*criostoragemock.MockImageServer.CanDecrypt(is anything, is anything, is anything) /home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:834
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44
Full Stack Trace
/home/harshal/go/pkg/mod/github.com/golang/mock@v1.3.1/gomock/controller.go:201 +0x470
github.com/golang/mock/gomock.(*Controller).Call(0xc00037ea80, 0xef3240, 0xc0001858e0, 0xf77435, 0xa, 0xc00037ecc0, 0x3, 0x3, 0x413028, 0x70, ...)
/home/harshal/go/pkg/mod/github.com/golang/mock@v1.3.1/gomock/controller.go:217 +0xb4
github.com/cri-o/cri-o/test/mocks/criostorage.(*MockImageServer).CanDecrypt(0xc0001858e0, 0xc00036a840, 0xf91552, 0x22, 0xc000391c70, 0xc00024aee0, 0x0, 0x0)
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44 +0x12d
github.com/cri-o/cri-o/internal/pkg/storage.(*runtimeService).createContainerOrPodSandbox(0xc000329f60, 0xc00036a840, 0xf74ae0, 0x7, 0xf721ff, 0x5, 0xf76b0a, 0x9, 0x0, 0x0, ...)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime.go:199 +0x2a7f
github.com/cri-o/cri-o/internal/pkg/storage.(*runtimeService).CreateContainer(0xc000329f60, 0xc00036a840, 0xf74ae0, 0x7, 0xf721ff, 0x5, 0xf76b0a, 0x9, 0xfaa59f, 0x40, ...)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime.go:378 +0x1d5
github.com/cri-o/cri-o/internal/pkg/storage_test.glob..func2.12.12()
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/runtime_test.go:838 +0x9a8
github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc0003314a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:113 +0x9c
github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc0003314a0, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:64 +0xcf
github.com/onsi/ginkgo/internal/leafnodes.(*ItNode).Run(0xc00033cb60, 0x10ed9e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/it_node.go:26 +0x64
github.com/onsi/ginkgo/internal/spec.(*Spec).runSample(0xc00023e690, 0x0, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:215 +0x596
github.com/onsi/ginkgo/internal/spec.(*Spec).Run(0xc00023e690, 0x10ed9e0, 0xc000086f00)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/spec/spec.go:138 +0xf4
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpec(0xc0004afe00, 0xc00023e690, 0x0)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:200 +0x10f
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpecs(0xc0004afe00, 0x1)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:170 +0x124
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc0004afe00, 0xc00033b1e8)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/specrunner/spec_runner.go:66 +0x117
github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc0000d66e0, 0x7f4c6af49a00, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d200, 0x2, 0x2, 0x110e140, 0xc000086f00, ...)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/suite/suite.go:62 +0x42e
github.com/onsi/ginkgo.RunSpecsWithCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc00033d1e0, 0x2, 0x2, 0x2)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:221 +0x217
github.com/onsi/ginkgo.RunSpecsWithDefaultAndCustomReporters(0x10eeaa0, 0xc0000d3000, 0xf73f79, 0x7, 0xc000208f50, 0x1, 0x1, 0x508850)
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/ginkgo_dsl.go:209 +0xad
github.com/cri-o/cri-o/test/framework.RunFrameworkSpecs(0xc0000d3000, 0xf73f79, 0x7)
/home/harshal/go/src/github.com/cri-o/cri-o/test/framework/framework.go:99 +0x15b
github.com/cri-o/cri-o/internal/pkg/storage_test.TestStorage(0xc0000d3000)
/home/harshal/go/src/github.com/cri-o/cri-o/internal/pkg/storage/suite_test.go:14 +0x98
testing.tRunner(0xc0000d3000, 0xfbe8d8)
/usr/local/go/src/testing/testing.go:865 +0xc0
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:916 +0x35a
------------------------------
••••••••••••••••••••••••••••••••••••••
Summarizing 13 Failures:
[Fail] cri-o: Runtime cri-o: CreateContainer/CreatePodSandbox cri-o: success [It] should succeed to create a container
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44
[Fail] cri-o: Runtime cri-o: CreateContainer/CreatePodSandbox cri-o: success [It] should succeed to create a pod sandbox
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44
[Fail] cri-o: Runtime [AfterEach] cri-o: CreateContainer/CreatePodSandbox should fail to create a container on invalid pod ID
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:113
[Fail] cri-o: Runtime [AfterEach] cri-o: CreateContainer/CreatePodSandbox should fail to create a container on invalid pod name
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:113
[Fail] cri-o: Runtime [AfterEach] cri-o: CreateContainer/CreatePodSandbox should fail to create a container on invalid image ID
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:113
[Fail] cri-o: Runtime [AfterEach] cri-o: CreateContainer/CreatePodSandbox should fail to create a container on invalid container name
/home/harshal/go/pkg/mod/github.com/onsi/ginkgo@v1.8.0/internal/leafnodes/runner.go:113
[Fail] cri-o: Runtime cri-o: CreateContainer/CreatePodSandbox [It] should fail to create a container on run dir error
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44
[Fail] cri-o: Runtime cri-o: CreateContainer/CreatePodSandbox [It] should fail to create a container on container dir error
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44
[Fail] cri-o: Runtime cri-o: CreateContainer/CreatePodSandbox [It] should fail to create a pod sandbox on set names error
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44
[Fail] cri-o: Runtime cri-o: CreateContainer/CreatePodSandbox [It] should fail to create a pod sandbox on names retrieval error
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44
[Fail] cri-o: Runtime cri-o: CreateContainer/CreatePodSandbox [It] should fail to create a pod sandbox on main creation error
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44
[Fail] cri-o: Runtime cri-o: CreateContainer/CreatePodSandbox [It] should fail to create a container on main creation error
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44
[Fail] cri-o: Runtime cri-o: CreateContainer/CreatePodSandbox [It] should fail to create a container on error accessing local image
/home/harshal/go/src/github.com/cri-o/cri-o/test/mocks/criostorage/criostorage.go:44
Ran 79 of 79 Specs in 0.124 seconds
FAIL! -- 66 Passed | 13 Failed | 0 Pending | 0 Skipped
--- FAIL: TestStorage (0.13s)
FAIL
coverage: 83.7% of statements
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment