awslabs / awslabs/aws-codebuild-jenkins-plugin

CodeBuildException on zip and upload

Open
#134 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
156
Forks
130
PR merge metrics
No merged PRs in 30d

Description

23:09:14 [AWS CodeBuild Plugin] Using credentials provided by the DefaultAWSCredentialsProviderChain for authorization (provided from Jenkins credentials codebuild-dev-cred)
23:09:15 [AWS CodeBuild Plugin] Zipping directory to upload to S3: /var/lib/jenkins/workspace/backend_MR-942
23:09:16 [AWS CodeBuild Plugin] Uploading to S3 at location datadive-dev-codebuild-bucket/source. MD5 checksum is eo9qPFlDJBelXTAIxieE/WA==
23:09:16 [AWS CodeBuild Plugin] Unexpected exception upon uploading source zip to S3: The request to the service failed with a retryable reason, but resetting the request input stream has failed. See exception.getExtraInfo or debug-level logging for the original failure that caused this retry.; If the request involves an input stream, the maximum stream buffer size can be configured via request.getRequestClientOptions().setReadLimit(int)
23:09:16 [AWS CodeBuild Plugin] A versioned S3 bucket is required.
23:09:16

## It says a versioned s3 bucket is required but the bucket is already version enabled

Contributor guide

Open the contributing guide

Research direction

Start with the AWS CodeBuild Plugin's source-zip upload path described in the logs, using the Jenkins credentials and S3 bucket details provided. Verify the bucket versioning state and reproduce the upload failure with debug logging; done means a version-enabled bucket accepts the source zip without the CodeBuildException.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, java
Domain
ci-cd, cloud, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.