System Error Details

Build Sonar - OpenMRS Core Master - Sonar Full Analysis 2837 : Error occurred while executing the build for Sonar - OpenMRS Core Master - Sonar Full Analysis #2837 (SON-OPENMRSCOREMASTER-JOB1-2837)
(java.lang.RuntimeException : Unexpected exception)

Occurred: 14 Jun 2021, 9:00:01 PM
Agent: yokobue.openmrs.org
java.lang.RuntimeException: Unexpected exception
	at com.atlassian.bamboo.util.BambooObjectUtils.asRuntimeException(BambooObjectUtils.java:119)
	at com.atlassian.bamboo.v2.build.task.InitializeBuild.prepareWorkingDirectory(InitializeBuild.java:118)
	at com.atlassian.bamboo.v2.build.task.InitializeBuild.doCall(InitializeBuild.java:81)
	at com.atlassian.bamboo.v2.build.task.InitializeBuild.call(InitializeBuild.java:61)
	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:204)
	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:171)
	at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:131)
	at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:185)
	at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:125)
	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:127)
	at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
	at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
	at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
	at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Unable to create directory /home/bamboo-agent/bamboo-agent/xml-data/build-dir/SON-OPENMRSCOREMASTER-JOB1
	at org.apache.commons.io.FileUtils.forceMkdir(FileUtils.java:2491)
	at com.atlassian.bamboo.v2.build.task.InitializeBuild.prepareWorkingDirectory(InitializeBuild.java:116)
	... 13 more