Skip to content
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

New sanity test failures (devel) #1072

Closed
1 task done
tremble opened this issue Apr 14, 2022 · 3 comments · Fixed by #1116
Closed
1 task done

New sanity test failures (devel) #1072

tremble opened this issue Apr 14, 2022 · 3 comments · Fixed by #1116
Labels
bug This issue/PR relates to a bug module module needs_triage plugins plugin (any type)

Comments

@tremble
Copy link
Contributor

tremble commented Apr 14, 2022

Summary

The devel branch (not yet milestone) has flagged some additional sanity issues. parameter-list-no-elements: ... Argument defines type as list but elements is not defined

Issue Type

Bug Report

Component Name

cloudfront_distribution
ecs_taskdefinition
elb_application_lb
rds_option_group

Ansible Version

ansible devel

Collection Versions

CI

AWS SDK versions

CI

Configuration

CI

OS / Environment

n/a

Steps to Reproduce

  • Trigger sanity tests using the devel branch of Ansible

Expected Results

No sanity failures

Actual Results

2022-04-14 14:20:48.885864 | controller | ERROR: Found 17 validate-modules issue(s) which need to be resolved:
2022-04-14 14:20:48.885959 | controller | ERROR: plugins/modules/cloudfront_distribution.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.restrictions.suboptions.geo_restriction.suboptions.items: Argument defines type as list but elements is not defined for dictionary value @ data['options']['restrictions']['suboptions']['geo_restriction']['suboptions']['items']. Got {'description': ['A list of ISO 3166-1 two letter (Alpha 2) country codes that the restriction should apply to.', 'See the ISO website for a full list of codes U(https://www.iso.org/obp/ui/#search/code/).'], 'type': 'list'}
2022-04-14 14:20:48.885976 | controller | ERROR: plugins/modules/ecs_taskdefinition.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.containers.suboptions.command: Argument defines type as list but elements is not defined for dictionary value @ data['options']['containers']['suboptions']['command']. Got {'description': 'The command that is passed to the container.', 'required': False, 'type': 'list'}
2022-04-14 14:20:48.885997 | controller | ERROR: plugins/modules/ecs_taskdefinition.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.containers.suboptions.dnsSearchDomains: Argument defines type as list but elements is not defined for dictionary value @ data['options']['containers']['suboptions']['dnsSearchDomains']. Got {'description': ['A list of DNS search domains that are presented to the container.', 'This parameter is not supported for Windows containers.'], 'required': False, 'type': 'list'}
2022-04-14 14:20:48.886008 | controller | ERROR: plugins/modules/ecs_taskdefinition.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.containers.suboptions.dnsServers: Argument defines type as list but elements is not defined for dictionary value @ data['options']['containers']['suboptions']['dnsServers']. Got {'description': ['A list of DNS servers that are presented to the container.', 'This parameter is not supported for Windows containers.'], 'required': False, 'type': 'list'}
2022-04-14 14:20:48.886019 | controller | ERROR: plugins/modules/ecs_taskdefinition.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.containers.suboptions.dockerSecurityOptions: Argument defines type as list but elements is not defined for dictionary value @ data['options']['containers']['suboptions']['dockerSecurityOptions']. Got {'description': ['A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.', 'This parameter is not supported for Windows containers.'], 'required': False, 'type': 'list'}
2022-04-14 14:20:48.886034 | controller | ERROR: plugins/modules/ecs_taskdefinition.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.containers.suboptions.links: Argument defines type as list but elements is not defined for dictionary value @ data['options']['containers']['suboptions']['links']. Got {'description': ['Allows containers to communicate with each other without the need for port mappings.', 'This parameter is only supported if I(network_mode=bridge).'], 'required': False, 'type': 'list'}
2022-04-14 14:20:48.886057 | controller | ERROR: plugins/modules/ecs_taskdefinition.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.containers.suboptions.linuxParameters.suboptions.capabilities.suboptions.add: Argument defines type as list but elements is not defined for dictionary value @ data['options']['containers']['suboptions']['linuxParameters']['suboptions']['capabilities']['suboptions']['add']. Got {'description': ['The Linux capabilities for the container that have been added to the default configuration provided by Docker.', 'If I(launch_type=FARGATE), this parameter is not supported.'], 'required': False, 'type': 'list', 'choices': ['ALL', 'AUDIT_CONTROL', 'AUDIT_WRITE', 'BLOCK_SUSPEND', 'CHOWN', 'DAC_OVERRIDE', 'DAC_READ_SEARCH', 'FOWNER', 'FSETID', 'IPC_LOCK', 'IPC_OWNER', 'KILL', 'LEASE', 'LINUX_IMMUTABLE', 'MAC_ADMIN', 'MAC_OVERRIDE', 'MKNOD', 'NET_ADMIN', 'NET_BIND_SERVICE', 'NE...
2022-04-14 14:20:48.886069 | controller | ERROR: plugins/modules/ecs_taskdefinition.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.containers.suboptions.linuxParameters.suboptions.capabilities.suboptions.drop: Argument defines type as list but elements is not defined for dictionary value @ data['options']['containers']['suboptions']['linuxParameters']['suboptions']['capabilities']['suboptions']['drop']. Got {'description': ['The Linux capabilities for the container that have been removed from the default configuration provided by Docker.'], 'required': False, 'type': 'list', 'choices': ['ALL', 'AUDIT_CONTROL', 'AUDIT_WRITE', 'BLOCK_SUSPEND', 'CHOWN', 'DAC_OVERRIDE', 'DAC_READ_SEARCH', 'FOWNER', 'FSETID', 'IPC_LOCK', 'IPC_OWNER', 'KILL', 'LEASE', 'LINUX_IMMUTABLE', 'MAC_ADMIN', 'MAC_OVERRIDE', 'MKNOD', 'NET_ADMIN', 'NET_BIND_SERVICE', 'NET_BROADCAST', 'NET_RAW', 'SETFCAP', 'SETGID', 'SETPCAP', 'S...
2022-04-14 14:20:48.886080 | controller | ERROR: plugins/modules/ecs_taskdefinition.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.containers.suboptions.linuxParameters.suboptions.devices.suboptions.permissions: Argument defines type as list but elements is not defined for dictionary value @ data['options']['containers']['suboptions']['linuxParameters']['suboptions']['devices']['suboptions']['permissions']. Got {'description': 'The explicit permissions to provide to the container for the device.', 'required': False, 'type': 'list'}
2022-04-14 14:20:48.886096 | controller | ERROR: plugins/modules/ecs_taskdefinition.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.containers.suboptions.linuxParameters.suboptions.tmpfs.suboptions.mountOptions: Argument defines type as list but elements is not defined for dictionary value @ data['options']['containers']['suboptions']['linuxParameters']['suboptions']['tmpfs']['suboptions']['mountOptions']. Got {'description': 'The list of tmpfs volume mount options.', 'required': False, 'type': 'list', 'choices': ['defaults', 'ro', 'rw', 'suid', 'nosuid', 'dev', 'nodev', 'exec', 'noexec', 'sync', 'async', 'dirsync', 'remount', 'mand', 'nomand', 'atime', 'noatime', 'diratime', 'nodiratime', 'bind', 'rbind', 'unbindable', 'runbindable', 'private', 'rprivate', 'shared', 'rshared', 'slave', 'rslave', 'relatime', 'norelatime', 'strictatime', 'nostrictatime', 'mode', 'uid', 'gid', 'nr_inodes', 'nr_blocks...
2022-04-14 14:20:48.886106 | controller | ERROR: plugins/modules/ecs_taskdefinition.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.containers.suboptions.resourceRequirements: Argument defines type as list but elements is not defined for dictionary value @ data['options']['containers']['suboptions']['resourceRequirements']. Got {'description': ['The type and amount of a resource to assign to a container.', 'The only supported resource is a C(GPU).'], 'required': False, 'type': 'list'}
2022-04-14 14:20:48.886116 | controller | ERROR: plugins/modules/ecs_taskdefinition.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.containers.suboptions.systemControls: Argument defines type as list but elements is not defined for dictionary value @ data['options']['containers']['suboptions']['systemControls']. Got {'description': 'A list of namespaced kernel parameters to set in the container.', 'required': False, 'type': 'list'}
2022-04-14 14:20:48.886134 | controller | ERROR: plugins/modules/elb_application_lb.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.listeners.suboptions.Rules.suboptions.Actions: Argument defines type as list but elements is not defined for dictionary value @ data['options']['listeners']['suboptions']['Rules']['suboptions']['Actions']. Got {'type': 'list', 'description': "Actions to apply if all of the rule's conditions are met."}
2022-04-14 14:20:48.886147 | controller | ERROR: plugins/modules/elb_application_lb.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.listeners.suboptions.Rules.suboptions.Conditions: Argument defines type as list but elements is not defined for dictionary value @ data['options']['listeners']['suboptions']['Rules']['suboptions']['Conditions']. Got {'type': 'list', 'description': 'Conditions which must be met for the actions to be applied.'}
2022-04-14 14:20:48.886190 | controller | ERROR: plugins/modules/rds_option_group.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.options.suboptions.db_security_group_memberships: Argument defines type as list but elements is not defined for dictionary value @ data['options']['options']['suboptions']['db_security_group_memberships']. Got {'description': 'A list of C(DBSecurityGroupMembership) name strings used for this option.', 'required': False, 'type': 'list'}
2022-04-14 14:20:48.886226 | controller | ERROR: plugins/modules/rds_option_group.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.options.suboptions.option_settings: Argument defines type as list but elements is not defined for dictionary value @ data['options']['options']['suboptions']['option_settings']. Got {'description': 'The option settings to include in an option group.', 'required': False, 'type': 'list', 'suboptions': {'name': {'description': 'The name of the option that has settings that you can set.', 'required': False, 'type': 'str'}, 'value': {'description': 'The current value of the option setting.', 'required': False, 'type': 'str'}, 'default_value': {'description': 'The default value of the option setting.', 'required': False, 'type': 'str'}, 'description': {'description': 'The desc...
2022-04-14 14:20:48.886241 | controller | ERROR: plugins/modules/rds_option_group.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.options.suboptions.vpc_security_group_memberships: Argument defines type as list but elements is not defined for dictionary value @ data['options']['options']['suboptions']['vpc_security_group_memberships']. Got {'description': 'A list of C(VpcSecurityGroupMembership) name strings used for this option.', 'required': False, 'type': 'list'}

Code of Conduct

  • I agree to follow the Ansible Code of Conduct
@ansibullbot
Copy link

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibullbot
Copy link

@ansibullbot ansibullbot added bug This issue/PR relates to a bug module module needs_triage plugins plugin (any type) labels Apr 14, 2022
@tremble
Copy link
Contributor Author

tremble commented May 17, 2022

fixed by #1116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug module module needs_triage plugins plugin (any type)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants