Skip to content

Instantly share code, notes, and snippets.

@qix
Created May 27, 2016 18:49
Show Gist options
  • Save qix/67a6d94f5307c8699afcbcd61c50c463 to your computer and use it in GitHub Desktop.
Save qix/67a6d94f5307c8699afcbcd61c50c463 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/home/josh/authbox/apps/s/s.py", line 100, in <module>
result = command.run(selector, argv)
File "/home/josh/authbox/apps/s/tooler/command.py", line 210, in run
return self.fn(*args, **vargs)
File "/home/josh/authbox/apps/s/sensu.py", line 276, in silence_hour
stash_nodes(expand_names(names), 3600)
File "/home/josh/authbox/apps/s/sensu.py", line 270, in stash_nodes
expire_seconds=expire_seconds,
File "/home/josh/authbox/apps/s/sensu.py", line 264, in stash_paths
tooler.gather_tasks(tasks)
File "/home/josh/authbox/apps/s/tooler/tooler.py", line 312, in gather_tasks
self.loop.run_until_complete(gather_task)
File "/usr/lib/python3.5/asyncio/base_events.py", line 373, in run_until_complete
return future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 242, in _step
result = coro.throw(exc)
File "/home/josh/authbox/apps/s/tooler/shell.py", line 224, in _ssh_bash
stdout_stream, stderr_stream if not tty else None
File "/home/josh/authbox/apps/s/tooler/shell.py", line 103, in collect
self._tail_stream('>', stderr_stream),
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 297, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 242, in _step
result = coro.throw(exc)
File "/home/josh/authbox/apps/s/tooler/shell.py", line 224, in _ssh_bash
stdout_stream, stderr_stream if not tty else None
File "/home/josh/authbox/apps/s/tooler/shell.py", line 103, in collect
self._tail_stream('>', stderr_stream),
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 297, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 242, in _step
result = coro.throw(exc)
File "/home/josh/authbox/apps/s/tooler/shell.py", line 224, in _ssh_bash
stdout_stream, stderr_stream if not tty else None
File "/home/josh/authbox/apps/s/tooler/shell.py", line 103, in collect
self._tail_stream('>', stderr_stream),
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 297, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 242, in _step
result = coro.throw(exc)
File "/home/josh/authbox/apps/s/tooler/shell.py", line 213, in _ssh_bash
encoding=None,
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/connection.py", line 2420, in open_session
*args, **kwargs)
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/connection.py", line 2401, in create_session
bool(self._agent_path)))
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/channel.py", line 843, in create
result = yield from self._make_request(b'exec', String(command))
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/channel.py", line 545, in _make_request
return (yield from waiter)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 297, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 242, in _step
result = coro.throw(exc)
File "/home/josh/authbox/apps/s/tooler/shell.py", line 213, in _ssh_bash
encoding=None,
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/connection.py", line 2420, in open_session
*args, **kwargs)
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/connection.py", line 2401, in create_session
bool(self._agent_path)))
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/channel.py", line 843, in create
result = yield from self._make_request(b'exec', String(command))
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/channel.py", line 545, in _make_request
return (yield from waiter)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 297, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 242, in _step
result = coro.throw(exc)
File "/home/josh/authbox/apps/s/tooler/shell.py", line 213, in _ssh_bash
encoding=None,
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/connection.py", line 2420, in open_session
*args, **kwargs)
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/connection.py", line 2401, in create_session
bool(self._agent_path)))
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/channel.py", line 843, in create
result = yield from self._make_request(b'exec', String(command))
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/channel.py", line 545, in _make_request
return (yield from waiter)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 297, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 242, in _step
result = coro.throw(exc)
File "/home/josh/authbox/apps/s/tooler/shell.py", line 213, in _ssh_bash
encoding=None,
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/connection.py", line 2420, in open_session
*args, **kwargs)
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/connection.py", line 2401, in create_session
bool(self._agent_path)))
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/channel.py", line 843, in create
result = yield from self._make_request(b'exec', String(command))
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/channel.py", line 545, in _make_request
return (yield from waiter)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 297, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 242, in _step
result = coro.throw(exc)
File "/home/josh/authbox/apps/s/tooler/shell.py", line 213, in _ssh_bash
encoding=None,
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/connection.py", line 2420, in open_session
*args, **kwargs)
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/connection.py", line 2401, in create_session
bool(self._agent_path)))
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/channel.py", line 843, in create
result = yield from self._make_request(b'exec', String(command))
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/channel.py", line 545, in _make_request
return (yield from waiter)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 297, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 242, in _step
result = coro.throw(exc)
File "/home/josh/authbox/apps/s/tooler/shell.py", line 213, in _ssh_bash
encoding=None,
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/connection.py", line 2420, in open_session
*args, **kwargs)
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/connection.py", line 2401, in create_session
bool(self._agent_path)))
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/channel.py", line 843, in create
result = yield from self._make_request(b'exec', String(command))
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/channel.py", line 545, in _make_request
return (yield from waiter)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 297, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 242, in _step
result = coro.throw(exc)
File "/home/josh/authbox/apps/s/tooler/shell.py", line 213, in _ssh_bash
encoding=None,
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/connection.py", line 2420, in open_session
*args, **kwargs)
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/connection.py", line 2401, in create_session
bool(self._agent_path)))
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/channel.py", line 843, in create
result = yield from self._make_request(b'exec', String(command))
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/channel.py", line 545, in _make_request
return (yield from waiter)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 297, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 240, in _step
result = coro.send(None)
File "/home/josh/authbox/apps/s/tooler/shell.py", line 133, in _tail_stream
line_data = yield from line_promise
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/stream.py", line 370, in readline
raise recv_buf.pop(0)
File "/usr/lib/python3.5/asyncio/tasks.py", line 240, in _step
result = coro.send(None)
File "/home/josh/authbox/apps/s/tooler/shell.py", line 133, in _tail_stream
line_data = yield from line_promise
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/stream.py", line 370, in readline
raise recv_buf.pop(0)
File "/usr/lib/python3.5/asyncio/tasks.py", line 240, in _step
result = coro.send(None)
File "/home/josh/authbox/apps/s/tooler/shell.py", line 133, in _tail_stream
line_data = yield from line_promise
File "/opt/authbox/virtualenv/s3/lib/python3.5/site-packages/asyncssh/stream.py", line 370, in readline
raise recv_buf.pop(0)
asyncssh.misc.DisconnectError: Disconnect Error: Connection lost
[ERR!] Disconnect Error: Connection lost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment