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

Waiting for CouchDB hangs #4

Open
bmario opened this issue Mar 2, 2020 · 2 comments
Open

Waiting for CouchDB hangs #4

bmario opened this issue Mar 2, 2020 · 2 comments

Comments

@bmario
Copy link

bmario commented Mar 2, 2020

In my workflow, the "Setup CouchDB" step hangs.

/usr/bin/docker run --name e87b52aebecce97af84e62bcf0948b1e568635_ab27d6 --label e87b52 --workdir /github/workspace --rm -e INPUT_COUCHDB_VERSION -e INPUT_ERLANG_QUERY_SERVER -e HOME -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e GITHUB_ACTIONS=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/aiocouch/aiocouch":"/github/workspace" e87b52:aebecce97af84e62bcf0948b1e568635
Starting Docker...
Unable to find image 'couchdb:latest' locally
latest: Pulling from library/couchdb

... Docker pulling layers

Digest: sha256:50e377f2f8d17d47fb621a785af4ad7d4bb5e7dc8f7f1259af44436db8c38e07
Status: Downloaded newer image for couchdb:latest
8a4c843b67d69bfb8a927f5534e2f6d7c03a5e281d6770c7788057b0621473eb
Enabling Erlang query server...
Error response from daemon: Container 8a4c843b67d69bfb8a927f5534e2f6d7c03a5e281d6770c7788057b0621473eb is not running
Error response from daemon: Container 8a4c843b67d69bfb8a927f5534e2f6d7c03a5e281d6770c7788057b0621473eb is not running
Waiting for CouchDB...

After that, it only prints . per line until the workflow runs into the timeout.

The workflow config ist here: https://github.com/metricq/aiocouch/blob/master/.github/workflows/pythonpackage.yml

@bmario
Copy link
Author

bmario commented Mar 13, 2020

I just realized that CouchDB released a new major version, 3.0.0. This issue only happens when using this release. It works fine when using the "old" release.

@bmario
Copy link
Author

bmario commented Mar 23, 2020

I think the "issue" is this PR: apache/couchdb#2389

Easy solution: Add a -e COUCHDB_USER=$USER -e COUCHDB_PASSWORD=$PASS to the docker run command.

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