kubernetes: [Failing Test or Infra] gce-master-scale-performance

Which jobs are failing?

sig-release-master-informing

  • gce-master-scale-performance

Which tests are failing?

ClusterLoaderV2 test

Since when has it been failing?

07/23, since commit 77c3859ae tracing back to this PR: https://github.com/kubernetes/kubernetes/pull/126270 (Actually may not be related - see comments)

Testgrid link

https://testgrid.k8s.io/sig-release-master-informing#gce-master-scale-performance

Reason for failure (if possible)

That Pull Request is an automated testing change, and it looks like in the logs:

To increase the performance of the tunnel, consider installing NumPy. For instructions,
please see https://cloud.google.com/iap/docs/using-tcp-forwarding#increasing_the_tcp_upload_bandwidth
Changing logfiles to be world-readable for download
ERROR: (gcloud.compute.start-iap-tunnel) Error while connecting [4033: 'not authorized'].
WARNING: 
To increase the performance of the tunnel, consider installing NumPy. For instructions,
please see https://cloud.google.com/iap/docs/using-tcp-forwarding#increasing_the_tcp_upload_bandwidth
12 skipped lines...
Or, to investigate an IAP tunneling issue:
gcloud compute ssh gce-scale-cluster-minion-group-4-8p26 --project=k8s-infra-e2e-scale-5k-project --zone=us-east1-b --troubleshoot --tunnel-through-iap
ERROR: (gcloud.compute.ssh) [/usr/bin/ssh] exited with return code [255].
WARNING: 
To increase the performance of the tunnel, consider installing NumPy. For instructions,
please see https://cloud.google.com/iap/docs/using-tcp-forwarding#increasing_the_tcp_upload_bandwidth
ERROR: (gcloud.compute.start-iap-tunnel) Error while connecting [4033: 'not authorized'].
ERROR: (gcloud.compute.start-iap-tunnel) Error while connecting [4033: 'not authorized'].
External IP address was not found; defaulting to using IAP tunneling.
ERROR: (gcloud.compute.start-iap-tunnel) Error while connecting [4033: 'not authorized'].
ERROR: (gcloud.compute.start-iap-tunnel) Error while connecting [4033: 'not authorized'].
ERROR: (gcloud.compute.start-iap-tunnel) Error while connecting [4033: 'not authorized'].
Recommendation: To check for possible causes of SSH connectivity issues and get

There may be a cluster infra issue with authentication now. (403?) The PR description above does mention auth, so perhaps that change broke this job.

Anything else we need to know?

Prow links: https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/ci-kubernetes-e2e-gce-scale-performance/1815794460479459328 https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/ci-kubernetes-e2e-gce-scale-performance/1816519155113791488

Relevant SIG(s)

/sig testing /sig test-infra

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 49 (49 by maintainers)

Most upvoted comments

And I can see that the manual run passed. Great work!

We still chewed right through that quota:

Screenshot 2024-07-30 at 10 05 18 PM

So I’ve requested doubling it.

Edit: we hit that again, which isn’t breaking anything, but ideally we would have enough capacity versus our usage, so I requested increasing the write and read limits in the relevant region again.

So in my opinion all the failures are actually root caused by rate limiting from registry.k8s.io and we do not need to increase the size of heapster node for prometheus.

https://github.com/kubernetes/test-infra/pull/33140 hopefully fixes the prometheus setup for now (though we might want to revisit why resource requirements increased …), thanks!

working on the rate limiting issue, we’ve been discussing options in #sig-k8s-infra and I’m trying https://github.com/kubernetes/kubernetes/pull/126448 + a pull-through cache in the 5k scale project

It looks the even yesterday’s run failed to set up Prom stack

    }
  ]
}
F0727 17:32:02.168849   18026 clusterloader.go:330] Error while setting up prometheus stack: timed out waiting for the condition

@dims @BenTheElder ^^^

I guess the AWS clusters run less registry.k8s.io images per node or are not NATed or not?

