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