Code Build Failed with error: "A stunnel process is required for curated image EFS builds and it did not start: exit status 127"

0

Hello, I have configured code build environment with aws/codebuild/amazonlinux2-x86_64-standard:corretto8 and also trying to store the cache in my EFS by configuring it in code build environment File System but my build got failed with error: "A stunnel process is required for curated image EFS builds and it did not start: exit status 127" I appreciate your help on this, Thanks

1 Answer
0

Hi, some explanation of the purpose of stunnel package and its use by EFS here: https://docs.aws.amazon.com/efs/latest/ug/upgrading-stunnel.html So, do you have this package installed in your CodeBuild image?

Also did you follow this very detailled guidance about EFS as cache for CodeBuild? https://docs.aws.amazon.com/codebuild/latest/userguide/sample-efs.html

Hope it helps! Didier

profile pictureAWS
EXPERT
answered 10 months ago
  • Thanks for your reply, Earlier I was using the image: aws/codebuild/amazonlinux2-x86_64-standard:3.0 then build were working fine, but as aws come up with the new image aws/codebuild/amazonlinux2-x86_64-standard:corretto8 and removed the standar:3.0 my build is failing, now I cannot revert back to standard 3.0 as it is removed from the list.

  • As i am using aws managed image, which will not let me check or install https://docs.aws.amazon.com/efs/latest/ug/upgrading-stunnel.html package, earlier aws/codebuild/amazonlinux2-x86_64-standard:3.0 was working form me with EFS as cache storage but now when aws added corretto8 and corrett011, both are not working, it would be very helpful. so please guide me with this.

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.

Guidelines for Answering Questions