Build: #314 failed

Job: Build failed

Stages & jobs

  1. Update versions

  2. Build

  3. Push docker image

  4. Validate

  5. Release

    Requires a user to start manually
  6. Release 2nd stage

  7. Release 3rd stage

Build log

The build generated 186 lines of output. Download or view full build log.

28-Oct-2025 23:15:54 Build OpenMRS Platform - OpenMRS Platform 2.4.x - Build #314 (OP-PLATFORM-JOB1-314) is being prepared for building on agent xiao.openmrs.org, bamboo version: 11.0.2
28-Oct-2025 23:15:54 Remote agent on host xiao.openmrs.org
28-Oct-2025 23:15:54 Build working directory is /data/bamboo-agent/xml-data/build-dir/OP-PLATFORM-JOB1
28-Oct-2025 23:15:54 Executing build OpenMRS Platform - OpenMRS Platform 2.4.x - Build #314 (OP-PLATFORM-JOB1-314)
28-Oct-2025 23:15:54 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
28-Oct-2025 23:15:54 Build always requires a clean checkout
28-Oct-2025 23:15:54 Cleaning build directory '/data/bamboo-agent/xml-data/build-dir/OP-PLATFORM-JOB1'
28-Oct-2025 23:15:54 Build always requires a clean checkout
28-Oct-2025 23:15:54 Cleaning build directory '/data/bamboo-agent/xml-data/build-dir/OP-PLATFORM-JOB1/release-scripts'
28-Oct-2025 23:15:54 Checking out into /data/bamboo-agent/xml-data/build-dir/OP-PLATFORM-JOB1
28-Oct-2025 23:15:54 Updating source code to revision: 966b6f0f772d681af2ba3cba9d15475df9bbff9b
28-Oct-2025 23:15:54 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/OP-PLATFORM-JOB1/.git'.
28-Oct-2025 23:15:54 hint: Using 'master' as the name for the initial branch. This default branch name
28-Oct-2025 23:15:54 hint: is subject to change. To configure the initial branch name to use in all
28-Oct-2025 23:15:54 hint: of your new repositories, which will suppress this warning, call:
28-Oct-2025 23:15:54 hint:
28-Oct-2025 23:15:54 hint:         git config --global init.defaultBranch <name>
28-Oct-2025 23:15:54 hint:
28-Oct-2025 23:15:54 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
28-Oct-2025 23:15:54 hint: 'development'. The just-created branch can be renamed via this command:
28-Oct-2025 23:15:54 hint:
28-Oct-2025 23:15:54 hint:         git branch -m <name>
28-Oct-2025 23:15:54 Initialized empty Git repository in /data/bamboo-agent/xml-data/build-dir/OP-PLATFORM-JOB1/.git/
28-Oct-2025 23:15:55 Fetching 'refs/heads/2.4.x' from 'https://github.com/openmrs/openmrs-distro-platform'.
28-Oct-2025 23:15:55 Checking out revision 966b6f0f772d681af2ba3cba9d15475df9bbff9b.
28-Oct-2025 23:15:55 Switched to branch '2.4.x'
28-Oct-2025 23:15:55 Updated source code to revision: 966b6f0f772d681af2ba3cba9d15475df9bbff9b
28-Oct-2025 23:15:55 Checking out into /data/bamboo-agent/xml-data/build-dir/OP-PLATFORM-JOB1/release-scripts
28-Oct-2025 23:15:55 Updating source code to revision: d5831e94deff58c79f07afa118e3aad928391687
28-Oct-2025 23:15:55 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/OP-PLATFORM-JOB1/release-scripts/.git'.
28-Oct-2025 23:15:55 hint: Using 'master' as the name for the initial branch. This default branch name
28-Oct-2025 23:15:55 hint: is subject to change. To configure the initial branch name to use in all
28-Oct-2025 23:15:55 hint: of your new repositories, which will suppress this warning, call:
28-Oct-2025 23:15:55 hint:
28-Oct-2025 23:15:55 hint:         git config --global init.defaultBranch <name>
28-Oct-2025 23:15:55 hint:
28-Oct-2025 23:15:55 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
28-Oct-2025 23:15:55 hint: 'development'. The just-created branch can be renamed via this command:
28-Oct-2025 23:15:55 hint:
28-Oct-2025 23:15:55 hint:         git branch -m <name>
28-Oct-2025 23:15:55 Initialized empty Git repository in /data/bamboo-agent/xml-data/build-dir/OP-PLATFORM-JOB1/release-scripts/.git/
28-Oct-2025 23:15:55 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-contrib-bamboo.git'.
28-Oct-2025 23:15:55 Checking out revision d5831e94deff58c79f07afa118e3aad928391687.
28-Oct-2025 23:15:55 Already on 'master'
28-Oct-2025 23:15:55 Updated source code to revision: d5831e94deff58c79f07afa118e3aad928391687
28-Oct-2025 23:15:55 Finished task 'Checkout Default Repository' with result: Success
28-Oct-2025 23:15:55 Running pre-build action: Build Log Labeller Pre Build Action
28-Oct-2025 23:15:55 Running pre-build action: VCS Version Collector
28-Oct-2025 23:15:55 Running pre-build action: Run Predator
28-Oct-2025 23:15:55 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
28-Oct-2025 23:15:55 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
28-Oct-2025 23:15:55 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 29845 java        1516 bamboo-age 3192Mb  585Mb 00:09:01 /usr/lib/jvm/java-21-op
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1516 wrapper     1454 bamboo-age   88Mb    2Mb 00:03:52 /data/bamboo-agent/bin/
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1454 bamboo       734 bamboo-age    3Mb    1Mb 00:00:00 /bin/sh /data/bamboo-ag
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):   734 java           1 bamboo-age 4038Mb   88Mb 00:02:09 /usr/lib/jvm/java-21-op
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root         99Mb   10Mb 00:00:21 /sbin/init             
28-Oct-2025 23:15:56 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Initial free space: 59.826588 GB
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM227-BTJ8
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REGAPP-REGAPP-DTM
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REPREST-REPREST-DTM
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM2-RTM
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-DTM
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-BTJ17
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-BTJ17
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/BM-BMM-DTM
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/DM-DM-DTM
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-DTM
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM227-DTM
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-BTJ8
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-DTM
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-DTM
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-RTMVN
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP0-BTJ21
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP-DTM
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-DTM
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/METAM-METAM-BTJ8
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OP-OP28-RTM
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-DTM
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/SDK-SDKL-RTM
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OCLM-OCLM-RTM
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-BTJ17
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/META-META-DTM
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/QM-QUEUE-RTM
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM2-DTM
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-BTJ11
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP0-BTJ24
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI3-DTM
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/SXS-SXS-DTM
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REGAPP-REGAPP-BTJ8
28-Oct-2025 23:15:56 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-RTM
28-Oct-2025 23:15:57 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository
28-Oct-2025 23:15:57 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
28-Oct-2025 23:15:58 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
28-Oct-2025 23:15:58 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
28-Oct-2025 23:15:58 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
28-Oct-2025 23:15:58 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
28-Oct-2025 23:15:58 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
28-Oct-2025 23:15:58 [PredatorPreBuildAction] Final free space: 59.93302 GB
28-Oct-2025 23:15:58 [PredatorPreBuildAction] Done
28-Oct-2025 23:15:58 Build OpenMRS Platform - OpenMRS Platform 2.4.x - Build #314 (OP-PLATFORM-JOB1-314) started building on agent 'xiao.openmrs.org' (Remote agent on host xiao.openmrs.org)
28-Oct-2025 23:15:58 Starting task 'Deploy' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3'
28-Oct-2025 23:15:58
Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform 2.4.x - Build #314 (OP-PLATFORM-JOB1-314)'
... running command line:
/usr/share/apache-maven-3.8.6/bin/mvn -Djava.io.tmpdir=/tmp/OP-PLATFORM-JOB1 deploy -U -B
... in: /data/bamboo-agent/xml-data/build-dir/OP-PLATFORM-JOB1
28-Oct-2025 23:16:00 [INFO] Scanning for projects...
28-Oct-2025 23:16:00 [INFO]
28-Oct-2025 23:16:00 [INFO] --------------------< org.openmrs.distro:platform >---------------------
28-Oct-2025 23:16:00 [INFO] Building OpenMRS Platform 2.4.6-SNAPSHOT
28-Oct-2025 23:16:00 [INFO] --------------------------------[ jar ]---------------------------------
28-Oct-2025 23:16:00 [INFO]
28-Oct-2025 23:16:00 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ platform ---
28-Oct-2025 23:16:00 [INFO] Using 'UTF-8' encoding to copy filtered resources.
28-Oct-2025 23:16:00 [INFO] Copying 2 resources
28-Oct-2025 23:16:00 [INFO]
28-Oct-2025 23:16:00 [INFO] --- openmrs-sdk-maven-plugin:4.0.0:build-distro (build-distro) @ platform ---
28-Oct-2025 23:16:02
28-Oct-2025 23:16:02 Downloading modules...
28-Oct-2025 23:16:02
28-Oct-2025 23:16:03 [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.4.6-SNAPSHOT:war
28-Oct-2025 23:16:04 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/web/openmrs-webapp/2.4.6-SNAPSHOT/maven-metadata.xml
28-Oct-2025 23:16:05 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/web/openmrs-webapp/2.4.6-SNAPSHOT/maven-metadata.xml (995 B at 580 B/s)
28-Oct-2025 23:16:05 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/web/openmrs-webapp/2.4.6-SNAPSHOT/openmrs-webapp-2.4.6-20250808.165929-31.war
28-Oct-2025 23:16:10 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/web/openmrs-webapp/2.4.6-SNAPSHOT/openmrs-webapp-2.4.6-20250808.165929-31.war (77 MB at 18 MB/s)
28-Oct-2025 23:16:10 [INFO] Copying openmrs-webapp-2.4.6-SNAPSHOT.war to /data/bamboo-agent/xml-data/build-dir/OP-PLATFORM-JOB1/target/distro/web/openmrs-2.4.6-SNAPSHOT.war
28-Oct-2025 23:16:10 file:/data/bamboo-agent/xml-data/build-dir/OP-PLATFORM-JOB1/target/distro/web/openmrs-2.4.6-SNAPSHOT.war
28-Oct-2025 23:16:10 target:target/distro/web
28-Oct-2025 23:16:10 [INFO] Configured Artifact: org.openmrs.module:fhir2-omod:2.8.0:jar
28-Oct-2025 23:16:10 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/fhir2-omod/2.8.0/fhir2-omod-2.8.0.jar
28-Oct-2025 23:16:10 [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/module/fhir2-omod/2.8.0/fhir2-omod-2.8.0.jar
28-Oct-2025 23:16:10 [INFO] ------------------------------------------------------------------------
28-Oct-2025 23:16:10 [INFO] BUILD FAILURE
28-Oct-2025 23:16:10 [INFO] ------------------------------------------------------------------------
28-Oct-2025 23:16:10 [INFO] Total time:  10.499 s
28-Oct-2025 23:16:10 [INFO] Finished at: 2025-10-28T23:16:10Z
28-Oct-2025 23:16:10 [INFO] ------------------------------------------------------------------------
28-Oct-2025 23:16:10 [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.0.0:build-distro (build-distro) on project platform: Unable to execute mojo: Unable to find artifact. Could not find artifact org.openmrs.module:fhir2-omod:jar:2.8.0 in openmrs-repo (https://mavenrepo.openmrs.org/nexus/content/repositories/public)
28-Oct-2025 23:16:10 [ERROR]
28-Oct-2025 23:16:10 [ERROR] Try downloading the file manually from the project website.
28-Oct-2025 23:16:10 [ERROR]
28-Oct-2025 23:16:10 [ERROR] Then, install it using the command:
28-Oct-2025 23:16:10 [ERROR]     mvn install:install-file -DgroupId=org.openmrs.module -DartifactId=fhir2-omod -Dversion=2.8.0 -Dpackaging=jar -Dfile=/path/to/file
28-Oct-2025 23:16:10 [ERROR]
28-Oct-2025 23:16:10 [ERROR] Alternatively, if you host your own repository you can deploy the file there:
28-Oct-2025 23:16:10 [ERROR]     mvn deploy:deploy-file -DgroupId=org.openmrs.module -DartifactId=fhir2-omod -Dversion=2.8.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
28-Oct-2025 23:16:10 [ERROR]
28-Oct-2025 23:16:10 [ERROR]
28-Oct-2025 23:16:10 [ERROR]   org.openmrs.module:fhir2-omod:jar:2.8.0
28-Oct-2025 23:16:10 [ERROR]
28-Oct-2025 23:16:10 [ERROR] from the specified remote repositories:
28-Oct-2025 23:16:10 [ERROR]   openmrs-repo (https://mavenrepo.openmrs.org/nexus/content/repositories/public, releases=true, snapshots=true),
28-Oct-2025 23:16:10 [ERROR]   central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
28-Oct-2025 23:16:10 [ERROR] -> [Help 1]
28-Oct-2025 23:16:10 [ERROR]
28-Oct-2025 23:16:10 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
28-Oct-2025 23:16:10 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
28-Oct-2025 23:16:10 [ERROR]
28-Oct-2025 23:16:10 [ERROR] For more information about the errors and possible solutions, please read the following articles:
28-Oct-2025 23:16:10 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
28-Oct-2025 23:16:10 Failing task since return code of [/usr/share/apache-maven-3.8.6/bin/mvn -Djava.io.tmpdir=/tmp/OP-PLATFORM-JOB1 deploy -U -B] was 1 while expected 0
28-Oct-2025 23:16:10 Finished task 'Deploy' with result: Failed
28-Oct-2025 23:16:10 Running post build plugin 'Docker Container Cleanup'
28-Oct-2025 23:16:10 Running post build plugin 'NCover Results Collector'
28-Oct-2025 23:16:10 Running post build plugin 'Build Results Label Collector'
28-Oct-2025 23:16:10 Running post build plugin 'Clover Results Collector'
28-Oct-2025 23:16:10 Running post build plugin 'npm Cache Cleanup'
28-Oct-2025 23:16:10 Running post build plugin 'Artifact Copier'
28-Oct-2025 23:16:10 Publishing an artifact: docker-compose-snapshot
28-Oct-2025 23:16:13 Finished publishing of artifact Non required shared artifact Http Compression On : [docker-compose-snapshot], patterns: [**/*] anchored at: [target/distro] in 2.679 s
28-Oct-2025 23:16:13 Publishing an artifact: docker-compose-mariadb-snapshot
28-Oct-2025 23:16:13 Finished publishing of artifact Non required shared artifact Http Compression On : [docker-compose-mariadb-snapshot], patterns: [docker-compose.mariadb.yml] anchored at: [docker] in 328.7 ms
28-Oct-2025 23:16:13 Finalising the build...
28-Oct-2025 23:16:13 Stopping timer.
28-Oct-2025 23:16:13 Build OP-PLATFORM-JOB1-314 completed.
28-Oct-2025 23:16:13 Running on server: post build plugin 'Build Hanging Detection Configuration'
28-Oct-2025 23:16:13 Running on server: post build plugin 'NCover Results Collector'
28-Oct-2025 23:16:13 Running on server: post build plugin 'Build Labeller'
28-Oct-2025 23:16:13 Running on server: post build plugin 'Clover Delta Calculator'
28-Oct-2025 23:16:13 Running on server: post build plugin 'Maven Dependencies Postprocessor'
28-Oct-2025 23:16:13 All post build plugins have finished
28-Oct-2025 23:16:13 Generating build results summary...
28-Oct-2025 23:16:13 Saving build results to disk...
28-Oct-2025 23:16:13 Store variable context...
28-Oct-2025 23:16:13 Finished building OP-PLATFORM-JOB1-314.