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

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