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

Build: #4386 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Build log

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

08-Sep-2025 19:00:18 Build Reference Application Module - Reference Application Module Latest - Default Job #4386 (RA-RA-JOB1-4386) is being prepared for building on agent yu.openmrs.org (2), bamboo version: 11.0.2
08-Sep-2025 19:00:18 Remote agent on host yu.openmrs.org
08-Sep-2025 19:00:18 Build working directory is /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1
08-Sep-2025 19:00:18 Executing build Reference Application Module - Reference Application Module Latest - Default Job #4386 (RA-RA-JOB1-4386)
08-Sep-2025 19:00:18 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
08-Sep-2025 19:00:18 Checking out into /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1
08-Sep-2025 19:00:18 Updating source code to revision: a6dda613b882161b30df45176149e28f4ff3e665
08-Sep-2025 19:00:18 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/.git'.
08-Sep-2025 19:00:18 hint: Using 'master' as the name for the initial branch. This default branch name
08-Sep-2025 19:00:18 hint: is subject to change. To configure the initial branch name to use in all
08-Sep-2025 19:00:18 hint: of your new repositories, which will suppress this warning, call:
08-Sep-2025 19:00:18 hint:
08-Sep-2025 19:00:18 hint:         git config --global init.defaultBranch <name>
08-Sep-2025 19:00:18 hint:
08-Sep-2025 19:00:18 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
08-Sep-2025 19:00:18 hint: 'development'. The just-created branch can be renamed via this command:
08-Sep-2025 19:00:18 hint:
08-Sep-2025 19:00:18 hint:         git branch -m <name>
08-Sep-2025 19:00:18 Initialized empty Git repository in /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/.git/
08-Sep-2025 19:00:18 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-module-referenceapplication.git Will try to do a shallow fetch.'.
08-Sep-2025 19:00:18 Checking out revision a6dda613b882161b30df45176149e28f4ff3e665.
08-Sep-2025 19:00:18 Already on 'master'
08-Sep-2025 19:00:18 Updated source code to revision: a6dda613b882161b30df45176149e28f4ff3e665
08-Sep-2025 19:00:18 Finished task 'Checkout Default Repository' with result: Success
08-Sep-2025 19:00:18 Running pre-build action: Build Log Labeller Pre Build Action
08-Sep-2025 19:00:18 Running pre-build action: VCS Version Collector
08-Sep-2025 19:00:18 Running pre-build action: Run Predator
08-Sep-2025 19:00:18 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
08-Sep-2025 19:00:18 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
08-Sep-2025 19:00:18 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 38290 java        1911 bamboo-age 3190Mb  515Mb 00:04:58 /usr/lib/jvm/java-21-op
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1911 wrapper     1828 bamboo-age   88Mb    3Mb 00:09:21 /data/bamboo-agent/bin/
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1828 bamboo       829 bamboo-age    3Mb    1Mb 00:00:00 /bin/sh /data/bamboo-ag
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):   829 java           1 bamboo-age 4038Mb   37Mb 00:08:06 /usr/lib/jvm/java-21-op
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:04:31 /sbin/init             
08-Sep-2025 19:00:19 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Initial free space: 68.87169 GB
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RDD-RDD-JOB1
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-DTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/SMGT-STOC-DTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AUTH-AUTHUI-DTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-DTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AS-ASML-DTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REGAPP-REGAPP-DTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-DTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/QM-QUEUE-RTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AUM-AUM-DTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-BTJ24
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/CA-CA-RTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-BTJ17
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-BTJ11
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-RTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/META-META-DTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-BTJ8
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AS-ASML-BTJ8
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM2-DTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AU-AU1-DTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REGAPP-REGAPP-BTJ8
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM227-DTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AU-AUL-DTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/ATT-ATT-DTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/QM-QUEUE-DTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-BTJ17
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-DTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OM-OM-DTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-RTMVN
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-BTJ8
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-BTJ21
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-DTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OWA-OWA-DTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/LU-LUL-DTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-BTJ11
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OCLM-OCLM-DTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/SXS-SXS-DTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/ATT-ATT-BTJ8
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REGAPP-REGAPP-RTM
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Deleting 5 snapshot folders from /home/bamboo-agent/.m2/repository
08-Sep-2025 19:00:19 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
08-Sep-2025 19:00:19 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
08-Sep-2025 19:00:20 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
08-Sep-2025 19:00:20 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
08-Sep-2025 19:00:20 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
08-Sep-2025 19:00:20 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
08-Sep-2025 19:00:20 [PredatorPreBuildAction] Final free space: 68.87369 GB
08-Sep-2025 19:00:20 [PredatorPreBuildAction] Done
08-Sep-2025 19:00:20 Build Reference Application Module - Reference Application Module Latest - Default Job #4386 (RA-RA-JOB1-4386) started building on agent 'yu.openmrs.org (2)' (Remote agent on host yu.openmrs.org)
08-Sep-2025 19:00:20 Starting task 'Maven 3.x' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3'
08-Sep-2025 19:00:20
Beginning to execute external process for build 'Reference Application Module - Reference Application Module Latest - Default Job #4386 (RA-RA-JOB1-4386)'
... 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
08-Sep-2025 19:00:21 [INFO] Scanning for projects...
08-Sep-2025 19:00:22 [INFO] ------------------------------------------------------------------------
08-Sep-2025 19:00:22 [INFO] Reactor Build Order:
08-Sep-2025 19:00:22 [INFO]
08-Sep-2025 19:00:22 [INFO] Reference Application Module                                       [pom]
08-Sep-2025 19:00:22 [INFO] Reference Application Module API                                   [jar]
08-Sep-2025 19:00:22 [INFO] Reference Application Module OMOD                                  [jar]
08-Sep-2025 19:00:22 [INFO]
08-Sep-2025 19:00:22 [INFO] --------------< org.openmrs.module:referenceapplication >---------------
08-Sep-2025 19:00:22 [INFO] Building Reference Application Module 2.14.0-SNAPSHOT              [1/3]
08-Sep-2025 19:00:22 [INFO] --------------------------------[ pom ]---------------------------------
08-Sep-2025 19:00:22 [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
08-Sep-2025 19:00:22 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
08-Sep-2025 19:00:23 [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml (1.4 kB at 2.9 kB/s)
08-Sep-2025 19:00:23 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml (1.4 kB at 1.4 kB/s)
08-Sep-2025 19:00:23 [INFO]
08-Sep-2025 19:00:23 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ referenceapplication ---
08-Sep-2025 19:00:23 [INFO]
08-Sep-2025 19:00:23 [INFO] --- maven-install-plugin:2.4:install (default-install) @ referenceapplication ---
08-Sep-2025 19:00:23 [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
08-Sep-2025 19:00:23 [INFO]
08-Sep-2025 19:00:23 [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ referenceapplication ---
08-Sep-2025 19:00:23 [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
08-Sep-2025 19:00:24 [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.6 kB/s)
08-Sep-2025 19:00:24 [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-20250908.190021-253.pom
08-Sep-2025 19:00:25 [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-20250908.190021-253.pom (22 kB at 13 kB/s)
08-Sep-2025 19:00:25 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication/maven-metadata.xml
08-Sep-2025 19:00:26 [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)
08-Sep-2025 19:00:26 [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
08-Sep-2025 19:00:27 [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 498 B/s)
08-Sep-2025 19:00:27 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication/maven-metadata.xml
08-Sep-2025 19:00:28 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication/maven-metadata.xml (815 B at 555 B/s)
08-Sep-2025 19:00:28 [INFO]
08-Sep-2025 19:00:28 [INFO] ------------< org.openmrs.module:referenceapplication-api >-------------
08-Sep-2025 19:00:28 [INFO] Building Reference Application Module API 2.14.0-SNAPSHOT          [2/3]
08-Sep-2025 19:00:28 [INFO] --------------------------------[ jar ]---------------------------------
08-Sep-2025 19:00:29 [INFO]
08-Sep-2025 19:00:29 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ referenceapplication-api ---
08-Sep-2025 19:00:29 [INFO]
08-Sep-2025 19:00:29 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ referenceapplication-api ---
08-Sep-2025 19:00:29 [INFO] Using 'UTF-8' encoding to copy filtered resources.
08-Sep-2025 19:00:29 [INFO] Copying 22 resources
08-Sep-2025 19:00:29 [INFO]
08-Sep-2025 19:00:29 [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ referenceapplication-api ---
08-Sep-2025 19:00:29 [INFO] Changes detected - recompiling the module!
08-Sep-2025 19:00:29 [INFO] Compiling 3 source files to /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/api/target/classes
08-Sep-2025 19:00:30 [INFO]
08-Sep-2025 19:00:30 [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ referenceapplication-api ---
08-Sep-2025 19:00:30 [INFO] Using 'UTF-8' encoding to copy filtered resources.
08-Sep-2025 19:00:30 [INFO] Copying 3 resources
08-Sep-2025 19:00:30 [INFO]
08-Sep-2025 19:00:30 [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ referenceapplication-api ---
08-Sep-2025 19:00:30 [INFO] Changes detected - recompiling the module!
08-Sep-2025 19:00:30 [INFO] Compiling 3 source files to /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/api/target/test-classes
08-Sep-2025 19:00:30 [INFO]
08-Sep-2025 19:00:30 [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ referenceapplication-api ---
08-Sep-2025 19:00:30 [INFO]
08-Sep-2025 19:00:30 [INFO] -------------------------------------------------------
08-Sep-2025 19:00:30 [INFO]  T E S T S
08-Sep-2025 19:00:30 [INFO] -------------------------------------------------------
08-Sep-2025 19:00:31 [INFO] Running org.openmrs.module.referenceapplication.ReferenceApplicationActivatorTest
08-Sep-2025 19:00:31 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.281 s - in org.openmrs.module.referenceapplication.ReferenceApplicationActivatorTest
08-Sep-2025 19:00:31 [INFO] Running org.openmrs.module.referenceapplication.ReferenceApplicationActivatorComponentTest
08-Sep-2025 19:00:46 ERROR - BrokerService.checkSystemUsageLimits(1925) |2025-09-08 19:00:46,015| Temporary Store limit is 51200 mb, whilst the temporary data directory: /tmp/RA-RA-JOB1/appdir-for-unit-tests-8295084076983534857/activemq-data/localhost/tmp_storage only has 2354 mb of usable space
08-Sep-2025 19:00:49 ERROR - ReferenceApplicationActivator.setupHtmlForms(219) |2025-09-08 19:00:49,732| Unable to load HTML forms--this error is expected when running component tests
08-Sep-2025 19:00:49 ERROR - ReferenceApplicationActivator.setupHtmlForms(219) |2025-09-08 19:00:49,935| Unable to load HTML forms--this error is expected when running component tests
08-Sep-2025 19:00:50 ERROR - ReferenceApplicationActivator.setupHtmlForms(219) |2025-09-08 19:00:50,118| Unable to load HTML forms--this error is expected when running component tests
08-Sep-2025 19:00:50 [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.562 s - in org.openmrs.module.referenceapplication.ReferenceApplicationActivatorComponentTest
08-Sep-2025 19:00:50 [INFO] Running org.openmrs.module.referenceapplication.administrativenotification.ConfigureAtlasNotificationProducerTest
08-Sep-2025 19:00:50 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 s - in org.openmrs.module.referenceapplication.administrativenotification.ConfigureAtlasNotificationProducerTest
08-Sep-2025 19:00:50 [INFO]
08-Sep-2025 19:00:50 [INFO] Results:
08-Sep-2025 19:00:50 [INFO]
08-Sep-2025 19:00:50 [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0
08-Sep-2025 19:00:50 [INFO]
08-Sep-2025 19:00:50 [INFO]
08-Sep-2025 19:00:50 [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ referenceapplication-api ---
08-Sep-2025 19:00:51 [INFO] Building jar: /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/api/target/referenceapplication-api-2.14.0-SNAPSHOT.jar
08-Sep-2025 19:00:51 [INFO]
08-Sep-2025 19:00:51 [INFO] --- maven-install-plugin:2.4:install (default-install) @ referenceapplication-api ---
08-Sep-2025 19:00:51 [INFO] Installing /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/api/target/referenceapplication-api-2.14.0-SNAPSHOT.jar to /home/bamboo-agent/.m2/repository/org/openmrs/module/referenceapplication-api/2.14.0-SNAPSHOT/referenceapplication-api-2.14.0-SNAPSHOT.jar
08-Sep-2025 19:00:51 [INFO] Installing /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/api/pom.xml to /home/bamboo-agent/.m2/repository/org/openmrs/module/referenceapplication-api/2.14.0-SNAPSHOT/referenceapplication-api-2.14.0-SNAPSHOT.pom
08-Sep-2025 19:00:51 [INFO]
08-Sep-2025 19:00:51 [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ referenceapplication-api ---
08-Sep-2025 19:00:51 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication-api/2.14.0-SNAPSHOT/maven-metadata.xml
08-Sep-2025 19:00:51 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication-api/2.14.0-SNAPSHOT/maven-metadata.xml (801 B at 2.8 kB/s)
08-Sep-2025 19:00:51 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication-api/2.14.0-SNAPSHOT/referenceapplication-api-2.14.0-20250908.190021-253.jar
08-Sep-2025 19:00:53 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication-api/2.14.0-SNAPSHOT/referenceapplication-api-2.14.0-20250908.190021-253.jar (48 kB at 25 kB/s)
08-Sep-2025 19:00:53 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication-api/2.14.0-SNAPSHOT/referenceapplication-api-2.14.0-20250908.190021-253.pom
08-Sep-2025 19:00:54 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication-api/2.14.0-SNAPSHOT/referenceapplication-api-2.14.0-20250908.190021-253.pom (1.1 kB at 706 B/s)
08-Sep-2025 19:00:54 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication-api/maven-metadata.xml
08-Sep-2025 19:00:55 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication-api/maven-metadata.xml (877 B at 3.7 kB/s)
08-Sep-2025 19:00:55 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication-api/2.14.0-SNAPSHOT/maven-metadata.xml
08-Sep-2025 19:00:56 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication-api/2.14.0-SNAPSHOT/maven-metadata.xml (801 B at 635 B/s)
08-Sep-2025 19:00:56 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication-api/maven-metadata.xml
08-Sep-2025 19:00:57 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/referenceapplication-api/maven-metadata.xml (819 B at 591 B/s)
08-Sep-2025 19:00:57 [INFO]
08-Sep-2025 19:00:57 [INFO] ------------< org.openmrs.module:referenceapplication-omod >------------
08-Sep-2025 19:00:57 [INFO] Building Reference Application Module OMOD 2.14.0-SNAPSHOT         [3/3]
08-Sep-2025 19:00:57 [INFO] --------------------------------[ jar ]---------------------------------
08-Sep-2025 19:00:57 [INFO]
08-Sep-2025 19:00:57 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ referenceapplication-omod ---
08-Sep-2025 19:00:58 [INFO]
08-Sep-2025 19:00:58 [INFO] --- maven-openmrs-plugin:1.0.1:initialize-module (init) @ referenceapplication-omod ---
08-Sep-2025 19:00:58 [INFO]
08-Sep-2025 19:00:58 [INFO] --- maven-resources-plugin:2.6:copy-resources (process package.json) @ referenceapplication-omod ---
08-Sep-2025 19:00:58 [INFO] Using 'UTF-8' encoding to copy filtered resources.
08-Sep-2025 19:00:58 [INFO] Copying 1 resource
08-Sep-2025 19:00:58 [INFO]
08-Sep-2025 19:00:58 [INFO] --- maven-dependency-plugin:2.4:unpack-dependencies (Expand moduleApplicationContext and messages) @ referenceapplication-omod ---
08-Sep-2025 19:00:58 [INFO] Unpacking /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/api/target/referenceapplication-api-2.14.0-SNAPSHOT.jar to /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/omod/target/classes with includes "**/*" and excludes ""
08-Sep-2025 19:00:58 [INFO]
08-Sep-2025 19:00:58 [INFO] --- maven-dependency-plugin:2.4:unpack (Fetch SASS sources from uicommons) @ referenceapplication-omod ---
08-Sep-2025 19:00:58 [INFO] Configured Artifact: org.openmrs.module:uicommons-scss:?:zip
08-Sep-2025 19:00:58 [INFO] Unpacking /home/bamboo-agent/.m2/repository/org/openmrs/module/uicommons-scss/2.12.0/uicommons-scss-2.12.0.zip to /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/omod/target/sass/lib with includes "" and excludes ""
08-Sep-2025 19:00:58 [INFO]
08-Sep-2025 19:00:58 [INFO] --- frontend-maven-plugin:1.11.3:install-node-and-npm (install node and npm) @ referenceapplication-omod ---
08-Sep-2025 19:00:58 [INFO] Installing node version v14.17.0
08-Sep-2025 19:00:58 [INFO] Unpacking /home/bamboo-agent/.m2/repository/com/github/eirslett/node/14.17.0/node-14.17.0-linux-x64.tar.gz into /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/omod/node/tmp
08-Sep-2025 19:01:00 [INFO] Copying node binary from /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/omod/node/tmp/node-v14.17.0-linux-x64/bin/node to /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/omod/node/node
08-Sep-2025 19:01:00 [INFO] Installed node locally.
08-Sep-2025 19:01:00 [INFO] Installing npm version 7.6.2
08-Sep-2025 19:01:00 [INFO] Unpacking /home/bamboo-agent/.m2/repository/com/github/eirslett/npm/7.6.2/npm-7.6.2.tar.gz into /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/omod/node/node_modules
08-Sep-2025 19:01:01 [INFO] Installed npm locally.
08-Sep-2025 19:01:01 [INFO]
08-Sep-2025 19:01:01 [INFO] --- frontend-maven-plugin:1.11.3:npm (npm install) @ referenceapplication-omod ---
08-Sep-2025 19:01:01 [INFO] Running 'npm install' in /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/omod
08-Sep-2025 19:01:02 [INFO] npm WARN EBADENGINE Unsupported engine {
08-Sep-2025 19:01:02 [INFO] npm WARN EBADENGINE   package: 'readdirp@4.1.2',
08-Sep-2025 19:01:02 [INFO] npm WARN EBADENGINE   required: { node: '>= 14.18.0' },
08-Sep-2025 19:01:02 [INFO] npm WARN EBADENGINE   current: { node: 'v14.17.0', npm: '7.6.2' }
08-Sep-2025 19:01:02 [INFO] npm WARN EBADENGINE }
08-Sep-2025 19:01:02 [INFO]
08-Sep-2025 19:01:02 [INFO] added 19 packages, and audited 20 packages in 1s
08-Sep-2025 19:01:02 [INFO]
08-Sep-2025 19:01:02 [INFO] 6 packages are looking for funding
08-Sep-2025 19:01:02 [INFO]   run `npm fund` for details
08-Sep-2025 19:01:02 [INFO]
08-Sep-2025 19:01:02 [INFO] found 0 vulnerabilities
08-Sep-2025 19:01:02 [INFO]
08-Sep-2025 19:01:02 [INFO] --- frontend-maven-plugin:1.11.3:npm (npm run build) @ referenceapplication-omod ---
08-Sep-2025 19:01:02 [INFO] Running 'npm run build' in /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/omod
08-Sep-2025 19:01:03 [INFO]
08-Sep-2025 19:01:03 [INFO] > referenceapplication@2.14.0-SNAPSHOT build
08-Sep-2025 19:01:03 [INFO] > sass src/main/resources/styles/:target/classes/web/module/resources/styles/ -Isrc/main/webapp/resources/styles -Itarget/sass/lib/uicommons-scss -Inode_modules/compass-mixins/lib
08-Sep-2025 19:01:03 [INFO]
08-Sep-2025 19:01:03 [INFO] internal/modules/cjs/loader.js:888
08-Sep-2025 19:01:03 [INFO]   throw err;
08-Sep-2025 19:01:03 [INFO]   ^
08-Sep-2025 19:01:03 [INFO]
08-Sep-2025 19:01:03 [INFO] Error: Cannot find module 'node:fs/promises'
08-Sep-2025 19:01:03 [INFO] Require stack:
08-Sep-2025 19:01:03 [INFO] - /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/omod/node_modules/readdirp/index.js
08-Sep-2025 19:01:03 [INFO] - /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/omod/node_modules/chokidar/index.js
08-Sep-2025 19:01:03 [INFO] - /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/omod/node_modules/sass/sass.js
08-Sep-2025 19:01:03 [INFO]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15)
08-Sep-2025 19:01:03 [INFO]     at Function.Module._load (internal/modules/cjs/loader.js:730:27)
08-Sep-2025 19:01:03 [INFO]     at Module.require (internal/modules/cjs/loader.js:957:19)
08-Sep-2025 19:01:03 [INFO]     at require (internal/modules/cjs/helpers.js:88:18)
08-Sep-2025 19:01:03 [INFO]     at Object.<anonymous> (/data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/omod/node_modules/readdirp/index.js:6:20)
08-Sep-2025 19:01:03 [INFO]     at Module._compile (internal/modules/cjs/loader.js:1068:30)
08-Sep-2025 19:01:03 [INFO]     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
08-Sep-2025 19:01:03 [INFO]     at Module.load (internal/modules/cjs/loader.js:933:32)
08-Sep-2025 19:01:03 [INFO]     at Function.Module._load (internal/modules/cjs/loader.js:774:14)
08-Sep-2025 19:01:03 [INFO]     at Module.require (internal/modules/cjs/loader.js:957:19) {
08-Sep-2025 19:01:03 [INFO]   code: 'MODULE_NOT_FOUND',
08-Sep-2025 19:01:03 [INFO]   requireStack: [
08-Sep-2025 19:01:03 [INFO]     '/data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/omod/node_modules/readdirp/index.js',
08-Sep-2025 19:01:03 [INFO]     '/data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/omod/node_modules/chokidar/index.js',
08-Sep-2025 19:01:03 [INFO]     '/data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/omod/node_modules/sass/sass.js'
08-Sep-2025 19:01:03 [INFO]   ]
08-Sep-2025 19:01:03 [INFO] }
08-Sep-2025 19:01:03 [INFO] npm ERR! code 1
08-Sep-2025 19:01:03 [INFO] npm ERR! path /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1/omod
08-Sep-2025 19:01:03 [INFO] npm ERR! command failed
08-Sep-2025 19:01:03 [INFO] npm ERR! command sh -c sass src/main/resources/styles/:target/classes/web/module/resources/styles/ -Isrc/main/webapp/resources/styles -Itarget/sass/lib/uicommons-scss -Inode_modules/compass-mixins/lib
08-Sep-2025 19:01:03 [INFO]
08-Sep-2025 19:01:03 [INFO] npm ERR! A complete log of this run can be found in:
08-Sep-2025 19:01:03 [INFO] npm ERR!     /home/bamboo-agent/.npm/_logs/2025-09-08T19_01_03_316Z-debug.log
08-Sep-2025 19:01:03 [INFO] ------------------------------------------------------------------------
08-Sep-2025 19:01:03 [INFO] Reactor Summary for Reference Application Module 2.14.0-SNAPSHOT:
08-Sep-2025 19:01:03 [INFO]
08-Sep-2025 19:01:03 [INFO] Reference Application Module ....................... SUCCESS [  6.453 s]
08-Sep-2025 19:01:03 [INFO] Reference Application Module API ................... SUCCESS [ 29.080 s]
08-Sep-2025 19:01:03 [INFO] Reference Application Module OMOD .................. FAILURE [  5.507 s]
08-Sep-2025 19:01:03 [INFO] ------------------------------------------------------------------------
08-Sep-2025 19:01:03 [INFO] BUILD FAILURE
08-Sep-2025 19:01:03 [INFO] ------------------------------------------------------------------------
08-Sep-2025 19:01:03 [INFO] Total time:  41.577 s
08-Sep-2025 19:01:03 [INFO] Finished at: 2025-09-08T19:01:03Z
08-Sep-2025 19:01:03 [INFO] ------------------------------------------------------------------------
08-Sep-2025 19:01:03 [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.11.3:npm (npm run build) on project referenceapplication-omod: Failed to run task: 'npm run build' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
08-Sep-2025 19:01:03 [ERROR]
08-Sep-2025 19:01:03 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
08-Sep-2025 19:01:03 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
08-Sep-2025 19:01:03 [ERROR]
08-Sep-2025 19:01:03 [ERROR] For more information about the errors and possible solutions, please read the following articles:
08-Sep-2025 19:01:03 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
08-Sep-2025 19:01:03 [ERROR]
08-Sep-2025 19:01:03 [ERROR] After correcting the problems, you can resume the build with the command
08-Sep-2025 19:01:03 [ERROR]   mvn <args> -rf :referenceapplication-omod
08-Sep-2025 19:01:03 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
08-Sep-2025 19:01:03 Parsing test results under /data/bamboo-agent/xml-data/build-dir/RA-RA-JOB1...
08-Sep-2025 19:01:03 Finished task 'Maven 3.x' with result: Failed
08-Sep-2025 19:01:03 Running post build plugin 'Docker Container Cleanup'
08-Sep-2025 19:01:03 Running post build plugin 'NCover Results Collector'
08-Sep-2025 19:01:03 Running post build plugin 'Build Results Label Collector'
08-Sep-2025 19:01:03 Running post build plugin 'Clover Results Collector'
08-Sep-2025 19:01:03 Running post build plugin 'npm Cache Cleanup'
08-Sep-2025 19:01:03 Running post build plugin 'Artifact Copier'
08-Sep-2025 19:01:03 Finalising the build...
08-Sep-2025 19:01:03 Stopping timer.
08-Sep-2025 19:01:03 Build RA-RA-JOB1-4386 completed.
08-Sep-2025 19:01:03 Running on server: post build plugin 'Build Hanging Detection Configuration'
08-Sep-2025 19:01:03 Running on server: post build plugin 'NCover Results Collector'
08-Sep-2025 19:01:03 Running on server: post build plugin 'Build Labeller'
08-Sep-2025 19:01:03 Running on server: post build plugin 'Clover Delta Calculator'
08-Sep-2025 19:01:03 Running on server: post build plugin 'Maven Dependencies Postprocessor'
08-Sep-2025 19:01:03 All post build plugins have finished
08-Sep-2025 19:01:03 Generating build results summary...
08-Sep-2025 19:01:03 Saving build results to disk...
08-Sep-2025 19:01:03 Store variable context...
08-Sep-2025 19:01:03 Finished building RA-RA-JOB1-4386.