Heejong Lee created BEAM-6666:
---------------------------------
Summary: subprocess.Popen hangs after use of gRPC channel
Key: BEAM-6666
URL: https://issues.apache.org/jira/browse/BEAM-6666
Project: Beam
Issue Type: Bug
Components: sdk-py-core
Reporter: Heejong Lee
Assignee: Heejong Lee
subprocess.Popen randomly hangs after use of gRPC channel. This makes
cross-language wordcount test fail because the test uses Popen to launch
Dockerized Flink job server in `PortableRunner.run_pipeline` after use of gRPC
channel for the expansion service in `ExternalTransform.expand`. Few symptoms
are listed below:
* Hanging at `docker_path = check_output(['which', 'docker']).strip()`
* Hanging at `self.docker_process = Popen(cmd)`
* Crashing with `assertion failed: pthread_mutex_lock(mu) == 0` message
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)