Platform 2.5

Build: #225 failed

Job: Integration Test failed

Stages & jobs

  1. Build

  2. Test

  3. Deploy

  4. Release

    Requires a user to start manually
  5. Release image variants

Build log

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

01-Oct-2024 21:46:56 Build OpenMRS Core - OpenMRS Core 2.5.x - Integration Test #225 (TRUNK-CORE2-IT-225) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4
01-Oct-2024 21:46:56 Remote agent on host xiao.openmrs.org
01-Oct-2024 21:46:56 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE2-IT
01-Oct-2024 21:46:56 Executing build OpenMRS Core - OpenMRS Core 2.5.x - Integration Test #225 (TRUNK-CORE2-IT-225)
01-Oct-2024 21:46:56 Starting task 'Source Code Checkout' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
01-Oct-2024 21:46:56 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE2-IT
01-Oct-2024 21:46:56 Updating source code to revision: 0ded4d415499e50fa308e1a8cb0a97767d43ecbe
01-Oct-2024 21:46:56 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE2-IT/.git'.
01-Oct-2024 21:46:56 hint: Using 'master' as the name for the initial branch. This default branch name
01-Oct-2024 21:46:56 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE2-IT/.git/
01-Oct-2024 21:46:56 hint: is subject to change. To configure the initial branch name to use in all
01-Oct-2024 21:46:56 hint: of your new repositories, which will suppress this warning, call:
01-Oct-2024 21:46:56 hint:
01-Oct-2024 21:46:56 hint:         git config --global init.defaultBranch <name>
01-Oct-2024 21:46:56 hint:
01-Oct-2024 21:46:56 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
01-Oct-2024 21:46:56 hint: 'development'. The just-created branch can be renamed via this command:
01-Oct-2024 21:46:56 hint:
01-Oct-2024 21:46:56 hint:         git branch -m <name>
01-Oct-2024 21:46:57 Fetching 'refs/heads/2.5.x' from 'https://github.com/openmrs/openmrs-core'. Will try to do a shallow fetch.
01-Oct-2024 21:46:58 From https://github.com/openmrs/openmrs-core
01-Oct-2024 21:46:58 * [new branch]      2.5.x      -> 2.5.x
01-Oct-2024 21:46:58 Checking out revision 0ded4d415499e50fa308e1a8cb0a97767d43ecbe.
01-Oct-2024 21:46:58 fatal: reference is not a tree: 0ded4d415499e50fa308e1a8cb0a97767d43ecbe
01-Oct-2024 21:46:58 Checkout to revision 0ded4d415499e50fa308e1a8cb0a97767d43ecbe has failed.
01-Oct-2024 21:46:58 Warning: failed to checkout source code to directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE2-IT', trying to recover...
01-Oct-2024 21:46:58 Cleaned source directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE2-IT'...
01-Oct-2024 21:46:58 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE2-IT/.git'.
01-Oct-2024 21:46:58 hint: Using 'master' as the name for the initial branch. This default branch name
01-Oct-2024 21:46:58 hint: is subject to change. To configure the initial branch name to use in all
01-Oct-2024 21:46:58 hint: of your new repositories, which will suppress this warning, call:
01-Oct-2024 21:46:58 hint:
01-Oct-2024 21:46:58 hint:         git config --global init.defaultBranch <name>
01-Oct-2024 21:46:58 hint:
01-Oct-2024 21:46:58 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
01-Oct-2024 21:46:58 hint: 'development'. The just-created branch can be renamed via this command:
01-Oct-2024 21:46:58 hint:
01-Oct-2024 21:46:58 hint:         git branch -m <name>
01-Oct-2024 21:46:58 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE2-IT/.git/
01-Oct-2024 21:46:58 Fetching 'refs/heads/2.5.x' from 'https://github.com/openmrs/openmrs-core'.
01-Oct-2024 21:47:05 From https://github.com/openmrs/openmrs-core
01-Oct-2024 21:47:05 * [new branch]          2.5.x      -> 2.5.x
01-Oct-2024 21:47:05 * [new tag]             1.1.0                     -> 1.1.0
01-Oct-2024 21:47:05 * [new tag]             1.10.0-alpha              -> 1.10.0-alpha
01-Oct-2024 21:47:05 * [new tag]             1.2.0                     -> 1.2.0
01-Oct-2024 21:47:05 * [new tag]             1.2.01                    -> 1.2.01
01-Oct-2024 21:47:05 * [new tag]             1.2.01-RC1                -> 1.2.01-RC1
01-Oct-2024 21:47:05 * [new tag]             1.3.0-RC1                 -> 1.3.0-RC1
01-Oct-2024 21:47:05 * [new tag]             1.3.0-RC2                 -> 1.3.0-RC2
01-Oct-2024 21:47:05 * [new tag]             1.3.0-RC3                 -> 1.3.0-RC3
01-Oct-2024 21:47:05 * [new tag]             1.3.0-RC4                 -> 1.3.0-RC4
01-Oct-2024 21:47:05 * [new tag]             1.9.0-RC                  -> 1.9.0-RC
01-Oct-2024 21:47:05 * [new tag]             1.9.0-RC2                 -> 1.9.0-RC2
01-Oct-2024 21:47:05 * [new tag]             1.9.0-RC3                 -> 1.9.0-RC3
01-Oct-2024 21:47:05 * [new tag]             1.9.0-RC4                 -> 1.9.0-RC4
01-Oct-2024 21:47:05 * [new tag]             1.9.0-alpha               -> 1.9.0-alpha
01-Oct-2024 21:47:05 * [new tag]             1.9.0-beta                -> 1.9.0-beta
01-Oct-2024 21:47:05 * [new tag]             1.9.2                     -> 1.9.2
01-Oct-2024 21:47:05 * [new tag]             1.9.3                     -> 1.9.3
01-Oct-2024 21:47:05 * [new tag]             1.9.4                     -> 1.9.4
01-Oct-2024 21:47:05 * [new tag]             1.9.5                     -> 1.9.5
01-Oct-2024 21:47:05 * [new tag]             1.9.6                     -> 1.9.6
01-Oct-2024 21:47:05 * [new tag]             2.2.0-20181112.082045-243 -> 2.2.0-20181112.082045-243
01-Oct-2024 21:47:05 * [new tag]             2.4.0-alpha               -> 2.4.0-alpha
01-Oct-2024 21:47:05 * [new tag]             2.5.0                     -> 2.5.0
01-Oct-2024 21:47:05 * [new tag]             2.5.0-alpha               -> 2.5.0-alpha
01-Oct-2024 21:47:05 * [new tag]             2.5.0-alpha.2             -> 2.5.0-alpha.2
01-Oct-2024 21:47:05 * [new tag]             2.5.0-alpha.3             -> 2.5.0-alpha.3
01-Oct-2024 21:47:05 * [new tag]             2.5.0-beta                -> 2.5.0-beta
01-Oct-2024 21:47:05 * [new tag]             2.5.0-beta.2              -> 2.5.0-beta.2
01-Oct-2024 21:47:05 * [new tag]             2.5.0-beta.3              -> 2.5.0-beta.3
01-Oct-2024 21:47:05 * [new tag]             2.5.0-beta.4              -> 2.5.0-beta.4
01-Oct-2024 21:47:05 * [new tag]             2.5.0-beta2               -> 2.5.0-beta2
01-Oct-2024 21:47:05 * [new tag]             2.5.1                     -> 2.5.1
01-Oct-2024 21:47:05 * [new tag]             2.5.10                    -> 2.5.10
01-Oct-2024 21:47:05 * [new tag]             2.5.11                    -> 2.5.11
01-Oct-2024 21:47:05 * [new tag]             2.5.12                    -> 2.5.12
01-Oct-2024 21:47:05 * [new tag]             2.5.3                     -> 2.5.3
01-Oct-2024 21:47:05 * [new tag]             2.5.4                     -> 2.5.4
01-Oct-2024 21:47:05 * [new tag]             2.5.5                     -> 2.5.5
01-Oct-2024 21:47:05 * [new tag]             2.5.6                     -> 2.5.6
01-Oct-2024 21:47:05 * [new tag]             2.5.7                     -> 2.5.7
01-Oct-2024 21:47:05 * [new tag]             2.5.8                     -> 2.5.8
01-Oct-2024 21:47:05 * [new tag]             2.5.9                     -> 2.5.9
01-Oct-2024 21:47:05 * [new tag]             mirebalais_deploy_version -> mirebalais_deploy_version
01-Oct-2024 21:47:05 Fetching to source directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE2-IT' completed, proceeding with checkout...
01-Oct-2024 21:47:05 Checking out revision 0ded4d415499e50fa308e1a8cb0a97767d43ecbe.
01-Oct-2024 21:47:05 Note: switching to '0ded4d415499e50fa308e1a8cb0a97767d43ecbe'.
01-Oct-2024 21:47:05
01-Oct-2024 21:47:05 You are in 'detached HEAD' state. You can look around, make experimental
01-Oct-2024 21:47:05 changes and commit them, and you can discard any commits you make in this
01-Oct-2024 21:47:05 state without impacting any branches by switching back to a branch.
01-Oct-2024 21:47:05
01-Oct-2024 21:47:05 If you want to create a new branch to retain commits you create, you may
01-Oct-2024 21:47:05 do so (now or later) by using -c with the switch command. Example:
01-Oct-2024 21:47:05
01-Oct-2024 21:47:05   git switch -c <new-branch-name>
01-Oct-2024 21:47:05
01-Oct-2024 21:47:05 Or undo this operation with:
01-Oct-2024 21:47:05
01-Oct-2024 21:47:05   git switch -
01-Oct-2024 21:47:05
01-Oct-2024 21:47:05 Turn off this advice by setting config variable advice.detachedHead to false
01-Oct-2024 21:47:05
01-Oct-2024 21:47:05 HEAD is now at 0ded4d415 TRUNK-6253 Add missing privilege check in FormService
01-Oct-2024 21:47:05 Checkout completed, recover successful.
01-Oct-2024 21:47:05 Updated source code to revision: 0ded4d415499e50fa308e1a8cb0a97767d43ecbe
01-Oct-2024 21:47:05 Finished task 'Source Code Checkout' with result: Success
01-Oct-2024 21:47:05 Running pre-build action: Build Log Labeller Pre Build Action
01-Oct-2024 21:47:05 Running pre-build action: VCS Version Collector
01-Oct-2024 21:47:05 Running pre-build action: Run Predator
01-Oct-2024 21:47:05 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
01-Oct-2024 21:47:05 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
01-Oct-2024 21:47:05 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
01-Oct-2024 21:47:05 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
01-Oct-2024 21:47:05 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1674 java        1259 bamboo-age 3005Mb  573Mb 00:22:25 /usr/lib/jvm/java-8-ope
01-Oct-2024 21:47:05 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1259 wrapper        1 bamboo-age   16Mb    2Mb 00:05:38 /home/bamboo-agent/bamb
01-Oct-2024 21:47:05 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   12Mb 00:00:42 /sbin/init             
01-Oct-2024 21:47:05 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
01-Oct-2024 21:47:05 [PredatorPreBuildAction] Initial free space: 4.9387245 GB
01-Oct-2024 21:47:05 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE2-BUIL
01-Oct-2024 21:47:06 [PredatorPreBuildAction] Deleting 12 snapshot folders from /home/bamboo-agent/.m2/repository
01-Oct-2024 21:47:06 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
01-Oct-2024 21:47:06 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
01-Oct-2024 21:47:07 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
01-Oct-2024 21:47:07 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
01-Oct-2024 21:47:07 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
01-Oct-2024 21:47:07 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
01-Oct-2024 21:47:07 [PredatorPreBuildAction] Final free space: 4.975113 GB
01-Oct-2024 21:47:07 [PredatorPreBuildAction] Done
01-Oct-2024 21:47:07
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-core@sha256:6e1dc6979e19d8aeae7854d33c6df85ddcfe177fa195a9fc4a20675de38e48d7
01-Oct-2024 21:47:07 Starting task 'Run integration tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
01-Oct-2024 21:47:07
Beginning to execute external process for build 'OpenMRS Core - OpenMRS Core 2.5.x - Integration Test #225 (TRUNK-CORE2-IT-225)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/TRUNK-CORE2-IT-225-ScriptBuildTask-1978560054326561508.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE2-IT
01-Oct-2024 21:47:07 + export IMAGE=openmrs/openmrs-core@sha256:6e1dc6979e19d8aeae7854d33c6df85ddcfe177fa195a9fc4a20675de38e48d7
01-Oct-2024 21:47:07 + IMAGE=openmrs/openmrs-core@sha256:6e1dc6979e19d8aeae7854d33c6df85ddcfe177fa195a9fc4a20675de38e48d7
01-Oct-2024 21:47:07 + docker pull openmrs/openmrs-core@sha256:6e1dc6979e19d8aeae7854d33c6df85ddcfe177fa195a9fc4a20675de38e48d7
01-Oct-2024 21:47:07 docker.io/openmrs/openmrs-core@sha256:6e1dc6979e19d8aeae7854d33c6df85ddcfe177fa195a9fc4a20675de38e48d7: Pulling from openmrs/openmrs-core
01-Oct-2024 21:47:07 Digest: sha256:6e1dc6979e19d8aeae7854d33c6df85ddcfe177fa195a9fc4a20675de38e48d7
01-Oct-2024 21:47:07 Status: Image is up to date for openmrs/openmrs-core@sha256:6e1dc6979e19d8aeae7854d33c6df85ddcfe177fa195a9fc4a20675de38e48d7
01-Oct-2024 21:47:07 docker.io/openmrs/openmrs-core@sha256:6e1dc6979e19d8aeae7854d33c6df85ddcfe177fa195a9fc4a20675de38e48d7
01-Oct-2024 21:47:07 + docker run -v m2-repo:/root/.m2/repository --rm openmrs/openmrs-core@sha256:6e1dc6979e19d8aeae7854d33c6df85ddcfe177fa195a9fc4a20675de38e48d7 mvn test -Pskip-default-test -Pintegration-test
01-Oct-2024 21:47:11 [INFO] Scanning for projects...
01-Oct-2024 21:47:12 [INFO] ------------------------------------------------------------------------
01-Oct-2024 21:47:12 [INFO] Reactor Build Order:
01-Oct-2024 21:47:12 [INFO]
01-Oct-2024 21:47:12 [INFO] OpenMRS                                                            [pom]
01-Oct-2024 21:47:12 [INFO] openmrs-tools                                                      [jar]
01-Oct-2024 21:47:12 [INFO] openmrs-test                                                       [pom]
01-Oct-2024 21:47:12 [INFO] openmrs-api                                                        [jar]
01-Oct-2024 21:47:12 [INFO] openmrs-web                                                        [jar]
01-Oct-2024 21:47:12 [INFO] openmrs-webapp                                                     [war]
01-Oct-2024 21:47:12 [INFO] openmrs-liquibase                                                  [jar]
01-Oct-2024 21:47:12 [INFO]
01-Oct-2024 21:47:12 [INFO] ------------------------< org.openmrs:openmrs >-------------------------
01-Oct-2024 21:47:12 [INFO] Building OpenMRS 2.5.13-SNAPSHOT                                   [1/7]
01-Oct-2024 21:47:12 [INFO]   from pom.xml
01-Oct-2024 21:47:12 [INFO] --------------------------------[ pom ]---------------------------------
01-Oct-2024 21:47:12 [INFO]
01-Oct-2024 21:47:12 [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs ---
01-Oct-2024 21:47:13 [INFO] ShortRevision tag detected. The value is '6'.
01-Oct-2024 21:47:13 [INFO] Executing: /bin/sh -c cd '/openmrs_core' && 'git' 'rev-parse' '--verify' '--short=6' 'HEAD'
01-Oct-2024 21:47:13 [INFO] Working directory: /openmrs_core
01-Oct-2024 21:47:13 [INFO] Storing buildNumber: 0ded4d at timestamp: 1727819233331
01-Oct-2024 21:47:13 [INFO] Storing buildScmBranch: 2.5.x
01-Oct-2024 21:47:13 [INFO]
01-Oct-2024 21:47:13 [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs ---
01-Oct-2024 21:47:13 [INFO]
01-Oct-2024 21:47:13 [INFO] --- maven-surefire-plugin:3.0.0-M7:test (integration-test) @ openmrs ---
01-Oct-2024 21:47:14 [INFO] No tests to run.
01-Oct-2024 21:47:14 [INFO]
01-Oct-2024 21:47:14 [INFO] --- maven-surefire-plugin:3.0.0-M7:test (integration-test-2) @ openmrs ---
01-Oct-2024 21:47:14 [INFO] No tests to run.
01-Oct-2024 21:47:14 [INFO]
01-Oct-2024 21:47:14 [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
01-Oct-2024 21:47:14 [INFO] Building openmrs-tools 2.5.13-SNAPSHOT                             [2/7]
01-Oct-2024 21:47:14 [INFO]   from tools/pom.xml
01-Oct-2024 21:47:14 [INFO] --------------------------------[ jar ]---------------------------------
01-Oct-2024 21:47:14 [INFO]
01-Oct-2024 21:47:14 [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs-tools ---
01-Oct-2024 21:47:14 [INFO]
01-Oct-2024 21:47:14 [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs-tools ---
01-Oct-2024 21:47:14 [INFO]
01-Oct-2024 21:47:14 [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ openmrs-tools ---
01-Oct-2024 21:47:14 [INFO] Using 'UTF-8' encoding to copy filtered resources.
01-Oct-2024 21:47:14 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
01-Oct-2024 21:47:14 [INFO] Copying 4 resources
01-Oct-2024 21:47:14 [INFO]
01-Oct-2024 21:47:14 [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ openmrs-tools ---
01-Oct-2024 21:47:15 [INFO] No sources to compile
01-Oct-2024 21:47:15 [INFO]
01-Oct-2024 21:47:15 [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ openmrs-tools ---
01-Oct-2024 21:47:15 [INFO] Using 'UTF-8' encoding to copy filtered resources.
01-Oct-2024 21:47:15 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
01-Oct-2024 21:47:15 [INFO] skip non existing resourceDirectory /openmrs_core/tools/src/test/resources
01-Oct-2024 21:47:15 [INFO]
01-Oct-2024 21:47:15 [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ openmrs-tools ---
01-Oct-2024 21:47:15 [INFO] No sources to compile
01-Oct-2024 21:47:15 [INFO]
01-Oct-2024 21:47:15 [INFO] --- maven-surefire-plugin:3.0.0-M7:test (default-test) @ openmrs-tools ---
01-Oct-2024 21:47:15 [INFO] Tests are skipped.
01-Oct-2024 21:47:15 [INFO]
01-Oct-2024 21:47:15 [INFO] --- maven-surefire-plugin:3.0.0-M7:test (integration-test) @ openmrs-tools ---
01-Oct-2024 21:47:15 [INFO] No tests to run.
01-Oct-2024 21:47:15 [INFO]
01-Oct-2024 21:47:15 [INFO] --- maven-surefire-plugin:3.0.0-M7:test (integration-test-2) @ openmrs-tools ---
01-Oct-2024 21:47:15 [INFO] No tests to run.
01-Oct-2024 21:47:15 [INFO]
01-Oct-2024 21:47:15 [INFO] -------------------< org.openmrs.test:openmrs-test >--------------------
01-Oct-2024 21:47:15 [INFO] Building openmrs-test 2.5.13-SNAPSHOT                              [3/7]
01-Oct-2024 21:47:15 [INFO]   from test/pom.xml
01-Oct-2024 21:47:15 [INFO] --------------------------------[ pom ]---------------------------------
01-Oct-2024 21:47:15 [INFO]
01-Oct-2024 21:47:15 [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs-test ---
01-Oct-2024 21:47:15 [INFO]
01-Oct-2024 21:47:15 [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs-test ---
01-Oct-2024 21:47:15 [INFO]
01-Oct-2024 21:47:15 [INFO] --- maven-surefire-plugin:3.0.0-M7:test (integration-test) @ openmrs-test ---
01-Oct-2024 21:47:15 [INFO] No tests to run.
01-Oct-2024 21:47:15 [INFO]
01-Oct-2024 21:47:15 [INFO] --- maven-surefire-plugin:3.0.0-M7:test (integration-test-2) @ openmrs-test ---
01-Oct-2024 21:47:15 [INFO] No tests to run.
01-Oct-2024 21:47:15 [INFO]
01-Oct-2024 21:47:15 [INFO] --------------------< org.openmrs.api:openmrs-api >---------------------
01-Oct-2024 21:47:15 [INFO] Building openmrs-api 2.5.13-SNAPSHOT                               [4/7]
01-Oct-2024 21:47:15 [INFO]   from api/pom.xml
01-Oct-2024 21:47:15 [INFO] --------------------------------[ jar ]---------------------------------
01-Oct-2024 21:47:16 [INFO]
01-Oct-2024 21:47:16 [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs-api ---
01-Oct-2024 21:47:16 [INFO]
01-Oct-2024 21:47:16 [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs-api ---
01-Oct-2024 21:47:16 [INFO]
01-Oct-2024 21:47:16 [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (prepare-agent) @ openmrs-api ---
01-Oct-2024 21:47:16 [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:47:16 [INFO]
01-Oct-2024 21:47:16 [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
01-Oct-2024 21:47:16 [INFO] Using 'UTF-8' encoding to format source files.
01-Oct-2024 21:47:21 [INFO] Number of files to be formatted: 1105
01-Oct-2024 21:47:23 [INFO] Successfully formatted: 0 file(s)
01-Oct-2024 21:47:23 [INFO] Fail to format        : 0 file(s)
01-Oct-2024 21:47:23 [INFO] Skipped               : 1105 file(s)
01-Oct-2024 21:47:23 [INFO] Approximate time taken: 7s
01-Oct-2024 21:47:23 [INFO]
01-Oct-2024 21:47:23 [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ openmrs-api ---
01-Oct-2024 21:47:23 [INFO] Using 'UTF-8' encoding to copy filtered resources.
01-Oct-2024 21:47:23 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
01-Oct-2024 21:47:23 [INFO] Copying 1 resource
01-Oct-2024 21:47:23 [INFO] Copying 161 resources
01-Oct-2024 21:47:24 [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:47:24 [INFO]
01-Oct-2024 21:47:24 [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ openmrs-api ---
01-Oct-2024 21:47:24 [INFO] Nothing to compile - all classes are up to date
01-Oct-2024 21:47:24 [INFO]
01-Oct-2024 21:47:24 [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ openmrs-api ---
01-Oct-2024 21:47:24 [INFO] Using 'UTF-8' encoding to copy filtered resources.
01-Oct-2024 21:47:24 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
01-Oct-2024 21:47:24 [INFO] Copying 151 resources
01-Oct-2024 21:47:25 [INFO]
01-Oct-2024 21:47:25 [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ openmrs-api ---
01-Oct-2024 21:47:25 [INFO] Nothing to compile - all classes are up to date
01-Oct-2024 21:47:25 [INFO]
01-Oct-2024 21:47:25 [INFO] --- maven-surefire-plugin:3.0.0-M7:test (default-test) @ openmrs-api ---
01-Oct-2024 21:47:25 [INFO] Tests are skipped.
01-Oct-2024 21:47:25 [INFO]
01-Oct-2024 21:47:25 [INFO] --- maven-surefire-plugin:3.0.0-M7:test (integration-test) @ openmrs-api ---
01-Oct-2024 21:47:25 [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
01-Oct-2024 21:47:26 [INFO]
01-Oct-2024 21:47:26 [INFO] -------------------------------------------------------
01-Oct-2024 21:47:26 [INFO]  T E S T S
01-Oct-2024 21:47:26 [INFO] -------------------------------------------------------
01-Oct-2024 21:47:28 [INFO] Running org.openmrs.util.databasechange.Database1_9_7UpgradeIT
01-Oct-2024 21:51:02 [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 213.61 s - in org.openmrs.util.databasechange.Database1_9_7UpgradeIT
01-Oct-2024 21:51:02 [INFO] Running org.openmrs.module.ModuleUtilIT
01-Oct-2024 21:51:03 [WARNING] Tests run: 34, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 1.184 s - in org.openmrs.module.ModuleUtilIT
01-Oct-2024 21:51:03 [INFO] Running org.openmrs.ConceptIT
01-Oct-2024 21:51:03 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 s - in org.openmrs.ConceptIT
01-Oct-2024 21:51:06 [INFO]
01-Oct-2024 21:51:06 [INFO] Results:
01-Oct-2024 21:51:06 [INFO]
01-Oct-2024 21:51:06 [WARNING] Tests run: 53, Failures: 0, Errors: 0, Skipped: 3
01-Oct-2024 21:51:06 [INFO]
01-Oct-2024 21:51:06 [INFO]
01-Oct-2024 21:51:06 [INFO] --- maven-surefire-plugin:3.0.0-M7:test (integration-test-2) @ openmrs-api ---
01-Oct-2024 21:51:06 [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
01-Oct-2024 21:51:06 [INFO]
01-Oct-2024 21:51:06 [INFO] -------------------------------------------------------
01-Oct-2024 21:51:06 [INFO]  T E S T S
01-Oct-2024 21:51:06 [INFO] -------------------------------------------------------
01-Oct-2024 21:51:07 [INFO] Running liquibase.ext.change.core.InsertWithUuidDataChangeDatabaseIT
01-Oct-2024 21:51:09 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.073 s - in liquibase.ext.change.core.InsertWithUuidDataChangeDatabaseIT
01-Oct-2024 21:51:09 [INFO] Running org.openmrs.util.DatabaseUpdaterDatabaseIT
01-Oct-2024 21:51:18 [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 8.403 s <<< FAILURE! - in org.openmrs.util.DatabaseUpdaterDatabaseIT
01-Oct-2024 21:51:18 [ERROR] org.openmrs.util.DatabaseUpdaterDatabaseIT.should  Time elapsed: 8.385 s  <<< ERROR!
01-Oct-2024 21:51:18 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 21:51:18         at org.openmrs.api.context.Context.getUserContext(Context.java:258)
01-Oct-2024 21:51:18         at org.openmrs.api.context.Context.hasPrivilege(Context.java:727)
01-Oct-2024 21:51:18         at org.openmrs.api.context.Context.requirePrivilege(Context.java:738)
01-Oct-2024 21:51:18         at org.openmrs.util.DatabaseUpdater.getDatabaseChanges(DatabaseUpdater.java:589)
01-Oct-2024 21:51:18         at org.openmrs.util.DatabaseUpdaterDatabaseIT.should(DatabaseUpdaterDatabaseIT.java:53)
01-Oct-2024 21:51:18         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
01-Oct-2024 21:51:18         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
01-Oct-2024 21:51:18         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
01-Oct-2024 21:51:18         at java.lang.reflect.Method.invoke(Method.java:498)
01-Oct-2024 21:51:18         at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
01-Oct-2024 21:51:18         at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
01-Oct-2024 21:51:18         at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
01-Oct-2024 21:51:18         at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
01-Oct-2024 21:51:18         at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
01-Oct-2024 21:51:18         at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
01-Oct-2024 21:51:18         at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
01-Oct-2024 21:51:18         at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
01-Oct-2024 21:51:18         at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
01-Oct-2024 21:51:18         at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
01-Oct-2024 21:51:18         at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
01-Oct-2024 21:51:18         at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
01-Oct-2024 21:51:18         at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
01-Oct-2024 21:51:18         at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
01-Oct-2024 21:51:18         at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:214)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
01-Oct-2024 21:51:18         at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:210)
01-Oct-2024 21:51:18         at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
01-Oct-2024 21:51:18         at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:66)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
01-Oct-2024 21:51:18         at java.util.ArrayList.forEach(ArrayList.java:1259)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
01-Oct-2024 21:51:18         at java.util.ArrayList.forEach(ArrayList.java:1259)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
01-Oct-2024 21:51:18         at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
01-Oct-2024 21:51:18         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
01-Oct-2024 21:51:18         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
01-Oct-2024 21:51:18         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
01-Oct-2024 21:51:18         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
01-Oct-2024 21:51:18         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
01-Oct-2024 21:51:18         at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
01-Oct-2024 21:51:18         at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
01-Oct-2024 21:51:18         at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
01-Oct-2024 21:51:18         at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:55)
01-Oct-2024 21:51:18         at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:223)
01-Oct-2024 21:51:18         at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:175)
01-Oct-2024 21:51:18         at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:139)
01-Oct-2024 21:51:18         at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
01-Oct-2024 21:51:18         at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
01-Oct-2024 21:51:18         at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
01-Oct-2024 21:51:18         at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)
01-Oct-2024 21:51:18
01-Oct-2024 21:51:18 [INFO] Running org.openmrs.util.databasechange.ValidateHibernateMappingsDatabaseIT
01-Oct-2024 21:52:25 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.966 s - in org.openmrs.util.databasechange.ValidateHibernateMappingsDatabaseIT
01-Oct-2024 21:52:25 [INFO] Running org.openmrs.liquibase.ChangeLogDetectiveDatabaseIT
01-Oct-2024 21:52:51 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.683 s - in org.openmrs.liquibase.ChangeLogDetectiveDatabaseIT
01-Oct-2024 21:52:52 [INFO]
01-Oct-2024 21:52:52 [INFO] Results:
01-Oct-2024 21:52:52 [INFO]
01-Oct-2024 21:52:52 [ERROR] Errors:
01-Oct-2024 21:52:52 [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 21:52:52 [INFO]
01-Oct-2024 21:52:52 [ERROR] Tests run: 6, Failures: 0, Errors: 1, Skipped: 0
01-Oct-2024 21:52:52 [INFO]
01-Oct-2024 21:52:52 [INFO] ------------------------------------------------------------------------
01-Oct-2024 21:52:52 [INFO] Reactor Summary for OpenMRS 2.5.13-SNAPSHOT:
01-Oct-2024 21:52:52 [INFO]
01-Oct-2024 21:52:52 [INFO] OpenMRS ............................................ SUCCESS [  2.047 s]
01-Oct-2024 21:52:52 [INFO] openmrs-tools ...................................... SUCCESS [  0.763 s]
01-Oct-2024 21:52:52 [INFO] openmrs-test ....................................... SUCCESS [  0.122 s]
01-Oct-2024 21:52:52 [INFO] openmrs-api ........................................ FAILURE [05:36 min]
01-Oct-2024 21:52:52 [INFO] openmrs-web ........................................ SKIPPED
01-Oct-2024 21:52:52 [INFO] openmrs-webapp ..................................... SKIPPED
01-Oct-2024 21:52:52 [INFO] openmrs-liquibase .................................. SKIPPED
01-Oct-2024 21:52:52 [INFO] ------------------------------------------------------------------------
01-Oct-2024 21:52:52 [INFO] BUILD FAILURE
01-Oct-2024 21:52:52 [INFO] ------------------------------------------------------------------------
01-Oct-2024 21:52:52 [INFO] Total time:  05:40 min
01-Oct-2024 21:52:52 [INFO] Finished at: 2024-10-01T21:52:52Z
01-Oct-2024 21:52:52 [INFO] ------------------------------------------------------------------------
01-Oct-2024 21:52:52 [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 21:52:52 [ERROR]
01-Oct-2024 21:52:52 [ERROR] Please refer to /openmrs_core/api/target/surefire-reports for the individual test results.
01-Oct-2024 21:52:52 [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
01-Oct-2024 21:52:52 [ERROR] -> [Help 1]
01-Oct-2024 21:52:52 [ERROR]
01-Oct-2024 21:52:52 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
01-Oct-2024 21:52:52 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
01-Oct-2024 21:52:52 [ERROR]
01-Oct-2024 21:52:52 [ERROR] For more information about the errors and possible solutions, please read the following articles:
01-Oct-2024 21:52:52 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
01-Oct-2024 21:52:52 [ERROR]
01-Oct-2024 21:52:52 [ERROR] After correcting the problems, you can resume the build with the command
01-Oct-2024 21:52:52 [ERROR]   mvn <args> -rf :openmrs-api
01-Oct-2024 21:52:52 Failing task since return code of [/home/bamboo-agent/bamboo-agent/temp/TRUNK-CORE2-IT-225-ScriptBuildTask-1978560054326561508.sh] was 1 while expected 0
01-Oct-2024 21:52:52 Finished task 'Run integration tests' with result: Failed
01-Oct-2024 21:52:52 Running post build plugin 'Docker Container Cleanup'
01-Oct-2024 21:52:52 Running post build plugin 'NCover Results Collector'
01-Oct-2024 21:52:52 Running post build plugin 'Build Results Label Collector'
01-Oct-2024 21:52:52 Running post build plugin 'Clover Results Collector'
01-Oct-2024 21:52:52 Running post build plugin 'npm Cache Cleanup'
01-Oct-2024 21:52:52 Running post build plugin 'Artifact Copier'
01-Oct-2024 21:52:52 Finalising the build...
01-Oct-2024 21:52:52 Stopping timer.
01-Oct-2024 21:52:52 Build TRUNK-CORE2-IT-225 completed.
01-Oct-2024 21:52:52 Running on server: post build plugin 'Build Hanging Detection Configuration'
01-Oct-2024 21:52:52 Running on server: post build plugin 'NCover Results Collector'
01-Oct-2024 21:52:52 Running on server: post build plugin 'Build Labeller'
01-Oct-2024 21:52:52 Running on server: post build plugin 'Clover Delta Calculator'
01-Oct-2024 21:52:52 Running on server: post build plugin 'Maven Dependencies Postprocessor'
01-Oct-2024 21:52:52 All post build plugins have finished
01-Oct-2024 21:52:52 Generating build results summary...
01-Oct-2024 21:52:52 Saving build results to disk...
01-Oct-2024 21:52:52 Store variable context...
01-Oct-2024 21:52:52 Finished building TRUNK-CORE2-IT-225.