OCL API 2

Build: #2276 did not complete

Job: Run tests did not complete

Stages & jobs

  1. Build

  2. Test

  3. Deploy for testing

    Requires a user to start manually
  4. Release

    Requires a user to start manually

Job result summary

Queued
Source updated
Started
Completed
Cancelled
Agent
xiao.openmrs.org (2)
Revision
8e22f81a9e0bb0bc1e755bc6c886a9c8a6504558

Error summary

The build generated some errors. See the full build log for more details.

+ export API_IMAGE=openconceptlab/oclapi2@sha256:e4773ebd58b141e3c4e42be16a640e54aac6272e676adbe5a428f10bd688fe68
+ API_IMAGE=openconceptlab/oclapi2@sha256:e4773ebd58b141e3c4e42be16a640e54aac6272e676adbe5a428f10bd688fe68
+ docker pull openconceptlab/oclapi2@sha256:e4773ebd58b141e3c4e42be16a640e54aac6272e676adbe5a428f10bd688fe68
+ echo 'Running Tests'
+ docker-compose -f docker-compose.yml -f docker-compose.ci.yml run --rm api bash coverage.sh
Creating network "ocl-oclapi2-rt_default" with the default driver
Creating volume "ocl-oclapi2-rt_postgres-data" with default driver
Creating volume "ocl-oclapi2-rt_es-data" with default driver
Creating volume "ocl-oclapi2-rt_redis-data" with default driver
Creating volume "ocl-oclapi2-rt_upload-data" with default driver
Pulling db (postgres:14.4-alpine)...
Pulling es (elasticsearch:8.15.2)...
Creating ocl-oclapi2-rt_es_1 ...
Creating ocl-oclapi2-rt_db_1 ...
Creating ocl-oclapi2-rt_db_1 ... done
Creating ocl-oclapi2-rt_es_1 ... done
Creating ocl-oclapi2-rt_api_run ...
Creating ocl-oclapi2-rt_api_run ... done
wait_for_it.sh: waiting 180 seconds for es:9200
wait_for_it.sh: es:9200 is available after 26 seconds
/usr/local/lib/python3.10/site-packages/drf_yasg/__init__.py:2: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  from pkg_resources import DistributionNotFound, get_distribution
Using existing test database for alias 'default' ('test_postgres')...
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
Force Stop build feature is enabled for current plan. Either Bamboo has detected the build has hung or it has been manually stopped.
Stopping ocl-oclapi2-rt_api_run_d4f63559fb3d ...
Stopping ocl-oclapi2-rt_db_1                 ...
Stopping ocl-oclapi2-rt_es_1                 ...
Build was manually stopped.