Builds the gateway image
Build: #4 failed
Job: Build Gateway failed
Build log
The build generated 82 lines of output. Download or view full build log.
20-Aug-2025 09:13:50 | Build O3 Reference Application - Build Gateway - 3.x-core-2.8 - Build Gateway #4 (O3-BG0-JOB1-4) is being prepared for building on agent ploong.openmrs.org, bamboo version: 11.0.2 |
20-Aug-2025 09:13:50 | Remote agent on host ploong.openmrs.org |
20-Aug-2025 09:13:50 | Build working directory is /data/bamboo-agent/xml-data/build-dir/O3-BG0-JOB1 |
20-Aug-2025 09:13:50 | Executing build O3 Reference Application - Build Gateway - 3.x-core-2.8 - Build Gateway #4 (O3-BG0-JOB1-4) |
20-Aug-2025 09:13:50 | Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' |
20-Aug-2025 09:13:50 | Checking out into /data/bamboo-agent/xml-data/build-dir/O3-BG0-JOB1 |
20-Aug-2025 09:13:50 | Updating source code to revision: 7c93ba0c88f595e1a915e8f3b3dc33ccbbe90e79 |
20-Aug-2025 09:13:50 | Fetching 'refs/heads/3.x-core-2.8' from 'https://github.com/openmrs/openmrs-distro-referenceapplication.git'. |
20-Aug-2025 09:13:50 | Checking out revision 7c93ba0c88f595e1a915e8f3b3dc33ccbbe90e79. |
20-Aug-2025 09:13:50 | Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/O3-BG0-JOB1/.git'. |
20-Aug-2025 09:13:50 | Cloning into '/data/bamboo-agent/xml-data/build-dir/O3-BG0-JOB1'... |
20-Aug-2025 09:13:50 | done. |
20-Aug-2025 09:13:50 | Switched to a new branch '3.x-core-2.8' |
20-Aug-2025 09:13:50 | Branch '3.x-core-2.8' set up to track remote branch '3.x-core-2.8' from 'origin'. |
20-Aug-2025 09:13:50 | Updated source code to revision: 7c93ba0c88f595e1a915e8f3b3dc33ccbbe90e79 |
20-Aug-2025 09:13:50 | Finished task 'Checkout Default Repository' with result: Success |
20-Aug-2025 09:13:50 | Running pre-build action: Build Log Labeller Pre Build Action |
20-Aug-2025 09:13:50 | Running pre-build action: VCS Version Collector |
20-Aug-2025 09:13:50 | Running pre-build action: Run Predator |
20-Aug-2025 09:13:50 | [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner |
20-Aug-2025 09:13:50 | [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh |
20-Aug-2025 09:13:50 | [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' |
20-Aug-2025 09:13:50 | [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:50 | [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:50 | [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:50 | [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:50 | [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:50 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 13Mb 00:00:28 /sbin/init |
20-Aug-2025 09:13:50 | [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) |
20-Aug-2025 09:13:50 | [PredatorPreBuildAction] Initial free space: 92.52607 GB |
20-Aug-2025 09:13:50 | [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/O3-BF0-JOB1 |
20-Aug-2025 09:13:50 | [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage |
20-Aug-2025 09:13:50 | [PredatorPreBuildAction] Maven local repository /home/bamboo-agent/.m2/repositorydoesn't exist, skipping the removal of maven snapshots |
20-Aug-2025 09:13:50 | [PredatorPreBuildAction] Maven local repository /home/bamboo-agent/.m2/repositorydoesn't exist, skipping the removal of empty artifacts |
20-Aug-2025 09:13:50 | [PredatorPreBuildAction] Maven local repository /home/bamboo-agent/.m2/repositorydoesn't exist, skipping the removal of maven snapshots |
20-Aug-2025 09:13:50 | [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. |
20-Aug-2025 09:13:50 | [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json |
20-Aug-2025 09:13:50 | [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. |
20-Aug-2025 09:13:50 | [PredatorPreBuildAction] Final free space: 92.52642 GB |
20-Aug-2025 09:13:50 | [PredatorPreBuildAction] Done |
20-Aug-2025 09:13:50 | Build O3 Reference Application - Build Gateway - 3.x-core-2.8 - Build Gateway #4 (O3-BG0-JOB1-4) started building on agent 'ploong.openmrs.org' (Remote agent on host ploong.openmrs.org) |
20-Aug-2025 09:13:51 | Substituting variable: ${bamboo.dockerhub.username} with openmrsci |
20-Aug-2025 09:13:51 | Substituting password variable: ${bamboo.dockerhub.password} |
20-Aug-2025 09:13:51 | Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64 |
20-Aug-2025 09:13:51 | Substituting variable: ${bamboo.docker.image.tag} with nightly-core-2.8 |
20-Aug-2025 09:13:51 | Substituting variable: ${bamboo.docker.image.tag.env} with dev3-core-2.8 |
20-Aug-2025 09:13:51 | Starting task 'Build and publish image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' |
20-Aug-2025 09:13:51 | Beginning to execute external process for build 'O3 Reference Application - Build Gateway - 3.x-core-2.8 - Build Gateway #4 (O3-BG0-JOB1-4)' ... running command line: /data/bamboo-agent/temp/O3-BG0-JOB1-4-ScriptBuildTask-12088560065950072376.sh ... in: /data/bamboo-agent/xml-data/build-dir/O3-BG0-JOB1 |
20-Aug-2025 09:13:51 | + export IMAGE=openmrs/openmrs-reference-application-3-gateway |
20-Aug-2025 09:13:51 | + IMAGE=openmrs/openmrs-reference-application-3-gateway |
20-Aug-2025 09:13:51 | + docker login -u openmrsci -p ******** |
20-Aug-2025 09:13:51 | WARNING! Using --password via the CLI is insecure. Use --password-stdin. |
20-Aug-2025 09:13:51 | WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. |
20-Aug-2025 09:13:51 | Configure a credential helper to remove this warning. See |
20-Aug-2025 09:13:51 | https://docs.docker.com/engine/reference/commandline/login/#credential-stores |
20-Aug-2025 09:13:51 | Login Succeeded |
20-Aug-2025 09:13:51 | |
20-Aug-2025 09:13:51 | + docker buildx build --pull --push --platform linux/amd64,linux/arm64 -t openmrs/openmrs-reference-application-3-gateway:nightly-core-2.8 -t openmrs/openmrs-reference-application-3-gateway:dev3-core-2.8 gateway/ |
20-Aug-2025 09:13:51 | ERROR: Multi-platform build is not supported for the docker driver. |
20-Aug-2025 09:13:51 | Switch to a different driver, or turn on the containerd image store, and try again. |
20-Aug-2025 09:13:51 | Learn more at https://docs.docker.com/go/build-multi-platform/ |
20-Aug-2025 09:13:51 | Failing task since return code of [/data/bamboo-agent/temp/O3-BG0-JOB1-4-ScriptBuildTask-12088560065950072376.sh] was 1 while expected 0 |
20-Aug-2025 09:13:51 | Finished task 'Build and publish image' with result: Failed |
20-Aug-2025 09:13:51 | Running post build plugin 'Docker Container Cleanup' |
20-Aug-2025 09:13:51 | Running post build plugin 'NCover Results Collector' |
20-Aug-2025 09:13:51 | Running post build plugin 'Build Results Label Collector' |
20-Aug-2025 09:13:51 | Running post build plugin 'Clover Results Collector' |
20-Aug-2025 09:13:51 | Running post build plugin 'npm Cache Cleanup' |
20-Aug-2025 09:13:51 | Running post build plugin 'Artifact Copier' |
20-Aug-2025 09:13:51 | Finalising the build... |
20-Aug-2025 09:13:51 | Stopping timer. |
20-Aug-2025 09:13:51 | Build O3-BG0-JOB1-4 completed. |
20-Aug-2025 09:13:51 | Running on server: post build plugin 'Build Hanging Detection Configuration' |
20-Aug-2025 09:13:51 | Running on server: post build plugin 'NCover Results Collector' |
20-Aug-2025 09:13:51 | Running on server: post build plugin 'Build Labeller' |
20-Aug-2025 09:13:51 | Running on server: post build plugin 'Clover Delta Calculator' |
20-Aug-2025 09:13:51 | Running on server: post build plugin 'Maven Dependencies Postprocessor' |
20-Aug-2025 09:13:51 | All post build plugins have finished |
20-Aug-2025 09:13:51 | Generating build results summary... |
20-Aug-2025 09:13:51 | Saving build results to disk... |
20-Aug-2025 09:13:51 | Store variable context... |
20-Aug-2025 09:13:51 | Finished building O3-BG0-JOB1-4. |