yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #69240
[Bug 1727602] Re: nova-specs: tests.test_titles.TestTitles.test_template fails
Reviewed: https://review.openstack.org/517223
Committed: https://git.openstack.org/cgit/openstack/nova-specs/commit/?id=44334e7114f16b329438b4145217be6fd751c66c
Submitter: Zuul
Branch: master
commit 44334e7114f16b329438b4145217be6fd751c66c
Author: Takashi NATSUME <natsume.takashi@xxxxxxxxxxxxx>
Date: Thu Nov 2 18:09:16 2017 +0900
Set the 'Upgrade impact' subsection as optional
The 'Upgrade impact' subsection has been added in the spec template
in I1798f2bdb246af9b9b12dbe9276d0a68a82e4c88.
But 'py27' test fails since it is merged
because the 'Upgrade impact' subsection is required
in existing queens and backlog specs.
So set the 'Upgrade impact' subsection as optional
in queens and backlog specs.
Change-Id: I8c69369a421454f30675a9ad9da8b9c51a2e7baa
Closes-Bug: #1727602
** Changed in: nova
Status: In Progress => Fix Released
--
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):
Fix Released
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
References