Build: #404 failed

Job: Build and push failed

Stages & jobs

  1. Build and push

  2. Validate

  3. Update versions

  4. Release

    Requires a user to start manually
  5. Release 2nd stage

  6. Release 3rd stage

Build log

The build generated 111 lines of output. Download or view full build log.

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