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