Get linux-integration tests work with tox #2003
FrankK-1234
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I want to share some things as it might be helpful for other newbees. 'What did I do to get the tox 3.12-linux-integration-{py-amqp,kafka} to pass'?
The error
Running tox failed with in 3.12-linux-integration.py-amqp|kafka:
Other messages
I also saw the following message at the start:
Using 'pip install tox-docker' removed the message but did not resolve the issue.
Checking docker
Make sure I had docker installed, see
And started:
systemctl start docker
Rerunning tox. The error changed into permission denied
The resolution: add group docker to my user account:
sudo gpasswd -a $USER docker
(logout/in)Now tox was starting the docker images:
Workaround for missing python-xdist
However it failed on pytest with:
I think this could be resolved by installing python-xdist which implements the -n parameter. However i used a workaround to call tox with empty arguments:
tox --
for me that did the trick.Sumarizing
Not sure if these are official methods, but for me it worked and it finally gave me the message:
congratulations :) (465.25 seconds)
I could not find real guidelines so please let me know if these were the right steps to follow.
Regards,
Frank
Beta Was this translation helpful? Give feedback.
All reactions