Skip to content

chore(cli-integ): increase test timeout for SAM integration tests#1555

Open
otaviomacedo wants to merge 1 commit into
mainfrom
otaviom/extended-sam-tests-timeout
Open

chore(cli-integ): increase test timeout for SAM integration tests#1555
otaviomacedo wants to merge 1 commit into
mainfrom
otaviom/extended-sam-tests-timeout

Conversation

@otaviomacedo
Copy link
Copy Markdown
Contributor

The SAM integ test synthesizes a stack with a bunch of assets. Specifically, a Python Lambda function and a Nodejs Lambda function, and some other stuff. Up to 2.254.0, it managed to pull the docker images for both runtimes, but just barely. It timed out immediately after. On retry, since these images were already cached, it would go on to pull the rest.

In 2.255.0, bedrockagentcore was graduated, increasing the size of aws-cdk-lib by 1.3 MB. The larger package makes npm install slightly slower during the SAM test's first attempt, preventing the nodejs16.x Docker image from being built before the 20-minute per-test timeout. On retry, this image must be pulled and built from scratch (~14.6 min extra), pushing the total build time past the credential lifetime. This triggers a cascade where ALL concurrent tests fail simultaneously with SignatureDoesNotMatch.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants