Build: #361 failed

Job: Run unit tests failed

Job result summary

Completed
Duration
1 minute
Agent
yak.openmrs.org
Revision
79633c77095231de617ecaf9dce44c237dbbeb75 79633c77095231de617ecaf9dce44c237dbbeb75
Fixed in
#362 (Code changes detected)
No failed test found. A possible compilation error occurred.

Error summary

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

Creating network "ocl-oa-rut_default" with the default driver
Creating volume "ocl-oa-rut_mongo_data" with default driver
Creating volume "ocl-oa-rut_solr_data" with default driver
Pulling mongo (mongo:3.2.11)...
Pulling solr (openconceptlab/oclsolr@sha256:7ebed22b19ec520f0e748c5d8a43eca2adba1cf7d6b2a2c721082a9628ac7a8f)...
Pulling redis (redis:3.2.10)...
Creating ocl-oa-rut_redis_1 ...
Creating ocl-oa-rut_mongo_1 ...
Creating ocl-oa-rut_solr_1  ...

Creating ocl-oa-rut_redis_1 ... done

Creating ocl-oa-rut_solr_1  ... done

Creating ocl-oa-rut_mongo_1 ... done
Pulling api (openconceptlab/oclapi@sha256:1ed7b47f0896c4a4d4becc1eb644cc766fa28ea311a45a08dc60abd0255cd479)...
Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 453, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 272, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 77, in load_command_class
    module = import_module('%s.management.commands.%s' % (app_name, name))
  File "/usr/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/code/oclapi/management/commands/__init__.py", line 5, in <module>
    from rest_framework.authtoken.models import Token
  File "/usr/local/lib/python2.7/site-packages/rest_framework/authtoken/models.py", line 4, in <module>
    from rest_framework.compat import AUTH_USER_MODEL
  File "/usr/local/lib/python2.7/site-packages/rest_framework/compat.py", line 93, in <module>
    from django.views.generic import View
  File "/usr/local/lib/python2.7/site-packages/django/views/generic/__init__.py", line 2, in <module>
    from django.views.generic.dates import (ArchiveIndexView, YearArchiveView, MonthArchiveView,
  File "/usr/local/lib/python2.7/site-packages/django/views/generic/dates.py", line 5, in <module>
    from django.db import models
  File "/usr/local/lib/python2.7/site-packages/django/db/__init__.py", line 40, in <module>
    backend = load_backend(connection.settings_dict['ENGINE'])
  File "/usr/local/lib/python2.7/site-packages/django/db/__init__.py", line 34, in __getattr__
    return getattr(connections[DEFAULT_DB_ALIAS], item)
  File "/usr/local/lib/python2.7/site-packages/django/db/utils.py", line 93, in __getitem__
    backend = load_backend(db['ENGINE'])
  File "/usr/local/lib/python2.7/site-packages/django/db/utils.py", line 45, in load_backend
    raise ImproperlyConfigured(error_msg)
django.core.exceptions.ImproperlyConfigured: 'django_mongodb_engine' isn't an available database backend.
Try using 'django.db.backends.XXX', where XXX is one of:
    u'mysql', u'oracle', u'postgresql_psycopg2', u'sqlite3'
Error was: No module named django_mongodb_engine.base
+ docker-compose down -v
Stopping ocl-oa-rut_solr_1  ...
Stopping ocl-oa-rut_mongo_1 ...
Stopping ocl-oa-rut_redis_1 ...

Stopping ocl-oa-rut_redis_1 ... done

Stopping ocl-oa-rut_mongo_1 ... done

Stopping ocl-oa-rut_solr_1  ... done
Removing ocl-oa-rut_solr_1  ...
Removing ocl-oa-rut_mongo_1 ...
Removing ocl-oa-rut_redis_1 ...

Removing ocl-oa-rut_solr_1  ... done

Removing ocl-oa-rut_mongo_1 ... done

Removing ocl-oa-rut_redis_1 ... done
Removing network ocl-oa-rut_default
Removing volume ocl-oa-rut_mongo_data
Removing volume ocl-oa-rut_solr_data