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

cdk synth: no progress output when using aws-lambda-python-alpha #20390

Closed
jamescrowley opened this issue May 18, 2022 · 1 comment
Closed

cdk synth: no progress output when using aws-lambda-python-alpha #20390

jamescrowley opened this issue May 18, 2022 · 1 comment
Labels
closed-for-staleness This issue was automatically closed because it hadn't received any attention in a while. effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p2 package/tools Related to AWS CDK Tools or CLI

Comments

@jamescrowley
Copy link

Describe the bug

when running cdk synth for the first time with a stack using aws-lambda-python-alpha, there is no output and a long wait. When sending a exit signal, you then see output like the below. It would be helpful to see this so we know the command is actually doing something while downloading large assets for docker...

^C#1 [internal] load build definition from Dockerfile
#1 sha256:f4ba181a71739a9474221bb7c17e360db8ec7a5501545770c43b39669ab8c47d
#1 transferring dockerfile: 559B done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 sha256:c5ffb195cbc141d5ad2461015be91ea1fa4adc0faca951160bb4dd50efcf8a49
#2 transferring context: 2B done
#2 DONE 0.0s

#3 [internal] load metadata for public.ecr.aws/sam/build-python3.7:latest
#3 sha256:736fd2cbbd177322a8d9f59207aa567bd7c5e6b8a53ccbfcabedb9b542a72676
#3 DONE 2.1s

#4 [1/3] FROM public.ecr.aws/sam/build-python3.7@sha256:a5a2b3c90c2717bef8b6a72c01c4683fa671cd4b9366e73f727879dd026dfbde
#4 sha256:a662cd0e0b277b051d5be9cc47dc2b77d815ff1ea2b55f18d3182bbe7aa833c3
#4 resolve public.ecr.aws/sam/build-python3.7@sha256:a5a2b3c90c2717bef8b6a72c01c4683fa671cd4b9366e73f727879dd026dfbde done
#4 sha256:4d51ba39d68e89682829ee861016f78bc3f570f41d59a6a8c65efe717d5bc525 6.27kB / 6.27kB done
#4 sha256:677629673abbdab4759ce38e9b2bd346d65864fe603f5932bb21d9c221150afc 0B / 326.84MB 0.1s
#4 sha256:463d3a5fe45fa1aa2792d3e31b4510d2920664e68b138777f3943fb0beb1897e 0B / 50.35MB 0.1s
#4 sha256:a5a2b3c90c2717bef8b6a72c01c4683fa671cd4b9366e73f727879dd026dfbde 2.22kB / 2.22kB done
#4 sha256:c5a26d51260828843491086a150852a9a5b10e5ef6cad06b2f9c5f913a2712ea 0B / 93.99kB 0.2s
#4 sha256:c5a26d51260828843491086a150852a9a5b10e5ef6cad06b2f9c5f913a2712ea 93.99kB / 93.99kB 1.9s done
#4 sha256:552377ed6f5147097fe2f5230859c7c93caaf1e3bc0dd4a1de5f4e5aac6775dd 0B / 11.51MB 1.9s
#4 sha256:552377ed6f5147097fe2f5230859c7c93caaf1e3bc0dd4a1de5f4e5aac6775dd 1.05MB / 11.51MB 3.8s
#4 sha256:677629673abbdab4759ce38e9b2bd346d65864fe603f5932bb21d9c221150afc 2.10MB / 326.84MB 5.2s
#4 sha256:463d3a5fe45fa1aa2792d3e31b4510d2920664e68b138777f3943fb0beb1897e 1.05MB / 50.35MB 5.2s
#4 sha256:552377ed6f5147097fe2f5230859c7c93caaf1e3bc0dd4a1de5f4e5aac6775dd 2.10MB / 11.51MB 5.3s
#4 sha256:552377ed6f5147097fe2f5230859c7c93caaf1e3bc0dd4a1de5f4e5aac6775dd 3.15MB / 11.51MB 7.0s
#4 sha256:552377ed6f5147097fe2f5230859c7c93caaf1e3bc0dd4a1de5f4e5aac6775dd 4.19MB / 11.51MB 9.0s
#4 sha256:677629673abbdab4759ce38e9b2bd346d65864fe603f5932bb21d9c221150afc 3.15MB / 326.84MB 10.2s
#4 sha256:463d3a5fe45fa1aa2792d3e31b4510d2920664e68b138777f3943fb0beb1897e 3.15MB / 50.35MB 10.2s

Expected Behavior

Should see some kind of progress/output from cdk synth when the job may take > 10 minutes to run!

Current Behavior

No output until you cancel the command

Reproduction Steps

https://github.com/youngsoul/api-lambda-example does the same

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.24.1 (build 585f9ca)

Framework Version

No response

Node.js Version

v18.2.0

OS

macOS

Language

Python

Language Version

No response

Other information

No response

@jamescrowley jamescrowley added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels May 18, 2022
@github-actions github-actions bot added the package/tools Related to AWS CDK Tools or CLI label May 18, 2022
@peterwoodworth peterwoodworth added feature-request A feature should be added or improved. p2 effort/small Small work item – less than a day of effort and removed bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels May 19, 2022
@rix0rrr rix0rrr removed their assignment May 23, 2022
@github-actions
Copy link

This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

@github-actions github-actions bot added closing-soon This issue will automatically close in 4 days unless further comments are made. closed-for-staleness This issue was automatically closed because it hadn't received any attention in a while. and removed closing-soon This issue will automatically close in 4 days unless further comments are made. labels May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-for-staleness This issue was automatically closed because it hadn't received any attention in a while. effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p2 package/tools Related to AWS CDK Tools or CLI
Projects
None yet
Development

No branches or pull requests

3 participants