This job view page is being replaced by Spyglass soon. Check out the new job view.
PRdraveness: feat(scheduler): expose SharedInformerFactory to the framework handle
ResultFAILURE
Tests 3 failed / 33 succeeded
Started2019-10-10 03:54
Elapsed54m24s
Revision4964020f55b3a75dd74ffab262e09d97fdf7e3c6
Refs 83663

Test Failures


verify bazel 18s

make verify WHAT=bazel
diff -Naupr -x _output /home/prow/go/src/k8s.io/kubernetes/pkg/scheduler/BUILD /tmp/verify-bazel.0pUxGS/go/src/k8s.io/kubernetes/pkg/scheduler/BUILD
--- /home/prow/go/src/k8s.io/kubernetes/pkg/scheduler/BUILD	2019-10-10 03:54:22.130033267 +0000
+++ /tmp/verify-bazel.0pUxGS/go/src/k8s.io/kubernetes/pkg/scheduler/BUILD	2019-10-10 03:54:41.861681737 +0000
@@ -31,11 +31,7 @@ go_library(
         "//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
         "//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
         "//staging/src/k8s.io/client-go/informers:go_default_library",
-        "//staging/src/k8s.io/client-go/informers/apps/v1:go_default_library",
         "//staging/src/k8s.io/client-go/informers/core/v1:go_default_library",
-        "//staging/src/k8s.io/client-go/informers/policy/v1beta1:go_default_library",
-        "//staging/src/k8s.io/client-go/informers/storage/v1:go_default_library",
-        "//staging/src/k8s.io/client-go/informers/storage/v1beta1:go_default_library",
         "//staging/src/k8s.io/client-go/kubernetes:go_default_library",
         "//staging/src/k8s.io/client-go/tools/cache:go_default_library",
         "//staging/src/k8s.io/client-go/tools/events:go_default_library",

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

Filter through log files | View test history on testgrid


verify govet 7m0s

make verify WHAT=govet
# k8s.io/kubernetes/test/integration/daemonset [k8s.io/kubernetes/test/integration/daemonset.test]
test/integration/daemonset/daemonset_test.go:110:36: cannot use informerFactory.Core().V1().Nodes() (type "k8s.io/kubernetes/vendor/k8s.io/client-go/informers/core/v1".NodeInformer) as type "k8s.io/kubernetes/vendor/k8s.io/client-go/informers/core/v1".PodInformer in argument to scheduler.New:
	"k8s.io/kubernetes/vendor/k8s.io/client-go/informers/core/v1".NodeInformer does not implement "k8s.io/kubernetes/vendor/k8s.io/client-go/informers/core/v1".PodInformer (wrong type for Lister method)
		have Lister() "k8s.io/kubernetes/vendor/k8s.io/client-go/listers/core/v1".NodeLister
		want Lister() "k8s.io/kubernetes/vendor/k8s.io/client-go/listers/core/v1".PodLister
test/integration/daemonset/daemonset_test.go:111:35: cannot use informerFactory.Core().V1().Pods() (type "k8s.io/kubernetes/vendor/k8s.io/client-go/informers/core/v1".PodInformer) as type "k8s.io/kubernetes/vendor/k8s.io/client-go/tools/events".EventRecorder in argument to scheduler.New:
	"k8s.io/kubernetes/vendor/k8s.io/client-go/informers/core/v1".PodInformer does not implement "k8s.io/kubernetes/vendor/k8s.io/client-go/tools/events".EventRecorder (missing Eventf method)
test/integration/daemonset/daemonset_test.go:112:48: cannot use informerFactory.Core().V1().PersistentVolumes() (type "k8s.io/kubernetes/vendor/k8s.io/client-go/informers/core/v1".PersistentVolumeInformer) as type "k8s.io/kubernetes/pkg/scheduler/apis/config".SchedulerAlgorithmSource in argument to scheduler.New
test/integration/daemonset/daemonset_test.go:113:53: cannot use informerFactory.Core().V1().PersistentVolumeClaims() (type "k8s.io/kubernetes/vendor/k8s.io/client-go/informers/core/v1".PersistentVolumeClaimInformer) as type <-chan struct {} in argument to scheduler.New
test/integration/daemonset/daemonset_test.go:114:53: cannot use informerFactory.Core().V1().ReplicationControllers() (type "k8s.io/kubernetes/vendor/k8s.io/client-go/informers/core/v1".ReplicationControllerInformer) as type scheduler.Option in argument to scheduler.New
test/integration/daemonset/daemonset_test.go:115:42: cannot use informerFactory.Apps().V1().ReplicaSets() (type "k8s.io/kubernetes/vendor/k8s.io/client-go/informers/apps/v1".ReplicaSetInformer) as type scheduler.Option in argument to scheduler.New
test/integration/daemonset/daemonset_test.go:116:43: cannot use informerFactory.Apps().V1().StatefulSets() (type "k8s.io/kubernetes/vendor/k8s.io/client-go/informers/apps/v1".StatefulSetInformer) as type scheduler.Option in argument to scheduler.New
test/integration/daemonset/daemonset_test.go:117:39: cannot use informerFactory.Core().V1().Services() (type "k8s.io/kubernetes/vendor/k8s.io/client-go/informers/core/v1".ServiceInformer) as type scheduler.Option in argument to scheduler.New
test/integration/daemonset/daemonset_test.go:118:58: cannot use informerFactory.Policy().V1beta1().PodDisruptionBudgets() (type "k8s.io/kubernetes/vendor/k8s.io/client-go/informers/policy/v1beta1".PodDisruptionBudgetInformer) as type scheduler.Option in argument to scheduler.New
test/integration/daemonset/daemonset_test.go:119:48: cannot use informerFactory.Storage().V1().StorageClasses() (type "k8s.io/kubernetes/vendor/k8s.io/client-go/informers/storage/v1".StorageClassInformer) as type scheduler.Option in argument to scheduler.New
test/integration/daemonset/daemonset_test.go:119:48: too many errors
make[1]: *** [vet] Error 1
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


verify staticcheck 4m24s

make verify WHAT=staticcheck
Errors from staticcheck:
-: could not analyze dependency k8s.io/kubernetes/test/integration/daemonset [k8s.io/kubernetes/test/integration/daemonset.test] of k8s.io/kubernetes/test/integration/daemonset.test (compile)
test/integration/daemonset/daemonset_test.go:110:3: cannot use informerFactory.Core().V1().Nodes() (value of type v1.NodeInformer) as v1.PodInformer value in argument to scheduler.New: wrong type for method Lister (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


Show 33 Passed Tests