Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"The maximum number of VPCs has been reached" test failure causing flakes #5415

Open
nrb opened this issue Mar 18, 2025 · 0 comments
Open

"The maximum number of VPCs has been reached" test failure causing flakes #5415

nrb opened this issue Mar 18, 2025 · 0 comments
Labels
kind/flake Categorizes issue or PR as related to a flaky test. needs-priority triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@nrb
Copy link
Contributor

nrb commented Mar 18, 2025

/kind flake
/triage accepted

What steps did you take and what happened:
[A clear and concise description of what the bug is.]

CI jobs are often failing with

failed to create new managed VPC: failed to create vpc: The maximum number of VPCs has been reached

This happens on unit tests, and sometimes the unit tests still pass despite this reported failure. See here for one such case.

What did you expect to happen:

CI would not fail on VPC limits so often.

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

This code is found in

g.Expect(err.Error()).To(ContainSubstring("The maximum number of VPCs has been reached"))
. Initially, some maintainers thought this was a boskos provisioning problem, but it's something within our own test suit.

Environment:

  • Cluster-api-provider-aws version: main, over several months
  • Kubernetes version: (use kubectl version): 1.28 and later
@k8s-ci-robot k8s-ci-robot added kind/flake Categorizes issue or PR as related to a flaky test. triage/accepted Indicates an issue or PR is ready to be actively worked on. needs-priority labels Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/flake Categorizes issue or PR as related to a flaky test. needs-priority triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

2 participants