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

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