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