Manila unit test "manila.tests.share.test_api.ShareAPITestCase.test_extend_quota_error" is broken. See CI error logs [1]:
2015-10-08 02:45:02.888 | Traceback (most recent call last): 2015-10-08 02:45:02.888 | File "manila/tests/share/test_api.py", line 1526, in test_extend_quota_error 2015-10-08 02:45:02.888 | self.api.extend, self.context, share, new_size) 2015-10-08 02:45:02.888 | File "/home/jenkins/workspace/gate-manila-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 422, in assertRaises 2015-10-08 02:45:02.888 | self.assertThat(our_callable, matcher) 2015-10-08 02:45:02.888 | File "/home/jenkins/workspace/gate-manila-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 433, in assertThat 2015-10-08 02:45:02.888 | mismatch_error = self._matchHelper(matchee, matcher, message, verbose) 2015-10-08 02:45:02.889 | File "/home/jenkins/workspace/gate-manila-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 483, in _matchHelper 2015-10-08 02:45:02.889 | mismatch = matcher.match(matchee) 2015-10-08 02:45:02.889 | File "/home/jenkins/workspace/gate-manila-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 108, in match 2015-10-08 02:45:02.889 | mismatch = self.exception_matcher.match(exc_info) 2015-10-08 02:45:02.889 | File "/home/jenkins/workspace/gate-manila-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_higherorder.py", line 62, in match 2015-10-08 02:45:02.889 | mismatch = matcher.match(matchee) 2015-10-08 02:45:02.889 | File "/home/jenkins/workspace/gate-manila-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 414, in match 2015-10-08 02:45:12.448 | reraise(*matchee) 2015-10-08 02:45:12.448 | File "/home/jenkins/workspace/gate-manila-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 101, in match 2015-10-08 02:45:12.449 | result = matchee() 2015-10-08 02:45:12.449 | File "/home/jenkins/workspace/gate-manila-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 969, in __call__ 2015-10-08 02:45:12.449 | return self._callable_object(*self._args, **self._kwargs) 2015-10-08 02:45:12.449 | File "manila/share/api.py", line 975, in extend 2015-10-08 02:45:12.449 | 'd_quota': quotas['gigabytes']}) 2015-10-08 02:45:12.449 | File "/usr/lib/python2.7/logging/__init__.py", line 1449, in error 2015-10-08 02:45:12.449 | self.logger.error(msg, *args, **kwargs) 2015-10-08 02:45:12.449 | File "/usr/lib/python2.7/logging/__init__.py", line 1178, in error 2015-10-08 02:45:12.449 | self._log(ERROR, msg, args, **kwargs) 2015-10-08 02:45:12.449 | File "/usr/lib/python2.7/logging/__init__.py", line 1271, in _log 2015-10-08 02:45:12.449 | self.handle(record) 2015-10-08 02:45:12.450 | File "/usr/lib/python2.7/logging/__init__.py", line 1281, in handle 2015-10-08 02:45:12.450 | self.callHandlers(record) 2015-10-08 02:45:12.450 | File "/usr/lib/python2.7/logging/__init__.py", line 1321, in callHandlers 2015-10-08 02:45:12.450 | hdlr.handle(record) 2015-10-08 02:45:12.450 | File "/usr/lib/python2.7/logging/__init__.py", line 749, in handle 2015-10-08 02:45:12.450 | self.emit(record) 2015-10-08 02:45:12.450 | File "/usr/lib/python2.7/logging/__init__.py", line 879, in emit 2015-10-08 02:45:12.450 | self.handleError(record) 2015-10-08 02:45:12.450 | File "/home/jenkins/workspace/gate-manila-python27/.tox/py27/local/lib/python2.7/site-packages/fixtures/_fixtures/logger.py", line 69, in handleError 2015-10-08 02:45:12.450 | six.reraise(*sys.exc_info()) 2015-10-08 02:45:12.450 | File "/usr/lib/python2.7/logging/__init__.py", line 851, in emit 2015-10-08 02:45:12.451 | msg = self.format(record) 2015-10-08 02:45:12.451 | File "/usr/lib/python2.7/logging/__init__.py", line 724, in format 2015-10-08 02:45:12.451 | return fmt.format(record) 2015-10-08 02:45:12.451 | File "/usr/lib/python2.7/logging/__init__.py", line 464, in format 2015-10-08 02:45:12.451 | record.message = record.getMessage() 2015-10-08 02:45:12.451 | File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage 2015-10-08 02:45:12.451 | msg = msg % self.args 2015-10-08 02:45:12.451 | TypeError: %d format: a number is required, not str
[1] http://logs.openstack.org/47/222447/6/check/gate-manila-python27/0037638/console.html#_2015-10-08_02_45_02_887
Manila unit test "manila. tests.share. test_api. ShareAPITestCas e.test_ extend_ quota_error" is broken. See CI error logs [1]:
2015-10-08 02:45:02.888 | Traceback (most recent call last): tests/share/ test_api. py", line 1526, in test_extend_ quota_error jenkins/ workspace/ gate-manila- python27/ .tox/py27/ local/lib/ python2. 7/site- packages/ testtools/ testcase. py", line 422, in assertRaises (our_callable, matcher) jenkins/ workspace/ gate-manila- python27/ .tox/py27/ local/lib/ python2. 7/site- packages/ testtools/ testcase. py", line 433, in assertThat er(matchee, matcher, message, verbose) jenkins/ workspace/ gate-manila- python27/ .tox/py27/ local/lib/ python2. 7/site- packages/ testtools/ testcase. py", line 483, in _matchHelper match(matchee) jenkins/ workspace/ gate-manila- python27/ .tox/py27/ local/lib/ python2. 7/site- packages/ testtools/ matchers/ _exception. py", line 108, in match matcher. match(exc_ info) jenkins/ workspace/ gate-manila- python27/ .tox/py27/ local/lib/ python2. 7/site- packages/ testtools/ matchers/ _higherorder. py", line 62, in match match(matchee) jenkins/ workspace/ gate-manila- python27/ .tox/py27/ local/lib/ python2. 7/site- packages/ testtools/ testcase. py", line 414, in match jenkins/ workspace/ gate-manila- python27/ .tox/py27/ local/lib/ python2. 7/site- packages/ testtools/ matchers/ _exception. py", line 101, in match jenkins/ workspace/ gate-manila- python27/ .tox/py27/ local/lib/ python2. 7/site- packages/ testtools/ testcase. py", line 969, in __call__ object( *self._ args, **self._kwargs) share/api. py", line 975, in extend 'gigabytes' ]}) python2. 7/logging/ __init_ _.py", line 1449, in error error(msg, *args, **kwargs) python2. 7/logging/ __init_ _.py", line 1178, in error python2. 7/logging/ __init_ _.py", line 1271, in _log python2. 7/logging/ __init_ _.py", line 1281, in handle rs(record) python2. 7/logging/ __init_ _.py", line 1321, in callHandlers python2. 7/logging/ __init_ _.py", line 749, in handle python2. 7/logging/ __init_ _.py", line 879, in emit r(record) jenkins/ workspace/ gate-manila- python27/ .tox/py27/ local/lib/ python2. 7/site- packages/ fixtures/ _fixtures/ logger. py", line 69, in handleError *sys.exc_ info()) python2. 7/logging/ __init_ _.py", line 851, in emit python2. 7/logging/ __init_ _.py", line 724, in format python2. 7/logging/ __init_ _.py", line 464, in format python2. 7/logging/ __init_ _.py", line 328, in getMessage
2015-10-08 02:45:02.888 | File "manila/
2015-10-08 02:45:02.888 | self.api.extend, self.context, share, new_size)
2015-10-08 02:45:02.888 | File "/home/
2015-10-08 02:45:02.888 | self.assertThat
2015-10-08 02:45:02.888 | File "/home/
2015-10-08 02:45:02.888 | mismatch_error = self._matchHelp
2015-10-08 02:45:02.889 | File "/home/
2015-10-08 02:45:02.889 | mismatch = matcher.
2015-10-08 02:45:02.889 | File "/home/
2015-10-08 02:45:02.889 | mismatch = self.exception_
2015-10-08 02:45:02.889 | File "/home/
2015-10-08 02:45:02.889 | mismatch = matcher.
2015-10-08 02:45:02.889 | File "/home/
2015-10-08 02:45:12.448 | reraise(*matchee)
2015-10-08 02:45:12.448 | File "/home/
2015-10-08 02:45:12.449 | result = matchee()
2015-10-08 02:45:12.449 | File "/home/
2015-10-08 02:45:12.449 | return self._callable_
2015-10-08 02:45:12.449 | File "manila/
2015-10-08 02:45:12.449 | 'd_quota': quotas[
2015-10-08 02:45:12.449 | File "/usr/lib/
2015-10-08 02:45:12.449 | self.logger.
2015-10-08 02:45:12.449 | File "/usr/lib/
2015-10-08 02:45:12.449 | self._log(ERROR, msg, args, **kwargs)
2015-10-08 02:45:12.449 | File "/usr/lib/
2015-10-08 02:45:12.449 | self.handle(record)
2015-10-08 02:45:12.450 | File "/usr/lib/
2015-10-08 02:45:12.450 | self.callHandle
2015-10-08 02:45:12.450 | File "/usr/lib/
2015-10-08 02:45:12.450 | hdlr.handle(record)
2015-10-08 02:45:12.450 | File "/usr/lib/
2015-10-08 02:45:12.450 | self.emit(record)
2015-10-08 02:45:12.450 | File "/usr/lib/
2015-10-08 02:45:12.450 | self.handleErro
2015-10-08 02:45:12.450 | File "/home/
2015-10-08 02:45:12.450 | six.reraise(
2015-10-08 02:45:12.450 | File "/usr/lib/
2015-10-08 02:45:12.451 | msg = self.format(record)
2015-10-08 02:45:12.451 | File "/usr/lib/
2015-10-08 02:45:12.451 | return fmt.format(record)
2015-10-08 02:45:12.451 | File "/usr/lib/
2015-10-08 02:45:12.451 | record.message = record.getMessage()
2015-10-08 02:45:12.451 | File "/usr/lib/
2015-10-08 02:45:12.451 | msg = msg % self.args
2015-10-08 02:45:12.451 | TypeError: %d format: a number is required, not str
[1] http:// logs.openstack. org/47/ 222447/ 6/check/ gate-manila- python27/ 0037638/ console. html#_2015- 10-08_02_ 45_02_887