This job view page is being replaced by Spyglass soon. Check out the new job view.
PRpancernik: Add types for Scheduler plugin args to kube-scheduler.config.k8s.io
ResultFAILURE
Tests 4 failed / 24 succeeded
Started2020-02-28 16:17
Elapsed1h0m
Revision4026600ac75bf2f1ece7bcfff1ea0b4aab833b4f
Refs 88585

Test Failures


verify bazel 32s

make verify WHAT=bazel
diff -Naupr -x _output /home/prow/go/src/k8s.io/kubernetes/pkg/scheduler/BUILD /tmp/verify-bazel.PejpWQ/go/src/k8s.io/kubernetes/pkg/scheduler/BUILD
--- /home/prow/go/src/k8s.io/kubernetes/pkg/scheduler/BUILD	2020-02-28 16:17:00.744405394 +0000
+++ /tmp/verify-bazel.PejpWQ/go/src/k8s.io/kubernetes/pkg/scheduler/BUILD	2020-02-28 16:18:02.329762179 +0000
@@ -19,8 +19,6 @@ go_library(
         "//pkg/scheduler/core:go_default_library",
         "//pkg/scheduler/framework/plugins:go_default_library",
         "//pkg/scheduler/framework/plugins/defaultbinder:go_default_library",
-        "//pkg/scheduler/framework/plugins/interpodaffinity:go_default_library",
-        "//pkg/scheduler/framework/plugins/noderesources:go_default_library",
         "//pkg/scheduler/framework/plugins/queuesort:go_default_library",
         "//pkg/scheduler/framework/v1alpha1:go_default_library",
         "//pkg/scheduler/internal/cache:go_default_library",
@@ -46,6 +44,7 @@ go_library(
         "//staging/src/k8s.io/client-go/listers/core/v1:go_default_library",
         "//staging/src/k8s.io/client-go/listers/policy/v1beta1:go_default_library",
         "//staging/src/k8s.io/client-go/tools/cache:go_default_library",
+        "//staging/src/k8s.io/kube-scheduler/config/v1alpha2:go_default_library",
         "//vendor/k8s.io/klog:go_default_library",
     ],
 )
diff -Naupr -x _output /home/prow/go/src/k8s.io/kubernetes/pkg/scheduler/apis/config/BUILD /tmp/verify-bazel.PejpWQ/go/src/k8s.io/kubernetes/pkg/scheduler/apis/config/BUILD
--- /home/prow/go/src/k8s.io/kubernetes/pkg/scheduler/apis/config/BUILD	2020-02-28 16:17:00.744405394 +0000
+++ /tmp/verify-bazel.PejpWQ/go/src/k8s.io/kubernetes/pkg/scheduler/apis/config/BUILD	2020-02-28 16:18:02.317761135 +0000
@@ -7,6 +7,7 @@ go_library(
         "legacy_types.go",
         "register.go",
         "types.go",
+        "types_pluginargs.go",
         "zz_generated.deepcopy.go",
     ],
     importpath = "k8s.io/kubernetes/pkg/scheduler/apis/config",
