Make dockertest compatible with vanilla macos.

10 jobs for osaft in 23 minutes and 51 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
passed #86115173
check

00:02:07

passed #86115175
dataset

00:02:47

failed #86118004
image_test

00:13:42

failed #86116407
integration

00:05:16

failed #86115729
test

00:02:07

failed #86116332
test_mysql

00:04:04

failed #86115176
image_test

00:14:40

failed #86115174
integration

00:04:58

failed #86115171
test

00:02:20

failed #86115172
test_mysql

00:04:34

 
Name Stage Failure
failed
test_mysql Test
  /builds/failmap/failmap/.tox/default/lib/python3.6/site-packages/django/db/models/fields/__init__.py:1421: RuntimeWarning: DateTimeField TlsQualysScan.rating_determined_on received a naive datetime (2017-01-01 00:00:00) while time zone support is active.
RuntimeWarning)

-- Docs: http://doc.pytest.org/en/latest/warnings.html
======== 1 failed, 9 passed, 13 deselected, 1 warnings in 12.82 seconds ========
ERROR: InvocationError for command '/builds/failmap/failmap/.tox/default/bin/coverage run --include failmap/* -m pytest -v -k not integration and not system' (exited with code 1)
___________________________________ summary ____________________________________
ERROR: test: commands failed
ERROR: Job failed: exit code 1
failed
image_test Test
curl: (7) Failed to connect to docker port 32768: Connection refused
curl: (7) Failed to connect to docker port 32768: Connection refused
Terminated
+ handle_exception
Command exited with non-zero status 143
real 0m 33.81s
user 0m 0.30s
sys 0m 0.08s
ERROR: Job failed: exit code 143
failed
integration Test
>           raise TimeoutError('The operation timed out.')
E celery.exceptions.TimeoutError: The operation timed out.

.tox/default/lib/python3.6/site-packages/celery/backends/async.py:259: TimeoutError
============= 2 skipped, 13 deselected, 8 error in 121.89 seconds ==============
ERROR: InvocationError for command '/builds/failmap/failmap/.tox/default/bin/pytest -v -k integration' (exited with code 1)
___________________________________ summary ____________________________________
ERROR: integration: commands failed
ERROR: Job failed: exit code 1
failed
test Test
  /builds/failmap/failmap/.tox/default/lib/python3.6/site-packages/django/db/models/fields/__init__.py:1421: RuntimeWarning: DateTimeField TlsQualysScan.rating_determined_on received a naive datetime (2017-01-01 00:00:00) while time zone support is active.
RuntimeWarning)

-- Docs: http://doc.pytest.org/en/latest/warnings.html
======== 1 failed, 9 passed, 13 deselected, 1 warnings in 14.55 seconds ========
ERROR: InvocationError for command '/builds/failmap/failmap/.tox/default/bin/coverage run --include failmap/* -m pytest -v -k not integration and not system' (exited with code 1)
___________________________________ summary ____________________________________
ERROR: test: commands failed
ERROR: Job failed: exit code 1