Build: #14 failed

Job: Build and Test JDK 21 failed

Build log

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

29-Sep-2025 20:47:31 Build Address Hierarchy - Address Hierarchy Module Latest - Build and Test JDK 21 #14 (ADDRHIER-AHML-JOB1-14) is being prepared for building on agent yu.openmrs.org (2), bamboo version: 11.0.2
29-Sep-2025 20:47:31 Remote agent on host yu.openmrs.org
29-Sep-2025 20:47:31 Build working directory is /data/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-JOB1
29-Sep-2025 20:47:31 Executing build Address Hierarchy - Address Hierarchy Module Latest - Build and Test JDK 21 #14 (ADDRHIER-AHML-JOB1-14)
29-Sep-2025 20:47:31 Starting task 'Checkout default repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
29-Sep-2025 20:47:31 Checking out into /data/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-JOB1
29-Sep-2025 20:47:31 Updating source code to revision: e104c94cdecd562515c0d5cf9f7a9f1ea8d0422c
29-Sep-2025 20:47:31 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-JOB1/.git'.
29-Sep-2025 20:47:31 hint: Using 'master' as the name for the initial branch. This default branch name
29-Sep-2025 20:47:31 hint: is subject to change. To configure the initial branch name to use in all
29-Sep-2025 20:47:31 hint: of your new repositories, which will suppress this warning, call:
29-Sep-2025 20:47:31 hint:
29-Sep-2025 20:47:31 hint:         git config --global init.defaultBranch <name>
29-Sep-2025 20:47:31 hint:
29-Sep-2025 20:47:31 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
29-Sep-2025 20:47:31 hint: 'development'. The just-created branch can be renamed via this command:
29-Sep-2025 20:47:31 hint:
29-Sep-2025 20:47:31 hint:         git branch -m <name>
29-Sep-2025 20:47:31 Initialized empty Git repository in /data/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-JOB1/.git/
29-Sep-2025 20:47:31 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-module-addresshierarchy.git'.
29-Sep-2025 20:47:32 Checking out revision e104c94cdecd562515c0d5cf9f7a9f1ea8d0422c.
29-Sep-2025 20:47:32 Already on 'master'
29-Sep-2025 20:47:32 Updated source code to revision: e104c94cdecd562515c0d5cf9f7a9f1ea8d0422c
29-Sep-2025 20:47:32 Finished task 'Checkout default repository' with result: Success
29-Sep-2025 20:47:32 Running pre-build action: Build Log Labeller Pre Build Action
29-Sep-2025 20:47:32 Running pre-build action: VCS Version Collector
29-Sep-2025 20:47:32 Running pre-build action: Run Predator
29-Sep-2025 20:47:32 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
29-Sep-2025 20:47:32 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
29-Sep-2025 20:47:32 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  4791 java        1768 bamboo-age 3197Mb  507Mb 00:06:56 /usr/lib/jvm/java-21-op
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1768 wrapper     1706 bamboo-age   88Mb    3Mb 00:01:22 /data/bamboo-agent/bin/
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1706 bamboo       828 bamboo-age    3Mb    1Mb 00:00:00 /bin/sh /data/bamboo-ag
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):   828 java           1 bamboo-age 4038Mb   37Mb 00:01:09 /usr/lib/jvm/java-21-op
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        163Mb   10Mb 00:00:10 /sbin/init             
29-Sep-2025 20:47:33 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Initial free space: 71.038536 GB
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/SMGT-STOC-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AUTH-AUTHUI-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AS-ASML-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REGAPP-REGAPP-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/QM-QUEUE-RTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AUM-AUM-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-BTJ24
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/CA-CA-RTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-BTJ17
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-BTJ11
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-RTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/META-META-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-BTJ8
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AS-ASML-BTJ8
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM2-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AU-AU1-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/SDK-SDKL-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REPREST-REPREST-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/BILL-BILL-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM227-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AU-AUL-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/ATT-ATT-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/QM-QUEUE-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP2-BTJ21
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-BTJ17
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OM-OM-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-RTMVN
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-BTJ8
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-BTJ21
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-BTJ8
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OWA-OWA-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-BTJ11
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP2-BTJ17
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/LU-LUL-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-BTJ11
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OCLM-OCLM-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/SXS-SXS-DTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/ATT-ATT-BTJ8
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP0-BTJ17
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REGAPP-REGAPP-RTM
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-BTJ11
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
29-Sep-2025 20:47:33 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
29-Sep-2025 20:47:34 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
29-Sep-2025 20:47:35 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
29-Sep-2025 20:47:35 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
29-Sep-2025 20:47:35 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
29-Sep-2025 20:47:35 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
29-Sep-2025 20:47:35 [PredatorPreBuildAction] Final free space: 71.05888 GB
29-Sep-2025 20:47:35 [PredatorPreBuildAction] Done
29-Sep-2025 20:47:35 Build Address Hierarchy - Address Hierarchy Module Latest - Build and Test JDK 21 #14 (ADDRHIER-AHML-JOB1-14) started building on agent 'yu.openmrs.org (2)' (Remote agent on host yu.openmrs.org)
29-Sep-2025 20:47:35 Starting task 'Build and test' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
29-Sep-2025 20:47:35
Beginning to execute external process for build 'Address Hierarchy - Address Hierarchy Module Latest - Build and Test JDK 21 #14 (ADDRHIER-AHML-JOB1-14)'
... running command line:
/data/bamboo-agent/temp/ADDRHIER-AHML-JOB1-14-ScriptBuildTask-557240764214512791.sh
... in: /data/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-JOB1
29-Sep-2025 20:47:35 + export IMAGE=maven:3.9.9-eclipse-temurin-21
29-Sep-2025 20:47:35 + IMAGE=maven:3.9.9-eclipse-temurin-21
29-Sep-2025 20:47:35 + docker pull maven:3.9.9-eclipse-temurin-21
29-Sep-2025 20:47:39 3.9.9-eclipse-temurin-21: Pulling from library/maven
29-Sep-2025 20:47:39 d9d352c11bbd: Pulling fs layer
29-Sep-2025 20:47:39 380ab39b4f9f: Pulling fs layer
29-Sep-2025 20:47:39 fdf9441e6ddd: Pulling fs layer
29-Sep-2025 20:47:39 14ea0157e6cf: Pulling fs layer
29-Sep-2025 20:47:39 99f05f209f6f: Pulling fs layer
29-Sep-2025 20:47:39 52fd01a09145: Pulling fs layer
29-Sep-2025 20:47:39 903243de14d5: Pulling fs layer
29-Sep-2025 20:47:39 100a2f749ec8: Pulling fs layer
29-Sep-2025 20:47:39 4f4fb700ef54: Pulling fs layer
29-Sep-2025 20:47:39 ac08ec036c80: Pulling fs layer
29-Sep-2025 20:47:39 14ea0157e6cf: Waiting
29-Sep-2025 20:47:39 99f05f209f6f: Waiting
29-Sep-2025 20:47:39 52fd01a09145: Waiting
29-Sep-2025 20:47:39 ac08ec036c80: Waiting
29-Sep-2025 20:47:39 903243de14d5: Waiting
29-Sep-2025 20:47:39 100a2f749ec8: Waiting
29-Sep-2025 20:47:39 4f4fb700ef54: Waiting
29-Sep-2025 20:47:40 380ab39b4f9f: Verifying Checksum
29-Sep-2025 20:47:40 380ab39b4f9f: Download complete
29-Sep-2025 20:47:40 d9d352c11bbd: Verifying Checksum
29-Sep-2025 20:47:40 d9d352c11bbd: Download complete
29-Sep-2025 20:47:40 14ea0157e6cf: Verifying Checksum
29-Sep-2025 20:47:40 14ea0157e6cf: Download complete
29-Sep-2025 20:47:40 99f05f209f6f: Verifying Checksum
29-Sep-2025 20:47:40 99f05f209f6f: Download complete
29-Sep-2025 20:47:41 903243de14d5: Verifying Checksum
29-Sep-2025 20:47:41 903243de14d5: Download complete
29-Sep-2025 20:47:41 52fd01a09145: Verifying Checksum
29-Sep-2025 20:47:41 52fd01a09145: Download complete
29-Sep-2025 20:47:41 100a2f749ec8: Verifying Checksum
29-Sep-2025 20:47:41 100a2f749ec8: Download complete
29-Sep-2025 20:47:41 4f4fb700ef54: Verifying Checksum
29-Sep-2025 20:47:41 4f4fb700ef54: Download complete
29-Sep-2025 20:47:41 ac08ec036c80: Verifying Checksum
29-Sep-2025 20:47:41 ac08ec036c80: Download complete
29-Sep-2025 20:47:42 fdf9441e6ddd: Verifying Checksum
29-Sep-2025 20:47:42 fdf9441e6ddd: Download complete
29-Sep-2025 20:47:42 d9d352c11bbd: Pull complete
29-Sep-2025 20:47:44 380ab39b4f9f: Pull complete
29-Sep-2025 20:47:47 fdf9441e6ddd: Pull complete
29-Sep-2025 20:47:47 14ea0157e6cf: Pull complete
29-Sep-2025 20:47:47 99f05f209f6f: Pull complete
29-Sep-2025 20:47:49 52fd01a09145: Pull complete
29-Sep-2025 20:47:49 903243de14d5: Pull complete
29-Sep-2025 20:47:49 100a2f749ec8: Pull complete
29-Sep-2025 20:47:49 4f4fb700ef54: Pull complete
29-Sep-2025 20:47:49 ac08ec036c80: Pull complete
29-Sep-2025 20:47:49 Digest: sha256:3a4ab3276a087bf276f79cae96b1af04f53731bec53fb2e651aca79e4b10211e
29-Sep-2025 20:47:49 Status: Downloaded newer image for maven:3.9.9-eclipse-temurin-21
29-Sep-2025 20:47:49 docker.io/library/maven:3.9.9-eclipse-temurin-21
29-Sep-2025 20:47:49 + docker run -v m2-repo:/root/.m2/repository -v /data/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-JOB1:/module --rm -w=/module maven:3.9.9-eclipse-temurin-21 bash -c 'mvn clean package && chmod -R 777 .'
29-Sep-2025 20:47:51 [INFO] Scanning for projects...
29-Sep-2025 20:47:52 [INFO] ------------------------------------------------------------------------
29-Sep-2025 20:47:52 [INFO] Reactor Build Order:
29-Sep-2025 20:47:52 [INFO]
29-Sep-2025 20:47:52 [INFO] Address Hierarchy                                                  [pom]
29-Sep-2025 20:47:52 [INFO] Address Hierarchy API                                              [jar]
29-Sep-2025 20:47:52 [INFO] Address Hierarchy OMOD                                             [jar]
29-Sep-2025 20:47:52 [INFO]
29-Sep-2025 20:47:52 [INFO] ----------------< org.openmrs.module:addresshierarchy >-----------------
29-Sep-2025 20:47:52 [INFO] Building Address Hierarchy 3.0.0-SNAPSHOT                          [1/3]
29-Sep-2025 20:47:52 [INFO]   from pom.xml
29-Sep-2025 20:47:52 [INFO] --------------------------------[ pom ]---------------------------------
29-Sep-2025 20:47:52 [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
29-Sep-2025 20:47:52 [INFO] Latest version of plugin org.apache.maven.plugins:maven-compiler-plugin failed compatibility check
29-Sep-2025 20:47:52 [INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-compiler-plugin
29-Sep-2025 20:47:52 [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
29-Sep-2025 20:47:52 [INFO] Selected plugin org.apache.maven.plugins:maven-compiler-plugin:3.14.1
29-Sep-2025 20:47:52 [INFO]
29-Sep-2025 20:47:52 [INFO] --- clean:3.2.0:clean (default-clean) @ addresshierarchy ---
29-Sep-2025 20:47:52 [INFO]
29-Sep-2025 20:47:52 [INFO] --------------< org.openmrs.module:addresshierarchy-api >---------------
29-Sep-2025 20:47:52 [INFO] Building Address Hierarchy API 3.0.0-SNAPSHOT                      [2/3]
29-Sep-2025 20:47:52 [INFO]   from api/pom.xml
29-Sep-2025 20:47:52 [INFO] --------------------------------[ jar ]---------------------------------
29-Sep-2025 20:47:53 [INFO]
29-Sep-2025 20:47:53 [INFO] --- clean:3.2.0:clean (default-clean) @ addresshierarchy-api ---
29-Sep-2025 20:47:53 [INFO]
29-Sep-2025 20:47:53 [INFO] --- resources:3.3.1:resources (default-resources) @ addresshierarchy-api ---
29-Sep-2025 20:47:53 [INFO] Copying 6 resources from src/main/resources to target/classes
29-Sep-2025 20:47:53 [INFO]
29-Sep-2025 20:47:53 [INFO] --- compiler:3.13.0:compile (default-compile) @ addresshierarchy-api ---
29-Sep-2025 20:47:53 [INFO] Recompiling the module because of changed source code.
29-Sep-2025 20:47:53 [INFO] Compiling 29 source files with javac [debug target 8] to target/classes
29-Sep-2025 20:47:56 [WARNING] bootstrap class path not set in conjunction with -source 8
29-Sep-2025 20:47:56 [WARNING] source value 8 is obsolete and will be removed in a future release
29-Sep-2025 20:47:56 [WARNING] target value 8 is obsolete and will be removed in a future release
29-Sep-2025 20:47:56 [WARNING] To suppress warnings about obsolete options, use -Xlint:-options.
29-Sep-2025 20:47:56 [INFO] Annotation processing is enabled because one or more processors were found
29-Sep-2025 20:47:56   on the class path. A future release of javac may disable annotation processing
29-Sep-2025 20:47:56   unless at least one processor is specified by name (-processor), or a search
29-Sep-2025 20:47:56   path is specified (--processor-path, --processor-module-path), or annotation
29-Sep-2025 20:47:56   processing is enabled explicitly (-proc:only, -proc:full).
29-Sep-2025 20:47:56   Use -Xlint:-options to suppress this message.
29-Sep-2025 20:47:56   Use -proc:none to disable annotation processing.
29-Sep-2025 20:47:56 [WARNING] /module/api/src/main/java/org/openmrs/module/addresshierarchy/db/hibernate/HibernateAddressHierarchyDAO.java:[513,93] non-varargs call of varargs method with inexact argument type for last parameter;
29-Sep-2025 20:47:56   cast to java.lang.Object for a varargs call
29-Sep-2025 20:47:56   cast to java.lang.Object[] for a non-varargs call and to suppress this warning
29-Sep-2025 20:47:56 [INFO] /module/api/src/main/java/org/openmrs/module/addresshierarchy/db/hibernate/HibernateAddressHierarchyDAO.java: Some input files use or override a deprecated API.
29-Sep-2025 20:47:56 [INFO] /module/api/src/main/java/org/openmrs/module/addresshierarchy/db/hibernate/HibernateAddressHierarchyDAO.java: Recompile with -Xlint:deprecation for details.
29-Sep-2025 20:47:56 [INFO] /module/api/src/main/java/org/openmrs/module/addresshierarchy/db/hibernate/HibernateAddressHierarchyDAO.java: /module/api/src/main/java/org/openmrs/module/addresshierarchy/db/hibernate/HibernateAddressHierarchyDAO.java uses unchecked or unsafe operations.
29-Sep-2025 20:47:56 [INFO] /module/api/src/main/java/org/openmrs/module/addresshierarchy/db/hibernate/HibernateAddressHierarchyDAO.java: Recompile with -Xlint:unchecked for details.
29-Sep-2025 20:47:56 [INFO]
29-Sep-2025 20:47:56 [INFO] --- resources:3.3.1:testResources (default-testResources) @ addresshierarchy-api ---
29-Sep-2025 20:47:56 [INFO] Copying 11 resources from src/test/resources to target/test-classes
29-Sep-2025 20:47:56 [INFO] Copying 5 resources from src/test/resources to target/test-classes
29-Sep-2025 20:47:56 [INFO] The encoding used to copy filtered properties files have not been set. This means that the same encoding will be used to copy filtered properties files as when copying other filtered resources. This might not be what you want! Run your build with --debug to see which files might be affected. Read more at https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html
29-Sep-2025 20:47:56 [INFO]
29-Sep-2025 20:47:56 [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ addresshierarchy-api ---
29-Sep-2025 20:47:56 [INFO] Recompiling the module because of changed dependency.
29-Sep-2025 20:47:56 [INFO] Compiling 11 source files with javac [debug target 8] to target/test-classes
29-Sep-2025 20:47:58 [WARNING] bootstrap class path not set in conjunction with -source 8
29-Sep-2025 20:47:58 [WARNING] source value 8 is obsolete and will be removed in a future release
29-Sep-2025 20:47:58 [WARNING] target value 8 is obsolete and will be removed in a future release
29-Sep-2025 20:47:58 [WARNING] To suppress warnings about obsolete options, use -Xlint:-options.
29-Sep-2025 20:47:58 [INFO] Annotation processing is enabled because one or more processors were found
29-Sep-2025 20:47:58   on the class path. A future release of javac may disable annotation processing
29-Sep-2025 20:47:58   unless at least one processor is specified by name (-processor), or a search
29-Sep-2025 20:47:58   path is specified (--processor-path, --processor-module-path), or annotation
29-Sep-2025 20:47:58   processing is enabled explicitly (-proc:only, -proc:full).
29-Sep-2025 20:47:58   Use -Xlint:-options to suppress this message.
29-Sep-2025 20:47:58   Use -proc:none to disable annotation processing.
29-Sep-2025 20:47:58 [WARNING] /module/api/src/test/java/org/openmrs/module/addresshierarchy/AddressHierarchyServiceTest.java:[766,37] Integer(int) in java.lang.Integer has been deprecated and marked for removal
29-Sep-2025 20:47:58 [WARNING] /module/api/src/test/java/org/openmrs/module/addresshierarchy/i18n/AddressHierarchyServiceI18nTest.java:[448,37] Integer(int) in java.lang.Integer has been deprecated and marked for removal
29-Sep-2025 20:47:58 [INFO] /module/api/src/test/java/org/openmrs/module/addresshierarchy/AddressHierarchyActivatorTest.java: Some input files use or override a deprecated API.
29-Sep-2025 20:47:58 [INFO] /module/api/src/test/java/org/openmrs/module/addresshierarchy/AddressHierarchyActivatorTest.java: Recompile with -Xlint:deprecation for details.
29-Sep-2025 20:47:58 [INFO]
29-Sep-2025 20:47:58 [INFO] --- surefire:2.22.1:test (default-test) @ addresshierarchy-api ---
29-Sep-2025 20:47:58 [INFO]
29-Sep-2025 20:47:58 [INFO] -------------------------------------------------------
29-Sep-2025 20:47:58 [INFO]  T E S T S
29-Sep-2025 20:47:58 [INFO] -------------------------------------------------------
29-Sep-2025 20:48:01 [INFO] Running org.openmrs.module.addresshierarchy.AddressHierarchyServiceTest
29-Sep-2025 20:48:25 [WARNING] Tests run: 44, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 24.019 s - in org.openmrs.module.addresshierarchy.AddressHierarchyServiceTest
29-Sep-2025 20:48:25 [INFO] Running org.openmrs.module.addresshierarchy.i18n.AddressValuesAOPInterceptorTest
29-Sep-2025 20:48:29 [ERROR] Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 3.832 s <<< FAILURE! - in org.openmrs.module.addresshierarchy.i18n.AddressValuesAOPInterceptorTest
29-Sep-2025 20:48:29 [ERROR] invoke_shouldLeaveAddressesUntouchedOutsideAddressHierarchy  Time elapsed: 0.109 s  <<< FAILURE!
29-Sep-2025 20:48:29 org.opentest4j.MultipleFailuresError:
29-Sep-2025 20:48:29 Multiple Failures (2 failures)
29-Sep-2025 20:48:29         java.awt.HeadlessException:
29-Sep-2025 20:48:29 No X11 DISPLAY variable was set,
29-Sep-2025 20:48:29 or no headful library support was found,
29-Sep-2025 20:48:29 but this program performed an operation which requires it,
29-Sep-2025 20:48:29
29-Sep-2025 20:48:29         java.lang.RuntimeException: Database out of sync with code: Anonymous role does not exist
29-Sep-2025 20:48:29
29-Sep-2025 20:48:29 [ERROR] invoke_shouldReturnL10nLocation  Time elapsed: 0.015 s  <<< FAILURE!
29-Sep-2025 20:48:29 org.opentest4j.MultipleFailuresError:
29-Sep-2025 20:48:29 Multiple Failures (2 failures)
29-Sep-2025 20:48:29         java.awt.HeadlessException:
29-Sep-2025 20:48:29 No X11 DISPLAY variable was set,
29-Sep-2025 20:48:29 or no headful library support was found,
29-Sep-2025 20:48:29 but this program performed an operation which requires it,
29-Sep-2025 20:48:29
29-Sep-2025 20:48:29         java.lang.RuntimeException: Database out of sync with code: Anonymous role does not exist
29-Sep-2025 20:48:29
29-Sep-2025 20:48:29 [ERROR] invoke_shouldReturnL10nPersonAddress  Time elapsed: 0.001 s  <<< FAILURE!
29-Sep-2025 20:48:29 org.opentest4j.MultipleFailuresError:
29-Sep-2025 20:48:29 Multiple Failures (2 failures)
29-Sep-2025 20:48:29         java.awt.HeadlessException:
29-Sep-2025 20:48:29 No X11 DISPLAY variable was set,
29-Sep-2025 20:48:29 or no headful library support was found,
29-Sep-2025 20:48:29 but this program performed an operation which requires it,
29-Sep-2025 20:48:29
29-Sep-2025 20:48:29         java.lang.RuntimeException: Database out of sync with code: Anonymous role does not exist
29-Sep-2025 20:48:29
29-Sep-2025 20:48:29 [INFO] Running org.openmrs.module.addresshierarchy.i18n.AddressValuesHibernateInterceptorTest
29-Sep-2025 20:48:36 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.783 s - in org.openmrs.module.addresshierarchy.i18n.AddressValuesHibernateInterceptorTest
29-Sep-2025 20:48:36 [INFO] Running org.openmrs.module.addresshierarchy.i18n.AddressHierarchyServiceI18nTest
29-Sep-2025 20:48:54 [INFO] Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.919 s - in org.openmrs.module.addresshierarchy.i18n.AddressHierarchyServiceI18nTest
29-Sep-2025 20:48:54 [INFO] Running org.openmrs.module.addresshierarchy.AddressHierarchyActivatorTest
29-Sep-2025 20:48:57 [WARNING] Tests run: 4, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 2.971 s - in org.openmrs.module.addresshierarchy.AddressHierarchyActivatorTest
29-Sep-2025 20:48:57 [INFO] Running org.openmrs.module.addresshierarchy.config.AddressConfigurationLoaderTest
29-Sep-2025 20:48:57 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 s - in org.openmrs.module.addresshierarchy.config.AddressConfigurationLoaderTest
29-Sep-2025 20:48:57 [INFO] Running org.openmrs.module.addresshierarchy.config.ConfigDirUtilTest
29-Sep-2025 20:48:57 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.openmrs.module.addresshierarchy.config.ConfigDirUtilTest
29-Sep-2025 20:48:57 [INFO] Running org.openmrs.module.addresshierarchy.AddressHierarchyMigrationTest
29-Sep-2025 20:49:00 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.844 s - in org.openmrs.module.addresshierarchy.AddressHierarchyMigrationTest
29-Sep-2025 20:49:00 [INFO] Running org.openmrs.module.addresshierarchy.AddressHierarchyImportUtilTest
29-Sep-2025 20:49:07 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.036 s - in org.openmrs.module.addresshierarchy.AddressHierarchyImportUtilTest
29-Sep-2025 20:49:07 [INFO] Running org.openmrs.module.addresshierarchy.AddressHierarchyUtilTest
29-Sep-2025 20:49:11 [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.287 s - in org.openmrs.module.addresshierarchy.AddressHierarchyUtilTest
29-Sep-2025 20:49:11 [INFO]
29-Sep-2025 20:49:11 [INFO] Results:
29-Sep-2025 20:49:11 [INFO]
29-Sep-2025 20:49:11 [ERROR] Failures:
29-Sep-2025 20:49:11 [ERROR]   AddressValuesAOPInterceptorTest.invoke_shouldLeaveAddressesUntouchedOutsideAddressHierarchy Multiple Failures (2 failures)
29-Sep-2025 20:49:11         java.awt.HeadlessException:
29-Sep-2025 20:49:11 No X11 DISPLAY variable was set,
29-Sep-2025 20:49:11 or no headful library support was found,
29-Sep-2025 20:49:11 but this program performed an operation which requires it,
29-Sep-2025 20:49:11
29-Sep-2025 20:49:11         java.lang.RuntimeException: Database out of sync with code: Anonymous role does not exist
29-Sep-2025 20:49:11 [ERROR]   AddressValuesAOPInterceptorTest.invoke_shouldReturnL10nLocation Multiple Failures (2 failures)
29-Sep-2025 20:49:11         java.awt.HeadlessException:
29-Sep-2025 20:49:11 No X11 DISPLAY variable was set,
29-Sep-2025 20:49:11 or no headful library support was found,
29-Sep-2025 20:49:11 but this program performed an operation which requires it,
29-Sep-2025 20:49:11
29-Sep-2025 20:49:11         java.lang.RuntimeException: Database out of sync with code: Anonymous role does not exist
29-Sep-2025 20:49:11 [ERROR]   AddressValuesAOPInterceptorTest.invoke_shouldReturnL10nPersonAddress Multiple Failures (2 failures)
29-Sep-2025 20:49:11         java.awt.HeadlessException:
29-Sep-2025 20:49:11 No X11 DISPLAY variable was set,
29-Sep-2025 20:49:11 or no headful library support was found,
29-Sep-2025 20:49:11 but this program performed an operation which requires it,
29-Sep-2025 20:49:11
29-Sep-2025 20:49:11         java.lang.RuntimeException: Database out of sync with code: Anonymous role does not exist
29-Sep-2025 20:49:11 [INFO]
29-Sep-2025 20:49:11 [ERROR] Tests run: 87, Failures: 3, Errors: 0, Skipped: 2
29-Sep-2025 20:49:11 [INFO]
29-Sep-2025 20:49:11 [INFO] ------------------------------------------------------------------------
29-Sep-2025 20:49:11 [INFO] Reactor Summary for Address Hierarchy 3.0.0-SNAPSHOT:
29-Sep-2025 20:49:11 [INFO]
29-Sep-2025 20:49:11 [INFO] Address Hierarchy .................................. SUCCESS [  0.211 s]
29-Sep-2025 20:49:11 [INFO] Address Hierarchy API .............................. FAILURE [01:19 min]
29-Sep-2025 20:49:11 [INFO] Address Hierarchy OMOD ............................. SKIPPED
29-Sep-2025 20:49:11 [INFO] ------------------------------------------------------------------------
29-Sep-2025 20:49:11 [INFO] BUILD FAILURE
29-Sep-2025 20:49:11 [INFO] ------------------------------------------------------------------------
29-Sep-2025 20:49:11 [INFO] Total time:  01:20 min
29-Sep-2025 20:49:11 [INFO] Finished at: 2025-09-29T20:49:11Z
29-Sep-2025 20:49:11 [INFO] ------------------------------------------------------------------------
29-Sep-2025 20:49:11 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project addresshierarchy-api: There are test failures.
29-Sep-2025 20:49:11 [ERROR]
29-Sep-2025 20:49:11 [ERROR] Please refer to /module/api/target/surefire-reports for the individual test results.
29-Sep-2025 20:49:11 [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
29-Sep-2025 20:49:11 [ERROR] -> [Help 1]
29-Sep-2025 20:49:11 [ERROR]
29-Sep-2025 20:49:11 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
29-Sep-2025 20:49:11 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
29-Sep-2025 20:49:11 [ERROR]
29-Sep-2025 20:49:11 [ERROR] For more information about the errors and possible solutions, please read the following articles:
29-Sep-2025 20:49:11 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
29-Sep-2025 20:49:11 [ERROR]
29-Sep-2025 20:49:11 [ERROR] After correcting the problems, you can resume the build with the command
29-Sep-2025 20:49:11 [ERROR]   mvn <args> -rf :addresshierarchy-api
29-Sep-2025 20:49:12 Failing task since return code of [/data/bamboo-agent/temp/ADDRHIER-AHML-JOB1-14-ScriptBuildTask-557240764214512791.sh] was 1 while expected 0
29-Sep-2025 20:49:12 Finished task 'Build and test' with result: Failed
29-Sep-2025 20:49:12 Running post build plugin 'Docker Container Cleanup'
29-Sep-2025 20:49:12 Running post build plugin 'NCover Results Collector'
29-Sep-2025 20:49:12 Running post build plugin 'Build Results Label Collector'
29-Sep-2025 20:49:12 Running post build plugin 'Clover Results Collector'
29-Sep-2025 20:49:12 Running post build plugin 'npm Cache Cleanup'
29-Sep-2025 20:49:12 Running post build plugin 'Artifact Copier'
29-Sep-2025 20:49:12 Finalising the build...
29-Sep-2025 20:49:12 Stopping timer.
29-Sep-2025 20:49:12 Build ADDRHIER-AHML-JOB1-14 completed.
29-Sep-2025 20:49:12 Running on server: post build plugin 'Build Hanging Detection Configuration'
29-Sep-2025 20:49:12 Running on server: post build plugin 'NCover Results Collector'
29-Sep-2025 20:49:12 Running on server: post build plugin 'Build Labeller'
29-Sep-2025 20:49:12 Running on server: post build plugin 'Clover Delta Calculator'
29-Sep-2025 20:49:12 Running on server: post build plugin 'Maven Dependencies Postprocessor'
29-Sep-2025 20:49:12 All post build plugins have finished
29-Sep-2025 20:49:12 Generating build results summary...
29-Sep-2025 20:49:12 Saving build results to disk...
29-Sep-2025 20:49:12 Store variable context...
29-Sep-2025 20:49:12 Finished building ADDRHIER-AHML-JOB1-14.