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