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