simple 27-Jun-2024 08:03:29 Build Openfire - Nightly Maven Debian Build - 4.7 - Debian Workflow #862 (OPENFIRE-NMDB4-JOB1-862) is being prepared for building on agent ip-172-31-27-151.eu-central-1.compute.internal, bamboo version: 9.6.2 simple 27-Jun-2024 08:03:29 Remote agent on host ip-172-31-27-151.eu-central-1.compute.internal simple 27-Jun-2024 08:03:29 Build working directory is /home/bamboo-agent/bamboo-agent-home/xml-data/build-dir/OPENFIRE-NMDB4-JOB1 command 27-Jun-2024 08:03:29 Substituting variable: ${bamboo.working.directory} with /home/bamboo-agent/bamboo-agent-home/xml-data/build-dir/OPENFIRE-NMDB4-JOB1 command 27-Jun-2024 08:03:29 Substituting variable: ${bamboo.working.directory} with /home/bamboo-agent/bamboo-agent-home/xml-data/build-dir/OPENFIRE-NMDB4-JOB1 command 27-Jun-2024 08:03:29 Substituting variable: ${bamboo.tmp.directory} with /home/bamboo-agent/bamboo-agent-home/temp command 27-Jun-2024 08:03:29 Substituting variable: ${bamboo.tmp.directory} with /home/bamboo-agent/bamboo-agent-home/temp command 27-Jun-2024 08:03:29 Beginning to execute external process for build 'Openfire - Nightly Maven Debian Build - 4.7 - Debian Workflow #862 (OPENFIRE-NMDB4-JOB1-862)'\n ... running command line: \n/bin/docker run --volume /home/bamboo-agent/bamboo-agent-home/xml-data/build-dir/OPENFIRE-NMDB4-JOB1:/home/bamboo-agent/bamboo-agent-home/xml-data/build-dir/OPENFIRE-NMDB4-JOB1 --volume /home/bamboo-agent/bamboo-agent-home/temp:/home/bamboo-agent/bamboo-agent-home/temp --volume /home/bamboo/.m2:/root/.m2 --detach --name a4fab599-9c87-4822-bdbd-d349e089adf951871752 igniterealtime:bullseye-maven tail -f /dev/null\n ... in: /home/bamboo-agent/bamboo-agent-home/xml-data/build-dir/OPENFIRE-NMDB4-JOB1\n error 27-Jun-2024 08:03:29 docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create?name=a4fab599-9c87-4822-bdbd-d349e089adf951871752": dial unix /var/run/docker.sock: connect: permission denied. error 27-Jun-2024 08:03:29 See 'docker run --help'. error 27-Jun-2024 08:03:29 Exit code: 126, output: STDOUT: Beginning to execute external process for build 'Openfire - Nightly Maven Debian Build - 4.7 - Debian Workflow #862 (OPENFIRE-NMDB4-JOB1-862)'\n ... running command line: \n/bin/docker run --volume /home/bamboo-agent/bamboo-agent-home/xml-data/build-dir/OPENFIRE-NMDB4-JOB1:/home/bamboo-agent/bamboo-agent-home/xml-data/build-dir/OPENFIRE-NMDB4-JOB1 --volume /home/bamboo-agent/bamboo-agent-home/temp:/home/bamboo-agent/bamboo-agent-home/temp --volume /home/bamboo/.m2:/root/.m2 --detach --name a4fab599-9c87-4822-bdbd-d349e089adf951871752 igniterealtime:bullseye-maven tail -f /dev/null\n ... in: /home/bamboo-agent/bamboo-agent-home/xml-data/build-dir/OPENFIRE-NMDB4-JOB1\nSTDERR: docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create?name=a4fab599-9c87-4822-bdbd-d349e089adf951871752": dial unix /var/run/docker.sock: connect: permission denied.STDERR: See 'docker run --help'. error 27-Jun-2024 08:03:29 Failed to start docker container a4fab599-9c87-4822-bdbd-d349e089adf951871752 error 27-Jun-2024 08:03:29 com.atlassian.bamboo.docker.DockerException: Error running Docker run command error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.docker.DockerContainerServiceImpl.run(DockerContainerServiceImpl.java:133) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.v2.build.agent.docker.DockerContainerControllerImpl.startContainerIfRequired(DockerContainerControllerImpl.java:106) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:212) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:183) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:115) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:176) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.lambda$start$0(DefaultBuildAgent.java:159) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.security.ImpersonationHelper.lambda$makeRunnableWithSystemAuthority$0(ImpersonationHelper.java:38) error 27-Jun-2024 08:03:29 at java.base/java.lang.Thread.run(Thread.java:829) error 27-Jun-2024 08:03:29 Caused by: com.atlassian.utils.process.ProcessException: Error executing /bin/docker run --volume /home/bamboo-agent/bamboo-agent-home/xml-data/build-dir/OPENFIRE-NMDB4-JOB1:/home/bamboo-agent/bamboo-agent-home/xml-data/build-dir/OPENFIRE-NMDB4-JOB1 --volume /home/bamboo-agent/bamboo-agent-home/temp:/home/bamboo-agent/bamboo-agent-home/temp --volume /home/bamboo/.m2:/root/.m2 --detach --name a4fab599-9c87-4822-bdbd-d349e089adf951871752 igniterealtime:bullseye-maven tail -f /dev/null error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.docker.DockerContainerServiceImpl.execute(DockerContainerServiceImpl.java:305) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.docker.DockerContainerServiceImpl.execute(DockerContainerServiceImpl.java:276) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.docker.DockerContainerServiceImpl.run(DockerContainerServiceImpl.java:110) error 27-Jun-2024 08:03:29 ... 11 more command 27-Jun-2024 08:03:29 Beginning to execute external process for build 'Openfire - Nightly Maven Debian Build - 4.7 - Debian Workflow #862 (OPENFIRE-NMDB4-JOB1-862)'\n ... running command line: \n/bin/docker rm -f a4fab599-9c87-4822-bdbd-d349e089adf951871752\n ... in: /home/bamboo-agent/bamboo-agent-home/xml-data/build-dir/OPENFIRE-NMDB4-JOB1\n error 27-Jun-2024 08:03:29 Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Delete "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/a4fab599-9c87-4822-bdbd-d349e089adf951871752?force=1": dial unix /var/run/docker.sock: connect: permission denied error 27-Jun-2024 08:03:29 Exit code: 1, output: STDOUT: Beginning to execute external process for build 'Openfire - Nightly Maven Debian Build - 4.7 - Debian Workflow #862 (OPENFIRE-NMDB4-JOB1-862)'\n ... running command line: \n/bin/docker rm -f a4fab599-9c87-4822-bdbd-d349e089adf951871752\n ... in: /home/bamboo-agent/bamboo-agent-home/xml-data/build-dir/OPENFIRE-NMDB4-JOB1\nSTDERR: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Delete "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/a4fab599-9c87-4822-bdbd-d349e089adf951871752?force=1": dial unix /var/run/docker.sock: connect: permission denied error 27-Jun-2024 08:03:29 Failed to remove docker container a4fab599-9c87-4822-bdbd-d349e089adf951871752 error 27-Jun-2024 08:03:29 com.atlassian.bamboo.docker.DockerException: Error running Docker remove command error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.docker.DockerContainerServiceImpl.remove(DockerContainerServiceImpl.java:266) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.v2.build.agent.docker.DockerContainerControllerImpl.removeContainer(DockerContainerControllerImpl.java:167) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.v2.build.agent.docker.DockerContainerControllerImpl.startContainerIfRequired(DockerContainerControllerImpl.java:114) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:212) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:183) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:115) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:176) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.lambda$start$0(DefaultBuildAgent.java:159) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.security.ImpersonationHelper.lambda$makeRunnableWithSystemAuthority$0(ImpersonationHelper.java:38) error 27-Jun-2024 08:03:29 at java.base/java.lang.Thread.run(Thread.java:829) error 27-Jun-2024 08:03:29 Caused by: com.atlassian.utils.process.ProcessException: Error executing /bin/docker rm -f a4fab599-9c87-4822-bdbd-d349e089adf951871752 error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.docker.DockerContainerServiceImpl.execute(DockerContainerServiceImpl.java:305) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.docker.DockerContainerServiceImpl.execute(DockerContainerServiceImpl.java:276) error 27-Jun-2024 08:03:29 at com.atlassian.bamboo.docker.DockerContainerServiceImpl.remove(DockerContainerServiceImpl.java:264) error 27-Jun-2024 08:03:29 ... 12 more simple 27-Jun-2024 08:03:30 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 27-Jun-2024 08:03:30 Running on server: post build plugin 'NCover Results Collector' simple 27-Jun-2024 08:03:30 Running on server: post build plugin 'Build Labeller' simple 27-Jun-2024 08:03:30 Running on server: post build plugin 'Clover Delta Calculator' simple 27-Jun-2024 08:03:30 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 27-Jun-2024 08:03:30 All post build plugins have finished simple 27-Jun-2024 08:03:30 Generating build results summary... simple 27-Jun-2024 08:03:30 Saving build results to disk... simple 27-Jun-2024 08:03:30 Store variable context... simple 27-Jun-2024 08:03:30 Finished building OPENFIRE-NMDB4-JOB1-862.