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 4 failed / 37 succeeded
Started2021-04-08 03:41
Elapsed40m25s
Revisionaf07e4f36759678abb425607ba9ab4e35bde9032
Refs 100600

Test Failures


verify gofmt 17s

make verify WHAT=gofmt
diff -u ./pkg/kubelet/cm/node_container_manager_linux.go.orig ./pkg/kubelet/cm/node_container_manager_linux.go
--- ./pkg/kubelet/cm/node_container_manager_linux.go.orig	2021-04-08 03:57:31.836110964 +0000
+++ ./pkg/kubelet/cm/node_container_manager_linux.go	2021-04-08 03:57:31.836110964 +0000
@@ -248,4 +248,3 @@
 	}
 	return nil
 }
-
diff -u ./pkg/kubelet/oom/oom_watcher_linux.go.orig ./pkg/kubelet/oom/oom_watcher_linux.go
--- ./pkg/kubelet/oom/oom_watcher_linux.go.orig	2021-04-08 03:57:32.168110893 +0000
+++ ./pkg/kubelet/oom/oom_watcher_linux.go	2021-04-08 03:57:32.168110893 +0000
@@ -85,4 +85,3 @@
 	}()
 	return nil
 }
-

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

Filter through log files | View test history on testgrid


verify govet 6m52s

make verify WHAT=govet
# k8s.io/kubernetes/pkg/kubelet/oom
vet: pkg/kubelet/oom/oom_watcher_linux_test.go:63:16: cannot use fakeRecorder (variable of type *record.FakeRecorder) as events.EventRecorder value in struct literal: wrong type for method Eventf (have func(object k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime.Object, eventtype string, reason string, messageFmt string, args ...interface{}), want func(regarding k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime.Object, related k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime.Object, eventtype string, reason string, action string, note string, args ...interface{}))
make[1]: *** [Makefile:389: vet] Error 1
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


verify staticcheck 6m49s

make verify WHAT=staticcheck
Errors from staticcheck:
-: could not analyze dependency k8s.io/kubernetes/pkg/kubelet/oom [k8s.io/kubernetes/pkg/kubelet/oom.test] of k8s.io/kubernetes/pkg/kubelet/oom.test (compile)
pkg/kubelet/oom/oom_watcher_linux_test.go:63:16: cannot use fakeRecorder (variable of type *record.FakeRecorder) as events.EventRecorder value in struct literal: wrong type for method Eventf (have func(object k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime.Object, eventtype string, reason string, messageFmt string, args ...interface{}), want func(regarding k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime.Object, related k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime.Object, eventtype string, reason string, action string, note string, args ...interface{})) (compile)

Please review the above warnings. You can test via:
  hack/verify-staticcheck.sh <failing package>
If the above warnings do not make sense, you can exempt the line or file. See:
  https://staticcheck.io/docs/#ignoring-problems
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


verify structured-logging 2m6s

make verify WHAT=structured-logging
/home/prow/go/src/k8s.io/kubernetes/pkg/kubelet/oom/oom_watcher_linux_test.go:63:16: cannot use fakeRecorder (variable of type *record.FakeRecorder) as events.EventRecorder value in struct literal: wrong type for method Eventf (have func(object k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime.Object, eventtype string, reason string, messageFmt string, args ...interface{}), want func(regarding k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime.Object, related k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime.Object, eventtype string, reason string, action string, note string, args ...interface{}))
/home/prow/go/src/k8s.io/kubernetes/pkg/kubelet/oom/oom_watcher_linux_test.go:122:16: cannot use fakeRecorder (variable of type *record.FakeRecorder) as events.EventRecorder value in struct literal: wrong type for method Eventf (have func(object k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime.Object, eventtype string, reason string, messageFmt string, args ...interface{}), want func(regarding k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime.Object, related k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime.Object, eventtype string, reason string, action string, note string, args ...interface{}))
/home/prow/go/src/k8s.io/kubernetes/pkg/kubelet/oom/oom_watcher_linux_test.go:157:16: cannot use fakeRecorder (variable of type *record.FakeRecorder) as events.EventRecorder value in struct literal: wrong type for method Eventf (have func(object k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime.Object, eventtype string, reason string, messageFmt string, args ...interface{}), want func(regarding k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime.Object, related k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime.Object, eventtype string, reason string, action string, note string, args ...interface{}))
logcheck: 3 errors during loading
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


Show 37 Passed Tests