Well at least set of statefulsets related images that are getting throttled w registry.k8s.io i.e csi-pd-controller are not required for AWS runs so that’s one less thing for registry.k8s.io 😃

And in latest run it didn’t appear to experience throttling error in regards to csi-pd-controller as it was created fine.

Out of 3 failures so far, one failed due to throttling but other two (including latest run) are failing due to Prometheus stack unable to set up reasons here.

I see some changes made to that controller in 1.31 code path, not sure if any of those could be related or if this is red herring but i haven’t come across this error used in the past.

I see there were 3 commits to that file iiuc for 1.31

Not sure if any of these are contributing factors to that error or if its a red herring, i don’t seem to have come across that error from controller before.

Need to dig into it further to understand what’s going on there.

From the KCM logs I see relevant prometheus-pod errors for the test run - https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/ci-kubernetes-e2e-gce-scale-performance/1815794460479459328

E0723 17:17:50.151411      11 stateful_set.go:438] "Unhandled Error" err="error syncing StatefulSet monitoring/prometheus-k8s, requeuing: pods \"prometheus-k8s-0\" is forbidden: error looking up service account monitoring/prometheus-k8s: serviceaccount \"prometheus-k8s\" not found" logger="UnhandledError"
E0723 17:17:50.156552      11 stateful_set.go:438] "Unhandled Error" err="error syncing StatefulSet monitoring/prometheus-k8s, requeuing: pods \"prometheus-k8s-0\" is forbidden: error looking up service account monitoring/prometheus-k8s: serviceaccount \"prometheus-k8s\" not found" logger="UnhandledError"
E0723 17:17:50.162782      11 stateful_set.go:438] "Unhandled Error" err="error syncing StatefulSet monitoring/prometheus-k8s, requeuing: pods \"prometheus-k8s-0\" is forbidden: error looking up service account monitoring/prometheus-k8s: serviceaccount \"prometheus-k8s\" not found" logger="UnhandledError"
E0723 17:17:50.199891      11 stateful_set.go:438] "Unhandled Error" err="error syncing StatefulSet monitoring/prometheus-k8s, requeuing: pods \"prometheus-k8s-0\" is forbidden: error looking up service account monitoring/prometheus-k8s: serviceaccount \"prometheus-k8s\" not found" logger="UnhandledError"

It is coming from statefulset controller here

Ah! thanks for this ^^^, I got lost after getting to the link here - thought that would need access as it shows the bucket name and relative path 😄

Yeah, it’s … confusing, I’d change it but I’m hesitant to break something else 😅

Maybe we can dump a small HTML file with a clickable link alongside it or something …

Also, another important point is that AWS is running on 1.30 version while i think GCE is running on 1.31 version

Ohhh that’s also surprising, can we start tracking ci/latest builds?

gs://k8s-infra-scalability-tests-logs/ci-kubernetes-e2e-gce-scale-performance/1815794460479459328

Which can then be accessed clunkily by transforming to https://gcsweb.k8s.io/gcs/k8s-infra-scalability-tests-logs/ci-kubernetes-e2e-gce-scale-performance/1815794460479459328

Ah! thanks for this ^^^, I got lost after getting to the link here - thought that would need access as it shows the bucket name and relative path 😄

Also, another important point is that AWS is running on 1.30 version while i think GCE is running on 1.31 version So failure mode might also come from 1.31 code path

I wouldn’t expect an e2e test change (https://github.com/kubernetes/kubernetes/commit/77c3859aeee97d6d118d9494c950766a4c296734) to result in the cluster not coming up like https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/ci-kubernetes-e2e-gce-scale-performance/1815794460479459328, it’s probably some other commit.

Note: SIG k8s-infra owns providing the e2e test projects etc but does not own kubetest(2) or kube-up.sh or scale tests.

SIG testing sort of owns the kube-up.sh scripts since cluster lifecycle disowned them but they are still used for most e2e CI. It’s not really clearly laid out at the moment.

This looks like it could be an infra change that dropped permissions for --tunnel-through-iap but … I’m not aware of any such change occurring.

Scale testing is /sig scalability