simple 06-Aug-2025 15:12:55 Build Stock Management - Stock Management - Build and Test JDK 8 #29 (SMGT-STOC-BTJ8-29) is being prepared for building on agent xiao.openmrs.org (2), bamboo version: 11.0.2 simple 06-Aug-2025 15:12:55 Remote agent on host xiao.openmrs.org simple 06-Aug-2025 15:12:55 Build working directory is /data/bamboo-agent/xml-data/build-dir/SMGT-STOC-BTJ8 simple 06-Aug-2025 15:12:55 Executing build Stock Management - Stock Management - Build and Test JDK 8 #29 (SMGT-STOC-BTJ8-29) simple 06-Aug-2025 15:12:55 Starting task 'Checkout default repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 06-Aug-2025 15:12:55 Checking out into /data/bamboo-agent/xml-data/build-dir/SMGT-STOC-BTJ8 simple 06-Aug-2025 15:12:55 Updating source code to revision: 80a2e4dad5b7d45e93ab486f348ca8068abccd7c simple 06-Aug-2025 15:12:55 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/SMGT-STOC-BTJ8/.git'. simple 06-Aug-2025 15:12:55 hint: Using 'master' as the name for the initial branch. This default branch name simple 06-Aug-2025 15:12:55 hint: is subject to change. To configure the initial branch name to use in all simple 06-Aug-2025 15:12:55 hint: of your new repositories, which will suppress this warning, call: simple 06-Aug-2025 15:12:55 hint: simple 06-Aug-2025 15:12:55 hint: git config --global init.defaultBranch simple 06-Aug-2025 15:12:55 hint: simple 06-Aug-2025 15:12:55 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 06-Aug-2025 15:12:55 hint: 'development'. The just-created branch can be renamed via this command: simple 06-Aug-2025 15:12:55 hint: simple 06-Aug-2025 15:12:55 hint: git branch -m simple 06-Aug-2025 15:12:55 Initialized empty Git repository in /data/bamboo-agent/xml-data/build-dir/SMGT-STOC-BTJ8/.git/ simple 06-Aug-2025 15:12:55 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-module-stockmanagement.git Will try to do a shallow fetch.'. simple 06-Aug-2025 15:12:56 Checking out revision 80a2e4dad5b7d45e93ab486f348ca8068abccd7c. simple 06-Aug-2025 15:12:56 fatal: reference is not a tree: 80a2e4dad5b7d45e93ab486f348ca8068abccd7c error 06-Aug-2025 15:12:56 Checkout to revision 80a2e4dad5b7d45e93ab486f348ca8068abccd7c has failed. simple 06-Aug-2025 15:12:56 Cleaned source directory '/data/bamboo-agent/xml-data/build-dir/SMGT-STOC-BTJ8'... simple 06-Aug-2025 15:12:56 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-module-stockmanagement.git'. simple 06-Aug-2025 15:12:57 Fetching to source directory '/data/bamboo-agent/xml-data/build-dir/SMGT-STOC-BTJ8' completed, proceeding with checkout... simple 06-Aug-2025 15:12:57 Checking out revision 80a2e4dad5b7d45e93ab486f348ca8068abccd7c. simple 06-Aug-2025 15:12:57 Note: switching to '80a2e4dad5b7d45e93ab486f348ca8068abccd7c'. simple 06-Aug-2025 15:12:57 simple 06-Aug-2025 15:12:57 You are in 'detached HEAD' state. You can look around, make experimental simple 06-Aug-2025 15:12:57 changes and commit them, and you can discard any commits you make in this simple 06-Aug-2025 15:12:57 state without impacting any branches by switching back to a branch. simple 06-Aug-2025 15:12:57 simple 06-Aug-2025 15:12:57 If you want to create a new branch to retain commits you create, you may simple 06-Aug-2025 15:12:57 do so (now or later) by using -c with the switch command. Example: simple 06-Aug-2025 15:12:57 simple 06-Aug-2025 15:12:57 git switch -c simple 06-Aug-2025 15:12:57 simple 06-Aug-2025 15:12:57 Or undo this operation with: simple 06-Aug-2025 15:12:57 simple 06-Aug-2025 15:12:57 git switch - simple 06-Aug-2025 15:12:57 simple 06-Aug-2025 15:12:57 Turn off this advice by setting config variable advice.detachedHead to false simple 06-Aug-2025 15:12:57 simple 06-Aug-2025 15:12:57 HEAD is now at 80a2e4d Fixed Bamboo Specs release-repository checkout. simple 06-Aug-2025 15:12:57 Checkout completed, recover successful. simple 06-Aug-2025 15:12:57 Updated source code to revision: 80a2e4dad5b7d45e93ab486f348ca8068abccd7c simple 06-Aug-2025 15:12:57 Finished task 'Checkout default repository' with result: Success simple 06-Aug-2025 15:12:57 Running pre-build action: Build Log Labeller Pre Build Action simple 06-Aug-2025 15:12:57 Running pre-build action: VCS Version Collector simple 06-Aug-2025 15:12:57 Running pre-build action: Run Predator simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 12489 java 1406 bamboo-age 3199Mb 707Mb 00:15:17 /usr/lib/jvm/java-21-op simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1406 wrapper 1344 bamboo-age 88Mb 3Mb 00:02:44 /data/bamboo-agent/bin/ simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1344 bamboo 715 bamboo-age 3Mb 1Mb 00:00:00 /bin/sh /data/bamboo-ag simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 715 java 1 bamboo-age 4038Mb 45Mb 00:02:11 /usr/lib/jvm/java-21-op simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:00:25 /sbin/init simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] Initial free space: 18.41883 GB simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REPREST-REPREST-DTM simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OA2L-OC-DTM simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/BILL-BILL-BTJ8 simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-BTJ17 simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OP-PLAT2-UV simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-DTM simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP-DTM simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/IDGEN-IDGEN-DTM simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AUTH-AUTHUI-DTM simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-BTJ24 simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository simple 06-Aug-2025 15:12:57 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 06-Aug-2025 15:12:58 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 06-Aug-2025 15:12:58 [PredatorPreBuildAction] Maven stable disk freed: 0.37164783 GB, deleted 77 files simple 06-Aug-2025 15:12:58 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 06-Aug-2025 15:12:58 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. simple 06-Aug-2025 15:12:58 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 06-Aug-2025 15:12:58 [PredatorPreBuildAction] Final free space: 18.419113 GB simple 06-Aug-2025 15:12:58 [PredatorPreBuildAction] Done simple 06-Aug-2025 15:12:58 Build Stock Management - Stock Management - Build and Test JDK 8 #29 (SMGT-STOC-BTJ8-29) started building on agent 'xiao.openmrs.org (2)' (Remote agent on host xiao.openmrs.org) simple 06-Aug-2025 15:12:58 Starting task 'Build and test' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 06-Aug-2025 15:12:58 Beginning to execute external process for build 'Stock Management - Stock Management - Build and Test JDK 8 #29 (SMGT-STOC-BTJ8-29)'\n ... running command line: \n/data/bamboo-agent/temp/SMGT-STOC-BTJ8-29-ScriptBuildTask-17654841802789531867.sh\n ... in: /data/bamboo-agent/xml-data/build-dir/SMGT-STOC-BTJ8\n error 06-Aug-2025 15:12:59 + docker run -v m2-repo:/root/.m2/repository -v /data/bamboo-agent/xml-data/build-dir/SMGT-STOC-BTJ8:/module --rm -w=/module maven:3.9.9-amazoncorretto-8 bash -c 'mvn clean package -B && chmod -R 777 .' error 06-Aug-2025 15:12:59 Unable to find image 'maven:3.9.9-amazoncorretto-8' locally error 06-Aug-2025 15:12:59 3.9.9-amazoncorretto-8: Pulling from library/maven error 06-Aug-2025 15:12:59 c93eb42fc1cb: Pulling fs layer error 06-Aug-2025 15:12:59 6edc54ec3599: Pulling fs layer error 06-Aug-2025 15:12:59 cbe058925e52: Pulling fs layer error 06-Aug-2025 15:12:59 07ecf17abb6a: Pulling fs layer error 06-Aug-2025 15:12:59 a058b4210493: Pulling fs layer error 06-Aug-2025 15:12:59 fa38e8bc34b4: Pulling fs layer error 06-Aug-2025 15:12:59 4f4fb700ef54: Pulling fs layer error 06-Aug-2025 15:12:59 f32aca46cbdf: Pulling fs layer error 06-Aug-2025 15:12:59 07ecf17abb6a: Waiting error 06-Aug-2025 15:12:59 a058b4210493: Waiting error 06-Aug-2025 15:12:59 fa38e8bc34b4: Waiting error 06-Aug-2025 15:12:59 4f4fb700ef54: Waiting error 06-Aug-2025 15:12:59 f32aca46cbdf: Waiting error 06-Aug-2025 15:13:00 c93eb42fc1cb: Verifying Checksum error 06-Aug-2025 15:13:00 c93eb42fc1cb: Download complete error 06-Aug-2025 15:13:00 6edc54ec3599: Verifying Checksum error 06-Aug-2025 15:13:00 6edc54ec3599: Download complete error 06-Aug-2025 15:13:00 07ecf17abb6a: Download complete error 06-Aug-2025 15:13:01 a058b4210493: Verifying Checksum error 06-Aug-2025 15:13:01 a058b4210493: Download complete error 06-Aug-2025 15:13:01 fa38e8bc34b4: Verifying Checksum error 06-Aug-2025 15:13:01 fa38e8bc34b4: Download complete error 06-Aug-2025 15:13:01 4f4fb700ef54: Verifying Checksum error 06-Aug-2025 15:13:01 4f4fb700ef54: Download complete error 06-Aug-2025 15:13:01 f32aca46cbdf: Verifying Checksum error 06-Aug-2025 15:13:01 f32aca46cbdf: Download complete error 06-Aug-2025 15:13:02 cbe058925e52: Verifying Checksum error 06-Aug-2025 15:13:02 cbe058925e52: Download complete error 06-Aug-2025 15:13:04 c93eb42fc1cb: Pull complete error 06-Aug-2025 15:13:06 6edc54ec3599: Pull complete error 06-Aug-2025 15:13:09 cbe058925e52: Pull complete error 06-Aug-2025 15:13:10 07ecf17abb6a: Pull complete error 06-Aug-2025 15:13:10 a058b4210493: Pull complete error 06-Aug-2025 15:13:11 fa38e8bc34b4: Pull complete error 06-Aug-2025 15:13:11 4f4fb700ef54: Pull complete error 06-Aug-2025 15:13:11 f32aca46cbdf: Pull complete error 06-Aug-2025 15:13:11 Digest: sha256:1f67afafc8ff766a0ba4b0fa389054cf57083ed4a067a3c6a2126e9ddeb927f8 error 06-Aug-2025 15:13:11 Status: Downloaded newer image for maven:3.9.9-amazoncorretto-8 build 06-Aug-2025 15:13:13 [INFO] Scanning for projects... build 06-Aug-2025 15:13:14 [INFO] ------------------------------------------------------------------------ build 06-Aug-2025 15:13:14 [INFO] Reactor Build Order: build 06-Aug-2025 15:13:14 [INFO] build 06-Aug-2025 15:13:14 [INFO] Stock Management [pom] build 06-Aug-2025 15:13:14 [INFO] Stock Management API [jar] build 06-Aug-2025 15:13:14 [INFO] Stock Management OMOD [jar] build 06-Aug-2025 15:13:14 [INFO] build 06-Aug-2025 15:13:14 [INFO] -----------------< org.openmrs.module:stockmanagement >----------------- build 06-Aug-2025 15:13:14 [INFO] Building Stock Management 2.0.4-SNAPSHOT [1/3] build 06-Aug-2025 15:13:14 [INFO] from pom.xml build 06-Aug-2025 15:13:14 [INFO] --------------------------------[ pom ]--------------------------------- build 06-Aug-2025 15:13:14 [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 build 06-Aug-2025 15:13:14 [INFO] Latest version of plugin org.apache.maven.plugins:maven-compiler-plugin failed compatibility check build 06-Aug-2025 15:13:14 [INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-compiler-plugin build 06-Aug-2025 15:13:14 [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 build 06-Aug-2025 15:13:14 [INFO] Selected plugin org.apache.maven.plugins:maven-compiler-plugin:3.14.0 build 06-Aug-2025 15:13:14 [INFO] build 06-Aug-2025 15:13:14 [INFO] --- clean:3.2.0:clean (default-clean) @ stockmanagement --- build 06-Aug-2025 15:13:15 [INFO] build 06-Aug-2025 15:13:15 [INFO] ---------------< org.openmrs.module:stockmanagement-api >--------------- build 06-Aug-2025 15:13:15 [INFO] Building Stock Management API 2.0.4-SNAPSHOT [2/3] build 06-Aug-2025 15:13:15 [INFO] from api/pom.xml build 06-Aug-2025 15:13:15 [INFO] --------------------------------[ jar ]--------------------------------- build 06-Aug-2025 15:13:15 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/api/openmrs-api/2.4.3/openmrs-api-2.4.3.pom build 06-Aug-2025 15:13:16 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/api/openmrs-api/2.4.3/openmrs-api-2.4.3.pom (13 kB at 15 kB/s) build 06-Aug-2025 15:13:16 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/openmrs/2.4.3/openmrs-2.4.3.pom build 06-Aug-2025 15:13:16 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/openmrs/2.4.3/openmrs-2.4.3.pom (37 kB at 171 kB/s) build 06-Aug-2025 15:13:17 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/test/openmrs-test/2.4.3/openmrs-test-2.4.3.pom build 06-Aug-2025 15:13:17 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/test/openmrs-test/2.4.3/openmrs-test-2.4.3.pom (2.9 kB at 25 kB/s) build 06-Aug-2025 15:13:17 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/reflections/reflections/0.9.11/reflections-0.9.11.pom build 06-Aug-2025 15:13:18 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/reflections/reflections/0.9.11/reflections-0.9.11.pom (9.9 kB at 55 kB/s) build 06-Aug-2025 15:13:18 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/api/openmrs-api/2.4.3/openmrs-api-2.4.3.jar build 06-Aug-2025 15:13:19 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/api/openmrs-api/2.4.3/openmrs-api-2.4.3.jar (2.8 MB at 2.0 MB/s) build 06-Aug-2025 15:13:19 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/api/openmrs-api/2.4.3/openmrs-api-2.4.3-tests.jar build 06-Aug-2025 15:13:19 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/postgresql/postgresql/42.2.5/postgresql-42.2.5.jar build 06-Aug-2025 15:13:19 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/reflections/reflections/0.9.11/reflections-0.9.11.jar build 06-Aug-2025 15:13:20 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/api/openmrs-api/2.4.3/openmrs-api-2.4.3-tests.jar (2.5 MB at 4.2 MB/s) build 06-Aug-2025 15:13:20 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/postgresql/postgresql/42.2.5/postgresql-42.2.5.jar (826 kB at 1.0 MB/s) build 06-Aug-2025 15:13:20 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/reflections/reflections/0.9.11/reflections-0.9.11.jar (131 kB at 158 kB/s) build 06-Aug-2025 15:13:20 [INFO] build 06-Aug-2025 15:13:20 [INFO] --- clean:3.2.0:clean (default-clean) @ stockmanagement-api --- build 06-Aug-2025 15:13:20 [INFO] build 06-Aug-2025 15:13:20 [INFO] --- jacoco:0.8.11:prepare-agent (default) @ stockmanagement-api --- build 06-Aug-2025 15:13:20 [INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.11/org.jacoco.agent-0.8.11-runtime.jar=destfile=/module/api/target/jacoco.exec build 06-Aug-2025 15:13:20 [INFO] build 06-Aug-2025 15:13:20 [INFO] --- resources:3.3.1:resources (default-resources) @ stockmanagement-api --- build 06-Aug-2025 15:13:20 [INFO] Copying 6 resources from src/main/resources to target/classes build 06-Aug-2025 15:13:20 [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 build 06-Aug-2025 15:13:20 [INFO] build 06-Aug-2025 15:13:20 [INFO] --- compiler:3.13.0:compile (default-compile) @ stockmanagement-api --- build 06-Aug-2025 15:13:21 [INFO] Recompiling the module because of changed source code. build 06-Aug-2025 15:13:21 [INFO] Compiling 167 source files with javac [debug target 1.8] to target/classes build 06-Aug-2025 15:13:26 [WARNING] /module/api/src/main/java/org/openmrs/module/stockmanagement/api/dao/DaoBase.java:[57,115] non-varargs call of varargs method with inexact argument type for last parameter; build 06-Aug-2025 15:13:26 cast to java.lang.Class for a varargs call build 06-Aug-2025 15:13:26 cast to java.lang.Class[] for a non-varargs call and to suppress this warning build 06-Aug-2025 15:13:26 [WARNING] /module/api/src/main/java/org/openmrs/module/stockmanagement/api/dao/DaoBase.java:[58,103] non-varargs call of varargs method with inexact argument type for last parameter; build 06-Aug-2025 15:13:26 cast to java.lang.Object for a varargs call build 06-Aug-2025 15:13:26 cast to java.lang.Object[] for a non-varargs call and to suppress this warning build 06-Aug-2025 15:13:26 [WARNING] /module/api/src/main/java/org/openmrs/module/stockmanagement/api/dao/DaoBase.java:[73,118] non-varargs call of varargs method with inexact argument type for last parameter; build 06-Aug-2025 15:13:26 cast to java.lang.Class for a varargs call build 06-Aug-2025 15:13:26 cast to java.lang.Class[] for a non-varargs call and to suppress this warning build 06-Aug-2025 15:13:26 [WARNING] /module/api/src/main/java/org/openmrs/module/stockmanagement/api/dao/DaoBase.java:[74,112] non-varargs call of varargs method with inexact argument type for last parameter; build 06-Aug-2025 15:13:26 cast to java.lang.Object for a varargs call build 06-Aug-2025 15:13:26 cast to java.lang.Object[] for a non-varargs call and to suppress this warning build 06-Aug-2025 15:13:26 [WARNING] /module/api/src/main/java/org/openmrs/module/stockmanagement/api/impl/StockManagementServiceImpl.java:[866,116] non-varargs call of varargs method with inexact argument type for last parameter; build 06-Aug-2025 15:13:26 cast to java.lang.Object for a varargs call build 06-Aug-2025 15:13:26 cast to java.lang.Object[] for a non-varargs call and to suppress this warning build 06-Aug-2025 15:13:26 [WARNING] /module/api/src/main/java/org/openmrs/module/stockmanagement/api/impl/StockManagementServiceImpl.java:[870,67] non-varargs call of varargs method with inexact argument type for last parameter; build 06-Aug-2025 15:13:26 cast to java.lang.Object for a varargs call build 06-Aug-2025 15:13:26 cast to java.lang.Object[] for a non-varargs call and to suppress this warning build 06-Aug-2025 15:13:26 [INFO] /module/api/src/main/java/org/openmrs/module/stockmanagement/api/dao/DaoBase.java: Some input files use or override a deprecated API. build 06-Aug-2025 15:13:26 [INFO] /module/api/src/main/java/org/openmrs/module/stockmanagement/api/dao/DaoBase.java: Recompile with -Xlint:deprecation for details. build 06-Aug-2025 15:13:26 [INFO] build 06-Aug-2025 15:13:26 [INFO] --- resources:3.3.1:testResources (default-testResources) @ stockmanagement-api --- build 06-Aug-2025 15:13:26 [INFO] Copying 8 resources from src/test/resources to target/test-classes build 06-Aug-2025 15:13:26 [INFO] build 06-Aug-2025 15:13:26 [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ stockmanagement-api --- build 06-Aug-2025 15:13:26 [INFO] Recompiling the module because of changed dependency. build 06-Aug-2025 15:13:26 [INFO] Compiling 3 source files with javac [debug target 1.8] to target/test-classes build 06-Aug-2025 15:13:27 [INFO] /module/api/src/test/java/org/openmrs/module/stockmanagement/StockManagementServiceTest.java: Some input files use or override a deprecated API. build 06-Aug-2025 15:13:27 [INFO] /module/api/src/test/java/org/openmrs/module/stockmanagement/StockManagementServiceTest.java: Recompile with -Xlint:deprecation for details. build 06-Aug-2025 15:13:27 [INFO] build 06-Aug-2025 15:13:27 [INFO] --- surefire:3.0.0-M8:test (default-test) @ stockmanagement-api --- build 06-Aug-2025 15:13:28 [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider build 06-Aug-2025 15:13:28 [INFO] build 06-Aug-2025 15:13:28 [INFO] ------------------------------------------------------- build 06-Aug-2025 15:13:28 [INFO] T E S T S build 06-Aug-2025 15:13:28 [INFO] ------------------------------------------------------- build 06-Aug-2025 15:13:33 [INFO] Running org.openmrs.module.stockmanagement.dao.StockManagementDaoTest build 06-Aug-2025 15:14:00 [INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.133 s - in org.openmrs.module.stockmanagement.dao.StockManagementDaoTest build 06-Aug-2025 15:14:00 [INFO] Running org.openmrs.module.stockmanagement.StockManagementServiceTest build 06-Aug-2025 15:14:04 STOCK: executing query: SELECT sit.dateCreated as dateCreated, build 06-Aug-2025 15:14:04 sit.uuid as uuid, build 06-Aug-2025 15:14:04 sit.party.id as partyId, build 06-Aug-2025 15:14:04 p.uuid as partyUuid, build 06-Aug-2025 15:14:04 sit.stockItem.id as stockItemId, build 06-Aug-2025 15:14:04 si.uuid as stockItemUuid, build 06-Aug-2025 15:14:04 sipu.uuid as stockItemPackagingUOMUuid, build 06-Aug-2025 15:14:04 sipu.packagingUom.conceptId as packagingUoMId, build 06-Aug-2025 15:14:04 sb.uuid as stockBatchUuid, build 06-Aug-2025 15:14:04 sb.batchNo as stockBatchNo, build 06-Aug-2025 15:14:04 sb.expiration as expiration, build 06-Aug-2025 15:14:04 so.uuid as stockOperationUuid, build 06-Aug-2025 15:14:04 so.status as stockOperationStatus, build 06-Aug-2025 15:14:04 so.operationNumber as stockOperationNumber, build 06-Aug-2025 15:14:04 sot.name as stockOperationTypeName, build 06-Aug-2025 15:14:04 sit.quantity as quantity,sit.patient.id as patientId, sit.order.orderId as orderId, sit.encounter.encounterId as encounterId, build 06-Aug-2025 15:14:04 so.source.id as operationSourcePartyId, so.destination.id as operationDestinationPartyId build 06-Aug-2025 15:14:04 from stockmanagement.StockItemTransaction sit join build 06-Aug-2025 15:14:04 sit.stockItem si left join sit.party p left join build 06-Aug-2025 15:14:04 sit.stockBatch sb left join build 06-Aug-2025 15:14:04 sit.stockItemPackagingUOM sipu left join build 06-Aug-2025 15:14:04 sit.stockOperation so left join so.stockOperationType sot where (sit.party.id = :partyId) AND (sit.stockItem.id = :stockItemId) build 06-Aug-2025 15:14:04 Got patient id as: 2 build 06-Aug-2025 15:14:04 Got patient uuid as: da7f524f-27ce-4bb2-86d6-6d1d05312bd5 build 06-Aug-2025 15:14:04 Got patient id as: 2 build 06-Aug-2025 15:14:04 Got patient uuid as: da7f524f-27ce-4bb2-86d6-6d1d05312bd5 build 06-Aug-2025 15:14:04 Got patient id as: null build 06-Aug-2025 15:14:04 Got patient id as: null build 06-Aug-2025 15:14:04 Got patient id as: null build 06-Aug-2025 15:14:06 STOCK: executing query: SELECT sit.dateCreated as dateCreated, build 06-Aug-2025 15:14:06 sit.uuid as uuid, build 06-Aug-2025 15:14:06 sit.party.id as partyId, build 06-Aug-2025 15:14:06 p.uuid as partyUuid, build 06-Aug-2025 15:14:06 sit.stockItem.id as stockItemId, build 06-Aug-2025 15:14:06 si.uuid as stockItemUuid, build 06-Aug-2025 15:14:06 sipu.uuid as stockItemPackagingUOMUuid, build 06-Aug-2025 15:14:06 sipu.packagingUom.conceptId as packagingUoMId, build 06-Aug-2025 15:14:06 sb.uuid as stockBatchUuid, build 06-Aug-2025 15:14:06 sb.batchNo as stockBatchNo, build 06-Aug-2025 15:14:06 sb.expiration as expiration, build 06-Aug-2025 15:14:06 so.uuid as stockOperationUuid, build 06-Aug-2025 15:14:06 so.status as stockOperationStatus, build 06-Aug-2025 15:14:06 so.operationNumber as stockOperationNumber, build 06-Aug-2025 15:14:06 sot.name as stockOperationTypeName, build 06-Aug-2025 15:14:06 sit.quantity as quantity,sit.patient.id as patientId, sit.order.orderId as orderId, sit.encounter.encounterId as encounterId, build 06-Aug-2025 15:14:06 so.source.id as operationSourcePartyId, so.destination.id as operationDestinationPartyId build 06-Aug-2025 15:14:06 from stockmanagement.StockItemTransaction sit join build 06-Aug-2025 15:14:06 sit.stockItem si left join sit.party p left join build 06-Aug-2025 15:14:06 sit.stockBatch sb left join build 06-Aug-2025 15:14:06 sit.stockItemPackagingUOM sipu left join build 06-Aug-2025 15:14:06 sit.stockOperation so left join so.stockOperationType sot where (sit.stockItem.id = :stockItemId) build 06-Aug-2025 15:14:06 Got patient id as: 2 build 06-Aug-2025 15:14:06 Got patient uuid as: da7f524f-27ce-4bb2-86d6-6d1d05312bd5 build 06-Aug-2025 15:14:06 STOCK: executing query: SELECT sit.dateCreated as dateCreated, build 06-Aug-2025 15:14:06 sit.uuid as uuid, build 06-Aug-2025 15:14:06 sit.party.id as partyId, build 06-Aug-2025 15:14:06 p.uuid as partyUuid, build 06-Aug-2025 15:14:06 sit.stockItem.id as stockItemId, build 06-Aug-2025 15:14:06 si.uuid as stockItemUuid, build 06-Aug-2025 15:14:06 sipu.uuid as stockItemPackagingUOMUuid, build 06-Aug-2025 15:14:06 sipu.packagingUom.conceptId as packagingUoMId, build 06-Aug-2025 15:14:06 sb.uuid as stockBatchUuid, build 06-Aug-2025 15:14:06 sb.batchNo as stockBatchNo, build 06-Aug-2025 15:14:06 sb.expiration as expiration, build 06-Aug-2025 15:14:06 so.uuid as stockOperationUuid, build 06-Aug-2025 15:14:06 so.status as stockOperationStatus, build 06-Aug-2025 15:14:06 so.operationNumber as stockOperationNumber, build 06-Aug-2025 15:14:06 sot.name as stockOperationTypeName, build 06-Aug-2025 15:14:06 sit.quantity as quantity,sit.patient.id as patientId, sit.order.orderId as orderId, sit.encounter.encounterId as encounterId, build 06-Aug-2025 15:14:06 so.source.id as operationSourcePartyId, so.destination.id as operationDestinationPartyId build 06-Aug-2025 15:14:06 from stockmanagement.StockItemTransaction sit join build 06-Aug-2025 15:14:06 sit.stockItem si left join sit.party p left join build 06-Aug-2025 15:14:06 sit.stockBatch sb left join build 06-Aug-2025 15:14:06 sit.stockItemPackagingUOM sipu left join build 06-Aug-2025 15:14:06 sit.stockOperation so left join so.stockOperationType sot where (sit.uuid = :uuid) build 06-Aug-2025 15:14:06 Got patient id as: 2 build 06-Aug-2025 15:14:06 Got patient uuid as: da7f524f-27ce-4bb2-86d6-6d1d05312bd5 build 06-Aug-2025 15:14:08 [INFO] Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.489 s - in org.openmrs.module.stockmanagement.StockManagementServiceTest build 06-Aug-2025 15:14:09 [INFO] build 06-Aug-2025 15:14:09 [INFO] Results: build 06-Aug-2025 15:14:09 [INFO] build 06-Aug-2025 15:14:09 [INFO] Tests run: 46, Failures: 0, Errors: 0, Skipped: 0 build 06-Aug-2025 15:14:09 [INFO] build 06-Aug-2025 15:14:09 [INFO] build 06-Aug-2025 15:14:09 [INFO] --- jacoco:0.8.11:report (report) @ stockmanagement-api --- build 06-Aug-2025 15:14:09 [INFO] Loading execution data file /module/api/target/jacoco.exec build 06-Aug-2025 15:14:10 [INFO] Analyzed bundle 'Stock Management API' with 187 classes build 06-Aug-2025 15:14:10 [INFO] build 06-Aug-2025 15:14:10 [INFO] --- jar:3.4.1:jar (default-jar) @ stockmanagement-api --- build 06-Aug-2025 15:14:10 [INFO] Building jar: /module/api/target/stockmanagement-api-2.0.4-SNAPSHOT.jar build 06-Aug-2025 15:14:11 [INFO] build 06-Aug-2025 15:14:11 [INFO] --------------< org.openmrs.module:stockmanagement-omod >--------------- build 06-Aug-2025 15:14:11 [INFO] Building Stock Management OMOD 2.0.4-SNAPSHOT [3/3] build 06-Aug-2025 15:14:11 [INFO] from omod/pom.xml build 06-Aug-2025 15:14:11 [INFO] --------------------------------[ jar ]--------------------------------- build 06-Aug-2025 15:14:11 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/web/openmrs-web/2.4.3/openmrs-web-2.4.3.pom build 06-Aug-2025 15:14:11 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/web/openmrs-web/2.4.3/openmrs-web-2.4.3.pom (6.3 kB at 35 kB/s) build 06-Aug-2025 15:14:11 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/web/openmrs-web/2.4.3/openmrs-web-2.4.3.jar build 06-Aug-2025 15:14:12 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/web/openmrs-web/2.4.3/openmrs-web-2.4.3.jar (161 kB at 322 kB/s) build 06-Aug-2025 15:14:12 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/web/openmrs-web/2.4.3/openmrs-web-2.4.3-tests.jar build 06-Aug-2025 15:14:12 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/web/openmrs-web/2.4.3/openmrs-web-2.4.3-tests.jar (34 kB at 211 kB/s) build 06-Aug-2025 15:14:12 [INFO] build 06-Aug-2025 15:14:12 [INFO] --- clean:3.2.0:clean (default-clean) @ stockmanagement-omod --- build 06-Aug-2025 15:14:12 [INFO] build 06-Aug-2025 15:14:12 [INFO] --- jacoco:0.8.11:prepare-agent (default) @ stockmanagement-omod --- build 06-Aug-2025 15:14:12 [INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.11/org.jacoco.agent-0.8.11-runtime.jar=destfile=/module/omod/target/jacoco.exec build 06-Aug-2025 15:14:12 [INFO] build 06-Aug-2025 15:14:12 [INFO] --- resources:3.3.1:resources (default-resources) @ stockmanagement-omod --- build 06-Aug-2025 15:14:12 [INFO] Copying 3 resources from src/main/resources to target/classes build 06-Aug-2025 15:14:12 [INFO] build 06-Aug-2025 15:14:12 [INFO] --- compiler:3.13.0:compile (default-compile) @ stockmanagement-omod --- build 06-Aug-2025 15:14:12 [INFO] Recompiling the module because of changed dependency. build 06-Aug-2025 15:14:12 [INFO] Compiling 38 source files with javac [debug target 1.8] to target/classes build 06-Aug-2025 15:14:13 [INFO] build 06-Aug-2025 15:14:13 [INFO] --- resources:3.3.1:testResources (default-testResources) @ stockmanagement-omod --- build 06-Aug-2025 15:14:13 [INFO] skip non existing resourceDirectory /module/omod/src/test/resources build 06-Aug-2025 15:14:13 [INFO] build 06-Aug-2025 15:14:13 [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ stockmanagement-omod --- build 06-Aug-2025 15:14:13 [INFO] No sources to compile build 06-Aug-2025 15:14:13 [INFO] build 06-Aug-2025 15:14:13 [INFO] --- surefire:3.0.0-M8:test (default-test) @ stockmanagement-omod --- build 06-Aug-2025 15:14:14 [INFO] No tests to run. build 06-Aug-2025 15:14:14 [INFO] build 06-Aug-2025 15:14:14 [INFO] --- jacoco:0.8.11:report (report) @ stockmanagement-omod --- build 06-Aug-2025 15:14:14 [INFO] Skipping JaCoCo execution due to missing execution data file. build 06-Aug-2025 15:14:14 [INFO] build 06-Aug-2025 15:14:14 [INFO] --- jar:3.4.1:jar (default-jar) @ stockmanagement-omod --- build 06-Aug-2025 15:14:14 [INFO] Building jar: /module/omod/target/stockmanagement-2.0.4-SNAPSHOT.jar build 06-Aug-2025 15:14:14 [INFO] build 06-Aug-2025 15:14:14 [INFO] --- openmrs:1.0.1:package-module (pack) @ stockmanagement-omod --- build 06-Aug-2025 15:14:14 [INFO] Packaging OpenMRS module build 06-Aug-2025 15:14:14 [INFO] Building jar: /module/omod/target/stockmanagement-2.0.4-SNAPSHOT.omod build 06-Aug-2025 15:14:14 [INFO] ------------------------------------------------------------------------ build 06-Aug-2025 15:14:14 [INFO] Reactor Summary for Stock Management 2.0.4-SNAPSHOT: build 06-Aug-2025 15:14:14 [INFO] build 06-Aug-2025 15:14:14 [INFO] Stock Management ................................... SUCCESS [ 0.476 s] build 06-Aug-2025 15:14:14 [INFO] Stock Management API ............................... SUCCESS [ 56.158 s] build 06-Aug-2025 15:14:14 [INFO] Stock Management OMOD .............................. SUCCESS [ 3.647 s] build 06-Aug-2025 15:14:14 [INFO] ------------------------------------------------------------------------ build 06-Aug-2025 15:14:14 [INFO] BUILD SUCCESS build 06-Aug-2025 15:14:14 [INFO] ------------------------------------------------------------------------ build 06-Aug-2025 15:14:14 [INFO] Total time: 01:01 min build 06-Aug-2025 15:14:14 [INFO] Finished at: 2025-08-06T15:14:14Z build 06-Aug-2025 15:14:14 [INFO] ------------------------------------------------------------------------ simple 06-Aug-2025 15:14:15 Finished task 'Build and test' with result: Success simple 06-Aug-2025 15:14:15 Running post build plugin 'Docker Container Cleanup' simple 06-Aug-2025 15:14:15 Running post build plugin 'NCover Results Collector' simple 06-Aug-2025 15:14:15 Running post build plugin 'Build Results Label Collector' simple 06-Aug-2025 15:14:15 Running post build plugin 'Clover Results Collector' simple 06-Aug-2025 15:14:15 Running post build plugin 'npm Cache Cleanup' simple 06-Aug-2025 15:14:15 Running post build plugin 'Artifact Copier' simple 06-Aug-2025 15:14:15 Finalising the build... simple 06-Aug-2025 15:14:15 Stopping timer. simple 06-Aug-2025 15:14:15 Build SMGT-STOC-BTJ8-29 completed. simple 06-Aug-2025 15:14:15 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 06-Aug-2025 15:14:15 Running on server: post build plugin 'NCover Results Collector' simple 06-Aug-2025 15:14:15 Running on server: post build plugin 'Build Labeller' simple 06-Aug-2025 15:14:15 Running on server: post build plugin 'Clover Delta Calculator' simple 06-Aug-2025 15:14:15 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 06-Aug-2025 15:14:15 All post build plugins have finished simple 06-Aug-2025 15:14:15 Generating build results summary... simple 06-Aug-2025 15:14:15 Saving build results to disk... simple 06-Aug-2025 15:14:15 Store variable context... simple 06-Aug-2025 15:14:15 Finished building SMGT-STOC-BTJ8-29.