diff -Naupr -x _output /home/prow/go/src/k8s.io/kubernetes/pkg/scheduler/apis/config/v1alpha1/BUILD /tmp/verify-bazel.PejpWQ/go/src/k8s.io/kubernetes/pkg/scheduler/apis/config/v1alpha1/BUILD
--- /home/prow/go/src/k8s.io/kubernetes/pkg/scheduler/apis/config/v1alpha1/BUILD	2020-02-28 16:17:00.748405742 +0000
+++ /tmp/verify-bazel.PejpWQ/go/src/k8s.io/kubernetes/pkg/scheduler/apis/config/v1alpha1/BUILD	2020-02-28 16:18:02.317761135 +0000
@@ -17,7 +17,6 @@ go_library(
         "//pkg/apis/core:go_default_library",
         "//pkg/master/ports:go_default_library",
         "//pkg/scheduler/apis/config:go_default_library",
-        "//pkg/scheduler/framework/plugins:go_default_library",
         "//pkg/scheduler/framework/plugins/interpodaffinity:go_default_library",
         "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
         "//staging/src/k8s.io/apimachinery/pkg/conversion:go_default_library",
diff -Naupr -x _output /home/prow/go/src/k8s.io/kubernetes/pkg/scheduler/apis/config/v1alpha2/BUILD /tmp/verify-bazel.PejpWQ/go/src/k8s.io/kubernetes/pkg/scheduler/apis/config/v1alpha2/BUILD
--- /home/prow/go/src/k8s.io/kubernetes/pkg/scheduler/apis/config/v1alpha2/BUILD	2020-02-28 16:17:00.748405742 +0000
+++ /tmp/verify-bazel.PejpWQ/go/src/k8s.io/kubernetes/pkg/scheduler/apis/config/v1alpha2/BUILD	2020-02-28 16:18:02.317761135 +0000
@@ -21,6 +21,7 @@ go_library(
         "//staging/src/k8s.io/apimachinery/pkg/conversion:go_default_library",
         "//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
         "//staging/src/k8s.io/component-base/config/v1alpha1:go_default_library",
+        "//staging/src/k8s.io/kube-scheduler/config/v1:go_default_library",
         "//staging/src/k8s.io/kube-scheduler/config/v1alpha2:go_default_library",
         "//vendor/k8s.io/utils/pointer:go_default_library",
     ],
diff -Naupr -x _output /home/prow/go/src/k8s.io/kubernetes/pkg/scheduler/framework/plugins/BUILD /tmp/verify-bazel.PejpWQ/go/src/k8s.io/kubernetes/pkg/scheduler/framework/plugins/BUILD
--- /home/prow/go/src/k8s.io/kubernetes/pkg/scheduler/framework/plugins/BUILD	2020-02-28 16:17:00.756406438 +0000
+++ /tmp/verify-bazel.PejpWQ/go/src/k8s.io/kubernetes/pkg/scheduler/framework/plugins/BUILD	2020-02-28 16:18:02.321761483 +0000
@@ -34,6 +34,8 @@ go_library(
         "//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
         "//staging/src/k8s.io/apimachinery/pkg/util/sets:go_default_library",
         "//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
+        "//staging/src/k8s.io/kube-scheduler/config/v1:go_default_library",
+        "//staging/src/k8s.io/kube-scheduler/config/v1alpha2:go_default_library",
         "//vendor/k8s.io/klog:go_default_library",
     ],
 )
diff -Naupr -x _output /home/prow/go/src/k8s.io/kubernetes/pkg/scheduler/framework/plugins/interpodaffinity/BUILD /tmp/verify-bazel.PejpWQ/go/src/k8s.io/kubernetes/pkg/scheduler/framework/plugins/interpodaffinity/BUILD
--- /home/prow/go/src/k8s.io/kubernetes/pkg/scheduler/framework/plugins/interpodaffinity/BUILD	2020-02-28 16:17:00.760406786 +0000
+++ /tmp/verify-bazel.PejpWQ/go/src/k8s.io/kubernetes/pkg/scheduler/framework/plugins/interpodaffinity/BUILD	2020-02-28 16:18:02.317761135 +0000
@@ -21,6 +21,7 @@ go_library(
         "//staging/src/k8s.io/apimachinery/pkg/util/sets:go_default_library",
         "//staging/src/k8s.io/apimachinery/pkg/util/validation/field:go_default_library",
         "//staging/src/k8s.io/client-go/util/workqueue:go_default_library",
+        "//staging/src/k8s.io/kube-scheduler/config/v1alpha2:go_default_library",
         "//vendor/k8s.io/klog:go_default_library",
         "//vendor/k8s.io/utils/pointer:go_default_library",
     ],
@@ -40,6 +41,7 @@ go_test(
         "//staging/src/k8s.io/api/core/v1:go_default_library",
         "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
         "//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
+        "//staging/src/k8s.io/kube-scheduler/config/v1alpha2:go_default_library",
         "//vendor/k8s.io/utils/pointer:go_default_library",
     ],
 )
