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