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

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