Observed the following error when releasing a board:
[2021-03-04 20:55:09 +0000] [5600] [INFO] 192.168.0.12:64909 - - [04/Mar/2021:20:55:09 +0000] "POST /board/a64lts-1/release 1.1" 200 131 "-" "python-httpx/0.16.1"
Exception ignored in: <coroutine object worker_serve.<locals>._server_callback at 0x447d4c40>
Traceback (most recent call last):
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/asyncio/run.py", line 103, in _server_callback
await TCPServer(app, loop, config, reader, writer)
RuntimeError: coroutine ignored GeneratorExit
[2021-03-04 20:55:15 +0000] [5600] [ERROR] Error in ASGI Framework
Traceback (most recent call last):
File "/ztank/bitelab/bitelab/__init__.py", line 560, in board_exec_ws
await server.get_finish_handler()
GeneratorExit
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/asyncio/context.py", line 28, in _handle
await invoke_asgi(app, scope, receive, send)
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/utils.py", line 219, in invoke_asgi
await app(scope, receive, send)
File "/ztank/bitelab/p/lib/python3.8/site-packages/fastapi/applications.py", line 179, in __call__
await super().__call__(scope, receive, send)
File "/ztank/bitelab/p/lib/python3.8/site-packages/starlette/applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "/ztank/bitelab/p/lib/python3.8/site-packages/starlette/middleware/errors.py", line 146, in __call__
await self.app(scope, receive, send)
File "/ztank/bitelab/p/lib/python3.8/site-packages/starlette/exceptions.py", line 58, in __call__
await self.app(scope, receive, send)
File "/ztank/bitelab/p/lib/python3.8/site-packages/starlette/routing.py", line 566, in __call__
await route.handle(scope, receive, send)
File "/ztank/bitelab/p/lib/python3.8/site-packages/starlette/routing.py", line 283, in handle
await self.app(scope, receive, send)
File "/ztank/bitelab/p/lib/python3.8/site-packages/starlette/routing.py", line 57, in app
await func(session)
File "/ztank/bitelab/p/lib/python3.8/site-packages/fastapi/routing.py", line 228, in app
await dependant.call(**values)
File "/ztank/bitelab/bitelab/__init__.py", line 562, in board_exec_ws
await websocket.close()
File "/ztank/bitelab/p/lib/python3.8/site-packages/starlette/websockets.py", line 142, in close
await self.send({"type": "websocket.close", "code": code})
File "/ztank/bitelab/p/lib/python3.8/site-packages/starlette/websockets.py", line 68, in send
await self._send(message)
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/protocol/ws_stream.py", line 262, in app_send
await self._send_wsproto_event(
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/protocol/ws_stream.py", line 305, in _send_wsproto_event
await self.send(Data(stream_id=self.stream_id, data=data))
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/protocol/h11.py", line 132, in stream_send
await self.send(RawData(data=event.data))
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/asyncio/tcp_server.py", line 89, in protocol_send
self.writer.write(event.data)
File "/usr/local/lib/python3.8/asyncio/streams.py", line 341, in write
self._transport.write(data)
File "/usr/local/lib/python3.8/asyncio/selector_events.py", line 893, in write
raise RuntimeError('Cannot call write() after write_eof()')
RuntimeError: Cannot call write() after write_eof()
Exception ignored in: <coroutine object _handle at 0x447d91c0>
Traceback (most recent call last):
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/asyncio/context.py", line 34, in _handle
await send(None)
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/protocol/ws_stream.py", line 232, in app_send
await self.send(StreamClosed(stream_id=self.stream_id))
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/protocol/h11.py", line 136, in stream_send
await self._maybe_recycle()
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/protocol/h11.py", line 257, in _maybe_recycle
await self.send(Closed())
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/asyncio/tcp_server.py", line 94, in protocol_send
await self._close()
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/asyncio/tcp_server.py", line 129, in _close
await self.writer.wait_closed()
File "/usr/local/lib/python3.8/asyncio/streams.py", line 359, in wait_closed
await self._protocol._get_close_waiter(self)
RuntimeError: await wasn't used with future
Observed the following error when releasing a board:
```
[2021-03-04 20:55:09 +0000] [5600] [INFO] 192.168.0.12:64909 - - [04/Mar/2021:20:55:09 +0000] "POST /board/a64lts-1/release 1.1" 200 131 "-" "python-httpx/0.16.1"
Exception ignored in: <coroutine object worker_serve.<locals>._server_callback at 0x447d4c40>
Traceback (most recent call last):
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/asyncio/run.py", line 103, in _server_callback
await TCPServer(app, loop, config, reader, writer)
RuntimeError: coroutine ignored GeneratorExit
[2021-03-04 20:55:15 +0000] [5600] [ERROR] Error in ASGI Framework
Traceback (most recent call last):
File "/ztank/bitelab/bitelab/__init__.py", line 560, in board_exec_ws
await server.get_finish_handler()
GeneratorExit
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/asyncio/context.py", line 28, in _handle
await invoke_asgi(app, scope, receive, send)
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/utils.py", line 219, in invoke_asgi
await app(scope, receive, send)
File "/ztank/bitelab/p/lib/python3.8/site-packages/fastapi/applications.py", line 179, in __call__
await super().__call__(scope, receive, send)
File "/ztank/bitelab/p/lib/python3.8/site-packages/starlette/applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "/ztank/bitelab/p/lib/python3.8/site-packages/starlette/middleware/errors.py", line 146, in __call__
await self.app(scope, receive, send)
File "/ztank/bitelab/p/lib/python3.8/site-packages/starlette/exceptions.py", line 58, in __call__
await self.app(scope, receive, send)
File "/ztank/bitelab/p/lib/python3.8/site-packages/starlette/routing.py", line 566, in __call__
await route.handle(scope, receive, send)
File "/ztank/bitelab/p/lib/python3.8/site-packages/starlette/routing.py", line 283, in handle
await self.app(scope, receive, send)
File "/ztank/bitelab/p/lib/python3.8/site-packages/starlette/routing.py", line 57, in app
await func(session)
File "/ztank/bitelab/p/lib/python3.8/site-packages/fastapi/routing.py", line 228, in app
await dependant.call(**values)
File "/ztank/bitelab/bitelab/__init__.py", line 562, in board_exec_ws
await websocket.close()
File "/ztank/bitelab/p/lib/python3.8/site-packages/starlette/websockets.py", line 142, in close
await self.send({"type": "websocket.close", "code": code})
File "/ztank/bitelab/p/lib/python3.8/site-packages/starlette/websockets.py", line 68, in send
await self._send(message)
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/protocol/ws_stream.py", line 262, in app_send
await self._send_wsproto_event(
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/protocol/ws_stream.py", line 305, in _send_wsproto_event
await self.send(Data(stream_id=self.stream_id, data=data))
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/protocol/h11.py", line 132, in stream_send
await self.send(RawData(data=event.data))
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/asyncio/tcp_server.py", line 89, in protocol_send
self.writer.write(event.data)
File "/usr/local/lib/python3.8/asyncio/streams.py", line 341, in write
self._transport.write(data)
File "/usr/local/lib/python3.8/asyncio/selector_events.py", line 893, in write
raise RuntimeError('Cannot call write() after write_eof()')
RuntimeError: Cannot call write() after write_eof()
Exception ignored in: <coroutine object _handle at 0x447d91c0>
Traceback (most recent call last):
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/asyncio/context.py", line 34, in _handle
await send(None)
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/protocol/ws_stream.py", line 232, in app_send
await self.send(StreamClosed(stream_id=self.stream_id))
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/protocol/h11.py", line 136, in stream_send
await self._maybe_recycle()
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/protocol/h11.py", line 257, in _maybe_recycle
await self.send(Closed())
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/asyncio/tcp_server.py", line 94, in protocol_send
await self._close()
File "/ztank/bitelab/p/lib/python3.8/site-packages/hypercorn/asyncio/tcp_server.py", line 129, in _close
await self.writer.wait_closed()
File "/usr/local/lib/python3.8/asyncio/streams.py", line 359, in wait_closed
await self._protocol._get_close_waiter(self)
RuntimeError: await wasn't used with future
```
Observed the following error when releasing a board: