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

Preview build failure on artifact copy #1685

Open
jbelkins opened this issue Aug 16, 2024 · 0 comments
Open

Preview build failure on artifact copy #1685

jbelkins opened this issue Aug 16, 2024 · 0 comments
Labels
bug This issue is a bug. needs-investigation oncall Good for oncall.

Comments

@jbelkins
Copy link
Contributor

jbelkins commented Aug 16, 2024

Describe the bug

Preview build sometimes fails with an error such as:

{
  "errorType": "Error",
  "errorMessage": "failed to download: {\"Bucket\":\"swiftcatapultpipelineswift-catapultbucket7b6ea89c-egq9i9t3ch4b\",\"Key\":\"artifact/2024/08/15/preview/a8cb04c8-62dd-4c1c-8595-11527e000ae2/GenerateSDKCodeBuildStepCodeBuildStepCodeBuildOutput.zip\"}",
  "trace": [
    "Error: failed to download: {\"Bucket\":\"swiftcatapultpipelineswift-catapultbucket7b6ea89c-egq9i9t3ch4b\",\"Key\":\"artifact/2024/08/15/preview/a8cb04c8-62dd-4c1c-8595-11527e000ae2/GenerateSDKCodeBuildStepCodeBuildStepCodeBuildOutput.zip\"}",
    "    at _S3Client.downloadObjectToStream (/var/task/index.js:98391:17)",
    "    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
    "    at async loadCodeBuildOutput (/var/task/index.js:158328:18)",
    "    at async Runtime.handler (/var/task/index.js:158289:18)"
  ]
}

Expected Behavior

Preview builds should always copy artifacts from previous build steps successfully.

Current Behavior

Intermittently, preview builds fail with an error similar to above.

Reproduction Steps

Review logs for previous preview builds

Possible Solution

No response

Additional Information/Context

No response

AWS SWIFT SDK version used

main

Compiler and Version used

N/A

Operating System and version

N/A

@jbelkins jbelkins added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. oncall Good for oncall. needs-investigation and removed needs-triage This issue or PR still needs to be triaged. labels Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. needs-investigation oncall Good for oncall.
Projects
None yet
Development

No branches or pull requests

1 participant