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

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