Details
-
Bug
-
Resolution: Timed out
-
Low
-
None
-
6.6.2
-
3
-
Severity 2 - Major
-
Description
Issue
When running multiple Bamboo Remote Agent(s) on the same box, Remote Agent temporary directory must be set up individually, pointing to a distinct location path, otherwise when running a Git Source Code Checkout builds may conflict with:
Caused by: java.io.IOException: Unable to delete already existing file: /tmp/bamboo-ssh.9900a68e.sh
How to replicate
When installing a Bamboo Remote Agent the property java.io.tmpdir does not get applied to the Remote Agent:
java -Dbamboo.home=/opt/atlassian/product/bamboo/6.x.x/remote/ \ -Djava.io.tmpdir=/opt/atlassian/product/bamboo/6.x.x/remote/tmp/ \ -jar atlassian-bamboo-agent-installer-6.x.x.jar http://192.168.15.4:8085/agentServer/ start
Workaround
Being required to append -Djava.io.tmpdir=/opt/atlassian/product/bamboo/6.x.x/remote/tmp/ to wrapper.conf and restart Bamboo Remote Agent:
# The Bamboo Agent home configuration file wrapper.java.additional.1=-Dbamboo.home=/opt/atlassian/product/bamboo/6.x.x/remote/ wrapper.java.additional.2=-Dbamboo.agent.ignoreServerCertName=false #wrapper.java.additional.3=-Dlog4j.configuration= #wrapper.java.additional.3=-agentlib:yjpagent wrapper.java.additional.3=-Djava.io.tmpdir=/opt/atlassian/product/bamboo/6.x.x/remote/tmp/
Attachments
Issue Links
- mentioned in
-
Page Loading...