Build: #127 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 192 lines of output. Download or view full build log.

26-Apr-2024 00:28:29 Build OpenMRS Platform - OpenMRS Platform - 2.5.x - Test on MySQL #127 (OP-OPM9-TOM-127) started building on agent xindi.openmrs.org (3), bamboo version: 8.2.4
26-Apr-2024 00:28:29 Remote agent on host xindi.openmrs.org
26-Apr-2024 00:28:29 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM
26-Apr-2024 00:28:29 Executing build OpenMRS Platform - OpenMRS Platform - 2.5.x - Test on MySQL #127 (OP-OPM9-TOM-127)
26-Apr-2024 00:28:29 Starting task 'Checkout source' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
26-Apr-2024 00:28:29 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM
26-Apr-2024 00:28:29 Updating source code to revision: a3e83854ff451db302e142db845e0d3e910aba3f
26-Apr-2024 00:28:29 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM/.git'.
26-Apr-2024 00:28:29 hint: Using 'master' as the name for the initial branch. This default branch name
26-Apr-2024 00:28:29 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM/.git/
26-Apr-2024 00:28:29 hint: is subject to change. To configure the initial branch name to use in all
26-Apr-2024 00:28:29 hint: of your new repositories, which will suppress this warning, call:
26-Apr-2024 00:28:29 hint:
26-Apr-2024 00:28:29 hint:         git config --global init.defaultBranch <name>
26-Apr-2024 00:28:29 hint:
26-Apr-2024 00:28:29 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
26-Apr-2024 00:28:29 hint: 'development'. The just-created branch can be renamed via this command:
26-Apr-2024 00:28:29 hint:
26-Apr-2024 00:28:29 hint:         git branch -m <name>
26-Apr-2024 00:28:29 Fetching 'refs/heads/2.5.x' from 'https://github.com/openmrs/openmrs-distro-platform'. Will try to do a shallow fetch.
26-Apr-2024 00:28:29 From https://github.com/openmrs/openmrs-distro-platform
26-Apr-2024 00:28:29 * [new branch]      2.5.x      -> 2.5.x
26-Apr-2024 00:28:29 Checking out revision a3e83854ff451db302e142db845e0d3e910aba3f.
26-Apr-2024 00:28:29 Switched to branch '2.5.x'
26-Apr-2024 00:28:29 Updated source code to revision: a3e83854ff451db302e142db845e0d3e910aba3f
26-Apr-2024 00:28:29 Finished task 'Checkout source' with result: Success
26-Apr-2024 00:28:29 Running pre-build action: Build Log Labeller Pre Build Action
26-Apr-2024 00:28:29 Running pre-build action: VCS Version Collector
26-Apr-2024 00:28:29 Running pre-build action: Run Predator
26-Apr-2024 00:28:29 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
26-Apr-2024 00:28:29 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
26-Apr-2024 00:28:29 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
26-Apr-2024 00:28:30 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
26-Apr-2024 00:28:30 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1973 java        1326 bamboo-age 2974Mb  381Mb 00:08:40 /usr/lib/jvm/java-8-ope
26-Apr-2024 00:28:30 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1326 wrapper        1 bamboo-age   16Mb    2Mb 00:02:16 /home/bamboo-agent/bamb
26-Apr-2024 00:28:30 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        100Mb   11Mb 00:00:13 /sbin/init             
26-Apr-2024 00:28:30 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
26-Apr-2024 00:28:30 [PredatorPreBuildAction] Initial free space: 5.6605988 GB
26-Apr-2024 00:28:30 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage
26-Apr-2024 00:28:30 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1
26-Apr-2024 00:28:30 [PredatorPreBuildAction] Deleting 22 snapshot folders from /home/bamboo-agent/.m2/repository
26-Apr-2024 00:28:30 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
26-Apr-2024 00:28:30 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
26-Apr-2024 00:28:30 [PredatorPreBuildAction] Maven stable disk freed: 0.9998248 GB, deleted 1147 files
26-Apr-2024 00:28:30 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
26-Apr-2024 00:28:30 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
26-Apr-2024 00:28:30 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
26-Apr-2024 00:28:30 [PredatorPreBuildAction] Final free space: 5.7588654 GB
26-Apr-2024 00:28:30 [PredatorPreBuildAction] Done
26-Apr-2024 00:28:30
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-platform@sha256:8fe90c5cbed1133a5ebef32f2af34e994bf66fdccd3795c79b44dfe77586b4d3
26-Apr-2024 00:28:30 Starting task 'Run docker-compose' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
26-Apr-2024 00:28:30
Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform - 2.5.x - Test on MySQL #127 (OP-OPM9-TOM-127)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/OP-OPM9-TOM-127-ScriptBuildTask-1035553800818502814.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM
26-Apr-2024 00:28:30 + [[ ehuB != ehuxB ]]
26-Apr-2024 00:28:30 + echo 'Start of Lmod init/bash script to define the module command'
26-Apr-2024 00:28:30 + LMOD_PKG=/usr/share/lmod/lmod
26-Apr-2024 00:28:30 Start of Lmod init/bash script to define the module command
26-Apr-2024 00:28:30 + LMOD_DIR=/usr/share/lmod/lmod/libexec
26-Apr-2024 00:28:30 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
26-Apr-2024 00:28:30 + MODULESHOME=/usr/share/lmod/lmod
26-Apr-2024 00:28:30 + export LMOD_PKG
26-Apr-2024 00:28:30 + export LMOD_CMD
26-Apr-2024 00:28:30 + export LMOD_DIR
26-Apr-2024 00:28:30 + export MODULESHOME
26-Apr-2024 00:28:30 + LMOD_VERSION=6.6
26-Apr-2024 00:28:30 + export LMOD_VERSION
26-Apr-2024 00:28:30 + '[' : '!=' : ']'
26-Apr-2024 00:28:30 + unalias ml
26-Apr-2024 00:28:30 + true
26-Apr-2024 00:28:30 ++ /usr/bin/tr '[:upper:]' '[:lower:]'
26-Apr-2024 00:28:30 ++ echo YES
26-Apr-2024 00:28:30 + export_module=yes
26-Apr-2024 00:28:30 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']'
26-Apr-2024 00:28:30 + export -f module
26-Apr-2024 00:28:30 + export -f ml
26-Apr-2024 00:28:30 + unset export_module
26-Apr-2024 00:28:30 + '[' -n '' ']'
26-Apr-2024 00:28:30 + '[' 5 -ge 3 ']'
26-Apr-2024 00:28:30 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']'
26-Apr-2024 00:28:30 + '[' -n '' ']'
26-Apr-2024 00:28:30 + [[ ehuB != ehuxB ]]
26-Apr-2024 00:28:30 + echo 'End of Lmod init/bash script to define the module command'
26-Apr-2024 00:28:30 End of Lmod init/bash script to define the module command
26-Apr-2024 00:28:30 + docker pull openmrs/openmrs-platform@sha256:8fe90c5cbed1133a5ebef32f2af34e994bf66fdccd3795c79b44dfe77586b4d3
26-Apr-2024 00:28:31 docker.io/openmrs/openmrs-platform@sha256:8fe90c5cbed1133a5ebef32f2af34e994bf66fdccd3795c79b44dfe77586b4d3: Pulling from openmrs/openmrs-platform
26-Apr-2024 00:28:31 e24f20ed38d8: Pulling fs layer
26-Apr-2024 00:28:31 8b1e711ade82: Pulling fs layer
26-Apr-2024 00:28:31 edb7bc08d0b3: Pulling fs layer
26-Apr-2024 00:28:31 6585652513a1: Pulling fs layer
26-Apr-2024 00:28:31 70bef2a3df5d: Pulling fs layer
26-Apr-2024 00:28:31 47426cdbcc25: Pulling fs layer
26-Apr-2024 00:28:31 0be226990a70: Pulling fs layer
26-Apr-2024 00:28:31 c98d21cb6efe: Pulling fs layer
26-Apr-2024 00:28:31 f9ce98cc1c43: Pulling fs layer
26-Apr-2024 00:28:31 3d7f2593ff03: Pulling fs layer
26-Apr-2024 00:28:31 4f4fb700ef54: Pulling fs layer
26-Apr-2024 00:28:31 3679140f7550: Pulling fs layer
26-Apr-2024 00:28:31 14d24f172ffd: Pulling fs layer
26-Apr-2024 00:28:31 42d8d1cb973a: Pulling fs layer
26-Apr-2024 00:28:31 2d0f49b2e9ac: Pulling fs layer
26-Apr-2024 00:28:31 e630a170903f: Pulling fs layer
26-Apr-2024 00:28:31 47426cdbcc25: Waiting
26-Apr-2024 00:28:31 0be226990a70: Waiting
26-Apr-2024 00:28:31 c98d21cb6efe: Waiting
26-Apr-2024 00:28:31 f9ce98cc1c43: Waiting
26-Apr-2024 00:28:31 3d7f2593ff03: Waiting
26-Apr-2024 00:28:31 4f4fb700ef54: Waiting
26-Apr-2024 00:28:31 3679140f7550: Waiting
26-Apr-2024 00:28:31 14d24f172ffd: Waiting
26-Apr-2024 00:28:31 42d8d1cb973a: Waiting
26-Apr-2024 00:28:31 2d0f49b2e9ac: Waiting
26-Apr-2024 00:28:31 e630a170903f: Waiting
26-Apr-2024 00:28:31 6585652513a1: Waiting
26-Apr-2024 00:28:31 70bef2a3df5d: Waiting
26-Apr-2024 00:28:31 edb7bc08d0b3: Verifying Checksum
26-Apr-2024 00:28:31 edb7bc08d0b3: Download complete
26-Apr-2024 00:28:31 6585652513a1: Verifying Checksum
26-Apr-2024 00:28:31 6585652513a1: Download complete
26-Apr-2024 00:28:31 e24f20ed38d8: Verifying Checksum
26-Apr-2024 00:28:31 e24f20ed38d8: Download complete
26-Apr-2024 00:28:31 70bef2a3df5d: Verifying Checksum
26-Apr-2024 00:28:31 70bef2a3df5d: Download complete
26-Apr-2024 00:28:32 47426cdbcc25: Verifying Checksum
26-Apr-2024 00:28:32 47426cdbcc25: Download complete
26-Apr-2024 00:28:32 0be226990a70: Verifying Checksum
26-Apr-2024 00:28:32 0be226990a70: Download complete
26-Apr-2024 00:28:32 f9ce98cc1c43: Verifying Checksum
26-Apr-2024 00:28:32 f9ce98cc1c43: Download complete
26-Apr-2024 00:28:32 c98d21cb6efe: Verifying Checksum
26-Apr-2024 00:28:32 c98d21cb6efe: Download complete
26-Apr-2024 00:28:32 8b1e711ade82: Verifying Checksum
26-Apr-2024 00:28:32 8b1e711ade82: Download complete
26-Apr-2024 00:28:32 3d7f2593ff03: Verifying Checksum
26-Apr-2024 00:28:32 3d7f2593ff03: Download complete
26-Apr-2024 00:28:32 4f4fb700ef54: Verifying Checksum
26-Apr-2024 00:28:32 4f4fb700ef54: Download complete
26-Apr-2024 00:28:32 3679140f7550: Verifying Checksum
26-Apr-2024 00:28:32 3679140f7550: Download complete
26-Apr-2024 00:28:32 42d8d1cb973a: Verifying Checksum
26-Apr-2024 00:28:32 42d8d1cb973a: Download complete
26-Apr-2024 00:28:32 e630a170903f: Verifying Checksum
26-Apr-2024 00:28:32 e630a170903f: Download complete
26-Apr-2024 00:28:33 2d0f49b2e9ac: Verifying Checksum
26-Apr-2024 00:28:33 2d0f49b2e9ac: Download complete
26-Apr-2024 00:28:33 14d24f172ffd: Verifying Checksum
26-Apr-2024 00:28:33 14d24f172ffd: Download complete
26-Apr-2024 00:28:34 e24f20ed38d8: Pull complete
26-Apr-2024 00:28:36 8b1e711ade82: Pull complete
26-Apr-2024 00:28:36 edb7bc08d0b3: Pull complete
26-Apr-2024 00:28:36 6585652513a1: Pull complete
26-Apr-2024 00:28:36 70bef2a3df5d: Pull complete
26-Apr-2024 00:28:37 47426cdbcc25: Pull complete
26-Apr-2024 00:28:37 0be226990a70: Pull complete
26-Apr-2024 00:28:37 c98d21cb6efe: Pull complete
26-Apr-2024 00:28:37 f9ce98cc1c43: Pull complete
26-Apr-2024 00:28:37 3d7f2593ff03: Pull complete
26-Apr-2024 00:28:37 4f4fb700ef54: Pull complete
26-Apr-2024 00:28:38 3679140f7550: Pull complete
26-Apr-2024 00:28:38 14d24f172ffd: Pull complete
26-Apr-2024 00:28:38 42d8d1cb973a: Pull complete
26-Apr-2024 00:28:39 2d0f49b2e9ac: Pull complete
26-Apr-2024 00:28:39 e630a170903f: Pull complete
26-Apr-2024 00:28:39 Digest: sha256:8fe90c5cbed1133a5ebef32f2af34e994bf66fdccd3795c79b44dfe77586b4d3
26-Apr-2024 00:28:39 Status: Downloaded newer image for openmrs/openmrs-platform@sha256:8fe90c5cbed1133a5ebef32f2af34e994bf66fdccd3795c79b44dfe77586b4d3
26-Apr-2024 00:28:39 docker.io/openmrs/openmrs-platform@sha256:8fe90c5cbed1133a5ebef32f2af34e994bf66fdccd3795c79b44dfe77586b4d3
26-Apr-2024 00:28:39 + docker-compose -f docker-compose.yml -f docker-compose.mysql.yml down -v
26-Apr-2024 00:28:39 .FileNotFoundError: [Errno 2] No such file or directory: './docker-compose.mysql.yml'
26-Apr-2024 00:28:39 Failing task since return code of [/home/bamboo-agent/bamboo-agent/temp/OP-OPM9-TOM-127-ScriptBuildTask-1035553800818502814.sh] was 1 while expected 0
26-Apr-2024 00:28:39 Finished task 'Run docker-compose' with result: Failed
26-Apr-2024 00:28:39 Starting task 'Stop docker-compose' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
26-Apr-2024 00:28:39
Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform - 2.5.x - Test on MySQL #127 (OP-OPM9-TOM-127)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/OP-OPM9-TOM-127-ScriptBuildTask-1591344898080675215.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM
26-Apr-2024 00:28:39 .FileNotFoundError: [Errno 2] No such file or directory: './docker-compose.mysql.yml'
26-Apr-2024 00:28:40 Failing task since return code of [/home/bamboo-agent/bamboo-agent/temp/OP-OPM9-TOM-127-ScriptBuildTask-1591344898080675215.sh] was 1 while expected 0
26-Apr-2024 00:28:40 Finished task 'Stop docker-compose' with result: Failed
26-Apr-2024 00:28:40 Running post build plugin 'Docker Container Cleanup'
26-Apr-2024 00:28:40 Running post build plugin 'NCover Results Collector'
26-Apr-2024 00:28:40 Running post build plugin 'Build Results Label Collector'
26-Apr-2024 00:28:40 Running post build plugin 'Clover Results Collector'
26-Apr-2024 00:28:40 Running post build plugin 'npm Cache Cleanup'
26-Apr-2024 00:28:40 Running post build plugin 'Artifact Copier'
26-Apr-2024 00:28:40 Finalising the build...
26-Apr-2024 00:28:40 Stopping timer.
26-Apr-2024 00:28:40 Build OP-OPM9-TOM-127 completed.
26-Apr-2024 00:28:40 Running on server: post build plugin 'Build Hanging Detection Configuration'
26-Apr-2024 00:28:40 Running on server: post build plugin 'NCover Results Collector'
26-Apr-2024 00:28:40 Running on server: post build plugin 'Build Labeller'
26-Apr-2024 00:28:40 Running on server: post build plugin 'Clover Delta Calculator'
26-Apr-2024 00:28:40 Running on server: post build plugin 'Maven Dependencies Postprocessor'
26-Apr-2024 00:28:40 All post build plugins have finished
26-Apr-2024 00:28:40 Generating build results summary...
26-Apr-2024 00:28:40 Saving build results to disk...
26-Apr-2024 00:28:40 Store variable context...
26-Apr-2024 00:28:40 Finished building OP-OPM9-TOM-127.