simple 19-Aug-2025 13:14:57 Build O3 Reference Application - Build Backend - Build and Publish the Backend Image #190 (O3-BK-JOB1-190) is being prepared for building on agent ploong.openmrs.org, bamboo version: 11.0.2 simple 19-Aug-2025 13:14:57 Remote agent on host ploong.openmrs.org simple 19-Aug-2025 13:14:57 Build working directory is /data/bamboo-agent/xml-data/build-dir/O3-BK-JOB1 simple 19-Aug-2025 13:14:57 Executing build O3 Reference Application - Build Backend - Build and Publish the Backend Image #190 (O3-BK-JOB1-190) simple 19-Aug-2025 13:14:57 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 19-Aug-2025 13:14:57 Checking out into /data/bamboo-agent/xml-data/build-dir/O3-BK-JOB1 simple 19-Aug-2025 13:14:57 Updating source code to revision: e877c8853d1059de0302650f01acb3c632db1aff simple 19-Aug-2025 13:14:57 Fetching 'refs/heads/main' from 'https://github.com/openmrs/openmrs-distro-referenceapplication'. simple 19-Aug-2025 13:14:57 Checking out revision e877c8853d1059de0302650f01acb3c632db1aff. simple 19-Aug-2025 13:14:57 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/O3-BK-JOB1/.git'. simple 19-Aug-2025 13:14:57 Cloning into '/data/bamboo-agent/xml-data/build-dir/O3-BK-JOB1'... simple 19-Aug-2025 13:14:57 done. simple 19-Aug-2025 13:14:57 Switched to a new branch 'main' simple 19-Aug-2025 13:14:57 Branch 'main' set up to track remote branch 'main' from 'origin'. simple 19-Aug-2025 13:14:57 Updated source code to revision: e877c8853d1059de0302650f01acb3c632db1aff simple 19-Aug-2025 13:14:57 Finished task 'Checkout Default Repository' with result: Success simple 19-Aug-2025 13:14:57 Running pre-build action: Build Log Labeller Pre Build Action simple 19-Aug-2025 13:14:57 Running pre-build action: VCS Version Collector simple 19-Aug-2025 13:14:57 Running pre-build action: Run Predator simple 19-Aug-2025 13:14:57 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 19-Aug-2025 13:14:57 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 19-Aug-2025 13:14:57 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 19-Aug-2025 13:14:57 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' skipped, continuing. This is almost never a cause of failed builds. Exception: java.io.IOException: Cannot run program "/opt/scripts/cleanup-before-building.sh": error=2, No such file or directory simple 19-Aug-2025 13:14:57 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1355 java 1335 bamboo-age 3165Mb 505Mb 00:33:02 /usr/lib/jvm/java-21-op simple 19-Aug-2025 13:14:57 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1335 wrapper 1273 bamboo-age 88Mb 4Mb 00:14:11 /data/bamboo-agent/bin/ simple 19-Aug-2025 13:14:57 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1273 bamboo 666 bamboo-age 3Mb 2Mb 00:00:00 /bin/sh /data/bamboo-ag simple 19-Aug-2025 13:14:57 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 666 java 1 bamboo-age 4038Mb 61Mb 00:10:58 /usr/lib/jvm/java-21-op simple 19-Aug-2025 13:14:57 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 13Mb 00:00:26 /sbin/init simple 19-Aug-2025 13:14:57 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 19-Aug-2025 13:14:57 [PredatorPreBuildAction] Initial free space: 92.54785 GB simple 19-Aug-2025 13:14:57 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/CSM-CSM0-JOB1 simple 19-Aug-2025 13:14:57 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage simple 19-Aug-2025 13:14:57 [PredatorPreBuildAction] Maven local repository /home/bamboo-agent/.m2/repositorydoesn't exist, skipping the removal of maven snapshots simple 19-Aug-2025 13:14:57 [PredatorPreBuildAction] Maven local repository /home/bamboo-agent/.m2/repositorydoesn't exist, skipping the removal of empty artifacts simple 19-Aug-2025 13:14:57 [PredatorPreBuildAction] Maven local repository /home/bamboo-agent/.m2/repositorydoesn't exist, skipping the removal of maven snapshots simple 19-Aug-2025 13:14:57 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 19-Aug-2025 13:14:57 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. simple 19-Aug-2025 13:14:57 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 19-Aug-2025 13:14:57 [PredatorPreBuildAction] Final free space: 92.550354 GB simple 19-Aug-2025 13:14:57 [PredatorPreBuildAction] Done simple 19-Aug-2025 13:14:57 Build O3 Reference Application - Build Backend - Build and Publish the Backend Image #190 (O3-BK-JOB1-190) started building on agent 'ploong.openmrs.org' (Remote agent on host ploong.openmrs.org) command 19-Aug-2025 13:14:57 Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64 command 19-Aug-2025 13:14:57 Substituting variable: ${bamboo.docker.image.tag} with nightly command 19-Aug-2025 13:14:57 Substituting variable: ${bamboo.docker.image.tag.env} with dev3 simple 19-Aug-2025 13:14:57 Starting task 'Build and publish Docker image and Maven artifacts' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 19-Aug-2025 13:14:57 Beginning to execute external process for build 'O3 Reference Application - Build Backend - Build and Publish the Backend Image #190 (O3-BK-JOB1-190)'\n ... running command line: \n/data/bamboo-agent/temp/O3-BK-JOB1-190-ScriptBuildTask-10702255980339935058.sh\n ... in: /data/bamboo-agent/xml-data/build-dir/O3-BK-JOB1\n error 19-Aug-2025 13:14:57 + export IMAGE=openmrs/openmrs-reference-application-3-backend error 19-Aug-2025 13:14:57 + IMAGE=openmrs/openmrs-reference-application-3-backend error 19-Aug-2025 13:14:57 ++ date +%s error 19-Aug-2025 13:14:57 + docker buildx build --pull --platform linux/amd64,linux/arm64 --secret type=file,id=m2settings,src=/data/.m2/settings.xml --build-arg MVN_ARGS=deploy --build-arg CACHE_BUST=1755609297 -t openmrs/openmrs-reference-application-3-backend:nightly -t openmrs/openmrs-reference-application-3-backend:dev3 . error 19-Aug-2025 13:14:57 ERROR: failed to stat /data/.m2/settings.xml: stat /data/.m2/settings.xml: no such file or directory simple 19-Aug-2025 13:14:57 Failing task since return code of [/data/bamboo-agent/temp/O3-BK-JOB1-190-ScriptBuildTask-10702255980339935058.sh] was 1 while expected 0 simple 19-Aug-2025 13:14:57 Finished task 'Build and publish Docker image and Maven artifacts' with result: Failed simple 19-Aug-2025 13:14:57 Running post build plugin 'Docker Container Cleanup' simple 19-Aug-2025 13:14:57 Running post build plugin 'NCover Results Collector' simple 19-Aug-2025 13:14:57 Running post build plugin 'Build Results Label Collector' simple 19-Aug-2025 13:14:57 Running post build plugin 'Clover Results Collector' simple 19-Aug-2025 13:14:57 Running post build plugin 'npm Cache Cleanup' simple 19-Aug-2025 13:14:57 Running post build plugin 'Artifact Copier' simple 19-Aug-2025 13:14:57 Finalising the build... simple 19-Aug-2025 13:14:57 Stopping timer. simple 19-Aug-2025 13:14:57 Build O3-BK-JOB1-190 completed. simple 19-Aug-2025 13:14:58 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 19-Aug-2025 13:14:58 Running on server: post build plugin 'NCover Results Collector' simple 19-Aug-2025 13:14:58 Running on server: post build plugin 'Build Labeller' simple 19-Aug-2025 13:14:58 Running on server: post build plugin 'Clover Delta Calculator' simple 19-Aug-2025 13:14:58 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 19-Aug-2025 13:14:58 All post build plugins have finished simple 19-Aug-2025 13:14:58 Generating build results summary... simple 19-Aug-2025 13:14:58 Saving build results to disk... simple 19-Aug-2025 13:14:58 Store variable context... simple 19-Aug-2025 13:14:58 Finished building O3-BK-JOB1-190.