Builds the O3 backend
Build: #17 failed
Job: Build and Publish the Backend Image failed
Build log
The build generated 76 lines of output. Download or view full build log.
20-Aug-2025 09:13:52 | Build O3 Reference Application - Build Backend - 3.x-core-2.8 - Build and Publish the Backend Image #17 (O3-BK0-JOB1-17) is being prepared for building on agent ploong.openmrs.org, bamboo version: 11.0.2 |
20-Aug-2025 09:13:52 | Remote agent on host ploong.openmrs.org |
20-Aug-2025 09:13:52 | Build working directory is /data/bamboo-agent/xml-data/build-dir/O3-BK0-JOB1 |
20-Aug-2025 09:13:52 | Executing build O3 Reference Application - Build Backend - 3.x-core-2.8 - Build and Publish the Backend Image #17 (O3-BK0-JOB1-17) |
20-Aug-2025 09:13:52 | Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' |
20-Aug-2025 09:13:52 | Checking out into /data/bamboo-agent/xml-data/build-dir/O3-BK0-JOB1 |
20-Aug-2025 09:13:52 | Checking out code from O3-BK0-JOB1, revision 7c93ba0c88f595e1a915e8f3b3dc33ccbbe90e79 |
20-Aug-2025 09:13:52 | and merging code from O3-BK, revision e877c8853d1059de0302650f01acb3c632db1aff |
20-Aug-2025 09:13:52 | Fetching 'refs/heads/3.x-core-2.8' from 'https://github.com/openmrs/openmrs-distro-referenceapplication'. |
20-Aug-2025 09:13:52 | Checking out revision 7c93ba0c88f595e1a915e8f3b3dc33ccbbe90e79. |
20-Aug-2025 09:13:52 | Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/O3-BK0-JOB1/.git'. |
20-Aug-2025 09:13:52 | Cloning into '/data/bamboo-agent/xml-data/build-dir/O3-BK0-JOB1'... |
20-Aug-2025 09:13:52 | done. |
20-Aug-2025 09:13:53 | Switched to a new branch '3.x-core-2.8' |
20-Aug-2025 09:13:53 | Branch '3.x-core-2.8' set up to track remote branch '3.x-core-2.8' from 'origin'. |
20-Aug-2025 09:13:53 | Fetching 'refs/heads/main' from 'https://github.com/openmrs/openmrs-distro-referenceapplication'. |
20-Aug-2025 09:13:53 | Already up to date. |
20-Aug-2025 09:13:53 | No new changes on O3-BK found to merge. |
20-Aug-2025 09:13:53 | Updated source code to revision: 7c93ba0c88f595e1a915e8f3b3dc33ccbbe90e79 |
20-Aug-2025 09:13:53 | Finished task 'Checkout Default Repository' with result: Success |
20-Aug-2025 09:13:53 | Running pre-build action: Build Log Labeller Pre Build Action |
20-Aug-2025 09:13:53 | Running pre-build action: VCS Version Collector |
20-Aug-2025 09:13:53 | Running pre-build action: Run Predator |
20-Aug-2025 09:13:53 | [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner |
20-Aug-2025 09:13:53 | [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh |
20-Aug-2025 09:13:53 | [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' |
20-Aug-2025 09:13:53 | [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 |
20-Aug-2025 09:13:53 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1355 java 1335 bamboo-age 3165Mb 505Mb 00:34:43 /usr/lib/jvm/java-21-op |
20-Aug-2025 09:13:53 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1335 wrapper 1273 bamboo-age 88Mb 4Mb 00:14:58 /data/bamboo-agent/bin/ |
20-Aug-2025 09:13:53 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1273 bamboo 666 bamboo-age 3Mb 2Mb 00:00:00 /bin/sh /data/bamboo-ag |
20-Aug-2025 09:13:53 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 666 java 1 bamboo-age 4038Mb 61Mb 00:11:34 /usr/lib/jvm/java-21-op |
20-Aug-2025 09:13:53 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 13Mb 00:00:28 /sbin/init |
20-Aug-2025 09:13:53 | [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) |
20-Aug-2025 09:13:53 | [PredatorPreBuildAction] Initial free space: 92.52583 GB |
20-Aug-2025 09:13:53 | [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/O3-BF0-JOB1 |
20-Aug-2025 09:13:53 | [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage |
20-Aug-2025 09:13:53 | [PredatorPreBuildAction] Maven local repository /home/bamboo-agent/.m2/repositorydoesn't exist, skipping the removal of maven snapshots |
20-Aug-2025 09:13:53 | [PredatorPreBuildAction] Maven local repository /home/bamboo-agent/.m2/repositorydoesn't exist, skipping the removal of empty artifacts |
20-Aug-2025 09:13:53 | [PredatorPreBuildAction] Maven local repository /home/bamboo-agent/.m2/repositorydoesn't exist, skipping the removal of maven snapshots |
20-Aug-2025 09:13:53 | [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. |
20-Aug-2025 09:13:53 | [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json |
20-Aug-2025 09:13:53 | [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. |
20-Aug-2025 09:13:53 | [PredatorPreBuildAction] Final free space: 92.526184 GB |
20-Aug-2025 09:13:53 | [PredatorPreBuildAction] Done |
20-Aug-2025 09:13:53 | Build O3 Reference Application - Build Backend - 3.x-core-2.8 - Build and Publish the Backend Image #17 (O3-BK0-JOB1-17) started building on agent 'ploong.openmrs.org' (Remote agent on host ploong.openmrs.org) |
20-Aug-2025 09:13:53 | Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64 |
20-Aug-2025 09:13:53 | Substituting variable: ${bamboo.docker.image.tag} with nightly-core-2.8 |
20-Aug-2025 09:13:53 | Substituting variable: ${bamboo.docker.image.tag.env} with dev3-core-2.8 |
20-Aug-2025 09:13:53 | Starting task 'Build and publish Docker image and Maven artifacts' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' |
20-Aug-2025 09:13:53 | Beginning to execute external process for build 'O3 Reference Application - Build Backend - 3.x-core-2.8 - Build and Publish the Backend Image #17 (O3-BK0-JOB1-17)' ... running command line: /data/bamboo-agent/temp/O3-BK0-JOB1-17-ScriptBuildTask-2576288741586076097.sh ... in: /data/bamboo-agent/xml-data/build-dir/O3-BK0-JOB1 |
20-Aug-2025 09:13:53 | + export IMAGE=openmrs/openmrs-reference-application-3-backend |
20-Aug-2025 09:13:53 | + IMAGE=openmrs/openmrs-reference-application-3-backend |
20-Aug-2025 09:13:53 | ++ date +%s |
20-Aug-2025 09:13:53 | + 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=1755681233 -t openmrs/openmrs-reference-application-3-backend:nightly-core-2.8 -t openmrs/openmrs-reference-application-3-backend:dev3-core-2.8 . |
20-Aug-2025 09:13:53 | ERROR: failed to stat /data/.m2/settings.xml: stat /data/.m2/settings.xml: no such file or directory |
20-Aug-2025 09:13:53 | Failing task since return code of [/data/bamboo-agent/temp/O3-BK0-JOB1-17-ScriptBuildTask-2576288741586076097.sh] was 1 while expected 0 |
20-Aug-2025 09:13:53 | Finished task 'Build and publish Docker image and Maven artifacts' with result: Failed |
20-Aug-2025 09:13:53 | Running post build plugin 'Docker Container Cleanup' |
20-Aug-2025 09:13:53 | Running post build plugin 'NCover Results Collector' |
20-Aug-2025 09:13:53 | Running post build plugin 'Build Results Label Collector' |
20-Aug-2025 09:13:53 | Running post build plugin 'Clover Results Collector' |
20-Aug-2025 09:13:53 | Running post build plugin 'npm Cache Cleanup' |
20-Aug-2025 09:13:53 | Running post build plugin 'Artifact Copier' |
20-Aug-2025 09:13:53 | Finalising the build... |
20-Aug-2025 09:13:53 | Stopping timer. |
20-Aug-2025 09:13:53 | Build O3-BK0-JOB1-17 completed. |
20-Aug-2025 09:13:53 | Running on server: post build plugin 'Build Hanging Detection Configuration' |
20-Aug-2025 09:13:53 | Running on server: post build plugin 'NCover Results Collector' |
20-Aug-2025 09:13:53 | Running on server: post build plugin 'Build Labeller' |
20-Aug-2025 09:13:53 | Running on server: post build plugin 'Clover Delta Calculator' |
20-Aug-2025 09:13:53 | Running on server: post build plugin 'Maven Dependencies Postprocessor' |
20-Aug-2025 09:13:53 | All post build plugins have finished |
20-Aug-2025 09:13:53 | Generating build results summary... |
20-Aug-2025 09:13:53 | Saving build results to disk... |
20-Aug-2025 09:13:53 | Store variable context... |
20-Aug-2025 09:13:53 | Finished building O3-BK0-JOB1-17. |