This job view page is being replaced by Spyglass soon. Check out the new job view.
PRhysyeah: fix:hpaController set hpa DesiredReplicas=0 in corner case when can not compute or get metrics
ResultFAILURE
Tests 1 failed / 41 succeeded
Started2021-07-29 11:35
Elapsed49m17s
Revisioncb326e48cafcefbd942999967fc87ae975d15e21
Refs 102728

Test Failures


verify gofmt 17s

make verify WHAT=gofmt
diff -u ./pkg/controller/podautoscaler/horizontal_test.go.orig ./pkg/controller/podautoscaler/horizontal_test.go
--- ./pkg/controller/podautoscaler/horizontal_test.go.orig	2021-07-29 11:54:49.996778827 +0000
+++ ./pkg/controller/podautoscaler/horizontal_test.go	2021-07-29 11:54:49.996778827 +0000
@@ -103,14 +103,14 @@
 
 type testCase struct {
 	sync.Mutex
-	minReplicas     int32
-	maxReplicas     int32
-	specReplicas    int32
-	statusReplicas  int32
-	initialReplicas int32
+	minReplicas           int32
+	maxReplicas           int32
+	specReplicas          int32
+	statusReplicas        int32
+	initialReplicas       int32
 	initialStatusReplicas int32
-	scaleUpRules    *autoscalingv2.HPAScalingRules
-	scaleDownRules  *autoscalingv2.HPAScalingRules
+	scaleUpRules          *autoscalingv2.HPAScalingRules
+	scaleDownRules        *autoscalingv2.HPAScalingRules
 
 	// CPU target utilization as a percentage of the requested resources.
 	CPUTarget                    int32
@@ -246,8 +246,6 @@
 		// Initialize default values
 		autoscalingapiv2beta2.SetDefaults_HorizontalPodAutoscalerBehavior(&hpa)
 
-
-
 		obj := &autoscalingv2.HorizontalPodAutoscalerList{
 			Items: []autoscalingv2.HorizontalPodAutoscaler{hpa},
 		}

Run ./hack/update-gofmt.sh
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


Show 41 Passed Tests

Error lines from build-log.txt

... skipping 1638 lines ...
 		obj := &autoscalingv2.HorizontalPodAutoscalerList{
 			Items: []autoscalingv2.HorizontalPodAutoscaler{hpa},
 		}

Run ./hack/update-gofmt.sh
+++ exit code: 1
+++ error: 1
FAILED   verify-gofmt.sh	18s
Verifying verify-golangci-lint.sh

+++ Running case: verify.golangci-lint 
+++ working dir: /home/prow/go/src/k8s.io/kubernetes
+++ command: bash "hack/make-rules/../../hack/verify-golangci-lint.sh"
installing golangci-lint 
... skipping 906 lines ...
  found dependency component-base
  found dependency apiserver
Done.
+++ exit code: 0
SUCCESS  verify-publishing-bot.py	0s
========================
FAILED TESTS
========================
hack/make-rules/../../hack/verify-gofmt.sh
make: *** [Makefile:128: verify] Error 1
+ EXIT_VALUE=2
+ set +o xtrace
Cleaning up after docker in docker.
================================================================================
Cleaning up after docker
ebf9f0df5f9d
... skipping 4 lines ...