awslabs / aws-codebuild-jenkins-plugin

AWS CodeBuild integration as a Jenkins build step.
https://aws.amazon.com/codebuild
Apache License 2.0
150 stars 121 forks source link

CodeBuildException on zip and upload #134

Open basant1988 opened 2 years ago

basant1988 commented 2 years ago

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

kb-fusus commented 1 year ago

I'm having same issue. Are you using parallel pipelines that uploads same artifacts from multiple steps? For me, I am seeing this issue intermittently on different stages of the parallel build.

kb-fusus commented 6 months ago

any updates on this? I just ran into it after a full year later