Build: #412 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 168 lines of output. Download or view full build log.

15-Oct-2025 23:24:40 Build OpenMRS Platform - OpenMRS Platform - 2.1.x - Build and push #412 (OP-OPM0-JOB1-412) is being prepared for building on agent xindi.openmrs.org (2), bamboo version: 11.0.2
15-Oct-2025 23:24:40 Remote agent on host xindi.openmrs.org
15-Oct-2025 23:24:40 Build working directory is /data/bamboo-agent/xml-data/build-dir/OP-OPM0-JOB1
15-Oct-2025 23:24:40 Executing build OpenMRS Platform - OpenMRS Platform - 2.1.x - Build and push #412 (OP-OPM0-JOB1-412)
15-Oct-2025 23:24:40 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
15-Oct-2025 23:24:40 Build always requires a clean checkout
15-Oct-2025 23:24:40 Cleaning build directory '/data/bamboo-agent/xml-data/build-dir/OP-OPM0-JOB1'
15-Oct-2025 23:24:40 Build always requires a clean checkout
15-Oct-2025 23:24:40 Cleaning build directory '/data/bamboo-agent/xml-data/build-dir/OP-OPM0-JOB1/release-scripts'
15-Oct-2025 23:24:40 Checking out into /data/bamboo-agent/xml-data/build-dir/OP-OPM0-JOB1
15-Oct-2025 23:24:40 Updating source code to revision: a199c68baea02e5a98eebd73269c8fb299d4b318
15-Oct-2025 23:24:40 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/OP-OPM0-JOB1/.git'.
15-Oct-2025 23:24:40 hint: Using 'master' as the name for the initial branch. This default branch name
15-Oct-2025 23:24:40 hint: is subject to change. To configure the initial branch name to use in all
15-Oct-2025 23:24:40 hint: of your new repositories, which will suppress this warning, call:
15-Oct-2025 23:24:40 hint:
15-Oct-2025 23:24:40 hint:         git config --global init.defaultBranch <name>
15-Oct-2025 23:24:40 hint:
15-Oct-2025 23:24:40 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
15-Oct-2025 23:24:40 hint: 'development'. The just-created branch can be renamed via this command:
15-Oct-2025 23:24:40 hint:
15-Oct-2025 23:24:40 hint:         git branch -m <name>
15-Oct-2025 23:24:40 Initialized empty Git repository in /data/bamboo-agent/xml-data/build-dir/OP-OPM0-JOB1/.git/
15-Oct-2025 23:24:40 Fetching 'refs/heads/2.1.x' from 'https://github.com/openmrs/openmrs-distro-platform Will try to do a shallow fetch.'.
15-Oct-2025 23:24:41 Checking out revision a199c68baea02e5a98eebd73269c8fb299d4b318.
15-Oct-2025 23:24:41 Switched to branch '2.1.x'
15-Oct-2025 23:24:41 Updated source code to revision: a199c68baea02e5a98eebd73269c8fb299d4b318
15-Oct-2025 23:24:41 Checking out into /data/bamboo-agent/xml-data/build-dir/OP-OPM0-JOB1/release-scripts
15-Oct-2025 23:24:41 Updating source code to revision: d5831e94deff58c79f07afa118e3aad928391687
15-Oct-2025 23:24:41 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/OP-OPM0-JOB1/release-scripts/.git'.
15-Oct-2025 23:24:41 hint: Using 'master' as the name for the initial branch. This default branch name
15-Oct-2025 23:24:41 hint: is subject to change. To configure the initial branch name to use in all
15-Oct-2025 23:24:41 hint: of your new repositories, which will suppress this warning, call:
15-Oct-2025 23:24:41 hint:
15-Oct-2025 23:24:41 hint:         git config --global init.defaultBranch <name>
15-Oct-2025 23:24:41 hint:
15-Oct-2025 23:24:41 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
15-Oct-2025 23:24:41 hint: 'development'. The just-created branch can be renamed via this command:
15-Oct-2025 23:24:41 hint:
15-Oct-2025 23:24:41 hint:         git branch -m <name>
15-Oct-2025 23:24:41 Initialized empty Git repository in /data/bamboo-agent/xml-data/build-dir/OP-OPM0-JOB1/release-scripts/.git/
15-Oct-2025 23:24:41 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-contrib-bamboo.git'.
15-Oct-2025 23:24:41 Checking out revision d5831e94deff58c79f07afa118e3aad928391687.
15-Oct-2025 23:24:41 Already on 'master'
15-Oct-2025 23:24:41 Updated source code to revision: d5831e94deff58c79f07afa118e3aad928391687
15-Oct-2025 23:24:41 Finished task 'Checkout Default Repository' with result: Success
15-Oct-2025 23:24:41 Running pre-build action: Build Log Labeller Pre Build Action
15-Oct-2025 23:24:41 Running pre-build action: VCS Version Collector
15-Oct-2025 23:24:41 Running pre-build action: Run Predator
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  4261 java        1698 bamboo-age 3207Mb  550Mb 00:38:57 /usr/lib/jvm/java-21-op
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1698 wrapper     1617 bamboo-age   88Mb    3Mb 00:08:55 /data/bamboo-agent/bin/
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1617 bamboo       825 bamboo-age    3Mb    1Mb 00:00:00 /bin/sh /data/bamboo-ag
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):   825 java           1 bamboo-age 4038Mb   67Mb 00:07:02 /usr/lib/jvm/java-21-op
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:00:56 /sbin/init             
15-Oct-2025 23:24:41 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Initial free space: 69.80591 GB
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OP-OP28-RTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM227-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/ATT-ATT-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AUM-AUM-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-BTJ8
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-BTJ8
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM2-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-BTJ17
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP2-BTJ8
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AUTH-AUTHUI-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OWA-OWA-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/MDEP-MDEP-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AS-ASML-BTJ8
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-BTJ8
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-BTJ11
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OCLM-OCLM-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AUTH-AUTH-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/SMGT-STOC-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OP-OP3-UV
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-RTMVN
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/QM-QUEUE-RTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/SDK-SDKL-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP0-BTJ11
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REPREST-REPREST-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OM-OM-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/SXS-SXS-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/QM-QUEUE-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-BTJ17
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-BTJ17
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/BILL-BILL-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/METAM-METAM-RTMVN
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-BTJ24
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REGAPP-REGAPP-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/SDK-SDKL-RTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AU-AUL0-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-RTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-BTJ11
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-RTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OA2L-OC-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OEU-OEU-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/IDGEN-IDGEN-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RC-RC-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/META-META-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AS-ASML-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/BM-BMM-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-RM1-DTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REGAPP-REGAPP-RTM
15-Oct-2025 23:24:41 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-DTM
15-Oct-2025 23:24:42 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository
15-Oct-2025 23:24:42 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
15-Oct-2025 23:24:42 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
15-Oct-2025 23:24:43 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
15-Oct-2025 23:24:43 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
15-Oct-2025 23:24:43 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
15-Oct-2025 23:24:43 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
15-Oct-2025 23:24:43 [PredatorPreBuildAction] Final free space: 69.80614 GB
15-Oct-2025 23:24:43 [PredatorPreBuildAction] Done
15-Oct-2025 23:24:43 Build OpenMRS Platform - OpenMRS Platform - 2.1.x - Build and push #412 (OP-OPM0-JOB1-412) started building on agent 'xindi.openmrs.org (2)' (Remote agent on host xindi.openmrs.org)
15-Oct-2025 23:24:43
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
15-Oct-2025 23:24:43
Substituting password variable: ${bamboo.dockerhub.password}
15-Oct-2025 23:24:43
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-platform
15-Oct-2025 23:24:43
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-platform
15-Oct-2025 23:24:43
Substituting variable: ${bamboo.docker.image.tag} with nightly
15-Oct-2025 23:24:43
Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64
15-Oct-2025 23:24:43
Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64
15-Oct-2025 23:24:43 Starting task 'Build and deploy' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
15-Oct-2025 23:24:43
Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform - 2.1.x - Build and push #412 (OP-OPM0-JOB1-412)'
... running command line:
/data/bamboo-agent/temp/OP-OPM0-JOB1-412-ScriptBuildTask-2641410547081016716.sh
... in: /data/bamboo-agent/xml-data/build-dir/OP-OPM0-JOB1
15-Oct-2025 23:24:43 + set +x
15-Oct-2025 23:24:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
15-Oct-2025 23:24:43 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
15-Oct-2025 23:24:43 Configure a credential helper to remove this warning. See
15-Oct-2025 23:24:43 https://docs.docker.com/engine/reference/commandline/login/#credential-stores
15-Oct-2025 23:24:43
15-Oct-2025 23:24:43 Login Succeeded
15-Oct-2025 23:24:43 Building dev image
15-Oct-2025 23:24:44 #0 building with "openmrs-builder" instance using docker-container driver
15-Oct-2025 23:24:44
15-Oct-2025 23:24:44 #1 [internal] load build definition from Dockerfile
15-Oct-2025 23:24:44 #1 transferring dockerfile: 2B done
15-Oct-2025 23:24:44 #1 DONE 0.1s
15-Oct-2025 23:24:44 ERROR: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory
15-Oct-2025 23:24:44 Failing task since return code of [/data/bamboo-agent/temp/OP-OPM0-JOB1-412-ScriptBuildTask-2641410547081016716.sh] was 1 while expected 0
15-Oct-2025 23:24:44 Finished task 'Build and deploy' with result: Failed
15-Oct-2025 23:24:44 Running post build plugin 'Docker Container Cleanup'
15-Oct-2025 23:24:44 Running post build plugin 'NCover Results Collector'
15-Oct-2025 23:24:44 Running post build plugin 'Build Results Label Collector'
15-Oct-2025 23:24:44 Running post build plugin 'Clover Results Collector'
15-Oct-2025 23:24:44 Running post build plugin 'npm Cache Cleanup'
15-Oct-2025 23:24:44 Running post build plugin 'Artifact Copier'
15-Oct-2025 23:24:44 Finalising the build...
15-Oct-2025 23:24:44 Stopping timer.
15-Oct-2025 23:24:44 Build OP-OPM0-JOB1-412 completed.
15-Oct-2025 23:24:44 Running on server: post build plugin 'Build Hanging Detection Configuration'
15-Oct-2025 23:24:44 Running on server: post build plugin 'NCover Results Collector'
15-Oct-2025 23:24:44 Running on server: post build plugin 'Build Labeller'
15-Oct-2025 23:24:44 Running on server: post build plugin 'Clover Delta Calculator'
15-Oct-2025 23:24:44 Running on server: post build plugin 'Maven Dependencies Postprocessor'
15-Oct-2025 23:24:44 All post build plugins have finished
15-Oct-2025 23:24:44 Generating build results summary...
15-Oct-2025 23:24:44 Saving build results to disk...
15-Oct-2025 23:24:44 Store variable context...
15-Oct-2025 23:24:44 Finished building OP-OPM0-JOB1-412.