the docs build job failed

Bug #1849990 reported by hongbin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zun UI
Fix Released
Critical
hongbin

Bug Description

The docs build job failed with the following error (
example: https://zuul.opendev.org/t/openstack/build/abfed232826944c3a206ffa2af0832ad):

Using openstackdocstheme Sphinx theme from /home/zuul/src/opendev.org/openstack/zun-ui/.tox/docs/lib/python3.6/site-packages/openstackdocstheme/theme
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 5 source files that are out of date
updating environment: [new config] 16 added, 0 changed, 0 removed
reading sources... [ 6%] configuration/index
reading sources... [ 12%] contributor/api
reading sources... [ 18%] contributor/api/modules
reading sources... [ 25%] contributor/api/zun_ui
reading sources... [ 31%] contributor/api/zun_ui.api
reading sources... [ 37%] contributor/api/zun_ui.content
reading sources... [ 43%] contributor/api/zun_ui.content.cloud_shell
reading sources... [ 50%] contributor/api/zun_ui.content.container
reading sources... [ 56%] contributor/api/zun_ui.content.container.capsules
reading sources... [ 62%] contributor/api/zun_ui.content.container.containers
reading sources... [ 68%] contributor/api/zun_ui.content.container.hosts
reading sources... [ 75%] contributor/api/zun_ui.content.container.images
reading sources... [ 81%] contributor/api/zun_ui.enabled
reading sources... [ 87%] contributor/index
reading sources... [ 93%] index
reading sources... [100%] install/index

/home/zuul/src/opendev.org/openstack/zun-ui/.tox/docs/lib/python3.6/site-packages/setuptools/depends.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp

Warning, treated as error:
autodoc: failed to import module 'client' from module 'zun_ui.api'; the following exception was raised:
cannot import name 'list_extensions'
ERROR: InvocationError for command /home/zuul/src/opendev.org/openstack/zun-ui/.tox/docs/bin/sphinx-build -W -b html doc/source doc/build/html (exited with code 2)

hongbin (hongbin034)
Changed in zun-ui:
status: New → Triaged
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zun-ui (master)

Fix proposed to branch: master
Review: https://review.opendev.org/691490

Changed in zun-ui:
assignee: nobody → hongbin (hongbin034)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zun-ui (master)

Reviewed: https://review.opendev.org/691490
Committed: https://git.openstack.org/cgit/openstack/zun-ui/commit/?id=a2d9d35b3b772055aa3375496a174b475e0c62db
Submitter: Zuul
Branch: master

commit a2d9d35b3b772055aa3375496a174b475e0c62db
Author: Hongbin Lu <email address hidden>
Date: Sat Oct 26 20:32:00 2019 +0000

    Disable auto-generate API docs

    First, the autodoc build is failing. Second, zun-ui is a horizon
    plugin so auto-generated api docs don't seem to have much value.
    This commit removes autodoc extension which basically stops
    auto-generated API docs.

    Change-Id: I3687a2b46fa524bb902bf8031c4d77945fb0c216
    Closes-Bug: #1849990

Changed in zun-ui:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zun-ui (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/691493

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zun-ui (stable/train)

Reviewed: https://review.opendev.org/691493
Committed: https://git.openstack.org/cgit/openstack/zun-ui/commit/?id=7ae5b1132360145e9464e6dd7b1d21a99261d420
Submitter: Zuul
Branch: stable/train

commit 7ae5b1132360145e9464e6dd7b1d21a99261d420
Author: Hongbin Lu <email address hidden>
Date: Sat Oct 26 20:32:00 2019 +0000

    Disable auto-generate API docs

    First, the autodoc build is failing. Second, zun-ui is a horizon
    plugin so auto-generated api docs don't seem to have much value.
    This commit removes autodoc extension which basically stops
    auto-generated API docs.

    Change-Id: I3687a2b46fa524bb902bf8031c4d77945fb0c216
    Closes-Bug: #1849990
    (cherry picked from commit a2d9d35b3b772055aa3375496a174b475e0c62db)

tags: added: in-stable-train
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.