OCL API 2
Build: #2337 did not complete
Job: Run tests did not complete
Job result summary
- Queued
- Source updated
- Started
- Completed
- Cancelled
- Agent
- yu.openmrs.org
- Revision
-
4ca5435308d4910c9a640905d68d7ddf7b291d2a
Error summary
The build generated some errors. See the full build log for more details.
+ export API_IMAGE=openconceptlab/oclapi2@sha256:f99f8fde6e642458dc1f41a5e02b80a243fb7115ad21094dd91248e51e595662
+ API_IMAGE=openconceptlab/oclapi2@sha256:f99f8fde6e642458dc1f41a5e02b80a243fb7115ad21094dd91248e51e595662
+ docker pull openconceptlab/oclapi2@sha256:f99f8fde6e642458dc1f41a5e02b80a243fb7115ad21094dd91248e51e595662
+ 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 es (elasticsearch:8.15.2)...
Pulling db (postgres:14.4-alpine)...
Creating ocl-oclapi2-rt_db_1 ...
Creating ocl-oclapi2-rt_es_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 36 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')...
core.bundles.tests.BundleTest
test_clone ... ok
core.client_configs.tests.ClientConfigTest
test_format_home_config_tabs ... ok
test_home_config_validation ... ok
test_is_home ... ok
test_siblings ... ok
test_uri ... ok
core.client_configs.tests.ClientConfigViewTest
test_delete ... ok
test_put ... ok
core.client_configs.tests.ClientConfigsViewTest
test_get ... ok
test_post ... ok
core.code_systems.tests.CodeSystemTest
test_conversion_from_fhir ... ok
Force Stop build feature is enabled for current plan. Either Bamboo has detected the build has hung or it has been manually stopped.
Build was manually stopped.
+ API_IMAGE=openconceptlab/oclapi2@sha256:f99f8fde6e642458dc1f41a5e02b80a243fb7115ad21094dd91248e51e595662
+ docker pull openconceptlab/oclapi2@sha256:f99f8fde6e642458dc1f41a5e02b80a243fb7115ad21094dd91248e51e595662
+ 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 es (elasticsearch:8.15.2)...
Pulling db (postgres:14.4-alpine)...
Creating ocl-oclapi2-rt_db_1 ...
Creating ocl-oclapi2-rt_es_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 36 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')...
core.bundles.tests.BundleTest
test_clone ... ok
core.client_configs.tests.ClientConfigTest
test_format_home_config_tabs ... ok
test_home_config_validation ... ok
test_is_home ... ok
test_siblings ... ok
test_uri ... ok
core.client_configs.tests.ClientConfigViewTest
test_delete ... ok
test_put ... ok
core.client_configs.tests.ClientConfigsViewTest
test_get ... ok
test_post ... ok
core.code_systems.tests.CodeSystemTest
test_conversion_from_fhir ... ok
Force Stop build feature is enabled for current plan. Either Bamboo has detected the build has hung or it has been manually stopped.
Build was manually stopped.