Builds the O3 backend
Build: #190 failed
Job: Build and Publish the Backend Image failed
Build log
The build generated 72 lines of output. Download or view full build log.
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 |
19-Aug-2025 13:14:57 | Remote agent on host ploong.openmrs.org |
19-Aug-2025 13:14:57 | Build working directory is /data/bamboo-agent/xml-data/build-dir/O3-BK-JOB1 |
19-Aug-2025 13:14:57 | Executing build O3 Reference Application - Build Backend - Build and Publish the Backend Image #190 (O3-BK-JOB1-190) |
19-Aug-2025 13:14:57 | Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' |
19-Aug-2025 13:14:57 | Checking out into /data/bamboo-agent/xml-data/build-dir/O3-BK-JOB1 |
19-Aug-2025 13:14:57 | Updating source code to revision: e877c8853d1059de0302650f01acb3c632db1aff |
19-Aug-2025 13:14:57 | Fetching 'refs/heads/main' from 'https://github.com/openmrs/openmrs-distro-referenceapplication'. |
19-Aug-2025 13:14:57 | Checking out revision e877c8853d1059de0302650f01acb3c632db1aff. |
19-Aug-2025 13:14:57 | Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/O3-BK-JOB1/.git'. |
19-Aug-2025 13:14:57 | Cloning into '/data/bamboo-agent/xml-data/build-dir/O3-BK-JOB1'... |
19-Aug-2025 13:14:57 | done. |
19-Aug-2025 13:14:57 | Switched to a new branch 'main' |
19-Aug-2025 13:14:57 | Branch 'main' set up to track remote branch 'main' from 'origin'. |
19-Aug-2025 13:14:57 | Updated source code to revision: e877c8853d1059de0302650f01acb3c632db1aff |
19-Aug-2025 13:14:57 | Finished task 'Checkout Default Repository' with result: Success |
19-Aug-2025 13:14:57 | Running pre-build action: Build Log Labeller Pre Build Action |
19-Aug-2025 13:14:57 | Running pre-build action: VCS Version Collector |
19-Aug-2025 13:14:57 | Running pre-build action: Run Predator |
19-Aug-2025 13:14:57 | [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner |
19-Aug-2025 13:14:57 | [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh |
19-Aug-2025 13:14:57 | [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' |
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 |
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 |
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/ |
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 |
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 |
19-Aug-2025 13:14:57 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 13Mb 00:00:26 /sbin/init |
19-Aug-2025 13:14:57 | [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) |
19-Aug-2025 13:14:57 | [PredatorPreBuildAction] Initial free space: 92.54785 GB |
19-Aug-2025 13:14:57 | [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/CSM-CSM0-JOB1 |
19-Aug-2025 13:14:57 | [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage |
19-Aug-2025 13:14:57 | [PredatorPreBuildAction] Maven local repository /home/bamboo-agent/.m2/repositorydoesn't exist, skipping the removal of maven snapshots |
19-Aug-2025 13:14:57 | [PredatorPreBuildAction] Maven local repository /home/bamboo-agent/.m2/repositorydoesn't exist, skipping the removal of empty artifacts |
19-Aug-2025 13:14:57 | [PredatorPreBuildAction] Maven local repository /home/bamboo-agent/.m2/repositorydoesn't exist, skipping the removal of maven snapshots |
19-Aug-2025 13:14:57 | [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. |
19-Aug-2025 13:14:57 | [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. |
19-Aug-2025 13:14:57 | [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. |
19-Aug-2025 13:14:57 | [PredatorPreBuildAction] Final free space: 92.550354 GB |
19-Aug-2025 13:14:57 | [PredatorPreBuildAction] Done |
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) |
19-Aug-2025 13:14:57 | Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64 |
19-Aug-2025 13:14:57 | Substituting variable: ${bamboo.docker.image.tag} with nightly |
19-Aug-2025 13:14:57 | Substituting variable: ${bamboo.docker.image.tag.env} with dev3 |
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' |
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)' ... running command line: /data/bamboo-agent/temp/O3-BK-JOB1-190-ScriptBuildTask-10702255980339935058.sh ... in: /data/bamboo-agent/xml-data/build-dir/O3-BK-JOB1 |
19-Aug-2025 13:14:57 | + export IMAGE=openmrs/openmrs-reference-application-3-backend |
19-Aug-2025 13:14:57 | + IMAGE=openmrs/openmrs-reference-application-3-backend |
19-Aug-2025 13:14:57 | ++ date +%s |
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 . |
19-Aug-2025 13:14:57 | ERROR: failed to stat /data/.m2/settings.xml: stat /data/.m2/settings.xml: no such file or directory |
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 |
19-Aug-2025 13:14:57 | Finished task 'Build and publish Docker image and Maven artifacts' with result: Failed |
19-Aug-2025 13:14:57 | Running post build plugin 'Docker Container Cleanup' |
19-Aug-2025 13:14:57 | Running post build plugin 'NCover Results Collector' |
19-Aug-2025 13:14:57 | Running post build plugin 'Build Results Label Collector' |
19-Aug-2025 13:14:57 | Running post build plugin 'Clover Results Collector' |
19-Aug-2025 13:14:57 | Running post build plugin 'npm Cache Cleanup' |
19-Aug-2025 13:14:57 | Running post build plugin 'Artifact Copier' |
19-Aug-2025 13:14:57 | Finalising the build... |
19-Aug-2025 13:14:57 | Stopping timer. |
19-Aug-2025 13:14:57 | Build O3-BK-JOB1-190 completed. |
19-Aug-2025 13:14:58 | Running on server: post build plugin 'Build Hanging Detection Configuration' |
19-Aug-2025 13:14:58 | Running on server: post build plugin 'NCover Results Collector' |
19-Aug-2025 13:14:58 | Running on server: post build plugin 'Build Labeller' |
19-Aug-2025 13:14:58 | Running on server: post build plugin 'Clover Delta Calculator' |
19-Aug-2025 13:14:58 | Running on server: post build plugin 'Maven Dependencies Postprocessor' |
19-Aug-2025 13:14:58 | All post build plugins have finished |
19-Aug-2025 13:14:58 | Generating build results summary... |
19-Aug-2025 13:14:58 | Saving build results to disk... |
19-Aug-2025 13:14:58 | Store variable context... |
19-Aug-2025 13:14:58 | Finished building O3-BK-JOB1-190. |