-
Notifications
You must be signed in to change notification settings - Fork 4k
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
aws-eks: integ.eks-cluster integ test failing with import error #27302
Comments
Working on this a bit more today. I've had problems in the past with snapshots having sticky assets, so for fun I've deleted the snapshot directory for this test and am running it again. I can see the cluster creating so whatever this issue is it's localized to the snapshot(s). I've got a few more tests to run so I can regenerate them and see if we can just close this issue. |
Deleting the existing snapshot and re-running it passed with no assertions. This makes debugging changes really expensive because it makes me doubt the existing snapshots are actually sane. Is there anything I can do apart from running the tests in advance of a change to help prevent this condition? |
The version you are using is pretty old. Are you still running into this on latest version? |
CDK version? Good question. Let me try upgrading to latest and see what happens. |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
I also got the same error with integ tests such as cluster-inference, handlers-in-vpc, cluster-bottlerocket-ng, cluster-private-endpoint, etc... in the eks module. My fork repo was in this commit included in v2.99.0. The
Some tests failed even if there is the file in the snapshot directory. After deleting the existing snapshot directory, it seems they can sometimes be successful. |
Describe the bug
When executing the integ.eks-cluster test the ProviderframeworkonEvent lambda is failing with an error:
This also occurred when executing the ipv6 cluster test.
Expected Behavior
I expected a cluster to create and the test to run
Current Behavior
Cluster creation fails resulting in a rollback after no expected response returns to the handler before a timeout occurs. This requires the stack to be deleted and the cluster resource to be left behind (although no cluster actually exists)
Reproduction Steps
Change the name of the test (or some other inert change) and execute:
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.42.0 (build 7d8ef0b)
Framework Version
No response
Node.js Version
v18.16.0
OS
MacOS 13.5.2
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: