New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validate-modules: Documentation bool #50085

Open
wants to merge 3 commits into
base: devel
from

Conversation

Projects
None yet
4 participants
@Akasurde
Copy link
Member

Akasurde commented Dec 18, 2018

SUMMARY

This check allows to catch cases where type of argument is different than documentation does.

Signed-off-by: Abhijeet Kasurde akasurde@redhat.com

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

docs/docsite/rst/dev_guide/testing_validate-modules.rst
test/sanity/validate-modules/main.py

@ansibot

This comment has been minimized.

Copy link
Contributor

ansibot commented Dec 18, 2018

@ansibot

This comment has been minimized.

Copy link
Contributor

ansibot commented Dec 19, 2018

The test ansible-test sanity --test validate-modules [explain] failed with 53 errors:

lib/ansible/modules/network/f5/bigip_asm_policy_manage.py:0:0: E336 argument_spec for "provider" defines type as dict but documentation defines type as str
lib/ansible/modules/network/f5/bigip_asm_policy_server_technology.py:0:0: E336 argument_spec for "provider" defines type as dict but documentation defines type as str
test/sanity/validate-modules/ignore.txt:1035:1: A102 Remove since "lib/ansible/modules/commands/psexec.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1092:1: A102 Remove since "lib/ansible/modules/database/postgresql/postgresql_idx.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1146:1: A102 Remove since "lib/ansible/modules/files/read_csv.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1592:1: A102 Remove since "lib/ansible/modules/network/dellos9/dellos9_command.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1969:1: A102 Remove since "lib/ansible/modules/network/nxos/_nxos_switchport.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1971:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_aaa_server.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1972:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_aaa_server_host.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1974:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_acl.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1975:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_acl_interface.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1976:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_banner.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1982:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_bgp_neighbor.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1989:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_evpn_global.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1992:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_feature.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1995:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_gir.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1997:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_hsrp.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1998:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_igmp.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2001:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_igmp_snooping.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2002:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_install_os.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2005:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_interface_ospf.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2010:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_lldp.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2012:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_ntp.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2013:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_ntp_auth.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2014:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_ntp_options.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2017:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_ospf.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2018:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_ospf_vrf.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2019:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_overlay_global.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2024:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_pim_rp_address.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2025:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_ping.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2026:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_reboot.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2027:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_rollback.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2030:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_smu.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2031:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_snapshot.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2032:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_snmp_community.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2033:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_snmp_contact.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2034:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_snmp_host.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2035:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_snmp_location.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2036:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_snmp_traps.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2037:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_snmp_user.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2040:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_udld.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2041:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_udld_interface.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2046:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_vpc_interface.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2048:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_vrf_af.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2049:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_vrf_interface.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2051:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_vrrp.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2052:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_vtp_domain.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2053:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_vtp_password.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2054:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_vtp_version.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2055:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_vxlan_vtep.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2263:1: A102 Remove since "lib/ansible/modules/packaging/os/pulp_repo.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2302:1: A102 Remove since "lib/ansible/modules/remote_management/dellemc/idrac/dellemc_idrac_firmware.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2526:1: A102 Remove since "lib/ansible/modules/system/firewalld.py" passes "E336" test

click here for bot help

@ansibot

This comment has been minimized.

Copy link
Contributor

ansibot commented Dec 19, 2018

The test ansible-test sanity --test validate-modules [explain] failed with 53 errors:

