Platform 2.5

Build: #227 failed

Job: Integration Test failed

Stages & jobs

  1. Build

  2. Test

  3. Deploy

  4. Release

    Requires a user to start manually
  5. Release image variants

Build log

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

01-Oct-2024 22:28:46 Build OpenMRS Core - OpenMRS Core 2.5.x - Integration Test #227 (TRUNK-CORE2-IT-227) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4
01-Oct-2024 22:28:46 Remote agent on host xiao.openmrs.org
01-Oct-2024 22:28:46 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE2-IT
01-Oct-2024 22:28:46 Executing build OpenMRS Core - OpenMRS Core 2.5.x - Integration Test #227 (TRUNK-CORE2-IT-227)
01-Oct-2024 22:28:46 Starting task 'Source Code Checkout' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
01-Oct-2024 22:28:46 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE2-IT
01-Oct-2024 22:28:46 Updating source code to revision: 29de0d7fa15678d05b86d7af3028cde6cf66458d
01-Oct-2024 22:28:46 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE2-IT/.git'.
01-Oct-2024 22:28:46 hint: Using 'master' as the name for the initial branch. This default branch name
01-Oct-2024 22:28:46 hint: is subject to change. To configure the initial branch name to use in all
01-Oct-2024 22:28:46 hint: of your new repositories, which will suppress this warning, call:
01-Oct-2024 22:28:46 hint:
01-Oct-2024 22:28:46 hint:         git config --global init.defaultBranch <name>
01-Oct-2024 22:28:46 hint:
01-Oct-2024 22:28:46 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
01-Oct-2024 22:28:46 hint: 'development'. The just-created branch can be renamed via this command:
01-Oct-2024 22:28:46 hint:
01-Oct-2024 22:28:46 hint:         git branch -m <name>
01-Oct-2024 22:28:46 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE2-IT/.git/
01-Oct-2024 22:28:47 Fetching 'refs/heads/2.5.x' from 'https://github.com/openmrs/openmrs-core'. Will try to do a shallow fetch.
01-Oct-2024 22:28:48 From https://github.com/openmrs/openmrs-core
01-Oct-2024 22:28:48 * [new branch]      2.5.x      -> 2.5.x
01-Oct-2024 22:28:48 Checking out revision 29de0d7fa15678d05b86d7af3028cde6cf66458d.
01-Oct-2024 22:28:48 Switched to branch '2.5.x'
01-Oct-2024 22:28:48 Updated source code to revision: 29de0d7fa15678d05b86d7af3028cde6cf66458d
01-Oct-2024 22:28:48 Finished task 'Source Code Checkout' with result: Success
01-Oct-2024 22:28:48 Running pre-build action: Build Log Labeller Pre Build Action
01-Oct-2024 22:28:48 Running pre-build action: VCS Version Collector
01-Oct-2024 22:28:48 Running pre-build action: Run Predator
01-Oct-2024 22:28:48 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
01-Oct-2024 22:28:48 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
01-Oct-2024 22:28:48 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
01-Oct-2024 22:28:48 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
01-Oct-2024 22:28:48 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1674 java        1259 bamboo-age 3005Mb  576Mb 00:22:35 /usr/lib/jvm/java-8-ope
01-Oct-2024 22:28:48 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1259 wrapper        1 bamboo-age   16Mb    1Mb 00:05:39 /home/bamboo-agent/bamb
01-Oct-2024 22:28:48 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   12Mb 00:00:43 /sbin/init             
01-Oct-2024 22:28:48 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
01-Oct-2024 22:28:48 [PredatorPreBuildAction] Initial free space: 5.1087456 GB
01-Oct-2024 22:28:48 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE2-BUIL
01-Oct-2024 22:28:52 [PredatorPreBuildAction] Deleting 12 snapshot folders from /home/bamboo-agent/.m2/repository
01-Oct-2024 22:28:52 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
01-Oct-2024 22:28:53 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
01-Oct-2024 22:28:53 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
01-Oct-2024 22:28:53 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
01-Oct-2024 22:28:53 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
01-Oct-2024 22:28:53 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
01-Oct-2024 22:28:53 [PredatorPreBuildAction] Final free space: 5.145138 GB
01-Oct-2024 22:28:53 [PredatorPreBuildAction] Done
01-Oct-2024 22:28:53
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-core@sha256:f247757d8e3203d9bbbeaa8484ebb142e58ead82e221cfa8b954e37bf4308dc7
01-Oct-2024 22:28:53 Starting task 'Run integration tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
01-Oct-2024 22:28:53
Beginning to execute external process for build 'OpenMRS Core - OpenMRS Core 2.5.x - Integration Test #227 (TRUNK-CORE2-IT-227)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/TRUNK-CORE2-IT-227-ScriptBuildTask-6609582647088904078.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE2-IT
01-Oct-2024 22:28:53 + export IMAGE=openmrs/openmrs-core@sha256:f247757d8e3203d9bbbeaa8484ebb142e58ead82e221cfa8b954e37bf4308dc7
01-Oct-2024 22:28:53 + IMAGE=openmrs/openmrs-core@sha256:f247757d8e3203d9bbbeaa8484ebb142e58ead82e221cfa8b954e37bf4308dc7
01-Oct-2024 22:28:53 + docker pull openmrs/openmrs-core@sha256:f247757d8e3203d9bbbeaa8484ebb142e58ead82e221cfa8b954e37bf4308dc7
01-Oct-2024 22:28:53 docker.io/openmrs/openmrs-core@sha256:f247757d8e3203d9bbbeaa8484ebb142e58ead82e221cfa8b954e37bf4308dc7: Pulling from openmrs/openmrs-core
01-Oct-2024 22:28:53 Digest: sha256:f247757d8e3203d9bbbeaa8484ebb142e58ead82e221cfa8b954e37bf4308dc7
01-Oct-2024 22:28:53 Status: Image is up to date for openmrs/openmrs-core@sha256:f247757d8e3203d9bbbeaa8484ebb142e58ead82e221cfa8b954e37bf4308dc7
01-Oct-2024 22:28:53 docker.io/openmrs/openmrs-core@sha256:f247757d8e3203d9bbbeaa8484ebb142e58ead82e221cfa8b954e37bf4308dc7
01-Oct-2024 22:28:53 + docker run -v m2-repo:/root/.m2/repository --rm openmrs/openmrs-core@sha256:f247757d8e3203d9bbbeaa8484ebb142e58ead82e221cfa8b954e37bf4308dc7 mvn test -Pskip-default-test -Pintegration-test
01-Oct-2024 22:28:57 [INFO] Scanning for projects...
01-Oct-2024 22:28:57 [INFO] ------------------------------------------------------------------------
01-Oct-2024 22:28:57 [INFO] Reactor Build Order:
01-Oct-2024 22:28:57 [INFO]
01-Oct-2024 22:28:57 [INFO] OpenMRS                                                            [pom]
01-Oct-2024 22:28:57 [INFO] openmrs-tools                                                      [jar]
01-Oct-2024 22:28:57 [INFO] openmrs-test                                                       [pom]
01-Oct-2024 22:28:57 [INFO] openmrs-api                                                        [jar]
01-Oct-2024 22:28:57 [INFO] openmrs-web                                                        [jar]
01-Oct-2024 22:28:57 [INFO] openmrs-webapp                                                     [war]
01-Oct-2024 22:28:57 [INFO] openmrs-liquibase                                                  [jar]
01-Oct-2024 22:28:57 [INFO]
01-Oct-2024 22:28:57 [INFO] ------------------------< org.openmrs:openmrs >-------------------------
01-Oct-2024 22:28:57 [INFO] Building OpenMRS 2.5.13-SNAPSHOT                                   [1/7]
01-Oct-2024 22:28:57 [INFO]   from pom.xml
01-Oct-2024 22:28:57 [INFO] --------------------------------[ pom ]---------------------------------
01-Oct-2024 22:28:57 [INFO]
01-Oct-2024 22:28:57 [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs ---
01-Oct-2024 22:28:58 [INFO] ShortRevision tag detected. The value is '6'.
01-Oct-2024 22:28:58 [INFO] Executing: /bin/sh -c cd '/openmrs_core' && 'git' 'rev-parse' '--verify' '--short=6' 'HEAD'
01-Oct-2024 22:28:58 [INFO] Working directory: /openmrs_core
01-Oct-2024 22:28:58 [INFO] Storing buildNumber: 29de0d at timestamp: 1727821738410
01-Oct-2024 22:28:58 [INFO] Storing buildScmBranch: 2.5.x
01-Oct-2024 22:28:58 [INFO]
01-Oct-2024 22:28:58 [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs ---
01-Oct-2024 22:28:58 [INFO]
01-Oct-2024 22:28:58 [INFO] --- maven-surefire-plugin:3.0.0-M7:test (integration-test) @ openmrs ---
01-Oct-2024 22:28:59 [INFO] No tests to run.
01-Oct-2024 22:28:59 [INFO]
01-Oct-2024 22:28:59 [INFO] --- maven-surefire-plugin:3.0.0-M7:test (integration-test-2) @ openmrs ---
01-Oct-2024 22:28:59 [INFO] No tests to run.
01-Oct-2024 22:28:59 [INFO]
01-Oct-2024 22:28:59 [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
01-Oct-2024 22:28:59 [INFO] Building openmrs-tools 2.5.13-SNAPSHOT                             [2/7]
01-Oct-2024 22:28:59 [INFO]   from tools/pom.xml
01-Oct-2024 22:28:59 [INFO] --------------------------------[ jar ]---------------------------------
01-Oct-2024 22:28:59 [INFO]
01-Oct-2024 22:28:59 [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs-tools ---
01-Oct-2024 22:28:59 [INFO]
01-Oct-2024 22:28:59 [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs-tools ---
01-Oct-2024 22:28:59 [INFO]
01-Oct-2024 22:28:59 [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ openmrs-tools ---
01-Oct-2024 22:28:59 [INFO] Using 'UTF-8' encoding to copy filtered resources.
01-Oct-2024 22:28:59 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
01-Oct-2024 22:28:59 [INFO] Copying 4 resources
01-Oct-2024 22:28:59 [INFO]
01-Oct-2024 22:28:59 [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ openmrs-tools ---
01-Oct-2024 22:28:59 [INFO] No sources to compile
01-Oct-2024 22:28:59 [INFO]
01-Oct-2024 22:28:59 [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ openmrs-tools ---
01-Oct-2024 22:28:59 [INFO] Using 'UTF-8' encoding to copy filtered resources.
01-Oct-2024 22:28:59 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
01-Oct-2024 22:28:59 [INFO] skip non existing resourceDirectory /openmrs_core/tools/src/test/resources
01-Oct-2024 22:28:59 [INFO]
01-Oct-2024 22:28:59 [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ openmrs-tools ---
01-Oct-2024 22:28:59 [INFO] No sources to compile
01-Oct-2024 22:28:59 [INFO]
01-Oct-2024 22:28:59 [INFO] --- maven-surefire-plugin:3.0.0-M7:test (default-test) @ openmrs-tools ---
01-Oct-2024 22:28:59 [INFO] Tests are skipped.
01-Oct-2024 22:28:59 [INFO]
01-Oct-2024 22:28:59 [INFO] --- maven-surefire-plugin:3.0.0-M7:test (integration-test) @ openmrs-tools ---
01-Oct-2024 22:28:59 [INFO] No tests to run.
01-Oct-2024 22:28:59 [INFO]
01-Oct-2024 22:28:59 [INFO] --- maven-surefire-plugin:3.0.0-M7:test (integration-test-2) @ openmrs-tools ---
01-Oct-2024 22:28:59 [INFO] No tests to run.
01-Oct-2024 22:28:59 [INFO]
01-Oct-2024 22:28:59 [INFO] -------------------< org.openmrs.test:openmrs-test >--------------------
01-Oct-2024 22:28:59 [INFO] Building openmrs-test 2.5.13-SNAPSHOT                              [3/7]
01-Oct-2024 22:28:59 [INFO]   from test/pom.xml
01-Oct-2024 22:28:59 [INFO] --------------------------------[ pom ]---------------------------------
01-Oct-2024 22:29:00 [INFO]
01-Oct-2024 22:29:00 [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs-test ---
01-Oct-2024 22:29:00 [INFO]
01-Oct-2024 22:29:00 [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs-test ---
01-Oct-2024 22:29:00 [INFO]
01-Oct-2024 22:29:00 [INFO] --- maven-surefire-plugin:3.0.0-M7:test (integration-test) @ openmrs-test ---
01-Oct-2024 22:29:00 [INFO] No tests to run.
01-Oct-2024 22:29:00 [INFO]
01-Oct-2024 22:29:00 [INFO] --- maven-surefire-plugin:3.0.0-M7:test (integration-test-2) @ openmrs-test ---
01-Oct-2024 22:29:00 [INFO] No tests to run.
01-Oct-2024 22:29:00 [INFO]
01-Oct-2024 22:29:00 [INFO] --------------------< org.openmrs.api:openmrs-api >---------------------
01-Oct-2024 22:29:00 [INFO] Building openmrs-api 2.5.13-SNAPSHOT                               [4/7]
01-Oct-2024 22:29:00 [INFO]   from api/pom.xml
01-Oct-2024 22:29:00 [INFO] --------------------------------[ jar ]---------------------------------
01-Oct-2024 22:29:00 [INFO]
01-Oct-2024 22:29:00 [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs-api ---
01-Oct-2024 22:29:00 [INFO]
01-Oct-2024 22:29:00 [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs-api ---
01-Oct-2024 22:29:00 [INFO]
01-Oct-2024 22:29:00 [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (prepare-agent) @ openmrs-api ---
01-Oct-2024 22:29:00 [INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.8/org.jacoco.agent-0.8.8-runtime.jar=destfile=/openmrs_core/api/target/jacoco.exec,includes=org/openmrs/** -Duser.language=en -Duser.region=US -Xmx1g -Djava.locale.providers=COMPAT
01-Oct-2024 22:29:00 [INFO]
01-Oct-2024 22:29:00 [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
01-Oct-2024 22:29:01 [INFO] Using 'UTF-8' encoding to format source files.
01-Oct-2024 22:29:06 [INFO] Number of files to be formatted: 1105
01-Oct-2024 22:29:08 [INFO] Successfully formatted: 0 file(s)
01-Oct-2024 22:29:08 [INFO] Fail to format        : 0 file(s)
01-Oct-2024 22:29:08 [INFO] Skipped               : 1105 file(s)
01-Oct-2024 22:29:08 [INFO] Approximate time taken: 7s
01-Oct-2024 22:29:08 [INFO]
01-Oct-2024 22:29:08 [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ openmrs-api ---
01-Oct-2024 22:29:08 [INFO] Using 'UTF-8' encoding to copy filtered resources.
01-Oct-2024 22:29:08 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
01-Oct-2024 22:29:08 [INFO] Copying 1 resource
01-Oct-2024 22:29:08 [INFO] Copying 161 resources
01-Oct-2024 22:29:09 [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
01-Oct-2024 22:29:09 [INFO]
01-Oct-2024 22:29:09 [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ openmrs-api ---
01-Oct-2024 22:29:09 [INFO] Nothing to compile - all classes are up to date
01-Oct-2024 22:29:09 [INFO]
01-Oct-2024 22:29:09 [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ openmrs-api ---
01-Oct-2024 22:29:09 [INFO] Using 'UTF-8' encoding to copy filtered resources.
01-Oct-2024 22:29:09 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
01-Oct-2024 22:29:09 [INFO] Copying 151 resources
01-Oct-2024 22:29:10 [INFO]
01-Oct-2024 22:29:10 [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ openmrs-api ---
01-Oct-2024 22:29:10 [INFO] Nothing to compile - all classes are up to date
01-Oct-2024 22:29:10 [INFO]
01-Oct-2024 22:29:10 [INFO] --- maven-surefire-plugin:3.0.0-M7:test (default-test) @ openmrs-api ---
01-Oct-2024 22:29:10 [INFO] Tests are skipped.
01-Oct-2024 22:29:10 [INFO]
01-Oct-2024 22:29:10 [INFO] --- maven-surefire-plugin:3.0.0-M7:test (integration-test) @ openmrs-api ---
01-Oct-2024 22:29:10 [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
01-Oct-2024 22:29:10 [INFO]
01-Oct-2024 22:29:10 [INFO] -------------------------------------------------------
01-Oct-2024 22:29:10 [INFO]  T E S T S
01-Oct-2024 22:29:10 [INFO] -------------------------------------------------------
01-Oct-2024 22:29:12 [INFO] Running org.openmrs.util.databasechange.Database1_9_7UpgradeIT
01-Oct-2024 22:32:47 [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 214.353 s - in org.openmrs.util.databasechange.Database1_9_7UpgradeIT
01-Oct-2024 22:32:47 [INFO] Running org.openmrs.module.ModuleUtilIT
01-Oct-2024 22:32:48 [WARNING] Tests run: 34, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 1.045 s - in org.openmrs.module.ModuleUtilIT
01-Oct-2024 22:32:48 [INFO] Running org.openmrs.ConceptIT
01-Oct-2024 22:32:48 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 s - in org.openmrs.ConceptIT
01-Oct-2024 22:32:51 [INFO]
01-Oct-2024 22:32:51 [INFO] Results:
01-Oct-2024 22:32:51 [INFO]
01-Oct-2024 22:32:51 [WARNING] Tests run: 53, Failures: 0, Errors: 0, Skipped: 3
01-Oct-2024 22:32:51 [INFO]
01-Oct-2024 22:32:51 [INFO]
01-Oct-2024 22:32:51 [INFO] --- maven-surefire-plugin:3.0.0-M7:test (integration-test-2) @ openmrs-api ---
01-Oct-2024 22:32:51 [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
01-Oct-2024 22:32:51 [INFO]
01-Oct-2024 22:32:51 [INFO] -------------------------------------------------------
01-Oct-2024 22:32:51 [INFO]  T E S T S
01-Oct-2024 22:32:51 [INFO] -------------------------------------------------------
01-Oct-2024 22:32:52 [INFO] Running liquibase.ext.change.core.InsertWithUuidDataChangeDatabaseIT
01-Oct-2024 22:32:54 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.194 s - in liquibase.ext.change.core.InsertWithUuidDataChangeDatabaseIT
01-Oct-2024 22:32:54 [INFO] Running org.openmrs.util.DatabaseUpdaterDatabaseIT
01-Oct-2024 22:33:03 [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 8.268 s <<< FAILURE! - in org.openmrs.util.DatabaseUpdaterDatabaseIT
01-Oct-2024 22:33:03 [ERROR] org.openmrs.util.DatabaseUpdaterDatabaseIT.should  Time elapsed: 8.255 s  <<< ERROR!
01-Oct-2024 22:33:03 org.openmrs.api.APIException: A user context must first be passed to setUserContext()...use Context.openSession() (and closeSession() to prevent memory leaks!) before using the API
01-Oct-2024 22:33:03         at org.openmrs.api.context.Context.getUserContext(Context.java:258)
01-Oct-2024 22:33:03         at org.openmrs.api.context.Context.hasPrivilege(Context.java:727)
01-Oct-2024 22:33:03         at org.openmrs.api.context.Context.requirePrivilege(Context.java:738)
01-Oct-2024 22:33:03         at org.openmrs.util.DatabaseUpdater.getDatabaseChanges(DatabaseUpdater.java:589)
01-Oct-2024 22:33:03         at org.openmrs.util.DatabaseUpdaterDatabaseIT.should(DatabaseUpdaterDatabaseIT.java:53)
01-Oct-2024 22:33:03         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
01-Oct-2024 22:33:03         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
01-Oct-2024 22:33:03         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
01-Oct-2024 22:33:03         at java.lang.reflect.Method.invoke(Method.java:498)
01-Oct-2024 22:33:03         at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
01-Oct-2024 22:33:03         at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
01-Oct-2024 22:33:03         at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
01-Oct-2024 22:33:03         at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
01-Oct-2024 22:33:03         at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
01-Oct-2024 22:33:03         at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
01-Oct-2024 22:33:03         at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
01-Oct-2024 22:33:03         at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
01-Oct-2024 22:33:03         at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
01-Oct-2024 22:33:03         at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
01-Oct-2024 22:33:03         at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
01-Oct-2024 22:33:03         at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
01-Oct-2024 22:33:03         at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
01-Oct-2024 22:33:03         at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
01-Oct-2024 22:33:03         at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:214)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
01-Oct-2024 22:33:03         at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:210)
01-Oct-2024 22:33:03         at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
01-Oct-2024 22:33:03         at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:66)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
01-Oct-2024 22:33:03         at java.util.ArrayList.forEach(ArrayList.java:1259)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
01-Oct-2024 22:33:03         at java.util.ArrayList.forEach(ArrayList.java:1259)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
01-Oct-2024 22:33:03         at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
01-Oct-2024 22:33:03         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
01-Oct-2024 22:33:03         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
01-Oct-2024 22:33:03         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
01-Oct-2024 22:33:03         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
01-Oct-2024 22:33:03         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
01-Oct-2024 22:33:03         at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
01-Oct-2024 22:33:03         at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
01-Oct-2024 22:33:03         at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
01-Oct-2024 22:33:03         at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:55)
01-Oct-2024 22:33:03         at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:223)
01-Oct-2024 22:33:03         at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:175)
01-Oct-2024 22:33:03         at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:139)
01-Oct-2024 22:33:03         at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
01-Oct-2024 22:33:03         at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
01-Oct-2024 22:33:03         at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
01-Oct-2024 22:33:03         at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)
01-Oct-2024 22:33:03
01-Oct-2024 22:33:03 [INFO] Running org.openmrs.util.databasechange.ValidateHibernateMappingsDatabaseIT
01-Oct-2024 22:34:10 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 67.702 s - in org.openmrs.util.databasechange.ValidateHibernateMappingsDatabaseIT
01-Oct-2024 22:34:10 [INFO] Running org.openmrs.liquibase.ChangeLogDetectiveDatabaseIT
01-Oct-2024 22:34:37 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.804 s - in org.openmrs.liquibase.ChangeLogDetectiveDatabaseIT
01-Oct-2024 22:34:38 [INFO]
01-Oct-2024 22:34:38 [INFO] Results:
01-Oct-2024 22:34:38 [INFO]
01-Oct-2024 22:34:38 [ERROR] Errors:
01-Oct-2024 22:34:38 [ERROR]   DatabaseUpdaterDatabaseIT.should:53 » API A user context must first be passed to setUserContext()...use Context.openSession() (and closeSession() to prevent memory leaks!) before using the API
01-Oct-2024 22:34:38 [INFO]
01-Oct-2024 22:34:38 [ERROR] Tests run: 6, Failures: 0, Errors: 1, Skipped: 0
01-Oct-2024 22:34:38 [INFO]
01-Oct-2024 22:34:38 [INFO] ------------------------------------------------------------------------
01-Oct-2024 22:34:38 [INFO] Reactor Summary for OpenMRS 2.5.13-SNAPSHOT:
01-Oct-2024 22:34:38 [INFO]
01-Oct-2024 22:34:38 [INFO] OpenMRS ............................................ SUCCESS [  1.862 s]
01-Oct-2024 22:34:38 [INFO] openmrs-tools ...................................... SUCCESS [  0.601 s]
01-Oct-2024 22:34:38 [INFO] openmrs-test ....................................... SUCCESS [  0.127 s]
01-Oct-2024 22:34:38 [INFO] openmrs-api ........................................ FAILURE [05:37 min]
01-Oct-2024 22:34:38 [INFO] openmrs-web ........................................ SKIPPED
01-Oct-2024 22:34:38 [INFO] openmrs-webapp ..................................... SKIPPED
01-Oct-2024 22:34:38 [INFO] openmrs-liquibase .................................. SKIPPED
01-Oct-2024 22:34:38 [INFO] ------------------------------------------------------------------------
01-Oct-2024 22:34:38 [INFO] BUILD FAILURE
01-Oct-2024 22:34:38 [INFO] ------------------------------------------------------------------------
01-Oct-2024 22:34:38 [INFO] Total time:  05:40 min
01-Oct-2024 22:34:38 [INFO] Finished at: 2024-10-01T22:34:38Z
01-Oct-2024 22:34:38 [INFO] ------------------------------------------------------------------------
01-Oct-2024 22:34:38 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M7:test (integration-test-2) on project openmrs-api:
01-Oct-2024 22:34:38 [ERROR]
01-Oct-2024 22:34:38 [ERROR] Please refer to /openmrs_core/api/target/surefire-reports for the individual test results.
01-Oct-2024 22:34:38 [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
01-Oct-2024 22:34:38 [ERROR] -> [Help 1]
01-Oct-2024 22:34:38 [ERROR]
01-Oct-2024 22:34:38 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
01-Oct-2024 22:34:38 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
01-Oct-2024 22:34:38 [ERROR]
01-Oct-2024 22:34:38 [ERROR] For more information about the errors and possible solutions, please read the following articles:
01-Oct-2024 22:34:38 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
01-Oct-2024 22:34:38 [ERROR]
01-Oct-2024 22:34:38 [ERROR] After correcting the problems, you can resume the build with the command
01-Oct-2024 22:34:38 [ERROR]   mvn <args> -rf :openmrs-api
01-Oct-2024 22:34:38 Failing task since return code of [/home/bamboo-agent/bamboo-agent/temp/TRUNK-CORE2-IT-227-ScriptBuildTask-6609582647088904078.sh] was 1 while expected 0
01-Oct-2024 22:34:38 Finished task 'Run integration tests' with result: Failed
01-Oct-2024 22:34:38 Running post build plugin 'Docker Container Cleanup'
01-Oct-2024 22:34:38 Running post build plugin 'NCover Results Collector'
01-Oct-2024 22:34:38 Running post build plugin 'Build Results Label Collector'
01-Oct-2024 22:34:38 Running post build plugin 'Clover Results Collector'
01-Oct-2024 22:34:38 Running post build plugin 'npm Cache Cleanup'
01-Oct-2024 22:34:38 Running post build plugin 'Artifact Copier'
01-Oct-2024 22:34:38 Finalising the build...
01-Oct-2024 22:34:38 Stopping timer.
01-Oct-2024 22:34:38 Build TRUNK-CORE2-IT-227 completed.
01-Oct-2024 22:34:38 Running on server: post build plugin 'Build Hanging Detection Configuration'
01-Oct-2024 22:34:38 Running on server: post build plugin 'NCover Results Collector'
01-Oct-2024 22:34:38 Running on server: post build plugin 'Build Labeller'
01-Oct-2024 22:34:38 Running on server: post build plugin 'Clover Delta Calculator'
01-Oct-2024 22:34:38 Running on server: post build plugin 'Maven Dependencies Postprocessor'
01-Oct-2024 22:34:38 All post build plugins have finished
01-Oct-2024 22:34:38 Generating build results summary...
01-Oct-2024 22:34:38 Saving build results to disk...
01-Oct-2024 22:34:38 Store variable context...
01-Oct-2024 22:34:38 Finished building TRUNK-CORE2-IT-227.