Fuxi failed to build doc

Bug #1649401 reported by hongbin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuxi
Fix Released
Undecided
hongbin

Bug Description

$ tox -evenv -- python setup.py build_sphinx
venv create: /home/ubuntu/fuxi/.tox/venv
venv installdeps: -r/home/ubuntu/fuxi/test-requirements.txt
venv develop-inst: /home/ubuntu/fuxi
venv installed: appdirs==1.4.0,Babel==2.3.4,castellan==0.4.0,cffi==1.9.1,click==6.6,coverage==4.2,cryptography==1.7,debtcollector==1.10.0,docutils==0.13.1,enum-compat==0.0.2,enum34==1.1.6,eventlet==0.20.0,extras==1.0.0,fasteners==0.14.1,fixtures==3.0.0,flake8==2.2.4,Flask==0.11.1,funcsigs==1.0.2,-e git+https://github.com/openstack/fuxi.git@a5a2e030f73aad8b2db885815dc05f65949731e8#egg=fuxi,greenlet==0.4.11,hacking==0.10.2,idna==2.1,ipaddress==1.0.17,iso8601==0.1.11,itsdangerous==0.24,Jinja2==2.8,keystoneauth1==2.16.0,linecache2==1.0.0,MarkupSafe==0.23,mccabe==0.2.1,mock==2.0.0,monotonic==1.2,mox3==0.18.0,msgpack-python==0.4.8,netaddr==0.7.18,netifaces==0.10.5,os-brick==1.8.0,os-client-config==1.24.0,os-win==1.2.1,oslo.concurrency==3.16.0,oslo.config==3.21.0,oslo.context==2.11.0,oslo.i18n==3.11.0,oslo.log==3.19.0,oslo.policy==1.17.0,oslo.privsep==1.15.0,oslo.rootwrap==5.3.0,oslo.serialization==2.15.0,oslo.service==1.18.0,oslo.utils==3.20.0,oslosphinx==4.9.0,oslotest==2.12.0,Paste==2.0.3,PasteDeploy==1.5.2,pbr==1.10.0,pep8==1.5.7,positional==1.1.1,prettytable==0.7.2,pyasn1==0.1.9,pycparser==2.17,pyflakes==0.8.1,Pygments==2.1.3,pyinotify==0.9.6,pyparsing==2.1.10,python-cinderclient==1.9.0,python-dateutil==2.6.0,python-keystoneclient==3.8.0,python-mimeparse==1.6.0,python-novaclient==6.0.0,python-subunit==1.2.0,pytz==2016.10,PyYAML==3.12,repoze.lru==0.6,requests==2.12.3,requestsexceptions==1.1.3,retrying==1.3.3,rfc3986==0.4.1,Routes==2.3.1,simplejson==3.10.0,six==1.10.0,Sphinx==1.2.3,stevedore==1.19.1,testrepository==0.0.20,testscenarios==0.5.0,testtools==2.2.0,traceback2==1.4.0,unittest2==1.1.0,WebOb==1.6.3,Werkzeug==0.11.11,wrapt==1.10.8
venv runtests: PYTHONHASHSEED='2892477592'
venv runtests: commands[0] | python setup.py build_sphinx
running build_sphinx
creating /home/ubuntu/fuxi/doc/build
creating /home/ubuntu/fuxi/doc/build/doctrees
creating /home/ubuntu/fuxi/doc/build/html
[pbr] Writing ChangeLog
[pbr] Generating ChangeLog
[pbr] ChangeLog complete (0.0s)
[pbr] Generating AUTHORS
[pbr] AUTHORS complete (0.0s)
Running Sphinx v1.2.3
loading pickled environment... not yet created
Using openstack theme from /home/ubuntu/fuxi/.tox/venv/local/lib/python2.7/site-packages/oslosphinx/theme
building [html]: all source files
updating environment: 5 added, 0 changed, 0 removed
reading sources... [ 20%] contributing
reading sources... [ 40%] index
reading sources... [ 60%] installation
reading sources... [ 80%] readme
reading sources... [100%] usage

