This job view page is being replaced by Spyglass soon. Check out the new job view.
PRcofyc: Prioritizing nodes based on volume capacity
ResultFAILURE
Tests 1 failed / 36 succeeded
Started2021-02-23 02:10
Elapsed30m6s
Revisionddf13e6fcdaf6cc0cfb4b4e1f262130865c8830d
Refs 96347

Test Failures


verify gofmt 15s

make verify WHAT=gofmt
diff -u ./pkg/scheduler/framework/plugins/volumebinding/volume_binding_test.go.orig ./pkg/scheduler/framework/plugins/volumebinding/volume_binding_test.go
--- ./pkg/scheduler/framework/plugins/volumebinding/volume_binding_test.go.orig	2021-02-23 02:23:16.447081027 +0000
+++ ./pkg/scheduler/framework/plugins/volumebinding/volume_binding_test.go	2021-02-23 02:23:16.447081027 +0000
@@ -293,7 +293,7 @@
 			},
 			pvs: []*v1.PersistentVolume{
 				setPVNodeAffinity(makePV("pv-a", waitSC.Name), map[string][]string{
-					"foo": []string{"bar"},
+					"foo": {"bar"},
 				}),
 			},
 			wantStateAfterPreFilter: &stateData{
@@ -353,10 +353,10 @@
 				setPVCRequestStorage(makePVC("pvc-a", "", waitSC.Name), resource.MustParse("50Gi")),
 			},
 			pvs: []*v1.PersistentVolume{
-				setPVNodeAffinity(setPVCapacity(makePV("pv-a-0", waitSC.Name), resource.MustParse("200Gi")), map[string][]string{v1.LabelHostname: []string{"node-a"}}),
-				setPVNodeAffinity(setPVCapacity(makePV("pv-a-1", waitSC.Name), resource.MustParse("200Gi")), map[string][]string{v1.LabelHostname: []string{"node-a"}}),
-				setPVNodeAffinity(setPVCapacity(makePV("pv-b-0", waitSC.Name), resource.MustParse("100Gi")), map[string][]string{v1.LabelHostname: []string{"node-b"}}),
-				setPVNodeAffinity(setPVCapacity(makePV("pv-b-1", waitSC.Name), resource.MustParse("100Gi")), map[string][]string{v1.LabelHostname: []string{"node-b"}}),
+				setPVNodeAffinity(setPVCapacity(makePV("pv-a-0", waitSC.Name), resource.MustParse("200Gi")), map[string][]string{v1.LabelHostname: {"node-a"}}),
+				setPVNodeAffinity(setPVCapacity(makePV("pv-a-1", waitSC.Name), resource.MustParse("200Gi")), map[string][]string{v1.LabelHostname: {"node-a"}}),
+				setPVNodeAffinity(setPVCapacity(makePV("pv-b-0", waitSC.Name), resource.MustParse("100Gi")), map[string][]string{v1.LabelHostname: {"node-b"}}),
+				setPVNodeAffinity(setPVCapacity(makePV("pv-b-1", waitSC.Name), resource.MustParse("100Gi")), map[string][]string{v1.LabelHostname: {"node-b"}}),
 			},
 			feature:             features.VolumeCapacityPriority,
 			wantPreFilterStatus: nil,
