Stefan Adelbert
04/11/2022, 1:05 AMsandy
04/11/2022, 3:26 PMalex
04/11/2022, 3:38 PMpid
of the process where the run is happening, if its still active you could use something like
py-spy dump
to see where its stuckStefan Adelbert
04/12/2022, 2:52 AMalex
04/14/2022, 2:34 PMtimeout
arg where you are trying to join/wait for the the sub processStefan Adelbert
04/28/2022, 11:15 PMpy-spy
to get a stack trace!
Thread 0x7F46B4B43740 (active): "MainThread"
readinto (socket.py:704)
_read_status (http/client.py:281)
begin (http/client.py:320)
getresponse (http/client.py:1377)
_make_request (urllib3/connectionpool.py:444)
urlopen (urllib3/connectionpool.py:703)
urlopen (urllib3/poolmanager.py:376)
request_encode_url (urllib3/request.py:96)
request (urllib3/request.py:74)
_request (selenium/webdriver/remote/remote_connection.py:355)
execute (selenium/webdriver/remote/remote_connection.py:333)
execute (selenium/webdriver/remote/webdriver.py:423)
quit (selenium/webdriver/remote/webdriver.py:950)
quit (selenium/webdriver/firefox/webdriver.py:192)
headless_firefox_driver (lassio_dagster/resources/selenium.py:48)
__exit__ (contextlib.py:126)
_gen_resource (dagster/core/execution/resources_init.py:423)
You can see the custom resource (which wraps a selenium firefox webdriver) being destroyed. The call seems to block on an HTTP call.
So the problem is not with dagster, that's for sure.
@alex Thanks for the tip on py-spy
.