Build: #146 failed

Job: Build and Test JDK 8 failed

Stages & jobs

  1. Default Stage

  2. Deploy

  3. Release

    Requires a user to start manually

Build log

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

17-Nov-2025 20:32:00 Build Attachments - Attachments Module - Build and Test JDK 8 #146 (ATT-ATT-BTJ8-146) is being prepared for building on agent yu.openmrs.org, bamboo version: 11.0.2
17-Nov-2025 20:32:00 Remote agent on host yu.openmrs.org
17-Nov-2025 20:32:00 Build working directory is /data/bamboo-agent/xml-data/build-dir/ATT-ATT-BTJ8
17-Nov-2025 20:32:00 Executing build Attachments - Attachments Module - Build and Test JDK 8 #146 (ATT-ATT-BTJ8-146)
17-Nov-2025 20:32:00 Starting task 'Checkout default repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
17-Nov-2025 20:32:00 Checking out into /data/bamboo-agent/xml-data/build-dir/ATT-ATT-BTJ8
17-Nov-2025 20:32:00 Updating source code to revision: 8d5b4daedfbe33bd344c2f36e8672a45e0e1538b
17-Nov-2025 20:32:00 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/ATT-ATT-BTJ8/.git'.
17-Nov-2025 20:32:00 hint: Using 'master' as the name for the initial branch. This default branch name
17-Nov-2025 20:32:00 hint: is subject to change. To configure the initial branch name to use in all
17-Nov-2025 20:32:00 hint: of your new repositories, which will suppress this warning, call:
17-Nov-2025 20:32:00 hint:
17-Nov-2025 20:32:00 hint:         git config --global init.defaultBranch <name>
17-Nov-2025 20:32:00 hint:
17-Nov-2025 20:32:00 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
17-Nov-2025 20:32:00 hint: 'development'. The just-created branch can be renamed via this command:
17-Nov-2025 20:32:00 hint:
17-Nov-2025 20:32:00 hint:         git branch -m <name>
17-Nov-2025 20:32:00 Initialized empty Git repository in /data/bamboo-agent/xml-data/build-dir/ATT-ATT-BTJ8/.git/
17-Nov-2025 20:32:01 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-module-attachments.git Will try to do a shallow fetch.'.
17-Nov-2025 20:32:02 Checking out revision 8d5b4daedfbe33bd344c2f36e8672a45e0e1538b.
17-Nov-2025 20:32:02 Already on 'master'
17-Nov-2025 20:32:02 Updated source code to revision: 8d5b4daedfbe33bd344c2f36e8672a45e0e1538b
17-Nov-2025 20:32:02 Finished task 'Checkout default repository' with result: Success
17-Nov-2025 20:32:02 Running pre-build action: Build Log Labeller Pre Build Action
17-Nov-2025 20:32:02 Running pre-build action: VCS Version Collector
17-Nov-2025 20:32:02 Running pre-build action: Run Predator
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 27148 java        1689 bamboo-age 3181Mb  508Mb 00:25:39 /usr/lib/jvm/java-21-op
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1689 wrapper     1565 bamboo-age   88Mb    2Mb 00:07:36 /data/bamboo-agent/bin/
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1565 bamboo       825 bamboo-age    3Mb    1Mb 00:00:00 /bin/sh /data/bamboo-ag
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):   825 java           1 bamboo-age 4038Mb   62Mb 00:05:53 /usr/lib/jvm/java-21-op
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        163Mb    9Mb 00:00:24 /sbin/init             
17-Nov-2025 20:32:02 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Initial free space: 69.44585 GB
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/SXS-SXS-RTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/SMGT-STOC-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AUTH-AUTHUI-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-BTJ17
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AS-ASML-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-RTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-RM1-RTMVN
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REGAPP-REGAPP-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/QM-QUEUE-RTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AUM-AUM-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-BTJ24
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OP-OP28-BS
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/CA-CA-RTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-BTJ17
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-BTJ11
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/DM-DM-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-RTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/META-META-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-BTJ8
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AS-ASML-BTJ8
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM2-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AU-AU1-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/SDK-SDKL-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REPREST-REPREST-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM227-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AU-AUL-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/ATT-ATT-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/QM-QUEUE-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP2-BTJ21
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-BTJ17
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OM-OM-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-RTMVN
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-BTJ8
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-BTJ21
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/IDGEN-IDGEN-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-BTJ8
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OWA-OWA-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-BTJ11
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP2-BTJ17
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-JOB1
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/LU-LUL-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-RM1-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/ATT-ATT-RTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/BM-BMM-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-BTJ11
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OCLM-OCLM-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/SXS-SXS-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP0-BTJ17
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AUD-AUDL-DTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REGAPP-REGAPP-RTM
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-BTJ11
17-Nov-2025 20:32:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-RTM
17-Nov-2025 20:32:03 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository
17-Nov-2025 20:32:03 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
17-Nov-2025 20:32:03 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
17-Nov-2025 20:32:04 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
17-Nov-2025 20:32:04 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
17-Nov-2025 20:32:04 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
17-Nov-2025 20:32:04 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
17-Nov-2025 20:32:04 [PredatorPreBuildAction] Final free space: 69.44766 GB
17-Nov-2025 20:32:04 [PredatorPreBuildAction] Done
17-Nov-2025 20:32:04 Build Attachments - Attachments Module - Build and Test JDK 8 #146 (ATT-ATT-BTJ8-146) started building on agent 'yu.openmrs.org' (Remote agent on host yu.openmrs.org)
17-Nov-2025 20:32:04 Starting task 'Build and test' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
17-Nov-2025 20:32:04
Beginning to execute external process for build 'Attachments - Attachments Module - Build and Test JDK 8 #146 (ATT-ATT-BTJ8-146)'
... running command line:
/data/bamboo-agent/temp/ATT-ATT-BTJ8-146-ScriptBuildTask-7556473126096789473.sh
... in: /data/bamboo-agent/xml-data/build-dir/ATT-ATT-BTJ8
17-Nov-2025 20:32:04 + docker run -v m2-repo:/root/.m2/repository -v /data/bamboo-agent/xml-data/build-dir/ATT-ATT-BTJ8:/module --rm -w=/module maven:3.9.9-amazoncorretto-8 bash -c 'mvn clean package -B'
17-Nov-2025 20:32:04 Unable to find image 'maven:3.9.9-amazoncorretto-8' locally
17-Nov-2025 20:32:06 3.9.9-amazoncorretto-8: Pulling from library/maven
17-Nov-2025 20:32:07 c93eb42fc1cb: Pulling fs layer
17-Nov-2025 20:32:07 6edc54ec3599: Pulling fs layer
17-Nov-2025 20:32:07 cbe058925e52: Pulling fs layer
17-Nov-2025 20:32:07 07ecf17abb6a: Pulling fs layer
17-Nov-2025 20:32:07 a058b4210493: Pulling fs layer
17-Nov-2025 20:32:07 fa38e8bc34b4: Pulling fs layer
17-Nov-2025 20:32:07 4f4fb700ef54: Pulling fs layer
17-Nov-2025 20:32:07 f32aca46cbdf: Pulling fs layer
17-Nov-2025 20:32:07 07ecf17abb6a: Waiting
17-Nov-2025 20:32:07 a058b4210493: Waiting
17-Nov-2025 20:32:07 fa38e8bc34b4: Waiting
17-Nov-2025 20:32:07 4f4fb700ef54: Waiting
17-Nov-2025 20:32:07 f32aca46cbdf: Waiting
17-Nov-2025 20:32:10 c93eb42fc1cb: Verifying Checksum
17-Nov-2025 20:32:10 c93eb42fc1cb: Download complete
17-Nov-2025 20:32:10 6edc54ec3599: Verifying Checksum
17-Nov-2025 20:32:10 6edc54ec3599: Download complete
17-Nov-2025 20:32:11 a058b4210493: Verifying Checksum
17-Nov-2025 20:32:11 a058b4210493: Download complete
17-Nov-2025 20:32:12 07ecf17abb6a: Verifying Checksum
17-Nov-2025 20:32:12 07ecf17abb6a: Download complete
17-Nov-2025 20:32:12 fa38e8bc34b4: Verifying Checksum
17-Nov-2025 20:32:12 fa38e8bc34b4: Download complete
17-Nov-2025 20:32:12 4f4fb700ef54: Verifying Checksum
17-Nov-2025 20:32:12 4f4fb700ef54: Download complete
17-Nov-2025 20:32:13 cbe058925e52: Verifying Checksum
17-Nov-2025 20:32:13 cbe058925e52: Download complete
17-Nov-2025 20:32:13 f32aca46cbdf: Verifying Checksum
17-Nov-2025 20:32:13 f32aca46cbdf: Download complete
17-Nov-2025 20:32:14 c93eb42fc1cb: Pull complete
17-Nov-2025 20:32:16 6edc54ec3599: Pull complete
17-Nov-2025 20:32:20 cbe058925e52: Pull complete
17-Nov-2025 20:32:21 07ecf17abb6a: Pull complete
17-Nov-2025 20:32:22 a058b4210493: Pull complete
17-Nov-2025 20:32:22 fa38e8bc34b4: Pull complete
17-Nov-2025 20:32:22 4f4fb700ef54: Pull complete
17-Nov-2025 20:32:22 f32aca46cbdf: Pull complete
17-Nov-2025 20:32:22 Digest: sha256:1f67afafc8ff766a0ba4b0fa389054cf57083ed4a067a3c6a2126e9ddeb927f8
17-Nov-2025 20:32:22 Status: Downloaded newer image for maven:3.9.9-amazoncorretto-8
17-Nov-2025 20:32:23 [INFO] Scanning for projects...
17-Nov-2025 20:32:24 [INFO] ------------------------------------------------------------------------
17-Nov-2025 20:32:24 [INFO] Reactor Build Order:
17-Nov-2025 20:32:24 [INFO]
17-Nov-2025 20:32:24 [INFO] Attachments                                                        [pom]
17-Nov-2025 20:32:24 [INFO] Attachments API                                                    [jar]
17-Nov-2025 20:32:24 [INFO] Attachments OMOD                                                   [jar]
17-Nov-2025 20:32:24 [INFO]
17-Nov-2025 20:32:24 [INFO] -------------------< org.openmrs.module:attachments >-------------------
17-Nov-2025 20:32:24 [INFO] Building Attachments 4.0.0-SNAPSHOT                                [1/3]
17-Nov-2025 20:32:24 [INFO]   from pom.xml
17-Nov-2025 20:32:24 [INFO] --------------------------------[ pom ]---------------------------------
17-Nov-2025 20:32:24 [WARNING] Ignoring incompatible plugin version 4.0.0-beta-3: The plugin org.apache.maven.plugins:maven-compiler-plugin:4.0.0-beta-3 requires Maven version 4.0.0-rc-4
17-Nov-2025 20:32:24 [INFO] Latest version of plugin org.apache.maven.plugins:maven-compiler-plugin failed compatibility check
17-Nov-2025 20:32:24 [INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-compiler-plugin
17-Nov-2025 20:32:24 [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
17-Nov-2025 20:32:24 [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
17-Nov-2025 20:32:24 [INFO] Selected plugin org.apache.maven.plugins:maven-compiler-plugin:3.14.1
17-Nov-2025 20:32:25 [INFO]
17-Nov-2025 20:32:25 [INFO] --- clean:3.2.0:clean (default-clean) @ attachments ---
17-Nov-2025 20:32:25 [INFO] Deleting /module/target
17-Nov-2025 20:32:25 [INFO]
17-Nov-2025 20:32:25 [INFO] --- formatter:2.7.1:format (default) @ attachments ---
17-Nov-2025 20:32:25 [INFO] Using 'UTF-8' encoding to format source files.
17-Nov-2025 20:32:25 [INFO] Number of files to be formatted: 34
17-Nov-2025 20:32:27 [INFO] Successfully formatted:          1 file(s)
17-Nov-2025 20:32:27 [INFO] Fail to format:                  0 file(s)
17-Nov-2025 20:32:27 [INFO] Skipped:                         33 file(s)
17-Nov-2025 20:32:27 [INFO] Read only skipped:               0 file(s)
17-Nov-2025 20:32:27 [INFO] Approximate time taken:          1s
17-Nov-2025 20:32:27 [INFO]
17-Nov-2025 20:32:27 [INFO] --- javadoc:3.11.2:jar (attach-javadocs) @ attachments ---
17-Nov-2025 20:32:27 [INFO] Not executing Javadoc as the project is not a Java classpath-capable package
17-Nov-2025 20:32:27 [INFO]
17-Nov-2025 20:32:27 [INFO] -----------------< org.openmrs.module:attachments-api >-----------------
17-Nov-2025 20:32:27 [INFO] Building Attachments API 4.0.0-SNAPSHOT                            [2/3]
17-Nov-2025 20:32:27 [INFO]   from api/pom.xml
17-Nov-2025 20:32:27 [INFO] --------------------------------[ jar ]---------------------------------
17-Nov-2025 20:32:27 [INFO]
17-Nov-2025 20:32:27 [INFO] --- clean:3.2.0:clean (default-clean) @ attachments-api ---
17-Nov-2025 20:32:27 [INFO] Deleting /module/api/target
17-Nov-2025 20:32:27 [INFO]
17-Nov-2025 20:32:27 [INFO] --- resources:3.3.1:resources (default-resources) @ attachments-api ---
17-Nov-2025 20:32:28 [INFO] Copying 6 resources from src/main/resources to target/classes
17-Nov-2025 20:32:28 [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
17-Nov-2025 20:32:28 [INFO]
17-Nov-2025 20:32:28 [INFO] --- compiler:3.13.0:compile (default-compile) @ attachments-api ---
17-Nov-2025 20:32:28 [INFO] Recompiling the module because of changed source code.
17-Nov-2025 20:32:28 [INFO] Compiling 20 source files with javac [debug target 8] to target/classes
17-Nov-2025 20:32:30 [INFO] /module/api/src/main/java/org/openmrs/module/attachments/AttachmentsContext.java: Some input files use or override a deprecated API.
17-Nov-2025 20:32:30 [INFO] /module/api/src/main/java/org/openmrs/module/attachments/AttachmentsContext.java: Recompile with -Xlint:deprecation for details.
17-Nov-2025 20:32:30 [INFO]
17-Nov-2025 20:32:30 [INFO] --- formatter:2.7.1:format (default) @ attachments-api ---
17-Nov-2025 20:32:30 [INFO] Using 'UTF-8' encoding to format source files.
17-Nov-2025 20:32:30 [INFO] Number of files to be formatted: 24
17-Nov-2025 20:32:30 [INFO] Successfully formatted:          0 file(s)
17-Nov-2025 20:32:30 [INFO] Fail to format:                  0 file(s)
17-Nov-2025 20:32:30 [INFO] Skipped:                         24 file(s)
17-Nov-2025 20:32:30 [INFO] Read only skipped:               0 file(s)
17-Nov-2025 20:32:30 [INFO] Approximate time taken:          0s
17-Nov-2025 20:32:30 [INFO]
17-Nov-2025 20:32:30 [INFO] --- resources:3.3.1:testResources (default-testResources) @ attachments-api ---
17-Nov-2025 20:32:30 [INFO] Copying 6 resources from src/test/resources to target/test-classes
17-Nov-2025 20:32:30 [INFO]
17-Nov-2025 20:32:30 [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ attachments-api ---
17-Nov-2025 20:32:30 [INFO] Recompiling the module because of changed dependency.
17-Nov-2025 20:32:30 [INFO] Compiling 4 source files with javac [debug target 8] to target/test-classes
17-Nov-2025 20:32:30 [INFO] /module/api/src/test/java/org/openmrs/module/attachments/AttachmentsContextTest.java: Some input files use or override a deprecated API.
17-Nov-2025 20:32:30 [INFO] /module/api/src/test/java/org/openmrs/module/attachments/AttachmentsContextTest.java: Recompile with -Xlint:deprecation for details.
17-Nov-2025 20:32:30 [INFO]
17-Nov-2025 20:32:30 [INFO] --- surefire:3.2.5:test (default-test) @ attachments-api ---
17-Nov-2025 20:32:30 [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
17-Nov-2025 20:32:31 [INFO]
17-Nov-2025 20:32:31 [INFO] -------------------------------------------------------
17-Nov-2025 20:32:31 [INFO]  T E S T S
17-Nov-2025 20:32:31 [INFO] -------------------------------------------------------
17-Nov-2025 20:32:33 [INFO] Running org.openmrs.module.attachments.AttachmentsContextTest
17-Nov-2025 20:32:34 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.756 s -- in org.openmrs.module.attachments.AttachmentsContextTest
17-Nov-2025 20:32:34 [INFO] Running org.openmrs.module.attachments.obs.ValueComplexTest
17-Nov-2025 20:32:34 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 s -- in org.openmrs.module.attachments.obs.ValueComplexTest
17-Nov-2025 20:32:34 [INFO] Running org.openmrs.module.attachments.obs.ImageAttachmentHandlerTest
17-Nov-2025 20:32:35 INFO - StorageServiceCondition.matches(38) |2025-11-17T20:32:35,208| Selected storage type: local
17-Nov-2025 20:32:35 INFO - StorageServiceCondition.matches(38) |2025-11-17T20:32:35,882| Selected storage type: local
17-Nov-2025 20:32:35 INFO - StorageServiceCondition.matches(38) |2025-11-17T20:32:35,914| Selected storage type: local
17-Nov-2025 20:32:40 WARN - JbossMarshallingModule.cacheManagerStarting(30) |2025-11-17T20:32:40,275| ISPN000554: jboss-marshalling is deprecated and planned for removal
17-Nov-2025 20:32:45 WARN - JbossMarshallingModule.cacheManagerStarting(30) |2025-11-17T20:32:45,197| ISPN000554: jboss-marshalling is deprecated and planned for removal
17-Nov-2025 20:32:51 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:32:51,522| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:32:52 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:32:52,450| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:32:53 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:32:53,022| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:32:53 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:32:53,610| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:32:53 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:32:53,844| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:32:54 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:32:54,021| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:32:54 [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.00 s -- in org.openmrs.module.attachments.obs.ImageAttachmentHandlerTest
17-Nov-2025 20:32:54 [INFO]
17-Nov-2025 20:32:54 [INFO] Results:
17-Nov-2025 20:32:54 [INFO]
17-Nov-2025 20:32:54 [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0
17-Nov-2025 20:32:54 [INFO]
17-Nov-2025 20:32:54 [INFO]
17-Nov-2025 20:32:54 [INFO] --- jar:2.2:jar (default-jar) @ attachments-api ---
17-Nov-2025 20:32:54 [INFO] Building jar: /module/api/target/attachments-api-4.0.0-SNAPSHOT.jar
17-Nov-2025 20:32:54 [INFO]
17-Nov-2025 20:32:54 [INFO] --- javadoc:3.11.2:jar (attach-javadocs) @ attachments-api ---
17-Nov-2025 20:32:54 [INFO] No previous run data found, generating javadoc.
17-Nov-2025 20:32:56 [INFO]
17-Nov-2025 20:32:56 Loading source files for package org.openmrs.module.attachments...
17-Nov-2025 20:32:56 Loading source files for package org.openmrs.module.attachments.obs...
17-Nov-2025 20:32:56 Constructing Javadoc information...
17-Nov-2025 20:32:56 Standard Doclet version 1.8.0_452
17-Nov-2025 20:32:56 Building tree for all the packages and classes...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/AttachmentsActivator.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/AttachmentsConstants.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/AttachmentsConstants.ContentFamily.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/AttachmentsContext.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/AttachmentsService.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/AttachmentsServiceImpl.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/ComplexObsSaver.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/VisitCompatibility.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/VisitCompatibilityImpl.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/AbstractAttachmentHandler.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/Attachment.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/AttachmentComplexData.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/AttachmentComplexDataImpl.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/BaseComplexData.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/ComplexDataHelper.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/ComplexDataHelperImpl.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/ComplexViewHelper.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/ComplexViewHelperImpl.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/DefaultAttachmentHandler.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/ImageAttachmentHandler.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/ValueComplex.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/overview-frame.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/package-frame.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/package-summary.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/package-tree.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/package-frame.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/package-summary.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/package-tree.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/constant-values.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/serialized-form.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/class-use/AttachmentsServiceImpl.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/class-use/AttachmentsService.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/class-use/AttachmentsContext.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/class-use/AttachmentsActivator.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/class-use/VisitCompatibility.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/class-use/VisitCompatibilityImpl.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/class-use/AttachmentsConstants.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/class-use/AttachmentsConstants.ContentFamily.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/class-use/ComplexObsSaver.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/class-use/AttachmentComplexDataImpl.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/class-use/BaseComplexData.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/class-use/ValueComplex.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/class-use/AbstractAttachmentHandler.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/class-use/ComplexDataHelperImpl.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/class-use/ComplexViewHelper.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/class-use/DefaultAttachmentHandler.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/class-use/ImageAttachmentHandler.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/class-use/Attachment.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/class-use/AttachmentComplexData.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/class-use/ComplexDataHelper.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/class-use/ComplexViewHelperImpl.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/package-use.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/org/openmrs/module/attachments/obs/package-use.html...
17-Nov-2025 20:32:56 Building index for all the packages and classes...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/overview-tree.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/index-all.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/deprecated-list.html...
17-Nov-2025 20:32:56 Building index for all classes...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/allclasses-frame.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/allclasses-noframe.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/index.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/overview-summary.html...
17-Nov-2025 20:32:56 Generating /module/api/target/reports/apidocs/help-doc.html...
17-Nov-2025 20:32:56 2 warnings
17-Nov-2025 20:32:56 [WARNING] Javadoc Warnings
17-Nov-2025 20:32:56 [WARNING] /module/api/src/main/java/org/openmrs/module/attachments/obs/AbstractAttachmentHandler.java:24: warning - Tag @link: can't find setParentComplexObsHandler() in org.openmrs.module.attachments.obs.AbstractAttachmentHandler
17-Nov-2025 20:32:56 [WARNING] /module/api/src/main/java/org/openmrs/module/attachments/obs/ImageAttachmentHandler.java:108: warning - @return tag cannot be used in method with void return type.
17-Nov-2025 20:32:56 [INFO] Building jar: /module/api/target/attachments-api-4.0.0-SNAPSHOT-javadoc.jar
17-Nov-2025 20:32:56 [INFO]
17-Nov-2025 20:32:56 [INFO] --- jar:2.2:test-jar (default) @ attachments-api ---
17-Nov-2025 20:32:56 [INFO] Building jar: /module/api/target/attachments-api-4.0.0-SNAPSHOT-tests.jar
17-Nov-2025 20:32:56 [INFO]
17-Nov-2025 20:32:56 [INFO] ----------------< org.openmrs.module:attachments-omod >-----------------
17-Nov-2025 20:32:56 [INFO] Building Attachments OMOD 4.0.0-SNAPSHOT                           [3/3]
17-Nov-2025 20:32:56 [INFO]   from omod/pom.xml
17-Nov-2025 20:32:56 [INFO] --------------------------------[ jar ]---------------------------------
17-Nov-2025 20:32:56 [INFO]
17-Nov-2025 20:32:56 [INFO] --- clean:3.2.0:clean (default-clean) @ attachments-omod ---
17-Nov-2025 20:32:56 [INFO] Deleting /module/omod/target
17-Nov-2025 20:32:56 [INFO]
17-Nov-2025 20:32:56 [INFO] --- openmrs:1.0.1:initialize-module (init) @ attachments-omod ---
17-Nov-2025 20:32:56 [INFO]
17-Nov-2025 20:32:56 [INFO] --- dependency:3.8.1:unpack-dependencies (Expand moduleApplicationContext and messages) @ attachments-omod ---
17-Nov-2025 20:32:57 [INFO]
17-Nov-2025 20:32:57 [INFO] --- resources:3.3.1:resources (default-resources) @ attachments-omod ---
17-Nov-2025 20:32:57 [INFO] Copying 2 resources from src/main/resources to target/classes
17-Nov-2025 20:32:57 [INFO] Copying 3 resources from src/main/webapp to target/classes/web/module
17-Nov-2025 20:32:57 [INFO] Copying 0 resource from src/main/webapp to target/classes/web/module
17-Nov-2025 20:32:57 [INFO] Copying 3 resources from src/main/webapp to target/classes/web/module
17-Nov-2025 20:32:57 [INFO]
17-Nov-2025 20:32:57 [INFO] --- compiler:3.13.0:compile (default-compile) @ attachments-omod ---
17-Nov-2025 20:32:57 [INFO] Recompiling the module because of changed dependency.
17-Nov-2025 20:32:57 [INFO] Compiling 3 source files with javac [debug target 8] to target/classes
17-Nov-2025 20:32:57 [INFO] /module/omod/src/main/java/org/openmrs/module/attachments/rest/AttachmentBytesResource.java: /module/omod/src/main/java/org/openmrs/module/attachments/rest/AttachmentBytesResource.java uses or overrides a deprecated API.
17-Nov-2025 20:32:57 [INFO] /module/omod/src/main/java/org/openmrs/module/attachments/rest/AttachmentBytesResource.java: Recompile with -Xlint:deprecation for details.
17-Nov-2025 20:32:57 [INFO]
17-Nov-2025 20:32:57 [INFO] --- formatter:2.7.1:format (default) @ attachments-omod ---
17-Nov-2025 20:32:57 [INFO] Using 'UTF-8' encoding to format source files.
17-Nov-2025 20:32:57 [INFO] Number of files to be formatted: 9
17-Nov-2025 20:32:59 [INFO] Successfully formatted:          0 file(s)
17-Nov-2025 20:32:59 [INFO] Fail to format:                  0 file(s)
17-Nov-2025 20:32:59 [INFO] Skipped:                         9 file(s)
17-Nov-2025 20:32:59 [INFO] Read only skipped:               0 file(s)
17-Nov-2025 20:32:59 [INFO] Approximate time taken:          1s
17-Nov-2025 20:32:59 [INFO]
17-Nov-2025 20:32:59 [INFO] --- resources:3.3.1:testResources (default-testResources) @ attachments-omod ---
17-Nov-2025 20:32:59 [INFO] skip non existing resourceDirectory /module/omod/src/test/resources
17-Nov-2025 20:32:59 [INFO]
17-Nov-2025 20:32:59 [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ attachments-omod ---
17-Nov-2025 20:32:59 [INFO] Recompiling the module because of changed dependency.
17-Nov-2025 20:32:59 [INFO] Compiling 4 source files with javac [debug target 8] to target/test-classes
17-Nov-2025 20:32:59 [INFO] /module/omod/src/test/java/org/openmrs/module/attachments/rest/AttachmentResourceTest.java: Some input files use or override a deprecated API.
17-Nov-2025 20:32:59 [INFO] /module/omod/src/test/java/org/openmrs/module/attachments/rest/AttachmentResourceTest.java: Recompile with -Xlint:deprecation for details.
17-Nov-2025 20:32:59 [INFO] /module/omod/src/test/java/org/openmrs/module/attachments/rest/AttachmentRestControllerTest.java: /module/omod/src/test/java/org/openmrs/module/attachments/rest/AttachmentRestControllerTest.java uses unchecked or unsafe operations.
17-Nov-2025 20:32:59 [INFO] /module/omod/src/test/java/org/openmrs/module/attachments/rest/AttachmentRestControllerTest.java: Recompile with -Xlint:unchecked for details.
17-Nov-2025 20:32:59 [INFO]
17-Nov-2025 20:32:59 [INFO] --- surefire:3.2.5:test (default-test) @ attachments-omod ---
17-Nov-2025 20:32:59 [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
17-Nov-2025 20:32:59 [INFO]
17-Nov-2025 20:32:59 [INFO] -------------------------------------------------------
17-Nov-2025 20:32:59 [INFO]  T E S T S
17-Nov-2025 20:32:59 [INFO] -------------------------------------------------------
17-Nov-2025 20:33:02 [INFO] Running org.openmrs.module.attachments.rest.AttachmentResourceIntegrationTest
17-Nov-2025 20:33:03 INFO - StorageServiceCondition.matches(38) |2025-11-17T20:33:03,288| Selected storage type: local
17-Nov-2025 20:33:04 INFO - StorageServiceCondition.matches(38) |2025-11-17T20:33:04,398| Selected storage type: local
17-Nov-2025 20:33:04 INFO - StorageServiceCondition.matches(38) |2025-11-17T20:33:04,415| Selected storage type: local
17-Nov-2025 20:33:09 WARN - JbossMarshallingModule.cacheManagerStarting(30) |2025-11-17T20:33:09,110| ISPN000554: jboss-marshalling is deprecated and planned for removal
17-Nov-2025 20:33:13 WARN - JbossMarshallingModule.cacheManagerStarting(30) |2025-11-17T20:33:13,172| ISPN000554: jboss-marshalling is deprecated and planned for removal
17-Nov-2025 20:33:19 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:33:19,809| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:33:22 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:33:22,691| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:33:23 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:33:23,195| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:33:23 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.46 s -- in org.openmrs.module.attachments.rest.AttachmentResourceIntegrationTest
17-Nov-2025 20:33:23 [INFO] Running org.openmrs.module.attachments.rest.AttachmentResourceTest
17-Nov-2025 20:33:23 [WARNING] Tests run: 6, Failures: 0, Errors: 0, Skipped: 6, Time elapsed: 0 s -- in org.openmrs.module.attachments.rest.AttachmentResourceTest
17-Nov-2025 20:33:23 [INFO] Running org.openmrs.module.attachments.rest.ObsByConceptListSearchHandlerTest
17-Nov-2025 20:33:25 [ERROR] Tests run: 9, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 1.947 s <<< FAILURE! -- in org.openmrs.module.attachments.rest.ObsByConceptListSearchHandlerTest
17-Nov-2025 20:33:25 [ERROR] org.openmrs.module.attachments.rest.ObsByConceptListSearchHandlerTest.search_shouldIgnoreNonExisitingConcept -- Time elapsed: 0.105 s <<< FAILURE!
17-Nov-2025 20:33:25 java.lang.AssertionError: expected:<3> but was:<9>
17-Nov-2025 20:33:25         at org.junit.Assert.fail(Assert.java:89)
17-Nov-2025 20:33:25         at org.junit.Assert.failNotEquals(Assert.java:835)
17-Nov-2025 20:33:25         at org.junit.Assert.assertEquals(Assert.java:647)
17-Nov-2025 20:33:25         at org.junit.Assert.assertEquals(Assert.java:633)
17-Nov-2025 20:33:25         at org.openmrs.module.attachments.rest.ObsByConceptListSearchHandlerTest.search_shouldIgnoreNonExisitingConcept(ObsByConceptListSearchHandlerTest.java:88)
17-Nov-2025 20:33:25         at java.lang.reflect.Method.invoke(Method.java:498)
17-Nov-2025 20:33:25         at org.springframework.test.context.junit4.statements.RunBeforeTestExecutionCallbacks.evaluate(RunBeforeTestExecutionCallbacks.java:74)
17-Nov-2025 20:33:25         at org.springframework.test.context.junit4.statements.RunAfterTestExecutionCallbacks.evaluate(RunAfterTestExecutionCallbacks.java:84)
17-Nov-2025 20:33:25         at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
17-Nov-2025 20:33:25         at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
17-Nov-2025 20:33:25         at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
17-Nov-2025 20:33:25         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:251)
17-Nov-2025 20:33:25         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)
17-Nov-2025 20:33:25         at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
17-Nov-2025 20:33:25         at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
17-Nov-2025 20:33:25         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)
17-Nov-2025 20:33:25
17-Nov-2025 20:33:25 [ERROR] org.openmrs.module.attachments.rest.ObsByConceptListSearchHandlerTest.search_shouldReturnObsByPatientAndConceptList -- Time elapsed: 0.170 s <<< FAILURE!
17-Nov-2025 20:33:25 java.lang.AssertionError: expected:<6> but was:<9>
17-Nov-2025 20:33:25         at org.junit.Assert.fail(Assert.java:89)
17-Nov-2025 20:33:25         at org.junit.Assert.failNotEquals(Assert.java:835)
17-Nov-2025 20:33:25         at org.junit.Assert.assertEquals(Assert.java:647)
17-Nov-2025 20:33:25         at org.junit.Assert.assertEquals(Assert.java:633)
17-Nov-2025 20:33:25         at org.openmrs.module.attachments.rest.ObsByConceptListSearchHandlerTest.search_shouldReturnObsByPatientAndConceptList(ObsByConceptListSearchHandlerTest.java:62)
17-Nov-2025 20:33:25         at java.lang.reflect.Method.invoke(Method.java:498)
17-Nov-2025 20:33:25         at org.springframework.test.context.junit4.statements.RunBeforeTestExecutionCallbacks.evaluate(RunBeforeTestExecutionCallbacks.java:74)
17-Nov-2025 20:33:25         at org.springframework.test.context.junit4.statements.RunAfterTestExecutionCallbacks.evaluate(RunAfterTestExecutionCallbacks.java:84)
17-Nov-2025 20:33:25         at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
17-Nov-2025 20:33:25         at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
17-Nov-2025 20:33:25         at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
17-Nov-2025 20:33:25         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:251)
17-Nov-2025 20:33:25         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)
17-Nov-2025 20:33:25         at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
17-Nov-2025 20:33:25         at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
17-Nov-2025 20:33:25         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)
17-Nov-2025 20:33:25
17-Nov-2025 20:33:25 [INFO] Running org.openmrs.module.attachments.rest.AttachmentRestControllerTest
17-Nov-2025 20:33:25 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:33:25,585| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:33:25 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:33:25,894| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:33:26 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:33:26,150| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:33:26 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:33:26,241| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:33:26 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:33:26,410| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:33:26 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:33:26,594| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:33:26 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:33:26,782| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:33:27 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:33:26,960| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:33:27 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:33:27,123| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:33:27 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:33:27,385| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:33:27 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:33:27,635| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:33:27 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:33:27,822| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:33:28 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:33:27,995| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:33:28 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:33:28,110| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:33:28 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:33:28,306| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:33:28 testFile2.png
17-Nov-2025 20:33:28 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:33:28,685| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:33:28 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:33:28,823| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:33:28 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:33:28,931| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:33:29 WARN - HibernateConceptDAO.getConceptByName(2000) |2025-11-17T20:33:29,102| No concept found for 'OutOfAttachmentsTestComplex'
17-Nov-2025 20:33:29 [INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.718 s -- in org.openmrs.module.attachments.rest.AttachmentRestControllerTest
17-Nov-2025 20:33:29 [INFO]
17-Nov-2025 20:33:29 [INFO] Results:
17-Nov-2025 20:33:29 [INFO]
17-Nov-2025 20:33:29 [ERROR] Failures:
17-Nov-2025 20:33:29 [ERROR]   ObsByConceptListSearchHandlerTest.search_shouldIgnoreNonExisitingConcept:88 expected:<3> but was:<9>
17-Nov-2025 20:33:29 [ERROR]   ObsByConceptListSearchHandlerTest.search_shouldReturnObsByPatientAndConceptList:62 expected:<6> but was:<9>
17-Nov-2025 20:33:29 [INFO]
17-Nov-2025 20:33:29 [ERROR] Tests run: 37, Failures: 2, Errors: 0, Skipped: 6
17-Nov-2025 20:33:29 [INFO]
17-Nov-2025 20:33:29 [INFO] ------------------------------------------------------------------------
17-Nov-2025 20:33:29 [INFO] Reactor Summary for Attachments 4.0.0-SNAPSHOT:
17-Nov-2025 20:33:29 [INFO]
17-Nov-2025 20:33:29 [INFO] Attachments ........................................ SUCCESS [  3.589 s]
17-Nov-2025 20:33:29 [INFO] Attachments API .................................... SUCCESS [ 28.504 s]
17-Nov-2025 20:33:29 [INFO] Attachments OMOD ................................... FAILURE [ 33.196 s]
17-Nov-2025 20:33:29 [INFO] ------------------------------------------------------------------------
17-Nov-2025 20:33:29 [INFO] BUILD FAILURE
17-Nov-2025 20:33:29 [INFO] ------------------------------------------------------------------------
17-Nov-2025 20:33:29 [INFO] Total time:  01:05 min
17-Nov-2025 20:33:29 [INFO] Finished at: 2025-11-17T20:33:29Z
17-Nov-2025 20:33:29 [INFO] ------------------------------------------------------------------------
17-Nov-2025 20:33:29 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test (default-test) on project attachments-omod: There are test failures.
17-Nov-2025 20:33:29 [ERROR]
17-Nov-2025 20:33:29 [ERROR] Please refer to /module/omod/target/surefire-reports for the individual test results.
17-Nov-2025 20:33:29 [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
17-Nov-2025 20:33:29 [ERROR] -> [Help 1]
17-Nov-2025 20:33:29 [ERROR]
17-Nov-2025 20:33:29 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
17-Nov-2025 20:33:29 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
17-Nov-2025 20:33:29 [ERROR]
17-Nov-2025 20:33:29 [ERROR] For more information about the errors and possible solutions, please read the following articles:
17-Nov-2025 20:33:29 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
17-Nov-2025 20:33:29 [ERROR]
17-Nov-2025 20:33:29 [ERROR] After correcting the problems, you can resume the build with the command
17-Nov-2025 20:33:29 [ERROR]   mvn <args> -rf :attachments-omod
17-Nov-2025 20:33:29 Failing task since return code of [/data/bamboo-agent/temp/ATT-ATT-BTJ8-146-ScriptBuildTask-7556473126096789473.sh] was 1 while expected 0
17-Nov-2025 20:33:29 Finished task 'Build and test' with result: Failed
17-Nov-2025 20:33:29 Running post build plugin 'Docker Container Cleanup'
17-Nov-2025 20:33:29 Running post build plugin 'NCover Results Collector'
17-Nov-2025 20:33:29 Running post build plugin 'Build Results Label Collector'
17-Nov-2025 20:33:29 Running post build plugin 'Clover Results Collector'
17-Nov-2025 20:33:29 Running post build plugin 'npm Cache Cleanup'
17-Nov-2025 20:33:29 Running post build plugin 'Artifact Copier'
17-Nov-2025 20:33:29 Finalising the build...
17-Nov-2025 20:33:29 Stopping timer.
17-Nov-2025 20:33:29 Build ATT-ATT-BTJ8-146 completed.
17-Nov-2025 20:33:29 Running on server: post build plugin 'Build Hanging Detection Configuration'
17-Nov-2025 20:33:29 Running on server: post build plugin 'NCover Results Collector'
17-Nov-2025 20:33:29 Running on server: post build plugin 'Build Labeller'
17-Nov-2025 20:33:29 Running on server: post build plugin 'Clover Delta Calculator'
17-Nov-2025 20:33:29 Running on server: post build plugin 'Maven Dependencies Postprocessor'
17-Nov-2025 20:33:29 All post build plugins have finished
17-Nov-2025 20:33:29 Generating build results summary...
17-Nov-2025 20:33:29 Saving build results to disk...
17-Nov-2025 20:33:29 Store variable context...
17-Nov-2025 20:33:29 Finished building ATT-ATT-BTJ8-146.