This job view page is being replaced by Spyglass soon. Check out the new job view.
PRlikakuli: fix a bug that pod stuck in terminating state when container not exist
ResultFAILURE
Tests 1 failed / 42 succeeded
Started2021-11-30 08:55
Elapsed48m46s
Revisiond5d8607069d8d279a706dfbf8baaa44951b49d6b
Refs 106712

Test Failures


verify gofmt 16s

make verify WHAT=gofmt
diff -u ./pkg/kubelet/kuberuntime/kuberuntime_container.go.orig ./pkg/kubelet/kuberuntime/kuberuntime_container.go
--- ./pkg/kubelet/kuberuntime/kuberuntime_container.go.orig	2021-11-30 09:11:43.724345321 +0000
+++ ./pkg/kubelet/kuberuntime/kuberuntime_container.go	2021-11-30 09:11:43.724345321 +0000
@@ -717,10 +717,10 @@
 
 	err := m.runtimeService.StopContainer(containerID.ID, gracePeriod)
 	if err != nil {
-		if !libdocker.IsContainerNotFoundError(err){
+		if !libdocker.IsContainerNotFoundError(err) {
 			klog.ErrorS(err, "Container termination failed with gracePeriod", "pod", klog.KObj(pod), "podUID", pod.UID,
-			"containerName", containerName, "containerID", containerID.String(), "gracePeriod", gracePeriod)
-		}else{
+				"containerName", containerName, "containerID", containerID.String(), "gracePeriod", gracePeriod)
+		} else {
 			err = nil
 			klog.V(3).InfoS("Container not found", "pod", klog.KObj(pod), "podUID", pod.UID,
 				"containerName", containerName, "containerID", containerID.String())

Run ./hack/update-gofmt.sh
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


Show 42 Passed Tests

Error lines from build-log.txt

... skipping 1661 lines ...
@@ -717,10 +717,10 @@
 
 	err := m.runtimeService.StopContainer(containerID.ID, gracePeriod)
 	if err != nil {
-		if !libdocker.IsContainerNotFoundError(err){
+		if !libdocker.IsContainerNotFoundError(err) {
 			klog.ErrorS(err, "Container termination failed with gracePeriod", "pod", klog.KObj(pod), "podUID", pod.UID,
-			"containerName", containerName, "containerID", containerID.String(), "gracePeriod", gracePeriod)
-		}else{
+				"containerName", containerName, "containerID", containerID.String(), "gracePeriod", gracePeriod)
+		} else {
 			err = nil
 			klog.V(3).InfoS("Container not found", "pod", klog.KObj(pod), "podUID", pod.UID,
 				"containerName", containerName, "containerID", containerID.String())

Run ./hack/update-gofmt.sh
+++ exit code: 1
+++ error: 1
FAILED   verify-gofmt.sh	16s
Verifying verify-golangci-lint.sh

+++ Running case: verify.golangci-lint 
+++ working dir: /home/prow/go/src/k8s.io/kubernetes
+++ command: bash "hack/make-rules/../../hack/verify-golangci-lint.sh"
installing golangci-lint 
... skipping 1008 lines ...
  found dependency client-go
  found dependency component-base
Done.
+++ exit code: 0
SUCCESS  verify-publishing-bot.py	0s
========================
FAILED TESTS
========================
hack/make-rules/../../hack/verify-gofmt.sh
make: *** [Makefile:128: verify] Error 1
+ EXIT_VALUE=2
+ set +o xtrace
Cleaning up after docker in docker.
================================================================================
Cleaning up after docker
f4bc625e7dc1
... skipping 4 lines ...