feat(cli-integ): speed up image pulls by logging into ECR public (#84) When running the suite on CodeBuild, we are seeing timeout failures in the following tests: CDK synth add the metadata properties expected by sam CDK synth bundled functions as expected test resource import with construct that requires bundling deploy new style synthesis to new style bootstrap (with docker image) all calls from isolated container go through proxy These are all tests that either directly pull from public.ecr.gallery, or do so as part of cdk synth. In both cases, the pull is unauthenticated, and is therefore susceptible to stricter throttling limits, which can significantly slow things down. Running the tests individually succeeds, so it must be something to do with the high concurrency introduced by atmosphere. Lets login to ECR public before every test. I’m not convinced this will solve the issue, but it can’t hurt and worst case we eliminate that as a cause and continue investigating. Why are we not seeing the same errors when running in GitHub? My theory right now is that CodeBuild IP addresses are being throttled much more aggressively than Github ones.
feat(cli-integ): speed up image pulls by logging into ECR public (#84)
When running the suite on CodeBuild, we are seeing timeout failures in the following tests:
CDK synth add the metadata properties expected by sam
CDK synth bundled functions as expected
test resource import with construct that requires bundling
deploy new style synthesis to new style bootstrap (with docker image)
all calls from isolated container go through proxy
These are all tests that either directly pull from public.ecr.gallery, or do so as part of cdk synth. In both cases, the pull is unauthenticated, and is therefore susceptible to stricter throttling limits, which can significantly slow things down.
public.ecr.gallery
cdk synth
Running the tests individually succeeds, so it must be something to do with the high concurrency introduced by atmosphere. Lets login to ECR public before every test. I’m not convinced this will solve the issue, but it can’t hurt and worst case we eliminate that as a cause and continue investigating.
Why are we not seeing the same errors when running in GitHub?
My theory right now is that CodeBuild IP addresses are being throttled much more aggressively than Github ones.
This repository contains the integration tests of the AWS CDK CLI repository.
They are extracted to a separate repository because there is a dependency between our 3 different repos:
graph TD aws-cdk-lib --> |devDependency| cdk-cli cdk-cli-testing --> aws-cdk-lib cdk-cli-testing --> cdk-cli
$ bin/run-suite \ --use-cli-release=2.175.0 \ --verbose \ cli-integ-tests",
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
AWS CDK CLI Testing
This repository contains the integration tests of the AWS CDK CLI repository.
They are extracted to a separate repository because there is a dependency between our 3 different repos:
Usage