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