simple 26-Jun-2025 09:36:42 Build OpenMRS Platform - OpenMRS Platform - 1.12.x - Build and push #378 (OP-OPM2-JOB1-378) started building on agent xindi.openmrs.org (3), bamboo version: 8.2.4 simple 26-Jun-2025 09:36:42 Remote agent on host xindi.openmrs.org simple 26-Jun-2025 09:36:42 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM2-JOB1 simple 26-Jun-2025 09:36:42 Executing build OpenMRS Platform - OpenMRS Platform - 1.12.x - Build and push #378 (OP-OPM2-JOB1-378) simple 26-Jun-2025 09:36:42 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 26-Jun-2025 09:36:42 Build always requires a clean checkout simple 26-Jun-2025 09:36:42 Cleaning build directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM2-JOB1' simple 26-Jun-2025 09:36:42 Build always requires a clean checkout simple 26-Jun-2025 09:36:42 Cleaning build directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM2-JOB1/release-scripts' simple 26-Jun-2025 09:36:42 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM2-JOB1 simple 26-Jun-2025 09:36:42 Updating source code to revision: 55801f7607f98f079b083e021c35e2c30b3a0e05 simple 26-Jun-2025 09:36:42 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM2-JOB1/.git'. simple 26-Jun-2025 09:36:42 hint: Using 'master' as the name for the initial branch. This default branch name simple 26-Jun-2025 09:36:42 hint: is subject to change. To configure the initial branch name to use in all simple 26-Jun-2025 09:36:42 hint: of your new repositories, which will suppress this warning, call: simple 26-Jun-2025 09:36:42 hint: simple 26-Jun-2025 09:36:42 hint: git config --global init.defaultBranch simple 26-Jun-2025 09:36:42 hint: simple 26-Jun-2025 09:36:42 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 26-Jun-2025 09:36:42 hint: 'development'. The just-created branch can be renamed via this command: simple 26-Jun-2025 09:36:42 hint: simple 26-Jun-2025 09:36:42 hint: git branch -m simple 26-Jun-2025 09:36:42 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM2-JOB1/.git/ simple 26-Jun-2025 09:36:42 Fetching 'refs/heads/1.12.x' from 'https://github.com/openmrs/openmrs-distro-platform'. Will try to do a shallow fetch. simple 26-Jun-2025 09:36:42 From https://github.com/openmrs/openmrs-distro-platform simple 26-Jun-2025 09:36:42 * [new branch] 1.12.x -> 1.12.x simple 26-Jun-2025 09:36:42 Checking out revision 55801f7607f98f079b083e021c35e2c30b3a0e05. simple 26-Jun-2025 09:36:42 Switched to branch '1.12.x' simple 26-Jun-2025 09:36:42 Updated source code to revision: 55801f7607f98f079b083e021c35e2c30b3a0e05 simple 26-Jun-2025 09:36:42 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM2-JOB1/release-scripts simple 26-Jun-2025 09:36:42 Updating source code to revision: d5831e94deff58c79f07afa118e3aad928391687 simple 26-Jun-2025 09:36:42 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM2-JOB1/release-scripts/.git'. simple 26-Jun-2025 09:36:42 hint: Using 'master' as the name for the initial branch. This default branch name simple 26-Jun-2025 09:36:42 hint: is subject to change. To configure the initial branch name to use in all simple 26-Jun-2025 09:36:42 hint: of your new repositories, which will suppress this warning, call: simple 26-Jun-2025 09:36:42 hint: simple 26-Jun-2025 09:36:42 hint: git config --global init.defaultBranch simple 26-Jun-2025 09:36:42 hint: simple 26-Jun-2025 09:36:42 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 26-Jun-2025 09:36:42 hint: 'development'. The just-created branch can be renamed via this command: simple 26-Jun-2025 09:36:42 hint: simple 26-Jun-2025 09:36:42 hint: git branch -m simple 26-Jun-2025 09:36:42 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM2-JOB1/release-scripts/.git/ simple 26-Jun-2025 09:36:42 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-contrib-bamboo.git'. simple 26-Jun-2025 09:36:43 From https://github.com/openmrs/openmrs-contrib-bamboo simple 26-Jun-2025 09:36:43 * [new branch] master -> master simple 26-Jun-2025 09:36:43 Checking out revision d5831e94deff58c79f07afa118e3aad928391687. simple 26-Jun-2025 09:36:43 Already on 'master' simple 26-Jun-2025 09:36:43 Updated source code to revision: d5831e94deff58c79f07afa118e3aad928391687 simple 26-Jun-2025 09:36:43 Finished task 'Checkout Default Repository' with result: Success simple 26-Jun-2025 09:36:43 Running pre-build action: Build Log Labeller Pre Build Action simple 26-Jun-2025 09:36:43 Running pre-build action: VCS Version Collector simple 26-Jun-2025 09:36:43 Running pre-build action: Run Predator simple 26-Jun-2025 09:36:43 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 26-Jun-2025 09:36:43 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 26-Jun-2025 09:36:43 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 26-Jun-2025 09:36:43 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 26-Jun-2025 09:36:43 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 40047 java 1356 bamboo-age 2975Mb 603Mb 00:06:39 /usr/lib/jvm/java-8-ope simple 26-Jun-2025 09:36:43 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1356 wrapper 1 bamboo-age 16Mb 3Mb 00:02:27 /home/bamboo-agent/bamb simple 26-Jun-2025 09:36:43 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 100Mb 12Mb 00:00:41 /sbin/init simple 26-Jun-2025 09:36:43 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 26-Jun-2025 09:36:43 [PredatorPreBuildAction] Initial free space: 2.8282242 GB simple 26-Jun-2025 09:36:43 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM0-JOB1 simple 26-Jun-2025 09:36:43 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/UIFR-UFL-DTM simple 26-Jun-2025 09:36:43 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/HTMLWIDGETS-HWL-DTM simple 26-Jun-2025 09:36:43 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/LU-LUL-JOB1 simple 26-Jun-2025 09:36:43 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/LU-LUL-DTM simple 26-Jun-2025 09:36:43 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/UIL-ULL-DTM simple 26-Jun-2025 09:36:43 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/CALC-CML-RTM simple 26-Jun-2025 09:36:43 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository simple 26-Jun-2025 09:36:43 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 26-Jun-2025 09:36:44 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 26-Jun-2025 09:36:44 [PredatorPreBuildAction] Maven stable disk freed: 0.50024134 GB, deleted 82 files simple 26-Jun-2025 09:36:44 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 26-Jun-2025 09:36:44 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json simple 26-Jun-2025 09:36:44 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 26-Jun-2025 09:36:44 [PredatorPreBuildAction] Final free space: 2.8287048 GB simple 26-Jun-2025 09:36:44 [PredatorPreBuildAction] Done command 26-Jun-2025 09:36:44 Substituting variable: ${bamboo.dockerhub.username} with openmrsci command 26-Jun-2025 09:36:44 Substituting password variable: ${bamboo.dockerhub.password} command 26-Jun-2025 09:36:44 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-platform command 26-Jun-2025 09:36:44 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-platform command 26-Jun-2025 09:36:44 Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64 command 26-Jun-2025 09:36:44 Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64 simple 26-Jun-2025 09:36:44 Starting task 'Build and deploy' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 26-Jun-2025 09:36:44 Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform - 1.12.x - Build and push #378 (OP-OPM2-JOB1-378)'\n ... running command line: \n/home/bamboo-agent/bamboo-agent/temp/OP-OPM2-JOB1-378-ScriptBuildTask-4352310663102196591.sh\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM2-JOB1\n error 26-Jun-2025 09:36:44 + [[ ehuB != ehuxB ]] error 26-Jun-2025 09:36:44 + echo 'Start of Lmod init/bash script to define the module command' error 26-Jun-2025 09:36:44 + LMOD_PKG=/usr/share/lmod/lmod build 26-Jun-2025 09:36:44 Start of Lmod init/bash script to define the module command error 26-Jun-2025 09:36:44 + LMOD_DIR=/usr/share/lmod/lmod/libexec error 26-Jun-2025 09:36:44 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod error 26-Jun-2025 09:36:44 + MODULESHOME=/usr/share/lmod/lmod error 26-Jun-2025 09:36:44 + export LMOD_PKG error 26-Jun-2025 09:36:44 + export LMOD_CMD error 26-Jun-2025 09:36:44 + export LMOD_DIR error 26-Jun-2025 09:36:44 + export MODULESHOME error 26-Jun-2025 09:36:44 + LMOD_VERSION=6.6 error 26-Jun-2025 09:36:44 + export LMOD_VERSION error 26-Jun-2025 09:36:44 + '[' : '!=' : ']' error 26-Jun-2025 09:36:44 + unalias ml error 26-Jun-2025 09:36:44 + true error 26-Jun-2025 09:36:44 ++ echo YES error 26-Jun-2025 09:36:44 ++ /usr/bin/tr '[:upper:]' '[:lower:]' build 26-Jun-2025 09:36:44 End of Lmod init/bash script to define the module command error 26-Jun-2025 09:36:44 + export_module=yes error 26-Jun-2025 09:36:44 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' error 26-Jun-2025 09:36:44 + export -f module error 26-Jun-2025 09:36:44 + export -f ml error 26-Jun-2025 09:36:44 + unset export_module error 26-Jun-2025 09:36:44 + '[' -n '' ']' error 26-Jun-2025 09:36:44 + '[' 5 -ge 3 ']' error 26-Jun-2025 09:36:44 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' error 26-Jun-2025 09:36:44 + '[' -n '' ']' error 26-Jun-2025 09:36:44 + [[ ehuB != ehuxB ]] error 26-Jun-2025 09:36:44 + echo 'End of Lmod init/bash script to define the module command' error 26-Jun-2025 09:36:44 + set +x error 26-Jun-2025 09:36:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. error 26-Jun-2025 09:36:44 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. error 26-Jun-2025 09:36:44 Configure a credential helper to remove this warning. See error 26-Jun-2025 09:36:44 https://docs.docker.com/engine/reference/commandline/login/#credential-stores error 26-Jun-2025 09:36:44 build 26-Jun-2025 09:36:44 Login Succeeded build 26-Jun-2025 09:36:44 Building dev image error 26-Jun-2025 09:36:45 #1 [internal] load build definition from Dockerfile error 26-Jun-2025 09:36:45 #1 transferring dockerfile: 2B 0.0s done error 26-Jun-2025 09:36:45 #1 DONE 0.0s error 26-Jun-2025 09:36:45 error: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory simple 26-Jun-2025 09:36:45 Failing task since return code of [/home/bamboo-agent/bamboo-agent/temp/OP-OPM2-JOB1-378-ScriptBuildTask-4352310663102196591.sh] was 1 while expected 0 simple 26-Jun-2025 09:36:45 Finished task 'Build and deploy' with result: Failed simple 26-Jun-2025 09:36:45 Running post build plugin 'Docker Container Cleanup' simple 26-Jun-2025 09:36:45 Running post build plugin 'NCover Results Collector' simple 26-Jun-2025 09:36:45 Running post build plugin 'Build Results Label Collector' simple 26-Jun-2025 09:36:45 Running post build plugin 'Clover Results Collector' simple 26-Jun-2025 09:36:45 Running post build plugin 'npm Cache Cleanup' simple 26-Jun-2025 09:36:45 Running post build plugin 'Artifact Copier' simple 26-Jun-2025 09:36:45 Finalising the build... simple 26-Jun-2025 09:36:45 Stopping timer. simple 26-Jun-2025 09:36:45 Build OP-OPM2-JOB1-378 completed. simple 26-Jun-2025 09:36:45 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 26-Jun-2025 09:36:45 Running on server: post build plugin 'NCover Results Collector' simple 26-Jun-2025 09:36:45 Running on server: post build plugin 'Build Labeller' simple 26-Jun-2025 09:36:45 Running on server: post build plugin 'Clover Delta Calculator' simple 26-Jun-2025 09:36:45 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 26-Jun-2025 09:36:45 All post build plugins have finished simple 26-Jun-2025 09:36:45 Generating build results summary... simple 26-Jun-2025 09:36:45 Saving build results to disk... simple 26-Jun-2025 09:36:45 Store variable context... simple 26-Jun-2025 09:36:45 Finished building OP-OPM2-JOB1-378.