This job view page is being replaced by Spyglass soon. Check out the new job view.
PRshawnhanx: Migrate kubelet to use v1 Event API
ResultFAILURE
Tests 1 failed / 31009 succeeded
Started2021-10-27 09:14
Elapsed24m33s
Revisionde829f53e1b251af8fefc6986240d209e252caa9
Refs 100600

Test Failures


k8s.io/kubernetes/pkg/controller/volume/attachdetach Test_AttachDetachControllerRecovery 12s

go test -v k8s.io/kubernetes/pkg/controller/volume/attachdetach -run Test_AttachDetachControllerRecovery$
=== RUN   Test_AttachDetachControllerRecovery
W1027 09:24:06.711624   52732 mutation_detector.go:53] Mutation detector is enabled, this will result in memory leakage.
W1027 09:24:06.711696   52732 mutation_detector.go:53] Mutation detector is enabled, this will result in memory leakage.
W1027 09:24:06.711744   52732 mutation_detector.go:53] Mutation detector is enabled, this will result in memory leakage.
W1027 09:24:06.711809   52732 mutation_detector.go:53] Mutation detector is enabled, this will result in memory leakage.
W1027 09:24:06.711855   52732 mutation_detector.go:53] Mutation detector is enabled, this will result in memory leakage.
W1027 09:24:06.712204   52732 mutation_detector.go:53] Mutation detector is enabled, this will result in memory leakage.
W1027 09:24:06.712257   52732 mutation_detector.go:53] Mutation detector is enabled, this will result in memory leakage.
I1027 09:24:06.717406   52732 shared_informer.go:240] Waiting for caches to sync for attach detach
I1027 09:24:06.823249   52732 shared_informer.go:247] Caches are synced for attach detach 
I1027 09:24:06.830220   52732 reconciler.go:221] attacherDetacher.DetachVolume started for volume "nil" (UniqueName: "kubernetes.io/testPlugin/lostVolumeName") on node "mynode-3" 
I1027 09:24:06.830425   52732 operation_generator.go:1578] Verified volume is safe to detach for volume "nil" (UniqueName: "kubernetes.io/testPlugin/lostVolumeName") on node "mynode-3" 
I1027 09:24:06.830602   52732 operation_generator.go:485] DetachVolume.Detach succeeded for volume "nil" (UniqueName: "kubernetes.io/testPlugin/lostVolumeName") on node "mynode-3" 
I1027 09:24:06.831411   52732 reconciler.go:221] attacherDetacher.DetachVolume started for volume "nil" (UniqueName: "kubernetes.io/testPlugin/lostVolumeName") on node "mynode-4" 
I1027 09:24:06.831595   52732 operation_generator.go:1578] Verified volume is safe to detach for volume "nil" (UniqueName: "kubernetes.io/testPlugin/lostVolumeName") on node "mynode-4" 
I1027 09:24:06.831790   52732 operation_generator.go:485] DetachVolume.Detach succeeded for volume "nil" (UniqueName: "kubernetes.io/testPlugin/lostVolumeName") on node "mynode-4" 
I1027 09:24:06.832526   52732 reconciler.go:221] attacherDetacher.DetachVolume started for volume "nil" (UniqueName: "kubernetes.io/testPlugin/lostVolumeName") on node "mynode" 
I1027 09:24:06.832731   52732 operation_generator.go:1578] Verified volume is safe to detach for volume "nil" (UniqueName: "kubernetes.io/testPlugin/lostVolumeName") on node "mynode" 
I1027 09:24:06.832893   52732 operation_generator.go:485] DetachVolume.Detach succeeded for volume "nil" (UniqueName: "kubernetes.io/testPlugin/lostVolumeName") on node "mynode" 
I1027 09:24:06.833603   52732 reconciler.go:221] attacherDetacher.DetachVolume started for volume "nil" (UniqueName: "kubernetes.io/testPlugin/lostVolumeName") on node "mynode-1" 
I1027 09:24:06.833795   52732 operation_generator.go:1578] Verified volume is safe to detach for volume "nil" (UniqueName: "kubernetes.io/testPlugin/lostVolumeName") on node "mynode-1" 
I1027 09:24:06.833992   52732 operation_generator.go:485] DetachVolume.Detach succeeded for volume "nil" (UniqueName: "kubernetes.io/testPlugin/lostVolumeName") on node "mynode-1" 
I1027 09:24:06.834693   52732 reconciler.go:221] attacherDetacher.DetachVolume started for volume "nil" (UniqueName: "kubernetes.io/testPlugin/lostVolumeName") on node "mynode-2" 
I1027 09:24:06.834941   52732 operation_generator.go:1578] Verified volume is safe to detach for volume "nil" (UniqueName: "kubernetes.io/testPlugin/lostVolumeName") on node "mynode-2" 
I1027 09:24:06.835147   52732 operation_generator.go:485] DetachVolume.Detach succeeded for volume "nil" (UniqueName: "kubernetes.io/testPlugin/lostVolumeName") on node "mynode-2" 
I1027 09:24:06.835523   52732 reconciler.go:304] attacherDetacher.AttachVolume started for volume "volumeName" (UniqueName: "kubernetes.io/testPlugin/volumeName") from node "mynode" 
E1027 09:24:06.835744   52732 nestedpendingoperations.go:335] Operation for "{volumeName:kubernetes.io/testPlugin/volumeName podName: nodeName:mynode}" failed. No retries permitted until 2021-10-27 09:24:07.335605147 +0000 UTC m=+0.816848298 (durationBeforeRetry 500ms). Error: recovered from panic "runtime error: invalid memory address or nil pointer dereference". (err=<nil>) Call stack:
goroutine 167 [running]:
k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime.RecoverFromPanic(0xc000717d78)
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:158 +0x85
panic({0x223b560, 0x374d0b0})
	/usr/local/go/src/runtime/panic.go:1047 +0x266
