This job view page is being replaced by Spyglass soon. Check out the new job view.
PRNikhilSharmaWe: added code for embedded resource and x-kubernetes-list-type validation
ResultABORTED
Tests 6 failed / 14 succeeded
Started2022-08-16 14:36
Elapsed34m1s
Revision80bddf1882fe86ccc0322169afec6dc89205dd74
Refs 107860

Test Failures


verify conformance-yaml 2m28s

make verify WHAT=conformance-yaml
# k8s.io/kubernetes/vendor/k8s.io/apiextensions-apiserver/pkg/registry/customresource
vendor/k8s.io/apiextensions-apiserver/pkg/registry/customresource/status_strategy.go:126:44: syntax error: unexpected context in argument list; possibly missing comma or )
!!! [0816 14:44:31] Call tree:
!!! [0816 14:44:31]  1: /home/prow/go/src/k8s.io/kubernetes/hack/lib/golang.sh:921 kube::golang::build_binaries_for_platform(...)
!!! [0816 14:44:31]  2: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [0816 14:44:31] Call tree:
!!! [0816 14:44:31]  1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [0816 14:44:31] Call tree:
!!! [0816 14:44:31]  1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


verify e2e-test-ownership 2.85s

make verify WHAT=e2e-test-ownership
# k8s.io/kubernetes/vendor/k8s.io/apiextensions-apiserver/pkg/registry/customresource
vendor/k8s.io/apiextensions-apiserver/pkg/registry/customresource/status_strategy.go:126:44: syntax error: unexpected context in argument list; possibly missing comma or )
!!! [0816 14:45:41] Call tree:
!!! [0816 14:45:41]  1: /home/prow/go/src/k8s.io/kubernetes/hack/lib/golang.sh:921 kube::golang::build_binaries_for_platform(...)
!!! [0816 14:45:41]  2: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [0816 14:45:41] Call tree:
!!! [0816 14:45:41]  1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [0816 14:45:41] Call tree:
!!! [0816 14:45:41]  1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [0816 14:45:41] Call tree:
!!! [0816 14:45:41]  1: hack/make-rules/../../hack/verify-e2e-test-ownership.sh:206 ensure_dependencies(...)
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


verify generated-docs 1m59s

make verify WHAT=generated-docs
# k8s.io/apiextensions-apiserver/pkg/registry/customresource
vendor/k8s.io/apiextensions-apiserver/pkg/registry/customresource/status_strategy.go:126:44: syntax error: unexpected context in argument list; possibly missing comma or )
!!! [0816 14:51:01] Call tree:
!!! [0816 14:51:01]  1: /home/prow/go/src/k8s.io/kubernetes/hack/lib/golang.sh:762 kube::golang::build_some_binaries(...)
!!! [0816 14:51:01]  2: /home/prow/go/src/k8s.io/kubernetes/hack/lib/golang.sh:921 kube::golang::build_binaries_for_platform(...)
!!! [0816 14:51:01]  3: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [0816 14:51:01] Call tree:
!!! [0816 14:51:01]  1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [0816 14:51:01] Call tree:
!!! [0816 14:51:01]  1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
make[1]: *** [Makefile:96: all] Error 1
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


verify generated-stable-metrics 31s

make verify WHAT=generated-stable-metrics
./staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/status_strategy.go:126:44: missing ',' in argument list (and 9 more errors)
exit status 1
!!! [0816 14:55:09] Call tree:
!!! [0816 14:55:09]  1: hack/make-rules/../../hack/verify-generated-stable-metrics.sh:28 kube::validate::stablemetrics(...)
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


verify gofmt 5.12s

make verify WHAT=gofmt
./staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/status_strategy.go:126:44: missing ',' in argument list
./staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/status_strategy.go:127:2: missing ',' in argument list
./staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/status_strategy.go:128:1: expected operand, found '}'

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

Filter through log files | View test history on testgrid


verify golangci-lint 12m5s