diff -Naupr -x _output /home/prow/go/src/k8s.io/kubernetes/pkg/scheduler/framework/plugins/nodelabel/BUILD /tmp/verify-bazel.PejpWQ/go/src/k8s.io/kubernetes/pkg/scheduler/framework/plugins/nodelabel/BUILD
--- /home/prow/go/src/k8s.io/kubernetes/pkg/scheduler/framework/plugins/nodelabel/BUILD	2020-02-28 16:17:00.768407482 +0000
+++ /tmp/verify-bazel.PejpWQ/go/src/k8s.io/kubernetes/pkg/scheduler/framework/plugins/nodelabel/BUILD	2020-02-28 16:18:02.317761135 +0000
@@ -11,6 +11,7 @@ go_library(
         "//staging/src/k8s.io/api/core/v1:go_default_library",
         "//staging/src/k8s.io/apimachinery/pkg/labels:go_default_library",
         "//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
+        "//staging/src/k8s.io/kube-scheduler/config/v1alpha2:go_default_library",
     ],
 )
 
diff -Naupr -x _output /home/prow/go/src/k8s.io/kubernetes/pkg/scheduler/framework/plugins/noderesources/BUILD /tmp/verify-bazel.PejpWQ/go/src/k8s.io/kubernetes/pkg/scheduler/framework/plugins/noderesources/BUILD
--- /home/prow/go/src/k8s.io/kubernetes/pkg/scheduler/framework/plugins/noderesources/BUILD	2020-02-28 16:17:00.768407482 +0000
+++ /tmp/verify-bazel.PejpWQ/go/src/k8s.io/kubernetes/pkg/scheduler/framework/plugins/noderesources/BUILD	2020-02-28 16:18:02.321761483 +0000
@@ -27,6 +27,7 @@ go_library(
         "//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
         "//staging/src/k8s.io/apimachinery/pkg/util/sets:go_default_library",
         "//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
+        "//staging/src/k8s.io/kube-scheduler/config/v1alpha2:go_default_library",
         "//vendor/k8s.io/klog:go_default_library",
     ],
 )
diff -Naupr -x _output /home/prow/go/src/k8s.io/kubernetes/pkg/scheduler/framework/plugins/serviceaffinity/BUILD /tmp/verify-bazel.PejpWQ/go/src/k8s.io/kubernetes/pkg/scheduler/framework/plugins/serviceaffinity/BUILD
--- /home/prow/go/src/k8s.io/kubernetes/pkg/scheduler/framework/plugins/serviceaffinity/BUILD	2020-02-28 16:17:00.780408526 +0000
+++ /tmp/verify-bazel.PejpWQ/go/src/k8s.io/kubernetes/pkg/scheduler/framework/plugins/serviceaffinity/BUILD	2020-02-28 16:18:02.321761483 +0000
@@ -13,6 +13,7 @@ go_library(
         "//staging/src/k8s.io/apimachinery/pkg/labels:go_default_library",
         "//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
         "//staging/src/k8s.io/client-go/listers/core/v1:go_default_library",
+        "//staging/src/k8s.io/kube-scheduler/config/v1alpha2:go_default_library",
     ],
 )
 
@@ -27,6 +28,7 @@ go_test(
         "//pkg/scheduler/nodeinfo:go_default_library",
         "//staging/src/k8s.io/api/core/v1:go_default_library",
         "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
+        "//staging/src/k8s.io/kube-scheduler/config/v1alpha2:go_default_library",
     ],
 )
 
diff -Naupr -x _output /home/prow/go/src/k8s.io/kubernetes/staging/src/k8s.io/kube-scheduler/config/v1alpha2/BUILD /tmp/verify-bazel.PejpWQ/go/src/k8s.io/kubernetes/staging/src/k8s.io/kube-scheduler/config/v1alpha2/BUILD
--- /home/prow/go/src/k8s.io/kubernetes/staging/src/k8s.io/kube-scheduler/config/v1alpha2/BUILD	2020-02-28 16:17:01.820498990 +0000
+++ /tmp/verify-bazel.PejpWQ/go/src/k8s.io/kubernetes/staging/src/k8s.io/kube-scheduler/config/v1alpha2/BUILD	2020-02-28 16:18:02.569783057 +0000
@@ -6,6 +6,7 @@ go_library(
         "doc.go",
         "register.go",
         "types.go",
+        "types_pluginargs.go",
         "zz_generated.deepcopy.go",
     ],
     importmap = "k8s.io/kubernetes/vendor/k8s.io/kube-scheduler/config/v1alpha2",
@@ -16,6 +17,7 @@ go_library(
         "//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
         "//staging/src/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
         "//staging/src/k8s.io/component-base/config/v1alpha1:go_default_library",
+        "//staging/src/k8s.io/kube-scheduler/config/v1:go_default_library",
     ],
 )
 
