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

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