make verify WHAT=golangci-lint
go: downloading github.com/golangci/golangci-lint v1.46.2
go: downloading github.com/fatih/color v1.13.0
go: downloading github.com/gofrs/flock v0.8.1
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/spf13/cobra v1.4.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/spf13/viper v1.11.0
go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
go: downloading golang.org/x/tools v0.1.12
go: downloading github.com/go-critic/go-critic v0.6.3
go: downloading github.com/hashicorp/go-version v1.4.0
go: downloading github.com/ldez/gomoddirectives v0.2.3
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/hashicorp/go-multierror v1.1.1
go: downloading github.com/mattn/go-colorable v0.1.12
go: downloading github.com/sirupsen/logrus v1.8.1
go: downloading github.com/stretchr/testify v1.7.1
go: downloading github.com/go-xmlfmt/xmlfmt v0.0.0-20191208150333-d5b6f63a941b
go: downloading github.com/golangci/revgrep v0.0.0-20210930125155-c22e5001d4f2
go: downloading github.com/mattn/go-isatty v0.0.14
go: downloading github.com/fsnotify/fsnotify v1.5.4
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading github.com/spf13/afero v1.8.2
go: downloading github.com/spf13/cast v1.4.1
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: downloading golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4
go: downloading 4d63.com/gochecknoglobals v0.1.0
go: downloading github.com/Antonboom/errname v0.1.6
go: downloading github.com/Antonboom/nilnil v0.1.1
go: downloading github.com/BurntSushi/toml v1.1.0
go: downloading github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24
go: downloading github.com/GaijinEntertainment/go-exhaustruct/v2 v2.1.0
go: downloading github.com/OpenPeeDeeP/depguard v1.1.0
go: downloading github.com/alexkohler/prealloc v1.0.0
go: downloading github.com/ashanbrown/forbidigo v1.3.0
go: downloading github.com/ashanbrown/makezero v1.1.1
go: downloading github.com/bkielbasa/cyclop v1.2.0
go: downloading github.com/blizzy78/varnamelen v0.8.0
go: downloading github.com/bombsimon/wsl/v3 v3.3.0
go: downloading github.com/breml/bidichk v0.2.3
go: downloading github.com/breml/errchkjson v0.3.0
go: downloading github.com/butuzov/ireturn v0.1.1
go: downloading github.com/charithe/durationcheck v0.0.9
go: downloading github.com/daixiang0/gci v0.3.3
go: downloading github.com/denis-tingaikin/go-header v0.4.3
go: downloading github.com/esimonov/ifshort v1.0.4
go: downloading github.com/firefart/nonamedreturns v1.0.1
go: downloading github.com/fzipp/gocyclo v0.5.1
go: downloading github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2
go: downloading github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a
go: downloading github.com/golangci/go-misc v0.0.0-20220329215616-d24fe342adfe
go: downloading github.com/golangci/gofmt v0.0.0-20190930125516-244bba706f1a
go: downloading github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0
go: downloading github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca
go: downloading github.com/golangci/misspell v0.3.5
go: downloading github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4
go: downloading github.com/gordonklaus/ineffassign v0.0.0-20210914165742-4cc7213b9bc8
go: downloading github.com/gostaticanalysis/forcetypeassert v0.1.0
go: downloading github.com/gostaticanalysis/nilerr v0.1.1
go: downloading github.com/jgautheron/goconst v1.5.1
go: downloading github.com/jingyugao/rowserrcheck v1.1.1
go: downloading github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af
go: downloading github.com/julz/importas v0.1.0
go: downloading github.com/kisielk/errcheck v1.6.0
go: downloading github.com/kulti/thelper v0.6.2
go: downloading github.com/kunwardeep/paralleltest v1.0.3
go: downloading github.com/kyoh86/exportloopref v0.1.8
go: downloading github.com/ldez/tagliatelle v0.3.1
go: downloading github.com/leonklingele/grouper v1.1.0
go: downloading github.com/lufeee/execinquery v1.2.1
go: downloading github.com/maratori/testpackage v1.0.1
go: downloading github.com/matoous/godox v0.0.0-20210227103229-6504466cf951
go: downloading github.com/mbilski/exhaustivestruct v1.2.0
go: downloading github.com/mgechev/revive v1.2.1
go: downloading github.com/moricho/tparallel v0.2.1
go: downloading github.com/nakabonne/nestif v0.3.1
go: downloading github.com/nishanths/exhaustive v0.7.11
go: downloading github.com/nishanths/predeclared v0.2.2
go: downloading github.com/polyfloyd/go-errorlint v1.0.0
go: downloading github.com/ryancurrah/gomodguard v1.2.3
go: downloading github.com/ryanrolds/sqlclosecheck v0.3.0
go: downloading github.com/sanposhiho/wastedassign/v2 v2.0.6
go: downloading github.com/securego/gosec/v2 v2.11.0
go: downloading github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c
go: downloading github.com/sivchari/containedctx v1.0.2
go: downloading github.com/sivchari/tenv v1.5.0
go: downloading github.com/sonatard/noctx v0.0.1
go: downloading github.com/sourcegraph/go-diff v0.6.1
go: downloading github.com/ssgreg/nlreturn/v2 v2.2.1
go: downloading github.com/stbenjam/no-sprintf-host-port v0.1.1
go: downloading github.com/sylvia7788/contextcheck v1.0.4
go: downloading github.com/tdakkota/asciicheck v0.1.1
go: downloading github.com/tetafro/godot v1.4.11
go: downloading github.com/timakin/bodyclose v0.0.0-20210704033933-f49887972144
go: downloading github.com/tomarrell/wrapcheck/v2 v2.6.1
go: downloading github.com/tommy-muehle/go-mnd/v2 v2.5.0
go: downloading github.com/ultraware/funlen v0.0.3
go: downloading github.com/ultraware/whitespace v0.0.5
go: downloading github.com/uudashr/gocognit v1.0.5
go: downloading github.com/yagipy/maintidx v1.0.0
go: downloading github.com/yeya24/promlinter v0.2.0
go: downloading gitlab.com/bosi/decorder v0.2.1
go: downloading honnef.co/go/tools v0.3.1
go: downloading mvdan.cc/gofumpt v0.3.1
go: downloading mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed
go: downloading mvdan.cc/unparam v0.0.0-20211214103731-d0ef000c54e5
go: downloading github.com/hashicorp/errwrap v1.0.0
go: downloading golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading github.com/stretchr/objx v0.1.1
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading gopkg.in/ini.v1 v1.66.4
go: downloading github.com/magiconair/properties v1.8.6
go: downloading github.com/pelletier/go-toml v1.9.5
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading golang.org/x/text v0.3.7
go: downloading github.com/go-toolsmith/astfmt v1.0.0
go: downloading github.com/go-toolsmith/astcast v1.0.0
go: downloading github.com/go-toolsmith/astcopy v1.0.0
go: downloading github.com/go-toolsmith/astequal v1.0.1
go: downloading github.com/go-toolsmith/astp v1.0.0
go: downloading github.com/go-toolsmith/strparse v1.0.0
go: downloading github.com/go-toolsmith/typep v1.0.2
go: downloading github.com/quasilyte/go-ruleguard v0.3.16-0.20220213074421-6aa060fab41a
go: downloading github.com/quasilyte/regex/syntax v0.0.0-20200407221936-30656e2c4a95
go: downloading github.com/gobwas/glob v0.2.3
go: downloading github.com/kisielk/gotool v1.0.0
go: downloading github.com/gostaticanalysis/comment v1.4.2
go: downloading github.com/ettle/strcase v0.1.1
go: downloading github.com/gostaticanalysis/analysisutil v0.7.1
go: downloading github.com/fatih/structtag v1.2.0
go: downloading github.com/Masterminds/semver v1.5.0
go: downloading github.com/phayes/checkstyle v0.0.0-20170904204023-bfd46e6a821d
go: downloading github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354
go: downloading github.com/prometheus/client_golang v1.12.1
go: downloading github.com/prometheus/client_model v0.2.0
go: downloading mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b
go: downloading github.com/google/go-cmp v0.5.7
go: downloading golang.org/x/exp/typeparams v0.0.0-20220218215828-6cf2b201936e
go: downloading golang.org/x/exp v0.0.0-20210220032938-85be41e4509f
go: downloading github.com/hexops/gotextdiff v1.0.3
go: downloading golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4
go: downloading github.com/chavacava/garif v0.0.0-20220316182200-5cad0b5181d4
go: downloading github.com/olekukonko/tablewriter v0.0.5
go: downloading github.com/quasilyte/gogrep v0.0.0-20220120141003-628d8b3623b5
go: downloading github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567
go: downloading github.com/golang/protobuf v1.5.2
go: downloading github.com/prometheus/common v0.32.1
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.1.2
go: downloading github.com/prometheus/procfs v0.7.3
go: downloading google.golang.org/protobuf v1.28.0
go: downloading github.com/mattn/go-runewidth v0.0.9
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading sigs.k8s.io/logtools v0.1.0
running golangci-lint 
cmd/kube-apiserver/app/server.go:127:32: completedOptions.Validate undefined (type completedServerRunOptions has no field or method Validate) (typecheck)
			if errs := completedOptions.Validate(); len(errs) != 0 {
			                            ^
cmd/kube-apiserver/app/server.go:186:215: completedOptions.MasterCount undefined (type completedServerRunOptions has no field or method MasterCount) (typecheck)
	apiExtensionsConfig, err := createAPIExtensionsConfig(*kubeAPIServerConfig.GenericConfig, kubeAPIServerConfig.ExtraConfig.VersionedInformers, pluginInitializer, completedOptions.ServerRunOptions, completedOptions.MasterCount,
	                                                                                                                                                                                                                     ^
cmd/kube-apiserver/app/server.go:254:22: s.AllowPrivileged undefined (type completedServerRunOptions has no field or method AllowPrivileged) (typecheck)
		AllowPrivileged: s.AllowPrivileged,
		                   ^
cmd/kube-apiserver/app/server.go:261:45: s.MaxConnectionBytesPerSec undefined (type completedServerRunOptions has no field or method MaxConnectionBytesPerSec) (typecheck)
		PerConnectionBandwidthLimitBytesPerSec: s.MaxConnectionBytesPerSec,
		                                          ^
cmd/kube-apiserver/app/server.go:264:4: s.Metrics undefined (type completedServerRunOptions has no field or method Metrics) (typecheck)
	s.Metrics.Apply()
	  ^
cmd/kube-apiserver/app/server.go:272:31: s.EventTTL undefined (type completedServerRunOptions has no field or method EventTTL) (typecheck)
			EventTTL:                s.EventTTL,
			                           ^
cmd/kube-apiserver/app/server.go:273:31: s.KubeletConfig undefined (type completedServerRunOptions has no field or method KubeletConfig) (typecheck)
			KubeletClientConfig:     s.KubeletConfig,
			                           ^
cmd/kube-apiserver/app/server.go:274:31: s.EnableLogsHandler undefined (type completedServerRunOptions has no field or method EnableLogsHandler) (typecheck)
			EnableLogsSupport:       s.EnableLogsHandler,
			                           ^
cmd/kube-apiserver/app/server.go:277:31: s.PrimaryServiceClusterIPRange undefined (type completedServerRunOptions has no field or method PrimaryServiceClusterIPRange) (typecheck)
			ServiceIPRange:          s.PrimaryServiceClusterIPRange,
			                           ^
cmd/kube-apiserver/app/server.go:278:31: s.APIServerServiceIP undefined (type completedServerRunOptions has no field or method APIServerServiceIP) (typecheck)
			APIServerServiceIP:      s.APIServerServiceIP,
			                           ^
cmd/kube-apiserver/app/server.go:279:31: s.SecondaryServiceClusterIPRange undefined (type completedServerRunOptions has no field or method SecondaryServiceClusterIPRange) (typecheck)
			SecondaryServiceIPRange: s.SecondaryServiceClusterIPRange,
			                           ^
cmd/kube-apiserver/app/server.go:283:33: s.ServiceNodePortRange undefined (type completedServerRunOptions has no field or method ServiceNodePortRange) (typecheck)
			ServiceNodePortRange:      s.ServiceNodePortRange,
			                             ^
cmd/kube-apiserver/app/server.go:284:33: s.KubernetesServiceNodePort undefined (type completedServerRunOptions has no field or method KubernetesServiceNodePort) (typecheck)
			KubernetesServiceNodePort: s.KubernetesServiceNodePort,
			                             ^
cmd/kube-apiserver/app/server.go:286:47: s.EndpointReconcilerType undefined (type completedServerRunOptions has no field or method EndpointReconcilerType) (typecheck)
			EndpointReconcilerType: reconcilers.Type(s.EndpointReconcilerType),
			                                           ^
cmd/kube-apiserver/app/server.go:287:30: s.MasterCount undefined (type completedServerRunOptions has no field or method MasterCount) (typecheck)
			MasterCount:            s.MasterCount,
			                          ^
cmd/kube-apiserver/app/server.go:289:35: s.ServiceAccountIssuer undefined (type completedServerRunOptions has no field or method ServiceAccountIssuer) (typecheck)
			ServiceAccountIssuer:        s.ServiceAccountIssuer,
			                               ^
cmd/kube-apiserver/app/server.go:290:35: s.ServiceAccountTokenMaxExpiration undefined (type completedServerRunOptions has no field or method ServiceAccountTokenMaxExpiration) (typecheck)
			ServiceAccountMaxExpiration: s.ServiceAccountTokenMaxExpiration,
			                               ^
cmd/kube-apiserver/app/server.go:291:35: s.Authentication undefined (type completedServerRunOptions has no field or method Authentication) (typecheck)
			ExtendExpiration:            s.Authentication.ServiceAccounts.ExtendExpiration,
			                               ^
cmd/kube-apiserver/app/server.go:295:41: s.IdentityLeaseDurationSeconds undefined (type completedServerRunOptions has no field or method IdentityLeaseDurationSeconds) (typecheck)
			IdentityLeaseDurationSeconds:      s.IdentityLeaseDurationSeconds,
			                                     ^
cmd/kube-apiserver/app/server.go:296:41: s.IdentityLeaseRenewIntervalSeconds undefined (type completedServerRunOptions has no field or method IdentityLeaseRenewIntervalSeconds) (typecheck)
			IdentityLeaseRenewIntervalSeconds: s.IdentityLeaseRenewIntervalSeconds,
			                                     ^
cmd/kube-apiserver/app/server.go:300:29: s.Authentication undefined (type completedServerRunOptions has no field or method Authentication) (typecheck)
	clientCAProvider, err := s.Authentication.ClientCert.GetClientCAContentProvider()
	                           ^
cmd/kube-apiserver/app/server.go:306:32: s.Authentication undefined (type completedServerRunOptions has no field or method Authentication) (typecheck)
	requestHeaderConfig, err := s.Authentication.RequestHeader.ToAuthenticationRequestHeaderConfig()
	                              ^
cmd/kube-apiserver/app/server.go:339:22: s.Authentication undefined (type completedServerRunOptions has no field or method Authentication) (typecheck)
	for _, f := range s.Authentication.ServiceAccounts.KeyFiles {
	                    ^
cmd/kube-apiserver/app/server.go:347:49: s.Authentication undefined (type completedServerRunOptions has no field or method Authentication) (typecheck)
	config.ExtraConfig.ServiceAccountIssuerURL = s.Authentication.ServiceAccounts.Issuers[0]
	                                               ^
cmd/kube-apiserver/app/server.go:348:47: s.Authentication undefined (type completedServerRunOptions has no field or method Authentication) (typecheck)
	config.ExtraConfig.ServiceAccountJWKSURI = s.Authentication.ServiceAccounts.JWKSURI
	                                             ^
test/integration/apiserver/apply/apply_crd_beta_test.go:30:2: "k8s.io/apimachinery/pkg/api/errors" imported but not used as apierrors (typecheck)
	apierrors "k8s.io/apimachinery/pkg/api/errors"
	^
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/status_strategy.go:126:44: missing ',' in argument list (typecheck)
func (statusStrategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string {
                                           ^
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/status_strategy.go:127:2: missing ',' in argument list (typecheck)
	return nil
	^
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/status_strategy.go:128:1: expected operand, found '}' (typecheck)
}
^
staging/src/k8s.io/apiextensions-apiserver/test/integration/apply_test.go:27:2: "k8s.io/apimachinery/pkg/api/errors" imported but not used (typecheck)
	"k8s.io/apimachinery/pkg/api/errors"
	^

Please review the above warnings. You can test via "./hack/verify-golangci-lint.sh"
If the above warnings do not make sense, you can exempt this warning with a comment
 (if your reviewer is okay with it).
In general please prefer to fix the error, we have already disabled specific lints
 that the project chooses to ignore.
See: https://golangci-lint.run/usage/false-positives/
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


Show 14 Passed Tests