simple 15-Oct-2025 17:29:42 Build Stock Management - Stock Management - Build and Test JDK 8 #32 (SMGT-STOC-BTJ8-32) is being prepared for building on agent xiao.openmrs.org (2), bamboo version: 11.0.2 simple 15-Oct-2025 17:29:42 Remote agent on host xiao.openmrs.org simple 15-Oct-2025 17:29:42 Build working directory is /data/bamboo-agent/xml-data/build-dir/SMGT-STOC-BTJ8 simple 15-Oct-2025 17:29:42 Executing build Stock Management - Stock Management - Build and Test JDK 8 #32 (SMGT-STOC-BTJ8-32) simple 15-Oct-2025 17:29:42 Starting task 'Checkout default repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 15-Oct-2025 17:29:42 Checking out into /data/bamboo-agent/xml-data/build-dir/SMGT-STOC-BTJ8 simple 15-Oct-2025 17:29:42 Updating source code to revision: 0a39cefaff85fcfc889c4a287494076a501d5acf simple 15-Oct-2025 17:29:42 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/SMGT-STOC-BTJ8/.git'. simple 15-Oct-2025 17:29:42 hint: Using 'master' as the name for the initial branch. This default branch name simple 15-Oct-2025 17:29:42 hint: is subject to change. To configure the initial branch name to use in all simple 15-Oct-2025 17:29:42 hint: of your new repositories, which will suppress this warning, call: simple 15-Oct-2025 17:29:42 hint: simple 15-Oct-2025 17:29:42 hint: git config --global init.defaultBranch simple 15-Oct-2025 17:29:42 hint: simple 15-Oct-2025 17:29:42 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 15-Oct-2025 17:29:42 hint: 'development'. The just-created branch can be renamed via this command: simple 15-Oct-2025 17:29:42 hint: simple 15-Oct-2025 17:29:42 hint: git branch -m simple 15-Oct-2025 17:29:42 Initialized empty Git repository in /data/bamboo-agent/xml-data/build-dir/SMGT-STOC-BTJ8/.git/ simple 15-Oct-2025 17:29:43 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-module-stockmanagement.git Will try to do a shallow fetch.'. simple 15-Oct-2025 17:29:43 Checking out revision 0a39cefaff85fcfc889c4a287494076a501d5acf. simple 15-Oct-2025 17:29:43 Already on 'master' simple 15-Oct-2025 17:29:43 Updated source code to revision: 0a39cefaff85fcfc889c4a287494076a501d5acf simple 15-Oct-2025 17:29:43 Finished task 'Checkout default repository' with result: Success simple 15-Oct-2025 17:29:43 Running pre-build action: Build Log Labeller Pre Build Action simple 15-Oct-2025 17:29:43 Running pre-build action: VCS Version Collector simple 15-Oct-2025 17:29:43 Running pre-build action: Run Predator simple 15-Oct-2025 17:29:43 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 15-Oct-2025 17:29:43 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 15-Oct-2025 17:29:43 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 3890 java 1503 bamboo-age 3190Mb 624Mb 00:45:28 /usr/lib/jvm/java-21-op simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1503 wrapper 1437 bamboo-age 88Mb 2Mb 00:11:05 /data/bamboo-agent/bin/ simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1437 bamboo 730 bamboo-age 3Mb 1Mb 00:00:00 /bin/sh /data/bamboo-ag simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 730 java 1 bamboo-age 4038Mb 58Mb 00:08:49 /usr/lib/jvm/java-21-op simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 99Mb 9Mb 00:01:04 /sbin/init simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Initial free space: 72.270355 GB simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM227-BTJ8 simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REGAPP-REGAPP-DTM simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-DTM simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-BTJ17 simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-BTJ17 simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/BM-BMM-DTM simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/BILL-BILL-BTJ8 simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/DM-DM-DTM simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-DTM simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM227-DTM simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-BTJ8 simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-DTM simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-DTM simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-RTMVN simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP0-BTJ21 simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-DTM simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/METAM-METAM-BTJ8 simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OP-OP28-RTM simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-DTM simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/SDK-SDKL-RTM simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OCLM-OCLM-RTM simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-BTJ17 simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/META-META-DTM simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/QM-QUEUE-RTM simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM2-DTM simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-BTJ11 simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP0-BTJ24 simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI3-DTM simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OP-OP28-BS simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OENV-RU-JOB1 simple 15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-RTM simple 15-Oct-2025 17:29:45 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository simple 15-Oct-2025 17:29:45 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 15-Oct-2025 17:29:46 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 15-Oct-2025 17:29:47 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files simple 15-Oct-2025 17:29:47 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 15-Oct-2025 17:29:47 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. simple 15-Oct-2025 17:29:47 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 15-Oct-2025 17:29:47 [PredatorPreBuildAction] Final free space: 72.27034 GB simple 15-Oct-2025 17:29:47 [PredatorPreBuildAction] Done simple 15-Oct-2025 17:29:47 Build Stock Management - Stock Management - Build and Test JDK 8 #32 (SMGT-STOC-BTJ8-32) started building on agent 'xiao.openmrs.org (2)' (Remote agent on host xiao.openmrs.org) simple 15-Oct-2025 17:29:47 Starting task 'Build and test' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 15-Oct-2025 17:29:47 Beginning to execute external process for build 'Stock Management - Stock Management - Build and Test JDK 8 #32 (SMGT-STOC-BTJ8-32)'\n ... running command line: \n/data/bamboo-agent/temp/SMGT-STOC-BTJ8-32-ScriptBuildTask-3495675691938626680.sh\n ... in: /data/bamboo-agent/xml-data/build-dir/SMGT-STOC-BTJ8\n error 15-Oct-2025 17:29:47 + 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 15-Oct-2025 17:29:47 Unable to find image 'maven:3.9.9-amazoncorretto-8' locally error 15-Oct-2025 17:29:47 3.9.9-amazoncorretto-8: Pulling from library/maven error 15-Oct-2025 17:29:47 c93eb42fc1cb: Pulling fs layer error 15-Oct-2025 17:29:47 6edc54ec3599: Pulling fs layer error 15-Oct-2025 17:29:47 cbe058925e52: Pulling fs layer error 15-Oct-2025 17:29:47 07ecf17abb6a: Pulling fs layer error 15-Oct-2025 17:29:47 a058b4210493: Pulling fs layer error 15-Oct-2025 17:29:47 fa38e8bc34b4: Pulling fs layer error 15-Oct-2025 17:29:47 4f4fb700ef54: Pulling fs layer error 15-Oct-2025 17:29:47 f32aca46cbdf: Pulling fs layer error 15-Oct-2025 17:29:47 07ecf17abb6a: Waiting error 15-Oct-2025 17:29:47 a058b4210493: Waiting error 15-Oct-2025 17:29:47 fa38e8bc34b4: Waiting error 15-Oct-2025 17:29:47 4f4fb700ef54: Waiting error 15-Oct-2025 17:29:47 f32aca46cbdf: Waiting error 15-Oct-2025 17:29:48 c93eb42fc1cb: Verifying Checksum error 15-Oct-2025 17:29:48 c93eb42fc1cb: Download complete error 15-Oct-2025 17:29:49 6edc54ec3599: Verifying Checksum error 15-Oct-2025 17:29:49 6edc54ec3599: Download complete error 15-Oct-2025 17:29:49 07ecf17abb6a: Verifying Checksum error 15-Oct-2025 17:29:49 07ecf17abb6a: Download complete error 15-Oct-2025 17:29:49 a058b4210493: Verifying Checksum error 15-Oct-2025 17:29:49 a058b4210493: Download complete error 15-Oct-2025 17:29:49 4f4fb700ef54: Verifying Checksum error 15-Oct-2025 17:29:49 4f4fb700ef54: Download complete error 15-Oct-2025 17:29:49 fa38e8bc34b4: Verifying Checksum error 15-Oct-2025 17:29:49 fa38e8bc34b4: Download complete error 15-Oct-2025 17:29:49 f32aca46cbdf: Verifying Checksum error 15-Oct-2025 17:29:49 f32aca46cbdf: Download complete error 15-Oct-2025 17:29:50 cbe058925e52: Verifying Checksum error 15-Oct-2025 17:29:50 cbe058925e52: Download complete error 15-Oct-2025 17:29:52 c93eb42fc1cb: Pull complete error 15-Oct-2025 17:29:54 6edc54ec3599: Pull complete error 15-Oct-2025 17:29:58 cbe058925e52: Pull complete error 15-Oct-2025 17:30:00 07ecf17abb6a: Pull complete error 15-Oct-2025 17:30:00 a058b4210493: Pull complete error 15-Oct-2025 17:30:00 fa38e8bc34b4: Pull complete error 15-Oct-2025 17:30:00 4f4fb700ef54: Pull complete error 15-Oct-2025 17:30:00 f32aca46cbdf: Pull complete error 15-Oct-2025 17:30:00 Digest: sha256:1f67afafc8ff766a0ba4b0fa389054cf57083ed4a067a3c6a2126e9ddeb927f8 error 15-Oct-2025 17:30:00 Status: Downloaded newer image for maven:3.9.9-amazoncorretto-8 build 15-Oct-2025 17:30:03 [INFO] Scanning for projects... build 15-Oct-2025 17:30:03 [INFO] ------------------------------------------------------------------------ build 15-Oct-2025 17:30:03 [INFO] Reactor Build Order: build 15-Oct-2025 17:30:03 [INFO] build 15-Oct-2025 17:30:03 [INFO] Stock Management [pom] build 15-Oct-2025 17:30:03 [INFO] Stock Management API [jar] build 15-Oct-2025 17:30:03 [INFO] Stock Management OMOD [jar] build 15-Oct-2025 17:30:03 [INFO] build 15-Oct-2025 17:30:03 [INFO] -----------------< org.openmrs.module:stockmanagement >----------------- build 15-Oct-2025 17:30:03 [INFO] Building Stock Management 3.0.0-SNAPSHOT [1/3] build 15-Oct-2025 17:30:03 [INFO] from pom.xml build 15-Oct-2025 17:30:03 [INFO] --------------------------------[ pom ]--------------------------------- build 15-Oct-2025 17:30:04 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml build 15-Oct-2025 17:30:04 [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml build 15-Oct-2025 17:30:04 [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml (1.4 kB at 4.4 kB/s) build 15-Oct-2025 17:30:04 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml (1.5 kB at 2.0 kB/s) build 15-Oct-2025 17:30:04 [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 15-Oct-2025 17:30:04 [INFO] Latest version of plugin org.apache.maven.plugins:maven-compiler-plugin failed compatibility check build 15-Oct-2025 17:30:04 [INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-compiler-plugin build 15-Oct-2025 17:30:05 [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 15-Oct-2025 17:30:05 [INFO] Selected plugin org.apache.maven.plugins:maven-compiler-plugin:3.14.1 build 15-Oct-2025 17:30:05 [INFO] build 15-Oct-2025 17:30:05 [INFO] --- clean:3.2.0:clean (default-clean) @ stockmanagement --- build 15-Oct-2025 17:30:05 [INFO] build 15-Oct-2025 17:30:05 [INFO] ---------------< org.openmrs.module:stockmanagement-api >--------------- build 15-Oct-2025 17:30:05 [INFO] Building Stock Management API 3.0.0-SNAPSHOT [2/3] build 15-Oct-2025 17:30:05 [INFO] from api/pom.xml build 15-Oct-2025 17:30:05 [INFO] --------------------------------[ jar ]--------------------------------- build 15-Oct-2025 17:30:05 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/api/openmrs-api/2.8.0/openmrs-api-2.8.0.pom build 15-Oct-2025 17:30:05 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/api/openmrs-api/2.8.0/openmrs-api-2.8.0.pom (11 kB at 92 kB/s) build 15-Oct-2025 17:30:05 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/openmrs/2.8.0/openmrs-2.8.0.pom build 15-Oct-2025 17:30:05 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/openmrs/2.8.0/openmrs-2.8.0.pom (41 kB at 183 kB/s) build 15-Oct-2025 17:30:07 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/test/openmrs-test/2.8.0/openmrs-test-2.8.0.pom build 15-Oct-2025 17:30:08 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/test/openmrs-test/2.8.0/openmrs-test-2.8.0.pom (3.7 kB at 30 kB/s) build 15-Oct-2025 17:30:08 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/reflections/reflections/0.9.11/reflections-0.9.11.pom build 15-Oct-2025 17:30:08 [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 86 kB/s) build 15-Oct-2025 17:30:08 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/api/openmrs-api/2.8.0/openmrs-api-2.8.0.jar build 15-Oct-2025 17:30:10 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/api/openmrs-api/2.8.0/openmrs-api-2.8.0.jar (3.2 MB at 2.3 MB/s) build 15-Oct-2025 17:30:10 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/api/openmrs-api/2.8.0/openmrs-api-2.8.0-tests.jar build 15-Oct-2025 17:30:10 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/reflections/reflections/0.9.11/reflections-0.9.11.jar build 15-Oct-2025 17:30:10 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/api/openmrs-api/2.8.0/openmrs-api-2.8.0-tests.jar (2.3 MB at 5.0 MB/s) build 15-Oct-2025 17:30:10 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/reflections/reflections/0.9.11/reflections-0.9.11.jar (131 kB at 199 kB/s) build 15-Oct-2025 17:30:10 [INFO] build 15-Oct-2025 17:30:10 [INFO] --- clean:3.2.0:clean (default-clean) @ stockmanagement-api --- build 15-Oct-2025 17:30:10 [INFO] build 15-Oct-2025 17:30:10 [INFO] --- jacoco:0.8.11:prepare-agent (default) @ stockmanagement-api --- build 15-Oct-2025 17:30:11 [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 15-Oct-2025 17:30:11 [INFO] build 15-Oct-2025 17:30:11 [INFO] --- resources:3.3.1:resources (default-resources) @ stockmanagement-api --- build 15-Oct-2025 17:30:11 [INFO] Copying 6 resources from src/main/resources to target/classes build 15-Oct-2025 17:30:11 [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 15-Oct-2025 17:30:11 [INFO] build 15-Oct-2025 17:30:11 [INFO] --- compiler:3.13.0:compile (default-compile) @ stockmanagement-api --- build 15-Oct-2025 17:30:11 [INFO] Recompiling the module because of changed source code. build 15-Oct-2025 17:30:11 [INFO] Compiling 167 source files with javac [debug target 1.8] to target/classes build 15-Oct-2025 17:30:18 [WARNING] /module/api/src/main/java/org/openmrs/module/stockmanagement/api/dao/DaoBase.java:[64,115] non-varargs call of varargs method with inexact argument type for last parameter; build 15-Oct-2025 17:30:18 cast to java.lang.Class for a varargs call build 15-Oct-2025 17:30:18 cast to java.lang.Class[] for a non-varargs call and to suppress this warning build 15-Oct-2025 17:30:18 [WARNING] /module/api/src/main/java/org/openmrs/module/stockmanagement/api/dao/DaoBase.java:[65,103] non-varargs call of varargs method with inexact argument type for last parameter; build 15-Oct-2025 17:30:18 cast to java.lang.Object for a varargs call build 15-Oct-2025 17:30:18 cast to java.lang.Object[] for a non-varargs call and to suppress this warning build 15-Oct-2025 17:30:18 [WARNING] /module/api/src/main/java/org/openmrs/module/stockmanagement/api/dao/DaoBase.java:[80,118] non-varargs call of varargs method with inexact argument type for last parameter; build 15-Oct-2025 17:30:18 cast to java.lang.Class for a varargs call build 15-Oct-2025 17:30:18 cast to java.lang.Class[] for a non-varargs call and to suppress this warning build 15-Oct-2025 17:30:18 [WARNING] /module/api/src/main/java/org/openmrs/module/stockmanagement/api/dao/DaoBase.java:[81,112] non-varargs call of varargs method with inexact argument type for last parameter; build 15-Oct-2025 17:30:18 cast to java.lang.Object for a varargs call build 15-Oct-2025 17:30:18 cast to java.lang.Object[] for a non-varargs call and to suppress this warning build 15-Oct-2025 17:30:18 [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 15-Oct-2025 17:30:18 cast to java.lang.Object for a varargs call build 15-Oct-2025 17:30:18 cast to java.lang.Object[] for a non-varargs call and to suppress this warning build 15-Oct-2025 17:30:18 [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 15-Oct-2025 17:30:18 cast to java.lang.Object for a varargs call build 15-Oct-2025 17:30:18 cast to java.lang.Object[] for a non-varargs call and to suppress this warning build 15-Oct-2025 17:30:18 [INFO] /module/api/src/main/java/org/openmrs/module/stockmanagement/api/dao/DaoBase.java: Some input files use or override a deprecated API. build 15-Oct-2025 17:30:18 [INFO] /module/api/src/main/java/org/openmrs/module/stockmanagement/api/dao/DaoBase.java: Recompile with -Xlint:deprecation for details. build 15-Oct-2025 17:30:18 [INFO] build 15-Oct-2025 17:30:18 [INFO] --- resources:3.3.1:testResources (default-testResources) @ stockmanagement-api --- build 15-Oct-2025 17:30:18 [INFO] Copying 8 resources from src/test/resources to target/test-classes build 15-Oct-2025 17:30:18 [INFO] build 15-Oct-2025 17:30:18 [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ stockmanagement-api --- build 15-Oct-2025 17:30:18 [INFO] Recompiling the module because of changed dependency. build 15-Oct-2025 17:30:18 [INFO] Compiling 3 source files with javac [debug target 1.8] to target/test-classes build 15-Oct-2025 17:30:19 [INFO] /module/api/src/test/java/org/openmrs/module/stockmanagement/StockManagementServiceTest.java: Some input files use or override a deprecated API. build 15-Oct-2025 17:30:19 [INFO] /module/api/src/test/java/org/openmrs/module/stockmanagement/StockManagementServiceTest.java: Recompile with -Xlint:deprecation for details. build 15-Oct-2025 17:30:19 [INFO] build 15-Oct-2025 17:30:19 [INFO] --- surefire:3.0.0-M8:test (default-test) @ stockmanagement-api --- build 15-Oct-2025 17:30:20 [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider build 15-Oct-2025 17:30:20 [INFO] build 15-Oct-2025 17:30:20 [INFO] ------------------------------------------------------- build 15-Oct-2025 17:30:20 [INFO] T E S T S build 15-Oct-2025 17:30:20 [INFO] ------------------------------------------------------- build 15-Oct-2025 17:30:25 [INFO] Running org.openmrs.module.stockmanagement.dao.StockManagementDaoTest build 15-Oct-2025 17:30:27 INFO - StorageServiceCondition.matches(38) |2025-10-15T17:30:27,816| Selected storage type: local build 15-Oct-2025 17:30:29 INFO - StorageServiceCondition.matches(38) |2025-10-15T17:30:28,953| Selected storage type: local build 15-Oct-2025 17:30:29 INFO - StorageServiceCondition.matches(38) |2025-10-15T17:30:29,007| Selected storage type: local build 15-Oct-2025 17:30:38 WARN - JbossMarshallingModule.cacheManagerStarting(30) |2025-10-15T17:30:38,291| ISPN000554: jboss-marshalling is deprecated and planned for removal build 15-Oct-2025 17:30:48 WARN - JbossMarshallingModule.cacheManagerStarting(30) |2025-10-15T17:30:48,579| ISPN000554: jboss-marshalling is deprecated and planned for removal build 15-Oct-2025 17:31:02 [INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.686 s - in org.openmrs.module.stockmanagement.dao.StockManagementDaoTest build 15-Oct-2025 17:31:02 [INFO] Running org.openmrs.module.stockmanagement.StockManagementServiceTest build 15-Oct-2025 17:31:04 WARN - HibernateSchedulerDAO.getTaskByName(105) |2025-10-15T17:31:04,875| Task 'Asynchronous Report Generation And Batch Jobs' not found build 15-Oct-2025 17:31:04 WARN - TimerSchedulerServiceImpl.getTaskByName(397) |2025-10-15T17:31:04,877| getTaskByName(Asynchronous Report Generation And Batch Jobs) failed, because: org.springframework.orm.ObjectRetrievalFailureException: Object of class [org.openmrs.scheduler.TaskDefinition] with identifier [Asynchronous Report Generation And Batch Jobs]: not found build 15-Oct-2025 17:31:05 STOCK: executing query: SELECT sit.dateCreated as dateCreated, build 15-Oct-2025 17:31:05 sit.uuid as uuid, build 15-Oct-2025 17:31:05 sit.party.id as partyId, build 15-Oct-2025 17:31:05 p.uuid as partyUuid, build 15-Oct-2025 17:31:05 sit.stockItem.id as stockItemId, build 15-Oct-2025 17:31:05 si.uuid as stockItemUuid, build 15-Oct-2025 17:31:05 sipu.uuid as stockItemPackagingUOMUuid, build 15-Oct-2025 17:31:05 sipu.packagingUom.conceptId as packagingUoMId, build 15-Oct-2025 17:31:05 sb.uuid as stockBatchUuid, build 15-Oct-2025 17:31:05 sb.batchNo as stockBatchNo, build 15-Oct-2025 17:31:05 sb.expiration as expiration, build 15-Oct-2025 17:31:05 so.uuid as stockOperationUuid, build 15-Oct-2025 17:31:05 so.status as stockOperationStatus, build 15-Oct-2025 17:31:05 so.operationNumber as stockOperationNumber, build 15-Oct-2025 17:31:05 sot.name as stockOperationTypeName, build 15-Oct-2025 17:31:05 sit.quantity as quantity,sit.patient.id as patientId, sit.order.orderId as orderId, sit.encounter.encounterId as encounterId, build 15-Oct-2025 17:31:05 so.source.id as operationSourcePartyId, so.destination.id as operationDestinationPartyId build 15-Oct-2025 17:31:05 from stockmanagement.StockItemTransaction sit join build 15-Oct-2025 17:31:05 sit.stockItem si left join sit.party p left join build 15-Oct-2025 17:31:05 sit.stockBatch sb left join build 15-Oct-2025 17:31:05 sit.stockItemPackagingUOM sipu left join build 15-Oct-2025 17:31:05 sit.stockOperation so left join so.stockOperationType sot where (sit.party.id = :partyId) AND (sit.stockItem.id = :stockItemId) build 15-Oct-2025 17:31:05 Got patient id as: 2 build 15-Oct-2025 17:31:05 Got patient uuid as: da7f524f-27ce-4bb2-86d6-6d1d05312bd5 build 15-Oct-2025 17:31:05 Got patient id as: 2 build 15-Oct-2025 17:31:05 Got patient uuid as: da7f524f-27ce-4bb2-86d6-6d1d05312bd5 build 15-Oct-2025 17:31:05 Got patient id as: null build 15-Oct-2025 17:31:05 Got patient id as: null build 15-Oct-2025 17:31:05 Got patient id as: null build 15-Oct-2025 17:31:06 STOCK: executing query: SELECT sit.dateCreated as dateCreated, build 15-Oct-2025 17:31:06 sit.uuid as uuid, build 15-Oct-2025 17:31:06 sit.party.id as partyId, build 15-Oct-2025 17:31:06 p.uuid as partyUuid, build 15-Oct-2025 17:31:06 sit.stockItem.id as stockItemId, build 15-Oct-2025 17:31:06 si.uuid as stockItemUuid, build 15-Oct-2025 17:31:06 sipu.uuid as stockItemPackagingUOMUuid, build 15-Oct-2025 17:31:06 sipu.packagingUom.conceptId as packagingUoMId, build 15-Oct-2025 17:31:06 sb.uuid as stockBatchUuid, build 15-Oct-2025 17:31:06 sb.batchNo as stockBatchNo, build 15-Oct-2025 17:31:06 sb.expiration as expiration, build 15-Oct-2025 17:31:06 so.uuid as stockOperationUuid, build 15-Oct-2025 17:31:06 so.status as stockOperationStatus, build 15-Oct-2025 17:31:06 so.operationNumber as stockOperationNumber, build 15-Oct-2025 17:31:06 sot.name as stockOperationTypeName, build 15-Oct-2025 17:31:06 sit.quantity as quantity,sit.patient.id as patientId, sit.order.orderId as orderId, sit.encounter.encounterId as encounterId, build 15-Oct-2025 17:31:06 so.source.id as operationSourcePartyId, so.destination.id as operationDestinationPartyId build 15-Oct-2025 17:31:06 from stockmanagement.StockItemTransaction sit join build 15-Oct-2025 17:31:06 sit.stockItem si left join sit.party p left join build 15-Oct-2025 17:31:06 sit.stockBatch sb left join build 15-Oct-2025 17:31:06 sit.stockItemPackagingUOM sipu left join build 15-Oct-2025 17:31:06 sit.stockOperation so left join so.stockOperationType sot where (sit.stockItem.id = :stockItemId) build 15-Oct-2025 17:31:06 Got patient id as: 2 build 15-Oct-2025 17:31:06 Got patient uuid as: da7f524f-27ce-4bb2-86d6-6d1d05312bd5 build 15-Oct-2025 17:31:06 STOCK: executing query: SELECT sit.dateCreated as dateCreated, build 15-Oct-2025 17:31:06 sit.uuid as uuid, build 15-Oct-2025 17:31:06 sit.party.id as partyId, build 15-Oct-2025 17:31:06 p.uuid as partyUuid, build 15-Oct-2025 17:31:06 sit.stockItem.id as stockItemId, build 15-Oct-2025 17:31:06 si.uuid as stockItemUuid, build 15-Oct-2025 17:31:06 sipu.uuid as stockItemPackagingUOMUuid, build 15-Oct-2025 17:31:06 sipu.packagingUom.conceptId as packagingUoMId, build 15-Oct-2025 17:31:06 sb.uuid as stockBatchUuid, build 15-Oct-2025 17:31:06 sb.batchNo as stockBatchNo, build 15-Oct-2025 17:31:06 sb.expiration as expiration, build 15-Oct-2025 17:31:06 so.uuid as stockOperationUuid, build 15-Oct-2025 17:31:06 so.status as stockOperationStatus, build 15-Oct-2025 17:31:06 so.operationNumber as stockOperationNumber, build 15-Oct-2025 17:31:06 sot.name as stockOperationTypeName, build 15-Oct-2025 17:31:06 sit.quantity as quantity,sit.patient.id as patientId, sit.order.orderId as orderId, sit.encounter.encounterId as encounterId, build 15-Oct-2025 17:31:06 so.source.id as operationSourcePartyId, so.destination.id as operationDestinationPartyId build 15-Oct-2025 17:31:06 from stockmanagement.StockItemTransaction sit join build 15-Oct-2025 17:31:06 sit.stockItem si left join sit.party p left join build 15-Oct-2025 17:31:06 sit.stockBatch sb left join build 15-Oct-2025 17:31:06 sit.stockItemPackagingUOM sipu left join build 15-Oct-2025 17:31:06 sit.stockOperation so left join so.stockOperationType sot where (sit.uuid = :uuid) build 15-Oct-2025 17:31:06 Got patient id as: 2 build 15-Oct-2025 17:31:06 Got patient uuid as: da7f524f-27ce-4bb2-86d6-6d1d05312bd5 build 15-Oct-2025 17:31:10 [INFO] Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.473 s - in org.openmrs.module.stockmanagement.StockManagementServiceTest build 15-Oct-2025 17:31:11 [INFO] build 15-Oct-2025 17:31:11 [INFO] Results: build 15-Oct-2025 17:31:11 [INFO] build 15-Oct-2025 17:31:11 [INFO] Tests run: 46, Failures: 0, Errors: 0, Skipped: 0 build 15-Oct-2025 17:31:11 [INFO] build 15-Oct-2025 17:31:11 [INFO] build 15-Oct-2025 17:31:11 [INFO] --- jacoco:0.8.11:report (report) @ stockmanagement-api --- build 15-Oct-2025 17:31:11 [INFO] Loading execution data file /module/api/target/jacoco.exec build 15-Oct-2025 17:31:12 [INFO] Analyzed bundle 'Stock Management API' with 186 classes build 15-Oct-2025 17:31:12 [INFO] build 15-Oct-2025 17:31:12 [INFO] --- jar:3.4.1:jar (default-jar) @ stockmanagement-api --- build 15-Oct-2025 17:31:13 [INFO] Building jar: /module/api/target/stockmanagement-api-3.0.0-SNAPSHOT.jar build 15-Oct-2025 17:31:13 [INFO] build 15-Oct-2025 17:31:13 [INFO] --------------< org.openmrs.module:stockmanagement-omod >--------------- build 15-Oct-2025 17:31:13 [INFO] Building Stock Management OMOD 3.0.0-SNAPSHOT [3/3] build 15-Oct-2025 17:31:13 [INFO] from omod/pom.xml build 15-Oct-2025 17:31:13 [INFO] --------------------------------[ jar ]--------------------------------- build 15-Oct-2025 17:31:13 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/web/openmrs-web/2.8.0/openmrs-web-2.8.0.pom build 15-Oct-2025 17:31:13 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/web/openmrs-web/2.8.0/openmrs-web-2.8.0.pom (5.9 kB at 49 kB/s) build 15-Oct-2025 17:31:14 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/module/webservices.rest-omod/3.0.0-SNAPSHOT/maven-metadata.xml build 15-Oct-2025 17:31:14 [INFO] Downloading from central: https://repo1.maven.org/maven2/org/openmrs/module/webservices.rest-omod/3.0.0-SNAPSHOT/maven-metadata.xml build 15-Oct-2025 17:31:14 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/module/webservices.rest-omod/3.0.0-SNAPSHOT/maven-metadata.xml (1.0 kB at 8.7 kB/s) build 15-Oct-2025 17:31:14 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/module/webservices.rest/3.0.0-SNAPSHOT/maven-metadata.xml build 15-Oct-2025 17:31:14 [INFO] Downloading from central: https://repo1.maven.org/maven2/org/openmrs/module/webservices.rest/3.0.0-SNAPSHOT/maven-metadata.xml build 15-Oct-2025 17:31:14 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/module/webservices.rest/3.0.0-SNAPSHOT/maven-metadata.xml (611 B at 5.0 kB/s) build 15-Oct-2025 17:31:14 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/module/webservices.rest-omod-common/3.0.0-SNAPSHOT/maven-metadata.xml build 15-Oct-2025 17:31:14 [INFO] Downloading from central: https://repo1.maven.org/maven2/org/openmrs/module/webservices.rest-omod-common/3.0.0-SNAPSHOT/maven-metadata.xml build 15-Oct-2025 17:31:14 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/module/webservices.rest-omod-common/3.0.0-SNAPSHOT/maven-metadata.xml (1.0 kB at 8.6 kB/s) build 15-Oct-2025 17:31:14 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/web/openmrs-web/2.8.0/openmrs-web-2.8.0.jar build 15-Oct-2025 17:31:15 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/web/openmrs-web/2.8.0/openmrs-web-2.8.0.jar (183 kB at 431 kB/s) build 15-Oct-2025 17:31:15 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/web/openmrs-web/2.8.0/openmrs-web-2.8.0-tests.jar build 15-Oct-2025 17:31:15 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/web/openmrs-web/2.8.0/openmrs-web-2.8.0-tests.jar (49 kB at 420 kB/s) build 15-Oct-2025 17:31:15 [INFO] build 15-Oct-2025 17:31:15 [INFO] --- clean:3.2.0:clean (default-clean) @ stockmanagement-omod --- build 15-Oct-2025 17:31:15 [INFO] build 15-Oct-2025 17:31:15 [INFO] --- jacoco:0.8.11:prepare-agent (default) @ stockmanagement-omod --- build 15-Oct-2025 17:31:15 [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 15-Oct-2025 17:31:15 [INFO] build 15-Oct-2025 17:31:15 [INFO] --- resources:3.3.1:resources (default-resources) @ stockmanagement-omod --- build 15-Oct-2025 17:31:15 [INFO] Copying 3 resources from src/main/resources to target/classes build 15-Oct-2025 17:31:15 [INFO] build 15-Oct-2025 17:31:15 [INFO] --- compiler:3.13.0:compile (default-compile) @ stockmanagement-omod --- build 15-Oct-2025 17:31:15 [INFO] Recompiling the module because of changed dependency. build 15-Oct-2025 17:31:15 [INFO] Compiling 38 source files with javac [debug target 1.8] to target/classes build 15-Oct-2025 17:31:16 [INFO] build 15-Oct-2025 17:31:16 [INFO] --- resources:3.3.1:testResources (default-testResources) @ stockmanagement-omod --- build 15-Oct-2025 17:31:16 [INFO] skip non existing resourceDirectory /module/omod/src/test/resources build 15-Oct-2025 17:31:16 [INFO] build 15-Oct-2025 17:31:16 [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ stockmanagement-omod --- build 15-Oct-2025 17:31:16 [INFO] No sources to compile build 15-Oct-2025 17:31:16 [INFO] build 15-Oct-2025 17:31:16 [INFO] --- surefire:3.0.0-M8:test (default-test) @ stockmanagement-omod --- build 15-Oct-2025 17:31:16 [INFO] No tests to run. build 15-Oct-2025 17:31:16 [INFO] build 15-Oct-2025 17:31:16 [INFO] --- jacoco:0.8.11:report (report) @ stockmanagement-omod --- build 15-Oct-2025 17:31:16 [INFO] Skipping JaCoCo execution due to missing execution data file. build 15-Oct-2025 17:31:16 [INFO] build 15-Oct-2025 17:31:16 [INFO] --- jar:3.4.1:jar (default-jar) @ stockmanagement-omod --- build 15-Oct-2025 17:31:16 [INFO] Building jar: /module/omod/target/stockmanagement-3.0.0-SNAPSHOT.jar build 15-Oct-2025 17:31:16 [INFO] build 15-Oct-2025 17:31:16 [INFO] --- openmrs:1.0.1:package-module (pack) @ stockmanagement-omod --- build 15-Oct-2025 17:31:16 [INFO] Packaging OpenMRS module build 15-Oct-2025 17:31:16 [INFO] Building jar: /module/omod/target/stockmanagement-3.0.0-SNAPSHOT.omod build 15-Oct-2025 17:31:17 [INFO] ------------------------------------------------------------------------ build 15-Oct-2025 17:31:17 [INFO] Reactor Summary for Stock Management 3.0.0-SNAPSHOT: build 15-Oct-2025 17:31:17 [INFO] build 15-Oct-2025 17:31:17 [INFO] Stock Management ................................... SUCCESS [ 1.351 s] build 15-Oct-2025 17:31:17 [INFO] Stock Management API ............................... SUCCESS [01:08 min] build 15-Oct-2025 17:31:17 [INFO] Stock Management OMOD .............................. SUCCESS [ 3.379 s] build 15-Oct-2025 17:31:17 [INFO] ------------------------------------------------------------------------ build 15-Oct-2025 17:31:17 [INFO] BUILD SUCCESS build 15-Oct-2025 17:31:17 [INFO] ------------------------------------------------------------------------ build 15-Oct-2025 17:31:17 [INFO] Total time: 01:13 min build 15-Oct-2025 17:31:17 [INFO] Finished at: 2025-10-15T17:31:17Z build 15-Oct-2025 17:31:17 [INFO] ------------------------------------------------------------------------ simple 15-Oct-2025 17:31:17 Finished task 'Build and test' with result: Success simple 15-Oct-2025 17:31:17 Running post build plugin 'Docker Container Cleanup' simple 15-Oct-2025 17:31:17 Running post build plugin 'NCover Results Collector' simple 15-Oct-2025 17:31:17 Running post build plugin 'Build Results Label Collector' simple 15-Oct-2025 17:31:17 Running post build plugin 'Clover Results Collector' simple 15-Oct-2025 17:31:17 Running post build plugin 'npm Cache Cleanup' simple 15-Oct-2025 17:31:17 Running post build plugin 'Artifact Copier' simple 15-Oct-2025 17:31:17 Finalising the build... simple 15-Oct-2025 17:31:17 Stopping timer. simple 15-Oct-2025 17:31:17 Build SMGT-STOC-BTJ8-32 completed. simple 15-Oct-2025 17:31:17 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 15-Oct-2025 17:31:17 Running on server: post build plugin 'NCover Results Collector' simple 15-Oct-2025 17:31:17 Running on server: post build plugin 'Build Labeller' simple 15-Oct-2025 17:31:17 Running on server: post build plugin 'Clover Delta Calculator' simple 15-Oct-2025 17:31:17 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 15-Oct-2025 17:31:17 All post build plugins have finished simple 15-Oct-2025 17:31:17 Generating build results summary... simple 15-Oct-2025 17:31:17 Saving build results to disk... simple 15-Oct-2025 17:31:17 Store variable context... simple 15-Oct-2025 17:31:17 Finished building SMGT-STOC-BTJ8-32.