This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
"Cannot autolaunch D-Bus without X11 $DISPLAY" while running tox test on dockerfile #3758
Labels
You can continue the conversation there. Go to discussion →
Issue Type
Molecule and Ansible details
Molecule installation method (one of):
Ansible installation method (one of):
Detail any linters or test runners used:
tox as configured in the molecule source tree
Desired Behavior
Running
tox
should run all tests and succeed (as long as current branch is ok). This includes dockerfile testsActual Behaviour
All of the below happens by simply running
tox
I have the following configuration for my docker client (i.e. only relevant part) in
~/.docker/config.json
This instruct docker to store the credentials in my local linux keystore whenever I issue a
docker login
rather than in clear text inside the json file.For a reason I did not yet understand and although none of the relevant builds require credentials for a any docker registry while running tox dockerfile tests, all image builds fail with the following error message (abridged) regardless of the origin of their base image.
The workaround solution is actually trivial but I have no idea at this point if it is acceptable. I could fix by just adding a line to
tox.ini
, i.e.:Let me know if this would be an acceptable change and also if you want a PR for this. Else I can give any other needed information if you need more details.
The text was updated successfully, but these errors were encountered: