Build: #153 failed

Job: Test on MySQL failed

Stages & jobs

  1. Build and push

  2. Validate

  3. Update versions

  4. Release

    Requires a user to start manually
  5. Release 2nd stage

  6. Release 3rd stage

Build log

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

31-Oct-2024 12:39:10 Build OpenMRS Platform - OpenMRS Platform - 2.5.x - Test on MySQL #153 (OP-OPM9-TOM-153) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4
31-Oct-2024 12:39:10 Remote agent on host xiao.openmrs.org
31-Oct-2024 12:39:10 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM
31-Oct-2024 12:39:10 Executing build OpenMRS Platform - OpenMRS Platform - 2.5.x - Test on MySQL #153 (OP-OPM9-TOM-153)
31-Oct-2024 12:39:10 Starting task 'Checkout source' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
31-Oct-2024 12:39:10 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM
31-Oct-2024 12:39:10 Updating source code to revision: 0f9a9fc73b0404774f05244b575ac350c02c3938
31-Oct-2024 12:39:10 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM/.git'.
31-Oct-2024 12:39:10 hint: Using 'master' as the name for the initial branch. This default branch name
31-Oct-2024 12:39:10 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM/.git/
31-Oct-2024 12:39:10 hint: is subject to change. To configure the initial branch name to use in all
31-Oct-2024 12:39:10 hint: of your new repositories, which will suppress this warning, call:
31-Oct-2024 12:39:10 hint:
31-Oct-2024 12:39:10 hint:         git config --global init.defaultBranch <name>
31-Oct-2024 12:39:10 hint:
31-Oct-2024 12:39:10 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
31-Oct-2024 12:39:10 hint: 'development'. The just-created branch can be renamed via this command:
31-Oct-2024 12:39:10 hint:
31-Oct-2024 12:39:10 hint:         git branch -m <name>
31-Oct-2024 12:39:10 Fetching 'refs/heads/2.5.x' from 'https://github.com/openmrs/openmrs-distro-platform'. Will try to do a shallow fetch.
31-Oct-2024 12:39:10 From https://github.com/openmrs/openmrs-distro-platform
31-Oct-2024 12:39:10 * [new branch]      2.5.x      -> 2.5.x
31-Oct-2024 12:39:10 Checking out revision 0f9a9fc73b0404774f05244b575ac350c02c3938.
31-Oct-2024 12:39:10 Switched to branch '2.5.x'
31-Oct-2024 12:39:10 Updated source code to revision: 0f9a9fc73b0404774f05244b575ac350c02c3938
31-Oct-2024 12:39:10 Finished task 'Checkout source' with result: Success
31-Oct-2024 12:39:10 Running pre-build action: Build Log Labeller Pre Build Action
31-Oct-2024 12:39:10 Running pre-build action: VCS Version Collector
31-Oct-2024 12:39:10 Running pre-build action: Run Predator
31-Oct-2024 12:39:10 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
31-Oct-2024 12:39:10 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
31-Oct-2024 12:39:10 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
31-Oct-2024 12:39:10 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
31-Oct-2024 12:39:10 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 19479 java        1258 bamboo-age 2962Mb  366Mb 00:00:32 /usr/lib/jvm/java-8-ope
31-Oct-2024 12:39:10 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1258 wrapper        1 bamboo-age   16Mb    3Mb 00:06:32 /home/bamboo-agent/bamb
31-Oct-2024 12:39:10 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:00:25 /sbin/init             
31-Oct-2024 12:39:10 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
31-Oct-2024 12:39:10 [PredatorPreBuildAction] Initial free space: 5.724415 GB
31-Oct-2024 12:39:10 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-DD3-JOB1
31-Oct-2024 12:39:11 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
31-Oct-2024 12:39:11 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
31-Oct-2024 12:39:11 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
31-Oct-2024 12:39:11 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
31-Oct-2024 12:39:11 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
31-Oct-2024 12:39:11 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
31-Oct-2024 12:39:11 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
31-Oct-2024 12:39:11 [PredatorPreBuildAction] Final free space: 5.724415 GB
31-Oct-2024 12:39:11 [PredatorPreBuildAction] Done
31-Oct-2024 12:39:11
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-platform@sha256:fce05f5460adde37800af115cd4d4e17c6f6fec54fd0046a13f5b0230b5cc2e6
31-Oct-2024 12:39:11 Starting task 'Run docker-compose' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
31-Oct-2024 12:39:11
Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform - 2.5.x - Test on MySQL #153 (OP-OPM9-TOM-153)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/OP-OPM9-TOM-153-ScriptBuildTask-1541214546246081558.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM
31-Oct-2024 12:39:11 Start of Lmod init/bash script to define the module command
31-Oct-2024 12:39:11 + [[ ehuB != ehuxB ]]
31-Oct-2024 12:39:11 + echo 'Start of Lmod init/bash script to define the module command'
31-Oct-2024 12:39:11 + LMOD_PKG=/usr/share/lmod/lmod
31-Oct-2024 12:39:11 + LMOD_DIR=/usr/share/lmod/lmod/libexec
31-Oct-2024 12:39:11 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
31-Oct-2024 12:39:11 + MODULESHOME=/usr/share/lmod/lmod
31-Oct-2024 12:39:11 + export LMOD_PKG
31-Oct-2024 12:39:11 + export LMOD_CMD
31-Oct-2024 12:39:11 + export LMOD_DIR
31-Oct-2024 12:39:11 + export MODULESHOME
31-Oct-2024 12:39:11 + LMOD_VERSION=6.6
31-Oct-2024 12:39:11 + export LMOD_VERSION
31-Oct-2024 12:39:11 + '[' : '!=' : ']'
31-Oct-2024 12:39:11 + unalias ml
31-Oct-2024 12:39:11 + true
31-Oct-2024 12:39:11 ++ /usr/bin/tr '[:upper:]' '[:lower:]'
31-Oct-2024 12:39:11 ++ echo YES
31-Oct-2024 12:39:11 + export_module=yes
31-Oct-2024 12:39:11 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']'
31-Oct-2024 12:39:11 + export -f module
31-Oct-2024 12:39:11 + export -f ml
31-Oct-2024 12:39:11 + unset export_module
31-Oct-2024 12:39:11 + '[' -n '' ']'
31-Oct-2024 12:39:11 + '[' 5 -ge 3 ']'
31-Oct-2024 12:39:11 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']'
31-Oct-2024 12:39:11 + '[' -n '' ']'
31-Oct-2024 12:39:11 + [[ ehuB != ehuxB ]]
31-Oct-2024 12:39:11 + echo 'End of Lmod init/bash script to define the module command'
31-Oct-2024 12:39:11 + docker pull openmrs/openmrs-platform@sha256:fce05f5460adde37800af115cd4d4e17c6f6fec54fd0046a13f5b0230b5cc2e6
31-Oct-2024 12:39:11 End of Lmod init/bash script to define the module command
31-Oct-2024 12:39:12 docker.io/openmrs/openmrs-platform@sha256:fce05f5460adde37800af115cd4d4e17c6f6fec54fd0046a13f5b0230b5cc2e6: Pulling from openmrs/openmrs-platform
31-Oct-2024 12:39:12 fbbe555f6365: Pulling fs layer
31-Oct-2024 12:39:12 de8fb3e842b1: Pulling fs layer
31-Oct-2024 12:39:12 05b29ff4379c: Pulling fs layer
31-Oct-2024 12:39:12 5d3393a37b92: Pulling fs layer
31-Oct-2024 12:39:12 6af6a36dd096: Pulling fs layer
31-Oct-2024 12:39:12 3d4252a37ff7: Pulling fs layer
31-Oct-2024 12:39:12 174e549830d3: Pulling fs layer
31-Oct-2024 12:39:12 1a0d08fbefda: Pulling fs layer
31-Oct-2024 12:39:12 a450816c5f93: Pulling fs layer
31-Oct-2024 12:39:12 8ecf4325168e: Pulling fs layer
31-Oct-2024 12:39:12 4f4fb700ef54: Pulling fs layer
31-Oct-2024 12:39:12 5afabc91270f: Pulling fs layer
31-Oct-2024 12:39:12 556ea38d38b3: Pulling fs layer
31-Oct-2024 12:39:12 dc7a344ceec8: Pulling fs layer
31-Oct-2024 12:39:12 b314bd73feb3: Pulling fs layer
31-Oct-2024 12:39:12 d2b652cd6f02: Pulling fs layer
31-Oct-2024 12:39:12 5d3393a37b92: Waiting
31-Oct-2024 12:39:12 6af6a36dd096: Waiting
31-Oct-2024 12:39:12 3d4252a37ff7: Waiting
31-Oct-2024 12:39:12 174e549830d3: Waiting
31-Oct-2024 12:39:12 1a0d08fbefda: Waiting
31-Oct-2024 12:39:12 a450816c5f93: Waiting
31-Oct-2024 12:39:12 8ecf4325168e: Waiting
31-Oct-2024 12:39:12 4f4fb700ef54: Waiting
31-Oct-2024 12:39:12 5afabc91270f: Waiting
31-Oct-2024 12:39:12 556ea38d38b3: Waiting
31-Oct-2024 12:39:12 dc7a344ceec8: Waiting
31-Oct-2024 12:39:12 b314bd73feb3: Waiting
31-Oct-2024 12:39:12 d2b652cd6f02: Waiting
31-Oct-2024 12:39:12 05b29ff4379c: Verifying Checksum
31-Oct-2024 12:39:12 05b29ff4379c: Download complete
31-Oct-2024 12:39:12 5d3393a37b92: Verifying Checksum
31-Oct-2024 12:39:12 5d3393a37b92: Download complete
31-Oct-2024 12:39:12 6af6a36dd096: Verifying Checksum
31-Oct-2024 12:39:12 6af6a36dd096: Download complete
31-Oct-2024 12:39:13 fbbe555f6365: Verifying Checksum
31-Oct-2024 12:39:13 fbbe555f6365: Download complete
31-Oct-2024 12:39:13 174e549830d3: Verifying Checksum
31-Oct-2024 12:39:13 174e549830d3: Download complete
31-Oct-2024 12:39:13 de8fb3e842b1: Verifying Checksum
31-Oct-2024 12:39:13 de8fb3e842b1: Download complete
31-Oct-2024 12:39:13 1a0d08fbefda: Verifying Checksum
31-Oct-2024 12:39:13 1a0d08fbefda: Download complete
31-Oct-2024 12:39:13 a450816c5f93: Verifying Checksum
31-Oct-2024 12:39:13 a450816c5f93: Download complete
31-Oct-2024 12:39:13 8ecf4325168e: Verifying Checksum
31-Oct-2024 12:39:13 8ecf4325168e: Download complete
31-Oct-2024 12:39:13 4f4fb700ef54: Verifying Checksum
31-Oct-2024 12:39:13 4f4fb700ef54: Download complete
31-Oct-2024 12:39:13 5afabc91270f: Verifying Checksum
31-Oct-2024 12:39:13 5afabc91270f: Download complete
31-Oct-2024 12:39:13 dc7a344ceec8: Verifying Checksum
31-Oct-2024 12:39:13 dc7a344ceec8: Download complete
31-Oct-2024 12:39:14 556ea38d38b3: Verifying Checksum
31-Oct-2024 12:39:14 556ea38d38b3: Download complete
31-Oct-2024 12:39:14 3d4252a37ff7: Verifying Checksum
31-Oct-2024 12:39:14 3d4252a37ff7: Download complete
31-Oct-2024 12:39:14 b314bd73feb3: Verifying Checksum
31-Oct-2024 12:39:14 b314bd73feb3: Download complete
31-Oct-2024 12:39:15 d2b652cd6f02: Verifying Checksum
31-Oct-2024 12:39:15 d2b652cd6f02: Download complete
31-Oct-2024 12:39:18 fbbe555f6365: Pull complete
31-Oct-2024 12:39:19 de8fb3e842b1: Pull complete
31-Oct-2024 12:39:20 05b29ff4379c: Pull complete
31-Oct-2024 12:39:20 5d3393a37b92: Pull complete
31-Oct-2024 12:39:20 6af6a36dd096: Pull complete
31-Oct-2024 12:39:23 3d4252a37ff7: Pull complete
31-Oct-2024 12:39:23 174e549830d3: Pull complete
31-Oct-2024 12:39:23 1a0d08fbefda: Pull complete
31-Oct-2024 12:39:23 a450816c5f93: Pull complete
31-Oct-2024 12:39:23 8ecf4325168e: Pull complete
31-Oct-2024 12:39:24 4f4fb700ef54: Pull complete
31-Oct-2024 12:39:24 5afabc91270f: Pull complete
31-Oct-2024 12:39:25 556ea38d38b3: Pull complete
31-Oct-2024 12:39:25 dc7a344ceec8: Pull complete
31-Oct-2024 12:39:26 b314bd73feb3: Pull complete
31-Oct-2024 12:39:26 d2b652cd6f02: Pull complete
31-Oct-2024 12:39:26 Digest: sha256:fce05f5460adde37800af115cd4d4e17c6f6fec54fd0046a13f5b0230b5cc2e6
31-Oct-2024 12:39:26 Status: Downloaded newer image for openmrs/openmrs-platform@sha256:fce05f5460adde37800af115cd4d4e17c6f6fec54fd0046a13f5b0230b5cc2e6
31-Oct-2024 12:39:26 docker.io/openmrs/openmrs-platform@sha256:fce05f5460adde37800af115cd4d4e17c6f6fec54fd0046a13f5b0230b5cc2e6
31-Oct-2024 12:39:26 + docker-compose -f docker-compose.yml -f docker-compose.mysql.yml down -v
31-Oct-2024 12:39:26 .FileNotFoundError: [Errno 2] No such file or directory: './docker-compose.mysql.yml'
31-Oct-2024 12:39:26 Failing task since return code of [/home/bamboo-agent/bamboo-agent/temp/OP-OPM9-TOM-153-ScriptBuildTask-1541214546246081558.sh] was 1 while expected 0
31-Oct-2024 12:39:26 Finished task 'Run docker-compose' with result: Failed
31-Oct-2024 12:39:26 Starting task 'Stop docker-compose' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
31-Oct-2024 12:39:26
Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform - 2.5.x - Test on MySQL #153 (OP-OPM9-TOM-153)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/OP-OPM9-TOM-153-ScriptBuildTask-2839852605766679601.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM
31-Oct-2024 12:39:26 .FileNotFoundError: [Errno 2] No such file or directory: './docker-compose.mysql.yml'
31-Oct-2024 12:39:26 Failing task since return code of [/home/bamboo-agent/bamboo-agent/temp/OP-OPM9-TOM-153-ScriptBuildTask-2839852605766679601.sh] was 1 while expected 0
31-Oct-2024 12:39:26 Finished task 'Stop docker-compose' with result: Failed
31-Oct-2024 12:39:26 Running post build plugin 'Docker Container Cleanup'
31-Oct-2024 12:39:26 Running post build plugin 'NCover Results Collector'
31-Oct-2024 12:39:26 Running post build plugin 'Build Results Label Collector'
31-Oct-2024 12:39:26 Running post build plugin 'Clover Results Collector'
31-Oct-2024 12:39:26 Running post build plugin 'npm Cache Cleanup'
31-Oct-2024 12:39:26 Running post build plugin 'Artifact Copier'
31-Oct-2024 12:39:26 Finalising the build...
31-Oct-2024 12:39:26 Stopping timer.
31-Oct-2024 12:39:26 Build OP-OPM9-TOM-153 completed.
31-Oct-2024 12:39:27 Running on server: post build plugin 'Build Hanging Detection Configuration'
31-Oct-2024 12:39:27 Running on server: post build plugin 'NCover Results Collector'
31-Oct-2024 12:39:27 Running on server: post build plugin 'Build Labeller'
31-Oct-2024 12:39:27 Running on server: post build plugin 'Clover Delta Calculator'
31-Oct-2024 12:39:27 Running on server: post build plugin 'Maven Dependencies Postprocessor'
31-Oct-2024 12:39:27 All post build plugins have finished
31-Oct-2024 12:39:27 Generating build results summary...
31-Oct-2024 12:39:27 Saving build results to disk...
31-Oct-2024 12:39:27 Store variable context...
31-Oct-2024 12:39:27 Finished building OP-OPM9-TOM-153.