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/roles
Will Thames eb2a3a91a8 task_result _check_key should handle empty results (#16766)
When a task result has an empty results list, the
list should be ignored when determining the results
of `_check_key`. Here the empty list is treated the
same as a non-existent list.

This fixes a bug that manifests itself with squashed
items - namely the task result contains the correct
value for the key, but an empty results list. The
empty results list was treated as zero failures
when deciding which handler to call - so the task
show as a success in the output, but is deemed to
have failed when deciding whether to continue.

This also demonstrates a mismatch between task
result processing and play iteration.

A test is also added for this case, but it would not
have caught the bug - because the bug is really in
the display, and not the success/failure of the
task (visually the test is more accurate).

Fixes ansible/ansible-modules-core#4214
10 years ago
..
ec2_elb_instance_setup Fixes for tests that assumed yum as package manager for systems that 10 years ago
ec2_provision_instances Adding an integration test for the ec2_elb module 12 years ago
prepare_http_tests Switch test_lookups to badssl/local testing. (#16466) 10 years ago
prepare_rax_tests/defaults Make the wait_timeout for rax tests a configurable default 11 years ago
prepare_tests/tasks Moving creating of testing work dir out of dep role and into Makefile 10 years ago
prepare_win_tests Allow prepare_win_tests role to run multiple times, before each role that depends on it. 11 years ago
setup_ec2 Fixing up shell quoting issues 12 years ago
setup_mysql_db Run tests on ubuntu1604 and opensuseleap (#15936) 10 years ago
setup_postgresql_db Run tests on ubuntu1604 and opensuseleap (#15936) 10 years ago
test_add_host/tasks fix for dynamic (add_host) hosts not available in hostvars 10 years ago
test_always_run add check_mode option for tasks (#16056) 10 years ago
test_apache2_module use userdir module as example instead of alias (#15540) 10 years ago
test_apt tests: fix tests on Debian 8 10 years ago
test_apt_repository use git-core ppa instead of menulibre 10 years ago
test_assemble Revert "Add prefixing and suffixing fuctionality to assemble module" (#16084) 10 years ago
test_async Updating integration tests for async testing 10 years ago
test_authorized_key Add test for multi-options in authorized_key (#16375) 10 years ago
test_azure assert password or ssh key provided on new image creation 11 years ago
test_bad_parsing fixed typo 11 years ago
test_become Elevate privileges when checking for file existence 10 years ago
test_binary Better names for the test_binary tests 11 years ago
test_binary_modules/tasks Increase async time limit on tests to 10 seconds. (#16921) 10 years ago
test_changed_when Rename tests to test, use old directory name. 12 years ago
test_check_mode add check_mode option for tasks (#16056) 10 years ago
test_cloudflare_dns Add integration tests for the cloudflare_dns module 10 years ago
test_command_shell Fixing up some output stuff 11 years ago
test_conditionals Document and test 'is undefined' rather than 'is not defined' 11 years ago
test_consul_acl/tasks Initial commit of Ansible support for the Consul clustering framework (http://consul.io). 11 years ago
test_consul_inventory/tasks Initial commit of Ansible support for the Consul clustering framework (http://consul.io). 11 years ago
test_consul_kv/tasks Initial commit of Ansible support for the Consul clustering framework (http://consul.io). 11 years ago
test_consul_service/tasks Update consul integration test with http checks 11 years ago
test_consul_session/tasks Initial commit of Ansible support for the Consul clustering framework (http://consul.io). 11 years ago
test_copy Assert things against the recursive copy result to make sure it did something 10 years ago
test_cs_account cloudstack: more integration tests 10 years ago
test_cs_affinitygroup cloudstack: fix tests unhashable type: 'dict' 11 years ago
test_cs_cluster cloudstack: new integration tests test_cluster 10 years ago
test_cs_common/defaults cloudstack: integration tests 11 years ago
test_cs_configuration cloudstack: new integration tests test_cs_configuration 10 years ago
test_cs_domain cloudstack: add more integration tests 11 years ago
test_cs_firewall cloudstack: add tests for cs_firewall 11 years ago
test_cs_instance cloudstack: test_cs_instance: more integration tests 10 years ago
test_cs_instance_facts cloudstack: new integration tests test_cs_instance_facts 10 years ago
test_cs_instancegroup cloudstack: fix tests unhashable type: 'dict' 11 years ago
test_cs_iso cloudstack: add more integration tests 11 years ago
test_cs_loadbalancer_rule cloudstack: add tests for cs_loadbalancer_rule and _member 10 years ago
test_cs_pod cloudstack: new integration tests test_cs_pod 10 years ago
test_cs_portforward cloudstack: add tests for cs_portforward 11 years ago
test_cs_project cloudstack: add more integration tests 11 years ago
test_cs_resourcelimit cloudstack: new integration tests test_cs_resourcelimit 10 years ago
test_cs_securitygroup cloudstack: fix tests unhashable type: 'dict' 11 years ago
test_cs_securitygroup_rule cloudstack: integration tests 11 years ago
test_cs_sshkeypair cloudstack: fix tests unhashable type: 'dict' 11 years ago
test_cs_user cloudstack: more integration tests 10 years ago
test_cs_vmsnapshot cloudstack: add more integration tests 11 years ago
test_cs_volume cloudstack: cs_volume: add tests for volume resize 10 years ago
test_docker Fixes for tests that assumed yum as package manager for systems that 10 years ago
test_ec2 [test_ec2*] cloud integration test updates 12 years ago
test_ec2_ami [test_ec2*] cloud integration test updates 12 years ago
test_ec2_asg/tasks Properly empties ASG before terminating it, and waits for ASG to be deleted. 11 years ago
test_ec2_eip Re-enable the ec2_eip test 12 years ago
test_ec2_elb Adding an ec2_elb test to re-add an instance that had been removed 12 years ago
test_ec2_elb_lb just a few spelling error changes 11 years ago
test_ec2_facts [test_ec2*] cloud integration test updates 12 years ago
test_ec2_group Removing cruft leftover from the deprecation of include+with_items 12 years ago
test_ec2_key [test_ec2*] cloud integration test updates 12 years ago
test_ec2_tag [test_ec2*] cloud integration test updates 12 years ago
test_ec2_vol [test_ec2*] cloud integration test updates 12 years ago
test_ec2_vpc [test_ec2*] cloud integration test updates 12 years ago
test_embedded_module Fix bug in plugin path caching 11 years ago
test_facts_d Rename tests to test, use old directory name. 12 years ago
test_failed_when/tasks Revert "corrected failed_when test" 10 years ago
test_fetch Fix fetch action plugin to not fail if file is missing and fail_if_missing=False (the default). Add tests to test_fetch role to verify it works as expected. 10 years ago
test_file corrected several usages of deprecated bare vars 10 years ago
test_filters Removing test for map filter until we can figure out how that's supposed to work 10 years ago
test_force_handlers Mark tasks expected to fail with EXPECTED FAILURE. 10 years ago
test_gce Adds support for attaching persistent disks to GCE instances 12 years ago
test_gce_pd Adds support for creating GCE persistent disks from snapshots 12 years ago
test_gem Rename tests to test, use old directory name. 12 years ago
test_get_url Add a get_url test for www.google.com (#16212) 10 years ago
test_git Fix git shallow update (#16224) 10 years ago
test_good_parsing removed invocation from tests as it is only available on very very verbose mode 10 years ago
test_handlers tests: checks that handlers work with loops 11 years ago
test_handlers_meta Ensure handlers run when meta tasks are defined and add handler integration tests 12 years ago
test_hash_behavior fix default/main.yml to defaults/main.yml 10 years ago
test_hg test_hg fix: remove reference to "head" 10 years ago
test_ignore_errors Rename tests to test, use old directory name. 12 years ago
test_includes Multiple fixes for include statements and blocks in general 11 years ago
test_iterators sequence will now run once for start=end, added test to suite 11 years ago
test_lineinfile Fixing some small bugs related to integration tests (v2) 11 years ago
test_lookups Switch test_lookups to badssl/local testing. (#16466) 10 years ago
test_mysql_db Handle unexpected database presence 10 years ago
test_mysql_user Run tests on ubuntu1604 and opensuseleap (#15936) 10 years ago
test_mysql_variables Update test to use mysql connect_timeout option. 10 years ago
test_ping/tasks Rename tests to test, use old directory name. 12 years ago
test_pip Added tests to verify pip installation with VCS urls 10 years ago
test_postgresql New integration tests for postgresql 11 years ago
test_rax Make the wait_timeout for rax tests a configurable default 11 years ago
test_rax_cbs Fix YAML formatting issue for rax integration tests 11 years ago
test_rax_cbs_attachments Fix YAML formatting issue for rax integration tests 11 years ago
test_rax_cdb Fix YAML source and check it on Shippable (#15678) 10 years ago
test_rax_cdb_database Fix YAML formatting issue for rax integration tests 11 years ago
test_rax_clb Fix YAML formatting issue for rax integration tests 11 years ago
test_rax_clb_nodes Fix YAML formatting issue for rax integration tests 11 years ago
test_rax_facts Fix YAML formatting issue for rax integration tests 11 years ago
test_rax_identity Add tests for rax_identity 11 years ago
test_rax_keypair Fix YAML formatting issue for rax integration tests 11 years ago
test_rax_meta Fix YAML formatting issue for rax integration tests 11 years ago
test_rax_network Fix YAML formatting issue for rax integration tests 11 years ago
test_rax_scaling_group Fix YAML formatting issue for rax integration tests 11 years ago
test_script Fixing up the logic in the test_script tests removal portion 10 years ago
test_service Testing that service not enabled during check run (#16739) 10 years ago
test_special_vars added minimal testing for special template vars 11 years ago
test_stat Add a fips fact and use it for integration tests 11 years ago
test_su preliminary privlege escalation unification + pbrun 11 years ago
test_subversion test_svn fix: remove hardcoded "~/ansible_testing/svn" path 10 years ago
test_sudo Elevate privileges when checking for file existence 10 years ago
test_synchronize Cleaning up FIXMEs 10 years ago
test_task_ordering/tasks add integration test to assert included tasks run in proper order 10 years ago
test_template add check_mode option for tasks (#16056) 10 years ago
test_unarchive Updating tests for new module feature for remote_src in unarchive 10 years ago
test_uri Run tests on ubuntu1604 and opensuseleap (#15936) 10 years ago
test_var_blending When var name is the same as var content, try to template it before reporting that var is not defined. (#13629) 10 years ago
test_var_precedence Split out various vars-related things to avoid merging too early 11 years ago
test_var_precedence_dep Fixing role dependency chain creation 10 years ago
test_var_precedence_inven_override/tasks Test that we can override variables set in inventory when the vars_file name is templated 11 years ago
test_var_precedence_role1 Fix order of resolving dependent role variables from vars files 11 years ago
test_var_precedence_role2 Fix issue with vars precedence from roles 11 years ago
test_var_precedence_role3 Correct variable blending from vars_files with hostvars in them 12 years ago
test_win_copy corrected several usages of deprecated bare vars 10 years ago
test_win_feature Only run win_feature tests when the host has the ServerManager module. 11 years ago
test_win_fetch/tasks Fixes for WinRM/PowerShell support in v2. 11 years ago
test_win_file corrected several usages of deprecated bare vars 10 years ago
test_win_get_url fix windows integration tests to run under kerberos users 10 years ago
test_win_group Add integration tests for win_group module. 11 years ago
test_win_lineinfile integration tests for windows implementation of lineinfile 11 years ago
test_win_msi Download files from S3 to improve reliability. (#16891) 10 years ago
test_win_ping Add PowerShell exception handling and turn on strict mode. 10 years ago
test_win_raw/tasks Modify task executor to reuse connection inside a loop. Fix WinRM connection to set _connected properly and display when remote shell is opened/closed. Add integration test using raw + with_items. 10 years ago
test_win_regedit added further tests for win_regedit to cover the changes made 10 years ago
test_win_regmerge adding integration tests for win_regmerge module (extras) 10 years ago
test_win_script fix windows integration tests to run under kerberos users 10 years ago
test_win_service Add integration tests for win_service module. 12 years ago
test_win_setup/tasks fix setup test for renamed windows fact 10 years ago
test_win_slurp/tasks Add integration tests for fetch/slurp, make powershell fetch/slurp work as close as possible to existing fetch/slurp modules. 12 years ago
test_win_stat/tasks Fixes for WinRM/PowerShell support in v2. 11 years ago
test_win_template Fix for PowerShell unquote method when passed None. 11 years ago
test_win_user ensure test_win_user fails on bogus error 10 years ago
test_yum task_result _check_key should handle empty results (#16766) 10 years ago
test_zypper extend zypper integration tests (#15596) 10 years ago
test_zypper_repository Run tests on ubuntu1604 and opensuseleap (#15936) 10 years ago