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

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