← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1401600] [NEW] docs build fails for nova-specs

 

Public bug reported:

I just cloned nova-specs and ran 'tox -e docs', I'm on Ubuntu Trusty
14.04 (no devstack), it fails with this:

mriedem@ubuntu:~/git/nova-specs$ git checkout master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
mriedem@ubuntu:~/git/nova-specs$ tox -e docs
docs develop-inst-nodeps: /home/mriedem/git/nova-specs
docs runtests: PYTHONHASHSEED='2805332766'
docs runtests: commands[0] | python setup.py build_sphinx
running build_sphinx
Running Sphinx v1.1.3
loading pickled environment... not yet created
Using openstack theme from /home/mriedem/git/nova-specs/.tox/docs/local/lib/python2.7/site-packages/oslosphinx/theme
building [html]: all source files
updating environment: 7 added, 0 changed, 0 removed
reading sources... [100%] specs/kilo/template                                                                                                                                                  
scanning /home/mriedem/git/nova-specs/doc/source for redirects...
   found redirects at /home/mriedem/git/nova-specs/doc/source/specs/kilo/redirects
Traceback (most recent call last):
  File "setup.py", line 22, 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/mriedem/git/nova-specs/.tox/docs/local/lib/python2.7/site-packages/pbr/packaging.py", line 754, in run
    self._sphinx_run()
  File "/home/mriedem/git/nova-specs/.tox/docs/local/lib/python2.7/site-packages/pbr/packaging.py", line 715, in _sphinx_run
    app.build(force_all=self.all_files)
  File "/home/mriedem/git/nova-specs/.tox/docs/local/lib/python2.7/site-packages/sphinx/application.py", line 206, in build
    self.emit('build-finished', err)
  File "/home/mriedem/git/nova-specs/.tox/docs/local/lib/python2.7/site-packages/sphinx/application.py", line 314, in emit
    results.append(callback(self, *args))
  File "/home/mriedem/git/nova-specs/doc/source/redirect.py", line 49, in emit_redirects
    process_directory(app.builder.srcdir)
  File "/home/mriedem/git/nova-specs/doc/source/redirect.py", line 44, in process_directory
    process_directory(p)
  File "/home/mriedem/git/nova-specs/doc/source/redirect.py", line 44, in process_directory
    process_directory(p)
  File "/home/mriedem/git/nova-specs/doc/source/redirect.py", line 47, in process_directory
    process_redirect_file(app, path, ent)
  File "/home/mriedem/git/nova-specs/doc/source/redirect.py", line 23, in process_redirect_file
    from_path, to_path = line.rstrip().split(' ')
ValueError: need more than 1 value to unpack
ERROR: InvocationError: '/home/mriedem/git/nova-specs/.tox/docs/bin/python setup.py build_sphinx'
___________________________________________________________________________________________ summary ___________________________________________________________________________________________
ERROR:   docs: commands failed


My virtualenv pip freeze output looks the same as what's in community
runs:

(docs)mriedem@ubuntu:~/git/nova-specs$ pip freeze
Jinja2==2.7.3
MarkupSafe==0.23
Pygments==2.0.1
Sphinx==1.1.3
argparse==1.2.1
cssselect==0.9.1
docutils==0.12
extras==0.0.3
feedformatter==0.4
fixtures==1.0.0
lxml==3.4.1
-e git://git.openstack.org/openstack/nova-specs@ea08644e90efb680f1eeba5731d01315b12e8d6f#egg=nova_specs-bp/db2-database
oslosphinx==2.3.0
pbr==0.10.0
pyquery==1.2.9
python-mimeparse==0.1.4
python-subunit==1.0.0
six==1.8.0
testrepository==0.0.20
testtools==1.5.0
unittest2==0.8.0
wsgiref==0.1.2
yasfb==0.5.1
(docs)mriedem@ubuntu:~/git/nova-specs$ 


http://logs.openstack.org/87/136487/6/check/gate-nova-specs-python27/d617099/console.html#_2014-12-11_16_08_01_111

I'm assuming I'm missing some native site-package dependency, like
sphinxcontrib or something, but I'd think that should be called out
somewhere if it's needed to build docs.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1401600

Title:
  docs build fails for nova-specs

Status in OpenStack Compute (Nova):
  New

