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

Build fails but binderbot still tries to start kernel #29

Open
rabernat opened this issue Apr 29, 2020 · 0 comments
Open

Build fails but binderbot still tries to start kernel #29

rabernat opened this issue Apr 29, 2020 · 0 comments

Comments

@rabernat
Copy link
Contributor

This run shows a case where binder failed to build the image, but then proceeded to try to start the kernel:
https://github.com/pangeo-gallery/cmip6/runs/629889320?check_suite_focus=true

2020-04-29 14:11.50 Binder: Waiting on event stream (phase: building) action=binder-start phase=event-stream
2020-04-29 14:11.50 Binder: Waiting on event stream (phase: failure) action=binder-start phase=event-stream
2020-04-29 14:11.50 Binder: Waiting on event stream (phase: Failed) action=binder-start phase=event-stream
2020-04-29 14:11.50 Binder: Waiting on event stream (phase: Failed) action=binder-start phase=event-stream
2020-04-29 14:11.50 Binder: Waiting on event stream (phase: built) action=binder-start phase=event-stream
2020-04-29 14:12.50 Kernel: Starting               action=kernel-start phase=start
2020-04-29 14:12.50 Kernel: Start failed 'BinderUser' object has no attribute 'token' action=kernel-start duration=8.800000017572529e-06 phase=failed
/opt/hostedtoolcache/Python/3.8.2/x64/lib/python3.8/site-packages/binderbot/cli.py:14: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
  f = asyncio.coroutine(f)
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.8.2/x64/lib/python3.8/site-packages/binderbot/binderbot.py", line 109, in start_kernel
    headers = {'Authorization': f'token {self.token}'}
AttributeError: 'BinderUser' object has no attribute 'token'

During handling of the above exception, another exception occurred:

This should not happen. Instead, binderbot should quit after failing to build the image.

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

No branches or pull requests

1 participant