README.rst:None: WARNING: nonlocal image URI found: http://governance.openstack.org/badges/fuxi.svg
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [ 20%] contributing
writing output... [ 40%] index
writing output... [ 60%] installation
writing output... [ 80%] readme
Traceback (most recent call last):
  File "setup.py", line 29, in <module>
    pbr=True)
  File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/ubuntu/fuxi/.tox/venv/local/lib/python2.7/site-packages/pbr/builddoc.py", line 198, in run
    setup_command.BuildDoc.run(self)
  File "/home/ubuntu/fuxi/.tox/venv/local/lib/python2.7/site-packages/sphinx/setup_command.py", line 161, in run
    app.build(force_all=self.all_files)
  File "/home/ubuntu/fuxi/.tox/venv/local/lib/python2.7/site-packages/sphinx/application.py", line 216, in build
    self.builder.build_all()
  File "/home/ubuntu/fuxi/.tox/venv/local/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 177, in build_all
    self.build(None, summary='all source files', method='all')
  File "/home/ubuntu/fuxi/.tox/venv/local/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 276, in build
    self.write(docnames, list(updated_docnames), method)
  File "/home/ubuntu/fuxi/.tox/venv/local/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 320, in write
    self._write_serial(sorted(docnames), warnings)
  File "/home/ubuntu/fuxi/.tox/venv/local/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 333, in _write_serial
    self.write_doc(docname, doctree)
  File "/home/ubuntu/fuxi/.tox/venv/local/lib/python2.7/site-packages/sphinx/builders/html.py", line 433, in write_doc
    self.docwriter.write(doctree, destination)
  File "/home/ubuntu/fuxi/.tox/venv/local/lib/python2.7/site-packages/docutils/writers/__init__.py", line 80, in write
    self.translate()
  File "/home/ubuntu/fuxi/.tox/venv/local/lib/python2.7/site-packages/sphinx/writers/html.py", line 51, in translate
    self.document.walkabout(visitor)
  File "/home/ubuntu/fuxi/.tox/venv/local/lib/python2.7/site-packages/docutils/nodes.py", line 187, in walkabout
    visitor.dispatch_departure(self)
  File "/home/ubuntu/fuxi/.tox/venv/local/lib/python2.7/site-packages/docutils/nodes.py", line 1895, in dispatch_departure
    return method(node)
  File "/home/ubuntu/fuxi/.tox/venv/local/lib/python2.7/site-packages/docutils/writers/_html_base.py", line 671, in depart_document
    assert not self.context, 'len(context) = %s' % len(self.context)
AssertionError: len(context) = 1
ERROR: InvocationError: '/home/ubuntu/fuxi/.tox/venv/bin/python setup.py build_sphinx'
__________________________________________________________________________________________________________________ summary __________________________________________________________________________________________________________________
ERROR: venv: commands failed

hongbin (hongbin034)
Changed in fuxi:
assignee: nobody → hongbin (hongbin034)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuxi (master)

Fix proposed to branch: master
Review: https://review.openstack.org/409939

Changed in fuxi:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuxi (master)

Reviewed: https://review.openstack.org/409939
Committed: https://git.openstack.org/cgit/openstack/fuxi/commit/?id=f1990bc49370f5bffd6b69ba42b94807aa9833ec
Submitter: Jenkins
Branch: master

commit f1990bc49370f5bffd6b69ba42b94807aa9833ec
Author: Hongbin Lu <email address hidden>
Date: Mon Dec 12 15:32:08 2016 -0600

    Add the remote tag to the badge image

    Latest docutils complains about images that are not in the same repo
    unless they are properly marked as `:remote:`.

    See: http://lists.openstack.org/pipermail/openstack-dev/2016-December
    /108710.html

    Change-Id: I9bf03bca034924c29fb14e52a15dd7807e607872
    Closes-Bug: #1649401

Changed in fuxi:
status: In Progress → Fix Released
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.