This job view page is being replaced by Spyglass soon. Check out the new job view.
PRsmarterclayton: kubelet: Record a metric for latency of pod status update
ResultFAILURE
Tests 5 failed / 38 succeeded
Started2022-08-15 20:21
Elapsed42m51s
Revision6d45bdf4449575e52ba5dce2c7d1c85c0aa0064f
Refs 107896

Test Failures


verify conformance-yaml 2m27s

make verify WHAT=conformance-yaml
# k8s.io/kubernetes/pkg/kubelet/status
pkg/kubelet/status/status_manager.go:721:33: metrics.PodStatusSyncDuration.WithLabelValues undefined (type *"k8s.io/kubernetes/vendor/k8s.io/component-base/metrics".Histogram has no field or method WithLabelValues)
!!! [0815 20:28:54] Call tree:
!!! [0815 20:28:54]  1: /home/prow/go/src/k8s.io/kubernetes/hack/lib/golang.sh:921 kube::golang::build_binaries_for_platform(...)
!!! [0815 20:28:54]  2: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [0815 20:28:54] Call tree:
!!! [0815 20:28:54]  1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [0815 20:28:54] Call tree:
!!! [0815 20:28:54]  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.97s

make verify WHAT=e2e-test-ownership
# k8s.io/kubernetes/pkg/kubelet/status
pkg/kubelet/status/status_manager.go:721:33: metrics.PodStatusSyncDuration.WithLabelValues undefined (type *"k8s.io/kubernetes/vendor/k8s.io/component-base/metrics".Histogram has no field or method WithLabelValues)
!!! [0815 20:30:06] Call tree:
!!! [0815 20:30:06]  1: /home/prow/go/src/k8s.io/kubernetes/hack/lib/golang.sh:921 kube::golang::build_binaries_for_platform(...)
!!! [0815 20:30:06]  2: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [0815 20:30:06] Call tree:
!!! [0815 20:30:06]  1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [0815 20:30:06] Call tree:
!!! [0815 20:30:06]  1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [0815 20:30:06] Call tree:
!!! [0815 20:30:06]  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 2m0s

