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

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