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