| 1 |
Tests: unit |
| 2 |
# Dependencies sourced from: |
| 3 |
# - test/lib/ansible_test/_data/requirements/units.txt |
| 4 |
# - test/units/requirements.txt |
| 5 |
Depends: @, |
| 6 |
git, |
| 7 |
mount, # used in test/units/modules/test_mount_facts.py |
| 8 |
openssh-client, # ssh-keygen in test_known_hosts.py |
| 9 |
python3-cryptography, |
| 10 |
python3-jinja2, |
| 11 |
python3-paramiko, |
| 12 |
python3-passlib, |
| 13 |
python3-pexpect, |
| 14 |
python3-pytest, |
| 15 |
python3-pytest-forked, |
| 16 |
python3-pytest-mock, |
| 17 |
python3-pytest-xdist, |
| 18 |
python3-pytz, |
| 19 |
python3-systemd, |
| 20 |
python3-winrm, |
| 21 |
python3-yaml, |
| 22 |
|
| 23 |
# integration tests that can run as unprivileged user + with sudo |
| 24 |
Test-Command: ./debian/tests/ansible-test-integration.py --default-tests --requires-apt-mark-manual --requires-root --fails-on-pip |
| 25 |
Features: test-name=ansible-test-integration-default |
| 26 |
Depends: @, |
| 27 |
acl, # lineinfile integration test |
| 28 |
apache2-utils, # used by subversion integration test |
| 29 |
bash, # Many scripts have bash shebangs |
| 30 |
cargo, # needed to build cryptography on some architectures, which some tests install from PyPI |
| 31 |
debconf-utils, # debconf |
| 32 |
equivs, # integration test "apt" |
| 33 |
file, # stat |
| 34 |
gcc, # needed to build cffi on some architectures, which some tests install from PyPI |
| 35 |
git, # used by most tests |
| 36 |
gnupg, # integration test apt_key |
| 37 |
gzip, # integration test git |
| 38 |
iptables, # integration test iptables |
| 39 |
libffi-dev, # needed to build cffi on some architectures, which some tests install from PyPI |
| 40 |
libfile-fcntllock-perl, # integration test "apt" |
| 41 |
libssl-dev, # needed to build cryptography on some architectures, which some tests install from PyPI |
| 42 |
libyaml-dev, # needed to build PyYAML on some architectures, which some tests install from PyPI |
| 43 |
locales, |
| 44 |
lvm2, # integration test hardware_facts |
| 45 |
openssh-server, # integration test systemd enables/disables it |
| 46 |
openssl, # integration test ansible-galaxy |
| 47 |
pkgconf, # needed to build cryptography on some architectures, which some tests install from PyPI |
| 48 |
python3-apt, # needed for checking if packages are installed |
| 49 |
python3-debian, # integration test "deb822_repository" |
| 50 |
python3-dev, # needed to build cffi on some architectures, which some tests install from PyPI |
| 51 |
python3-distlib, # ansible-galaxy-collection-cli |
| 52 |
python3-passlib, # grep 'setup/always/setup_passlib' test/integration/targets/*/aliases |
| 53 |
python3-pexpect, # grep 'setup/always/setup_pexpect' test/integration/targets/*/aliases |
| 54 |
python3-pip, # ansible-test-config, builtin_vars_prompt, remove again and fix tests |
| 55 |
python3-pytest, # ansible-test-units-assertions |
| 56 |
python3-pytest-mock, # ansible-test-units-assertions |
| 57 |
python3-setuptools, # integration test "pip" |
| 58 |
python3-venv, # ansible-inventory; ./test/lib/ansible_test/_util/target/injector/virtualenv.sh |
| 59 |
python3-virtualenv, # ansible-inventory, ansible-test-installed; ./test/lib/ansible_test/_util/target/injector/virtualenv.sh |
| 60 |
python3-yaml, # ansible-test-units-forked |
| 61 |
rsync, # integration test "apt" |
| 62 |
sudo, # needed for testbed-setup.sh |
| 63 |
tar, # integration test git |
| 64 |
unzip, # integration test git |
| 65 |
zip, # integration test git |
| 66 |
Restrictions: |
| 67 |
allow-stderr, # lots of STDERR output |
| 68 |
breaks-testbed, # many tests add/delete files, or change the system in fundamental ways |
| 69 |
isolation-machine, # lxc containers have problems with mounting loopback |
| 70 |
needs-internet, # used for ansible-galaxy and pip tests |
| 71 |
needs-sudo, # used to call testbed-setup.sh |
| 72 |
|
| 73 |
# integration tests that fail for other reasons |
| 74 |
Test-Command: ./debian/tests/ansible-test-integration.py --failing |
| 75 |
Features: test-name=ansible-test-integration-failing |
| 76 |
Depends: @, |
| 77 |
acl, # lineinfile integration test |
| 78 |
apache2-utils, # used by subversion integration test |
| 79 |
bash, # Many scripts have bash shebangs |
| 80 |
cargo, # needed to build cryptography on some architectures, which some tests install from PyPI |
| 81 |
debconf-utils, # debconf |
| 82 |
equivs, # integration test "apt" |
| 83 |
file, # stat |
| 84 |
gcc, # needed to build cffi on some architectures, which some tests install from PyPI |
| 85 |
git, # used by most tests |
| 86 |
gnupg, # integration test apt_key |
| 87 |
gzip, # integration test git |
| 88 |
iptables, # integration test iptables |
| 89 |
libffi-dev, # needed to build cffi on some architectures, which some tests install from PyPI |
| 90 |
libfile-fcntllock-perl, # integration test "apt" |
| 91 |
libssl-dev, # needed to build cryptography on some architectures, which some tests install from PyPI |
| 92 |
libyaml-dev, # needed to build PyYAML on some architectures, which some tests install from PyPI |
| 93 |
locales, |
| 94 |
lvm2, # integration test hardware_facts |
| 95 |
openssh-server, # integration test systemd enables/disables it |
| 96 |
openssl, # integration test ansible-galaxy |
| 97 |
pkgconf, # needed to build cryptography on some architectures, which some tests install from PyPI |
| 98 |
python3-apt, # needed for checking if packages are installed |
| 99 |
python3-debian, # integration test "deb822_repository" |
| 100 |
python3-dev, # needed to build cffi on some architectures, which some tests install from PyPI |
| 101 |
python3-distlib, # ansible-galaxy-collection-cli |
| 102 |
python3-passlib, # grep 'setup/always/setup_passlib' test/integration/targets/*/aliases |
| 103 |
python3-pexpect, # grep 'setup/always/setup_pexpect' test/integration/targets/*/aliases |
| 104 |
python3-pip, # ansible-test-config, builtin_vars_prompt, remove again and fix tests |
| 105 |
python3-pytest, # ansible-test-units-assertions |
| 106 |
python3-pytest-mock, # ansible-test-units-assertions |
| 107 |
python3-setuptools, # integration test "pip" |
| 108 |
python3-venv, # ansible-inventory; ./test/lib/ansible_test/_util/target/injector/virtualenv.sh |
| 109 |
python3-virtualenv, # ansible-inventory, ansible-test-installed; ./test/lib/ansible_test/_util/target/injector/virtualenv.sh |
| 110 |
python3-yaml, # ansible-test-units-forked |
| 111 |
rsync, # integration test "apt" |
| 112 |
sudo, # needed for testbed-setup.sh |
| 113 |
tar, # integration test git |
| 114 |
unzip, # integration test git |
| 115 |
zip, # integration test git |
| 116 |
Restrictions: |
| 117 |
allow-stderr, # lots of STDERR output |
| 118 |
flaky, # known to be broken |
| 119 |
isolation-machine, # lxc containers have problems with mounting loopback |
| 120 |
needs-internet, # used for ansible-galaxy and pip tests |
| 121 |
needs-sudo, # used to call testbed-setup.sh |
| 122 |
# don't run broken tests on CI |
| 123 |
disabled-on-ci, |