← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1916572] [NEW] neutron.tests.unit.common.test_utils.TestThrottler test_throttler is failing

 

Public bug reported:

Example:
ft1.2: neutron.tests.unit.common.test_utils.TestThrottler.test_throttlertesttools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", line 182, in func
    return f(self, *args, **kwargs)
  File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/unit/common/test_utils.py", line 433, in test_throttler
    throttled_func()
  File "/home/zuul/src/opendev.org/openstack/neutron/neutron/common/utils.py", line 107, in wrapper
    eventlet.sleep(time_to_wait)
  File "/usr/lib/python3.6/unittest/mock.py", line 939, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/usr/lib/python3.6/unittest/mock.py", line 1005, in _mock_call
    result = effect(*args, **kwargs)
  File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/unit/common/test_utils.py", line 429, in sleep_mock
    self.assertGreater(threshold, amount_to_sleep)
  File "/home/zuul/src/opendev.org/openstack/neutron/.tox/py36/lib/python3.6/site-packages/unittest2/case.py", line 1233, in assertGreater
    self.fail(self._formatMessage(msg, standardMsg))
  File "/home/zuul/src/opendev.org/openstack/neutron/.tox/py36/lib/python3.6/site-packages/unittest2/case.py", line 690, in fail
    raise self.failureException(msg)
AssertionError: 1 not greater than 1

https://3f074c0cfbd488dcf6af-
941e362261845d27ff2c0dd3e3a521f3.ssl.cf1.rackcdn.com/773283/6/check
/openstack-tox-py36/4e6fea3/testr_results.html

Log search:
http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22AssertionError%3A%201%20not%20greater%20than%201%5C%22

** Affects: neutron
     Importance: Undecided
     Assignee: LIU Yulong (dragon889)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => LIU Yulong (dragon889)

** Description changed:

  Example:
- https://3f074c0cfbd488dcf6af-941e362261845d27ff2c0dd3e3a521f3.ssl.cf1.rackcdn.com/773283/6/check/openstack-tox-py36/4e6fea3/testr_results.html
+ ft1.2: neutron.tests.unit.common.test_utils.TestThrottler.test_throttlertesttools.testresult.real._StringException: Traceback (most recent call last):
+   File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", line 182, in func
+     return f(self, *args, **kwargs)
+   File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/unit/common/test_utils.py", line 433, in test_throttler
+     throttled_func()
+   File "/home/zuul/src/opendev.org/openstack/neutron/neutron/common/utils.py", line 107, in wrapper
+     eventlet.sleep(time_to_wait)
+   File "/usr/lib/python3.6/unittest/mock.py", line 939, in __call__
+     return _mock_self._mock_call(*args, **kwargs)
+   File "/usr/lib/python3.6/unittest/mock.py", line 1005, in _mock_call
+     result = effect(*args, **kwargs)
+   File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/unit/common/test_utils.py", line 429, in sleep_mock
+     self.assertGreater(threshold, amount_to_sleep)
+   File "/home/zuul/src/opendev.org/openstack/neutron/.tox/py36/lib/python3.6/site-packages/unittest2/case.py", line 1233, in assertGreater
+     self.fail(self._formatMessage(msg, standardMsg))
+   File "/home/zuul/src/opendev.org/openstack/neutron/.tox/py36/lib/python3.6/site-packages/unittest2/case.py", line 690, in fail
+     raise self.failureException(msg)
+ AssertionError: 1 not greater than 1
+ 
+ https://3f074c0cfbd488dcf6af-
+ 941e362261845d27ff2c0dd3e3a521f3.ssl.cf1.rackcdn.com/773283/6/check
+ /openstack-tox-py36/4e6fea3/testr_results.html
  
  Log search:
  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22AssertionError%3A%201%20not%20greater%20than%201%5C%22

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

Title:
  neutron.tests.unit.common.test_utils.TestThrottler  test_throttler is
  failing

Status in neutron:
  New

Bug description:
  Example:
  ft1.2: neutron.tests.unit.common.test_utils.TestThrottler.test_throttlertesttools.testresult.real._StringException: Traceback (most recent call last):
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", line 182, in func
      return f(self, *args, **kwargs)
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/unit/common/test_utils.py", line 433, in test_throttler
      throttled_func()
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/common/utils.py", line 107, in wrapper
      eventlet.sleep(time_to_wait)
    File "/usr/lib/python3.6/unittest/mock.py", line 939, in __call__
      return _mock_self._mock_call(*args, **kwargs)
    File "/usr/lib/python3.6/unittest/mock.py", line 1005, in _mock_call
      result = effect(*args, **kwargs)
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/unit/common/test_utils.py", line 429, in sleep_mock
      self.assertGreater(threshold, amount_to_sleep)
    File "/home/zuul/src/opendev.org/openstack/neutron/.tox/py36/lib/python3.6/site-packages/unittest2/case.py", line 1233, in assertGreater
      self.fail(self._formatMessage(msg, standardMsg))
    File "/home/zuul/src/opendev.org/openstack/neutron/.tox/py36/lib/python3.6/site-packages/unittest2/case.py", line 690, in fail
      raise self.failureException(msg)
  AssertionError: 1 not greater than 1

  https://3f074c0cfbd488dcf6af-
  941e362261845d27ff2c0dd3e3a521f3.ssl.cf1.rackcdn.com/773283/6/check
  /openstack-tox-py36/4e6fea3/testr_results.html

  Log search:
  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22AssertionError%3A%201%20not%20greater%20than%201%5C%22

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


Follow ups