← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1286170] Re: build keystone doc failed in osee-icehouse

 

** Changed in: keystone
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1286170

Title:
  build keystone doc failed in icehouse after 2/26

Status in OpenStack Identity (Keystone):
  New

Bug description:
  Our env is python 2.6 and sphinx 1.2

  We hit one problem for build icehouse keystone doc

  We can not build docs when run python setup.py build_sphinx.

  [xugang@esbld9 openstack-keystone-2014.1]$ python setup.py build_sphinx -b man
  /usr/lib/python2.6/site-packages/nose/plugins/manager.py:395: RuntimeWarning: Unable to load plugin nosexunit = nosexunit.plugin:NoseXUnit: (coverage 3.6 (/usr/lib64/python2.6/site-packages), Requirement.parse('coverage==2.85'))
    RuntimeWarning)
  running build_sphinx
  creating /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/build/man
  Running Sphinx v1.2.1
  loading pickled environment... not yet created
  Using openstack theme from /usr/lib/python2.6/site-packages/oslosphinx/theme
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.assignment.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.assignment.backends.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.auth.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.auth.plugins.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.catalog.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.catalog.backends.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.common.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.common.cache.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.common.cache.backends.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.common.environment.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.common.kvs.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.common.kvs.backends.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.common.ldap.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.common.sql.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.common.sql.migrate_repo.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.common.sql.migrate_repo.versions.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.access.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.admin_crud.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.ec2.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.endpoint_filter.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.endpoint_filter.backends.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.endpoint_filter.migrate_repo.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.endpoint_filter.migrate_repo.versions.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.example.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.example.migrate_repo.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.example.migrate_repo.versions.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.federation.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.federation.backends.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.federation.migrate_repo.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.federation.migrate_repo.versions.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.kds.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.kds.api.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.kds.api.v1.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.kds.api.v1.controllers.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.kds.cli.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.kds.common.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.kds.db.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.kds.db.kvs.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.kds.db.sqlalchemy.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.kds.db.sqlalchemy.migrate_repo.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.kds.db.sqlalchemy.migrate_repo.versions.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.oauth1.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.oauth1.backends.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.oauth1.migrate_repo.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.oauth1.migrate_repo.versions.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.s3.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.simple_cert.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.stats.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.stats.backends.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.contrib.user_crud.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.credential.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.credential.backends.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.identity.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.identity.backends.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.middleware.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.openstack.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.openstack.common.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.openstack.common.config.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.openstack.common.crypto.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.openstack.common.db.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.openstack.common.db.sqlalchemy.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.openstack.common.fixture.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.openstack.common.py3kcompat.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.policy.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.policy.backends.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.tests.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.tests.contrib.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.tests.contrib.kds.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.tests.contrib.kds.api.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.tests.contrib.kds.api.v1.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.tests.contrib.kds.db.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.tests.contrib.kds.fixture.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.tests.fixtures.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.tests.unit.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.tests.unit.common.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.tests.unit.identity.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.token.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.token.backends.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.token.providers.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.trust.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.trust.backends.rst.
  Creating file /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/modules.rst.
  building [html]: all source files
  updating environment: 333 added, 0 changed, 0 removed
  reading sources... [100%] setup                                                                                                                
  Traceback (most recent call last):
    File "setup.py", line 21, in <module>
      pbr=True)
    File "/usr/lib64/python2.6/distutils/core.py", line 152, in setup
      dist.run_commands()
    File "/usr/lib64/python2.6/distutils/dist.py", line 975, in run_commands
      self.run_command(cmd)
    File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
      cmd_obj.run()
    File "/usr/lib/python2.6/site-packages/pbr/packaging.py", line 756, in run
      self._sphinx_run()
    File "/usr/lib/python2.6/site-packages/pbr/packaging.py", line 717, in _sphinx_run
      app.build(force_all=self.all_files)
    File "/usr/lib/python2.6/site-packages/sphinx/application.py", line 208, in build
      self.builder.build_all()
    File "/usr/lib/python2.6/site-packages/sphinx/builders/__init__.py", line 177, in build_all
      self.build(None, summary='all source files', method='all')
    File "/usr/lib/python2.6/site-packages/sphinx/builders/__init__.py", line 239, in build
      self.warn(*warning)
    File "/usr/lib/python2.6/site-packages/sphinx/application.py", line 247, in warn
      raise SphinxWarning(warntext)
  sphinx.errors.SphinxWarning: <autodoc>:0: WARNING: duplicate object description of keystone.assignment.backends.ldap.Assignment, other instance in /home/xugang/tmp/keystone/BUILD/openstack-keystone-2014.1/doc/source/api/keystone.assignment.backends.rst, use :noindex: for one of them

  We can build doc successfully before these commits:

  https://review.openstack.org/#/c/72026/
  https://review.openstack.org/#/c/75537/

  Thanks!

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


References