lib/ansible/modules/network/f5/bigip_asm_policy_manage.py:0:0: E336 argument_spec for "provider" defines type as dict but documentation defines type as str
lib/ansible/modules/network/f5/bigip_asm_policy_server_technology.py:0:0: E336 argument_spec for "provider" defines type as dict but documentation defines type as str
test/sanity/validate-modules/ignore.txt:1035:1: A102 Remove since "lib/ansible/modules/commands/psexec.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1092:1: A102 Remove since "lib/ansible/modules/database/postgresql/postgresql_idx.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1146:1: A102 Remove since "lib/ansible/modules/files/read_csv.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1592:1: A102 Remove since "lib/ansible/modules/network/dellos9/dellos9_command.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1969:1: A102 Remove since "lib/ansible/modules/network/nxos/_nxos_switchport.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1971:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_aaa_server.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1972:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_aaa_server_host.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1974:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_acl.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1975:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_acl_interface.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1976:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_banner.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1982:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_bgp_neighbor.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1989:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_evpn_global.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1992:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_feature.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1995:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_gir.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1997:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_hsrp.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1998:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_igmp.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2001:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_igmp_snooping.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2002:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_install_os.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2005:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_interface_ospf.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2010:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_lldp.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2012:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_ntp.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2013:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_ntp_auth.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2014:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_ntp_options.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2017:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_ospf.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2018:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_ospf_vrf.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2019:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_overlay_global.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2024:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_pim_rp_address.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2025:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_ping.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2026:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_reboot.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2027:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_rollback.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2030:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_smu.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2031:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_snapshot.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2032:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_snmp_community.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2033:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_snmp_contact.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2034:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_snmp_host.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2035:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_snmp_location.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2036:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_snmp_traps.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2037:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_snmp_user.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2040:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_udld.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2041:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_udld_interface.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2046:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_vpc_interface.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2048:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_vrf_af.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2049:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_vrf_interface.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2051:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_vrrp.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2052:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_vtp_domain.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2053:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_vtp_password.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2054:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_vtp_version.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2055:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_vxlan_vtep.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2263:1: A102 Remove since "lib/ansible/modules/packaging/os/pulp_repo.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2302:1: A102 Remove since "lib/ansible/modules/remote_management/dellemc/idrac/dellemc_idrac_firmware.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2526:1: A102 Remove since "lib/ansible/modules/system/firewalld.py" passes "E336" test

click here for bot help

Akasurde added some commits Oct 19, 2018

validate-modules: Documentation bool
This check allows to catch cases where type of argument is different than documentation does.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Wrong comparison for 'str'
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Add ignore.txt
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>

@Akasurde Akasurde force-pushed the Akasurde:argument_spec_bool branch from 828992d to 9e01660 Dec 25, 2018

@ansibot

This comment has been minimized.

Copy link
Contributor

ansibot commented Dec 25, 2018

The test ansible-test sanity --test validate-modules [explain] failed with 47 errors:

