Skip to content

CodeBuild Machine is Failing in Provisioning phase

0

Enter image description here
Enter image description here

Enter image description here

asked 7 months ago195 views
2 Answers
0

Based on the error messages you've shared, it appears your AWS CodeBuild project is failing during the PROVISIONING phase. This issue can occur for a few reasons:

  1. Container OS version incompatibility: The container operating system version you're trying to use may not be supported by CodeBuild. Ensure you're using a compatible OS version for your build environment.

  2. Proxy settings: If you've specified HTTP_PROXY or HTTPS_PROXY settings in your container, this could be causing issues during provisioning. Try removing or adjusting these settings if applicable.

  3. Image pull failure: The error message suggests that CodeBuild is unable to pull the container image. This could be due to network issues, permissions problems, or the image not being available in the specified repository.

  4. Internal service error: The "Internal Service Error: CodeBuild is experiencing issues" message indicates there might be temporary problems with the CodeBuild service itself.

To troubleshoot this issue:

  1. Verify that you're using a supported container image and OS version for your CodeBuild project.

  2. Check your network settings and ensure CodeBuild has the necessary permissions to pull the container image.

  3. If you're using a custom image, make sure it's properly pushed to the repository and accessible.

  4. Try running your build again after a short wait, as the issue might be temporary if it's related to an internal CodeBuild service problem.

  5. Review the AWS Health Dashboard or your AWS Health event log for any ongoing issues with CodeBuild in your region.

If the problem persists, you may need to contact AWS support for further assistance, especially if it appears to be a service-side issue.
Sources
Troubleshooting AWS CodeBuild - AWS CodeBuild
Is codebuild down in us-west-2? | AWS re:Post

answered 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.