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