You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/runner/lib
Matt Clay 73b2199fa2
[stable-2.8] [stable-2.9] [stable-2.10] Fix ansible-test handling of user-defined docker networks. (#72256) (#72310)
* Fix ansible-test docker container detection.

* Attach test containers to the correct network.

* Do not assume `localhost` for accesing Docker.

* Look for containers on current network.

* Always map /var/run/docker.sock into containers.

This fixes issues when using a remote Docker host.

* Support container IP lookup from networks list.

* Fix container network attachment.

* Remove redundant container detection messages.

* Limit DOCKER_HOST parsing to TCP.

* Restore docker socket existence check.

The check is skipped if the docker hostname is not localhost.

* Correct changelog entry..
(cherry picked from commit 3c2e8b99be)

Co-authored-by: Matt Clay <mclay@redhat.com>.
(cherry picked from commit 6362232c30)

Co-authored-by: Matt Clay <mclay@redhat.com>.
(cherry picked from commit 7c83f1f045)

Co-authored-by: Matt Clay <mclay@redhat.com>
5 years ago
..
ci [stable-2.8] Fix ansible-test Azure Pipelines container auth. 5 years ago
cloud [stable-2.8] [stable-2.9] [stable-2.10] Fix ansible-test handling of user-defined docker networks. (#72256) (#72310) 5 years ago
integration [stable-2.8] Fix ansible-test inventory and vars path handling. (#55186) 7 years ago
sanity [stable-2.8] Backport ansible-test CI provider support. (#71625) 5 years ago
__init__.py Add support for cloud tests to ansible-test. (#24315) 9 years ago
ansible_util.py Use a consistent RLIMIT_NOFILE for ansible-test. 7 years ago
cache.py Run integration tests from temporary directory. 7 years ago
classification.py [stable-2.8] CI provider fixes for ansible-test. (#71929) (#71934) 5 years ago
cli.py [stable-2.8] [stable-2.9] [stable-2.10] Fix ansible-test handling of user-defined docker networks. (#72256) (#72310) 5 years ago
config.py [stable-2.8] [stable-2.9] [stable-2.10] Fix ansible-test handling of user-defined docker networks. (#72256) (#72310) 5 years ago
constants.py Add timeout support to ansible-test. (#53302) 7 years ago
core_ci.py [stable-2.8] Backport ansible-test CI provider support. (#71625) 5 years ago
cover.py Fix ansible-test coverage stub memory usage. (#53652) 7 years ago
csharp_import_analysis.py win_exec: refactor PS exec runner (#45334) 7 years ago
delegation.py [stable-2.8] [stable-2.9] [stable-2.10] Fix ansible-test handling of user-defined docker networks. (#72256) (#72310) 5 years ago
diff.py Add test verification to ansible-test. (#22636) 9 years ago
docker_util.py [stable-2.8] [stable-2.9] [stable-2.10] Fix ansible-test handling of user-defined docker networks. (#72256) (#72310) 5 years ago
encoding.py [stable-2.8] Backport ansible-test CI provider support. (#71625) 5 years ago
env.py [stable-2.8] Backport ansible-test CI provider support. (#71625) 5 years ago
executor.py [stable-2.8] [stable-2.9] [stable-2.10] Fix ansible-test handling of user-defined docker networks. (#72256) (#72310) 5 years ago
git.py Fix ansible-test merge change detection. 7 years ago
http.py Cleanup and enhancements for ansible-test. (#37142) 8 years ago
import_analysis.py Fix ansible-test pylint and pep8 issues. (#24245) 9 years ago
init.py Use a consistent RLIMIT_NOFILE for ansible-test. 7 years ago
io.py [stable-2.8] Backport ansible-test CI provider support. (#71625) 5 years ago
manage_ci.py ansible-test: prefer shlex.quote (#56823) 7 years ago
metadata.py [stable-2.8] Backport ansible-test CI provider support. (#71625) 5 years ago
powershell_import_analysis.py Add PS dependency analysis to ansible-test. 8 years ago
pytar.py Add timeout support to ansible-test. (#53302) 7 years ago
target.py Handle binary files when scanning metadata in python 3 (#53773) 7 years ago
test.py [stable-2.8] Backport ansible-test CI provider support. (#71625) 5 years ago
thread.py Update bare exceptions to specify Exception. 7 years ago
types.py [stable-2.8] Backport ansible-test CI provider support. (#71625) 5 years ago
util.py [stable-2.8] Backport ansible-test CI provider support. (#71625) 5 years ago