← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1614380] [NEW] test_get_interface_bridged_time fails at self.assertGreater(t2, t1)

 

Public bug reported:

Traceback (most recent call last):
  File "neutron/tests/functional/agent/linux/test_bridge_lib.py", line 53, in test_get_interface_bridged_time
    self.assertGreater(t2, t1)
  File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/unittest2/case.py", line 1233, in assertGreater
    self.fail(self._formatMessage(msg, standardMsg))
  File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/unittest2/case.py", line 690, in fail
    raise self.failureException(msg)
AssertionError: 1471426063.9028516 not greater than 1471426063.9028516

http://logstash.openstack.org/#dashboard/file/logstash.json?query=build_name%3A%5C
%22gate-neutron-dsvm-
functional%5C%22%20AND%20build_status%3A%5C%22FAILURE%5C%22%20AND%20message%3A%5C%22assertGreater%5C%22

It seems sysfs mtime has only 4ms granularity. (Use attached shell
script to confirm.)

sleep(.1) between get_interface_bridged_time would band-aid this bug.

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: functional-tests

** Attachment added: "a test shell script"
   https://bugs.launchpad.net/bugs/1614380/+attachment/4723154/+files/a.sh

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

Title:
  test_get_interface_bridged_time fails at self.assertGreater(t2, t1)

Status in neutron:
  New

Bug description:
  Traceback (most recent call last):
    File "neutron/tests/functional/agent/linux/test_bridge_lib.py", line 53, in test_get_interface_bridged_time
      self.assertGreater(t2, t1)
    File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/unittest2/case.py", line 1233, in assertGreater
      self.fail(self._formatMessage(msg, standardMsg))
    File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/unittest2/case.py", line 690, in fail
      raise self.failureException(msg)
  AssertionError: 1471426063.9028516 not greater than 1471426063.9028516

  http://logstash.openstack.org/#dashboard/file/logstash.json?query=build_name%3A%5C
  %22gate-neutron-dsvm-
  functional%5C%22%20AND%20build_status%3A%5C%22FAILURE%5C%22%20AND%20message%3A%5C%22assertGreater%5C%22

  It seems sysfs mtime has only 4ms granularity. (Use attached shell
  script to confirm.)

  sleep(.1) between get_interface_bridged_time would band-aid this bug.

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


Follow ups