k8s.io/kubernetes/vendor/k8s.io/api/core/v1.(*PersistentVolume).GetObjectKind(0x0)
	<autogenerated>:1 +0x31
k8s.io/kubernetes/vendor/k8s.io/client-go/tools/reference.GetReference(0xc0003ea0c0, {0x2783a60, 0x0})
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/client-go/tools/reference/ref.go:59 +0x170
k8s.io/kubernetes/vendor/k8s.io/client-go/tools/events.(*recorderImpl).Eventf(0xc0003b8000, {0x2783b00, 0xc0003063e8}, {0x2783a60, 0x0}, {0x24813fa, 0x0}, {0x2495999, 0x16}, {0x248c0f8, ...}, ...)
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/client-go/tools/events/event_recorder.go:54 +0x445
k8s.io/kubernetes/pkg/volume/util/operationexecutor.(*operationGenerator).GenerateAttachVolumeFunc.func1()
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/volume/util/operationexecutor/operation_generator.go:368 +0x870
k8s.io/kubernetes/pkg/volume/util/types.(*GeneratedOperations).Run(0xc000822690)
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/volume/util/types/types.go:79 +0x2aa
k8s.io/kubernetes/pkg/volume/util/nestedpendingoperations.(*nestedPendingOperations).Run.func1()
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/volume/util/nestedpendingoperations/nestedpendingoperations.go:190 +0x1d6
created by k8s.io/kubernetes/pkg/volume/util/nestedpendingoperations.(*nestedPendingOperations).Run
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/volume/util/nestedpendingoperations/nestedpendingoperations.go:185 +0xc2c
I1027 09:24:07.390208   52732 reconciler.go:304] attacherDetacher.AttachVolume started for volume "volumeName" (UniqueName: "kubernetes.io/testPlugin/volumeName") from node "mynode" 
E1027 09:24:07.390698   52732 nestedpendingoperations.go:335] Operation for "{volumeName:kubernetes.io/testPlugin/volumeName podName: nodeName:mynode}" failed. No retries permitted until 2021-10-27 09:24:08.390557067 +0000 UTC m=+1.871800226 (durationBeforeRetry 1s). Error: recovered from panic "runtime error: invalid memory address or nil pointer dereference". (err=<nil>) Call stack:
goroutine 117 [running]:
k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime.RecoverFromPanic(0xc000717d78)
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:158 +0x85
panic({0x223b560, 0x374d0b0})
	/usr/local/go/src/runtime/panic.go:1047 +0x266
k8s.io/kubernetes/vendor/k8s.io/api/core/v1.(*PersistentVolume).GetObjectKind(0x0)
	<autogenerated>:1 +0x31
