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