This job view page is being replaced by Spyglass soon. Check out the new job view.
PRk8s-infra-cherrypick-robot: [release-1.1] Fix possible nil VMSS VM in VMSS cache
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2022-04-28 06:33
Elapsed2m41s
Revisionf57bd1b664ca5e375d703e8b483a2b8c828ff316
Refs 1605

No Test Failures!


Error lines from build-log.txt

... skipping 165 lines ...
level=info msg="[runner] linters took 53.408088949s with stages: goanalysis_metalinter: 53.288400999s"
pkg/nodeipam/ipam/cloud_cidr_allocator_test.go:35:2: "sigs.k8s.io/cloud-provider-azure/pkg/azureclients/vmssclient/mockvmssclient" imported but not used (typecheck)
	"sigs.k8s.io/cloud-provider-azure/pkg/azureclients/vmssclient/mockvmssclient"
	^
pkg/provider/azure_vmss.go:170:24: not enough return values
	have (nil, bool, nil)
	want (string, string, *compute.VirtualMachineScaleSetVM, bool, error) (typecheck)
				return nil, false, nil
				                   ^
pkg/provider/azure_vmss_test.go:968:16: cannot initialize 2 variables with 4 values (typecheck)
				vm, err := ss.getVmssVMByNodeIdentity(&node, azcache.CacheReadTypeDefault)
				           ^
pkg/provider/azure_vmss_test.go:970:22: undeclared name: `virtualmachine` (typecheck)
... skipping 2 lines ...
pkg/provider/azure_vmss_test.go:974:15: cannot initialize 2 variables with 4 values (typecheck)
				_, err := ss.getVmssVMByNodeIdentity(&node, azcache.CacheReadTypeDefault)
				          ^
level=info msg="File cache stats: 193 entries of total size 1.4MiB"
level=info msg="Memory: 1197 samples, avg is 547.4MB, max is 2007.2MB"
level=info msg="Execution took 2m12.691390829s"
make: *** [Makefile:312: test-lint] Error 1
+ EXIT_VALUE=2
+ set +o xtrace