k8s.io/kubernetes/vendor/k8s.io/client-go/tools/reference.GetReference(0xc0000456c0, {0x2783a60, 0x0})
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/client-go/tools/reference/ref.go:59 +0x170
k8s.io/kubernetes/vendor/k8s.io/client-go/tools/events.(*recorderImpl).Eventf(0xc0003b8000, {0x2783b00, 0xc000306000}, {0x2783a60, 0x0}, {0x24813fa, 0x0}, {0x2495999, 0x16}, {0x248c0f8, ...}, ...)
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/client-go/tools/events/event_recorder.go:54 +0x445
k8s.io/kubernetes/pkg/volume/util/operationexecutor.(*operationGenerator).GenerateAttachVolumeFunc.func1()
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/volume/util/operationexecutor/operation_generator.go:368 +0x870
k8s.io/kubernetes/pkg/volume/util/types.(*GeneratedOperations).Run(0xc00052a390)
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/volume/util/types/types.go:79 +0x2aa
k8s.io/kubernetes/pkg/volume/util/nestedpendingoperations.(*nestedPendingOperations).Run.func1()
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/volume/util/nestedpendingoperations/nestedpendingoperations.go:190 +0x1d6
created by k8s.io/kubernetes/pkg/volume/util/nestedpendingoperations.(*nestedPendingOperations).Run
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/volume/util/nestedpendingoperations/nestedpendingoperations.go:185 +0xc2c
I1027 09:24:08.394913   52732 reconciler.go:304] attacherDetacher.AttachVolume started for volume "volumeName" (UniqueName: "kubernetes.io/testPlugin/volumeName") from node "mynode" 
E1027 09:24:08.397029   52732 nestedpendingoperations.go:335] Operation for "{volumeName:kubernetes.io/testPlugin/volumeName podName: nodeName:mynode}" failed. No retries permitted until 2021-10-27 09:24:10.396895543 +0000 UTC m=+3.878138705 (durationBeforeRetry 2s). Error: recovered from panic "runtime error: invalid memory address or nil pointer dereference". (err=<nil>) Call stack:
goroutine 118 [running]:
k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime.RecoverFromPanic(0xc0001e5d78)
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:158 +0x85
panic({0x223b560, 0x374d0b0})
	/usr/local/go/src/runtime/panic.go:1047 +0x266
k8s.io/kubernetes/vendor/k8s.io/api/core/v1.(*PersistentVolume).GetObjectKind(0x0)
	<autogenerated>:1 +0x31
k8s.io/kubernetes/vendor/k8s.io/client-go/tools/reference.GetReference(0xc000045ac0, {0x2783a60, 0x0})
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/client-go/tools/reference/ref.go:59 +0x170
k8s.io/kubernetes/vendor/k8s.io/client-go/tools/events.(*recorderImpl).Eventf(0xc0003b8000, {0x2783b00, 0xc000306000}, {0x2783a60, 0x0}, {0x24813fa, 0x27ebbd0}, {0x2495999, 0x16}, {0x248c0f8, ...}, ...)
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/client-go/tools/events/event_recorder.go:54 +0x445
k8s.io/kubernetes/pkg/volume/util/operationexecutor.(*operationGenerator).GenerateAttachVolumeFunc.func1()
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/volume/util/operationexecutor/operation_generator.go:368 +0x870
k8s.io/kubernetes/pkg/volume/util/types.(*GeneratedOperations).Run(0xc00052aa80)
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/volume/util/types/types.go:79 +0x2aa
k8s.io/kubernetes/pkg/volume/util/nestedpendingoperations.(*nestedPendingOperations).Run.func1()
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/volume/util/nestedpendingoperations/nestedpendingoperations.go:190 +0x1d6
created by k8s.io/kubernetes/pkg/volume/util/nestedpendingoperations.(*nestedPendingOperations).Run
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/volume/util/nestedpendingoperations/nestedpendingoperations.go:185 +0xc2c
I1027 09:24:10.407372   52732 reconciler.go:304] attacherDetacher.AttachVolume started for volume "volumeName" (UniqueName: "kubernetes.io/testPlugin/volumeName") from node "mynode" 
E1027 09:24:10.407971   52732 nestedpendingoperations.go:335] Operation for "{volumeName:kubernetes.io/testPlugin/volumeName podName: nodeName:mynode}" failed. No retries permitted until 2021-10-27 09:24:14.407840508 +0000 UTC m=+7.889083679 (durationBeforeRetry 4s). Error: recovered from panic "runtime error: invalid memory address or nil pointer dereference". (err=<nil>) Call stack:
goroutine 168 [running]:
k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime.RecoverFromPanic(0xc000787d78)
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:158 +0x85
panic({0x223b560, 0x374d0b0})
	/usr/local/go/src/runtime/panic.go:1047 +0x266
