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

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