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