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