tox -e releasenotes command fails

Bug #1569062 reported by Nikhil Komawar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glance_store
In Progress
Medium
Unassigned

Bug Description

~/openstack/glance_store$ tox -e releasenotes releasenotes create: /home/ubuntu/openstack/glance_store/.tox/releasenotes
releasenotes installdeps: -r/home/ubuntu/openstack/glance_store/requirements.txt, -r/home/ubuntu/openstack/glance_store/test-requirements.txt, .[s3,vmware,swift,cinder]
releasenotes develop-inst: /home/ubuntu/openstack/glance_store
releasenotes installed: appdirs==1.4.0,Babel==2.3.2,boto==2.39.0,coverage==4.0.3,debtcollector==1.3.0,docutils==0.12,enum34==1.1.2,eventlet==0.18.4,extras==0.0.3,fasteners==0.14.1,fixtures==2.0.0,flake8==2.2.4,funcsigs==1.0.0,functools32==3.2.3.post2,futures==3.0.5,-e git+https://github.com/openstack/glance_store.git@4412580b8fa9753773e0bf618e29c4191baea836#egg=glance_store,greenlet==0.4.9,hacking==0.10.2,httplib2==0.9.2,iso8601==0.1.11,Jinja2==2.8,jsonschema==2.5.1,keystoneauth1==2.5.0,linecache2==1.0.0,MarkupSafe==0.23,mccabe==0.2.1,mock==2.0.0,monotonic==1.0,mox3==0.14.0,msgpack-python==0.4.7,netaddr==0.7.18,netifaces==0.10.4,ordereddict==1.1,os-brick==1.3.0,os-client-config==1.17.0,os-testr==0.6.0,oslo.concurrency==3.7.0,oslo.config==3.9.0,oslo.context==2.2.0,oslo.i18n==3.5.0,oslo.log==3.3.0,oslo.rootwrap==4.1.0,oslo.serialization==2.4.0,oslo.service==1.8.0,oslo.utils==3.8.0,oslo.vmware==2.5.0,oslosphinx==4.3.0,oslotest==2.4.0,Paste==2.0.3,PasteDeploy==1.5.2,pbr==1.8.1,pep8==1.5.7,positional==1.0.1,prettytable==0.7.2,pyflakes==0.8.1,Pygments==2.1.3,pyinotify==0.9.6,pyrsistent==0.11.13,python-cinderclient==1.6.0,python-dateutil==2.5.2,python-keystoneclient==2.3.1,python-mimeparse==1.5.1,python-subunit==1.2.0,python-swiftclient==3.0.0,pytz==2016.3,PyYAML==3.11,reno==1.6.2,repoze.lru==0.6,requests==2.9.1,requests-mock==0.7.0,requestsexceptions==1.1.3,retrying==1.3.3,Routes==2.3.1,simplejson==3.8.2,six==1.10.0,Sphinx==1.2.3,stevedore==1.12.0,suds-jurko==0.6,testrepository==0.0.20,testscenarios==0.5.0,testtools==2.0.0,traceback2==1.4.0,unittest2==1.1.0,urllib3==1.15.1,WebOb==1.6.0,wrapt==1.10.8
releasenotes runtests: PYTHONHASHSEED='1452494554'
releasenotes runtests: commands[0] | sphinx-build -a -E -W -d releasenotes/build/.doctrees -b html releasenotes/source releasenotes/build/html
Making output directory...
Running Sphinx v1.2.3
Using openstack theme from /home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/oslosphinx/theme
building [html]: all source files
updating environment: 4 added, 0 changed, 0 removed
reading sources... [ 25%] index
reading sources... [ 50%] liberty
[reno] scanning /home/ubuntu/openstack/glance_store/releasenotes/notes for origin/stable/liberty release notes
reading sources... [ 75%] mitaka
[reno] scanning /home/ubuntu/openstack/glance_store/releasenotes/notes for origin/stable/mitaka release notes

Exception occurred:
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/yaml/scanner.py", line 289, in stale_possible_simple_keys
    "could not found expected ':'", self.get_mark())
ScannerError: while scanning a simple key
  in "<unicode string>", line 7, column 3:
      store. glance_store identifies i ...
      ^
could not found expected ':'
  in "<unicode string>", line 8, column 3:
      executing request to Swift and r ...
      ^
The full traceback has been saved in /tmp/sphinx-err-RM7BVl.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://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
ERROR: InvocationError: '/home/ubuntu/openstack/glance_store/.tox/releasenotes/bin/sphinx-build -a -E -W -d releasenotes/build/.doctrees -b html releasenotes/source releasenotes/build/html'
___________________________________ summary ____________________________________
ERROR: releasenotes: commands failed

