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 7b4bc572de
Fix ansible-test target dependency issues. (#50908)
* Log dependencies at verbosity level 4.

This makes it easier to debug target dependency issues.

* Scan symlinks for target dependencies.

Some test targets use symlinks to files in other test targets.
These dependencies were previously undetected. This could result in
changes made to dependencies without triggering the dependent tests.

* Track missing target deps with `needs/target/*`.

Some existing test targets have untracked dependencies on other
test targets. This can result in changes to those dependencies
not triggering their dependent tests, resulting in test failures
after a PR is merged.

This PR adds the appropriate `needs/target/*` aliases to track
those dependencies, along with appropriate processing in
ansible-test to handle the new aliases.

* Scan meta dependencies in script targets.

Script targets are often former role targets which were converted
to allow custom invocations of ansible-playbook. These targets still
have their meta dependencies, but they were not being detected.

This could result in changes to dependencies not triggering the
targets which depend on them.
7 years ago
..
cloud Cleanup integration test inventory. (#50753) 7 years ago
sanity Fix ansible-test --exclude with delegation. 7 years ago
__init__.py Add support for cloud tests to ansible-test. (#24315) 9 years ago
ansible_util.py Disable retry files for integration tests. 7 years ago
changes.py Fix ansible-test merge change detection. 7 years ago
classification.py Add `env` command to ansible-test and run in CI. (#50176) 7 years ago
cli.py Add `env` command to ansible-test and run in CI. (#50176) 7 years ago
config.py Add `env` command to ansible-test and run in CI. (#50176) 7 years ago
core_ci.py Force PEM SSH keys for paramiko 7 years ago
cover.py Fix ansible-test encoding issues for exceptions. 7 years ago
csharp_import_analysis.py win_exec: refactor PS exec runner (#45334) 7 years ago
delegation.py Delegate ansible-test with LC_ALL=en_US.UTF-8. 7 years ago
diff.py Add test verification to ansible-test. (#22636) 9 years ago
docker_util.py Add `env` command to ansible-test and run in CI. (#50176) 7 years ago
env.py Add `env` command to ansible-test and run in CI. (#50176) 7 years ago
executor.py Fix ansible-test skip warning message. 7 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
manage_ci.py Add `--raw` option to ansible-test shell command. 7 years ago
metadata.py Improve handling of integration test aliases. (#38698) 8 years ago
powershell_import_analysis.py Add PS dependency analysis to ansible-test. 8 years ago
pytar.py Minor fixes for unit test delegation. 7 years ago
target.py Fix ansible-test target dependency issues. (#50908) 7 years ago
test.py Improve bot messaging on CI failures. 8 years ago
thread.py Update bare exceptions to specify Exception. 7 years ago
util.py Add `env` command to ansible-test and run in CI. (#50176) 7 years ago