This job view page is being replaced by Spyglass soon. Check out the new job view.
PRggriffiths: Refactor http server and register leaderelection health check
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2021-08-09 15:12
Elapsed1m1s
Revision1a15d61b9cfe4fdf5939bf038596f47d3e5ed0e0
Refs 573

No Test Failures!


Error lines from build-log.txt

... skipping 60 lines ...
export os_arch_seen="" && echo 'linux amd64; linux ppc64le -ppc64le; linux s390x -s390x; linux arm64 -arm64; windows amd64 .exe nanoserver:1809 servercore:ltsc2019; windows amd64 .exe nanoserver:1909 servercore:1909; windows amd64 .exe nanoserver:2004 servercore:2004; windows amd64 .exe nanoserver:20H2 servercore:20H2' | tr ';' '\n' | while read -r os arch suffix base_image addon_image; do \
	os_arch_seen_pre=${os_arch_seen%%$os-$arch*}; \
	if ! [ ${#os_arch_seen_pre} = ${#os_arch_seen} ]; then \
		continue; \
	fi; \
	if ! (set -x; CGO_ENABLED=0 GOOS="$os" GOARCH="$arch" go build -mod=vendor -a -ldflags ' -X main.version=v4.1.0-55-g5c1ed087 -extldflags "-static"' -o "./bin/snapshot-controller$suffix" ./cmd/snapshot-controller); then \
		echo "Building snapshot-controller for GOOS=$os GOARCH=$arch failed, see error(s) above."; \
		exit 1; \
	fi; \
	os_arch_seen+=";$os-$arch"; \
done
+ CGO_ENABLED=0
+ GOOS=linux
+ GOARCH=amd64
+ go build -mod=vendor -a -ldflags ' -X main.version=v4.1.0-55-g5c1ed087 -extldflags "-static"' -o ./bin/snapshot-controller ./cmd/snapshot-controller
# github.com/kubernetes-csi/external-snapshotter/v4/cmd/snapshot-controller
cmd/snapshot-controller/main.go:150:47: too many arguments in call to metricsManager.PrepareMetricsEndpoint
	have (*http.ServeMux, string, string, promklog, *sync.WaitGroup)
	want (*http.ServeMux, string, promhttp.Logger, *sync.WaitGroup)
Building snapshot-controller for GOOS=linux GOARCH=amd64 failed, see error(s) above.
make: *** [release-tools/build.make:88: build-snapshot-controller] Error 1
ERROR: 'make all' failed
+ EXIT_VALUE=1
+ set +o xtrace
Cleaning up after docker in docker.
================================================================================
Cleaning up after docker
Stopping Docker: dockerProgram process in pidfile '/var/run/docker-ssd.pid', 1 process(es), refused to die.
... skipping 3 lines ...