----

$ cat /tmp/sphinx-err-RM7BVl.log
# Sphinx version: 1.2.3
# Python version: 2.7.6
# Docutils version: 0.12 release
# Jinja2 version: 2.8
# Loaded extensions:
# sphinx.ext.oldcmarkup from /home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/sphinx/ext/oldcmarkup.pyc
# reno.sphinxext from /home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/reno/sphinxext.pyc
# oslosphinx from /home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/oslosphinx/__init__.pyc
Traceback (most recent call last):
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/sphinx/cmdline.py", line 254, in main
    app.build(force_all, filenames)
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/sphinx/application.py", line 216, in build
    self.builder.build_all()
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/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/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 234, in build
    purple, length):
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 134, in status_iterator
    for item in iterable:
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/sphinx/environment.py", line 478, in update_generator
    self.read_doc(docname, app=app)
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/sphinx/environment.py", line 628, in read_doc
    pub.publish()
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/docutils/core.py", line 217, in publish
    self.settings)
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/docutils/readers/__init__.py", line 72, in read
    self.parse()
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/docutils/readers/__init__.py", line 78, in parse
    self.parser.parse(self.input, document)
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/docutils/parsers/rst/__init__.py", line 172, in parse
    self.statemachine.run(inputlines, document, inliner=self.inliner)
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 170, in run
    input_source=document['source'])
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/docutils/statemachine.py", line 239, in run
    context, state, transitions)
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/docutils/statemachine.py", line 460, in check_line
    return method(match, context, next_state)
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 2961, in text
    self.section(title.lstrip(), source, style, lineno + 1, messages)
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 327, in section
    self.new_subsection(title, lineno, messages)
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 395, in new_subsection
    node=section_node, match_titles=True)
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 282, in nested_parse
    node=node, match_titles=match_titles)
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 195, in run
    results = StateMachineWS.run(self, input_lines, input_offset)
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/docutils/statemachine.py", line 239, in run
    context, state, transitions)
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/docutils/statemachine.py", line 460, in check_line
    return method(match, context, next_state)
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 2299, in explicit_markup
    nodelist, blank_finish = self.explicit_construct(match)
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 2311, in explicit_construct
    return method(self, expmatch)
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 2054, in directive
    directive_class, match, type_name, option_presets)
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 2103, in run_directive
    result = directive_instance.run()
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/reno/sphinxext.py", line 80, in run
    title=title,
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/reno/formatter.py", line 61, in format_report
    y = yaml.safe_load(body)
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/yaml/__init__.py", line 93, in safe_load
    return load(stream, SafeLoader)
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/yaml/__init__.py", line 71, in load
    return loader.get_single_data()
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/yaml/constructor.py", line 37, in get_single_data
    node = self.get_single_node()
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/yaml/composer.py", line 36, in get_single_node
    document = self.compose_document()
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/yaml/composer.py", line 55, in compose_document
    node = self.compose_node(None, None)
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/yaml/composer.py", line 84, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/yaml/composer.py", line 133, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/yaml/composer.py", line 82, in compose_node
    node = self.compose_sequence_node(anchor)
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/yaml/composer.py", line 110, in compose_sequence_node
    while not self.check_event(SequenceEndEvent):
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/yaml/parser.py", line 98, in check_event
    self.current_event = self.state()
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/yaml/parser.py", line 382, in parse_block_sequence_entry
    if self.check_token(BlockEntryToken):
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/yaml/scanner.py", line 115, in check_token
    while self.need_more_tokens():
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/yaml/scanner.py", line 149, in need_more_tokens
    self.stale_possible_simple_keys()
  File "/home/ubuntu/openstack/glance_store/.tox/releasenotes/local/lib/python2.7/site-packages/yaml/scanner.py", line 289, in stale_possible_simple_keys
    "could not found expected ':'", self.get_mark())
ScannerError: while scanning a simple key
  in "<unicode string>", line 7, column 3:
      store. glance_store identifies i ...
      ^
could not found expected ':'
  in "<unicode string>", line 8, column 3:
      executing request to Swift and r ...
      ^

Changed in glance-store:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Nikhil Komawar (nikhil-komawar) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance_store (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/304333

Changed in glance-store:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on glance_store (stable/mitaka)

Change abandoned by Davanum Srinivas (dims) (<email address hidden>) on branch: stable/mitaka
Review: https://review.openstack.org/304333

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.