PR | rokkiter: explicitly allow nil error parameters |
Result | FAILURE |
Tests | 6 failed / 37 succeeded |
Started | |
Elapsed | 45m4s |
Revision | 36960db0686b2a58f34c3afa754e6103a7890896 |
Refs |
109797 |
make verify WHAT=cli-conventions
# k8s.io/client-go/discovery/cached/disk vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:75:4: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:82:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:86:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:91:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:111:4: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:118:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:122:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:127:3: undefined: klog !!! [0514 12:21:04] Call tree: !!! [0514 12:21:04] 1: /home/prow/go/src/k8s.io/kubernetes/hack/lib/golang.sh:730 kube::golang::build_some_binaries(...) !!! [0514 12:21:04] 2: /home/prow/go/src/k8s.io/kubernetes/hack/lib/golang.sh:888 kube::golang::build_binaries_for_platform(...) !!! [0514 12:21:04] 3: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) !!! [0514 12:21:04] Call tree: !!! [0514 12:21:04] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) !!! [0514 12:21:04] Call tree: !!! [0514 12:21:04] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) make[1]: *** [Makefile:94: all] Error 1from junit_verify.xml
# k8s.io/client-go/discovery/cached/disk vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:75:4: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:82:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:86:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:91:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:111:4: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:118:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:122:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:127:3: undefined: klog !!! [0514 12:21:04] Call tree: !!! [0514 12:21:04] 1: /home/prow/go/src/k8s.io/kubernetes/hack/lib/golang.sh:730 kube::golang::build_some_binaries(...) !!! [0514 12:21:04] 2: /home/prow/go/src/k8s.io/kubernetes/hack/lib/golang.sh:888 kube::golang::build_binaries_for_platform(...) !!! [0514 12:21:04] 3: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) !!! [0514 12:21:04] Call tree: !!! [0514 12:21:04] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) !!! [0514 12:21:04] Call tree: !!! [0514 12:21:04] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) make[1]: *** [Makefile:94: all] Error 1
Filter through log files | View test history on testgrid
make verify WHAT=conformance-yaml
# k8s.io/kubernetes/vendor/k8s.io/client-go/discovery/cached/disk vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:75:4: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:82:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:86:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:91:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:111:4: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:118:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:122:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:127:3: undefined: klog !!! [0514 12:26:38] Call tree: !!! [0514 12:26:38] 1: /home/prow/go/src/k8s.io/kubernetes/hack/lib/golang.sh:888 kube::golang::build_binaries_for_platform(...) !!! [0514 12:26:38] 2: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) !!! [0514 12:26:38] Call tree: !!! [0514 12:26:38] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) !!! [0514 12:26:38] Call tree: !!! [0514 12:26:38] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)from junit_verify.xml
# k8s.io/kubernetes/vendor/k8s.io/client-go/discovery/cached/disk vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:75:4: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:82:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:86:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:91:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:111:4: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:118:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:122:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:127:3: undefined: klog !!! [0514 12:26:38] Call tree: !!! [0514 12:26:38] 1: /home/prow/go/src/k8s.io/kubernetes/hack/lib/golang.sh:888 kube::golang::build_binaries_for_platform(...) !!! [0514 12:26:38] 2: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) !!! [0514 12:26:38] Call tree: !!! [0514 12:26:38] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) !!! [0514 12:26:38] Call tree: !!! [0514 12:26:38] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
Filter through log files | View test history on testgrid
make verify WHAT=e2e-test-ownership
# k8s.io/kubernetes/vendor/k8s.io/client-go/discovery/cached/disk vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:75:4: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:82:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:86:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:91:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:111:4: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:118:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:122:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:127:3: undefined: klog !!! [0514 12:27:54] Call tree: !!! [0514 12:27:54] 1: /home/prow/go/src/k8s.io/kubernetes/hack/lib/golang.sh:888 kube::golang::build_binaries_for_platform(...) !!! [0514 12:27:54] 2: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) !!! [0514 12:27:54] Call tree: !!! [0514 12:27:54] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) !!! [0514 12:27:54] Call tree: !!! [0514 12:27:54] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) !!! [0514 12:27:54] Call tree: !!! [0514 12:27:54] 1: hack/make-rules/../../hack/verify-e2e-test-ownership.sh:218 ensure_dependencies(...)from junit_verify.xml
# k8s.io/kubernetes/vendor/k8s.io/client-go/discovery/cached/disk vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:75:4: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:82:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:86:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:91:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:111:4: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:118:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:122:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:127:3: undefined: klog !!! [0514 12:27:54] Call tree: !!! [0514 12:27:54] 1: /home/prow/go/src/k8s.io/kubernetes/hack/lib/golang.sh:888 kube::golang::build_binaries_for_platform(...) !!! [0514 12:27:54] 2: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) !!! [0514 12:27:54] Call tree: !!! [0514 12:27:54] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) !!! [0514 12:27:54] Call tree: !!! [0514 12:27:54] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) !!! [0514 12:27:54] Call tree: !!! [0514 12:27:54] 1: hack/make-rules/../../hack/verify-e2e-test-ownership.sh:218 ensure_dependencies(...)
Filter through log files | View test history on testgrid
make verify WHAT=generated-docs
# k8s.io/client-go/discovery/cached/disk vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:75:4: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:82:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:86:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:91:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:111:4: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:118:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:122:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:127:3: undefined: klog !!! [0514 12:33:33] Call tree: !!! [0514 12:33:33] 1: /home/prow/go/src/k8s.io/kubernetes/hack/lib/golang.sh:730 kube::golang::build_some_binaries(...) !!! [0514 12:33:33] 2: /home/prow/go/src/k8s.io/kubernetes/hack/lib/golang.sh:888 kube::golang::build_binaries_for_platform(...) !!! [0514 12:33:33] 3: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) !!! [0514 12:33:33] Call tree: !!! [0514 12:33:33] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) !!! [0514 12:33:33] Call tree: !!! [0514 12:33:33] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) make[1]: *** [Makefile:94: all] Error 1from junit_verify.xml
# k8s.io/client-go/discovery/cached/disk vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:75:4: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:82:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:86:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:91:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:111:4: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:118:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:122:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:127:3: undefined: klog !!! [0514 12:33:33] Call tree: !!! [0514 12:33:33] 1: /home/prow/go/src/k8s.io/kubernetes/hack/lib/golang.sh:730 kube::golang::build_some_binaries(...) !!! [0514 12:33:33] 2: /home/prow/go/src/k8s.io/kubernetes/hack/lib/golang.sh:888 kube::golang::build_binaries_for_platform(...) !!! [0514 12:33:33] 3: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) !!! [0514 12:33:33] Call tree: !!! [0514 12:33:33] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) !!! [0514 12:33:33] Call tree: !!! [0514 12:33:33] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) make[1]: *** [Makefile:94: all] Error 1
Filter through log files | View test history on testgrid
make verify WHAT=golangci-lint
go: downloading github.com/golangci/golangci-lint v1.45.0 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/pflag v1.0.5 go: downloading github.com/spf13/viper v1.10.1 go: downloading github.com/spf13/cobra v1.4.0 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b go: downloading golang.org/x/tools v0.1.10 go: downloading github.com/go-critic/go-critic v0.6.2 go: downloading github.com/mitchellh/go-homedir v1.1.0 go: downloading github.com/hashicorp/go-version v1.2.1 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.0 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.1 go: downloading github.com/magiconair/properties v1.8.5 go: downloading github.com/mitchellh/mapstructure v1.4.3 go: downloading github.com/spf13/afero v1.6.0 go: downloading github.com/spf13/cast v1.4.1 go: downloading github.com/spf13/jwalterweatherman v1.1.0 go: downloading github.com/subosito/gotenv v1.2.0 go: downloading gopkg.in/ini.v1 v1.66.2 go: downloading 4d63.com/gochecknoglobals v0.1.0 go: downloading github.com/Antonboom/errname v0.1.5 go: downloading github.com/Antonboom/nilnil v0.1.0 go: downloading github.com/BurntSushi/toml v1.0.0 go: downloading github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 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.6.0 go: downloading github.com/bombsimon/wsl/v3 v3.3.0 go: downloading github.com/breml/bidichk v0.2.2 go: downloading github.com/breml/errchkjson v0.2.3 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/fzipp/gocyclo v0.4.0 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-20180628070357-927a3d87b613 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.5.1 go: downloading github.com/kunwardeep/paralleltest v1.0.3 go: downloading github.com/kyoh86/exportloopref v0.1.8 go: downloading github.com/ldez/gomoddirectives v0.2.2 go: downloading github.com/ldez/tagliatelle v0.3.1 go: downloading github.com/leonklingele/grouper v1.1.0 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.1.4 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.1 go: downloading github.com/polyfloyd/go-errorlint v0.0.0-20211125173453-6d6d39c5bb8b 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.10.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.4.7 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/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.5.0 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.1.1-0.20210918184747-d757024714a1 go: downloading gitlab.com/bosi/decorder v0.2.1 go: downloading honnef.co/go/tools v0.2.2 go: downloading mvdan.cc/gofumpt v0.3.0 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-20220209214540-3681064d5158 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/hashicorp/hcl v1.0.0 go: downloading github.com/pelletier/go-toml v1.9.4 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.15 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/gostaticanalysis/analysisutil v0.7.1 go: downloading golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 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.7.1 go: downloading github.com/prometheus/client_model v0.2.0 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 go: downloading mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b go: downloading github.com/google/go-cmp v0.5.7 go: downloading github.com/hexops/gotextdiff v1.0.3 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c go: downloading github.com/chavacava/garif v0.0.0-20210405164556-e8a0a408d6af go: downloading github.com/olekukonko/tablewriter v0.0.5 go: downloading github.com/quasilyte/gogrep v0.0.0-20220103110004-ffaa07af02e3 go: downloading github.com/golang/protobuf v1.5.2 go: downloading github.com/prometheus/common v0.10.0 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.6.0 go: downloading github.com/mattn/go-runewidth v0.0.9 go: downloading google.golang.org/protobuf v1.27.1 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1 go: downloading k8s.io/klog/hack/tools v0.0.0-20220321210246-c697110cd8ac go: downloading golang.org/x/exp v0.0.0-20210220032938-85be41e4509f running golangci-lint pkg/kubectl/cmd/convert/convert.go:196:39: o.Out undefined (type *ConvertOptions has no field or method Out) (typecheck) return o.Printer.PrintObj(objects, o.Out) ^ level=warning msg="[runner] Can't run linter goanalysis_metalinter: buildir: failed to load package disk: could not load export data: no export data for \"k8s.io/client-go/discovery/cached/disk\"" level=error msg="Running error: 1 error occurred:\n\t* can't run linter goanalysis_metalinter: buildir: failed to load package disk: could not load export data: no export data for \"k8s.io/client-go/discovery/cached/disk\"\n\n" staging/src/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:111:4: undeclared name: `klog` (typecheck) klog.V(10).Infof("returning cached discovery info from %v", filename) ^ staging/src/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:118:3: undeclared name: `klog` (typecheck) klog.V(3).Infof("skipped caching discovery info due to %v", err) ^ staging/src/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:122:3: undeclared name: `klog` (typecheck) klog.V(3).Infof("skipped caching discovery info, no groups found") ^ staging/src/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:127:3: undeclared name: `klog` (typecheck) klog.V(1).Infof("failed to write cache to %v due to %v", filename, err) ^ staging/src/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:75:4: undeclared name: `klog` (typecheck) klog.V(10).Infof("returning cached discovery info from %v", filename) ^ staging/src/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:82:3: undeclared name: `klog` (typecheck) klog.V(3).Infof("skipped caching discovery info due to %v", err) ^ staging/src/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:86:3: undeclared name: `klog` (typecheck) klog.V(3).Infof("skipped caching discovery info, no resources found") ^ staging/src/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:91:3: undeclared name: `klog` (typecheck) klog.V(1).Infof("failed to write cache to %v due to %v", filename, err) ^ staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiresources.go:140:34: o.Out undefined (type *APIResourceOptions has no field or method Out) (typecheck) w := printers.GetNewTabWriter(o.Out) ^ staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiversions.go:95:18: o.Out undefined (type *APIVersionsOptions has no field or method Out) (typecheck) fmt.Fprintln(o.Out, v) ^ staging/src/k8s.io/kubectl/pkg/cmd/autoscale/autoscale.go:233:35: o.Out undefined (type *AutoscaleOptions has no field or method Out) (typecheck) return printer.PrintObj(hpa, o.Out) ^ staging/src/k8s.io/kubectl/pkg/cmd/autoscale/autoscale.go:260:40: o.Out undefined (type *AutoscaleOptions has no field or method Out) (typecheck) return printer.PrintObj(actualHPA, o.Out) ^ staging/src/k8s.io/kubectl/pkg/cmd/events/events.go:212:19: o.ErrOut undefined (type EventsOptions has no field or method ErrOut) (typecheck) fmt.Fprintln(o.ErrOut, "No events found.") ^ staging/src/k8s.io/kubectl/pkg/cmd/events/events.go:214:18: o.ErrOut undefined (type EventsOptions has no field or method ErrOut) (typecheck) fmt.Fprintf(o.ErrOut, "No events found in %s namespace.\n", o.Namespace) ^ staging/src/k8s.io/kubectl/pkg/cmd/events/events.go:219:34: o.Out undefined (type EventsOptions has no field or method Out) (typecheck) w := printers.GetNewTabWriter(o.Out) ^ staging/src/k8s.io/kubectl/pkg/cmd/events/events.go:236:34: o.Out undefined (type EventsOptions has no field or method Out) (typecheck) w := printers.GetNewTabWriter(o.Out) ^ staging/src/k8s.io/kubectl/pkg/cmd/explain/explain.go:162:53: o.Out undefined (type *ExplainOptions has no field or method Out) (typecheck) return explain.PrintModelDescription(fieldsPath, o.Out, schema, gvk, recursive) ^ staging/src/k8s.io/kubectl/pkg/cmd/scale/scale.go:246:37: o.Out undefined (type *ScaleOptions has no field or method Out) (typecheck) return o.PrintObj(info.Object, o.Out) ^ staging/src/k8s.io/kubectl/pkg/cmd/scale/scale.go:266:36: o.Out undefined (type *ScaleOptions has no field or method Out) (typecheck) return o.PrintObj(info.Object, o.Out) ^ staging/src/k8s.io/kubectl/pkg/cmd/testing/fake.go:519:19: f.ToDiscoveryClient undefined (type *TestFactory has no field or method ToDiscoveryClient) (typecheck) client, err := f.ToDiscoveryClient() ^ staging/src/k8s.io/kubectl/pkg/cmd/testing/fake.go:538:5: f.ToRESTMapper undefined (type *TestFactory has no field or method ToRESTMapper) (typecheck) f.ToRESTMapper, ^ staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:368:19: o.Out undefined (type AnnotateOptions has no field or method Out) (typecheck) fmt.Fprintf(o.Out, "Listing annotations for %s.%s/%s:\n", gvks[0].Kind, gvks[0].Group, info.Name) ^ staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:371:19: o.Out undefined (type AnnotateOptions has no field or method Out) (typecheck) fmt.Fprintf(o.Out, "%s%s=%s\n", indent, k, v) ^ staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:377:34: o.Out undefined (type AnnotateOptions has no field or method Out) (typecheck) return o.PrintObj(outputObj, o.Out) ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:539:33: o.ErrOut undefined (type *ApplyOptions has no field or method ErrOut) (typecheck) WarnIfDeleting(info.Object, o.ErrOut) ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:554:44: o.Out undefined (type *ApplyOptions has no field or method Out) (typecheck) if err = printer.PrintObj(info.Object, o.Out); err != nil { ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:600:44: o.Out undefined (type *ApplyOptions has no field or method Out) (typecheck) if err = printer.PrintObj(info.Object, o.Out); err != nil { ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:614:18: o.ErrOut undefined (type *ApplyOptions has no field or method ErrOut) (typecheck) fmt.Fprintf(o.ErrOut, warningNoLastAppliedConfigAnnotation, info.ObjectName(), corev1.LastAppliedConfigAnnotation, o.cmdBaseName) ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:621:116: o.ErrOut undefined (type *ApplyOptions has no field or method ErrOut) (typecheck) patchBytes, patchedObject, err := patcher.Patch(info.Object, modified, info.Source, info.Namespace, info.Name, o.ErrOut) ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:628:33: o.ErrOut undefined (type *ApplyOptions has no field or method ErrOut) (typecheck) WarnIfDeleting(info.Object, o.ErrOut) ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:635:45: o.Out undefined (type *ApplyOptions has no field or method Out) (typecheck) if err = printer.PrintObj(info.Object, o.Out); err != nil { ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:650:43: o.Out undefined (type *ApplyOptions has no field or method Out) (typecheck) if err = printer.PrintObj(info.Object, o.Out); err != nil { ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:704:44: o.Out undefined (type *ApplyOptions has no field or method Out) (typecheck) if err := printer.PrintObj(objToPrint, o.Out); err != nil { ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_set_last_applied.go:191:18: o.Out undefined (type *SetLastAppliedOptions has no field or method Out) (typecheck) fmt.Fprintf(o.Out, "set-last-applied %s: no changes required.\n", info.Name) ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_set_last_applied.go:224:36: o.Out undefined (type *SetLastAppliedOptions has no field or method Out) (typecheck) if err := o.PrintObj(finalObj, o.Out); err != nil { ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_view_last_applied.go:158:17: o.Out undefined (type *ViewLastAppliedOptions has no field or method Out) (typecheck) fmt.Fprint(o.Out, string(jsonBuffer.Bytes())) ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_view_last_applied.go:164:17: o.Out undefined (type *ViewLastAppliedOptions has no field or method Out) (typecheck) fmt.Fprint(o.Out, string(yamlOutput)) ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/prune.go:67:10: o.Out undefined (type *ApplyOptions has no field or method Out) (typecheck) out: o.Out, ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:116:39: o.ContainerName undefined (type *AttachOptions has no field or method ContainerName) (typecheck) cmdutil.AddContainerVarFlags(cmd, &o.ContainerName, o.ContainerName) ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:117:26: o.Stdin undefined (type *AttachOptions has no field or method Stdin) (typecheck) cmd.Flags().BoolVarP(&o.Stdin, "stdin", "i", o.Stdin, "Pass stdin to the container") ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:118:26: o.TTY undefined (type *AttachOptions has no field or method TTY) (typecheck) cmd.Flags().BoolVarP(&o.TTY, "tty", "t", o.TTY, "Stdin is a TTY") ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:119:26: o.Quiet undefined (type *AttachOptions has no field or method Quiet) (typecheck) cmd.Flags().BoolVarP(&o.Quiet, "quiet", "q", o.Quiet, "Only print output from the remote session") ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:142:17: o.Stdin undefined (type *AttachOptions has no field or method Stdin) (typecheck) Stdin: o.Stdin, ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:143:17: o.Out undefined (type *AttachOptions has no field or method Out) (typecheck) Stdout: o.Out != nil, ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:148:57: o.In undefined (type *AttachOptions has no field or method In) (typecheck) return o.Attach.Attach("POST", req.URL(), o.Config, o.In, o.Out, o.ErrOut, raw, sizeQueue) ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:173:4: o.Namespace undefined (type *AttachOptions has no field or method Namespace) (typecheck) o.Namespace, _, err = f.ToRawKubeConfigLoader().Namespace() ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:222:21: o.Namespace undefined (type *AttachOptions has no field or method Namespace) (typecheck) NamespaceParam(o.Namespace).DefaultNamespace() ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:252:7: o.TTY undefined (type *AttachOptions has no field or method TTY) (typecheck) if o.TTY && !containerToAttach.TTY { ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:253:5: o.TTY undefined (type *AttachOptions has no field or method TTY) (typecheck) o.TTY = false ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:254:9: o.Quiet undefined (type *AttachOptions has no field or method Quiet) (typecheck) if !o.Quiet && o.ErrOut != nil { ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:255:18: o.ErrOut undefined (type *AttachOptions has no field or method ErrOut) (typecheck) fmt.Fprintf(o.ErrOut, "error: Unable to use a TTY - container %s did not allocate one\n", containerToAttach.Name) ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:257:15: o.TTY undefined (type *AttachOptions has no field or method TTY) (typecheck) } else if !o.TTY && containerToAttach.TTY { ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:260:5: o.TTY undefined (type *AttachOptions has no field or method TTY) (typecheck) o.TTY = true ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:264:9: o.SetupTTY undefined (type *AttachOptions has no field or method SetupTTY) (typecheck) t := o.SetupTTY() ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:282:8: o.Quiet undefined (type *AttachOptions has no field or method Quiet) (typecheck) if !o.Quiet { ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:283:18: o.ErrOut undefined (type *AttachOptions has no field or method ErrOut) (typecheck) fmt.Fprintln(o.ErrOut, "If you don't see a command prompt, try pressing enter.") ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:289:8: o.Quiet undefined (type *AttachOptions has no field or method Quiet) (typecheck) if !o.Quiet && o.Stdin && t.Raw && o.Pod.Spec.RestartPolicy == corev1.RestartPolicyAlways { ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:290:17: o.Out undefined (type *AttachOptions has no field or method Out) (typecheck) fmt.Fprintf(o.Out, "Session ended, resume using '%s %s -c %s -i -t' command when the pod is running\n", o.CommandName, o.Pod.Name, containerToAttach.Name) ^ staging/src/k8s.io/sample-cli-plugin/pkg/cmd/ns.go:225:18: o.Out undefined (type *NamespaceOptions has no field or method Out) (typecheck) fmt.Fprintf(o.Out, "%s\n", c.Namespace) ^ staging/src/k8s.io/sample-cli-plugin/pkg/cmd/ns.go:246:17: o.Out undefined (type *NamespaceOptions has no field or method Out) (typecheck) fmt.Fprintf(o.Out, "%s\n", n) ^ staging/src/k8s.io/sample-cli-plugin/pkg/cmd/ns.go:287:16: o.Out undefined (type *NamespaceOptions has no field or method Out) (typecheck) fmt.Fprintf(o.Out, "namespace changed to %q\n", fromContext.Namespace) ^ 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/from junit_verify.xml
go: downloading github.com/golangci/golangci-lint v1.45.0 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/pflag v1.0.5 go: downloading github.com/spf13/viper v1.10.1 go: downloading github.com/spf13/cobra v1.4.0 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b go: downloading golang.org/x/tools v0.1.10 go: downloading github.com/go-critic/go-critic v0.6.2 go: downloading github.com/mitchellh/go-homedir v1.1.0 go: downloading github.com/hashicorp/go-version v1.2.1 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.0 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.1 go: downloading github.com/magiconair/properties v1.8.5 go: downloading github.com/mitchellh/mapstructure v1.4.3 go: downloading github.com/spf13/afero v1.6.0 go: downloading github.com/spf13/cast v1.4.1 go: downloading github.com/spf13/jwalterweatherman v1.1.0 go: downloading github.com/subosito/gotenv v1.2.0 go: downloading gopkg.in/ini.v1 v1.66.2 go: downloading 4d63.com/gochecknoglobals v0.1.0 go: downloading github.com/Antonboom/errname v0.1.5 go: downloading github.com/Antonboom/nilnil v0.1.0 go: downloading github.com/BurntSushi/toml v1.0.0 go: downloading github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 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.6.0 go: downloading github.com/bombsimon/wsl/v3 v3.3.0 go: downloading github.com/breml/bidichk v0.2.2 go: downloading github.com/breml/errchkjson v0.2.3 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/fzipp/gocyclo v0.4.0 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-20180628070357-927a3d87b613 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.5.1 go: downloading github.com/kunwardeep/paralleltest v1.0.3 go: downloading github.com/kyoh86/exportloopref v0.1.8 go: downloading github.com/ldez/gomoddirectives v0.2.2 go: downloading github.com/ldez/tagliatelle v0.3.1 go: downloading github.com/leonklingele/grouper v1.1.0 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.1.4 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.1 go: downloading github.com/polyfloyd/go-errorlint v0.0.0-20211125173453-6d6d39c5bb8b 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.10.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.4.7 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/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.5.0 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.1.1-0.20210918184747-d757024714a1 go: downloading gitlab.com/bosi/decorder v0.2.1 go: downloading honnef.co/go/tools v0.2.2 go: downloading mvdan.cc/gofumpt v0.3.0 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-20220209214540-3681064d5158 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/hashicorp/hcl v1.0.0 go: downloading github.com/pelletier/go-toml v1.9.4 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.15 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/gostaticanalysis/analysisutil v0.7.1 go: downloading golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 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.7.1 go: downloading github.com/prometheus/client_model v0.2.0 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 go: downloading mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b go: downloading github.com/google/go-cmp v0.5.7 go: downloading github.com/hexops/gotextdiff v1.0.3 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c go: downloading github.com/chavacava/garif v0.0.0-20210405164556-e8a0a408d6af go: downloading github.com/olekukonko/tablewriter v0.0.5 go: downloading github.com/quasilyte/gogrep v0.0.0-20220103110004-ffaa07af02e3 go: downloading github.com/golang/protobuf v1.5.2 go: downloading github.com/prometheus/common v0.10.0 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.6.0 go: downloading github.com/mattn/go-runewidth v0.0.9 go: downloading google.golang.org/protobuf v1.27.1 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1 go: downloading k8s.io/klog/hack/tools v0.0.0-20220321210246-c697110cd8ac go: downloading golang.org/x/exp v0.0.0-20210220032938-85be41e4509f running golangci-lint pkg/kubectl/cmd/convert/convert.go:196:39: o.Out undefined (type *ConvertOptions has no field or method Out) (typecheck) return o.Printer.PrintObj(objects, o.Out) ^ level=warning msg="[runner] Can't run linter goanalysis_metalinter: buildir: failed to load package disk: could not load export data: no export data for \"k8s.io/client-go/discovery/cached/disk\"" level=error msg="Running error: 1 error occurred:\n\t* can't run linter goanalysis_metalinter: buildir: failed to load package disk: could not load export data: no export data for \"k8s.io/client-go/discovery/cached/disk\"\n\n" staging/src/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:111:4: undeclared name: `klog` (typecheck) klog.V(10).Infof("returning cached discovery info from %v", filename) ^ staging/src/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:118:3: undeclared name: `klog` (typecheck) klog.V(3).Infof("skipped caching discovery info due to %v", err) ^ staging/src/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:122:3: undeclared name: `klog` (typecheck) klog.V(3).Infof("skipped caching discovery info, no groups found") ^ staging/src/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:127:3: undeclared name: `klog` (typecheck) klog.V(1).Infof("failed to write cache to %v due to %v", filename, err) ^ staging/src/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:75:4: undeclared name: `klog` (typecheck) klog.V(10).Infof("returning cached discovery info from %v", filename) ^ staging/src/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:82:3: undeclared name: `klog` (typecheck) klog.V(3).Infof("skipped caching discovery info due to %v", err) ^ staging/src/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:86:3: undeclared name: `klog` (typecheck) klog.V(3).Infof("skipped caching discovery info, no resources found") ^ staging/src/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:91:3: undeclared name: `klog` (typecheck) klog.V(1).Infof("failed to write cache to %v due to %v", filename, err) ^ staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiresources.go:140:34: o.Out undefined (type *APIResourceOptions has no field or method Out) (typecheck) w := printers.GetNewTabWriter(o.Out) ^ staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiversions.go:95:18: o.Out undefined (type *APIVersionsOptions has no field or method Out) (typecheck) fmt.Fprintln(o.Out, v) ^ staging/src/k8s.io/kubectl/pkg/cmd/autoscale/autoscale.go:233:35: o.Out undefined (type *AutoscaleOptions has no field or method Out) (typecheck) return printer.PrintObj(hpa, o.Out) ^ staging/src/k8s.io/kubectl/pkg/cmd/autoscale/autoscale.go:260:40: o.Out undefined (type *AutoscaleOptions has no field or method Out) (typecheck) return printer.PrintObj(actualHPA, o.Out) ^ staging/src/k8s.io/kubectl/pkg/cmd/events/events.go:212:19: o.ErrOut undefined (type EventsOptions has no field or method ErrOut) (typecheck) fmt.Fprintln(o.ErrOut, "No events found.") ^ staging/src/k8s.io/kubectl/pkg/cmd/events/events.go:214:18: o.ErrOut undefined (type EventsOptions has no field or method ErrOut) (typecheck) fmt.Fprintf(o.ErrOut, "No events found in %s namespace.\n", o.Namespace) ^ staging/src/k8s.io/kubectl/pkg/cmd/events/events.go:219:34: o.Out undefined (type EventsOptions has no field or method Out) (typecheck) w := printers.GetNewTabWriter(o.Out) ^ staging/src/k8s.io/kubectl/pkg/cmd/events/events.go:236:34: o.Out undefined (type EventsOptions has no field or method Out) (typecheck) w := printers.GetNewTabWriter(o.Out) ^ staging/src/k8s.io/kubectl/pkg/cmd/explain/explain.go:162:53: o.Out undefined (type *ExplainOptions has no field or method Out) (typecheck) return explain.PrintModelDescription(fieldsPath, o.Out, schema, gvk, recursive) ^ staging/src/k8s.io/kubectl/pkg/cmd/scale/scale.go:246:37: o.Out undefined (type *ScaleOptions has no field or method Out) (typecheck) return o.PrintObj(info.Object, o.Out) ^ staging/src/k8s.io/kubectl/pkg/cmd/scale/scale.go:266:36: o.Out undefined (type *ScaleOptions has no field or method Out) (typecheck) return o.PrintObj(info.Object, o.Out) ^ staging/src/k8s.io/kubectl/pkg/cmd/testing/fake.go:519:19: f.ToDiscoveryClient undefined (type *TestFactory has no field or method ToDiscoveryClient) (typecheck) client, err := f.ToDiscoveryClient() ^ staging/src/k8s.io/kubectl/pkg/cmd/testing/fake.go:538:5: f.ToRESTMapper undefined (type *TestFactory has no field or method ToRESTMapper) (typecheck) f.ToRESTMapper, ^ staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:368:19: o.Out undefined (type AnnotateOptions has no field or method Out) (typecheck) fmt.Fprintf(o.Out, "Listing annotations for %s.%s/%s:\n", gvks[0].Kind, gvks[0].Group, info.Name) ^ staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:371:19: o.Out undefined (type AnnotateOptions has no field or method Out) (typecheck) fmt.Fprintf(o.Out, "%s%s=%s\n", indent, k, v) ^ staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:377:34: o.Out undefined (type AnnotateOptions has no field or method Out) (typecheck) return o.PrintObj(outputObj, o.Out) ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:539:33: o.ErrOut undefined (type *ApplyOptions has no field or method ErrOut) (typecheck) WarnIfDeleting(info.Object, o.ErrOut) ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:554:44: o.Out undefined (type *ApplyOptions has no field or method Out) (typecheck) if err = printer.PrintObj(info.Object, o.Out); err != nil { ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:600:44: o.Out undefined (type *ApplyOptions has no field or method Out) (typecheck) if err = printer.PrintObj(info.Object, o.Out); err != nil { ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:614:18: o.ErrOut undefined (type *ApplyOptions has no field or method ErrOut) (typecheck) fmt.Fprintf(o.ErrOut, warningNoLastAppliedConfigAnnotation, info.ObjectName(), corev1.LastAppliedConfigAnnotation, o.cmdBaseName) ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:621:116: o.ErrOut undefined (type *ApplyOptions has no field or method ErrOut) (typecheck) patchBytes, patchedObject, err := patcher.Patch(info.Object, modified, info.Source, info.Namespace, info.Name, o.ErrOut) ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:628:33: o.ErrOut undefined (type *ApplyOptions has no field or method ErrOut) (typecheck) WarnIfDeleting(info.Object, o.ErrOut) ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:635:45: o.Out undefined (type *ApplyOptions has no field or method Out) (typecheck) if err = printer.PrintObj(info.Object, o.Out); err != nil { ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:650:43: o.Out undefined (type *ApplyOptions has no field or method Out) (typecheck) if err = printer.PrintObj(info.Object, o.Out); err != nil { ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:704:44: o.Out undefined (type *ApplyOptions has no field or method Out) (typecheck) if err := printer.PrintObj(objToPrint, o.Out); err != nil { ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_set_last_applied.go:191:18: o.Out undefined (type *SetLastAppliedOptions has no field or method Out) (typecheck) fmt.Fprintf(o.Out, "set-last-applied %s: no changes required.\n", info.Name) ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_set_last_applied.go:224:36: o.Out undefined (type *SetLastAppliedOptions has no field or method Out) (typecheck) if err := o.PrintObj(finalObj, o.Out); err != nil { ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_view_last_applied.go:158:17: o.Out undefined (type *ViewLastAppliedOptions has no field or method Out) (typecheck) fmt.Fprint(o.Out, string(jsonBuffer.Bytes())) ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_view_last_applied.go:164:17: o.Out undefined (type *ViewLastAppliedOptions has no field or method Out) (typecheck) fmt.Fprint(o.Out, string(yamlOutput)) ^ staging/src/k8s.io/kubectl/pkg/cmd/apply/prune.go:67:10: o.Out undefined (type *ApplyOptions has no field or method Out) (typecheck) out: o.Out, ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:116:39: o.ContainerName undefined (type *AttachOptions has no field or method ContainerName) (typecheck) cmdutil.AddContainerVarFlags(cmd, &o.ContainerName, o.ContainerName) ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:117:26: o.Stdin undefined (type *AttachOptions has no field or method Stdin) (typecheck) cmd.Flags().BoolVarP(&o.Stdin, "stdin", "i", o.Stdin, "Pass stdin to the container") ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:118:26: o.TTY undefined (type *AttachOptions has no field or method TTY) (typecheck) cmd.Flags().BoolVarP(&o.TTY, "tty", "t", o.TTY, "Stdin is a TTY") ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:119:26: o.Quiet undefined (type *AttachOptions has no field or method Quiet) (typecheck) cmd.Flags().BoolVarP(&o.Quiet, "quiet", "q", o.Quiet, "Only print output from the remote session") ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:142:17: o.Stdin undefined (type *AttachOptions has no field or method Stdin) (typecheck) Stdin: o.Stdin, ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:143:17: o.Out undefined (type *AttachOptions has no field or method Out) (typecheck) Stdout: o.Out != nil, ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:148:57: o.In undefined (type *AttachOptions has no field or method In) (typecheck) return o.Attach.Attach("POST", req.URL(), o.Config, o.In, o.Out, o.ErrOut, raw, sizeQueue) ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:173:4: o.Namespace undefined (type *AttachOptions has no field or method Namespace) (typecheck) o.Namespace, _, err = f.ToRawKubeConfigLoader().Namespace() ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:222:21: o.Namespace undefined (type *AttachOptions has no field or method Namespace) (typecheck) NamespaceParam(o.Namespace).DefaultNamespace() ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:252:7: o.TTY undefined (type *AttachOptions has no field or method TTY) (typecheck) if o.TTY && !containerToAttach.TTY { ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:253:5: o.TTY undefined (type *AttachOptions has no field or method TTY) (typecheck) o.TTY = false ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:254:9: o.Quiet undefined (type *AttachOptions has no field or method Quiet) (typecheck) if !o.Quiet && o.ErrOut != nil { ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:255:18: o.ErrOut undefined (type *AttachOptions has no field or method ErrOut) (typecheck) fmt.Fprintf(o.ErrOut, "error: Unable to use a TTY - container %s did not allocate one\n", containerToAttach.Name) ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:257:15: o.TTY undefined (type *AttachOptions has no field or method TTY) (typecheck) } else if !o.TTY && containerToAttach.TTY { ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:260:5: o.TTY undefined (type *AttachOptions has no field or method TTY) (typecheck) o.TTY = true ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:264:9: o.SetupTTY undefined (type *AttachOptions has no field or method SetupTTY) (typecheck) t := o.SetupTTY() ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:282:8: o.Quiet undefined (type *AttachOptions has no field or method Quiet) (typecheck) if !o.Quiet { ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:283:18: o.ErrOut undefined (type *AttachOptions has no field or method ErrOut) (typecheck) fmt.Fprintln(o.ErrOut, "If you don't see a command prompt, try pressing enter.") ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:289:8: o.Quiet undefined (type *AttachOptions has no field or method Quiet) (typecheck) if !o.Quiet && o.Stdin && t.Raw && o.Pod.Spec.RestartPolicy == corev1.RestartPolicyAlways { ^ staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:290:17: o.Out undefined (type *AttachOptions has no field or method Out) (typecheck) fmt.Fprintf(o.Out, "Session ended, resume using '%s %s -c %s -i -t' command when the pod is running\n", o.CommandName, o.Pod.Name, containerToAttach.Name) ^ staging/src/k8s.io/sample-cli-plugin/pkg/cmd/ns.go:225:18: o.Out undefined (type *NamespaceOptions has no field or method Out) (typecheck) fmt.Fprintf(o.Out, "%s\n", c.Namespace) ^ staging/src/k8s.io/sample-cli-plugin/pkg/cmd/ns.go:246:17: o.Out undefined (type *NamespaceOptions has no field or method Out) (typecheck) fmt.Fprintf(o.Out, "%s\n", n) ^ staging/src/k8s.io/sample-cli-plugin/pkg/cmd/ns.go:287:16: o.Out undefined (type *NamespaceOptions has no field or method Out) (typecheck) fmt.Fprintf(o.Out, "namespace changed to %q\n", fromContext.Namespace) ^ 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/
Find is mentions in log files | View test history on testgrid
make verify WHAT=govet
# k8s.io/kubernetes/vendor/k8s.io/client-go/discovery/cached/disk vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:75:4: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:82:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:86:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:91:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:111:4: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:118:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:122:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:127:3: undefined: klog make[1]: *** [Makefile:363: vet] Error 1from junit_verify.xml
# k8s.io/kubernetes/vendor/k8s.io/client-go/discovery/cached/disk vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:75:4: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:82:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:86:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:91:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:111:4: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:118:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:122:3: undefined: klog vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go:127:3: undefined: klog make[1]: *** [Makefile:363: vet] Error 1
Filter through log files | View test history on testgrid
verify api-groups
verify boilerplate
verify codegen
verify conformance-requirements
verify description
verify flags-underscore
verify generated-device-plugin
verify generated-files
verify generated-kms
verify generated-kubelet-plugin-registration
verify generated-pod-resources
verify generated-protobuf
verify generated-runtime
verify generated-stable-metrics
verify generated-swagger-docs
verify gofmt
verify import-aliases
verify import-boss
verify imports
verify internal-modules
verify mocks
verify netparse-cve
verify no-vendor-cycles
verify non-mutating-validation
verify openapi-spec
verify pkg-names
verify prerelease-lifecycle-tags
verify prometheus-imports
verify publishing-bot
verify readonly-packages
verify shellcheck
verify spelling
verify staging-meta-files
verify test-code
verify test-featuregates
verify test-images
verify yamlfmt