OCL API 2

Build: #2055 failed

Job: Run tests failed

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

Completed
Duration
5 minutes
Agent
xiao.openmrs.org
Revision
ab3aebe4c8da0d5bb30f038a3886de3cc1f8625f ab3aebe4c8da0d5bb30f038a3886de3cc1f8625f
Fixed in
#2056 (Manual run from the stage: Deploy for testing by Sunny Aggarwal.)
No failed test found. A possible compilation error occurred.

Error summary

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

  File "/usr/local/lib/python3.10/site-packages/django/core/management/commands/loaddata.py", line 350, in find_fixtures
    raise CommandError("No fixture named '%s' found." % fixture_name)
django.core.management.base.CommandError: No fixture named 'base_entities' found.

======================================================================
ERROR: setUpClass (core.users.tests.tests.TasksTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/common/tests.py", line 233, in setUpClass
    call_command("loaddata", "core/fixtures/base_entities.yaml")
  File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 194, in call_command
    return command.execute(*args, **defaults)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 458, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/commands/loaddata.py", line 102, in handle
    self.loaddata(fixture_labels)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/commands/loaddata.py", line 155, in loaddata
    if self.find_fixtures(fixture_label):
  File "/usr/local/lib/python3.10/site-packages/django/core/management/commands/loaddata.py", line 350, in find_fixtures
    raise CommandError("No fixture named '%s' found." % fixture_name)
django.core.management.base.CommandError: No fixture named 'base_entities' found.

======================================================================
ERROR: setUpClass (core.users.tests.tests.TokenAuthenticationViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/common/tests.py", line 219, in setUpClass
    call_command("loaddata", "core/fixtures/base_entities.yaml")
  File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 194, in call_command
    return command.execute(*args, **defaults)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 458, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/commands/loaddata.py", line 102, in handle
    self.loaddata(fixture_labels)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/commands/loaddata.py", line 155, in loaddata
    if self.find_fixtures(fixture_label):
  File "/usr/local/lib/python3.10/site-packages/django/core/management/commands/loaddata.py", line 350, in find_fixtures
    raise CommandError("No fixture named '%s' found." % fixture_name)
django.core.management.base.CommandError: No fixture named 'base_entities' found.

======================================================================
ERROR: setUpClass (core.users.tests.tests.UserLogoViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/common/tests.py", line 219, in setUpClass
    call_command("loaddata", "core/fixtures/base_entities.yaml")
  File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 194, in call_command
    return command.execute(*args, **defaults)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 458, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/commands/loaddata.py", line 102, in handle
    self.loaddata(fixture_labels)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/commands/loaddata.py", line 155, in loaddata
    if self.find_fixtures(fixture_label):
  File "/usr/local/lib/python3.10/site-packages/django/core/management/commands/loaddata.py", line 350, in find_fixtures
    raise CommandError("No fixture named '%s' found." % fixture_name)
django.core.management.base.CommandError: No fixture named 'base_entities' found.

======================================================================
ERROR: setUpClass (core.users.tests.tests.UserProfileTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/common/tests.py", line 233, in setUpClass
    call_command("loaddata", "core/fixtures/base_entities.yaml")
  File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 194, in call_command
    return command.execute(*args, **defaults)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 458, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/commands/loaddata.py", line 102, in handle
    self.loaddata(fixture_labels)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/commands/loaddata.py", line 155, in loaddata
    if self.find_fixtures(fixture_label):
  File "/usr/local/lib/python3.10/site-packages/django/core/management/commands/loaddata.py", line 350, in find_fixtures
    raise CommandError("No fixture named '%s' found." % fixture_name)
django.core.management.base.CommandError: No fixture named 'base_entities' found.

======================================================================
ERROR: setUpClass (core.value_sets.tests.ValueSetTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/common/tests.py", line 219, in setUpClass
    call_command("loaddata", "core/fixtures/base_entities.yaml")
  File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 194, in call_command
    return command.execute(*args, **defaults)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 458, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/commands/loaddata.py", line 102, in handle
    self.loaddata(fixture_labels)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/commands/loaddata.py", line 155, in loaddata
    if self.find_fixtures(fixture_label):
  File "/usr/local/lib/python3.10/site-packages/django/core/management/commands/loaddata.py", line 350, in find_fixtures
    raise CommandError("No fixture named '%s' found." % fixture_name)
django.core.management.base.CommandError: No fixture named 'base_entities' found.

----------------------------------------------------------------------
Ran 430 tests in 235.597s

FAILED (errors=120)
Preserving test database for alias 'default' ('test_postgres')...
1
Stopping ocl-oclapi2-rt_db_1 ...
Stopping ocl-oclapi2-rt_es_1 ...
Stopping ocl-oclapi2-rt_db_1 ... done
Stopping ocl-oclapi2-rt_es_1 ... done
Removing ocl-oclapi2-rt_db_1 ...
Removing ocl-oclapi2-rt_es_1 ...
Removing ocl-oclapi2-rt_es_1 ... done
Removing ocl-oclapi2-rt_db_1 ... done
Removing network ocl-oclapi2-rt_default
Removing volume ocl-oclapi2-rt_postgres-data
Removing volume ocl-oclapi2-rt_es-data
Removing volume ocl-oclapi2-rt_redis-data