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