Name of Failure:
Error: GoModulesBuilder:Build - Builder Failed: stat /data/mci/255f6ba3e3abfbd6adedc63a2e5ba219/src/go.mongodb.org/mongo-driver/internal/test/faas/awslambda/mongodb/bootstrap: directory not found
Link to task:
Context of when and why the failure occurred:
AWS has deprecated the al2 runtime.
Stack trace:
[2024/05/08 15:52:53.169] SAM CLI now collects telemetry to better understand customer needs. [2024/05/08 15:52:53.169] You can OPT OUT and disable telemetry collection by setting the [2024/05/08 15:52:53.169] environment variable SAM_CLI_TELEMETRY=0 in your shell. [2024/05/08 15:52:53.169] Thanks for your help! [2024/05/08 15:52:53.169] Learn More: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-telemetry.html [2024/05/08 15:52:53.962] Building codeuri: /data/mci/255f6ba3e3abfbd6adedc63a2e5ba219/src/go.mongodb.org/mongo-driver/internal/test/faas/awslambda/mongodb runtime: provided.al2 metadata: {'BuildMethod': 'go1.x'} architecture: arm64 functions: MongoDBFunction [2024/05/08 15:52:54.882] Running GoModulesBuilder:Build [2024/05/08 15:52:54.882] Error: GoModulesBuilder:Build - Builder Failed: stat /data/mci/255f6ba3e3abfbd6adedc63a2e5ba219/src/go.mongodb.org/mongo-driver/internal/test/faas/awslambda/mongodb/bootstrap: directory not found [2024/05/08 15:52:56.423] Starting deployment [2024/05/08 15:52:56.423] Sourcing secrets [2024/05/08 15:52:56.423] Build Failed [2024/05/08 15:52:56.423] Deleting Lambda Function... [2024/05/08 15:52:56.423] Error: The input stack dbx-go-lambda-025a3f213e93b63c does not exist on Cloudformation in the region us-east-1 [2024/05/08 15:52:56.443] SAM CLI update available (1.116.0); (1.96.0 installed) [2024/05/08 15:52:56.443] To download: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html [2024/05/08 15:52:56.777] Command 'shell.exec' (step 2 of 2) failed: shell script encountered problem: exit code 1.