simple 27-Aug-2025 10:13:55 Build OpenMRS Platform - OpenMRS Platform - 2.3.x - Build and push #346 (OP-OPM7-JOB1-346) is being prepared for building on agent ploong.openmrs.org, bamboo version: 11.0.2 simple 27-Aug-2025 10:13:55 Remote agent on host ploong.openmrs.org simple 27-Aug-2025 10:13:55 Build working directory is /data/bamboo-agent/xml-data/build-dir/OP-OPM7-JOB1 simple 27-Aug-2025 10:13:55 Executing build OpenMRS Platform - OpenMRS Platform - 2.3.x - Build and push #346 (OP-OPM7-JOB1-346) simple 27-Aug-2025 10:13:55 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 27-Aug-2025 10:13:55 Build always requires a clean checkout simple 27-Aug-2025 10:13:55 Cleaning build directory '/data/bamboo-agent/xml-data/build-dir/OP-OPM7-JOB1' simple 27-Aug-2025 10:13:55 Build always requires a clean checkout simple 27-Aug-2025 10:13:55 Cleaning build directory '/data/bamboo-agent/xml-data/build-dir/OP-OPM7-JOB1/release-scripts' simple 27-Aug-2025 10:13:55 Checking out into /data/bamboo-agent/xml-data/build-dir/OP-OPM7-JOB1 simple 27-Aug-2025 10:13:55 Updating source code to revision: 7899652376b9224a3228e79f966e949a702549ba simple 27-Aug-2025 10:13:55 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/OP-OPM7-JOB1/.git'. simple 27-Aug-2025 10:13:55 hint: Using 'master' as the name for the initial branch. This default branch name simple 27-Aug-2025 10:13:55 hint: is subject to change. To configure the initial branch name to use in all simple 27-Aug-2025 10:13:55 hint: of your new repositories, which will suppress this warning, call: simple 27-Aug-2025 10:13:55 hint: simple 27-Aug-2025 10:13:55 hint: git config --global init.defaultBranch simple 27-Aug-2025 10:13:55 hint: simple 27-Aug-2025 10:13:55 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 27-Aug-2025 10:13:55 hint: 'development'. The just-created branch can be renamed via this command: simple 27-Aug-2025 10:13:55 hint: simple 27-Aug-2025 10:13:55 hint: git branch -m simple 27-Aug-2025 10:13:55 Initialized empty Git repository in /data/bamboo-agent/xml-data/build-dir/OP-OPM7-JOB1/.git/ simple 27-Aug-2025 10:13:55 Fetching 'refs/heads/2.3.x' from 'https://github.com/openmrs/openmrs-distro-platform Will try to do a shallow fetch.'. simple 27-Aug-2025 10:13:55 Checking out revision 7899652376b9224a3228e79f966e949a702549ba. simple 27-Aug-2025 10:13:55 Switched to branch '2.3.x' simple 27-Aug-2025 10:13:55 Updated source code to revision: 7899652376b9224a3228e79f966e949a702549ba simple 27-Aug-2025 10:13:55 Checking out into /data/bamboo-agent/xml-data/build-dir/OP-OPM7-JOB1/release-scripts simple 27-Aug-2025 10:13:55 Updating source code to revision: d5831e94deff58c79f07afa118e3aad928391687 simple 27-Aug-2025 10:13:55 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/OP-OPM7-JOB1/release-scripts/.git'. simple 27-Aug-2025 10:13:55 hint: Using 'master' as the name for the initial branch. This default branch name simple 27-Aug-2025 10:13:55 hint: is subject to change. To configure the initial branch name to use in all simple 27-Aug-2025 10:13:55 hint: of your new repositories, which will suppress this warning, call: simple 27-Aug-2025 10:13:55 hint: simple 27-Aug-2025 10:13:55 hint: git config --global init.defaultBranch simple 27-Aug-2025 10:13:55 hint: simple 27-Aug-2025 10:13:55 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 27-Aug-2025 10:13:55 hint: 'development'. The just-created branch can be renamed via this command: simple 27-Aug-2025 10:13:55 hint: simple 27-Aug-2025 10:13:55 hint: git branch -m simple 27-Aug-2025 10:13:55 Initialized empty Git repository in /data/bamboo-agent/xml-data/build-dir/OP-OPM7-JOB1/release-scripts/.git/ simple 27-Aug-2025 10:13:55 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-contrib-bamboo.git'. simple 27-Aug-2025 10:13:56 Checking out revision d5831e94deff58c79f07afa118e3aad928391687. simple 27-Aug-2025 10:13:56 Already on 'master' simple 27-Aug-2025 10:13:56 Updated source code to revision: d5831e94deff58c79f07afa118e3aad928391687 simple 27-Aug-2025 10:13:56 Finished task 'Checkout Default Repository' with result: Success simple 27-Aug-2025 10:13:56 Running pre-build action: Build Log Labeller Pre Build Action simple 27-Aug-2025 10:13:56 Running pre-build action: VCS Version Collector simple 27-Aug-2025 10:13:56 Running pre-build action: Run Predator simple 27-Aug-2025 10:13:56 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 27-Aug-2025 10:13:56 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 27-Aug-2025 10:13:56 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 27-Aug-2025 10:13:56 [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 27-Aug-2025 10:13:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1355 java 1335 bamboo-age 3166Mb 503Mb 00:49:00 /usr/lib/jvm/java-21-op simple 27-Aug-2025 10:13:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1335 wrapper 1273 bamboo-age 88Mb 3Mb 00:21:39 /data/bamboo-agent/bin/ simple 27-Aug-2025 10:13:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1273 bamboo 666 bamboo-age 3Mb 2Mb 00:00:00 /bin/sh /data/bamboo-ag simple 27-Aug-2025 10:13:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 666 java 1 bamboo-age 4038Mb 44Mb 00:16:42 /usr/lib/jvm/java-21-op simple 27-Aug-2025 10:13:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:00:51 /sbin/init simple 27-Aug-2025 10:13:56 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 27-Aug-2025 10:13:56 [PredatorPreBuildAction] Initial free space: 92.5214 GB simple 27-Aug-2025 10:13:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OP-OPM4-JOB1 simple 27-Aug-2025 10:13:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage simple 27-Aug-2025 10:13:56 [PredatorPreBuildAction] Maven local repository /home/bamboo-agent/.m2/repositorydoesn't exist, skipping the removal of maven snapshots simple 27-Aug-2025 10:13:56 [PredatorPreBuildAction] Maven local repository /home/bamboo-agent/.m2/repositorydoesn't exist, skipping the removal of empty artifacts simple 27-Aug-2025 10:13:56 [PredatorPreBuildAction] Maven local repository /home/bamboo-agent/.m2/repositorydoesn't exist, skipping the removal of maven snapshots simple 27-Aug-2025 10:13:56 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 27-Aug-2025 10:13:56 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json simple 27-Aug-2025 10:13:56 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 27-Aug-2025 10:13:56 [PredatorPreBuildAction] Final free space: 92.52189 GB simple 27-Aug-2025 10:13:56 [PredatorPreBuildAction] Done simple 27-Aug-2025 10:13:56 Build OpenMRS Platform - OpenMRS Platform - 2.3.x - Build and push #346 (OP-OPM7-JOB1-346) started building on agent 'ploong.openmrs.org' (Remote agent on host ploong.openmrs.org) command 27-Aug-2025 10:13:56 Substituting variable: ${bamboo.dockerhub.username} with openmrsci command 27-Aug-2025 10:13:56 Substituting password variable: ${bamboo.dockerhub.password} command 27-Aug-2025 10:13:56 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-platform command 27-Aug-2025 10:13:56 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-platform command 27-Aug-2025 10:13:56 Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64 command 27-Aug-2025 10:13:56 Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64 simple 27-Aug-2025 10:13:56 Starting task 'Build and deploy' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 27-Aug-2025 10:13:56 Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform - 2.3.x - Build and push #346 (OP-OPM7-JOB1-346)'\n ... running command line: \n/data/bamboo-agent/temp/OP-OPM7-JOB1-346-ScriptBuildTask-12396280196469840626.sh\n ... in: /data/bamboo-agent/xml-data/build-dir/OP-OPM7-JOB1\n error 27-Aug-2025 10:13:56 + set +x error 27-Aug-2025 10:13:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. error 27-Aug-2025 10:13:56 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. error 27-Aug-2025 10:13:56 Configure a credential helper to remove this warning. See error 27-Aug-2025 10:13:56 https://docs.docker.com/engine/reference/commandline/login/#credential-stores error 27-Aug-2025 10:13:56 build 27-Aug-2025 10:13:56 Login Succeeded build 27-Aug-2025 10:13:56 Building dev image error 27-Aug-2025 10:13:56 ERROR: Multi-platform build is not supported for the docker driver. error 27-Aug-2025 10:13:56 Switch to a different driver, or turn on the containerd image store, and try again. error 27-Aug-2025 10:13:56 Learn more at https://docs.docker.com/go/build-multi-platform/ simple 27-Aug-2025 10:13:56 Failing task since return code of [/data/bamboo-agent/temp/OP-OPM7-JOB1-346-ScriptBuildTask-12396280196469840626.sh] was 1 while expected 0 simple 27-Aug-2025 10:13:56 Finished task 'Build and deploy' with result: Failed simple 27-Aug-2025 10:13:56 Running post build plugin 'Docker Container Cleanup' simple 27-Aug-2025 10:13:56 Running post build plugin 'NCover Results Collector' simple 27-Aug-2025 10:13:56 Running post build plugin 'Build Results Label Collector' simple 27-Aug-2025 10:13:56 Running post build plugin 'Clover Results Collector' simple 27-Aug-2025 10:13:56 Running post build plugin 'npm Cache Cleanup' simple 27-Aug-2025 10:13:56 Running post build plugin 'Artifact Copier' simple 27-Aug-2025 10:13:56 Finalising the build... simple 27-Aug-2025 10:13:56 Stopping timer. simple 27-Aug-2025 10:13:56 Build OP-OPM7-JOB1-346 completed. simple 27-Aug-2025 10:13:56 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 27-Aug-2025 10:13:56 Running on server: post build plugin 'NCover Results Collector' simple 27-Aug-2025 10:13:56 Running on server: post build plugin 'Build Labeller' simple 27-Aug-2025 10:13:56 Running on server: post build plugin 'Clover Delta Calculator' simple 27-Aug-2025 10:13:56 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 27-Aug-2025 10:13:56 All post build plugins have finished simple 27-Aug-2025 10:13:56 Generating build results summary... simple 27-Aug-2025 10:13:56 Saving build results to disk... simple 27-Aug-2025 10:13:56 Store variable context... simple 27-Aug-2025 10:13:56 Finished building OP-OPM7-JOB1-346.