Bug description:
  I just cloned nova-specs and ran 'tox -e docs', I'm on Ubuntu Trusty
  14.04 (no devstack), it fails with this:

  mriedem@ubuntu:~/git/nova-specs$ git checkout master
  Switched to branch 'master'
  Your branch is up-to-date with 'origin/master'.
  mriedem@ubuntu:~/git/nova-specs$ tox -e docs
  docs develop-inst-nodeps: /home/mriedem/git/nova-specs
  docs runtests: PYTHONHASHSEED='2805332766'
  docs runtests: commands[0] | python setup.py build_sphinx
  running build_sphinx
  Running Sphinx v1.1.3
  loading pickled environment... not yet created
  Using openstack theme from /home/mriedem/git/nova-specs/.tox/docs/local/lib/python2.7/site-packages/oslosphinx/theme
  building [html]: all source files
  updating environment: 7 added, 0 changed, 0 removed
  reading sources... [100%] specs/kilo/template                                                                                                                                                  
  scanning /home/mriedem/git/nova-specs/doc/source for redirects...
     found redirects at /home/mriedem/git/nova-specs/doc/source/specs/kilo/redirects
  Traceback (most recent call last):
    File "setup.py", line 22, 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/mriedem/git/nova-specs/.tox/docs/local/lib/python2.7/site-packages/pbr/packaging.py", line 754, in run
      self._sphinx_run()
    File "/home/mriedem/git/nova-specs/.tox/docs/local/lib/python2.7/site-packages/pbr/packaging.py", line 715, in _sphinx_run
      app.build(force_all=self.all_files)
    File "/home/mriedem/git/nova-specs/.tox/docs/local/lib/python2.7/site-packages/sphinx/application.py", line 206, in build
      self.emit('build-finished', err)
    File "/home/mriedem/git/nova-specs/.tox/docs/local/lib/python2.7/site-packages/sphinx/application.py", line 314, in emit
      results.append(callback(self, *args))
    File "/home/mriedem/git/nova-specs/doc/source/redirect.py", line 49, in emit_redirects
      process_directory(app.builder.srcdir)
    File "/home/mriedem/git/nova-specs/doc/source/redirect.py", line 44, in process_directory
      process_directory(p)
    File "/home/mriedem/git/nova-specs/doc/source/redirect.py", line 44, in process_directory
      process_directory(p)
    File "/home/mriedem/git/nova-specs/doc/source/redirect.py", line 47, in process_directory
      process_redirect_file(app, path, ent)
    File "/home/mriedem/git/nova-specs/doc/source/redirect.py", line 23, in process_redirect_file
      from_path, to_path = line.rstrip().split(' ')
  ValueError: need more than 1 value to unpack
  ERROR: InvocationError: '/home/mriedem/git/nova-specs/.tox/docs/bin/python setup.py build_sphinx'
  ___________________________________________________________________________________________ summary ___________________________________________________________________________________________
  ERROR:   docs: commands failed


  My virtualenv pip freeze output looks the same as what's in community
  runs:

  (docs)mriedem@ubuntu:~/git/nova-specs$ pip freeze
  Jinja2==2.7.3
  MarkupSafe==0.23
  Pygments==2.0.1
  Sphinx==1.1.3
  argparse==1.2.1
  cssselect==0.9.1
  docutils==0.12
  extras==0.0.3
  feedformatter==0.4
  fixtures==1.0.0
  lxml==3.4.1
  -e git://git.openstack.org/openstack/nova-specs@ea08644e90efb680f1eeba5731d01315b12e8d6f#egg=nova_specs-bp/db2-database
  oslosphinx==2.3.0
  pbr==0.10.0
  pyquery==1.2.9
  python-mimeparse==0.1.4
  python-subunit==1.0.0
  six==1.8.0
  testrepository==0.0.20
  testtools==1.5.0
  unittest2==0.8.0
  wsgiref==0.1.2
  yasfb==0.5.1
  (docs)mriedem@ubuntu:~/git/nova-specs$ 

  
  http://logs.openstack.org/87/136487/6/check/gate-nova-specs-python27/d617099/console.html#_2014-12-11_16_08_01_111

  I'm assuming I'm missing some native site-package dependency, like
  sphinxcontrib or something, but I'd think that should be called out
  somewhere if it's needed to build docs.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1401600/+subscriptions


Follow ups

References