This job view page is being replaced by Spyglass soon. Check out the new job view.
PRchangshuchao: Use errors.Is in PluginArgs validation tests.
ResultFAILURE
Tests 3 failed / 34 succeeded
Started2020-09-29 17:46
Elapsed32m44s
Revision1bbe6ac130d7bab8162e4a0dfb3eca312405f5d9
Refs 95092

Test Failures


verify gofmt 15s

make verify WHAT=gofmt
diff -u ./pkg/scheduler/apis/config/validation/validation_pluginargs_test.go.orig ./pkg/scheduler/apis/config/validation/validation_pluginargs_test.go
--- ./pkg/scheduler/apis/config/validation/validation_pluginargs_test.go.orig	2020-09-29 17:59:13.566482048 +0000
+++ ./pkg/scheduler/apis/config/validation/validation_pluginargs_test.go	2020-09-29 17:59:13.566482048 +0000
@@ -480,7 +480,7 @@
 			err := ValidateNodeResourcesMostAllocatedArgs(tc.args)
 			if err != nil {
 				assertErr(t, tc.wantErr, ValidateError{errMsg: err.Error()})
-			}else{
+			} else {
 				assertErr(t, tc.wantErr, ValidateError{errMsg: ""})
 			}
 		})

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

Filter through log files | View test history on testgrid


verify govet 4m45s

make verify WHAT=govet
# k8s.io/kubernetes/pkg/scheduler/apis/config/validation
vet: pkg/scheduler/apis/config/validation/validation_pluginargs_test.go:63:29: cannot use err (variable of type error) as ValidateError value in argument to assertErr
make[1]: *** [Makefile:388: vet] Error 1
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


verify staticcheck 5m30s

make verify WHAT=staticcheck
Errors from staticcheck:
-: could not analyze dependency k8s.io/kubernetes/pkg/scheduler/apis/config/validation [k8s.io/kubernetes/pkg/scheduler/apis/config/validation.test] of k8s.io/kubernetes/pkg/scheduler/apis/config/validation.test (compile)
pkg/scheduler/apis/config/validation/validation_pluginargs_test.go:63:29: cannot use err (variable of type error) as ValidateError value in argument to assertErr (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 34 Passed Tests