This job view page is being replaced by Spyglass soon. Check out the new job view.
PRjustaugustus: Migrate in `k8s.io/release/cmd/bom` and associated packages
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2021-11-21 14:59
Elapsed1m39s
Revisionccb748c29318f0b910273ce6b4fac63b1c0a3fea
Refs 1

No Test Failures!


Error lines from build-log.txt

... skipping 88 lines ...
unused (megacheck): Checks Go code for unused constants, variables, functions and types [fast: false, auto-fix: false]
varcheck: Finds unused global variables and constants [fast: false, auto-fix: false]
whitespace: Tool for detection of leading and trailing whitespace [fast: true, auto-fix: true]

Disabled by your configuration linters:
cyclop: checks function and package cyclomatic complexity [fast: false, auto-fix: false]
errorlint: errorlint is a linter for that can be used to find code that will cause problems with the error wrapping scheme introduced in Go 1.13. [fast: false, auto-fix: false]
exhaustive: check exhaustiveness of enum switch statements [fast: false, auto-fix: false]
exhaustivestruct: Checks if all struct's fields are initialized [fast: false, auto-fix: false]
exportloopref: checks for pointers to enclosing loop variables [fast: false, auto-fix: false]
forbidigo: Forbids identifiers [fast: true, auto-fix: false]
forcetypeassert: finds forced type assertions [fast: true, auto-fix: false]
funlen: Tool for detection of long functions [fast: true, auto-fix: false]
... skipping 7 lines ...
gomnd: An analyzer to detect magic numbers. [fast: true, auto-fix: false]
ifshort: Checks that your code uses short syntax for if-statements whenever possible [fast: true, auto-fix: false]
interfacer: Linter that suggests narrower interface types [fast: false, auto-fix: false]
lll: Reports long lines [fast: true, auto-fix: false]
maligned: Tool to detect Go structs that would take less memory if their fields were sorted [fast: false, auto-fix: false]
nestif: Reports deeply nested if statements [fast: true, auto-fix: false]
nilerr: Finds the code that returns nil even if it checks that the error is not nil. [fast: false, auto-fix: false]
nlreturn: nlreturn checks for a new line before return and branch statements to increase code clarity [fast: true, auto-fix: false]
noctx: noctx finds sending http request without context.Context [fast: false, auto-fix: false]
paralleltest: paralleltest detects missing usage of t.Parallel() method in your Go test [fast: true, auto-fix: false]
scopelint: Scopelint checks for unpinned variables in go programs [fast: true, auto-fix: false]
tagliatelle: Checks the struct tags. [fast: true, auto-fix: false]
testpackage: linter that makes you use a separate _test package [fast: true, auto-fix: false]
thelper: thelper detects golang test helpers without t.Helper() call and checks the consistency of test helpers [fast: false, auto-fix: false]
tparallel: tparallel detects inappropriate usage of t.Parallel() method in your Go test codes [fast: false, auto-fix: false]
wastedassign: wastedassign finds wasted assignment statements. [fast: false, auto-fix: false]
wrapcheck: Checks that errors returned from external packages are wrapped [fast: false, auto-fix: false]
wsl: Whitespace Linter - Forces you to use empty lines! [fast: true, auto-fix: false]
level=warning msg="[linters context] running gomoddirectives failed: failed to get module file: command go list: exit status 1: go list -f cannot be used with -json\n: if you are not using go modules it is suggested to disable this linter"
pkg/license/implementation.go:193:1: exported: comment on exported method ReaderDefaultImpl.Catalog should be of the form "Catalog ..." (revive)
// SPDX returns the reader's SPDX object
^
pkg/license/license.go:318:1: exported: comment on exported type License should be of the form "License ..." (with optional leading article) (revive)
// SPDXLicense is a license described in JSON
^
... skipping 37 lines ...
pkg/spdx/spdx.go:271:1: exported: comment on exported method SPDX.PullImagesToArchive should be of the form "PullImagesToArchive ..." (revive)
// PullImagesToArchive
^
pkg/spdx/document.go:103:1: exported: comment on exported type ExternalRef should be of the form "ExternalRef ..." (with optional leading article) (revive)
// Example: cpe23Type cpe:2.3:a:base-files:base-files:10.3+deb10u9:*:*:*:*:*:*:*
^
Error: running "golangci-lint run" failed with exit code 1
running golangci-lint linters
sigs.k8s.io/release-utils/mage.RunGolangCILint
	/home/prow/go/pkg/mod/sigs.k8s.io/release-utils@v0.3.0/mage/golang.go:145
main.Verify
	/home/prow/go/src/sigs.k8s.io/bom/magefile.go:86
main.main.func17
... skipping 7 lines ...