Build and deploy the Drools module

Build: #2 failed

Job: Deploy to Maven failed

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Build log

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

01-Oct-2025 13:05:53 Build Drools Module - Drools Module - Deploy to Maven #2 (DM-DM-DTM-2) is being prepared for building on agent xiao.openmrs.org (2), bamboo version: 11.0.2
01-Oct-2025 13:05:53 Remote agent on host xiao.openmrs.org
01-Oct-2025 13:05:53 Build working directory is /data/bamboo-agent/xml-data/build-dir/DM-DM-DTM
01-Oct-2025 13:05:53 Executing build Drools Module - Drools Module - Deploy to Maven #2 (DM-DM-DTM-2)
01-Oct-2025 13:05:53 Starting task 'Checkout default repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
01-Oct-2025 13:05:53 Checking out into /data/bamboo-agent/xml-data/build-dir/DM-DM-DTM
01-Oct-2025 13:05:53 Updating source code to revision: af60bd58b4e7a1e76ec41e7654f525b7681bfa52
01-Oct-2025 13:05:53 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/DM-DM-DTM/.git'.
01-Oct-2025 13:05:53 hint: Using 'master' as the name for the initial branch. This default branch name
01-Oct-2025 13:05:53 hint: is subject to change. To configure the initial branch name to use in all
01-Oct-2025 13:05:53 hint: of your new repositories, which will suppress this warning, call:
01-Oct-2025 13:05:53 hint:
01-Oct-2025 13:05:53 hint:         git config --global init.defaultBranch <name>
01-Oct-2025 13:05:53 hint:
01-Oct-2025 13:05:53 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
01-Oct-2025 13:05:53 hint: 'development'. The just-created branch can be renamed via this command:
01-Oct-2025 13:05:53 hint:
01-Oct-2025 13:05:53 hint:         git branch -m <name>
01-Oct-2025 13:05:53 Initialized empty Git repository in /data/bamboo-agent/xml-data/build-dir/DM-DM-DTM/.git/
01-Oct-2025 13:05:53 Fetching 'refs/heads/main' from 'https://github.com/openmrs/openmrs-module-drools.git Will try to do a shallow fetch.'.
01-Oct-2025 13:05:53 Checking out revision af60bd58b4e7a1e76ec41e7654f525b7681bfa52.
01-Oct-2025 13:05:53 Switched to branch 'main'
01-Oct-2025 13:05:53 Updated source code to revision: af60bd58b4e7a1e76ec41e7654f525b7681bfa52
01-Oct-2025 13:05:53 Finished task 'Checkout default repository' with result: Success
01-Oct-2025 13:05:53 Running pre-build action: Build Log Labeller Pre Build Action
01-Oct-2025 13:05:53 Running pre-build action: VCS Version Collector
01-Oct-2025 13:05:53 Running pre-build action: Run Predator
01-Oct-2025 13:05:53 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
01-Oct-2025 13:05:53 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
01-Oct-2025 13:05:53 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  4204 java        1506 bamboo-age 3184Mb  505Mb 00:14:55 /usr/lib/jvm/java-21-op
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1506 wrapper     1443 bamboo-age   88Mb    2Mb 00:03:20 /data/bamboo-agent/bin/
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1443 bamboo       733 bamboo-age    3Mb    1Mb 00:00:00 /bin/sh /data/bamboo-ag
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):   733 java           1 bamboo-age 4038Mb   38Mb 00:02:34 /usr/lib/jvm/java-21-op
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        100Mb   11Mb 00:00:17 /sbin/init             
01-Oct-2025 13:05:54 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Initial free space: 61.94335 GB
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM227-BTJ8
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REGAPP-REGAPP-DTM
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-DTM
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-BTJ17
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-BTJ17
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/BM-BMM-DTM
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-DTM
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/O3-DD3-JOB1
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-BTJ8
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-DTM
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-DTM
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-RTMVN
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP0-BTJ21
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-DTM
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/METAM-METAM-BTJ8
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-DTM
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/SDK-SDKL-RTM
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OCLM-OCLM-RTM
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-BTJ17
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/META-META-DTM
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/QM-QUEUE-RTM
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM2-DTM
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-BTJ11
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP0-BTJ24
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI3-DTM
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-RTM
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository
01-Oct-2025 13:05:54 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
01-Oct-2025 13:05:55 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
01-Oct-2025 13:05:55 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
01-Oct-2025 13:05:55 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
01-Oct-2025 13:05:55 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
01-Oct-2025 13:05:55 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
01-Oct-2025 13:05:55 [PredatorPreBuildAction] Final free space: 61.943348 GB
01-Oct-2025 13:05:55 [PredatorPreBuildAction] Done
01-Oct-2025 13:05:55 Build Drools Module - Drools Module - Deploy to Maven #2 (DM-DM-DTM-2) started building on agent 'xiao.openmrs.org (2)' (Remote agent on host xiao.openmrs.org)
01-Oct-2025 13:05:55
Substituting variable: ${bamboo.build.docker.image.id} with maven:3.9.9-amazoncorretto-11
01-Oct-2025 13:05:55
Substituting variable: ${bamboo.build.docker.image.id} with maven:3.9.9-amazoncorretto-11
01-Oct-2025 13:05:55 Starting task 'Deploy' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
01-Oct-2025 13:05:55
Beginning to execute external process for build 'Drools Module - Drools Module - Deploy to Maven #2 (DM-DM-DTM-2)'
... running command line:
/data/bamboo-agent/temp/DM-DM-DTM-2-ScriptBuildTask-18276728709543430.sh
... in: /data/bamboo-agent/xml-data/build-dir/DM-DM-DTM
01-Oct-2025 13:05:55 + docker pull maven:3.9.9-amazoncorretto-11
01-Oct-2025 13:05:56 3.9.9-amazoncorretto-11: Pulling from library/maven
01-Oct-2025 13:05:56 c93eb42fc1cb: Pulling fs layer
01-Oct-2025 13:05:56 94257a018d3e: Pulling fs layer
01-Oct-2025 13:05:56 1834b031c7ce: Pulling fs layer
01-Oct-2025 13:05:56 a430996d33b6: Pulling fs layer
01-Oct-2025 13:05:56 eb921209a78d: Pulling fs layer
01-Oct-2025 13:05:56 a98b476563fd: Pulling fs layer
01-Oct-2025 13:05:56 4f4fb700ef54: Pulling fs layer
01-Oct-2025 13:05:56 2ea615f73fb3: Pulling fs layer
01-Oct-2025 13:05:56 a430996d33b6: Waiting
01-Oct-2025 13:05:56 eb921209a78d: Waiting
01-Oct-2025 13:05:56 a98b476563fd: Waiting
01-Oct-2025 13:05:56 4f4fb700ef54: Waiting
01-Oct-2025 13:05:56 2ea615f73fb3: Waiting
01-Oct-2025 13:05:57 c93eb42fc1cb: Verifying Checksum
01-Oct-2025 13:05:57 c93eb42fc1cb: Download complete
01-Oct-2025 13:05:58 a430996d33b6: Download complete
01-Oct-2025 13:05:58 eb921209a78d: Verifying Checksum
01-Oct-2025 13:05:58 eb921209a78d: Download complete
01-Oct-2025 13:05:58 a98b476563fd: Verifying Checksum
01-Oct-2025 13:05:58 a98b476563fd: Download complete
01-Oct-2025 13:05:58 94257a018d3e: Verifying Checksum
01-Oct-2025 13:05:58 94257a018d3e: Download complete
01-Oct-2025 13:05:58 1834b031c7ce: Verifying Checksum
01-Oct-2025 13:05:58 1834b031c7ce: Download complete
01-Oct-2025 13:05:58 4f4fb700ef54: Verifying Checksum
01-Oct-2025 13:05:58 4f4fb700ef54: Download complete
01-Oct-2025 13:05:58 2ea615f73fb3: Verifying Checksum
01-Oct-2025 13:05:58 2ea615f73fb3: Download complete
01-Oct-2025 13:06:02 c93eb42fc1cb: Pull complete
01-Oct-2025 13:06:05 94257a018d3e: Pull complete
01-Oct-2025 13:06:08 1834b031c7ce: Pull complete
01-Oct-2025 13:06:10 a430996d33b6: Pull complete
01-Oct-2025 13:06:10 eb921209a78d: Pull complete
01-Oct-2025 13:06:10 a98b476563fd: Pull complete
01-Oct-2025 13:06:10 4f4fb700ef54: Pull complete
01-Oct-2025 13:06:10 2ea615f73fb3: Pull complete
01-Oct-2025 13:06:10 Digest: sha256:cf8095886c71f61ec4ec13519c0a26a6eb325fda9aaf1a9961c11584003da603
01-Oct-2025 13:06:10 Status: Downloaded newer image for maven:3.9.9-amazoncorretto-11
01-Oct-2025 13:06:10 docker.io/library/maven:3.9.9-amazoncorretto-11
01-Oct-2025 13:06:10 + docker run -v m2-repo:/root/.m2/repository -v /home/bamboo-agent/.m2/settings.xml:/.m2/settings.xml:ro -v /data/bamboo-agent/xml-data/build-dir/DM-DM-DTM:/module --rm -w=/module maven:3.9.9-amazoncorretto-11 bash -c 'mvn deploy -B -DskipTests --settings /.m2/settings.xml'
01-Oct-2025 13:06:14 [INFO] Scanning for projects...
01-Oct-2025 13:06:15 [WARNING]
01-Oct-2025 13:06:15 [WARNING] Some problems were encountered while building the effective model for org.openmrs.module:drools-patient-flags:jar:1.0.0-SNAPSHOT
01-Oct-2025 13:06:15 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.openmrs.module:drools-api:jar -> duplicate declaration of version 1.0.0-SNAPSHOT @ line 32, column 21
01-Oct-2025 13:06:15 [WARNING]
01-Oct-2025 13:06:15 [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
01-Oct-2025 13:06:15 [WARNING]
01-Oct-2025 13:06:15 [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
01-Oct-2025 13:06:15 [WARNING]
01-Oct-2025 13:06:15 [INFO] ------------------------------------------------------------------------
01-Oct-2025 13:06:15 [INFO] Reactor Build Order:
01-Oct-2025 13:06:15 [INFO]
01-Oct-2025 13:06:15 [INFO] OpenMRS Drools Engine                                              [pom]
01-Oct-2025 13:06:15 [INFO] OpenMRS Drools Engine API                                          [jar]
01-Oct-2025 13:06:15 [INFO] OpenMRS Drools Patient Flags API                                   [jar]
01-Oct-2025 13:06:15 [INFO] OpenMRS Drools Engine OMOD                                         [jar]
01-Oct-2025 13:06:15 [INFO]
01-Oct-2025 13:06:15 [INFO] ---------------------< org.openmrs.module:drools >----------------------
01-Oct-2025 13:06:15 [INFO] Building OpenMRS Drools Engine 1.0.0-SNAPSHOT                      [1/4]
01-Oct-2025 13:06:15 [INFO]   from pom.xml
01-Oct-2025 13:06:15 [INFO] --------------------------------[ pom ]---------------------------------
01-Oct-2025 13:06:15 [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
01-Oct-2025 13:06:15 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
01-Oct-2025 13:06:15 [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml (1.4 kB at 3.0 kB/s)
01-Oct-2025 13:06:16 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml (1.5 kB at 1.4 kB/s)
01-Oct-2025 13:06:16 [WARNING] Ignoring incompatible plugin version 4.0.0-beta-2: The plugin org.apache.maven.plugins:maven-compiler-plugin:4.0.0-beta-2 requires Maven version 4.0.0-rc-2
01-Oct-2025 13:06:16 [INFO] Latest version of plugin org.apache.maven.plugins:maven-compiler-plugin failed compatibility check
01-Oct-2025 13:06:16 [INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-compiler-plugin
01-Oct-2025 13:06:16 [WARNING] Ignoring incompatible plugin version 4.0.0-beta-1: The plugin org.apache.maven.plugins:maven-compiler-plugin:4.0.0-beta-1 requires Maven version 4.0.0-beta-3
01-Oct-2025 13:06:16 [INFO] Selected plugin org.apache.maven.plugins:maven-compiler-plugin:3.14.1
01-Oct-2025 13:06:16 [INFO]
01-Oct-2025 13:06:16 [INFO] --- install:3.1.2:install (default-install) @ drools ---
01-Oct-2025 13:06:16 [INFO] Installing /module/pom.xml to /root/.m2/repository/org/openmrs/module/drools/1.0.0-SNAPSHOT/drools-1.0.0-SNAPSHOT.pom
01-Oct-2025 13:06:17 [INFO]
01-Oct-2025 13:06:17 [INFO] --- deploy:3.1.2:deploy (default-deploy) @ drools ---
01-Oct-2025 13:06:17 [INFO] ------------------------------------------------------------------------
01-Oct-2025 13:06:17 [INFO] Reactor Summary for OpenMRS Drools Engine 1.0.0-SNAPSHOT:
01-Oct-2025 13:06:17 [INFO]
01-Oct-2025 13:06:17 [INFO] OpenMRS Drools Engine .............................. FAILURE [  2.003 s]
01-Oct-2025 13:06:17 [INFO] OpenMRS Drools Engine API .......................... SKIPPED
01-Oct-2025 13:06:17 [INFO] OpenMRS Drools Patient Flags API ................... SKIPPED
01-Oct-2025 13:06:17 [INFO] OpenMRS Drools Engine OMOD ......................... SKIPPED
01-Oct-2025 13:06:17 [INFO] ------------------------------------------------------------------------
01-Oct-2025 13:06:17 [INFO] BUILD FAILURE
01-Oct-2025 13:06:17 [INFO] ------------------------------------------------------------------------
01-Oct-2025 13:06:17 [INFO] Total time:  2.951 s
01-Oct-2025 13:06:17 [INFO] Finished at: 2025-10-01T13:06:17Z
01-Oct-2025 13:06:17 [INFO] ------------------------------------------------------------------------
01-Oct-2025 13:06:17 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.1.2:deploy (default-deploy) on project drools: Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::url parameter -> [Help 1]
01-Oct-2025 13:06:17 [ERROR]
01-Oct-2025 13:06:17 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
01-Oct-2025 13:06:17 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
01-Oct-2025 13:06:17 [ERROR]
01-Oct-2025 13:06:17 [ERROR] For more information about the errors and possible solutions, please read the following articles:
01-Oct-2025 13:06:17 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
01-Oct-2025 13:06:17 Failing task since return code of [/data/bamboo-agent/temp/DM-DM-DTM-2-ScriptBuildTask-18276728709543430.sh] was 1 while expected 0
01-Oct-2025 13:06:17 Finished task 'Deploy' with result: Failed
01-Oct-2025 13:06:17 Running post build plugin 'Docker Container Cleanup'
01-Oct-2025 13:06:17 Running post build plugin 'NCover Results Collector'
01-Oct-2025 13:06:17 Running post build plugin 'Build Results Label Collector'
01-Oct-2025 13:06:17 Running post build plugin 'Clover Results Collector'
01-Oct-2025 13:06:17 Running post build plugin 'npm Cache Cleanup'
01-Oct-2025 13:06:17 Running post build plugin 'Artifact Copier'
01-Oct-2025 13:06:17 Finalising the build...
01-Oct-2025 13:06:17 Stopping timer.
01-Oct-2025 13:06:17 Build DM-DM-DTM-2 completed.
01-Oct-2025 13:06:17 Running on server: post build plugin 'Build Hanging Detection Configuration'
01-Oct-2025 13:06:17 Running on server: post build plugin 'NCover Results Collector'
01-Oct-2025 13:06:17 Running on server: post build plugin 'Build Labeller'
01-Oct-2025 13:06:17 Running on server: post build plugin 'Clover Delta Calculator'
01-Oct-2025 13:06:17 Running on server: post build plugin 'Maven Dependencies Postprocessor'
01-Oct-2025 13:06:17 All post build plugins have finished
01-Oct-2025 13:06:17 Generating build results summary...
01-Oct-2025 13:06:17 Saving build results to disk...
01-Oct-2025 13:06:17 Store variable context...
01-Oct-2025 13:06:17 Finished building DM-DM-DTM-2.