@@ -391,14 +391,14 @@
 				setPVCRequestStorage(makePVC("pvc-1", "", waitHDDSC.Name), resource.MustParse("100Gi")),
 			},
 			pvs: []*v1.PersistentVolume{
-				setPVNodeAffinity(setPVCapacity(makePV("pv-a-0", waitSC.Name), resource.MustParse("200Gi")), map[string][]string{v1.LabelHostname: []string{"node-a"}}),
-				setPVNodeAffinity(setPVCapacity(makePV("pv-a-1", waitSC.Name), resource.MustParse("200Gi")), map[string][]string{v1.LabelHostname: []string{"node-a"}}),
-				setPVNodeAffinity(setPVCapacity(makePV("pv-a-2", waitHDDSC.Name), resource.MustParse("200Gi")), map[string][]string{v1.LabelHostname: []string{"node-a"}}),
-				setPVNodeAffinity(setPVCapacity(makePV("pv-a-3", waitHDDSC.Name), resource.MustParse("200Gi")), map[string][]string{v1.LabelHostname: []string{"node-a"}}),
-				setPVNodeAffinity(setPVCapacity(makePV("pv-b-0", waitSC.Name), resource.MustParse("100Gi")), map[string][]string{v1.LabelHostname: []string{"node-b"}}),
-				setPVNodeAffinity(setPVCapacity(makePV("pv-b-1", waitSC.Name), resource.MustParse("100Gi")), map[string][]string{v1.LabelHostname: []string{"node-b"}}),
-				setPVNodeAffinity(setPVCapacity(makePV("pv-b-2", waitHDDSC.Name), resource.MustParse("100Gi")), map[string][]string{v1.LabelHostname: []string{"node-b"}}),
-				setPVNodeAffinity(setPVCapacity(makePV("pv-b-3", waitHDDSC.Name), resource.MustParse("100Gi")), map[string][]string{v1.LabelHostname: []string{"node-b"}}),
+				setPVNodeAffinity(setPVCapacity(makePV("pv-a-0", waitSC.Name), resource.MustParse("200Gi")), map[string][]string{v1.LabelHostname: {"node-a"}}),
+				setPVNodeAffinity(setPVCapacity(makePV("pv-a-1", waitSC.Name), resource.MustParse("200Gi")), map[string][]string{v1.LabelHostname: {"node-a"}}),
+				setPVNodeAffinity(setPVCapacity(makePV("pv-a-2", waitHDDSC.Name), resource.MustParse("200Gi")), map[string][]string{v1.LabelHostname: {"node-a"}}),
+				setPVNodeAffinity(setPVCapacity(makePV("pv-a-3", waitHDDSC.Name), resource.MustParse("200Gi")), map[string][]string{v1.LabelHostname: {"node-a"}}),
+				setPVNodeAffinity(setPVCapacity(makePV("pv-b-0", waitSC.Name), resource.MustParse("100Gi")), map[string][]string{v1.LabelHostname: {"node-b"}}),
+				setPVNodeAffinity(setPVCapacity(makePV("pv-b-1", waitSC.Name), resource.MustParse("100Gi")), map[string][]string{v1.LabelHostname: {"node-b"}}),
+				setPVNodeAffinity(setPVCapacity(makePV("pv-b-2", waitHDDSC.Name), resource.MustParse("100Gi")), map[string][]string{v1.LabelHostname: {"node-b"}}),
+				setPVNodeAffinity(setPVCapacity(makePV("pv-b-3", waitHDDSC.Name), resource.MustParse("100Gi")), map[string][]string{v1.LabelHostname: {"node-b"}}),
 			},
 			feature:             features.VolumeCapacityPriority,
 			wantPreFilterStatus: nil,
@@ -443,20 +443,20 @@
 			},
 			pvs: []*v1.PersistentVolume{
 				setPVNodeAffinity(setPVCapacity(makePV("pv-a-0", waitSC.Name), resource.MustParse("200Gi")), map[string][]string{
-					"topology.kubernetes.io/region": []string{"region-a"},
-					"topology.kubernetes.io/zone":   []string{"zone-a"},
+					"topology.kubernetes.io/region": {"region-a"},
+					"topology.kubernetes.io/zone":   {"zone-a"},
 				}),
 				setPVNodeAffinity(setPVCapacity(makePV("pv-a-1", waitSC.Name), resource.MustParse("200Gi")), map[string][]string{
-					"topology.kubernetes.io/region": []string{"region-a"},
-					"topology.kubernetes.io/zone":   []string{"zone-a"},
+					"topology.kubernetes.io/region": {"region-a"},
+					"topology.kubernetes.io/zone":   {"zone-a"},
 				}),
 				setPVNodeAffinity(setPVCapacity(makePV("pv-b-0", waitSC.Name), resource.MustParse("100Gi")), map[string][]string{
-					"topology.kubernetes.io/region": []string{"region-b"},
-					"topology.kubernetes.io/zone":   []string{"zone-b"},
+					"topology.kubernetes.io/region": {"region-b"},
+					"topology.kubernetes.io/zone":   {"zone-b"},
 				}),
 				setPVNodeAffinity(setPVCapacity(makePV("pv-b-1", waitSC.Name), resource.MustParse("100Gi")), map[string][]string{
-					"topology.kubernetes.io/region": []string{"region-b"},
-					"topology.kubernetes.io/zone":   []string{"zone-b"},
+					"topology.kubernetes.io/region": {"region-b"},
+					"topology.kubernetes.io/zone":   {"zone-b"},
 				}),
 			},
 			feature:             features.VolumeCapacityPriority,

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

Filter through log files | View test history on testgrid


Show 36 Passed Tests

Error lines from build-log.txt

... skipping 1645 lines ...
 				}),
 			},
 			feature:             features.VolumeCapacityPriority,

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

+++ Running case: verify.govet 
+++ working dir: /home/prow/go/src/k8s.io/kubernetes
... skipping 860 lines ...
  found dependency api
processing : mount-utils
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
dbd2641725e9
... skipping 4 lines ...