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

03-Dec-2025 17:31:36 Build OpenMRS Platform - OpenMRS Platform - 2.4.x - Build and push #326 (OP-OPM8-JOB1-326) is being prepared for building on agent xiao.openmrs.org, bamboo version: 11.0.2
03-Dec-2025 17:31:36 Remote agent on host xiao.openmrs.org
03-Dec-2025 17:31:36 Build working directory is /data/bamboo-agent/xml-data/build-dir/OP-OPM8-JOB1
03-Dec-2025 17:31:36 Executing build OpenMRS Platform - OpenMRS Platform - 2.4.x - Build and push #326 (OP-OPM8-JOB1-326)
03-Dec-2025 17:31:36 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
03-Dec-2025 17:31:36 Build always requires a clean checkout
03-Dec-2025 17:31:36 Cleaning build directory '/data/bamboo-agent/xml-data/build-dir/OP-OPM8-JOB1'
03-Dec-2025 17:31:36 Build always requires a clean checkout
03-Dec-2025 17:31:36 Cleaning build directory '/data/bamboo-agent/xml-data/build-dir/OP-OPM8-JOB1/release-scripts'
03-Dec-2025 17:31:36 Checking out into /data/bamboo-agent/xml-data/build-dir/OP-OPM8-JOB1
03-Dec-2025 17:31:36 Updating source code to revision: 966b6f0f772d681af2ba3cba9d15475df9bbff9b
03-Dec-2025 17:31:36 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/OP-OPM8-JOB1/.git'.
03-Dec-2025 17:31:36 hint: Using 'master' as the name for the initial branch. This default branch name
03-Dec-2025 17:31:36 hint: is subject to change. To configure the initial branch name to use in all
03-Dec-2025 17:31:36 hint: of your new repositories, which will suppress this warning, call:
03-Dec-2025 17:31:36 hint:
03-Dec-2025 17:31:36 hint:         git config --global init.defaultBranch <name>
03-Dec-2025 17:31:36 hint:
03-Dec-2025 17:31:36 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
03-Dec-2025 17:31:36 hint: 'development'. The just-created branch can be renamed via this command:
03-Dec-2025 17:31:36 hint:
03-Dec-2025 17:31:36 hint:         git branch -m <name>
03-Dec-2025 17:31:36 Initialized empty Git repository in /data/bamboo-agent/xml-data/build-dir/OP-OPM8-JOB1/.git/
03-Dec-2025 17:31:36 Fetching 'refs/heads/2.4.x' from 'https://github.com/openmrs/openmrs-distro-platform Will try to do a shallow fetch.'.
03-Dec-2025 17:31:37 Checking out revision 966b6f0f772d681af2ba3cba9d15475df9bbff9b.
03-Dec-2025 17:31:37 Switched to branch '2.4.x'
03-Dec-2025 17:31:37 Updated source code to revision: 966b6f0f772d681af2ba3cba9d15475df9bbff9b
03-Dec-2025 17:31:37 Checking out into /data/bamboo-agent/xml-data/build-dir/OP-OPM8-JOB1/release-scripts
03-Dec-2025 17:31:37 Updating source code to revision: d5831e94deff58c79f07afa118e3aad928391687
03-Dec-2025 17:31:37 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/OP-OPM8-JOB1/release-scripts/.git'.
03-Dec-2025 17:31:37 hint: Using 'master' as the name for the initial branch. This default branch name
03-Dec-2025 17:31:37 hint: is subject to change. To configure the initial branch name to use in all
03-Dec-2025 17:31:37 hint: of your new repositories, which will suppress this warning, call:
03-Dec-2025 17:31:37 hint:
03-Dec-2025 17:31:37 hint:         git config --global init.defaultBranch <name>
03-Dec-2025 17:31:37 hint:
03-Dec-2025 17:31:37 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
03-Dec-2025 17:31:37 hint: 'development'. The just-created branch can be renamed via this command:
03-Dec-2025 17:31:37 hint:
03-Dec-2025 17:31:37 hint:         git branch -m <name>
03-Dec-2025 17:31:37 Initialized empty Git repository in /data/bamboo-agent/xml-data/build-dir/OP-OPM8-JOB1/release-scripts/.git/
03-Dec-2025 17:31:37 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-contrib-bamboo.git'.
03-Dec-2025 17:31:37 Checking out revision d5831e94deff58c79f07afa118e3aad928391687.
03-Dec-2025 17:31:37 Note: switching to 'd5831e94deff58c79f07afa118e3aad928391687'.
03-Dec-2025 17:31:37
03-Dec-2025 17:31:37 You are in 'detached HEAD' state. You can look around, make experimental
03-Dec-2025 17:31:37 changes and commit them, and you can discard any commits you make in this
03-Dec-2025 17:31:37 state without impacting any branches by switching back to a branch.
03-Dec-2025 17:31:37
03-Dec-2025 17:31:37 If you want to create a new branch to retain commits you create, you may
03-Dec-2025 17:31:37 do so (now or later) by using -c with the switch command. Example:
03-Dec-2025 17:31:37
03-Dec-2025 17:31:37   git switch -c <new-branch-name>
03-Dec-2025 17:31:37
03-Dec-2025 17:31:37 Or undo this operation with:
03-Dec-2025 17:31:37
03-Dec-2025 17:31:37   git switch -
03-Dec-2025 17:31:37
03-Dec-2025 17:31:37 Turn off this advice by setting config variable advice.detachedHead to false
03-Dec-2025 17:31:37
03-Dec-2025 17:31:37 HEAD is now at d5831e9 Added support for profiled builds. (#11)
03-Dec-2025 17:31:37 Updated source code to revision: d5831e94deff58c79f07afa118e3aad928391687
03-Dec-2025 17:31:37 Finished task 'Checkout Default Repository' with result: Success
03-Dec-2025 17:31:37 Running pre-build action: Build Log Labeller Pre Build Action
03-Dec-2025 17:31:37 Running pre-build action: VCS Version Collector
03-Dec-2025 17:31:37 Running pre-build action: Run Predator
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 23686 java        1499 bamboo-age 3200Mb  528Mb 00:11:27 /usr/lib/jvm/java-21-op
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1499 wrapper     1436 bamboo-age   88Mb    3Mb 00:23:56 /data/bamboo-agent/bin/
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1436 bamboo       737 bamboo-age    3Mb    1Mb 00:00:00 /bin/sh /data/bamboo-ag
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):   737 java           1 bamboo-age 4038Mb   86Mb 00:18:43 /usr/lib/jvm/java-21-op
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:52 /sbin/init             
03-Dec-2025 17:31:37 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Initial free space: 64.91951 GB
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REGAPP-REGAPP-DTM
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REPREST-REPREST-DTM
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/CA-CA-RTM
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-DTM
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-RTM
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-BTJ8
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-DTM
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-DTM
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTMLWIDGETS-HWL-DTM
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AU-AUL-DTM
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RC-RC-DTM
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/IDGEN-IDGEN-DTM
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OP-OPM7-JOB1
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTMLWIDGETS-HWL-RTMVN
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
03-Dec-2025 17:31:37 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
03-Dec-2025 17:31:38 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
03-Dec-2025 17:31:38 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
03-Dec-2025 17:31:38 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
03-Dec-2025 17:31:38 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
03-Dec-2025 17:31:38 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
03-Dec-2025 17:31:38 [PredatorPreBuildAction] Final free space: 64.92 GB
03-Dec-2025 17:31:38 [PredatorPreBuildAction] Done
03-Dec-2025 17:31:38 Build OpenMRS Platform - OpenMRS Platform - 2.4.x - Build and push #326 (OP-OPM8-JOB1-326) started building on agent 'xiao.openmrs.org' (Remote agent on host xiao.openmrs.org)
03-Dec-2025 17:31:38
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
03-Dec-2025 17:31:38
Substituting password variable: ${bamboo.dockerhub.password}
03-Dec-2025 17:31:38
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-platform
03-Dec-2025 17:31:38
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-platform
03-Dec-2025 17:31:38
Substituting variable: ${bamboo.docker.image.tag} with nightly
03-Dec-2025 17:31:38
Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64
03-Dec-2025 17:31:38
Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64
03-Dec-2025 17:31:38 Starting task 'Build and deploy' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
03-Dec-2025 17:31:38
Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform - 2.4.x - Build and push #326 (OP-OPM8-JOB1-326)'
... running command line:
/data/bamboo-agent/temp/OP-OPM8-JOB1-326-ScriptBuildTask-6666566147728403056.sh
... in: /data/bamboo-agent/xml-data/build-dir/OP-OPM8-JOB1
03-Dec-2025 17:31:38 + set +x
03-Dec-2025 17:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
03-Dec-2025 17:31:38 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
03-Dec-2025 17:31:38 Configure a credential helper to remove this warning. See
03-Dec-2025 17:31:38 https://docs.docker.com/engine/reference/commandline/login/#credential-stores
03-Dec-2025 17:31:38
03-Dec-2025 17:31:38 Login Succeeded
03-Dec-2025 17:31:38 Building dev image
03-Dec-2025 17:31:39 #0 building with "openmrs-builder" instance using docker-container driver
03-Dec-2025 17:31:39
03-Dec-2025 17:31:39 #1 [internal] load build definition from Dockerfile
03-Dec-2025 17:31:39 #1 DONE 0.0s
03-Dec-2025 17:31:39
03-Dec-2025 17:31:39 #1 [internal] load build definition from Dockerfile
03-Dec-2025 17:31:39 #1 transferring dockerfile: 2B done
03-Dec-2025 17:31:39 #1 DONE 0.1s
03-Dec-2025 17:31:39 ERROR: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory
03-Dec-2025 17:31:39 Failing task since return code of [/data/bamboo-agent/temp/OP-OPM8-JOB1-326-ScriptBuildTask-6666566147728403056.sh] was 1 while expected 0
03-Dec-2025 17:31:39 Finished task 'Build and deploy' with result: Failed
03-Dec-2025 17:31:39 Running post build plugin 'Docker Container Cleanup'
03-Dec-2025 17:31:39 Running post build plugin 'NCover Results Collector'
03-Dec-2025 17:31:39 Running post build plugin 'Build Results Label Collector'
03-Dec-2025 17:31:39 Running post build plugin 'Clover Results Collector'
03-Dec-2025 17:31:39 Running post build plugin 'npm Cache Cleanup'
03-Dec-2025 17:31:39 Running post build plugin 'Artifact Copier'
03-Dec-2025 17:31:39 Finalising the build...
03-Dec-2025 17:31:39 Stopping timer.
03-Dec-2025 17:31:39 Build OP-OPM8-JOB1-326 completed.
03-Dec-2025 17:31:39 Running on server: post build plugin 'Build Hanging Detection Configuration'
03-Dec-2025 17:31:39 Running on server: post build plugin 'NCover Results Collector'
03-Dec-2025 17:31:39 Running on server: post build plugin 'Build Labeller'
03-Dec-2025 17:31:39 Running on server: post build plugin 'Clover Delta Calculator'
03-Dec-2025 17:31:39 Running on server: post build plugin 'Maven Dependencies Postprocessor'
03-Dec-2025 17:31:39 All post build plugins have finished
03-Dec-2025 17:31:39 Generating build results summary...
03-Dec-2025 17:31:39 Saving build results to disk...
03-Dec-2025 17:31:39 Store variable context...
03-Dec-2025 17:31:39 Finished building OP-OPM8-JOB1-326.