lib/ansible/modules/cloud/google/gcp_compute_interconnect_attachment_facts.py:0:0: E336 argument_spec for "filters" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_compute_interconnect_attachment_facts.py:0:0: E336 argument_spec for "scopes" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_compute_interconnect_attachment_facts.py:0:0: E336 argument_spec for "service_account_file" defines type as path but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_container_cluster_facts.py:0:0: E336 argument_spec for "scopes" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_container_cluster_facts.py:0:0: E336 argument_spec for "service_account_file" defines type as path but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_container_node_pool_facts.py:0:0: E336 argument_spec for "cluster" defines type as dict but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_container_node_pool_facts.py:0:0: E336 argument_spec for "scopes" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_container_node_pool_facts.py:0:0: E336 argument_spec for "service_account_file" defines type as path but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_iam_service_account_facts.py:0:0: E336 argument_spec for "scopes" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_iam_service_account_facts.py:0:0: E336 argument_spec for "service_account_file" defines type as path but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_resourcemanager_project_facts.py:0:0: E336 argument_spec for "scopes" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_resourcemanager_project_facts.py:0:0: E336 argument_spec for "service_account_file" defines type as path but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_spanner_database_facts.py:0:0: E336 argument_spec for "instance" defines type as dict but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_spanner_database_facts.py:0:0: E336 argument_spec for "scopes" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_spanner_database_facts.py:0:0: E336 argument_spec for "service_account_file" defines type as path but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_spanner_instance_facts.py:0:0: E336 argument_spec for "scopes" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_spanner_instance_facts.py:0:0: E336 argument_spec for "service_account_file" defines type as path but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_sql_database_facts.py:0:0: E336 argument_spec for "instance" defines type as dict but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_sql_database_facts.py:0:0: E336 argument_spec for "scopes" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_sql_database_facts.py:0:0: E336 argument_spec for "service_account_file" defines type as path but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_sql_instance_facts.py:0:0: E336 argument_spec for "scopes" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_sql_instance_facts.py:0:0: E336 argument_spec for "service_account_file" defines type as path but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_sql_user_facts.py:0:0: E336 argument_spec for "instance" defines type as dict but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_sql_user_facts.py:0:0: E336 argument_spec for "scopes" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_sql_user_facts.py:0:0: E336 argument_spec for "service_account_file" defines type as path but documentation defines type as str
lib/ansible/modules/net_tools/nios/nios_nsgroup.py:0:0: E336 argument_spec for "external_primaries" defines type as list but documentation defines type as str
lib/ansible/modules/net_tools/nios/nios_nsgroup.py:0:0: E336 argument_spec for "external_secondaries" defines type as list but documentation defines type as str
lib/ansible/modules/net_tools/nios/nios_nsgroup.py:0:0: E336 argument_spec for "grid_primary" defines type as list but documentation defines type as str
lib/ansible/modules/net_tools/nios/nios_nsgroup.py:0:0: E336 argument_spec for "grid_secondaries" defines type as list but documentation defines type as str
lib/ansible/modules/net_tools/nios/nios_nsgroup.py:0:0: E336 argument_spec for "provider" defines type as dict but documentation defines type as str
lib/ansible/modules/network/aci/msc_site.py:0:0: E336 argument_spec for "location" defines type as dict but documentation defines type as str
lib/ansible/modules/network/cnos/cnos_interface.py:0:0: E336 argument_spec for "aggregate" defines type as list but documentation defines type as str
lib/ansible/modules/network/cnos/cnos_interface.py:0:0: E336 argument_spec for "delay" defines type as int but documentation defines type as str
lib/ansible/modules/network/cnos/cnos_interface.py:0:0: E336 argument_spec for "neighbors" defines type as list but documentation defines type as str
lib/ansible/modules/network/cnos/cnos_interface.py:0:0: E336 argument_spec for "provider" defines type as dict but documentation defines type as str
lib/ansible/modules/network/cnos/cnos_linkagg.py:0:0: E336 argument_spec for "aggregate" defines type as list but documentation defines type as str
lib/ansible/modules/network/cnos/cnos_linkagg.py:0:0: E336 argument_spec for "group" defines type as int but documentation defines type as str
lib/ansible/modules/network/cnos/cnos_linkagg.py:0:0: E336 argument_spec for "members" defines type as list but documentation defines type as str
lib/ansible/modules/network/cnos/cnos_linkagg.py:0:0: E336 argument_spec for "provider" defines type as dict but documentation defines type as str
lib/ansible/modules/network/f5/bigip_asm_policy_manage.py:0:0: E336 argument_spec for "provider" defines type as dict but documentation defines type as str
lib/ansible/modules/network/f5/bigip_asm_policy_server_technology.py:0:0: E336 argument_spec for "provider" defines type as dict but documentation defines type as str
lib/ansible/modules/network/nxos/nxos_bgp_neighbor_af.py:0:0: E336 argument_spec for "advertise_map_exist" defines type as list but documentation defines type as str
lib/ansible/modules/network/nxos/nxos_bgp_neighbor_af.py:0:0: E336 argument_spec for "advertise_map_non_exist" defines type as list but documentation defines type as str
test/sanity/validate-modules/ignore.txt:1312:1: A102 Remove since "lib/ansible/modules/network/aci/msc_user.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1969:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_bgp_neighbor.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2004:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_vrf_af.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2005:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_vrf_interface.py" passes "E336" test

click here for bot help

@ansibot ansibot added the stale_ci label Jan 2, 2019

@mattclay mattclay added the ci_verified label Jan 8, 2019

@ansibot

This comment has been minimized.

Copy link
Contributor

ansibot commented Jan 8, 2019

The test ansible-test sanity --test validate-modules [explain] failed with 77 errors:

