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 1 failed / 0 succeeded
Started2019-10-10 03:56
Elapsed11m2s
Revision4964020f55b3a75dd74ffab262e09d97fdf7e3c6
Refs 83663

Test Failures


verify typecheck 10m57s

make verify WHAT=typecheck
ERROR(all) 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
ERROR(all) test/integration/daemonset/daemonset_test.go:111:3: cannot use informerFactory.Core().V1().Pods() (value of type v1.PodInformer) as events.EventRecorder value in argument to scheduler.New: missing method Eventf
ERROR(all) test/integration/daemonset/daemonset_test.go:112:3: cannot use informerFactory.Core().V1().PersistentVolumes() (value of type v1.PersistentVolumeInformer) as config.SchedulerAlgorithmSource value in argument to scheduler.New
ERROR(all) test/integration/daemonset/daemonset_test.go:113:3: cannot use informerFactory.Core().V1().PersistentVolumeClaims() (value of type v1.PersistentVolumeClaimInformer) as <-chan struct{} value in argument to scheduler.New
ERROR(all) test/integration/daemonset/daemonset_test.go:114:3: cannot use informerFactory.Core().V1().ReplicationControllers() (value of type v1.ReplicationControllerInformer) as scheduler.Option value in argument to scheduler.New
ERROR(all) test/integration/daemonset/daemonset_test.go:115:3: cannot use informerFactory.Apps().V1().ReplicaSets() (value of type v1.ReplicaSetInformer) as scheduler.Option value in argument to scheduler.New
ERROR(all) test/integration/daemonset/daemonset_test.go:116:3: cannot use informerFactory.Apps().V1().StatefulSets() (value of type v1.StatefulSetInformer) as scheduler.Option value in argument to scheduler.New
ERROR(all) test/integration/daemonset/daemonset_test.go:117:3: cannot use informerFactory.Core().V1().Services() (value of type v1.ServiceInformer) as scheduler.Option value in argument to scheduler.New
ERROR(all) test/integration/daemonset/daemonset_test.go:118:3: cannot use informerFactory.Policy().V1beta1().PodDisruptionBudgets() (value of type v1beta1.PodDisruptionBudgetInformer) as scheduler.Option value in argument to scheduler.New
ERROR(all) test/integration/daemonset/daemonset_test.go:119:3: cannot use informerFactory.Storage().V1().StorageClasses() (value of type v1.StorageClassInformer) as scheduler.Option value in argument to scheduler.New
ERROR(all) test/integration/daemonset/daemonset_test.go:120:3: cannot use informerFactory.Storage().V1beta1().CSINodes() (value of type v1beta1.CSINodeInformer) as scheduler.Option value in argument to scheduler.New
ERROR(all) test/integration/daemonset/daemonset_test.go:121:3: cannot use eventBroadcaster.NewRecorder(legacyscheme.Scheme, v1.DefaultSchedulerName) (value of type events.EventRecorder) as scheduler.Option value in argument to scheduler.New
ERROR(all) test/integration/daemonset/daemonset_test.go:125:3: cannot use (schedulerconfig.SchedulerAlgorithmSource literal) (value of type config.SchedulerAlgorithmSource) as scheduler.Option value in argument to scheduler.New
ERROR(all) test/integration/daemonset/daemonset_test.go:128:3: cannot use stopCh (variable of type chan struct{}) as scheduler.Option value in argument to scheduler.New
exit status 1
!!! Type Check has failed. This may cause cross platform build failures.
!!! Please see https://git.k8s.io/kubernetes/test/typecheck for more information.
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


Error lines from build-log.txt

... skipping 10 lines ...
    ./vendor/k8s.io/code-generator/cmd/conversion-gen
+++ [1010 03:57:39] Building go targets for linux/amd64:
    ./vendor/k8s.io/kube-openapi/cmd/openapi-gen
+++ [1010 03:57:58] Building go targets for linux/amd64:
    ./vendor/github.com/go-bindata/go-bindata/go-bindata
type-checking:  linux/amd64, windows/386, darwin/amd64, linux/arm, linux/386, windows/amd64, linux/arm64, linux/ppc64le, linux/s390x, darwin/386
ERROR(all) 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
ERROR(all) test/integration/daemonset/daemonset_test.go:111:3: cannot use informerFactory.Core().V1().Pods() (value of type v1.PodInformer) as events.EventRecorder value in argument to scheduler.New: missing method Eventf
ERROR(all) test/integration/daemonset/daemonset_test.go:112:3: cannot use informerFactory.Core().V1().PersistentVolumes() (value of type v1.PersistentVolumeInformer) as config.SchedulerAlgorithmSource value in argument to scheduler.New
ERROR(all) test/integration/daemonset/daemonset_test.go:113:3: cannot use informerFactory.Core().V1().PersistentVolumeClaims() (value of type v1.PersistentVolumeClaimInformer) as <-chan struct{} value in argument to scheduler.New
ERROR(all) test/integration/daemonset/daemonset_test.go:114:3: cannot use informerFactory.Core().V1().ReplicationControllers() (value of type v1.ReplicationControllerInformer) as scheduler.Option value in argument to scheduler.New
ERROR(all) test/integration/daemonset/daemonset_test.go:115:3: cannot use informerFactory.Apps().V1().ReplicaSets() (value of type v1.ReplicaSetInformer) as scheduler.Option value in argument to scheduler.New
ERROR(all) test/integration/daemonset/daemonset_test.go:116:3: cannot use informerFactory.Apps().V1().StatefulSets() (value of type v1.StatefulSetInformer) as scheduler.Option value in argument to scheduler.New
ERROR(all) test/integration/daemonset/daemonset_test.go:117:3: cannot use informerFactory.Core().V1().Services() (value of type v1.ServiceInformer) as scheduler.Option value in argument to scheduler.New
ERROR(all) test/integration/daemonset/daemonset_test.go:118:3: cannot use informerFactory.Policy().V1beta1().PodDisruptionBudgets() (value of type v1beta1.PodDisruptionBudgetInformer) as scheduler.Option value in argument to scheduler.New
ERROR(all) test/integration/daemonset/daemonset_test.go:119:3: cannot use informerFactory.Storage().V1().StorageClasses() (value of type v1.StorageClassInformer) as scheduler.Option value in argument to scheduler.New
ERROR(all) test/integration/daemonset/daemonset_test.go:120:3: cannot use informerFactory.Storage().V1beta1().CSINodes() (value of type v1beta1.CSINodeInformer) as scheduler.Option value in argument to scheduler.New
ERROR(all) test/integration/daemonset/daemonset_test.go:121:3: cannot use eventBroadcaster.NewRecorder(legacyscheme.Scheme, v1.DefaultSchedulerName) (value of type events.EventRecorder) as scheduler.Option value in argument to scheduler.New
ERROR(all) test/integration/daemonset/daemonset_test.go:125:3: cannot use (schedulerconfig.SchedulerAlgorithmSource literal) (value of type config.SchedulerAlgorithmSource) as scheduler.Option value in argument to scheduler.New
ERROR(all) test/integration/daemonset/daemonset_test.go:128:3: cannot use stopCh (variable of type chan struct{}) as scheduler.Option value in argument to scheduler.New
exit status 1
!!! Type Check has failed. This may cause cross platform build failures.
!!! Please see https://git.k8s.io/kubernetes/test/typecheck for more information.
+++ exit code: 1
+++ error: 1
FAILED   verify-typecheck.sh	658s
========================
FAILED TESTS
========================
hack/make-rules/../../hack/verify-typecheck.sh
Makefile:129: recipe for target 'verify' failed
make: *** [verify] Error 1