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

[KED-1457] behave fails on freshly checked out repo #262

Closed
crdoconnor opened this issue Feb 26, 2020 · 4 comments
Closed

[KED-1457] behave fails on freshly checked out repo #262

crdoconnor opened this issue Feb 26, 2020 · 4 comments
Labels
Issue: Bug Report 🐞 Bug that needs to be fixed

Comments

@crdoconnor
Copy link

Description

Behave tests fail on freshly checked out repo.

Actual Result

HOOK-ERROR in before_all: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp_fhmby84/bin/pip': '/tmp/tmp_fhmby84/bin/pip'

ABORTED: By user.
0 features passed, 0 failed, 0 skipped, 11 untested
0 scenarios passed, 0 failed, 0 skipped, 20 untested
0 steps passed, 0 failed, 0 skipped, 0 undefined, 139 untested
Took 0m0.000s

Error appears to be related to this line:

context.venv_dir = Path(create_new_venv())

The behave tests run correctly if the environment variable E2E_VENV is set, suggesting that this is related to a failure to create a virtualenv in behave.

Your Environment

Include as many relevant details about the environment in which you experienced the bug:

  • Kedro version used : latest version of master branch
  • Python version used (python -V): python 3.7
  • Operating system and version: ubuntu 17.10
@crdoconnor crdoconnor added the Issue: Bug Report 🐞 Bug that needs to be fixed label Feb 26, 2020
@yetudada yetudada changed the title behave fails on freshly checked out repo [KED-1457] behave fails on freshly checked out repo Mar 9, 2020
@yetudada
Copy link
Contributor

yetudada commented Mar 9, 2020

Hi @crdoconnor, we're going to look into this one. I've created a ticket on it on our backlog. Thanks for raising this!

@921kiyo
Copy link
Contributor

921kiyo commented Mar 9, 2020

Hi, thank you for reporting the bug! Could you please describe the steps of commands you ran, so we can reproduce the error?

@crdoconnor
Copy link
Author

crdoconnor commented Mar 9, 2020 via email

@yetudada
Copy link
Contributor

Hi @crdoconnor! We hope that you're well. We have made some changes to the behave environment setup recently. You should try to see if this works. I'm going to close this ticket but it can be reopened if you still have issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Bug Report 🐞 Bug that needs to be fixed
Projects
None yet
Development

No branches or pull requests

3 participants