Build: #126 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.

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