diff -Naupr -x _output /home/prow/go/src/k8s.io/kubernetes/vendor/k8s.io/kube-scheduler/config/v1alpha2/BUILD /tmp/verify-bazel.PejpWQ/go/src/k8s.io/kubernetes/vendor/k8s.io/kube-scheduler/config/v1alpha2/BUILD
--- /home/prow/go/src/k8s.io/kubernetes/vendor/k8s.io/kube-scheduler/config/v1alpha2/BUILD	2020-02-28 16:17:01.820498990 +0000
+++ /tmp/verify-bazel.PejpWQ/go/src/k8s.io/kubernetes/vendor/k8s.io/kube-scheduler/config/v1alpha2/BUILD	2020-02-28 16:18:02.569783057 +0000
@@ -6,6 +6,7 @@ go_library(
         "doc.go",
         "register.go",
         "types.go",
+        "types_pluginargs.go",
         "zz_generated.deepcopy.go",
     ],
     importmap = "k8s.io/kubernetes/vendor/k8s.io/kube-scheduler/config/v1alpha2",
@@ -16,6 +17,7 @@ go_library(
         "//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
         "//staging/src/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
         "//staging/src/k8s.io/component-base/config/v1alpha1:go_default_library",
+        "//staging/src/k8s.io/kube-scheduler/config/v1: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 generated-docs 2m12s

make verify WHAT=generated-docs
# k8s.io/kubernetes/cmd/kube-scheduler/app/options
cmd/kube-scheduler/app/options/deprecated.go:131:11: undefined: interpodaffinity.Args
!!! [0228 16:34:13] Call tree:
!!! [0228 16:34:13]  1: /home/prow/go/src/k8s.io/kubernetes/hack/lib/golang.sh:716 kube::golang::build_some_binaries(...)
!!! [0228 16:34:13]  2: /home/prow/go/src/k8s.io/kubernetes/hack/lib/golang.sh:860 kube::golang::build_binaries_for_platform(...)
!!! [0228 16:34:13]  3: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [0228 16:34:13] Call tree:
!!! [0228 16:34:13]  1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [0228 16:34:13] Call tree:
!!! [0228 16:34:13]  1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
make[1]: *** [Makefile:93: all] Error 1
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


verify govet 3m43s

make verify WHAT=govet
# k8s.io/kubernetes/cmd/kube-scheduler/app/options
cmd/kube-scheduler/app/options/deprecated.go:131:11: undefined: interpodaffinity.Args
make[1]: *** [Makefile:386: vet] Error 1
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


verify imports 20s

make verify WHAT=imports
2020/02/28 17:11:18 Inspecting imports under ./pkg/apis/core/...
2020/02/28 17:11:19 - validating imports for 11 packages in the tree
2020/02/28 17:11:19 - OK
2020/02/28 17:11:19 Inspecting imports under ./vendor/k8s.io/cli-runtime/pkg/genericclioptions/...
2020/02/28 17:11:19 - validating imports for 1 packages in the tree
2020/02/28 17:11:19 - OK
2020/02/28 17:11:19 Inspecting imports under ./vendor/k8s.io/apimachinery/...
2020/02/28 17:11:19 - validating imports for 79 packages in the tree
2020/02/28 17:11:19 - OK
2020/02/28 17:11:19 Inspecting imports under ./vendor/k8s.io/api/...
2020/02/28 17:11:20 - validating imports for 44 packages in the tree
2020/02/28 17:11:20 - OK
2020/02/28 17:11:20 Inspecting imports under ./vendor/k8s.io/code-generator/...
2020/02/28 17:11:20 - validating imports for 33 packages in the tree
2020/02/28 17:11:20 - OK
2020/02/28 17:11:20 Inspecting imports under ./vendor/k8s.io/component-base/...
2020/02/28 17:11:20 - validating imports for 21 packages in the tree
2020/02/28 17:11:20 - OK
2020/02/28 17:11:20 Inspecting imports under ./vendor/k8s.io/client-go/...
2020/02/28 17:11:21 - validating imports for 343 packages in the tree
2020/02/28 17:11:21 - OK
2020/02/28 17:11:21 Inspecting imports under ./vendor/k8s.io/client-go/rest/...
2020/02/28 17:11:22 - validating imports for 3 packages in the tree
2020/02/28 17:11:22 - OK
2020/02/28 17:11:22 Inspecting imports under ./vendor/k8s.io/client-go/tools/...
2020/02/28 17:11:22 - validating imports for 18 packages in the tree
2020/02/28 17:11:22 - OK
2020/02/28 17:11:22 Inspecting imports under ./vendor/k8s.io/apiserver/...
2020/02/28 17:11:23 - validating imports for 158 packages in the tree
2020/02/28 17:11:23 - OK
2020/02/28 17:11:23 Inspecting imports under ./vendor/k8s.io/metrics/...
2020/02/28 17:11:23 - validating imports for 31 packages in the tree
2020/02/28 17:11:23 - OK
2020/02/28 17:11:23 Inspecting imports under ./vendor/k8s.io/kube-aggregator/...
2020/02/28 17:11:24 - validating imports for 39 packages in the tree
2020/02/28 17:11:24 - OK
2020/02/28 17:11:24 Inspecting imports under ./vendor/k8s.io/kubectl/...
2020/02/28 17:11:25 - validating imports for 82 packages in the tree
2020/02/28 17:11:25 - OK
2020/02/28 17:11:25 Inspecting imports under ./vendor/k8s.io/sample-apiserver/...
2020/02/28 17:11:26 - validating imports for 29 packages in the tree
2020/02/28 17:11:26 - OK
2020/02/28 17:11:26 Inspecting imports under ./vendor/k8s.io/apiextensions-apiserver/...
2020/02/28 17:11:26 - validating imports for 70 packages in the tree
2020/02/28 17:11:26 - OK
2020/02/28 17:11:26 Inspecting imports under ./vendor/k8s.io/kube-openapi/...
2020/02/28 17:11:27 - validating imports for 14 packages in the tree
2020/02/28 17:11:27 - OK
2020/02/28 17:11:27 Inspecting imports under ./vendor/k8s.io/sample-cli-plugin/...
2020/02/28 17:11:27 - validating imports for 2 packages in the tree
2020/02/28 17:11:27 - OK
2020/02/28 17:11:27 Inspecting imports under ./vendor/k8s.io/kube-controller-manager/...
2020/02/28 17:11:27 - validating imports for 1 packages in the tree
2020/02/28 17:11:27 - OK
2020/02/28 17:11:27 Inspecting imports under ./vendor/k8s.io/kube-proxy/...
2020/02/28 17:11:28 - validating imports for 1 packages in the tree
2020/02/28 17:11:28 - OK
2020/02/28 17:11:28 Inspecting imports under ./vendor/k8s.io/kube-scheduler/...
2020/02/28 17:11:28 - validating imports for 4 packages in the tree
2020/02/28 17:11:28 -- found forbidden imports for k8s.io/kubernetes/vendor/k8s.io/kube-scheduler/config/v1alpha2:
2020/02/28 17:11:28 --- k8s.io/kube-scheduler/config/v1
2020/02/28 17:11:28 - FAIL
2020/02/28 17:11:28 Inspecting imports under ./vendor/k8s.io/kubelet/...
2020/02/28 17:11:28 - validating imports for 6 packages in the tree
2020/02/28 17:11:28 - OK
2020/02/28 17:11:28 Inspecting imports under ./vendor/k8s.io/cluster-bootstrap/...
2020/02/28 17:11:28 - validating imports for 5 packages in the tree
2020/02/28 17:11:28 - OK
2020/02/28 17:11:28 Inspecting imports under ./vendor/k8s.io/cloud-provider/...
2020/02/28 17:11:29 - validating imports for 8 packages in the tree
2020/02/28 17:11:29 - OK
2020/02/28 17:11:29 Inspecting imports under ./vendor/k8s.io/legacy-cloud-providers/...
2020/02/28 17:11:30 - validating imports for 45 packages in the tree
2020/02/28 17:11:30 - OK
2020/02/28 17:11:30 Inspecting imports under ./vendor/k8s.io/csi-translation-lib/...
2020/02/28 17:11:30 - validating imports for 2 packages in the tree
2020/02/28 17:11:30 - OK
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


Show 24 Passed Tests