k8s.io/kubernetes/vendor/k8s.io/api/core/v1.(*PersistentVolume).GetObjectKind(0x0)
	<autogenerated>:1 +0x31
k8s.io/kubernetes/vendor/k8s.io/client-go/tools/reference.GetReference(0xc000368200, {0x2783a60, 0x0})
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/client-go/tools/reference/ref.go:59 +0x170
k8s.io/kubernetes/vendor/k8s.io/client-go/tools/events.(*recorderImpl).Eventf(0xc0003b8000, {0x2783b00, 0xc0003067d0}, {0x2783a60, 0x0}, {0x24813fa, 0x0}, {0x2495999, 0x16}, {0x248c0f8, ...}, ...)
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/client-go/tools/events/event_recorder.go:54 +0x445
k8s.io/kubernetes/pkg/volume/util/operationexecutor.(*operationGenerator).GenerateAttachVolumeFunc.func1()
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/volume/util/operationexecutor/operation_generator.go:368 +0x870
k8s.io/kubernetes/pkg/volume/util/types.(*GeneratedOperations).Run(0xc000822bd0)
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/volume/util/types/types.go:79 +0x2aa
k8s.io/kubernetes/pkg/volume/util/nestedpendingoperations.(*nestedPendingOperations).Run.func1()
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/volume/util/nestedpendingoperations/nestedpendingoperations.go:190 +0x1d6
created by k8s.io/kubernetes/pkg/volume/util/nestedpendingoperations.(*nestedPendingOperations).Run
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/volume/util/nestedpendingoperations/nestedpendingoperations.go:185 +0xc2c
I1027 09:24:14.448034   52732 reconciler.go:304] attacherDetacher.AttachVolume started for volume "volumeName" (UniqueName: "kubernetes.io/testPlugin/volumeName") from node "mynode" 
E1027 09:24:14.448583   52732 nestedpendingoperations.go:335] Operation for "{volumeName:kubernetes.io/testPlugin/volumeName podName: nodeName:mynode}" failed. No retries permitted until 2021-10-27 09:24:22.448456347 +0000 UTC m=+15.929699508 (durationBeforeRetry 8s). Error: recovered from panic "runtime error: invalid memory address or nil pointer dereference". (err=<nil>) Call stack:
goroutine 178 [running]:
k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime.RecoverFromPanic(0xc000719d78)
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:158 +0x85
panic({0x223b560, 0x374d0b0})
	/usr/local/go/src/runtime/panic.go:1047 +0x266
k8s.io/kubernetes/vendor/k8s.io/api/core/v1.(*PersistentVolume).GetObjectKind(0x0)
	<autogenerated>:1 +0x31
k8s.io/kubernetes/vendor/k8s.io/client-go/tools/reference.GetReference(0xc00016c300, {0x2783a60, 0x0})
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/client-go/tools/reference/ref.go:59 +0x170
k8s.io/kubernetes/vendor/k8s.io/client-go/tools/events.(*recorderImpl).Eventf(0xc0003b8000, {0x2783b00, 0xc000306fa0}, {0x2783a60, 0x0}, {0x24813fa, 0x27ebbd0}, {0x2495999, 0x16}, {0x248c0f8, ...}, ...)
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/client-go/tools/events/event_recorder.go:54 +0x445
k8s.io/kubernetes/pkg/volume/util/operationexecutor.(*operationGenerator).GenerateAttachVolumeFunc.func1()
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/volume/util/operationexecutor/operation_generator.go:368 +0x870
k8s.io/kubernetes/pkg/volume/util/types.(*GeneratedOperations).Run(0xc00052a120)
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/volume/util/types/types.go:79 +0x2aa
k8s.io/kubernetes/pkg/volume/util/nestedpendingoperations.(*nestedPendingOperations).Run.func1()
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/volume/util/nestedpendingoperations/nestedpendingoperations.go:190 +0x1d6
created by k8s.io/kubernetes/pkg/volume/util/nestedpendingoperations.(*nestedPendingOperations).Run
	/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/volume/util/nestedpendingoperations/nestedpendingoperations.go:185 +0xc2c
    attach_detach_controller_test.go:341: Waiting for the volumes to attach/detach timed out: attached 5 (expected 1); detached 5 (5)
--- FAIL: Test_AttachDetachControllerRecovery (12.12s)

				from junit_20211027-091545.xml

Filter through log files | View test history on testgrid


Show 31009 Passed Tests