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

28-Oct-2025 22:09:01 Build OpenMRS Platform - OpenMRS Platform - 2.5.x - Test on MySQL #235 (OP-OPM9-TOM-235) is being prepared for building on agent yu.openmrs.org, bamboo version: 11.0.2
28-Oct-2025 22:09:01 Remote agent on host yu.openmrs.org
28-Oct-2025 22:09:01 Build working directory is /data/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM
28-Oct-2025 22:09:01 Executing build OpenMRS Platform - OpenMRS Platform - 2.5.x - Test on MySQL #235 (OP-OPM9-TOM-235)
28-Oct-2025 22:09:01 Starting task 'Checkout source' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
28-Oct-2025 22:09:01 Checking out into /data/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM
28-Oct-2025 22:09:01 Updating source code to revision: 29ff811a468d1cf9f081b9c6e598ca42b826a10f
28-Oct-2025 22:09:01 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM/.git'.
28-Oct-2025 22:09:01 hint: Using 'master' as the name for the initial branch. This default branch name
28-Oct-2025 22:09:01 hint: is subject to change. To configure the initial branch name to use in all
28-Oct-2025 22:09:01 hint: of your new repositories, which will suppress this warning, call:
28-Oct-2025 22:09:01 hint:
28-Oct-2025 22:09:01 hint:         git config --global init.defaultBranch <name>
28-Oct-2025 22:09:01 hint:
28-Oct-2025 22:09:01 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
28-Oct-2025 22:09:01 hint: 'development'. The just-created branch can be renamed via this command:
28-Oct-2025 22:09:01 hint:
28-Oct-2025 22:09:01 hint:         git branch -m <name>
28-Oct-2025 22:09:01 Initialized empty Git repository in /data/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM/.git/
28-Oct-2025 22:09:01 Fetching 'refs/heads/2.5.x' from 'https://github.com/openmrs/openmrs-distro-platform Will try to do a shallow fetch.'.
28-Oct-2025 22:09:01 Checking out revision 29ff811a468d1cf9f081b9c6e598ca42b826a10f.
28-Oct-2025 22:09:01 fatal: reference is not a tree: 29ff811a468d1cf9f081b9c6e598ca42b826a10f
28-Oct-2025 22:09:01 Checkout to revision 29ff811a468d1cf9f081b9c6e598ca42b826a10f has failed.
28-Oct-2025 22:09:01 Warning: failed to checkout source code to directory '/data/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM', trying to recover...
28-Oct-2025 22:09:01 Cleaned source directory '/data/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM'...
28-Oct-2025 22:09:01 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM/.git'.
28-Oct-2025 22:09:01 hint: Using 'master' as the name for the initial branch. This default branch name
28-Oct-2025 22:09:01 hint: is subject to change. To configure the initial branch name to use in all
28-Oct-2025 22:09:01 hint: of your new repositories, which will suppress this warning, call:
28-Oct-2025 22:09:01 hint:
28-Oct-2025 22:09:01 hint:         git config --global init.defaultBranch <name>
28-Oct-2025 22:09:01 hint:
28-Oct-2025 22:09:01 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
28-Oct-2025 22:09:01 hint: 'development'. The just-created branch can be renamed via this command:
28-Oct-2025 22:09:01 hint:
28-Oct-2025 22:09:01 hint:         git branch -m <name>
28-Oct-2025 22:09:01 Initialized empty Git repository in /data/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM/.git/
28-Oct-2025 22:09:01 Fetching 'refs/heads/2.5.x' from 'https://github.com/openmrs/openmrs-distro-platform'.
28-Oct-2025 22:09:01 Fetching to source directory '/data/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM' completed, proceeding with checkout...
28-Oct-2025 22:09:01 Checking out revision 29ff811a468d1cf9f081b9c6e598ca42b826a10f.
28-Oct-2025 22:09:01 Note: switching to '29ff811a468d1cf9f081b9c6e598ca42b826a10f'.
28-Oct-2025 22:09:01
28-Oct-2025 22:09:01 You are in 'detached HEAD' state. You can look around, make experimental
28-Oct-2025 22:09:01 changes and commit them, and you can discard any commits you make in this
28-Oct-2025 22:09:01 state without impacting any branches by switching back to a branch.
28-Oct-2025 22:09:01
28-Oct-2025 22:09:01 If you want to create a new branch to retain commits you create, you may
28-Oct-2025 22:09:01 do so (now or later) by using -c with the switch command. Example:
28-Oct-2025 22:09:01
28-Oct-2025 22:09:01   git switch -c <new-branch-name>
28-Oct-2025 22:09:01
28-Oct-2025 22:09:01 Or undo this operation with:
28-Oct-2025 22:09:01
28-Oct-2025 22:09:01   git switch -
28-Oct-2025 22:09:01
28-Oct-2025 22:09:01 Turn off this advice by setting config variable advice.detachedHead to false
28-Oct-2025 22:09:01
28-Oct-2025 22:09:01 HEAD is now at 29ff811 "Updated versions"
28-Oct-2025 22:09:01 Checkout completed, recover successful.
28-Oct-2025 22:09:01 Updated source code to revision: 29ff811a468d1cf9f081b9c6e598ca42b826a10f
28-Oct-2025 22:09:01 Finished task 'Checkout source' with result: Success
28-Oct-2025 22:09:01 Running pre-build action: Build Log Labeller Pre Build Action
28-Oct-2025 22:09:01 Running pre-build action: VCS Version Collector
28-Oct-2025 22:09:01 Running pre-build action: Run Predator
28-Oct-2025 22:09:01 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
28-Oct-2025 22:09:01 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
28-Oct-2025 22:09:01 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 30408 java        1755 bamboo-age 3187Mb  510Mb 00:06:45 /usr/lib/jvm/java-21-op
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1755 wrapper     1693 bamboo-age   88Mb    3Mb 00:03:38 /data/bamboo-agent/bin/
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1693 bamboo       818 bamboo-age    3Mb    1Mb 00:00:00 /bin/sh /data/bamboo-ag
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):   818 java           1 bamboo-age 4038Mb   91Mb 00:02:03 /usr/lib/jvm/java-21-op
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        163Mb   10Mb 00:00:27 /sbin/init             
28-Oct-2025 22:09:02 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Initial free space: 67.97581 GB
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/SXS-SXS-RTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OP-OPM-TOM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/SMGT-STOC-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AUTH-AUTHUI-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-BTJ17
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AS-ASML-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-RM1-RTMVN
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REGAPP-REGAPP-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/QM-QUEUE-RTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AUM-AUM-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-BTJ24
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/CA-CA-RTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-BTJ17
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-BTJ11
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/DM-DM-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-RTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/META-META-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-BTJ8
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AS-ASML-BTJ8
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM2-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AU-AU1-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/SDK-SDKL-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REPREST-REPREST-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM227-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AU-AUL-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/ATT-ATT-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/QM-QUEUE-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP2-BTJ21
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-BTJ17
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OM-OM-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-RTMVN
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-BTJ8
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-BTJ21
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/IDGEN-IDGEN-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-BTJ8
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OWA-OWA-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-BTJ11
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP2-BTJ17
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-JOB1
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/LU-LUL-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-RM1-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-BTJ11
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OCLM-OCLM-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/SXS-SXS-DTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/ATT-ATT-BTJ8
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP0-BTJ17
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REGAPP-REGAPP-RTM
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-BTJ11
28-Oct-2025 22:09:02 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-RTM
28-Oct-2025 22:09:03 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
28-Oct-2025 22:09:03 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
28-Oct-2025 22:09:03 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
28-Oct-2025 22:09:04 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
28-Oct-2025 22:09:04 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
28-Oct-2025 22:09:04 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
28-Oct-2025 22:09:04 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
28-Oct-2025 22:09:04 [PredatorPreBuildAction] Final free space: 67.97606 GB
28-Oct-2025 22:09:04 [PredatorPreBuildAction] Done
28-Oct-2025 22:09:04 Build OpenMRS Platform - OpenMRS Platform - 2.5.x - Test on MySQL #235 (OP-OPM9-TOM-235) started building on agent 'yu.openmrs.org' (Remote agent on host yu.openmrs.org)
28-Oct-2025 22:09:04
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-platform@sha256:6fda40d4a952d68e867c1ae96964e331f3e2f117316f2e1e9418c9f06eb82a7e
28-Oct-2025 22:09:04 Starting task 'Run docker-compose' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
28-Oct-2025 22:09:04
Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform - 2.5.x - Test on MySQL #235 (OP-OPM9-TOM-235)'
... running command line:
/data/bamboo-agent/temp/OP-OPM9-TOM-235-ScriptBuildTask-920201177075498265.sh
... in: /data/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM
28-Oct-2025 22:09:04 + docker pull openmrs/openmrs-platform@sha256:6fda40d4a952d68e867c1ae96964e331f3e2f117316f2e1e9418c9f06eb82a7e
28-Oct-2025 22:09:04 docker.io/openmrs/openmrs-platform@sha256:6fda40d4a952d68e867c1ae96964e331f3e2f117316f2e1e9418c9f06eb82a7e: Pulling from openmrs/openmrs-platform
28-Oct-2025 22:09:04 Digest: sha256:6fda40d4a952d68e867c1ae96964e331f3e2f117316f2e1e9418c9f06eb82a7e
28-Oct-2025 22:09:04 Status: Image is up to date for openmrs/openmrs-platform@sha256:6fda40d4a952d68e867c1ae96964e331f3e2f117316f2e1e9418c9f06eb82a7e
28-Oct-2025 22:09:04 docker.io/openmrs/openmrs-platform@sha256:6fda40d4a952d68e867c1ae96964e331f3e2f117316f2e1e9418c9f06eb82a7e
28-Oct-2025 22:09:04 + docker-compose -f docker-compose.yml -f docker-compose.mysql.yml down -v
28-Oct-2025 22:09:04 .FileNotFoundError: [Errno 2] No such file or directory: './docker-compose.mysql.yml'
28-Oct-2025 22:09:04 Failing task since return code of [/data/bamboo-agent/temp/OP-OPM9-TOM-235-ScriptBuildTask-920201177075498265.sh] was 1 while expected 0
28-Oct-2025 22:09:04 Finished task 'Run docker-compose' with result: Failed
28-Oct-2025 22:09:04 Starting task 'Stop docker-compose' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
28-Oct-2025 22:09:04
Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform - 2.5.x - Test on MySQL #235 (OP-OPM9-TOM-235)'
... running command line:
/data/bamboo-agent/temp/OP-OPM9-TOM-235-ScriptBuildTask-2939232276675019819.sh
... in: /data/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM
28-Oct-2025 22:09:04 .FileNotFoundError: [Errno 2] No such file or directory: './docker-compose.mysql.yml'
28-Oct-2025 22:09:04 Failing task since return code of [/data/bamboo-agent/temp/OP-OPM9-TOM-235-ScriptBuildTask-2939232276675019819.sh] was 1 while expected 0
28-Oct-2025 22:09:04 Finished task 'Stop docker-compose' with result: Failed
28-Oct-2025 22:09:04 Running post build plugin 'Docker Container Cleanup'
28-Oct-2025 22:09:04 Running post build plugin 'NCover Results Collector'
28-Oct-2025 22:09:04 Running post build plugin 'Build Results Label Collector'
28-Oct-2025 22:09:04 Running post build plugin 'Clover Results Collector'
28-Oct-2025 22:09:04 Running post build plugin 'npm Cache Cleanup'
28-Oct-2025 22:09:04 Running post build plugin 'Artifact Copier'
28-Oct-2025 22:09:04 Finalising the build...
28-Oct-2025 22:09:04 Stopping timer.
28-Oct-2025 22:09:04 Build OP-OPM9-TOM-235 completed.
28-Oct-2025 22:09:05 Running on server: post build plugin 'Build Hanging Detection Configuration'
28-Oct-2025 22:09:05 Running on server: post build plugin 'NCover Results Collector'
28-Oct-2025 22:09:05 Running on server: post build plugin 'Build Labeller'
28-Oct-2025 22:09:05 Running on server: post build plugin 'Clover Delta Calculator'
28-Oct-2025 22:09:05 Running on server: post build plugin 'Maven Dependencies Postprocessor'
28-Oct-2025 22:09:05 All post build plugins have finished
28-Oct-2025 22:09:05 Generating build results summary...
28-Oct-2025 22:09:05 Saving build results to disk...
28-Oct-2025 22:09:05 Store variable context...
28-Oct-2025 22:09:05 Finished building OP-OPM9-TOM-235.