← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1727602] [NEW] nova-specs: tests.test_titles.TestTitles.test_template fails

 

Public bug reported:

In nova-specs, tests.test_titles.TestTitles.test_template fails when
'tox -e py27' is executed.

stack@devstack-master:/tmp/nova-specs$ tox -e py27
py27 develop-inst-nodeps: /tmp/nova-specs
py27 installed: alabaster==0.7.10,Babel==2.5.1,certifi==2017.7.27.1,chardet==3.0.4,cssselect==1.0.1,docutils==0.14,extras==1.0.0,fixtures==3.0.0,idna==2.6,imagesize==0.7.1,Jinja2==2.9.6,linecache2==1.0.0,lxml==4.1.0,MarkupSafe==1.0,-e git+https://git.openstack.org/openstack/nova-specs.git@a081ad1f0a6028d0fcb9f1a383fc96217f5c3ddf#egg=nova_specs,oslosphinx==4.17.0,pbr==3.1.1,pkg-resources==0.0.0,Pygments==2.2.0,pyquery==1.3.0,python-mimeparse==1.6.0,python-subunit==1.2.0,pytz==2017.2,requests==2.18.4,six==1.11.0,snowballstemmer==1.2.1,Sphinx==1.6.5,sphinxcontrib-websupport==1.0.1,testrepository==0.0.20,testtools==2.3.0,traceback2==1.4.0,typing==3.6.2,unittest2==1.1.0,urllib3==1.22,yasfb==0.6.1
py27 runtests: PYTHONHASHSEED='2547028128'
py27 runtests: commands[0] | find . -type f -name *.pyc -delete
py27 runtests: commands[1] | python setup.py testr --slowest --testr-args=
running testr
running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ . --list 
running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ .  --load-list /tmp/tmp5_llTX
running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ .  --load-list /tmp/tmpW704PS
======================================================================
FAIL: tests.test_titles.TestTitles.test_template
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/test_titles.py", line 131, in test_template
    self._check_titles(filename, template_titles, titles)
  File "tests/test_titles.py", line 69, in _check_titles
    % (filename, "\n  ".join(msgs)))
  File "/tmp/nova-specs/.tox/py27/local/lib/python2.7/site-packages/unittest2/case.py", line 690, in fail
    raise self.failureException(msg)
AssertionError: While checking 'specs/backlog/approved/instance-tasks.rst':
  Section 'Proposed change' is missing subsections: [u'Upgrade impact']
Ran 2 tests in 0.101s (-0.022s)
FAILED (id=1, failures=1)
error: testr failed (1)
ERROR: InvocationError: '/tmp/nova-specs/.tox/py27/bin/python setup.py testr --slowest --testr-args='
________________________________________________________________________________________________ summary ________________________________________________________________________________________________
ERROR:   py27: commands failed
stack@devstack-master:/tmp/nova-specs$ git log -1
commit a081ad1f0a6028d0fcb9f1a383fc96217f5c3ddf
Merge: 65dabe0 7af4f1f
Author: Zuul <zuul@xxxxxxxxxxxxxxxxxxxx>
Date:   Wed Oct 25 23:23:50 2017 +0000

    Merge "Spec for API extensions policy removal"

** Affects: nova
     Importance: Undecided
     Assignee: Takashi NATSUME (natsume-takashi)
         Status: In Progress

** Changed in: nova
       Status: New => In Progress

-- 
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/1727602

Title:
  nova-specs: tests.test_titles.TestTitles.test_template fails

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  In nova-specs, tests.test_titles.TestTitles.test_template fails when
  'tox -e py27' is executed.

  stack@devstack-master:/tmp/nova-specs$ tox -e py27
  py27 develop-inst-nodeps: /tmp/nova-specs
  py27 installed: alabaster==0.7.10,Babel==2.5.1,certifi==2017.7.27.1,chardet==3.0.4,cssselect==1.0.1,docutils==0.14,extras==1.0.0,fixtures==3.0.0,idna==2.6,imagesize==0.7.1,Jinja2==2.9.6,linecache2==1.0.0,lxml==4.1.0,MarkupSafe==1.0,-e git+https://git.openstack.org/openstack/nova-specs.git@a081ad1f0a6028d0fcb9f1a383fc96217f5c3ddf#egg=nova_specs,oslosphinx==4.17.0,pbr==3.1.1,pkg-resources==0.0.0,Pygments==2.2.0,pyquery==1.3.0,python-mimeparse==1.6.0,python-subunit==1.2.0,pytz==2017.2,requests==2.18.4,six==1.11.0,snowballstemmer==1.2.1,Sphinx==1.6.5,sphinxcontrib-websupport==1.0.1,testrepository==0.0.20,testtools==2.3.0,traceback2==1.4.0,typing==3.6.2,unittest2==1.1.0,urllib3==1.22,yasfb==0.6.1
  py27 runtests: PYTHONHASHSEED='2547028128'
  py27 runtests: commands[0] | find . -type f -name *.pyc -delete
  py27 runtests: commands[1] | python setup.py testr --slowest --testr-args=
  running testr
  running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ . --list 
  running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ .  --load-list /tmp/tmp5_llTX
  running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ .  --load-list /tmp/tmpW704PS
  ======================================================================
  FAIL: tests.test_titles.TestTitles.test_template
  tags: worker-0
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "tests/test_titles.py", line 131, in test_template
      self._check_titles(filename, template_titles, titles)
    File "tests/test_titles.py", line 69, in _check_titles
      % (filename, "\n  ".join(msgs)))
    File "/tmp/nova-specs/.tox/py27/local/lib/python2.7/site-packages/unittest2/case.py", line 690, in fail
      raise self.failureException(msg)
  AssertionError: While checking 'specs/backlog/approved/instance-tasks.rst':
    Section 'Proposed change' is missing subsections: [u'Upgrade impact']
  Ran 2 tests in 0.101s (-0.022s)
  FAILED (id=1, failures=1)
  error: testr failed (1)
  ERROR: InvocationError: '/tmp/nova-specs/.tox/py27/bin/python setup.py testr --slowest --testr-args='
  ________________________________________________________________________________________________ summary ________________________________________________________________________________________________
  ERROR:   py27: commands failed
  stack@devstack-master:/tmp/nova-specs$ git log -1
  commit a081ad1f0a6028d0fcb9f1a383fc96217f5c3ddf
  Merge: 65dabe0 7af4f1f
  Author: Zuul <zuul@xxxxxxxxxxxxxxxxxxxx>
  Date:   Wed Oct 25 23:23:50 2017 +0000

      Merge "Spec for API extensions policy removal"

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


Follow ups