Release Plan for stock management

Build: #32 was successful

Job: Build and Test JDK 8 was successful

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Build log

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

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
15-Oct-2025 17:29:42 Remote agent on host xiao.openmrs.org
15-Oct-2025 17:29:42 Build working directory is /data/bamboo-agent/xml-data/build-dir/SMGT-STOC-BTJ8
15-Oct-2025 17:29:42 Executing build Stock Management - Stock Management - Build and Test JDK 8 #32 (SMGT-STOC-BTJ8-32)
15-Oct-2025 17:29:42 Starting task 'Checkout default repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
15-Oct-2025 17:29:42 Checking out into /data/bamboo-agent/xml-data/build-dir/SMGT-STOC-BTJ8
15-Oct-2025 17:29:42 Updating source code to revision: 0a39cefaff85fcfc889c4a287494076a501d5acf
15-Oct-2025 17:29:42 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/SMGT-STOC-BTJ8/.git'.
15-Oct-2025 17:29:42 hint: Using 'master' as the name for the initial branch. This default branch name
15-Oct-2025 17:29:42 hint: is subject to change. To configure the initial branch name to use in all
15-Oct-2025 17:29:42 hint: of your new repositories, which will suppress this warning, call:
15-Oct-2025 17:29:42 hint:
15-Oct-2025 17:29:42 hint:         git config --global init.defaultBranch <name>
15-Oct-2025 17:29:42 hint:
15-Oct-2025 17:29:42 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
15-Oct-2025 17:29:42 hint: 'development'. The just-created branch can be renamed via this command:
15-Oct-2025 17:29:42 hint:
15-Oct-2025 17:29:42 hint:         git branch -m <name>
15-Oct-2025 17:29:42 Initialized empty Git repository in /data/bamboo-agent/xml-data/build-dir/SMGT-STOC-BTJ8/.git/
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.'.
15-Oct-2025 17:29:43 Checking out revision 0a39cefaff85fcfc889c4a287494076a501d5acf.
15-Oct-2025 17:29:43 Already on 'master'
15-Oct-2025 17:29:43 Updated source code to revision: 0a39cefaff85fcfc889c4a287494076a501d5acf
15-Oct-2025 17:29:43 Finished task 'Checkout default repository' with result: Success
15-Oct-2025 17:29:43 Running pre-build action: Build Log Labeller Pre Build Action
15-Oct-2025 17:29:43 Running pre-build action: VCS Version Collector
15-Oct-2025 17:29:43 Running pre-build action: Run Predator
15-Oct-2025 17:29:43 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
15-Oct-2025 17:29:43 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
15-Oct-2025 17:29:43 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
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
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/
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
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
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root         99Mb    9Mb 00:01:04 /sbin/init             
15-Oct-2025 17:29:44 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Initial free space: 72.270355 GB
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM227-BTJ8
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REGAPP-REGAPP-DTM
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-DTM
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-BTJ17
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-BTJ17
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/BM-BMM-DTM
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/BILL-BILL-BTJ8
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/DM-DM-DTM
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-DTM
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM227-DTM
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-BTJ8
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-DTM
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-DTM
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-RTMVN
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP0-BTJ21
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-DTM
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/METAM-METAM-BTJ8
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OP-OP28-RTM
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-DTM
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/SDK-SDKL-RTM
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OCLM-OCLM-RTM
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-BTJ17
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/META-META-DTM
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/QM-QUEUE-RTM
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM2-DTM
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-BTJ11
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP0-BTJ24
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI3-DTM
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OP-OP28-BS
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OENV-RU-JOB1
15-Oct-2025 17:29:44 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-RTM
15-Oct-2025 17:29:45 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository
15-Oct-2025 17:29:45 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
15-Oct-2025 17:29:46 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
15-Oct-2025 17:29:47 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
15-Oct-2025 17:29:47 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
15-Oct-2025 17:29:47 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
15-Oct-2025 17:29:47 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
15-Oct-2025 17:29:47 [PredatorPreBuildAction] Final free space: 72.27034 GB
15-Oct-2025 17:29:47 [PredatorPreBuildAction] Done
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)
15-Oct-2025 17:29:47 Starting task 'Build and test' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
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)'
... running command line:
/data/bamboo-agent/temp/SMGT-STOC-BTJ8-32-ScriptBuildTask-3495675691938626680.sh
... in: /data/bamboo-agent/xml-data/build-dir/SMGT-STOC-BTJ8
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 .'
15-Oct-2025 17:29:47 Unable to find image 'maven:3.9.9-amazoncorretto-8' locally
15-Oct-2025 17:29:47 3.9.9-amazoncorretto-8: Pulling from library/maven
15-Oct-2025 17:29:47 c93eb42fc1cb: Pulling fs layer
15-Oct-2025 17:29:47 6edc54ec3599: Pulling fs layer
15-Oct-2025 17:29:47 cbe058925e52: Pulling fs layer
15-Oct-2025 17:29:47 07ecf17abb6a: Pulling fs layer
15-Oct-2025 17:29:47 a058b4210493: Pulling fs layer
15-Oct-2025 17:29:47 fa38e8bc34b4: Pulling fs layer
15-Oct-2025 17:29:47 4f4fb700ef54: Pulling fs layer
15-Oct-2025 17:29:47 f32aca46cbdf: Pulling fs layer
15-Oct-2025 17:29:47 07ecf17abb6a: Waiting
15-Oct-2025 17:29:47 a058b4210493: Waiting
15-Oct-2025 17:29:47 fa38e8bc34b4: Waiting
15-Oct-2025 17:29:47 4f4fb700ef54: Waiting
15-Oct-2025 17:29:47 f32aca46cbdf: Waiting
15-Oct-2025 17:29:48 c93eb42fc1cb: Verifying Checksum
15-Oct-2025 17:29:48 c93eb42fc1cb: Download complete
15-Oct-2025 17:29:49 6edc54ec3599: Verifying Checksum
15-Oct-2025 17:29:49 6edc54ec3599: Download complete
15-Oct-2025 17:29:49 07ecf17abb6a: Verifying Checksum
15-Oct-2025 17:29:49 07ecf17abb6a: Download complete
15-Oct-2025 17:29:49 a058b4210493: Verifying Checksum
15-Oct-2025 17:29:49 a058b4210493: Download complete
15-Oct-2025 17:29:49 4f4fb700ef54: Verifying Checksum
15-Oct-2025 17:29:49 4f4fb700ef54: Download complete
15-Oct-2025 17:29:49 fa38e8bc34b4: Verifying Checksum
15-Oct-2025 17:29:49 fa38e8bc34b4: Download complete
15-Oct-2025 17:29:49 f32aca46cbdf: Verifying Checksum
15-Oct-2025 17:29:49 f32aca46cbdf: Download complete
15-Oct-2025 17:29:50 cbe058925e52: Verifying Checksum
15-Oct-2025 17:29:50 cbe058925e52: Download complete
15-Oct-2025 17:29:52 c93eb42fc1cb: Pull complete
15-Oct-2025 17:29:54 6edc54ec3599: Pull complete
15-Oct-2025 17:29:58 cbe058925e52: Pull complete
15-Oct-2025 17:30:00 07ecf17abb6a: Pull complete
15-Oct-2025 17:30:00 a058b4210493: Pull complete
15-Oct-2025 17:30:00 fa38e8bc34b4: Pull complete
15-Oct-2025 17:30:00 4f4fb700ef54: Pull complete
15-Oct-2025 17:30:00 f32aca46cbdf: Pull complete
15-Oct-2025 17:30:00 Digest: sha256:1f67afafc8ff766a0ba4b0fa389054cf57083ed4a067a3c6a2126e9ddeb927f8
15-Oct-2025 17:30:00 Status: Downloaded newer image for maven:3.9.9-amazoncorretto-8
15-Oct-2025 17:30:03 [INFO] Scanning for projects...
15-Oct-2025 17:30:03 [INFO] ------------------------------------------------------------------------
15-Oct-2025 17:30:03 [INFO] Reactor Build Order:
15-Oct-2025 17:30:03 [INFO]
15-Oct-2025 17:30:03 [INFO] Stock Management                                                   [pom]
15-Oct-2025 17:30:03 [INFO] Stock Management API                                               [jar]
15-Oct-2025 17:30:03 [INFO] Stock Management OMOD                                              [jar]
15-Oct-2025 17:30:03 [INFO]
15-Oct-2025 17:30:03 [INFO] -----------------< org.openmrs.module:stockmanagement >-----------------
15-Oct-2025 17:30:03 [INFO] Building Stock Management 3.0.0-SNAPSHOT                           [1/3]
15-Oct-2025 17:30:03 [INFO]   from pom.xml
15-Oct-2025 17:30:03 [INFO] --------------------------------[ pom ]---------------------------------
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
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
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)
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)
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
15-Oct-2025 17:30:04 [INFO] Latest version of plugin org.apache.maven.plugins:maven-compiler-plugin failed compatibility check
15-Oct-2025 17:30:04 [INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-compiler-plugin
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
15-Oct-2025 17:30:05 [INFO] Selected plugin org.apache.maven.plugins:maven-compiler-plugin:3.14.1
15-Oct-2025 17:30:05 [INFO]
15-Oct-2025 17:30:05 [INFO] --- clean:3.2.0:clean (default-clean) @ stockmanagement ---
15-Oct-2025 17:30:05 [INFO]
15-Oct-2025 17:30:05 [INFO] ---------------< org.openmrs.module:stockmanagement-api >---------------
15-Oct-2025 17:30:05 [INFO] Building Stock Management API 3.0.0-SNAPSHOT                       [2/3]
15-Oct-2025 17:30:05 [INFO]   from api/pom.xml
15-Oct-2025 17:30:05 [INFO] --------------------------------[ jar ]---------------------------------
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
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)
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
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)
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
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)
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
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)
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
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)
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
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
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)
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)
15-Oct-2025 17:30:10 [INFO]
15-Oct-2025 17:30:10 [INFO] --- clean:3.2.0:clean (default-clean) @ stockmanagement-api ---
15-Oct-2025 17:30:10 [INFO]
15-Oct-2025 17:30:10 [INFO] --- jacoco:0.8.11:prepare-agent (default) @ stockmanagement-api ---
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
15-Oct-2025 17:30:11 [INFO]
15-Oct-2025 17:30:11 [INFO] --- resources:3.3.1:resources (default-resources) @ stockmanagement-api ---
15-Oct-2025 17:30:11 [INFO] Copying 6 resources from src/main/resources to target/classes
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
15-Oct-2025 17:30:11 [INFO]
15-Oct-2025 17:30:11 [INFO] --- compiler:3.13.0:compile (default-compile) @ stockmanagement-api ---
15-Oct-2025 17:30:11 [INFO] Recompiling the module because of changed source code.
15-Oct-2025 17:30:11 [INFO] Compiling 167 source files with javac [debug target 1.8] to target/classes
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;
15-Oct-2025 17:30:18   cast to java.lang.Class<?> for a varargs call
15-Oct-2025 17:30:18   cast to java.lang.Class<?>[] for a non-varargs call and to suppress this warning
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;
15-Oct-2025 17:30:18   cast to java.lang.Object for a varargs call
15-Oct-2025 17:30:18   cast to java.lang.Object[] for a non-varargs call and to suppress this warning
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;
15-Oct-2025 17:30:18   cast to java.lang.Class<?> for a varargs call
15-Oct-2025 17:30:18   cast to java.lang.Class<?>[] for a non-varargs call and to suppress this warning
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;
15-Oct-2025 17:30:18   cast to java.lang.Object for a varargs call
15-Oct-2025 17:30:18   cast to java.lang.Object[] for a non-varargs call and to suppress this warning
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;
15-Oct-2025 17:30:18   cast to java.lang.Object for a varargs call
15-Oct-2025 17:30:18   cast to java.lang.Object[] for a non-varargs call and to suppress this warning
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;
15-Oct-2025 17:30:18   cast to java.lang.Object for a varargs call
15-Oct-2025 17:30:18   cast to java.lang.Object[] for a non-varargs call and to suppress this warning
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.
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.
15-Oct-2025 17:30:18 [INFO]
15-Oct-2025 17:30:18 [INFO] --- resources:3.3.1:testResources (default-testResources) @ stockmanagement-api ---
15-Oct-2025 17:30:18 [INFO] Copying 8 resources from src/test/resources to target/test-classes
15-Oct-2025 17:30:18 [INFO]
15-Oct-2025 17:30:18 [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ stockmanagement-api ---
15-Oct-2025 17:30:18 [INFO] Recompiling the module because of changed dependency.
15-Oct-2025 17:30:18 [INFO] Compiling 3 source files with javac [debug target 1.8] to target/test-classes
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.
15-Oct-2025 17:30:19 [INFO] /module/api/src/test/java/org/openmrs/module/stockmanagement/StockManagementServiceTest.java: Recompile with -Xlint:deprecation for details.
15-Oct-2025 17:30:19 [INFO]
15-Oct-2025 17:30:19 [INFO] --- surefire:3.0.0-M8:test (default-test) @ stockmanagement-api ---
15-Oct-2025 17:30:20 [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
15-Oct-2025 17:30:20 [INFO]
15-Oct-2025 17:30:20 [INFO] -------------------------------------------------------
15-Oct-2025 17:30:20 [INFO]  T E S T S
15-Oct-2025 17:30:20 [INFO] -------------------------------------------------------
15-Oct-2025 17:30:25 [INFO] Running org.openmrs.module.stockmanagement.dao.StockManagementDaoTest
15-Oct-2025 17:30:27 INFO - StorageServiceCondition.matches(38) |2025-10-15T17:30:27,816| Selected storage type: local
15-Oct-2025 17:30:29 INFO - StorageServiceCondition.matches(38) |2025-10-15T17:30:28,953| Selected storage type: local
15-Oct-2025 17:30:29 INFO - StorageServiceCondition.matches(38) |2025-10-15T17:30:29,007| Selected storage type: local
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
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
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
15-Oct-2025 17:31:02 [INFO] Running org.openmrs.module.stockmanagement.StockManagementServiceTest
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
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
15-Oct-2025 17:31:05 STOCK: executing query: SELECT sit.dateCreated as dateCreated,
15-Oct-2025 17:31:05 sit.uuid as uuid,
15-Oct-2025 17:31:05 sit.party.id as partyId,
15-Oct-2025 17:31:05 p.uuid as partyUuid,
15-Oct-2025 17:31:05 sit.stockItem.id as stockItemId,
15-Oct-2025 17:31:05 si.uuid as stockItemUuid,
15-Oct-2025 17:31:05 sipu.uuid as stockItemPackagingUOMUuid,
15-Oct-2025 17:31:05 sipu.packagingUom.conceptId as packagingUoMId,
15-Oct-2025 17:31:05 sb.uuid as stockBatchUuid,
15-Oct-2025 17:31:05 sb.batchNo as stockBatchNo,
15-Oct-2025 17:31:05 sb.expiration as expiration,
15-Oct-2025 17:31:05 so.uuid as stockOperationUuid,
15-Oct-2025 17:31:05 so.status as stockOperationStatus,
15-Oct-2025 17:31:05 so.operationNumber as stockOperationNumber,
15-Oct-2025 17:31:05 sot.name as stockOperationTypeName,
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,
15-Oct-2025 17:31:05 so.source.id as operationSourcePartyId, so.destination.id as operationDestinationPartyId
15-Oct-2025 17:31:05 from stockmanagement.StockItemTransaction sit join
15-Oct-2025 17:31:05          sit.stockItem si left join sit.party p left join
15-Oct-2025 17:31:05 sit.stockBatch sb left join
15-Oct-2025 17:31:05 sit.stockItemPackagingUOM sipu left join
15-Oct-2025 17:31:05 sit.stockOperation so left join so.stockOperationType sot where (sit.party.id = :partyId) AND (sit.stockItem.id = :stockItemId)
15-Oct-2025 17:31:05 Got patient id as: 2
15-Oct-2025 17:31:05 Got patient uuid as: da7f524f-27ce-4bb2-86d6-6d1d05312bd5
15-Oct-2025 17:31:05 Got patient id as: 2
15-Oct-2025 17:31:05 Got patient uuid as: da7f524f-27ce-4bb2-86d6-6d1d05312bd5
15-Oct-2025 17:31:05 Got patient id as: null
15-Oct-2025 17:31:05 Got patient id as: null
15-Oct-2025 17:31:05 Got patient id as: null
15-Oct-2025 17:31:06 STOCK: executing query: SELECT sit.dateCreated as dateCreated,
15-Oct-2025 17:31:06 sit.uuid as uuid,
15-Oct-2025 17:31:06 sit.party.id as partyId,
15-Oct-2025 17:31:06 p.uuid as partyUuid,
15-Oct-2025 17:31:06 sit.stockItem.id as stockItemId,
15-Oct-2025 17:31:06 si.uuid as stockItemUuid,
15-Oct-2025 17:31:06 sipu.uuid as stockItemPackagingUOMUuid,
15-Oct-2025 17:31:06 sipu.packagingUom.conceptId as packagingUoMId,
15-Oct-2025 17:31:06 sb.uuid as stockBatchUuid,
15-Oct-2025 17:31:06 sb.batchNo as stockBatchNo,
15-Oct-2025 17:31:06 sb.expiration as expiration,
15-Oct-2025 17:31:06 so.uuid as stockOperationUuid,
15-Oct-2025 17:31:06 so.status as stockOperationStatus,
15-Oct-2025 17:31:06 so.operationNumber as stockOperationNumber,
15-Oct-2025 17:31:06 sot.name as stockOperationTypeName,
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,
15-Oct-2025 17:31:06 so.source.id as operationSourcePartyId, so.destination.id as operationDestinationPartyId
15-Oct-2025 17:31:06 from stockmanagement.StockItemTransaction sit join
15-Oct-2025 17:31:06          sit.stockItem si left join sit.party p left join
15-Oct-2025 17:31:06 sit.stockBatch sb left join
15-Oct-2025 17:31:06 sit.stockItemPackagingUOM sipu left join
15-Oct-2025 17:31:06 sit.stockOperation so left join so.stockOperationType sot where (sit.stockItem.id = :stockItemId)
15-Oct-2025 17:31:06 Got patient id as: 2
15-Oct-2025 17:31:06 Got patient uuid as: da7f524f-27ce-4bb2-86d6-6d1d05312bd5
15-Oct-2025 17:31:06 STOCK: executing query: SELECT sit.dateCreated as dateCreated,
15-Oct-2025 17:31:06 sit.uuid as uuid,
15-Oct-2025 17:31:06 sit.party.id as partyId,
15-Oct-2025 17:31:06 p.uuid as partyUuid,
15-Oct-2025 17:31:06 sit.stockItem.id as stockItemId,
15-Oct-2025 17:31:06 si.uuid as stockItemUuid,
15-Oct-2025 17:31:06 sipu.uuid as stockItemPackagingUOMUuid,
15-Oct-2025 17:31:06 sipu.packagingUom.conceptId as packagingUoMId,
15-Oct-2025 17:31:06 sb.uuid as stockBatchUuid,
15-Oct-2025 17:31:06 sb.batchNo as stockBatchNo,
15-Oct-2025 17:31:06 sb.expiration as expiration,
15-Oct-2025 17:31:06 so.uuid as stockOperationUuid,
15-Oct-2025 17:31:06 so.status as stockOperationStatus,
15-Oct-2025 17:31:06 so.operationNumber as stockOperationNumber,
15-Oct-2025 17:31:06 sot.name as stockOperationTypeName,
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,
15-Oct-2025 17:31:06 so.source.id as operationSourcePartyId, so.destination.id as operationDestinationPartyId
15-Oct-2025 17:31:06 from stockmanagement.StockItemTransaction sit join
15-Oct-2025 17:31:06          sit.stockItem si left join sit.party p left join
15-Oct-2025 17:31:06 sit.stockBatch sb left join
15-Oct-2025 17:31:06 sit.stockItemPackagingUOM sipu left join
15-Oct-2025 17:31:06 sit.stockOperation so left join so.stockOperationType sot where (sit.uuid = :uuid)
15-Oct-2025 17:31:06 Got patient id as: 2
15-Oct-2025 17:31:06 Got patient uuid as: da7f524f-27ce-4bb2-86d6-6d1d05312bd5
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
15-Oct-2025 17:31:11 [INFO]
15-Oct-2025 17:31:11 [INFO] Results:
15-Oct-2025 17:31:11 [INFO]
15-Oct-2025 17:31:11 [INFO] Tests run: 46, Failures: 0, Errors: 0, Skipped: 0
15-Oct-2025 17:31:11 [INFO]
15-Oct-2025 17:31:11 [INFO]
15-Oct-2025 17:31:11 [INFO] --- jacoco:0.8.11:report (report) @ stockmanagement-api ---
15-Oct-2025 17:31:11 [INFO] Loading execution data file /module/api/target/jacoco.exec
15-Oct-2025 17:31:12 [INFO] Analyzed bundle 'Stock Management API' with 186 classes
15-Oct-2025 17:31:12 [INFO]
15-Oct-2025 17:31:12 [INFO] --- jar:3.4.1:jar (default-jar) @ stockmanagement-api ---
15-Oct-2025 17:31:13 [INFO] Building jar: /module/api/target/stockmanagement-api-3.0.0-SNAPSHOT.jar
15-Oct-2025 17:31:13 [INFO]
15-Oct-2025 17:31:13 [INFO] --------------< org.openmrs.module:stockmanagement-omod >---------------
15-Oct-2025 17:31:13 [INFO] Building Stock Management OMOD 3.0.0-SNAPSHOT                      [3/3]
15-Oct-2025 17:31:13 [INFO]   from omod/pom.xml
15-Oct-2025 17:31:13 [INFO] --------------------------------[ jar ]---------------------------------
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
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)
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
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
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)
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
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
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)
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
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
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)
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
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)
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
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)
15-Oct-2025 17:31:15 [INFO]
15-Oct-2025 17:31:15 [INFO] --- clean:3.2.0:clean (default-clean) @ stockmanagement-omod ---
15-Oct-2025 17:31:15 [INFO]
15-Oct-2025 17:31:15 [INFO] --- jacoco:0.8.11:prepare-agent (default) @ stockmanagement-omod ---
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
15-Oct-2025 17:31:15 [INFO]
15-Oct-2025 17:31:15 [INFO] --- resources:3.3.1:resources (default-resources) @ stockmanagement-omod ---
15-Oct-2025 17:31:15 [INFO] Copying 3 resources from src/main/resources to target/classes
15-Oct-2025 17:31:15 [INFO]
15-Oct-2025 17:31:15 [INFO] --- compiler:3.13.0:compile (default-compile) @ stockmanagement-omod ---
15-Oct-2025 17:31:15 [INFO] Recompiling the module because of changed dependency.
15-Oct-2025 17:31:15 [INFO] Compiling 38 source files with javac [debug target 1.8] to target/classes
15-Oct-2025 17:31:16 [INFO]
15-Oct-2025 17:31:16 [INFO] --- resources:3.3.1:testResources (default-testResources) @ stockmanagement-omod ---
15-Oct-2025 17:31:16 [INFO] skip non existing resourceDirectory /module/omod/src/test/resources
15-Oct-2025 17:31:16 [INFO]
15-Oct-2025 17:31:16 [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ stockmanagement-omod ---
15-Oct-2025 17:31:16 [INFO] No sources to compile
15-Oct-2025 17:31:16 [INFO]
15-Oct-2025 17:31:16 [INFO] --- surefire:3.0.0-M8:test (default-test) @ stockmanagement-omod ---
15-Oct-2025 17:31:16 [INFO] No tests to run.
15-Oct-2025 17:31:16 [INFO]
15-Oct-2025 17:31:16 [INFO] --- jacoco:0.8.11:report (report) @ stockmanagement-omod ---
15-Oct-2025 17:31:16 [INFO] Skipping JaCoCo execution due to missing execution data file.
15-Oct-2025 17:31:16 [INFO]
15-Oct-2025 17:31:16 [INFO] --- jar:3.4.1:jar (default-jar) @ stockmanagement-omod ---
15-Oct-2025 17:31:16 [INFO] Building jar: /module/omod/target/stockmanagement-3.0.0-SNAPSHOT.jar
15-Oct-2025 17:31:16 [INFO]
15-Oct-2025 17:31:16 [INFO] --- openmrs:1.0.1:package-module (pack) @ stockmanagement-omod ---
15-Oct-2025 17:31:16 [INFO] Packaging OpenMRS module
15-Oct-2025 17:31:16 [INFO] Building jar: /module/omod/target/stockmanagement-3.0.0-SNAPSHOT.omod
15-Oct-2025 17:31:17 [INFO] ------------------------------------------------------------------------
15-Oct-2025 17:31:17 [INFO] Reactor Summary for Stock Management 3.0.0-SNAPSHOT:
15-Oct-2025 17:31:17 [INFO]
15-Oct-2025 17:31:17 [INFO] Stock Management ................................... SUCCESS [  1.351 s]
15-Oct-2025 17:31:17 [INFO] Stock Management API ............................... SUCCESS [01:08 min]
15-Oct-2025 17:31:17 [INFO] Stock Management OMOD .............................. SUCCESS [  3.379 s]
15-Oct-2025 17:31:17 [INFO] ------------------------------------------------------------------------
15-Oct-2025 17:31:17 [INFO] BUILD SUCCESS
15-Oct-2025 17:31:17 [INFO] ------------------------------------------------------------------------
15-Oct-2025 17:31:17 [INFO] Total time:  01:13 min
15-Oct-2025 17:31:17 [INFO] Finished at: 2025-10-15T17:31:17Z
15-Oct-2025 17:31:17 [INFO] ------------------------------------------------------------------------
15-Oct-2025 17:31:17 Finished task 'Build and test' with result: Success
15-Oct-2025 17:31:17 Running post build plugin 'Docker Container Cleanup'
15-Oct-2025 17:31:17 Running post build plugin 'NCover Results Collector'
15-Oct-2025 17:31:17 Running post build plugin 'Build Results Label Collector'
15-Oct-2025 17:31:17 Running post build plugin 'Clover Results Collector'
15-Oct-2025 17:31:17 Running post build plugin 'npm Cache Cleanup'
15-Oct-2025 17:31:17 Running post build plugin 'Artifact Copier'
15-Oct-2025 17:31:17 Finalising the build...
15-Oct-2025 17:31:17 Stopping timer.
15-Oct-2025 17:31:17 Build SMGT-STOC-BTJ8-32 completed.
15-Oct-2025 17:31:17 Running on server: post build plugin 'Build Hanging Detection Configuration'
15-Oct-2025 17:31:17 Running on server: post build plugin 'NCover Results Collector'
15-Oct-2025 17:31:17 Running on server: post build plugin 'Build Labeller'
15-Oct-2025 17:31:17 Running on server: post build plugin 'Clover Delta Calculator'
15-Oct-2025 17:31:17 Running on server: post build plugin 'Maven Dependencies Postprocessor'
15-Oct-2025 17:31:17 All post build plugins have finished
15-Oct-2025 17:31:17 Generating build results summary...
15-Oct-2025 17:31:17 Saving build results to disk...
15-Oct-2025 17:31:17 Store variable context...
15-Oct-2025 17:31:17 Finished building SMGT-STOC-BTJ8-32.