make verify WHAT=generated-docs
# k8s.io/kubernetes/pkg/kubelet/status
pkg/kubelet/status/status_manager.go:721:33: metrics.PodStatusSyncDuration.WithLabelValues undefined (type *"k8s.io/component-base/metrics".Histogram has no field or method WithLabelValues)
!!! [0815 20:35:08] Call tree:
!!! [0815 20:35:08]  1: /home/prow/go/src/k8s.io/kubernetes/hack/lib/golang.sh:762 kube::golang::build_some_binaries(...)
!!! [0815 20:35:08]  2: /home/prow/go/src/k8s.io/kubernetes/hack/lib/golang.sh:921 kube::golang::build_binaries_for_platform(...)
!!! [0815 20:35:08]  3: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [0815 20:35:08] Call tree:
!!! [0815 20:35:08]  1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [0815 20:35:08] Call tree:
!!! [0815 20:35:08]  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 golangci-lint 12m46s

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/spf13/cobra v1.4.0
go: downloading github.com/pkg/errors v0.9.1
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/gobwas/glob v0.2.3
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/kisielk/gotool v1.0.0
go: downloading github.com/gostaticanalysis/comment v1.4.2
go: downloading github.com/gostaticanalysis/analysisutil v0.7.1
go: downloading github.com/ettle/strcase v0.1.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 github.com/google/go-cmp v0.5.7
go: downloading mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b
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/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/golang/protobuf v1.5.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 
pkg/kubelet/kubelet.go:722:30: invalid operation: cannot compare kubeDeps.ProbeManager != nil (operator != not defined on untyped nil) (typecheck)
	if kubeDeps.ProbeManager != nil {
	                            ^
pkg/kubelet/cm/container_manager_linux.go:965:22: invalid operation: cannot compare cm.cpuManager != nil (operator != not defined on untyped nil) (typecheck)
	if cm.cpuManager != nil {
	                    ^
pkg/kubelet/cm/container_manager_linux.go:980:25: invalid operation: cannot compare cm.memoryManager == nil (operator == not defined on untyped nil) (typecheck)
	if cm.memoryManager == nil {
	                       ^
pkg/kubelet/cm/container_manager_linux.go:958:22: invalid operation: cannot compare cm.cpuManager != nil (operator != not defined on untyped nil) (typecheck)
	if cm.cpuManager != nil {
	                    ^
pkg/kubelet/cm/container_manager_linux.go:972:25: invalid operation: cannot compare cm.memoryManager == nil (operator == not defined on untyped nil) (typecheck)
	if cm.memoryManager == nil {
	                       ^
pkg/kubelet/cm/container_manager_linux.go:696:22: invalid operation: cannot compare m.cpuManager != nil (operator != not defined on untyped nil) (typecheck)
		if m.cpuManager != nil {
		                   ^
pkg/kubelet/cm/container_manager_linux.go:703:25: invalid operation: cannot compare m.memoryManager != nil (operator != not defined on untyped nil) (typecheck)
		if m.memoryManager != nil {
		                      ^
pkg/kubelet/cm/internal_container_lifecycle.go:44:21: invalid operation: cannot compare i.cpuManager != nil (operator != not defined on untyped nil) (typecheck)
	if i.cpuManager != nil {
	                   ^
pkg/kubelet/cm/internal_container_lifecycle.go:48:24: invalid operation: cannot compare i.memoryManager != nil (operator != not defined on untyped nil) (typecheck)
	if i.memoryManager != nil {
	                      ^
pkg/kubelet/cm/internal_container_lifecycle_linux.go:31:21: invalid operation: cannot compare i.cpuManager != nil (operator != not defined on untyped nil) (typecheck)
	if i.cpuManager != nil {
	                   ^
pkg/kubelet/cm/internal_container_lifecycle_linux.go:38:24: invalid operation: cannot compare i.memoryManager != nil (operator != not defined on untyped nil) (typecheck)
	if i.memoryManager != nil {
	                      ^
pkg/kubelet/server/server.go:682:20: s.host.GetPodByName undefined (type HostInterface has no field or method GetPodByName) (typecheck)
	pod, ok := s.host.GetPodByName(podNamespace, podID)
	                  ^
pkg/kubelet/server/server.go:721:17: s.host.GetPods undefined (type HostInterface has no field or method GetPods) (typecheck)
	pods := s.host.GetPods()
	               ^
pkg/kubelet/server/server.go:807:20: s.host.GetPodByName undefined (type HostInterface has no field or method GetPodByName) (typecheck)
	pod, ok := s.host.GetPodByName(params.podNamespace, params.podName)
	                  ^
pkg/kubelet/server/server.go:832:20: s.host.GetPodByName undefined (type HostInterface has no field or method GetPodByName) (typecheck)
	pod, ok := s.host.GetPodByName(params.podNamespace, params.podName)
	                  ^
pkg/kubelet/server/server.go:850:20: s.host.GetPodByName undefined (type HostInterface has no field or method GetPodByName) (typecheck)
	pod, ok := s.host.GetPodByName(params.podNamespace, params.podName)
	                  ^
pkg/kubelet/server/server.go:891:20: s.host.GetPodByName undefined (type HostInterface has no field or method GetPodByName) (typecheck)
	pod, ok := s.host.GetPodByName(params.podNamespace, params.podName)
	                  ^
pkg/kubelet/server/server.go:913:20: s.host.GetPodByName undefined (type HostInterface has no field or method GetPodByName) (typecheck)
	pod, ok := s.host.GetPodByName(request.PathParameter("podNamespace"), request.PathParameter("podID"))
	                  ^
pkg/kubelet/server/server.go:1059:16: a.host.GetRequestedContainersInfo undefined (type HostInterface has no field or method GetRequestedContainersInfo) (typecheck)
	return a.host.GetRequestedContainersInfo(containerName, options)
	              ^
pkg/kubelet/stats/cri_stats_provider_test.go:121:3: containerLogStats5 declared but not used (typecheck)
		containerLogStats5 = makeFakeLogStats(5000)
		^
pkg/kubelet/stats/cri_stats_provider_test.go:124:3: containerLogStats8 declared but not used (typecheck)
		containerLogStats8 = makeFakeLogStats(6000)
		^
pkg/kubelet/status/status_manager.go:721:33: metrics.PodStatusSyncDuration.WithLabelValues undefined (type *"k8s.io/component-base/metrics".Histogram has no field or method WithLabelValues) (typecheck)
		metrics.PodStatusSyncDuration.WithLabelValues(strconv.Itoa(0)).Observe(duration.Seconds())
		                              ^

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


verify govet 5m9s

make verify WHAT=govet
# k8s.io/kubernetes/pkg/kubelet/status
pkg/kubelet/status/status_manager.go:721:33: metrics.PodStatusSyncDuration.WithLabelValues undefined (type *"k8s.io/kubernetes/vendor/k8s.io/component-base/metrics".Histogram has no field or method WithLabelValues)
# k8s.io/kubernetes/pkg/kubelet/status
vet: pkg/kubelet/status/status_manager.go:721:33: metrics.PodStatusSyncDuration.WithLabelValues undefined (type *"k8s.io/kubernetes/vendor/k8s.io/component-base/metrics".Histogram has no field or method WithLabelValues)
make[1]: *** [Makefile:365: vet] Error 1
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


Show 38 Passed Tests