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