Repository navigation
Python: Show errors from session CLI - #4393
Merged
Merged
Conversation
Signed-off-by: Helder Correia <[email protected]>
helderco
force-pushed
the
python/provision-error
branch
from
January 17, 2023 17:01
567c751 to
222c3c7
Compare
grouville
approved these changes
Jan 18, 2023
Member
There was a problem hiding this comment.
Works perfectly locally:
- with non-existent
dagger-engine.devcontainer:
python3 toto.py
Dagger engine failed to start: Command '/tmp/dagger-helder/dagger session' returned non-zero exit status 1. Error: buildkit failed to respond: failed to list workers: Unavailable: connection error: desc = "error reading server preface: command [docker exec -i dagger-engine.dev buildctl dial-stdio] has exited with exit status 1, please make sure the URL is valid, and Docker 18.09 or later is installed on the remote host: stderr=Error: No such container: dagger-engine.dev"- With stopped
dagger-engine:
python3 toto.py
Dagger engine failed to start: Command '/tmp/dagger-helder/dagger session' returned non-zero exit status 1. Error: buildkit failed to respond: failed to list workers: Unavailable: connection error: desc = "error reading server preface: command [docker exec -i dagger-engine-8e388b94e88ed2fa buildctl dial-stdio] has exited with exit status 1, please make sure the URL is valid, and Docker 18.09 or later is installed on the remote host: stderr=Error response from daemon: Container 4eea45e6b106f0936a39dfd6e8f56dd0a4232582a5d0296dd16c42f7e45500e7 is not running"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #4321
Before
dagger.exceptions.ProvisionError: Dagger engine failed to startAfter
dagger.exceptions.SessionError: Dagger engine failed to start: Command '/Users/helder/Library/Caches/dagger/dagger-0.3.9 session' returned non-zero exit status 1. Error: failed to run container: docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.Signed-off-by: Helder Correia