After https://review.opendev.org/759015 merged the tripleo-ansible master branch fails on 'tox -e docs' with
docs run-test: commands[1] | sphinx-build -a -E -W -d doc/build/doctrees --keep-going -b html doc/source doc/build/html -T
Running Sphinx v3.3.1
[openstackdocstheme] version: 2.2.7
[openstackdocstheme] connecting html-page-context event handler
[openstackdocstheme] using theme from /home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/openstackdocstheme/theme
building [mo]: all of 0 po files
building [html]: all source files
updating environment: [new config] 101 added, 0 changed, 0 removed
reading sources... [ 7%] modules/modules-podman_container
Traceback (most recent call last):
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/sphinx/cmd/build.py", line 280, in build_main
app.build(args.force_all, filenames)
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/sphinx/application.py", line 346, in build
self.builder.build_all()
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/sphinx/builders/__init__.py", line 260, in build_all
self.build(None, summary=__('all source files'), method='all')
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/sphinx/builders/__init__.py", line 311, in build
updated_docnames = set(self.read())
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/sphinx/builders/__init__.py", line 418, in read
self._read_serial(docnames)
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/sphinx/builders/__init__.py", line 439, in _read_serial
self.read_doc(docname)
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/sphinx/builders/__init__.py", line 479, in read_doc
doctree = read_doc(self.app, self.env, self.env.doc2path(docname))
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/sphinx/io.py", line 223, in read_doc
pub.publish()
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/docutils/core.py", line 217, in publish
self.settings)
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/sphinx/io.py", line 128, in read
self.parse()
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/docutils/readers/__init__.py", line 77, in parse
self.parser.parse(self.input, document)
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/sphinx/parsers.py", line 102, in parse
self.statemachine.run(inputlines, document, inliner=self.inliner)
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 171, in run
input_source=document['source'])
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/docutils/statemachine.py", line 239, in run
context, state, transitions)
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/docutils/statemachine.py", line 460, in check_line
return method(match, context, next_state)
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 3007, in text
self.section(title.lstrip(), source, style, lineno + 1, messages)
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 327, in section
self.new_subsection(title, lineno, messages)
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 395, in new_subsection
node=section_node, match_titles=True)
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 282, in nested_parse
node=node, match_titles=match_titles)
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 196, in run
results = StateMachineWS.run(self, input_lines, input_offset)
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/docutils/statemachine.py", line 239, in run
context, state, transitions)
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/docutils/statemachine.py", line 460, in check_line
return method(match, context, next_state)
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 2344, in explicit_markup
nodelist, blank_finish = self.explicit_construct(match)
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 2356, in explicit_construct
return method(self, expmatch)
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 2099, in directive
directive_class, match, type_name, option_presets)
File "/home/stack/test/tripleo-ansible/.tox/docs/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 2148, in run_directive
result = directive_instance.run()
File "/home/stack/test/tripleo-ansible/doc/source/_exts/ansible-autodoc.py", line 368, in run
module = self.load_module(filename=self.options['module'])
File "/home/stack/test/tripleo-ansible/doc/source/_exts/ansible-autodoc.py", line 137, in load_module
return imp.load_source('__ansible_module__', filename)
File "/usr/lib64/python3.6/imp.py", line 170, in load_source
module = _exec(spec, sys.modules[name])
File "<frozen importlib._bootstrap>", line 618, in _exec
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "tripleo_ansible/ansible_plugins/modules/podman_container.py", line 885, in <module>
from ..module_utils.podman.podman_container_lib import PodmanManager # noqa: F402
ImportError: attempted relative import with no known parent package
Exception occurred:
File "tripleo_ansible/ansible_plugins/modules/podman_container.py", line 885, in <module>
from ..module_utils.podman.podman_container_lib import PodmanManager # noqa: F402
ImportError: attempted relative import with no known parent package
The full traceback has been saved in /tmp/sphinx-err-lml1gybk.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
ERROR: InvocationError for command /home/stack/test/tripleo-ansible/.tox/docs/bin/sphinx-build -a -E -W -d doc/build/doctrees --keep-going -b html doc/source doc/build/html -T (exited with code 2)
___________________________________________ summary ___________________________________________
ERROR: docs: commands failed
(undercloud) [CentOS-8.3 - stack@undercloud tripleo-ansible]$
https:/ /zuul.opendev. org/t/openstack /build/ 4a8f49449f6a492 9b8d02ddbe8de1b a8