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 aws_api_gateway_domain module #58663

Open
wants to merge 13 commits into
base: devel
from

Conversation

Projects
None yet
2 participants
@stefanhorning
Copy link
Contributor

commented Jul 3, 2019

SUMMARY

New module to setup a custom domain for AWS API Gateway services.

ISSUE TYPE
  • New Module Pull Request
COMPONENT NAME

aws_api_gateway_domain

ADDITIONAL INFORMATION

Complements already existing aws_api_gateway module to also allow custom domain setup.

@ansibot

This comment has been minimized.

Copy link
Contributor

commented Jul 3, 2019

@stefanhorning, just so you are aware we have a dedicated Working Group for aws.
You can find other people interested in this in #ansible-aws on Freenode IRC
For more information about communities, meetings and agendas see https://github.com/ansible/community

click here for bot help

@ansibot

This comment has been minimized.

Copy link
Contributor

commented Jul 3, 2019

The test ansible-test sanity --test pylint [explain] failed with 4 errors:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:77:14: undefined-variable Undefined variable 'get_domain_name'
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:129:17: bad-whitespace Exactly one space required around assignment     argument_spec=dict(                  ^
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:159:16: bad-whitespace No space allowed after bracket     exit_args = { "changed": changed }                 ^
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:159:37: bad-whitespace No space allowed before bracket     exit_args = { "changed": changed }                                      ^

The test ansible-test sanity --test pep8 [explain] failed with 3 errors:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:129:18: E225 missing whitespace around operator
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:159:18: E201 whitespace after '{'
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:159:37: E202 whitespace before '}'

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

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E322 Argument 'certificate_arn' is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E322 Argument 'certificate_name' is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E322 Argument 'domain_name' is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E322 Argument 'endpoint_type' is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E322 Argument 'security_policy' is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E324 Argument 'endpoint_type' in argument_spec defines default as ('EDGE') but documentation defines default as (None)
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E324 Argument 'security_policy' in argument_spec defines default as ('TLS_1_2') but documentation defines default as (None)
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E326 Argument 'endpoint_type' in argument_spec defines choices as (['EDGE', 'REGIONAL', 'PRIVATE']) but documentation defines choices as ([])
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E326 Argument 'security_policy' in argument_spec defines choices as (['TLS_1_0', 'TLS_1_2']) but documentation defines choices as ([])
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'certificate_arn' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'certificate_name' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'domain_name' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'endpoint_type' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'security_policy' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'state' in argument_spec defines type as 'str' but documentation doesn't define type

click here for bot help

@ansibot

This comment has been minimized.

Copy link
Contributor

commented Jul 3, 2019

The test ansible-test sanity --test pylint [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:179:0: syntax-error invalid syntax (<unknown>, line 179)

The test ansible-test sanity --test ansible-doc --python 2.6 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: has a documentation error formatting or is missing documentation.

The test ansible-test sanity --test ansible-doc --python 2.7 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: has a documentation error formatting or is missing documentation.

The test ansible-test sanity --test ansible-doc --python 3.5 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: has a documentation error formatting or is missing documentation.

The test ansible-test sanity --test ansible-doc --python 3.6 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: has a documentation error formatting or is missing documentation.

The test ansible-test sanity --test ansible-doc --python 3.7 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: has a documentation error formatting or is missing documentation.

The test ansible-test sanity --test ansible-doc --python 3.8 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: has a documentation error formatting or is missing documentation.

The test ansible-test sanity --test docs-build [explain] failed with the error:

Command "/usr/bin/python3.6 test/sanity/code-smell/docs-build.py" returned exit status 1.
>>> Standard Error
Command 'make singlehtmldocs' failed with status code: 2
--> Standard Output
PYTHONPATH=../../lib ../bin/dump_config.py --template-file=../templates/config.rst.j2 --output-dir=rst/reference_appendices/ -d ../../lib/ansible/config/base.yml
mkdir -p rst/cli
PYTHONPATH=../../lib ../bin/generate_man.py --template-file=../templates/cli_rst.j2 --output-dir=rst/cli/ --output-format rst ../../lib/ansible/cli/*.py
PYTHONPATH=../../lib ../bin/dump_keywords.py --template-dir=../templates --output-dir=rst/reference_appendices/ -d ./keyword_desc.yml
PYTHONPATH=../../lib ../bin/plugin_formatter.py -t rst --template-dir=../templates --module-dir=../../lib/ansible/modules -o rst/modules/ 
Evaluating module files...
Makefile:93: recipe for target 'modules' failed
--> Standard Error
Traceback (most recent call last):
  File "../bin/plugin_formatter.py", line 815, in <module>
    main()
  File "../bin/plugin_formatter.py", line 770, in main
    plugin_info, categories = get_plugin_info(options.module_dir, limit_to=options.limit_to, verbose=(options.verbosity > 0))
  File "../bin/plugin_formatter.py", line 300, in get_plugin_info
    doc, examples, returndocs, metadata = plugin_docs.get_docstring(module_path, fragment_loader, verbose=verbose)
  File "/root/ansible/lib/ansible/utils/plugin_docs.py", line 111, in get_docstring
    data = read_docstring(filename, verbose=verbose, ignore_errors=ignore_errors)
  File "/root/ansible/lib/ansible/parsing/plugin_docs.py", line 40, in read_docstring
    M = ast.parse(b_module_data.read())
  File "/usr/lib/python3.6/ast.py", line 35, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 179
    state=dict(type='str', default='present', choices=['present', 'absent'])
        ^
SyntaxError: invalid syntax
make: *** [modules] Error 1

The test ansible-test sanity --test compile --python 2.6 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:179:13: SyntaxError: state=dict(type='str', default='present', choices=['present', 'absent'])

The test ansible-test sanity --test compile --python 2.7 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:179:13: SyntaxError: state=dict(type='str', default='present', choices=['present', 'absent'])

The test ansible-test sanity --test compile --python 3.5 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:179:13: SyntaxError: state=dict(type='str', default='present', choices=['present', 'absent'])

The test ansible-test sanity --test compile --python 3.6 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:179:13: SyntaxError: state=dict(type='str', default='present', choices=['present', 'absent'])

The test ansible-test sanity --test compile --python 3.7 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:179:13: SyntaxError: state=dict(type='str', default='present', choices=['present', 'absent'])

The test ansible-test sanity --test compile --python 3.8 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:179:9: SyntaxError: state=dict(type='str', default='present', choices=['present', 'absent'])

The test ansible-test sanity --test import --python 2.7 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:179:13: SyntaxError: invalid syntax

The test ansible-test sanity --test import --python 2.6 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:179:13: SyntaxError: invalid syntax

The test ansible-test sanity --test import --python 3.5 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:179:13: SyntaxError: invalid syntax

The test ansible-test sanity --test import --python 3.6 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:179:13: SyntaxError: invalid syntax

The test ansible-test sanity --test import --python 3.7 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:179:13: SyntaxError: invalid syntax

The test ansible-test sanity --test import --python 3.8 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:179:9: SyntaxError: invalid syntax

The test ansible-test sanity --test pep8 [explain] failed with 6 errors:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:19:161: E501 line too long (177 > 160 characters)
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:109:30: E221 multiple spaces before operator
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:110:31: E221 multiple spaces before operator
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:173:18: E225 missing whitespace around operator
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:201:18: E201 whitespace after '{'
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:201:37: E202 whitespace before '}'

The test ansible-test sanity --test validate-modules [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E401 Python SyntaxError while parsing module

The test ansible-test sanity --test yamllint [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:179:13: python-syntax-error invalid syntax (<unknown>, line 179)

click here for bot help

@ansibot ansibot removed the ci_verified label Jul 3, 2019

@ansibot

This comment has been minimized.

Copy link
Contributor

commented Jul 4, 2019

The test ansible-test sanity --test pylint [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:143:0: syntax-error invalid syntax (&lt;unknown&gt;, line 143)

The test ansible-test sanity --test ansible-doc --python 2.6 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: missing documentation (or could not parse documentation): invalid syntax (<unknown>, line 143)

The test ansible-test sanity --test ansible-doc --python 2.7 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: missing documentation (or could not parse documentation): invalid syntax (<unknown>, line 143)

The test ansible-test sanity --test ansible-doc --python 3.5 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: missing documentation (or could not parse documentation): invalid syntax (<unknown>, line 143)

The test ansible-test sanity --test ansible-doc --python 3.6 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: missing documentation (or could not parse documentation): invalid syntax (<unknown>, line 143)

The test ansible-test sanity --test ansible-doc --python 3.7 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: missing documentation (or could not parse documentation): invalid syntax (<unknown>, line 143)

The test ansible-test sanity --test ansible-doc --python 3.8 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: missing documentation (or could not parse documentation): invalid syntax (<unknown>, line 143)

The test ansible-test sanity --test docs-build [explain] failed with the error:

Command "/usr/bin/python3.6 test/sanity/code-smell/docs-build.py" returned exit status 1.
>>> Standard Error
Command 'make singlehtmldocs' failed with status code: 2
--> Standard Output
PYTHONPATH=../../lib ../bin/dump_config.py --template-file=../templates/config.rst.j2 --output-dir=rst/reference_appendices/ -d ../../lib/ansible/config/base.yml
mkdir -p rst/cli
PYTHONPATH=../../lib ../bin/generate_man.py --template-file=../templates/cli_rst.j2 --output-dir=rst/cli/ --output-format rst ../../lib/ansible/cli/*.py
PYTHONPATH=../../lib ../bin/dump_keywords.py --template-dir=../templates --output-dir=rst/reference_appendices/ -d ./keyword_desc.yml
PYTHONPATH=../../lib ../bin/plugin_formatter.py -t rst --template-dir=../templates --module-dir=../../lib/ansible/modules -o rst/modules/ 
Evaluating module files...
Makefile:93: recipe for target 'modules' failed
--> Standard Error
Traceback (most recent call last):
  File "../bin/plugin_formatter.py", line 815, in <module>
    main()
  File "../bin/plugin_formatter.py", line 770, in main
    plugin_info, categories = get_plugin_info(options.module_dir, limit_to=options.limit_to, verbose=(options.verbosity > 0))
  File "../bin/plugin_formatter.py", line 300, in get_plugin_info
    doc, examples, returndocs, metadata = plugin_docs.get_docstring(module_path, fragment_loader, verbose=verbose)
  File "/root/ansible/lib/ansible/utils/plugin_docs.py", line 111, in get_docstring
    data = read_docstring(filename, verbose=verbose, ignore_errors=ignore_errors)
  File "/root/ansible/lib/ansible/parsing/plugin_docs.py", line 40, in read_docstring
    M = ast.parse(b_module_data.read())
  File "/usr/lib/python3.6/ast.py", line 35, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 143
    if !rest_api_id or !stage:
       ^
SyntaxError: invalid syntax
make: *** [modules] Error 1

The test ansible-test sanity --test compile --python 2.7 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:143:16: SyntaxError: if !rest_api_id or !stage:

The test ansible-test sanity --test compile --python 2.6 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:143:16: SyntaxError: if !rest_api_id or !stage:

The test ansible-test sanity --test compile --python 3.5 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:143:16: SyntaxError: if !rest_api_id or !stage:

The test ansible-test sanity --test compile --python 3.6 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:143:16: SyntaxError: if !rest_api_id or !stage:

The test ansible-test sanity --test compile --python 3.7 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:143:16: SyntaxError: if !rest_api_id or !stage:

The test ansible-test sanity --test compile --python 3.8 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:143:16: SyntaxError: if !rest_api_id or !stage:

The test ansible-test sanity --test import --python 2.6 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:143:16: SyntaxError: invalid syntax

The test ansible-test sanity --test import --python 2.7 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:143:16: SyntaxError: invalid syntax

The test ansible-test sanity --test import --python 3.5 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:143:16: SyntaxError: invalid syntax

The test ansible-test sanity --test import --python 3.6 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:143:16: SyntaxError: invalid syntax

The test ansible-test sanity --test import --python 3.7 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:143:16: SyntaxError: invalid syntax

The test ansible-test sanity --test import --python 3.8 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:143:16: SyntaxError: invalid syntax

The test ansible-test sanity --test pep8 [explain] failed with 9 errors:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:19:161: E501 line too long (177 > 160 characters)
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:59:161: E501 line too long (165 > 160 characters)
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:120:25: E221 multiple spaces before operator
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:121:32: E221 multiple spaces before operator
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:204:32: E201 whitespace after '{'
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:204:83: E202 whitespace before '}'
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:215:18: E225 missing whitespace around operator
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:242:18: E201 whitespace after '{'
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:242:37: E202 whitespace before '}'

The test ansible-test sanity --test validate-modules [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E401 Python SyntaxError while parsing module

The test ansible-test sanity --test yamllint [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:143:16: python-syntax-error invalid syntax (<unknown>, line 143)

click here for bot help

@ansibot

This comment has been minimized.

Copy link
Contributor

commented Jul 4, 2019

The test ansible-test sanity --test pylint [explain] failed with 4 errors:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:126:12: duplicate-except Catching previously caught exception type ClientError
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:220:17: bad-whitespace Exactly one space required around assignment     argument_spec=dict(                  ^
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:248:16: bad-whitespace No space allowed after bracket     exit_args = { "changed": changed }                 ^
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:248:37: bad-whitespace No space allowed before bracket     exit_args = { "changed": changed }                                      ^

The test ansible-test sanity --test ansible-doc --python 2.6 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 1.
>>> Standard Error
ERROR! module aws_api_gateway_domain missing documentation (or could not parse documentation): mapping values are not allowed in this context
  in "<byte string>", line 35, column 32

The test ansible-test sanity --test ansible-doc --python 2.7 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 1.
>>> Standard Error
ERROR! module aws_api_gateway_domain missing documentation (or could not parse documentation): mapping values are not allowed in this context
  in "<byte string>", line 35, column 32

The test ansible-test sanity --test ansible-doc --python 3.5 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 1.
>>> Standard Error
ERROR! module aws_api_gateway_domain missing documentation (or could not parse documentation): mapping values are not allowed in this context
  in "<unicode string>", line 35, column 32

The test ansible-test sanity --test ansible-doc --python 3.6 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 1.
>>> Standard Error
ERROR! module aws_api_gateway_domain missing documentation (or could not parse documentation): mapping values are not allowed in this context
  in "<unicode string>", line 35, column 32

The test ansible-test sanity --test ansible-doc --python 3.7 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 1.
>>> Standard Error
ERROR! module aws_api_gateway_domain missing documentation (or could not parse documentation): mapping values are not allowed in this context
  in "<unicode string>", line 35, column 32

The test ansible-test sanity --test ansible-doc --python 3.8 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 1.
>>> Standard Error
ERROR! module aws_api_gateway_domain missing documentation (or could not parse documentation): mapping values are not allowed in this context
  in "<unicode string>", line 35, column 32

The test ansible-test sanity --test docs-build [explain] failed with the error:

Command "/usr/bin/python3.6 test/sanity/code-smell/docs-build.py" returned exit status 1.
>>> Standard Error
Command 'make singlehtmldocs' failed with status code: 2
--> Standard Output
PYTHONPATH=../../lib ../bin/dump_config.py --template-file=../templates/config.rst.j2 --output-dir=rst/reference_appendices/ -d ../../lib/ansible/config/base.yml
mkdir -p rst/cli
PYTHONPATH=../../lib ../bin/generate_man.py --template-file=../templates/cli_rst.j2 --output-dir=rst/cli/ --output-format rst ../../lib/ansible/cli/*.py
PYTHONPATH=../../lib ../bin/dump_keywords.py --template-dir=../templates --output-dir=rst/reference_appendices/ -d ./keyword_desc.yml
PYTHONPATH=../../lib ../bin/plugin_formatter.py -t rst --template-dir=../templates --module-dir=../../lib/ansible/modules -o rst/modules/ 
Evaluating module files...
Makefile:93: recipe for target 'modules' failed
--> Standard Error
Traceback (most recent call last):
  File "../bin/plugin_formatter.py", line 815, in <module>
    main()
  File "../bin/plugin_formatter.py", line 770, in main
    plugin_info, categories = get_plugin_info(options.module_dir, limit_to=options.limit_to, verbose=(options.verbosity > 0))
  File "../bin/plugin_formatter.py", line 300, in get_plugin_info
    doc, examples, returndocs, metadata = plugin_docs.get_docstring(module_path, fragment_loader, verbose=verbose)
  File "/root/ansible/lib/ansible/utils/plugin_docs.py", line 111, in get_docstring
    data = read_docstring(filename, verbose=verbose, ignore_errors=ignore_errors)
  File "/root/ansible/lib/ansible/parsing/plugin_docs.py", line 59, in read_docstring
    data[varkey] = AnsibleLoader(child.value.s, file_name=filename).get_single_data()
  File "/usr/local/lib/python3.6/dist-packages/yaml/constructor.py", line 41, in get_single_data
    node = self.get_single_node()
  File "ext/_yaml.pyx", line 707, in _yaml.CParser.get_single_node
  File "ext/_yaml.pyx", line 725, in _yaml.CParser._compose_document
  File "ext/_yaml.pyx", line 776, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 890, in _yaml.CParser._compose_mapping_node
  File "ext/_yaml.pyx", line 776, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 890, in _yaml.CParser._compose_mapping_node
  File "ext/_yaml.pyx", line 776, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 890, in _yaml.CParser._compose_mapping_node
  File "ext/_yaml.pyx", line 774, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 851, in _yaml.CParser._compose_sequence_node
  File "ext/_yaml.pyx", line 776, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 892, in _yaml.CParser._compose_mapping_node
  File "ext/_yaml.pyx", line 905, in _yaml.CParser._parse_next_event
yaml.scanner.ScannerError: mapping values are not allowed in this context
  in "<unicode string>", line 35, column 32
make: *** [modules] Error 1

The test ansible-test sanity --test pep8 [explain] failed with 4 errors:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:124:53: E261 at least two spaces before inline comment
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:220:18: E225 missing whitespace around operator
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:248:18: E201 whitespace after '{'
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:248:37: E202 whitespace before '}'

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

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E324 Argument 'endpoint_type' in argument_spec defines default as ('EDGE') but documentation defines default as (None)
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E324 Argument 'security_policy' in argument_spec defines default as ('TLS_1_2') but documentation defines default as (None)
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E324 Argument 'state' in argument_spec defines default as ('present') but documentation defines default as (None)
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E324 Argument 'validate_certs' in argument_spec defines default as (True) but documentation defines default as (False)
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E326 Argument 'endpoint_type' in argument_spec defines choices as (['EDGE', 'REGIONAL', 'PRIVATE']) but documentation defines choices as ([])
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E326 Argument 'security_policy' in argument_spec defines choices as (['TLS_1_0', 'TLS_1_2']) but documentation defines choices as ([])
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E326 Argument 'state' in argument_spec defines choices as (['present', 'absent']) but documentation defines choices as ([])
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'certificate_arn' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'debug_botocore_endpoint_logs' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'domain_mappings' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'domain_name' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'endpoint_type' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'security_policy' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'state' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'validate_certs' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E338 Argument 'aws_access_key' in argument_spec uses default type ('str') but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E338 Argument 'aws_secret_key' in argument_spec uses default type ('str') but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E338 Argument 'ec2_url' in argument_spec uses default type ('str') but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E338 Argument 'profile' in argument_spec uses default type ('str') but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E338 Argument 'region' in argument_spec uses default type ('str') but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E338 Argument 'security_token' in argument_spec uses default type ('str') but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:47:32: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:78:11: E311 EXAMPLES is not valid YAML
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:97:36: E313 RETURN is not valid YAML

The test ansible-test sanity --test yamllint [explain] failed with 3 errors:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:47:32: error DOCUMENTATION: syntax error: mapping values are not allowed here
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:78:11: error EXAMPLES: syntax error: could not find expected ':'
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:97:36: error RETURN: syntax error: expected ',' or '}', but got ':'

click here for bot help

@ansibot

This comment has been minimized.

Copy link
Contributor

commented Jul 4, 2019

The test ansible-test sanity --test pylint [explain] failed with 6 errors:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:127:12: duplicate-except Catching previously caught exception type ClientError
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:134:15: bad-whitespace Exactly one space required before assignment     domain_name= module.params.get('domain_name')                ^
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:179:7: unneeded-not Consider changing "not specified_domain_settings == existing_domain_settings" to "specified_domain_settings != existing_domain_settings"
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:270:17: bad-whitespace Exactly one space required around assignment     argument_spec=dict(                  ^
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:301:16: bad-whitespace No space allowed after bracket     exit_args = { "changed": changed }                 ^
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:301:37: bad-whitespace No space allowed before bracket     exit_args = { "changed": changed }                                      ^

The test ansible-test sanity --test ansible-doc --python 2.6 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 1.
>>> Standard Error
ERROR! module aws_api_gateway_domain missing documentation (or could not parse documentation): mapping values are not allowed in this context
  in "<byte string>", line 36, column 32

The test ansible-test sanity --test ansible-doc --python 2.7 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 1.
>>> Standard Error
ERROR! module aws_api_gateway_domain missing documentation (or could not parse documentation): mapping values are not allowed in this context
  in "<byte string>", line 36, column 32

The test ansible-test sanity --test ansible-doc --python 3.5 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 1.
>>> Standard Error
ERROR! module aws_api_gateway_domain missing documentation (or could not parse documentation): mapping values are not allowed in this context
  in "<unicode string>", line 36, column 32

The test ansible-test sanity --test ansible-doc --python 3.6 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 1.
>>> Standard Error
ERROR! module aws_api_gateway_domain missing documentation (or could not parse documentation): mapping values are not allowed in this context
  in "<unicode string>", line 36, column 32

The test ansible-test sanity --test ansible-doc --python 3.7 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 1.
>>> Standard Error
ERROR! module aws_api_gateway_domain missing documentation (or could not parse documentation): mapping values are not allowed in this context
  in "<unicode string>", line 36, column 32

The test ansible-test sanity --test ansible-doc --python 3.8 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 1.
>>> Standard Error
ERROR! module aws_api_gateway_domain missing documentation (or could not parse documentation): mapping values are not allowed in this context
  in "<unicode string>", line 36, column 32

The test ansible-test sanity --test docs-build [explain] failed with the error:

Command "/usr/bin/python3.6 test/sanity/code-smell/docs-build.py" returned exit status 1.
>>> Standard Error
Command 'make singlehtmldocs' failed with status code: 2
--> Standard Output
PYTHONPATH=../../lib ../bin/dump_config.py --template-file=../templates/config.rst.j2 --output-dir=rst/reference_appendices/ -d ../../lib/ansible/config/base.yml
mkdir -p rst/cli
PYTHONPATH=../../lib ../bin/generate_man.py --template-file=../templates/cli_rst.j2 --output-dir=rst/cli/ --output-format rst ../../lib/ansible/cli/*.py
PYTHONPATH=../../lib ../bin/dump_keywords.py --template-dir=../templates --output-dir=rst/reference_appendices/ -d ./keyword_desc.yml
PYTHONPATH=../../lib ../bin/plugin_formatter.py -t rst --template-dir=../templates --module-dir=../../lib/ansible/modules -o rst/modules/ 
Evaluating module files...
Makefile:93: recipe for target 'modules' failed
--> Standard Error
Traceback (most recent call last):
  File "../bin/plugin_formatter.py", line 815, in <module>
    main()
  File "../bin/plugin_formatter.py", line 770, in main
    plugin_info, categories = get_plugin_info(options.module_dir, limit_to=options.limit_to, verbose=(options.verbosity > 0))
  File "../bin/plugin_formatter.py", line 300, in get_plugin_info
    doc, examples, returndocs, metadata = plugin_docs.get_docstring(module_path, fragment_loader, verbose=verbose)
  File "/root/ansible/lib/ansible/utils/plugin_docs.py", line 111, in get_docstring
    data = read_docstring(filename, verbose=verbose, ignore_errors=ignore_errors)
  File "/root/ansible/lib/ansible/parsing/plugin_docs.py", line 59, in read_docstring
    data[varkey] = AnsibleLoader(child.value.s, file_name=filename).get_single_data()
  File "/usr/local/lib/python3.6/dist-packages/yaml/constructor.py", line 41, in get_single_data
    node = self.get_single_node()
  File "ext/_yaml.pyx", line 707, in _yaml.CParser.get_single_node
  File "ext/_yaml.pyx", line 725, in _yaml.CParser._compose_document
  File "ext/_yaml.pyx", line 776, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 890, in _yaml.CParser._compose_mapping_node
  File "ext/_yaml.pyx", line 776, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 890, in _yaml.CParser._compose_mapping_node
  File "ext/_yaml.pyx", line 776, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 890, in _yaml.CParser._compose_mapping_node
  File "ext/_yaml.pyx", line 774, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 851, in _yaml.CParser._compose_sequence_node
  File "ext/_yaml.pyx", line 776, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 892, in _yaml.CParser._compose_mapping_node
  File "ext/_yaml.pyx", line 905, in _yaml.CParser._parse_next_event
yaml.scanner.ScannerError: mapping values are not allowed in this context
  in "<unicode string>", line 36, column 32
make: *** [modules] Error 1

The test ansible-test sanity --test pep8 [explain] failed with 6 errors:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:48:161: E501 line too long (161 > 160 characters)
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:125:53: E261 at least two spaces before inline comment
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:134:16: E225 missing whitespace around operator
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:270:18: E225 missing whitespace around operator
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:301:18: E201 whitespace after '{'
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:301:37: E202 whitespace before '}'

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

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E324 Argument 'endpoint_type' in argument_spec defines default as ('EDGE') but documentation defines default as (None)
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E324 Argument 'security_policy' in argument_spec defines default as ('TLS_1_2') but documentation defines default as (None)
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E324 Argument 'state' in argument_spec defines default as ('present') but documentation defines default as (None)
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E324 Argument 'validate_certs' in argument_spec defines default as (True) but documentation defines default as (False)
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E326 Argument 'endpoint_type' in argument_spec defines choices as (['EDGE', 'REGIONAL', 'PRIVATE']) but documentation defines choices as ([])
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E326 Argument 'security_policy' in argument_spec defines choices as (['TLS_1_0', 'TLS_1_2']) but documentation defines choices as ([])
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E326 Argument 'state' in argument_spec defines choices as (['present', 'absent']) but documentation defines choices as ([])
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'certificate_arn' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'debug_botocore_endpoint_logs' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'domain_mappings' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'domain_name' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'endpoint_type' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'security_policy' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'state' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'validate_certs' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E338 Argument 'aws_access_key' in argument_spec uses default type ('str') but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E338 Argument 'aws_secret_key' in argument_spec uses default type ('str') but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E338 Argument 'ec2_url' in argument_spec uses default type ('str') but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E338 Argument 'profile' in argument_spec uses default type ('str') but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E338 Argument 'region' in argument_spec uses default type ('str') but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E338 Argument 'security_token' in argument_spec uses default type ('str') but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:48:32: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:79:11: E311 EXAMPLES is not valid YAML
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:98:36: E313 RETURN is not valid YAML

The test ansible-test sanity --test yamllint [explain] failed with 3 errors:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:48:32: error DOCUMENTATION: syntax error: mapping values are not allowed here
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:79:11: error EXAMPLES: syntax error: could not find expected ':'
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:98:36: error RETURN: syntax error: expected ',' or '}', but got ':'

click here for bot help

@ansibot

This comment has been minimized.

Copy link
Contributor

commented Jul 5, 2019

The test ansible-test sanity --test ansible-doc --python 2.6 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 250.
>>> Standard Error
ERROR! Unexpected Exception, this is probably a bug: expected string or buffer

The test ansible-test sanity --test ansible-doc --python 2.7 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 250.
>>> Standard Error
ERROR! Unexpected Exception, this is probably a bug: expected string or buffer

The test ansible-test sanity --test ansible-doc --python 3.5 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 250.
>>> Standard Error
ERROR! Unexpected Exception, this is probably a bug: expected string or bytes-like object

The test ansible-test sanity --test ansible-doc --python 3.6 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 250.
>>> Standard Error
ERROR! Unexpected Exception, this is probably a bug: expected string or bytes-like object

The test ansible-test sanity --test ansible-doc --python 3.7 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 250.
>>> Standard Error
ERROR! Unexpected Exception, this is probably a bug: expected string or bytes-like object

The test ansible-test sanity --test ansible-doc --python 3.8 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 250.
>>> Standard Error
ERROR! Unexpected Exception, this is probably a bug: expected string or bytes-like object

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

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E305 DOCUMENTATION.options.domain_mappings.description.1: expected str @ data['options']['domain_mappings']['description'][1]. Got {'domain_mappings should be a list of dictionaries containing three keys': 'base_path, rest_api_id and stage.'}
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'certificate_arn' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'domain_name' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'endpoint_type' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'security_policy' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'state' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:80:11: E311 EXAMPLES is not valid YAML
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:99:36: E313 RETURN is not valid YAML

The test ansible-test sanity --test yamllint [explain] failed with 2 errors:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:80:11: error EXAMPLES: syntax error: could not find expected ':'
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:99:36: error RETURN: syntax error: expected ',' or '}', but got ':'

click here for bot help

@stefanhorning stefanhorning changed the title New aws_api_gateway_domain module. WIP New aws_api_gateway_domain module Jul 5, 2019

@stefanhorning

This comment has been minimized.

Copy link
Contributor Author

commented Jul 5, 2019

Module seems to work now. Still need to add some integration tests though.

@ansibot

This comment has been minimized.

Copy link
Contributor

commented Jul 5, 2019

The test ansible-test sanity --test ansible-doc --python 2.6 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 250.
>>> Standard Error
ERROR! Unexpected Exception, this is probably a bug: expected string or buffer

The test ansible-test sanity --test ansible-doc --python 2.7 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 250.
>>> Standard Error
ERROR! Unexpected Exception, this is probably a bug: expected string or buffer

The test ansible-test sanity --test ansible-doc --python 3.5 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 250.
>>> Standard Error
ERROR! Unexpected Exception, this is probably a bug: expected string or bytes-like object

The test ansible-test sanity --test ansible-doc --python 3.6 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 250.
>>> Standard Error
ERROR! Unexpected Exception, this is probably a bug: expected string or bytes-like object

The test ansible-test sanity --test ansible-doc --python 3.7 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 250.
>>> Standard Error
ERROR! Unexpected Exception, this is probably a bug: expected string or bytes-like object

The test ansible-test sanity --test ansible-doc --python 3.8 [explain] failed with the error:

Command "ansible-doc -t module aws_api_gateway_domain" returned exit status 250.
>>> Standard Error
ERROR! Unexpected Exception, this is probably a bug: expected string or bytes-like object

The test ansible-test sanity --test pep8 [explain] failed with 1 error:

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:207:161: E501 line too long (161 > 160 characters)

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

lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E305 DOCUMENTATION.options.domain_mappings.description.1: expected str @ data['options']['domain_mappings']['description'][1]. Got {'domain_mappings should be a list of dictionaries containing three keys': 'base_path, rest_api_id and stage.'}
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'certificate_arn' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'domain_name' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'endpoint_type' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'security_policy' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/cloud/amazon/aws_api_gateway_domain.py:0:0: E337 Argument 'state' in argument_spec defines type as 'str' but documentation doesn't define type

click here for bot help

@ansibot

This comment has been minimized.

Copy link
Contributor

commented Jul 5, 2019

@BobBoldin @Constantin007 @Constantin07 @Deepakkothandan @Etherdaemon @Java1Guy @Madhura-CSI @MichaelBaydoun @Sodki @Zeekin @adq @akazakov @alachaum @amir343 @anryko @bekelchik @brandond @captainkerk @chenl87 @defionscode @defunctio @dennisconrad @dkhenry @fiunchinho @fivethreeo @flowerysong @garethr @gobins @gunzy83 @gurumaia @hsingh @hyperized @iiibrad @infectsoldier @j-carl @jarv @jimbydamonk @jmenga @joelthompson @jonhadfield @jonmer85 @joshsouza @jsdalton @jsmartin @kaczynskid @leedm777 @linuxdynasty @loia @lwade @michaeljs1990 @minichate @mjschultz @mmochan @nand0p @naslanidis @nathanwebsterdotme @nerzhul @nickball @orthanc @ozbillwang @piontas @pjodouin @prasadkatti @psykotox @ptux @pwnall @raags @rafaeldriutti @rickmendes @roadmapper @rrey @ruimoreira @ryansydnor @scicoin-project @scottanderson42 @sdubrul @shepdelacreme @silviud @slapula @steynovich @tastychutney @tgerla @timmahoney @tomislacker @tsiganenok @viper233 @whiter @willricardo @wilvk @wimnat @yaakov-github @zacblazic @zbal @zimbatm

As a maintainer of a module in the same namespace this new module has been submitted to, your vote counts for shipits. Please review this module and add shipit if you would like to see it merged.

click here for bot help

stefanhorning added some commits Jul 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.