refinery-platform / django_docker_engine

Django app that manages the creation of, and proxies requests to, Docker containers.
MIT License
6 stars 2 forks source link

Scottx611x/handle read timeout #210

Closed scottx611x closed 5 years ago

scottx611x commented 5 years ago

tests.test_live.HostRoutingClientTests.test_please_wait is failing under python 3.6 on my PR build only. I don't think that failure is related to my changes.

mccalluc commented 5 years ago

One travis build failed... I'll restart.

ERROR: test_please_wait (tests.test_live.HostRoutingClientTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/refinery-platform/django_docker_engine/django_docker_engine/container_managers/docker_engine.py", line 154, in get_url
    http_port_info = port_infos['{}/tcp'.format(container_port)]
KeyError: '80/tcp'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/home/travis/build/refinery-platform/django_docker_engine/tests/test_live.py", line 127, in test_please_wait
    mem_reservation_mb=15
  File "/home/travis/build/refinery-platform/django_docker_engine/django_docker_engine/docker_utils.py", line 289, in run
    return self.lookup_container_url(container_spec.container_name)
  File "/home/travis/build/refinery-platform/django_docker_engine/django_docker_engine/docker_utils.py", line 92, in lookup_container_url
    return self._containers_manager.get_url(container_name)
  File "/home/travis/build/refinery-platform/django_docker_engine/django_docker_engine/container_managers/docker_engine.py", line 158, in get_url
    container_name, container_port, port_infos
django_docker_engine.container_managers.docker_engine.ExpectedPortMissing: On container container-name, port 80 is not available, but these are: {}