lib/ansible/modules/cloud/azure/azure_rm_virtualmachinescalesetinstance_facts.py:0:0: E336 argument_spec for "tags" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/cloudscale/cloudscale_volume.py:0:0: E336 argument_spec for "api_timeout" defines type as int but documentation defines type as str
lib/ansible/modules/cloud/cloudscale/cloudscale_volume.py:0:0: E336 argument_spec for "server_uuids" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/cloudscale/cloudscale_volume.py:0:0: E336 argument_spec for "size_gb" defines type as int but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_compute_interconnect_attachment_facts.py:0:0: E336 argument_spec for "filters" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_compute_interconnect_attachment_facts.py:0:0: E336 argument_spec for "scopes" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_compute_interconnect_attachment_facts.py:0:0: E336 argument_spec for "service_account_file" defines type as path but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_container_cluster_facts.py:0:0: E336 argument_spec for "scopes" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_container_cluster_facts.py:0:0: E336 argument_spec for "service_account_file" defines type as path but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_container_node_pool_facts.py:0:0: E336 argument_spec for "cluster" defines type as dict but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_container_node_pool_facts.py:0:0: E336 argument_spec for "scopes" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_container_node_pool_facts.py:0:0: E336 argument_spec for "service_account_file" defines type as path but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_iam_service_account_facts.py:0:0: E336 argument_spec for "scopes" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_iam_service_account_facts.py:0:0: E336 argument_spec for "service_account_file" defines type as path but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_resourcemanager_project_facts.py:0:0: E336 argument_spec for "scopes" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_resourcemanager_project_facts.py:0:0: E336 argument_spec for "service_account_file" defines type as path but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_spanner_database_facts.py:0:0: E336 argument_spec for "instance" defines type as dict but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_spanner_database_facts.py:0:0: E336 argument_spec for "scopes" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_spanner_database_facts.py:0:0: E336 argument_spec for "service_account_file" defines type as path but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_spanner_instance_facts.py:0:0: E336 argument_spec for "scopes" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_spanner_instance_facts.py:0:0: E336 argument_spec for "service_account_file" defines type as path but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_sql_database_facts.py:0:0: E336 argument_spec for "instance" defines type as dict but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_sql_database_facts.py:0:0: E336 argument_spec for "scopes" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_sql_database_facts.py:0:0: E336 argument_spec for "service_account_file" defines type as path but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_sql_instance_facts.py:0:0: E336 argument_spec for "scopes" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_sql_instance_facts.py:0:0: E336 argument_spec for "service_account_file" defines type as path but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_sql_user_facts.py:0:0: E336 argument_spec for "instance" defines type as dict but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_sql_user_facts.py:0:0: E336 argument_spec for "scopes" defines type as list but documentation defines type as str
lib/ansible/modules/cloud/google/gcp_sql_user_facts.py:0:0: E336 argument_spec for "service_account_file" defines type as path but documentation defines type as str
lib/ansible/modules/crypto/openssh_cert.py:0:0: E336 argument_spec for "force" defines type as <class 'bool'> but documentation defines type as bool
lib/ansible/modules/crypto/openssh_cert.py:0:0: E336 argument_spec for "options" defines type as <class 'list'> but documentation defines type as list
lib/ansible/modules/crypto/openssh_cert.py:0:0: E336 argument_spec for "principals" defines type as <class 'list'> but documentation defines type as list
lib/ansible/modules/net_tools/nios/nios_fixed_address.py:0:0: E336 argument_spec for "extattrs" defines type as dict but documentation defines type as str
lib/ansible/modules/net_tools/nios/nios_fixed_address.py:0:0: E336 argument_spec for "options" defines type as list but documentation defines type as str
lib/ansible/modules/net_tools/nios/nios_fixed_address.py:0:0: E336 argument_spec for "provider" defines type as dict but documentation defines type as str
lib/ansible/modules/net_tools/nios/nios_nsgroup.py:0:0: E336 argument_spec for "external_primaries" defines type as list but documentation defines type as str
lib/ansible/modules/net_tools/nios/nios_nsgroup.py:0:0: E336 argument_spec for "external_secondaries" defines type as list but documentation defines type as str
lib/ansible/modules/net_tools/nios/nios_nsgroup.py:0:0: E336 argument_spec for "grid_primary" defines type as list but documentation defines type as str
lib/ansible/modules/net_tools/nios/nios_nsgroup.py:0:0: E336 argument_spec for "grid_secondaries" defines type as list but documentation defines type as str
lib/ansible/modules/net_tools/nios/nios_nsgroup.py:0:0: E336 argument_spec for "provider" defines type as dict but documentation defines type as str
lib/ansible/modules/network/aci/msc_site.py:0:0: E336 argument_spec for "location" defines type as dict but documentation defines type as str
lib/ansible/modules/network/cnos/cnos_interface.py:0:0: E336 argument_spec for "aggregate" defines type as list but documentation defines type as str
lib/ansible/modules/network/cnos/cnos_interface.py:0:0: E336 argument_spec for "delay" defines type as int but documentation defines type as str
lib/ansible/modules/network/cnos/cnos_interface.py:0:0: E336 argument_spec for "neighbors" defines type as list but documentation defines type as str
lib/ansible/modules/network/cnos/cnos_interface.py:0:0: E336 argument_spec for "provider" defines type as dict but documentation defines type as str
lib/ansible/modules/network/cnos/cnos_linkagg.py:0:0: E336 argument_spec for "aggregate" defines type as list but documentation defines type as str
lib/ansible/modules/network/cnos/cnos_linkagg.py:0:0: E336 argument_spec for "group" defines type as int but documentation defines type as str
lib/ansible/modules/network/cnos/cnos_linkagg.py:0:0: E336 argument_spec for "members" defines type as list but documentation defines type as str
lib/ansible/modules/network/cnos/cnos_linkagg.py:0:0: E336 argument_spec for "provider" defines type as dict but documentation defines type as str
lib/ansible/modules/network/f5/bigip_apm_policy_fetch.py:0:0: E336 argument_spec for "provider" defines type as dict but documentation defines type as str
lib/ansible/modules/network/f5/bigip_apm_policy_import.py:0:0: E336 argument_spec for "provider" defines type as dict but documentation defines type as str
lib/ansible/modules/network/f5/bigip_asm_policy_manage.py:0:0: E336 argument_spec for "provider" defines type as dict but documentation defines type as str
lib/ansible/modules/network/f5/bigip_asm_policy_server_technology.py:0:0: E336 argument_spec for "provider" defines type as dict but documentation defines type as str
lib/ansible/modules/network/f5/bigip_asm_policy_signature_set.py:0:0: E336 argument_spec for "provider" defines type as dict but documentation defines type as str
lib/ansible/modules/network/nxos/nxos_bgp_neighbor_af.py:0:0: E336 argument_spec for "advertise_map_exist" defines type as list but documentation defines type as str
lib/ansible/modules/network/nxos/nxos_bgp_neighbor_af.py:0:0: E336 argument_spec for "advertise_map_non_exist" defines type as list but documentation defines type as str
lib/ansible/modules/system/aix_filesystem.py:0:0: E336 argument_spec for "attributes" defines type as list but documentation defines type as str
lib/ansible/modules/web_infrastructure/sophos_utm/utm_proxy_auth_profile.py:0:0: E336 argument_spec for "aaa" defines type as list but documentation defines type as str
lib/ansible/modules/web_infrastructure/sophos_utm/utm_proxy_auth_profile.py:0:0: E336 argument_spec for "frontend_session_lifetime" defines type as int but documentation defines type as str
lib/ansible/modules/web_infrastructure/sophos_utm/utm_proxy_auth_profile.py:0:0: E336 argument_spec for "frontend_session_timeout" defines type as int but documentation defines type as str
lib/ansible/modules/web_infrastructure/sophos_utm/utm_proxy_auth_profile.py:0:0: E336 argument_spec for "logout_delegation_urls" defines type as list but documentation defines type as str
lib/ansible/modules/web_infrastructure/sophos_utm/utm_proxy_auth_profile.py:0:0: E336 argument_spec for "utm_port" defines type as int but documentation defines type as str
lib/ansible/modules/web_infrastructure/sophos_utm/utm_proxy_frontend.py:0:0: E336 argument_spec for "allowed_networks" defines type as list but documentation defines type as str
lib/ansible/modules/web_infrastructure/sophos_utm/utm_proxy_frontend.py:0:0: E336 argument_spec for "domain" defines type as list but documentation defines type as str
lib/ansible/modules/web_infrastructure/sophos_utm/utm_proxy_frontend.py:0:0: E336 argument_spec for "exceptions" defines type as list but documentation defines type as str
lib/ansible/modules/web_infrastructure/sophos_utm/utm_proxy_frontend.py:0:0: E336 argument_spec for "locations" defines type as list but documentation defines type as str
lib/ansible/modules/web_infrastructure/sophos_utm/utm_proxy_frontend.py:0:0: E336 argument_spec for "port" defines type as int but documentation defines type as str
lib/ansible/modules/web_infrastructure/sophos_utm/utm_proxy_frontend.py:0:0: E336 argument_spec for "utm_port" defines type as int but documentation defines type as str
lib/ansible/modules/web_infrastructure/sophos_utm/utm_proxy_location.py:0:0: E336 argument_spec for "backend" defines type as list but documentation defines type as str
lib/ansible/modules/web_infrastructure/sophos_utm/utm_proxy_location.py:0:0: E336 argument_spec for "denied_networks" defines type as list but documentation defines type as str
lib/ansible/modules/web_infrastructure/sophos_utm/utm_proxy_location.py:0:0: E336 argument_spec for "utm_port" defines type as int but documentation defines type as str
test/sanity/validate-modules/ignore.txt:439:1: A102 Remove since "lib/ansible/modules/cloud/docker/docker_secret.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1157:1: A102 Remove since "lib/ansible/modules/files/xml.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1312:1: A102 Remove since "lib/ansible/modules/network/aci/msc_user.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:1969:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_bgp_neighbor.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2004:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_vrf_af.py" passes "E336" test
test/sanity/validate-modules/ignore.txt:2005:1: A102 Remove since "lib/ansible/modules/network/nxos/nxos_vrf_interface.py" passes "E336" test

click here for bot help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment