Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: Monitor provider-2_ya-provider is not running #468

Closed
azawlocki opened this issue Apr 2, 2021 · 1 comment · Fixed by #485
Closed

RuntimeError: Monitor provider-2_ya-provider is not running #468

azawlocki opened this issue Apr 2, 2021 · 1 comment · Fixed by #485
Assignees

Comments

@azawlocki
Copy link
Contributor

https://github.com/golemfactory/yapapi/pull/308/checks?check_run_id=2254747885#step:7:127:

INFO     [goth.runner                   ] Test finished: test_run_blender
Traceback (most recent call last):
  File "/home/vagrant/.cache/pypoetry/virtualenvs/yapapi-9PyRxJmn-py3.8/lib/python3.8/site-packages/mitmproxy/proxy/server.py", line 121, in handle
    root_layer()
TypeError: 'NoneType' object is not callable

mitmproxy has crashed!
Please lodge a bug report at: https://github.com/mitmproxy/mitmproxy
INFO     [goth.runner.proxy             ] Embedded mitmproxy exited
INFO     [goth.runner.probe             ] [provider-2] Stopping probe
Exception in thread Thread-12:
Traceback (most recent call last):
  File "/opt/actions-runner/_work/_tool/Python/3.8.0/x64/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/opt/actions-runner/_work/_tool/Python/3.8.0/x64/lib/python3.8/threading.py", line 870, in run
  File "/home/vagrant/.cache/pypoetry/virtualenvs/yapapi-9PyRxJmn-py3.8/lib/python3.8/site-packages/goth/runner/log_monitor.py", line 201, in _buffer_input
    self.add_event_sync(event)
  File "/home/vagrant/.cache/pypoetry/virtualenvs/yapapi-9PyRxJmn-py3.8/lib/python3.8/site-packages/goth/assertions/monitor.py", line 173, in add_event_sync
    raise RuntimeError(f"Monitor {self.name or ''} is not running")
RuntimeError: Monitor provider-2_ya-provider is not running
@azawlocki azawlocki self-assigned this Apr 2, 2021
@azawlocki
Copy link
Contributor Author

A similar error (an EventMonitor stopped before stopping a thread that calls its add_event_sync() method) may also occur in the proxy, for the monitor for API events. May this be the cause of the TypeError: 'NoneType' object is not callable error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant