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

Curate the virtual network facts module #50311

Merged
merged 8 commits into from Jan 10, 2019

Conversation

Projects
None yet
6 participants
@yuwzho
Copy link
Contributor

yuwzho commented Dec 26, 2018

SUMMARY

fix #49885

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

azure_rm_virtualnetwork_facts

ADDITIONAL INFORMATION
2.7.0
@ansibot

This comment has been minimized.

@ansibot

This comment has been minimized.

Copy link
Contributor

ansibot commented Dec 26, 2018

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

Command "/usr/bin/python test/sanity/code-smell/docs-build.py" returned exit status 1.
>>> Standard Error
Command 'make singlehtmldocs' failed with status code: 2
--> Standard Output
cat _themes/srtd/static/css/theme.css | sed -e 's/^[ 	]*//g; s/[ 	]*$//g; s/\([:{;,]\) /\1/g; s/ {/{/g; s/\/\*.*\*\///g; /^$/d' | sed -e :a -e '$!N; s/\n\(.\)/\1/; ta' > _themes/srtd/static/css/theme.min.css
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...
rendering: azure_rm_virtualmachine (1631 previous rendering line(s) omitted)
Makefile:93: recipe for target 'modules' failed
--> Standard Error
Traceback (most recent call last):
  File "../bin/plugin_formatter.py", line 754, in <module>
    main()
  File "../bin/plugin_formatter.py", line 741, in main
    process_plugins(plugin_info, templates, outputname, output_dir, options.ansible_version, plugin_type)
  File "../bin/plugin_formatter.py", line 552, in process_plugins
    text = templates['plugin'].render(doc)
  File "/usr/local/lib/python3.6/dist-packages/jinja2/asyncsupport.py", line 76, in render
    return original_render(self, *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/jinja2/environment.py", line 1008, in render
    return self.environment.handle_exception(exc_info, True)
  File "/usr/local/lib/python3.6/dist-packages/jinja2/environment.py", line 780, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.6/dist-packages/jinja2/_compat.py", line 37, in reraise
    raise value.with_traceback(tb)
  File "../templates/plugin.rst.j2", line 363, in top-level template code
    {% for key, value in returndocs|dictsort recursive %}
  File "../templates/plugin.rst.j2", line 397, in template
    @{ loop(value.contains.items()) }@
  File "../templates/plugin.rst.j2", line 397, in template
    @{ loop(value.contains.items()) }@
  File "../templates/plugin.rst.j2", line 378, in template
    {% for desc in value.description %}
TypeError: 'NoneType' object is not iterable
make: *** [modules] Error 1

click here for bot help

@Fred-sun

This comment has been minimized.

Copy link
Contributor

Fred-sun commented Dec 27, 2018

@ansibot ansibot removed the needs_triage label Jan 2, 2019

@ansibot

This comment has been minimized.

Copy link
Contributor

ansibot commented Jan 3, 2019

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

Command "/usr/bin/python test/sanity/code-smell/docs-build.py" returned exit status 1.
>>> Standard Error
Command 'make singlehtmldocs' failed with status code: 2
--> Standard Output
cat _themes/srtd/static/css/theme.css | sed -e 's/^[ 	]*//g; s/[ 	]*$//g; s/\([:{;,]\) /\1/g; s/ {/{/g; s/\/\*.*\*\///g; /^$/d' | sed -e :a -e '$!N; s/\n\(.\)/\1/; ta' > _themes/srtd/static/css/theme.min.css
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...
rendering: azure_rm_virtualmachine (1635 previous rendering line(s) omitted)
Makefile:93: recipe for target 'modules' failed
--> Standard Error
Traceback (most recent call last):
  File "../bin/plugin_formatter.py", line 754, in <module>
    main()
  File "../bin/plugin_formatter.py", line 741, in main
    process_plugins(plugin_info, templates, outputname, output_dir, options.ansible_version, plugin_type)
  File "../bin/plugin_formatter.py", line 552, in process_plugins
    text = templates['plugin'].render(doc)
  File "/usr/local/lib/python3.6/dist-packages/jinja2/asyncsupport.py", line 76, in render
    return original_render(self, *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/jinja2/environment.py", line 1008, in render
    return self.environment.handle_exception(exc_info, True)
  File "/usr/local/lib/python3.6/dist-packages/jinja2/environment.py", line 780, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.6/dist-packages/jinja2/_compat.py", line 37, in reraise
    raise value.with_traceback(tb)
  File "../templates/plugin.rst.j2", line 363, in top-level template code
    {% for key, value in returndocs|dictsort recursive %}
  File "../templates/plugin.rst.j2", line 397, in template
    @{ loop(value.contains|dictsort) }@
  File "../templates/plugin.rst.j2", line 397, in template
    @{ loop(value.contains|dictsort) }@
  File "../templates/plugin.rst.j2", line 378, in template
    {% for desc in value.description %}
TypeError: 'NoneType' object is not iterable
make: *** [modules] Error 1

click here for bot help

@mattclay mattclay added the ci_verified label Jan 7, 2019

@ansibot

This comment has been minimized.

Copy link
Contributor

ansibot commented Jan 7, 2019

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

Command "/usr/bin/python test/sanity/code-smell/docs-build.py" returned exit status 1.
>>> Standard Error
Command 'make singlehtmldocs' failed with status code: 2
--> Standard Output
cat _themes/srtd/static/css/theme.css | sed -e 's/^[ 	]*//g; s/[ 	]*$//g; s/\([:{;,]\) /\1/g; s/ {/{/g; s/\/\*.*\*\///g; /^$/d' | sed -e :a -e '$!N; s/\n\(.\)/\1/; ta' > _themes/srtd/static/css/theme.min.css
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...
rendering: azure_rm_virtualmachine (1642 previous rendering line(s) omitted)
Makefile:93: recipe for target 'modules' failed
--> Standard Error
Traceback (most recent call last):
  File "../bin/plugin_formatter.py", line 754, in <module>
    main()
  File "../bin/plugin_formatter.py", line 741, in main
    process_plugins(plugin_info, templates, outputname, output_dir, options.ansible_version, plugin_type)
  File "../bin/plugin_formatter.py", line 552, in process_plugins
    text = templates['plugin'].render(doc)
  File "/usr/local/lib/python3.6/dist-packages/jinja2/asyncsupport.py", line 76, in render
    return original_render(self, *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/jinja2/environment.py", line 1008, in render
    return self.environment.handle_exception(exc_info, True)
  File "/usr/local/lib/python3.6/dist-packages/jinja2/environment.py", line 780, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.6/dist-packages/jinja2/_compat.py", line 37, in reraise
    raise value.with_traceback(tb)
  File "../templates/plugin.rst.j2", line 363, in top-level template code
    {% for key, value in returndocs|dictsort recursive %}
  File "../templates/plugin.rst.j2", line 397, in template
    @{ loop(value.contains|dictsort) }@
  File "../templates/plugin.rst.j2", line 397, in template
    @{ loop(value.contains|dictsort) }@
  File "../templates/plugin.rst.j2", line 378, in template
    {% for desc in value.description %}
TypeError: 'NoneType' object is not iterable
make: *** [modules] Error 1

click here for bot help

yuwzho added some commits Jan 8, 2019

@Fred-sun

This comment has been minimized.

Copy link
Contributor

Fred-sun commented Jan 10, 2019

@yungezz

This comment has been minimized.

Copy link
Contributor

yungezz commented Jan 10, 2019

shipit

@yungezz yungezz merged commit 07c6ce2 into ansible:devel Jan 10, 2019

1 check passed

Shippable Run 101493 status is SUCCESS.
Details

@yungezz yungezz deleted the VSChina:yuwzho-vn branch Jan 10, 2019

kbreit added a commit to kbreit/ansible that referenced this pull request Jan 11, 2019

knumskull added a commit to knumskull/ansible that referenced this pull request Jan 21, 2019

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