Release Plan for stock management

Build: #29 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 382 lines of output. Download or view full build log.

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