CodeBuild error COMMAND_EXECUTION_ERROR

See original GitHub issue

Not sure if this is fixed in 1.2.2, but I get this error in CodeBuild codepipeline/aws-deployment-framework-bootstrap-pipeline on the master acccount


[Container] 2019/07/29 09:49:26 Phase complete: PRE_BUILD State: SUCCEEDED 
[Container] 2019/07/29 09:49:26 Phase context status code:  Message:  
[Container] 2019/07/29 09:49:26 Entering phase BUILD 
[Container] 2019/07/29 09:49:26 Running command sam build -t deployment/global.yml 
/usr/local/lib/python3.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25.3) or chardet (3.0.4) doesn't match a supported version! 
  RequestsDependencyWarning) 
Error: Template file not found at /codebuild/output/src794385070/src/deployment/global.yml 
 
[Container] 2019/07/29 09:49:26 Command did not exit successfully sam build -t deployment/global.yml exit status 1 
[Container] 2019/07/29 09:49:26 Phase complete: BUILD State: FAILED 
[Container] 2019/07/29 09:49:26 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: sam build -t deployment/global.yml. Reason: exit status 1 
[Container] 2019/07/29 09:49:26 Entering phase POST_BUILD 
[Container] 2019/07/29 09:49:26 Phase complete: POST_BUILD State: SUCCEEDED 
[Container] 2019/07/29 09:49:26 Phase context status code:  Message:  

Going to give a try after cleanup with 1.2.2

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:16

github_iconTop GitHub Comments

3reactions
Vad1mocommented, Jul 29, 2019

finlly, image thank you @bundyfx

1reaction
roytmanpiccolicommented, Jun 7, 2021

Hi @sbkok I had solved the problem. Thanks for reaply.

Read more comments on GitHub >

github_iconTop Results From Across the Web

COMMAND_EXECUTION_ERR...
AWS codebuild fails stating the error:- COMMAND_EXECUTION_ERROR: Error while executing command: yarn run build. Reason: exit status 1.
Read more >
Command Execution Error while executing ecr login command
Code Build Service Role automatically created in Code Pipeline was unable to access ECR, thats why i was getting exit status 255 ....
Read more >
Troubleshooting AWS CodeBuild
Error : "Git clone failed: Unable to access 'your-repository-URL' : SSL certificate problem: Self signed certificate". Issue: When you try to run a...
Read more >
m pip install --upgrade --force pip. Reason: exit status 1 : r/aws
AWS Codebuild - Error while executing command: python -m pip install ... Phase context status code: COMMAND_EXECUTION_ERROR Message: Error ...
Read more >
Command Execution Error while executing ecr login command
Custom CodeBuild containers don't need to use aws configure if all other build factors are appropriately configured. The issue you describe is explained...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found