Runs unit test and deploys artifacts to maven repo. More details of the release in https://wiki.openmrs.org/x/i4DTAw

Build: #4421 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Build log

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

03-Dec-2025 20:04:45 Build Reference Application Module - Reference Application Module Latest - Default Job #4421 (RA-RA-JOB1-4421) is being prepared for building on agent xindi.openmrs.org, bamboo version: 11.0.2
03-Dec-2025 20:04:45 Remote agent on host xindi.openmrs.org
03-Dec-2025 20:04:45 Build working directory is /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1
03-Dec-2025 20:04:45 Executing build Reference Application Module - Reference Application Module Latest - Default Job #4421 (RA-RA-JOB1-4421)
03-Dec-2025 20:04:45 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
03-Dec-2025 20:04:45 Checking out into /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1
03-Dec-2025 20:04:45 Updating source code to revision: a6dda613b882161b30df45176149e28f4ff3e665
03-Dec-2025 20:04:45 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/.git'.
03-Dec-2025 20:04:45 hint: Using 'master' as the name for the initial branch. This default branch name
03-Dec-2025 20:04:45 hint: is subject to change. To configure the initial branch name to use in all
03-Dec-2025 20:04:45 hint: of your new repositories, which will suppress this warning, call:
03-Dec-2025 20:04:45 hint:
03-Dec-2025 20:04:45 hint:         git config --global init.defaultBranch <name>
03-Dec-2025 20:04:45 hint:
03-Dec-2025 20:04:45 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
03-Dec-2025 20:04:45 hint: 'development'. The just-created branch can be renamed via this command:
03-Dec-2025 20:04:45 hint:
03-Dec-2025 20:04:45 hint:         git branch -m <name>
03-Dec-2025 20:04:45 Initialized empty Git repository in /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/.git/
03-Dec-2025 20:04:45 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-module-referenceapplication.git Will try to do a shallow fetch.'.
03-Dec-2025 20:04:45 Checking out revision a6dda613b882161b30df45176149e28f4ff3e665.
03-Dec-2025 20:04:45 Already on 'master'
03-Dec-2025 20:04:45 Updated source code to revision: a6dda613b882161b30df45176149e28f4ff3e665
03-Dec-2025 20:04:45 Finished task 'Checkout Default Repository' with result: Success
03-Dec-2025 20:04:45 Running pre-build action: Build Log Labeller Pre Build Action
03-Dec-2025 20:04:45 Running pre-build action: VCS Version Collector
03-Dec-2025 20:04:45 Running pre-build action: Run Predator
03-Dec-2025 20:04:45 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
03-Dec-2025 20:04:45 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
03-Dec-2025 20:04:45 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 22370 java        1606 bamboo-age 3206Mb  544Mb 00:19:47 /usr/lib/jvm/java-21-op
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1606 wrapper     1544 bamboo-age   88Mb    3Mb 00:25:34 /data/bamboo-agent/bin/
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1544 bamboo       836 bamboo-age    3Mb    1Mb 00:00:00 /bin/sh /data/bamboo-ag
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):   836 java           1 bamboo-age 4038Mb   88Mb 00:20:52 /usr/lib/jvm/java-21-op
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:02:11 /sbin/init             
03-Dec-2025 20:04:46 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Initial free space: 61.07665 GB
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-DTM
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP-RTMVN
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REPREST-REPREST-DTM
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-DTM
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP-BTJ11
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-DTM
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REGAPP-REGAPP-DTM
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-DTM
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/ATT-ATTACH-DTM
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/IDGEN-IDGEN-DTM
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RC-RC-DTM
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/DM-DM-DTM
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/CA-CA-RTM
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-DTM
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository
03-Dec-2025 20:04:46 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
03-Dec-2025 20:04:46 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
03-Dec-2025 20:04:47 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
03-Dec-2025 20:04:47 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
03-Dec-2025 20:04:47 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
03-Dec-2025 20:04:47 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
03-Dec-2025 20:04:47 [PredatorPreBuildAction] Final free space: 61.07695 GB
03-Dec-2025 20:04:47 [PredatorPreBuildAction] Done
03-Dec-2025 20:04:47 Build Reference Application Module - Reference Application Module Latest - Default Job #4421 (RA-RA-JOB1-4421) started building on agent 'xindi.openmrs.org' (Remote agent on host xindi.openmrs.org)
03-Dec-2025 20:04:47 Starting task 'Maven 3.x' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3'
03-Dec-2025 20:04:47
Beginning to execute external process for build 'Reference Application Module - Reference Application Module Latest - Default Job #4421 (RA-RA-JOB1-4421)'
... running command line:
/usr/share/apache-maven-3.8.6/bin/mvn --batch-mode -Djava.io.tmpdir=/tmp/RA-RA-JOB1 clean deploy -U
... in: /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1
03-Dec-2025 20:04:48 [INFO] Scanning for projects...
03-Dec-2025 20:04:49 [INFO] ------------------------------------------------------------------------
03-Dec-2025 20:04:49 [INFO] Reactor Build Order:
03-Dec-2025 20:04:49 [INFO]
03-Dec-2025 20:04:49 [INFO] Reference Application Module                                       [pom]
03-Dec-2025 20:04:49 [INFO] Reference Application Module API                                   [jar]
03-Dec-2025 20:04:49 [INFO] Reference Application Module OMOD                                  [jar]
03-Dec-2025 20:04:49 [INFO]
03-Dec-2025 20:04:49 [INFO] --------------< org.openmrs.module:referenceapplication >---------------
03-Dec-2025 20:04:49 [INFO] Building Reference Application Module 2.14.0-SNAPSHOT              [1/3]
03-Dec-2025 20:04:49 [INFO] --------------------------------[ pom ]---------------------------------
03-Dec-2025 20:04:49 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
03-Dec-2025 20:04:49 [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
03-Dec-2025 20:04:50 [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml (1.5 kB at 2.2 kB/s)
03-Dec-2025 20:04:50 [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)
03-Dec-2025 20:04:50 [INFO]
03-Dec-2025 20:04:50 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ referenceapplication ---
03-Dec-2025 20:04:50 [INFO]
03-Dec-2025 20:04:50 [INFO] --- maven-install-plugin:2.4:install (default-install) @ referenceapplication ---
03-Dec-2025 20:04:50 [INFO] Installing /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/pom.xml to /home/bamboo-agent/.m2/repository/org/openmrs/module/referenceapplication/2.14.0-SNAPSHOT/referenceapplication-2.14.0-SNAPSHOT.pom
03-Dec-2025 20:04:50 [INFO]
03-Dec-2025 20:04:50 [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ referenceapplication ---
03-Dec-2025 20:04:50 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication/2.14.0-SNAPSHOT/maven-metadata.xml
03-Dec-2025 20:04:51 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication/2.14.0-SNAPSHOT/maven-metadata.xml (621 B at 2.9 kB/s)
03-Dec-2025 20:04:51 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication/2.14.0-SNAPSHOT/referenceapplication-2.14.0-20251203.200448-288.pom
03-Dec-2025 20:04:52 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication/2.14.0-SNAPSHOT/referenceapplication-2.14.0-20251203.200448-288.pom (22 kB at 14 kB/s)
03-Dec-2025 20:04:52 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication/maven-metadata.xml
03-Dec-2025 20:04:52 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication/maven-metadata.xml (873 B at 3.5 kB/s)
03-Dec-2025 20:04:52 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication/2.14.0-SNAPSHOT/maven-metadata.xml
03-Dec-2025 20:04:54 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication/2.14.0-SNAPSHOT/maven-metadata.xml (621 B at 496 B/s)
03-Dec-2025 20:04:54 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication/maven-metadata.xml
03-Dec-2025 20:04:55 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication/maven-metadata.xml (815 B at 556 B/s)
03-Dec-2025 20:04:55 [INFO]
03-Dec-2025 20:04:55 [INFO] ------------< org.openmrs.module:referenceapplication-api >-------------
03-Dec-2025 20:04:55 [INFO] Building Reference Application Module API 2.14.0-SNAPSHOT          [2/3]
03-Dec-2025 20:04:55 [INFO] --------------------------------[ jar ]---------------------------------
03-Dec-2025 20:04:55 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/fusesource/mqtt-client/mqtt-client/1.3/mqtt-client-1.3.pom
03-Dec-2025 20:04:55 [WARNING] Failed to create parent directories for tracking file /home/bamboo-agent/.m2/repository/org/fusesource/mqtt-client/mqtt-client/1.3/mqtt-client-1.3.pom.lastUpdated
03-Dec-2025 20:04:55 [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/fusesource/mqtt-client/mqtt-client/1.3/mqtt-client-1.3.pom
03-Dec-2025 20:04:55 [WARNING] Failed to create parent directories for tracking file /home/bamboo-agent/.m2/repository/org/fusesource/mqtt-client/mqtt-client/1.3/mqtt-client-1.3.pom.lastUpdated
03-Dec-2025 20:04:55 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/geronimo/specs/geronimo-j2ee-management_1.1_spec/1.0.1/geronimo-j2ee-management_1.1_spec-1.0.1.pom
03-Dec-2025 20:04:55 [WARNING] Failed to create parent directories for tracking file /home/bamboo-agent/.m2/repository/org/apache/geronimo/specs/geronimo-j2ee-management_1.1_spec/1.0.1/geronimo-j2ee-management_1.1_spec-1.0.1.pom.lastUpdated
03-Dec-2025 20:04:55 [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/geronimo/specs/geronimo-j2ee-management_1.1_spec/1.0.1/geronimo-j2ee-management_1.1_spec-1.0.1.pom
03-Dec-2025 20:04:55 [WARNING] Failed to create parent directories for tracking file /home/bamboo-agent/.m2/repository/org/apache/geronimo/specs/geronimo-j2ee-management_1.1_spec/1.0.1/geronimo-j2ee-management_1.1_spec-1.0.1.pom.lastUpdated
03-Dec-2025 20:04:55 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/xalan/xalan/2.7.0/xalan-2.7.0.pom
03-Dec-2025 20:04:55 [WARNING] Failed to create parent directories for tracking file /home/bamboo-agent/.m2/repository/xalan/xalan/2.7.0/xalan-2.7.0.pom.lastUpdated
03-Dec-2025 20:04:55 [INFO] Downloading from central: https://repo.maven.apache.org/maven2/xalan/xalan/2.7.0/xalan-2.7.0.pom
03-Dec-2025 20:04:55 [WARNING] Failed to create parent directories for tracking file /home/bamboo-agent/.m2/repository/xalan/xalan/2.7.0/xalan-2.7.0.pom.lastUpdated
03-Dec-2025 20:04:56 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/joda/joda-convert/1.2/joda-convert-1.2.pom
03-Dec-2025 20:04:56 [WARNING] Failed to create parent directories for tracking file /home/bamboo-agent/.m2/repository/org/joda/joda-convert/1.2/joda-convert-1.2.pom.lastUpdated
03-Dec-2025 20:04:56 [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/joda/joda-convert/1.2/joda-convert-1.2.pom
03-Dec-2025 20:04:56 [WARNING] Failed to create parent directories for tracking file /home/bamboo-agent/.m2/repository/org/joda/joda-convert/1.2/joda-convert-1.2.pom.lastUpdated
03-Dec-2025 20:04:56 [INFO] ------------------------------------------------------------------------
03-Dec-2025 20:04:56 [INFO] Reactor Summary for Reference Application Module 2.14.0-SNAPSHOT:
03-Dec-2025 20:04:56 [INFO]
03-Dec-2025 20:04:56 [INFO] Reference Application Module ....................... SUCCESS [  6.529 s]
03-Dec-2025 20:04:56 [INFO] Reference Application Module API ................... FAILURE [  0.606 s]
03-Dec-2025 20:04:56 [INFO] Reference Application Module OMOD .................. SKIPPED
03-Dec-2025 20:04:56 [INFO] ------------------------------------------------------------------------
03-Dec-2025 20:04:56 [INFO] BUILD FAILURE
03-Dec-2025 20:04:56 [INFO] ------------------------------------------------------------------------
03-Dec-2025 20:04:56 [INFO] Total time:  7.623 s
03-Dec-2025 20:04:56 [INFO] Finished at: 2025-12-03T20:04:56Z
03-Dec-2025 20:04:56 [INFO] ------------------------------------------------------------------------
03-Dec-2025 20:04:56 [ERROR] Failed to execute goal on project referenceapplication-api: Could not resolve dependencies for project org.openmrs.module:referenceapplication-api:jar:2.14.0-SNAPSHOT: Failed to collect dependencies at org.openmrs:event-api:jar:2.8.0 -> org.apache.activemq:activemq-core:jar:5.7.0 -> org.fusesource.mqtt-client:mqtt-client:jar:1.3: Failed to read artifact descriptor for org.fusesource.mqtt-client:mqtt-client:jar:1.3: Could not transfer artifact org.fusesource.mqtt-client:mqtt-client:pom:1.3 from/to openmrs-repo (https://mavenrepo.openmrs.org/nexus/content/repositories/public): /home/bamboo-agent/.m2/repository/org/fusesource/mqtt-client/mqtt-client/1.3/mqtt-client-1.3.pom.part.lock (No such file or directory) -> [Help 1]
03-Dec-2025 20:04:56 [ERROR]
03-Dec-2025 20:04:56 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
03-Dec-2025 20:04:56 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
03-Dec-2025 20:04:56 [ERROR]
03-Dec-2025 20:04:56 [ERROR] For more information about the errors and possible solutions, please read the following articles:
03-Dec-2025 20:04:56 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
03-Dec-2025 20:04:56 [ERROR]
03-Dec-2025 20:04:56 [ERROR] After correcting the problems, you can resume the build with the command
03-Dec-2025 20:04:56 [ERROR]   mvn <args> -rf :referenceapplication-api
03-Dec-2025 20:04:56 Failing task since return code of [/usr/share/apache-maven-3.8.6/bin/mvn --batch-mode -Djava.io.tmpdir=/tmp/RA-RA-JOB1 clean deploy -U] was 1 while expected 0
03-Dec-2025 20:04:56 Parsing test results under /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1...
03-Dec-2025 20:04:56 Finished task 'Maven 3.x' with result: Failed
03-Dec-2025 20:04:56 Running post build plugin 'Docker Container Cleanup'
03-Dec-2025 20:04:56 Running post build plugin 'NCover Results Collector'
03-Dec-2025 20:04:56 Running post build plugin 'Build Results Label Collector'
03-Dec-2025 20:04:56 Running post build plugin 'Clover Results Collector'
03-Dec-2025 20:04:56 Running post build plugin 'npm Cache Cleanup'
03-Dec-2025 20:04:56 Running post build plugin 'Artifact Copier'
03-Dec-2025 20:04:56 Finalising the build...
03-Dec-2025 20:04:56 Stopping timer.
03-Dec-2025 20:04:56 Build RA-RA-JOB1-4421 completed.
03-Dec-2025 20:04:56 Running on server: post build plugin 'Build Hanging Detection Configuration'
03-Dec-2025 20:04:56 Running on server: post build plugin 'NCover Results Collector'
03-Dec-2025 20:04:56 Running on server: post build plugin 'Build Labeller'
03-Dec-2025 20:04:56 Running on server: post build plugin 'Clover Delta Calculator'
03-Dec-2025 20:04:56 Running on server: post build plugin 'Maven Dependencies Postprocessor'
03-Dec-2025 20:04:56 All post build plugins have finished
03-Dec-2025 20:04:56 Generating build results summary...
03-Dec-2025 20:04:56 Saving build results to disk...
03-Dec-2025 20:04:56 Store variable context...
03-Dec-2025 20:04:56 Finished building RA-RA-JOB1-4421.