You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently, when a synchronous pailgun request is mid-flight in the daemon it's possible for the daemon to tear itself down (e.g. if watchman crashes or gets killed), which terminates the daemon-side socket, which leads to the following failure mode:
17:32:38 Exception caught: (<class 'pants.java.nailgun_client.NailgunError'>)
17:32:38 File "/var/lib/jenkins/.cache/pants/pex/bin/pants.pex/1.3.0.dev14-engine1/pants.pex/.bootstrap/_pex/pex.py", line 360, in execute
17:32:38 self._wrap_coverage(self._wrap_profiling, self._execute)
17:32:38 File "/var/lib/jenkins/.cache/pants/pex/bin/pants.pex/1.3.0.dev14-engine1/pants.pex/.bootstrap/_pex/pex.py", line 288, in _wrap_coverage
17:32:38 runner(*args)
17:32:38 File "/var/lib/jenkins/.cache/pants/pex/bin/pants.pex/1.3.0.dev14-engine1/pants.pex/.bootstrap/_pex/pex.py", line 320, in _wrap_profiling
17:32:38 runner(*args)
17:32:38 File "/var/lib/jenkins/.cache/pants/pex/bin/pants.pex/1.3.0.dev14-engine1/pants.pex/.bootstrap/_pex/pex.py", line 403, in _execute
17:32:38 return self.execute_entry(self._pex_info.entry_point)
17:32:38 File "/var/lib/jenkins/.cache/pants/pex/bin/pants.pex/1.3.0.dev14-engine1/pants.pex/.bootstrap/_pex/pex.py", line 461, in execute_entry
17:32:38 return runner(entry_point)
17:32:38 File "/var/lib/jenkins/.cache/pants/pex/bin/pants.pex/1.3.0.dev14-engine1/pants.pex/.bootstrap/_pex/pex.py", line 479, in execute_pkg_resources
17:32:38 return runner()
17:32:38 File "/data/jenkins/workspace/source_4/.pex/install/pantsbuild.pants-1.3.0.dev14+394128272-py2-none-any.whl.7c309bcf5d3426cdf22bef063b44a0aa0ea0f88d/pantsbuild.pants-1.3.0.dev14+394128272-py2-none-any.whl/pants/bin/pants_exe.py", line 44, in main
17:32:38 PantsRunner(exiter).run()
17:32:38 File "/data/jenkins/workspace/source_4/.pex/install/pantsbuild.pants-1.3.0.dev14+394128272-py2-none-any.whl.7c309bcf5d3426cdf22bef063b44a0aa0ea0f88d/pantsbuild.pants-1.3.0.dev14+394128272-py2-none-any.whl/pants/bin/pants_runner.py", line 57, in run
17:32:38 options_bootstrapper=options_bootstrapper)
17:32:38 File "/data/jenkins/workspace/source_4/.pex/install/pantsbuild.pants-1.3.0.dev14+394128272-py2-none-any.whl.7c309bcf5d3426cdf22bef063b44a0aa0ea0f88d/pantsbuild.pants-1.3.0.dev14+394128272-py2-none-any.whl/pants/bin/pants_runner.py", line 35, in _run
17:32:38 return RemotePantsRunner(exiter, args, env, process_metadata_dir).run()
17:32:38 File "/data/jenkins/workspace/source_4/.pex/install/pantsbuild.pants-1.3.0.dev14+394128272-py2-none-any.whl.7c309bcf5d3426cdf22bef063b44a0aa0ea0f88d/pantsbuild.pants-1.3.0.dev14+394128272-py2-none-any.whl/pants/bin/remote_pants_runner.py", line 83, in run
17:32:38 result = client.execute(self.PANTS_COMMAND, *self._args, **modified_env)
17:32:38 File "/data/jenkins/workspace/source_4/.pex/install/pantsbuild.pants-1.3.0.dev14+394128272-py2-none-any.whl.7c309bcf5d3426cdf22bef063b44a0aa0ea0f88d/pantsbuild.pants-1.3.0.dev14+394128272-py2-none-any.whl/pants/java/nailgun_client.py", line 169, in execute
17:32:38 .format(self._host, self._port, e))
17:32:38
17:32:38 Exception message: Problem communicating with nailgun server at 127.0.0.1:37353: error(104, 'Connection reset by peer')
in order to be more graceful, we should add a locking mechanism here that would prevent the daemon from completely tearing down until any active pailgun runners have forked.
The text was updated successfully, but these errors were encountered:
currently, when a synchronous pailgun request is mid-flight in the daemon it's possible for the daemon to tear itself down (e.g. if watchman crashes or gets killed), which terminates the daemon-side socket, which leads to the following failure mode:
in order to be more graceful, we should add a locking mechanism here that would prevent the daemon from completely tearing down until any active pailgun runners have forked.
The text was updated successfully, but these errors were encountered: