Failure in artifact preparation phase during processing of: Subscription for Non required shared artifact: [src], pattern: [**/*.*] anchored at: [src], destination: [src]
Agent:...
Hello
I know its late response :-) - posting here so someone with similar error might benefit
In my Bamboo agent log I see following error
2021-01-15 13:42:07,532 ERROR [2-BAM::sles12sp3-agent4::Agent:pool-5-thread-1] [BambooArtifactHttpTransport]
org.apache.http.TruncatedChunkException: Truncated chunk (expected size: 8,192; actual size: 4,202)
Do you see similar messages in your Bamboo agent log ?
If this is the case then it means there is an issue with Bamboo server to agent communication that is affecting transfer of artifacts
In that case you might want to use the workaround that I employed only if your default local agent can run the task that is dependent on shared artifacts being copied.
I changed requirements of the task dependent on artifacts to run locally on Bamboo default agent
Alternatively you might want to fix the cause for that exception by adjusting time outs - see - https://stackoverflow.com/questions/45950805/org-apache-http-truncatedchunkexception/45952274
By the way, did you see Dan turner's question https://community.atlassian.com/t5/Bamboo-questions/Bamboo-build-failing-on-copy-of-shared-artifact/qaq-p/212050#U1581129 - That solution does not work for me though and I had to use above workaround
Best regards
Yogesh
Couple things - now that Atlassian has discontinued the Server version and we have to migrate to Datacenter version - in The Bamboo Datacenter version "local" agents are no longer supported. - So that option goes out of the door :-(
I noticed that same error ( HTTP transport failure of artifact from Bamboo to agent ) may manifest as below as well
com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler
2024-06-14 07:22:12,933 ERROR [6-BAM::ubu22-build-30-24::Agent:Thread-22] [BambooArtifactHttpTransport] Unexpected HTTP status code: HTTP/1.1 401
2024-06-14 07:22:12,933 ERROR [6-BAM::ubu22-build-30-24::Agent:Thread-22] [DisconnectedBuildLogger] Unable to send to server: Artifact transfer failed with http code 401. Agent will try to recover.
And looking at that I landed up on following post
and try increasing connection timeout in
<installation-directory>/conf/server.xml file
"connectionTimeout=600000"
Datacenter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any reply Please
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
please see response below
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.