Build: #421 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.

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