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