-
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
integ-runner: Integration tests succeed, yet the integ-runner throws errors on "describeStackEvents" calls #27445
Comments
Update The actual cause for the test failure (the |
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'm getting the same errors when deploying nested stack. It deploys successfully but has those errors. StackNames are defined everywhere.
|
@pahud Still occurring with 2.102.0...it happens with any nested stack on an incredibly simple project. |
I should note, it only happens on initial stack creation... we don't see the error on subsequent updates. |
Seeing the same issue. Also with a very simple project. |
I have been getting this issue in all my simple CDK projects, but somehow, it seems to still work. error: Here is a simple example. I even trimmed it down, and still get this (only on first deploy) const cluster = new eks.Cluster(this, 'jc-cdk-eks-xp-04-cluster', {
clusterName: "jc-cdk-eks-xp-04-cluster",
version: eks.KubernetesVersion.V1_27,
defaultCapacity: 1,
defaultCapacityInstance: new ec2.InstanceType('t3.micro'),
kubectlLayer: new KubectlV27Layer(this, 'kubectl'),
}); I even specified the const app = new cdk.App();
new JcCdkEksXp04Stack(app, 'JcCdkEksXp04Stack', {
stackName: "JcCdkEksXp04Stack"
}); |
Was able to replicate this in 2.102.0. Here's a sample code:
Got the following error:
|
Still happens on 2.103.1 |
We are also having this issue since we upgraded to 2.103.1 |
I am not getting the error anymore with CDK 2.104.0 |
i downgraded to 2.99.1 and it worked again. |
without digging in that much, i'd imagine it might have something to do with this? |
ahh.. Key word "not". It looks like it might be fixed with #27692 |
Issue persists for me with 2.104.0 |
with the CDK 2.104.0 is for me again ok!. no errors by deployment |
Closing, as this has been resolved. I was surprised to notice that the CDK team didn't close this. |
|
Describe the bug
We recently upgraded from
2.93.0
to2.100.0
... once we did, we saw a strange behavior with one of our integration tests on a large stack with nested stacks. The launching of the test stacks work fine (there are no errors in the CREATE or DELETE process), but during the tests we get errors printed out to the console that eventually cause the test-case itself to fail:The test creation phase ...
Then there's the deletion phase:
Expected Behavior
I do not expect to see errors thrown during the integration tests - especially when the stacks themselves actually work and our deployments work.
Current Behavior
We're seeing a strange error outputted about the
stackName
being invalid during some validation call... but yet the tests continue, and the stack itself seems fine.Reproduction Steps
I don't really know right now... we have multiple integration tests, and we only get this error on our largest test... this test takes 45m+ to complete (eks clusters + vpcs), and the codebase is very large so it's not something I can easily share. I can say that the test has one stack with many nested stacks.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.100.0
Framework Version
No response
Node.js Version
18
OS
OSX and Linux
Language
TypeScript
Language Version
No response
Other information
I'm rolling back to our last known good release (2.93.0)... then I will roll forward one release at a time, but since the tests take nearly an hour to do each.. it will take a while before I can track down which release specifically introduces the bug.
The text was updated successfully, but these errors were encountered: