diff --git a/python/ray/tests/test_gcs_ha_e2e.py b/python/ray/tests/test_gcs_ha_e2e.py index 8b12e7a91e5d..bbd1b22eae72 100644 --- a/python/ray/tests/test_gcs_ha_e2e.py +++ b/python/ray/tests/test_gcs_ha_e2e.py @@ -8,6 +8,29 @@ from http.client import HTTPConnection +# If you need to debug these tests, comment in the volume +# mounts in the head node and worker node containers below and use +# the repro-ci.py script to spin up an instance. The test +# setup is a little intricate, as it uses docker-in-docker. +# You need to ssh into the host machine, find the +# docker-in-docker container with +# +# docker ps +# +# Log into the container with +# +# docker exec -it sh +# +# And run +# +# mkdir -p /tmp/ray +# chmod 777 /tmp/ray +# +# Now you can re-run the test and the logs will show +# up in /tmp/ray in the docker-in-docker container. +# Good luck! + + class Container(wrappers.Container): def ready(self): self._container.reload() @@ -68,6 +91,9 @@ def client(self): ports={ "8000/tcp": None, }, + # volumes={ + # "/tmp/ray/": {"bind": "/tmp/ray/", "mode": "rw"} + # }, ) worker_node = container( @@ -89,6 +115,9 @@ def client(self): ports={ "8000/tcp": None, }, + # volumes={ + # "/tmp/ray/": {"bind": "/tmp/ray/", "mode": "rw"} + # }, )