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/integration/targets
Sloane Hertel 212d2024f4
[2.10] Handle post_validate templating errors and fix tests (#70240) (#70389)
* Handle post_validate templating errors and fix tests (#70240)

* Handle unexpected templating errors

* Fixes #70050

Fix up tests that weren't running and add tests for graceful templating error handling

(cherry picked from commit 30e70f4b63)

* changelog

ci_complete
4 years ago
..
add_host Add intg test to repro #36045 (add_host traceback) (#69912) 5 years ago
ansiballz_python Testing: Add support for AIX platform (#65802) 5 years ago
ansible adhoc: Load callbacks before sending v2_playbook_on_start (#67673) 5 years ago
ansible-doc Plugin/module docs: parse return values, add collection names in them (version_added_collection), and format them nicely in ansible-doc (#69796) 5 years ago
ansible-galaxy [stable-2.10] Rebalance CI groups to avoid macOS timeouts (#70126) 4 years ago
ansible-galaxy-collection config: singular ANSIBLE_COLLECTIONS_PATH (#70007) 5 years ago
ansible-galaxy-collection-scm [2.10] Improve ansible-galaxy STDOUT messages for collections (#70379) 4 years ago
ansible-runner [stable-2.10] ansible_runner test - Add constraints (#70667) (#70669) 4 years ago
ansible-test validate ansible-base's and collections runtime.yml (#69742) 5 years ago
ansible-test-docker Update ansible-test integration tests. (#69970) 5 years ago
any_errors_fatal Clean up unused config usage in integration tests. 5 years ago
apt Test installing a .deb that has deps, from a URL (#68332) 5 years ago
apt_key Testing: Add support for AIX platform (#65802) 5 years ago
apt_repository Revert "stricter permissions on atomic_move when creating new file (#68970)" (#68983) 5 years ago
args
assemble
assert Testing: Add support for AIX platform (#65802) 5 years ago
async Testing: Add support for AIX platform (#65802) 5 years ago
async_extra_data Expand Shippable test matrix. (#66912) 5 years ago
async_fail
become Testing: Add support for AIX platform (#65802) 5 years ago
binary
binary_modules Add new arches/OSes for binary_modules tests (#69052) 5 years ago
binary_modules_posix Add new arches/OSes for binary_modules tests (#69052) 5 years ago
binary_modules_winrm
blockinfile blockinfile - fix line end regression (#69734) 5 years ago
blocks Fix ansible_failed_{task,result} undefined in rescue (#64831) 5 years ago
builtin_vars_prompt Rename tests (#68356) 5 years ago
callback_default [stable-2.10] Rebalance CI groups to avoid macOS timeouts (#70126) 4 years ago
changed_when
check_mode
cli Fix `ansible -K` become_pass regression (#69629) 5 years ago
collections refactor Python module_utils locator (#70610) (#70711) 4 years ago
collections_plugin_namespace config: singular ANSIBLE_COLLECTIONS_PATH (#70007) 5 years ago
collections_relative_imports config: singular ANSIBLE_COLLECTIONS_PATH (#70007) 5 years ago
collections_runtime_pythonpath config: singular ANSIBLE_COLLECTIONS_PATH (#70007) 5 years ago
command_shell Testing: Add support for AIX platform (#65802) 5 years ago
conditionals improve conditional warnings (#57190) 6 years ago
config
connection Simplify ansible-test target processing. (#61506) 5 years ago
connection_local Fix integration tests with custom inventory. 6 years ago
connection_paramiko_ssh Testing: Add support for AIX platform (#65802) 5 years ago
connection_posix Simplify ansible-test target processing. (#61506) 5 years ago
connection_psrp Update ansible-test --windows inventory creation. (#60911) 5 years ago
connection_ssh [stable-2.10] Rebalance CI groups to avoid macOS timeouts (#70126) 4 years ago
connection_windows_ssh Update ansible-test --windows inventory creation. (#60911) 5 years ago
connection_winrm Update ansible-test --windows inventory creation. (#60911) 5 years ago
copy Fix copy module file perms with remote_src (#69993) 5 years ago
cron Removing a cron file when the 'name' parameter is specified is now allowed (#57471). Added integration tests to validate new behavior. (#65640) 5 years ago
dataloader preserve json parsing error (#58461) 5 years ago
debconf Testing: Add support for AIX platform (#65802) 5 years ago
debug
delegate_to fix discovery on loop with delegation (#70013) 5 years ago
dnf Enable logging using setup_loggers() API in dnf-4.2.17-6 or later 5 years ago
dpkg_selections Testing: Add support for AIX platform (#65802) 5 years ago
egg-info Fix references to old egg-info directory. 5 years ago
embedded_module
environment
error_from_connection
expect Fix incorrect assumptions in integration tests. (#58365) 5 years ago
facts_d
failed_when
fetch fixed fetch traversal from slurp (#68720) 5 years ago
file file - return 'state': 'absent' when a file does not exist (#66503) 5 years ago
filter_core Make AnsibleVaultEncryptedUnicode work more like a string (#67823) 5 years ago
filter_mathstuff [mathstuff] Get coverage into the 90% range (#68395) 5 years ago
filter_urls coverage for filter/urls.py, including fallback to custom implementations (#68412) 5 years ago
filter_urlsplit Split up filter integration tests. (#66962) 5 years ago
find
gathering Configurable and parallel gather facts (#49399) 6 years ago
gathering_facts correctly merge multiple facts results (#68987) 5 years ago
get_url wait_for simplehttpserver to come up online 5 years ago
getent Testing: Add support for AIX platform (#65802) 5 years ago
git [git] make force=True apply to git fetches (#68691) 5 years ago
group Test system users and groups. 5 years ago
group_by return changed for group_by (#32057) 5 years ago
groupby_filter Fix tests which assume `virtualenv` is available. 6 years ago
handler_race Split regular and handler results into their own queues (#69498) 5 years ago
handlers Integration tests for notify with variable list (#66423) 5 years ago
hash
hosts_field Fix integration tests with custom inventory. 6 years ago
ignore_errors Add shippable/posix/group4/ for CI. (#53816) 6 years ago
ignore_unreachable Clean up use of `connection: local` in tests. 6 years ago
incidental_aws_codebuild Second batch of incidental integration tests. (#67765) 5 years ago
incidental_aws_step_functions_state_machine support hard coded module_defaults.yml groups for collections (#69919) 5 years ago
incidental_azure_rm_mariadbserver Second batch of incidental integration tests. (#67765) 5 years ago
incidental_azure_rm_resource Second batch of incidental integration tests. (#67765) 5 years ago
incidental_cloud_init_data_facts Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_cloudformation support hard coded module_defaults.yml groups for collections (#69919) 5 years ago
incidental_connection_chroot Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_consul Testing: Add support for CentOS Linux On Power platform (#68130) 5 years ago
incidental_cs_common Second batch of incidental integration tests. (#67765) 5 years ago
incidental_cs_role_permission Second batch of incidental integration tests. (#67765) 5 years ago
incidental_cs_service_offering Second batch of incidental integration tests. (#67765) 5 years ago
incidental_deploy_helper Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_ec2_instance support hard coded module_defaults.yml groups for collections (#69919) 5 years ago
incidental_flatpak_remote Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_hcloud_server disable slow/unstable hetzner incidental tests (#70103) 5 years ago
incidental_inventory_aws_ec2 Second batch of incidental integration tests. (#67765) 5 years ago
incidental_inventory_docker_swarm Testing: Add support for CentOS Linux On Power platform (#68130) 5 years ago
incidental_inventory_foreman Second batch of incidental integration tests. (#67765) 5 years ago
incidental_inventory_vmware_vm_inventory Second batch of incidental integration tests. (#67765) 5 years ago
incidental_ios_file First batch of incidental integration tests. (#67717) 5 years ago
incidental_k8s Fix code coverage in tests. 5 years ago
incidental_lookup_hashi_vault Testing: Add support for CentOS Linux On Power platform (#68130) 5 years ago
incidental_lookup_rabbitmq Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_lvg Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_mongodb_parameter Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_nios_prepare_tests Second batch of incidental integration tests. (#67765) 5 years ago
incidental_nios_txt_record Second batch of incidental integration tests. (#67765) 5 years ago
incidental_postgresql_user Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_script_inventory_vmware_inventory Second batch of incidental integration tests. (#67765) 5 years ago
incidental_selinux Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_setup_docker Pin Docker version at 19.03.1 5 years ago
incidental_setup_ec2 Second batch of incidental integration tests. (#67765) 5 years ago
incidental_setup_flatpak_remote Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_setup_mongodb Skip mongodb tests on all centos versions. 5 years ago
incidental_setup_mysql_db Update docker.txt to use the OpenSUSE 15.1 container image (devel edition) (#68785) 5 years ago
incidental_setup_openssl Revert "Cap cryptography version for macOS openssl test (#69083)" (#69126) 5 years ago
incidental_setup_postgresql_db Improve stability of postgresql tests. 5 years ago
incidental_setup_rabbitmq Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_setup_tls Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_setup_zabbix Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_sts_assume_role Second batch of incidental integration tests. (#67765) 5 years ago
incidental_synchronize Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_timezone Add Fedora 32 to CI (#69222) 5 years ago
incidental_tower_credential_type Second batch of incidental integration tests. (#67765) 5 years ago
incidental_tower_receive Second batch of incidental integration tests. (#67765) 5 years ago
incidental_ufw Testing: Add support for CentOS Linux On Power platform (#68130) 5 years ago
incidental_vmware_guest Second batch of incidental integration tests. (#67765) 5 years ago
incidental_vmware_guest_custom_attributes Second batch of incidental integration tests. (#67765) 5 years ago
incidental_vmware_host_hyperthreading Second batch of incidental integration tests. (#67765) 5 years ago
incidental_vmware_prepare_tests ansible-test: vcenter initialize group/vmware (#70011) 5 years ago
incidental_vyos_config First batch of incidental integration tests. (#67717) 5 years ago
incidental_vyos_lldp_interfaces First batch of incidental integration tests. (#67717) 5 years ago
incidental_vyos_logging First batch of incidental integration tests. (#67717) 5 years ago
incidental_vyos_prepare_tests First batch of incidental integration tests. (#67717) 5 years ago
incidental_vyos_static_route First batch of incidental integration tests. (#67717) 5 years ago
incidental_win_copy Third batch of incidental integration tests. (#67830) 5 years ago
incidental_win_data_deduplication Third batch of incidental integration tests. (#67830) 5 years ago
incidental_win_dsc Third batch of incidental integration tests. (#67830) 5 years ago
incidental_win_hosts Third batch of incidental integration tests. (#67830) 5 years ago
incidental_win_lineinfile Third batch of incidental integration tests. (#67830) 5 years ago
incidental_win_ping Third batch of incidental integration tests. (#67830) 5 years ago
incidental_win_prepare_tests Third batch of incidental integration tests. (#67830) 5 years ago
incidental_win_psexec Third batch of incidental integration tests. (#67830) 5 years ago
incidental_win_reboot Third batch of incidental integration tests. (#67830) 5 years ago
incidental_win_security_policy Third batch of incidental integration tests. (#67830) 5 years ago
incidental_xml Deprecation revisited (#69926) 5 years ago
incidental_zabbix_host Fourth batch of incidental integration tests. (#67873) 5 years ago
include_import [stable-2.10] Rebalance CI groups to avoid macOS timeouts (#70126) 4 years ago
include_parent_role_vars Add ansible_parent_role_names magic variable (#46687) 6 years ago
include_vars include_vars: Check NoneType for raw_params (#64979) 5 years ago
include_vars-ad-hoc include_vars - fix stack trace when run ad-hoc with dirs parameter (#66581) 5 years ago
include_when_parent_is_dynamic Add dynamic and static include tests. (#68200) 5 years ago
include_when_parent_is_static Add dynamic and static include tests. (#68200) 5 years ago
includes
includes_race Fix IncludedFile equality check (#69524) 5 years ago
infra Flatten the directory hierarchy of modules (#68966) 5 years ago
interpreter_discovery_python Default to python3 on Debian 10 (#63097) 5 years ago
interpreter_discovery_python_delegate_facts Fix delegate_facts with interpreter not being set (#70293) (#70384) 4 years ago
inventory inventory: Fail on non-existing limit file (#59758) 5 years ago
inventory_yaml Testing: Add support for AIX platform (#65802) 5 years ago
jinja2_native_types native types: literal_eval all the things (#68938) 5 years ago
known_hosts
limit_inventory Rename some integration tests. 5 years ago
lineinfile lineinfile - don't run os.makedirs on empty dir path (#63921) 5 years ago
lookup_config coverage for lookup_config (#68566) 5 years ago
lookup_dict Skip lookup tests on Python 2.6. 5 years ago
lookup_env Skip lookup tests on Python 2.6. 5 years ago
lookup_file Skip lookup tests on Python 2.6. 5 years ago
lookup_fileglob [stable-2.10] Correct name of fileglob lookup integration test. 4 years ago
lookup_first_found Skip lookup tests on Python 2.6. 5 years ago
lookup_indexed_items Skip lookup tests on Python 2.6. 5 years ago
lookup_ini Skip lookup tests on Python 2.6. 5 years ago
lookup_inventory_hostnames Skip lookup tests on Python 2.6. 5 years ago
lookup_items Skip lookup tests on Python 2.6. 5 years ago
lookup_lines Skip lookup tests on Python 2.6. 5 years ago
lookup_list coverage for lookup_list (#68683) 5 years ago
lookup_nested Skip lookup tests on Python 2.6. 5 years ago
lookup_password Skip lookup tests on Python 2.6. 5 years ago
lookup_pipe Skip lookup tests on Python 2.6. 5 years ago
lookup_random_choice Skip lookup tests on Python 2.6. 5 years ago
lookup_sequence Skip lookup tests on Python 2.6. 5 years ago
lookup_subelements Skip lookup tests on Python 2.6. 5 years ago
lookup_template Skip lookup tests on Python 2.6. 5 years ago
lookup_together Skip lookup tests on Python 2.6. 5 years ago
lookup_unvault added unvault lookup plugin (#69087) 5 years ago
lookup_url Skip lookup tests on Python 2.6. 5 years ago
lookup_vars Skip lookup tests on Python 2.6. 5 years ago
loop_control Fix extended loop_control with includes (#61231) 5 years ago
loops Testing: Add support for AIX platform (#65802) 5 years ago
meta_tasks Add test for meta: end_play (#59118) 5 years ago
module_defaults support hard coded module_defaults.yml groups for collections (#69919) 5 years ago
module_no_log Add more integration tests. (#68972) 5 years ago
module_precedence [stable-2.10] Rebalance CI groups to avoid macOS timeouts (#70126) 4 years ago
module_tracebacks Testing: Add support for AIX platform (#65802) 5 years ago
module_utils refactor Python module_utils locator (#70610) (#70711) 4 years ago
module_utils_Ansible.AccessToken Split C# module utils to their own test target (#67910) 5 years ago
module_utils_Ansible.Basic Deprecation revisited (#69926) 5 years ago
module_utils_Ansible.Become Split C# module utils to their own test target (#67910) 5 years ago
module_utils_Ansible.ModuleUtils.AddType Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
module_utils_Ansible.ModuleUtils.ArgvParser Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
module_utils_Ansible.ModuleUtils.Backup Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
module_utils_Ansible.ModuleUtils.CamelConversion Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
module_utils_Ansible.ModuleUtils.CommandUtil Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
module_utils_Ansible.ModuleUtils.FileUtil Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
module_utils_Ansible.ModuleUtils.Legacy Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
module_utils_Ansible.ModuleUtils.LinkUtil Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
module_utils_Ansible.ModuleUtils.PrivilegeUtil Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
module_utils_Ansible.ModuleUtils.SID Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
module_utils_Ansible.ModuleUtils.WebRequest Ansible.Basic added generic fragment merger for module options (#69719) 5 years ago
module_utils_Ansible.Privilege Split C# module utils to their own test target (#67910) 5 years ago
module_utils_Ansible.Process Split C# module utils to their own test target (#67910) 5 years ago
module_utils_Ansible.Service Split C# module utils to their own test target (#67910) 5 years ago
network_cli Fix network_cli test to use a trap for cleanup (#69762) 5 years ago
no_log Expand Shippable test matrix. (#66912) 5 years ago
old_style_cache_plugins Correct virtualenv usage in integration tests. 6 years ago
old_style_modules_posix
omit
order Fix order integration test. 6 years ago
package Enable passing tests on power. 5 years ago
package_facts Testing: Add support for AIX platform (#65802) 5 years ago
parsing
path_lookups Split up lookup integration tests. (#67294) 5 years ago
path_with_comma_in_inventory Rename some integration tests. 5 years ago
pause [stable-2.10] Rebalance CI groups to avoid macOS timeouts (#70126) 4 years ago
ping Merge pull request #54367 from mattclay/fix-ping-test 6 years ago
pip pip tests, use py2 compat sampleproject fork 4 years ago
play_iterator Fix --start-at-task when skipping tasks with no name (#68951) 5 years ago
playbook added 'task timeout' feature (#69284) 5 years ago
plugin_config_for_inventory Rename some integration tests. 5 years ago
plugin_filtering Add shippable/posix/group4/ for CI. (#53816) 6 years ago
plugin_loader
plugin_namespace Fix plugin names when loading all plugins. (#59950) 5 years ago
prepare_http_tests Split tasks for prepare_http_tests. 5 years ago
prepare_tests/tasks
pull Use `package` for `pkgng` and `zypper` in tests. 5 years ago
raw update ActionBase._low_level_execute_command to honor executable (#68315) 5 years ago
reboot
rel_plugin_loading ensure inventory plugin loading rel to play (#51177) 6 years ago
remote_tmp Testing: Add support for AIX platform (#65802) 5 years ago
replace replace - fixed combined before and after usage (#31452) 6 years ago
retry_task_name_in_callback Rename callback_retry_task_name test. 5 years ago
roles
rpm_key Testing: Add support for AIX platform (#65802) 5 years ago
run_modules fix missing attribs with dirct module execution (#53875) 6 years ago
script Use correct python for -c invocations in tests. (#54577) 6 years ago
service systemd: should fail in check_mode when service not found on host (#68136) 5 years ago
service_facts Handle disabled service units (#69349) 5 years ago
set_fact implemented 'prefix' for file based cache (#69872) 5 years ago
setup_cron cronvar - use correct binary name (#63279) 5 years ago
setup_deb_repo
setup_epel/tasks Fix iso_extract tests for CentOS 8 (#64861) 5 years ago
setup_nobody
setup_paramiko Fix paramiko_ssh test (#64857) 5 years ago
setup_passlib/tasks
setup_pexpect/tasks
setup_remote_constraints Relocate ansible-test code. (#60147) 5 years ago
setup_remote_tmp_dir Split handler tasks for setup_remote_tmp_dir. 5 years ago
setup_rpm_repo Fix yum test case on ppc64le 5 years ago
setup_win_printargv Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
shell Improve test compatibility with ansible-base. (#67325) 5 years ago
slurp
special_vars Misc typo fixes (#66120) 5 years ago
stat remove deprecated get_md5 from stat (#55659) 6 years ago
strategy_linear
subversion Enable passing tests on power. 5 years ago
systemd systemd: should fail in check_mode when service not found on host (#68136) 5 years ago
tags Testing: Add support for AIX platform (#65802) 5 years ago
task_ordering
tasks Add more integration tests. (#68972) 5 years ago
template Prevent templating unused variables for {%include%} (#68749) 5 years ago
template_jinja2_latest Testing: Add support for AIX platform (#65802) 5 years ago
templating_lookups [2.10] Handle post_validate templating errors and fix tests (#70240) (#70389) 4 years ago
templating_settings register: fail when invalid var name is specified (#56456) 6 years ago
test_core [stable-2.10] Add integration tests for test plugins. (#70576) 4 years ago
test_files [stable-2.10] Add integration tests for test plugins. (#70576) 4 years ago
test_mathstuff [stable-2.10] Add integration tests for test plugins. (#70576) 4 years ago
throttle throttle: fix linear based strategies (#65422) 5 years ago
unarchive Enable passing tests on power. 5 years ago
unicode Ensure --version works with non-ascii project path (#66624) 5 years ago
until
uri do not return the body even if it failed (#69706) 5 years ago
user Test system users and groups. 5 years ago
var_blending Clean up various integration tests. (#60613) 5 years ago
var_precedence Add shippable/posix/group4/ for CI. (#53816) 6 years ago
var_templating Use templating in HostVarsVars __repr__ (#64282) 5 years ago
vault Make AnsibleVaultEncryptedUnicode work more like a string (#67823) 5 years ago
wait_for
wait_for_connection Test the delay option in wait_for_connection. 5 years ago
want_json_modules_posix
win_async_wrapper
win_become become - stop using play context in more places (#62373) 5 years ago
win_exec_wrapper windows - fix up env var quoting for unicode single quotes (#68968) 5 years ago
win_fetch Consolidate Windows tests to one group. 5 years ago
win_module_utils Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
win_raw psrp - Fix raw and script tests for connection plugin (#55357) 6 years ago
win_script psrp - Fix raw and script tests for connection plugin (#55357) 6 years ago
windows-minimal Create a dedicated windows-minimal test target. (#67987) 5 years ago
windows-paths
yum [yum] Make package removal confirmation strict (#69592) 5 years ago
yum_repository Ignore GPG key checks on test repo 5 years ago