This job view page is being replaced by Spyglass soon. Check out the new job view.
PRserathius: Reduce allocations made by metric parsing
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2021-10-05 18:03
Elapsed3m10s
Revision101c2228deaf7c9277cbeaeb4d0fcb6217ab04f8
Refs 861

No Test Failures!


Error lines from build-log.txt

... skipping 7 lines ...
find -type f -name "*.go" ! -path "*/vendor/*" | xargs /home/prow/go/bin/addlicense -check || (echo 'Run "make update"' && exit 1)
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b /home/prow/go/bin latest
golangci/golangci-lint info checking GitHub for tag 'latest'
golangci/golangci-lint info found version: 1.42.1 for v1.42.1/linux/amd64
golangci/golangci-lint info installed /home/prow/go/bin/golangci-lint
golangci-lint run --timeout 10m --modules-download-mode=readonly || (echo 'Run "make update"' && exit 1)
pkg/scraper/client/resource/client_test.go:26:15: Error return value of `writer.Write` is not checked (errcheck)
		writer.Write([]byte(resourceResponse))
		            ^
pkg/scraper/client/resource/client_test.go:46:15: Error return value of `writer.Write` is not checked (errcheck)
		writer.Write([]byte(resourceResponse))
		            ^
pkg/scraper/client/resource/decode.go:107:2: commentFormatting: put a space between `//` and comment text (gocritic)
	//unit of node_cpu_usage_seconds_total is second, need to convert 	i = bytes.Index(labels, podNameTag)
	^
pkg/scraper/client/resource/decode.go:109:2: commentFormatting: put a space between `//` and comment text (gocritic)
... skipping 6 lines ...
	containerMetrics.Timestamp = time.Unix(0, int64(timestamp*1e6))
	                                               ^
pkg/scraper/client/resource/decode.go:144:49: unnecessary conversion (unconvert)
	containerMetrics.Timestamp = time.Unix(0, int64(timestamp*1e6))
	                                               ^
Run "make update"
make: *** [Makefile:200: verify-lint] Error 1
+ EXIT_VALUE=2
+ set +o xtrace