This job view page is being replaced by Spyglass soon. Check out the new job view.
PRapelisse: Refactor FieldManager tests to make them simpler
ResultFAILURE
Tests 1 failed / 0 succeeded
Started2019-09-11 20:12
Elapsed9m40s
Revisionc86ee8c712b505feb5fddaa6115784bb05765287
Refs 82554

Test Failures


verify typecheck 9m37s

make verify WHAT=typecheck
ERROR(all) vendor/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/fieldmanager_test.go:165:36: cannot use newObj (variable of type *unstructured.Unstructured) as string value in argument to f.Update
ERROR(all) vendor/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/fieldmanager_test.go:165:44: too many arguments
ERROR(all) vendor/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/fieldmanager_test.go:165:22: cannot initialize 2 variables with 1 values
ERROR(all) vendor/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/fieldmanager_test.go:170:32: cannot use []byte(`{
		"apiVersion": "apps/v1",
		"kind": "Deployment",
		"metadata": {
			"name": "deployment",
		},
		"spec": {
			"replicas": 101,
		}
	}`) (value of type []byte) as string value in argument to f.Apply
ERROR(all) vendor/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/fieldmanager_test.go:179:7: cannot convert "fieldmanager_conflict" (untyped string constant) to bool
ERROR(all) vendor/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/fieldmanager_test.go:179:32: too many arguments
ERROR(all) vendor/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/fieldmanager_test.go:170:11: cannot assign 1 values to 2 variables
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
+++ [0911 20:13:27] Building go targets for linux/amd64:
    ./vendor/k8s.io/kube-openapi/cmd/openapi-gen
+++ [0911 20:13:49] 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) vendor/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/fieldmanager_test.go:165:36: cannot use newObj (variable of type *unstructured.Unstructured) as string value in argument to f.Update
ERROR(all) vendor/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/fieldmanager_test.go:165:44: too many arguments
ERROR(all) vendor/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/fieldmanager_test.go:165:22: cannot initialize 2 variables with 1 values
ERROR(all) vendor/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/fieldmanager_test.go:170:32: cannot use []byte(`{
		"apiVersion": "apps/v1",
		"kind": "Deployment",
		"metadata": {
			"name": "deployment",
		},
		"spec": {
			"replicas": 101,
		}
	}`) (value of type []byte) as string value in argument to f.Apply
ERROR(all) vendor/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/fieldmanager_test.go:179:7: cannot convert "fieldmanager_conflict" (untyped string constant) to bool
ERROR(all) vendor/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/fieldmanager_test.go:179:32: too many arguments
ERROR(all) vendor/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/fieldmanager_test.go:170:11: cannot assign 1 values to 2 variables
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	577s
========================
FAILED TESTS
========================
hack/make-rules/../../hack/verify-typecheck.sh
Makefile:129: recipe for target 'verify' failed
make: *** [verify] Error 1