simple 01-Jul-2025 20:07:55 Build OpenMRS Platform - OpenMRS Platform - 1.10.x - Build and push #378 (OP-OPM4-JOB1-378) is being prepared for building on agent yu.openmrs.org (2), bamboo version: 11.0.2 simple 01-Jul-2025 20:07:55 Remote agent on host yu.openmrs.org simple 01-Jul-2025 20:07:55 Build working directory is /root/bamboo-agent-home/xml-data/build-dir/OP-OPM4-JOB1 simple 01-Jul-2025 20:07:55 Executing build OpenMRS Platform - OpenMRS Platform - 1.10.x - Build and push #378 (OP-OPM4-JOB1-378) simple 01-Jul-2025 20:07:55 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 01-Jul-2025 20:07:55 Build always requires a clean checkout simple 01-Jul-2025 20:07:55 Cleaning build directory '/root/bamboo-agent-home/xml-data/build-dir/OP-OPM4-JOB1' simple 01-Jul-2025 20:07:55 Build always requires a clean checkout simple 01-Jul-2025 20:07:55 Cleaning build directory '/root/bamboo-agent-home/xml-data/build-dir/OP-OPM4-JOB1/release-scripts' simple 01-Jul-2025 20:07:55 Checking out into /root/bamboo-agent-home/xml-data/build-dir/OP-OPM4-JOB1 simple 01-Jul-2025 20:07:55 Updating source code to revision: 7578394b36fcfb878e37fd0595174091adb64445 simple 01-Jul-2025 20:07:55 Creating local git repository in '/root/bamboo-agent-home/xml-data/build-dir/OP-OPM4-JOB1/.git'. simple 01-Jul-2025 20:07:55 hint: Using 'master' as the name for the initial branch. This default branch name simple 01-Jul-2025 20:07:55 hint: is subject to change. To configure the initial branch name to use in all simple 01-Jul-2025 20:07:55 hint: of your new repositories, which will suppress this warning, call: simple 01-Jul-2025 20:07:55 hint: simple 01-Jul-2025 20:07:55 hint: git config --global init.defaultBranch simple 01-Jul-2025 20:07:55 hint: simple 01-Jul-2025 20:07:55 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 01-Jul-2025 20:07:55 hint: 'development'. The just-created branch can be renamed via this command: simple 01-Jul-2025 20:07:55 hint: simple 01-Jul-2025 20:07:55 hint: git branch -m simple 01-Jul-2025 20:07:55 Initialized empty Git repository in /root/bamboo-agent-home/xml-data/build-dir/OP-OPM4-JOB1/.git/ simple 01-Jul-2025 20:07:55 Fetching 'refs/heads/1.10.x' from 'https://github.com/openmrs/openmrs-distro-platform Will try to do a shallow fetch.'. simple 01-Jul-2025 20:07:55 Checking out revision 7578394b36fcfb878e37fd0595174091adb64445. simple 01-Jul-2025 20:07:55 Switched to branch '1.10.x' simple 01-Jul-2025 20:07:55 Updated source code to revision: 7578394b36fcfb878e37fd0595174091adb64445 simple 01-Jul-2025 20:07:55 Checking out into /root/bamboo-agent-home/xml-data/build-dir/OP-OPM4-JOB1/release-scripts simple 01-Jul-2025 20:07:55 Updating source code to revision: d5831e94deff58c79f07afa118e3aad928391687 simple 01-Jul-2025 20:07:55 Creating local git repository in '/root/bamboo-agent-home/xml-data/build-dir/OP-OPM4-JOB1/release-scripts/.git'. simple 01-Jul-2025 20:07:55 hint: Using 'master' as the name for the initial branch. This default branch name simple 01-Jul-2025 20:07:55 hint: is subject to change. To configure the initial branch name to use in all simple 01-Jul-2025 20:07:55 hint: of your new repositories, which will suppress this warning, call: simple 01-Jul-2025 20:07:55 hint: simple 01-Jul-2025 20:07:55 hint: git config --global init.defaultBranch simple 01-Jul-2025 20:07:55 hint: simple 01-Jul-2025 20:07:55 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 01-Jul-2025 20:07:55 hint: 'development'. The just-created branch can be renamed via this command: simple 01-Jul-2025 20:07:55 hint: simple 01-Jul-2025 20:07:55 hint: git branch -m simple 01-Jul-2025 20:07:55 Initialized empty Git repository in /root/bamboo-agent-home/xml-data/build-dir/OP-OPM4-JOB1/release-scripts/.git/ simple 01-Jul-2025 20:07:55 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-contrib-bamboo.git'. simple 01-Jul-2025 20:07:55 Checking out revision d5831e94deff58c79f07afa118e3aad928391687. simple 01-Jul-2025 20:07:55 Already on 'master' simple 01-Jul-2025 20:07:55 Updated source code to revision: d5831e94deff58c79f07afa118e3aad928391687 simple 01-Jul-2025 20:07:55 Finished task 'Checkout Default Repository' with result: Success simple 01-Jul-2025 20:07:55 Running pre-build action: Build Log Labeller Pre Build Action simple 01-Jul-2025 20:07:55 Running pre-build action: VCS Version Collector simple 01-Jul-2025 20:07:55 Running pre-build action: Run Predator simple 01-Jul-2025 20:07:55 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 01-Jul-2025 20:07:55 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 01-Jul-2025 20:07:55 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 01-Jul-2025 20:07:55 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 01-Jul-2025 20:07:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 42359 java 42356 root 3167Mb 502Mb 00:05:58 /usr/lib/jvm/java-21-op simple 01-Jul-2025 20:07:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 42356 wrapper 42349 root 88Mb 4Mb 00:02:03 /root/bamboo-agent-home simple 01-Jul-2025 20:07:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 42349 bamboo 42338 root 3Mb 1Mb 00:00:00 /bin/sh /root/bamboo-ag simple 01-Jul-2025 20:07:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 42338 java 1 root 4038Mb 60Mb 00:01:37 java -jar atlassian-bam simple 01-Jul-2025 20:07:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 99Mb 11Mb 00:01:39 /sbin/init simple 01-Jul-2025 20:07:56 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 01-Jul-2025 20:07:56 [PredatorPreBuildAction] Initial free space: 2.056347 GB simple 01-Jul-2025 20:07:56 [PredatorPreBuildAction] Deleting folder /root/bamboo-agent-home/xml-data/build-dir/OP-OPM6-JOB1 simple 01-Jul-2025 20:07:56 [PredatorPreBuildAction] Deleting folder /root/bamboo-agent-home/xml-data/build-dir/temporaryArtifactStorage simple 01-Jul-2025 20:07:56 [PredatorPreBuildAction] Maven local repository /root/.m2/repositorydoesn't exist, skipping the removal of maven snapshots simple 01-Jul-2025 20:07:56 [PredatorPreBuildAction] Maven local repository /root/.m2/repositorydoesn't exist, skipping the removal of empty artifacts simple 01-Jul-2025 20:07:56 [PredatorPreBuildAction] Maven local repository /root/.m2/repositorydoesn't exist, skipping the removal of maven snapshots simple 01-Jul-2025 20:07:56 [PredatorPreBuildAction] File /root/.npmrc does not exist. simple 01-Jul-2025 20:07:56 [PredatorPreBuildAction] Deleting file /root/.docker/config.json simple 01-Jul-2025 20:07:56 [PredatorPreBuildAction] File /root/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 01-Jul-2025 20:07:56 [PredatorPreBuildAction] Final free space: 2.0568466 GB simple 01-Jul-2025 20:07:56 [PredatorPreBuildAction] Done simple 01-Jul-2025 20:07:56 Build OpenMRS Platform - OpenMRS Platform - 1.10.x - Build and push #378 (OP-OPM4-JOB1-378) started building on agent 'yu.openmrs.org (2)' (Remote agent on host yu.openmrs.org) command 01-Jul-2025 20:07:56 Substituting variable: ${bamboo.dockerhub.username} with openmrsci command 01-Jul-2025 20:07:56 Substituting password variable: ${bamboo.dockerhub.password} command 01-Jul-2025 20:07:56 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-platform command 01-Jul-2025 20:07:56 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-platform command 01-Jul-2025 20:07:56 Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64 command 01-Jul-2025 20:07:56 Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64 simple 01-Jul-2025 20:07:56 Starting task 'Build and deploy' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 01-Jul-2025 20:07:56 Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform - 1.10.x - Build and push #378 (OP-OPM4-JOB1-378)'\n ... running command line: \n/root/bamboo-agent-home/temp/OP-OPM4-JOB1-378-ScriptBuildTask-17678374858623324476.sh\n ... in: /root/bamboo-agent-home/xml-data/build-dir/OP-OPM4-JOB1\n error 01-Jul-2025 20:07:56 + [[ ehuB != ehuxB ]] error 01-Jul-2025 20:07:56 + echo 'Start of Lmod init/bash script to define the module command' error 01-Jul-2025 20:07:56 + LMOD_PKG=/usr/share/lmod/lmod error 01-Jul-2025 20:07:56 + LMOD_DIR=/usr/share/lmod/lmod/libexec error 01-Jul-2025 20:07:56 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod error 01-Jul-2025 20:07:56 + MODULESHOME=/usr/share/lmod/lmod error 01-Jul-2025 20:07:56 + export LMOD_PKG error 01-Jul-2025 20:07:56 + export LMOD_CMD error 01-Jul-2025 20:07:56 + export LMOD_DIR error 01-Jul-2025 20:07:56 + export MODULESHOME error 01-Jul-2025 20:07:56 + LMOD_VERSION=6.6 error 01-Jul-2025 20:07:56 + export LMOD_VERSION error 01-Jul-2025 20:07:56 + '[' : '!=' : ']' error 01-Jul-2025 20:07:56 + unalias ml error 01-Jul-2025 20:07:56 + true error 01-Jul-2025 20:07:56 ++ /usr/bin/tr '[:upper:]' '[:lower:]' build 01-Jul-2025 20:07:56 Start of Lmod init/bash script to define the module command error 01-Jul-2025 20:07:56 ++ echo YES error 01-Jul-2025 20:07:56 + export_module=yes error 01-Jul-2025 20:07:56 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' error 01-Jul-2025 20:07:56 + export -f module error 01-Jul-2025 20:07:56 + export -f ml error 01-Jul-2025 20:07:56 + unset export_module error 01-Jul-2025 20:07:56 + '[' -n '' ']' error 01-Jul-2025 20:07:56 + '[' 5 -ge 3 ']' error 01-Jul-2025 20:07:56 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' error 01-Jul-2025 20:07:56 + '[' -n '' ']' error 01-Jul-2025 20:07:56 + [[ ehuB != ehuxB ]] error 01-Jul-2025 20:07:56 + echo 'End of Lmod init/bash script to define the module command' error 01-Jul-2025 20:07:56 + set +x build 01-Jul-2025 20:07:56 End of Lmod init/bash script to define the module command error 01-Jul-2025 20:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. build 01-Jul-2025 20:07:56 Login Succeeded error 01-Jul-2025 20:07:56 WARNING! Your password will be stored unencrypted in /root/.docker/config.json. error 01-Jul-2025 20:07:56 Configure a credential helper to remove this warning. See error 01-Jul-2025 20:07:56 https://docs.docker.com/engine/reference/commandline/login/#credential-stores error 01-Jul-2025 20:07:56 build 01-Jul-2025 20:07:56 Building dev image error 01-Jul-2025 20:07:56 error: multiple platforms feature is currently not supported for docker driver. Please switch to a different driver (eg. "docker buildx create --use") simple 01-Jul-2025 20:07:56 Failing task since return code of [/root/bamboo-agent-home/temp/OP-OPM4-JOB1-378-ScriptBuildTask-17678374858623324476.sh] was 1 while expected 0 simple 01-Jul-2025 20:07:56 Finished task 'Build and deploy' with result: Failed simple 01-Jul-2025 20:07:56 Running post build plugin 'Docker Container Cleanup' simple 01-Jul-2025 20:07:56 Running post build plugin 'NCover Results Collector' simple 01-Jul-2025 20:07:56 Running post build plugin 'Build Results Label Collector' simple 01-Jul-2025 20:07:56 Running post build plugin 'Clover Results Collector' simple 01-Jul-2025 20:07:56 Running post build plugin 'npm Cache Cleanup' simple 01-Jul-2025 20:07:56 Running post build plugin 'Artifact Copier' simple 01-Jul-2025 20:07:56 Finalising the build... simple 01-Jul-2025 20:07:56 Stopping timer. simple 01-Jul-2025 20:07:56 Build OP-OPM4-JOB1-378 completed. simple 01-Jul-2025 20:07:56 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 01-Jul-2025 20:07:56 Running on server: post build plugin 'NCover Results Collector' simple 01-Jul-2025 20:07:56 Running on server: post build plugin 'Build Labeller' simple 01-Jul-2025 20:07:56 Running on server: post build plugin 'Clover Delta Calculator' simple 01-Jul-2025 20:07:56 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 01-Jul-2025 20:07:56 All post build plugins have finished simple 01-Jul-2025 20:07:56 Generating build results summary... simple 01-Jul-2025 20:07:56 Saving build results to disk... simple 01-Jul-2025 20:07:56 Store variable context... simple 01-Jul-2025 20:07:56 Finished building OP-OPM4-JOB1-378.