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

[BUG] python-aiohttp test failure #5912

Closed
6 tasks done
nhomble opened this issue Apr 13, 2020 · 1 comment
Closed
6 tasks done

[BUG] python-aiohttp test failure #5912

nhomble opened this issue Apr 13, 2020 · 1 comment

Comments

@nhomble
Copy link
Contributor

nhomble commented Apr 13, 2020

Bug Report Checklist

  • Have you provided a full/minimal spec to reproduce the issue?
  • Have you validated the input using an OpenAPI validator (example)?
  • What's the version of OpenAPI Generator used?
  • Have you search for related issues/PRs?
  • What's the actual output vs expected output?
  • [Optional] Bounty to sponsor the fix (example)
Description
$ git clone https://github.com/OpenAPITools/openapi-generator
$ cd openapi-generator/samples/server/petstore/python-aiohttp; mvn verify

And we find the error

./test_python3.sh: line 30: deactivate: command not found
make: *** [Makefile:18: test-all] Error 127
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  33.560 s
[INFO] Finished at: 2020-04-13T09:57:04-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (test) on project PythonAiohttpServer: Command execution failed.: Process exited with an error: 2 (Exit value: 2) -> [Help 1]
Suggest a fix

The .venv isn't created even though the Makefile knows how to clean. I suggest we just add it as a rule.

@nhomble
Copy link
Contributor Author

nhomble commented Apr 13, 2020

Same issue happens with the other python-aiohttp server test.

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

No branches or pull requests

2 participants