simple 24-Aug-2025 15:27:10 Build Open Concept Lab - OCL API 2 - dev - Run tests #189 (OCL-OCLAPI20-RT-189) is being prepared for building on agent ploong.openmrs.org, bamboo version: 11.0.2 simple 24-Aug-2025 15:27:10 Remote agent on host ploong.openmrs.org simple 24-Aug-2025 15:27:10 Build working directory is /data/bamboo-agent/xml-data/build-dir/OCL-OCLAPI20-RT simple 24-Aug-2025 15:27:10 Executing build Open Concept Lab - OCL API 2 - dev - Run tests #189 (OCL-OCLAPI20-RT-189) simple 24-Aug-2025 15:27:10 Starting task 'Clean working directory task' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask' simple 24-Aug-2025 15:27:10 Cleaning working directory '/data/bamboo-agent/xml-data/build-dir/OCL-OCLAPI20-RT' simple 24-Aug-2025 15:27:10 Finished task 'Clean working directory task' with result: Success simple 24-Aug-2025 15:27:10 Starting task 'Checkout source' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 24-Aug-2025 15:27:10 Checking out into /data/bamboo-agent/xml-data/build-dir/OCL-OCLAPI20-RT simple 24-Aug-2025 15:27:10 Updating source code to revision: 8160073003bce86ec51a234bb430bb5f0b43a75f simple 24-Aug-2025 15:27:10 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/OCL-OCLAPI20-RT/.git'. simple 24-Aug-2025 15:27:10 hint: Using 'master' as the name for the initial branch. This default branch name simple 24-Aug-2025 15:27:10 hint: is subject to change. To configure the initial branch name to use in all simple 24-Aug-2025 15:27:10 hint: of your new repositories, which will suppress this warning, call: simple 24-Aug-2025 15:27:10 hint: simple 24-Aug-2025 15:27:10 hint: git config --global init.defaultBranch simple 24-Aug-2025 15:27:10 hint: simple 24-Aug-2025 15:27:10 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 24-Aug-2025 15:27:10 hint: 'development'. The just-created branch can be renamed via this command: simple 24-Aug-2025 15:27:10 hint: simple 24-Aug-2025 15:27:10 hint: git branch -m simple 24-Aug-2025 15:27:10 Initialized empty Git repository in /data/bamboo-agent/xml-data/build-dir/OCL-OCLAPI20-RT/.git/ simple 24-Aug-2025 15:27:11 Fetching 'refs/heads/dev' from 'https://github.com/OpenConceptLab/oclapi2.git Will try to do a shallow fetch.'. simple 24-Aug-2025 15:27:13 Checking out revision 8160073003bce86ec51a234bb430bb5f0b43a75f. simple 24-Aug-2025 15:27:14 Switched to branch 'dev' simple 24-Aug-2025 15:27:14 Updated source code to revision: 8160073003bce86ec51a234bb430bb5f0b43a75f simple 24-Aug-2025 15:27:14 Finished task 'Checkout source' with result: Success simple 24-Aug-2025 15:27:14 Running pre-build action: Build Log Labeller Pre Build Action simple 24-Aug-2025 15:27:14 Running pre-build action: VCS Version Collector simple 24-Aug-2025 15:27:14 Running pre-build action: Run Predator simple 24-Aug-2025 15:27:14 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 24-Aug-2025 15:27:14 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 24-Aug-2025 15:27:14 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 24-Aug-2025 15:27:14 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' skipped, continuing. This is almost never a cause of failed builds. Exception: java.io.IOException: Cannot run program "/opt/scripts/cleanup-before-building.sh": error=2, No such file or directory simple 24-Aug-2025 15:27:14 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1355 java 1335 bamboo-age 3166Mb 495Mb 00:43:12 /usr/lib/jvm/java-21-op simple 24-Aug-2025 15:27:14 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1335 wrapper 1273 bamboo-age 88Mb 3Mb 00:18:59 /data/bamboo-agent/bin/ simple 24-Aug-2025 15:27:14 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1273 bamboo 666 bamboo-age 3Mb 2Mb 00:00:00 /bin/sh /data/bamboo-ag simple 24-Aug-2025 15:27:14 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 666 java 1 bamboo-age 4038Mb 41Mb 00:14:39 /usr/lib/jvm/java-21-op simple 24-Aug-2025 15:27:14 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:00:43 /sbin/init simple 24-Aug-2025 15:27:14 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 24-Aug-2025 15:27:14 [PredatorPreBuildAction] Initial free space: 74.53114 GB simple 24-Aug-2025 15:27:14 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage simple 24-Aug-2025 15:27:14 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OCL-OCLAPI20-CF simple 24-Aug-2025 15:27:14 [PredatorPreBuildAction] Maven local repository /home/bamboo-agent/.m2/repositorydoesn't exist, skipping the removal of maven snapshots simple 24-Aug-2025 15:27:14 [PredatorPreBuildAction] Maven local repository /home/bamboo-agent/.m2/repositorydoesn't exist, skipping the removal of empty artifacts simple 24-Aug-2025 15:27:14 [PredatorPreBuildAction] Maven local repository /home/bamboo-agent/.m2/repositorydoesn't exist, skipping the removal of maven snapshots simple 24-Aug-2025 15:27:14 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 24-Aug-2025 15:27:14 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. simple 24-Aug-2025 15:27:14 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 24-Aug-2025 15:27:14 [PredatorPreBuildAction] Final free space: 74.81678 GB simple 24-Aug-2025 15:27:14 [PredatorPreBuildAction] Done simple 24-Aug-2025 15:27:14 Build Open Concept Lab - OCL API 2 - dev - Run tests #189 (OCL-OCLAPI20-RT-189) started building on agent 'ploong.openmrs.org' (Remote agent on host ploong.openmrs.org) command 24-Aug-2025 15:27:14 Substituting variable: ${bamboo.docker.image.id} with openconceptlab/oclapi2@sha256:0b5f41791f8d6f87f175c4e8565449ca5798847b354153e883d4d60a70d9b63d simple 24-Aug-2025 15:27:14 Starting task 'Run tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 24-Aug-2025 15:27:14 Beginning to execute external process for build 'Open Concept Lab - OCL API 2 - dev - Run tests #189 (OCL-OCLAPI20-RT-189)'\n ... running command line: \n/data/bamboo-agent/temp/OCL-OCLAPI20-RT-189-ScriptBuildTask-15591748990929665439.sh\n ... in: /data/bamboo-agent/xml-data/build-dir/OCL-OCLAPI20-RT\n error 24-Aug-2025 15:27:14 + export API_IMAGE=openconceptlab/oclapi2@sha256:0b5f41791f8d6f87f175c4e8565449ca5798847b354153e883d4d60a70d9b63d error 24-Aug-2025 15:27:14 + API_IMAGE=openconceptlab/oclapi2@sha256:0b5f41791f8d6f87f175c4e8565449ca5798847b354153e883d4d60a70d9b63d error 24-Aug-2025 15:27:14 + docker pull openconceptlab/oclapi2@sha256:0b5f41791f8d6f87f175c4e8565449ca5798847b354153e883d4d60a70d9b63d build 24-Aug-2025 15:27:15 docker.io/openconceptlab/oclapi2@sha256:0b5f41791f8d6f87f175c4e8565449ca5798847b354153e883d4d60a70d9b63d: Pulling from openconceptlab/oclapi2 build 24-Aug-2025 15:27:15 Digest: sha256:0b5f41791f8d6f87f175c4e8565449ca5798847b354153e883d4d60a70d9b63d build 24-Aug-2025 15:27:15 Status: Image is up to date for openconceptlab/oclapi2@sha256:0b5f41791f8d6f87f175c4e8565449ca5798847b354153e883d4d60a70d9b63d build 24-Aug-2025 15:27:15 docker.io/openconceptlab/oclapi2@sha256:0b5f41791f8d6f87f175c4e8565449ca5798847b354153e883d4d60a70d9b63d build 24-Aug-2025 15:27:15 Running Tests error 24-Aug-2025 15:27:15 + echo 'Running Tests' error 24-Aug-2025 15:27:15 + docker-compose -f docker-compose.yml -f docker-compose.ci.yml run --rm api bash coverage.sh error 24-Aug-2025 15:27:15 /data/bamboo-agent/temp/OCL-OCLAPI20-RT-189-ScriptBuildTask-15591748990929665439.sh: line 10: docker-compose: command not found simple 24-Aug-2025 15:27:15 Failing task since return code of [/data/bamboo-agent/temp/OCL-OCLAPI20-RT-189-ScriptBuildTask-15591748990929665439.sh] was 127 while expected 0 simple 24-Aug-2025 15:27:15 Finished task 'Run tests' with result: Failed simple 24-Aug-2025 15:27:15 Starting task 'Clean up' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 24-Aug-2025 15:27:15 Beginning to execute external process for build 'Open Concept Lab - OCL API 2 - dev - Run tests #189 (OCL-OCLAPI20-RT-189)'\n ... running command line: \n/data/bamboo-agent/temp/OCL-OCLAPI20-RT-189-ScriptBuildTask-2722260920948681617.sh\n ... in: /data/bamboo-agent/xml-data/build-dir/OCL-OCLAPI20-RT\n error 24-Aug-2025 15:27:15 /data/bamboo-agent/temp/OCL-OCLAPI20-RT-189-ScriptBuildTask-2722260920948681617.sh: 1: docker-compose: not found simple 24-Aug-2025 15:27:15 Failing task since return code of [/data/bamboo-agent/temp/OCL-OCLAPI20-RT-189-ScriptBuildTask-2722260920948681617.sh] was 127 while expected 0 simple 24-Aug-2025 15:27:15 Finished task 'Clean up' with result: Failed simple 24-Aug-2025 15:27:15 Running post build plugin 'Docker Container Cleanup' simple 24-Aug-2025 15:27:15 Running post build plugin 'NCover Results Collector' simple 24-Aug-2025 15:27:15 Running post build plugin 'Build Results Label Collector' simple 24-Aug-2025 15:27:15 Running post build plugin 'Clover Results Collector' simple 24-Aug-2025 15:27:15 Running post build plugin 'npm Cache Cleanup' simple 24-Aug-2025 15:27:15 Running post build plugin 'Artifact Copier' simple 24-Aug-2025 15:27:15 Finalising the build... simple 24-Aug-2025 15:27:15 Stopping timer. simple 24-Aug-2025 15:27:15 Build OCL-OCLAPI20-RT-189 completed. simple 24-Aug-2025 15:27:15 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 24-Aug-2025 15:27:15 Running on server: post build plugin 'NCover Results Collector' simple 24-Aug-2025 15:27:15 Running on server: post build plugin 'Build Labeller' simple 24-Aug-2025 15:27:15 Running on server: post build plugin 'Clover Delta Calculator' simple 24-Aug-2025 15:27:15 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 24-Aug-2025 15:27:15 All post build plugins have finished simple 24-Aug-2025 15:27:15 Generating build results summary... simple 24-Aug-2025 15:27:15 Saving build results to disk... simple 24-Aug-2025 15:27:15 Store variable context... simple 24-Aug-2025 15:27:15 Finished building OCL-OCLAPI20-RT-189.