← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1583069] [NEW] neutron.tests.unit.agent.ovsdb.native.test_connection raises exception in different thread

 

Public bug reported:

neutron.tests.unit.agent.ovsdb.native.test_connection raises following
exception due to mock object passed to poll() function.

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 804, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 757, in run
    self.__target(*self.__args, **self.__kwargs)
  File "neutron/agent/ovsdb/native/connection.py", line 110, in safe_run
    self.run()
  File "neutron/agent/ovsdb/native/connection.py", line 122, in run
    self.poller.fd_wait(self.txns.alert_fileno, poller.POLLIN)
  File "/usr/lib/python2.7/site-packages/ovs/poller.py", line 122, in fd_wait
    self.poll.register(fd, events)
  File "/usr/lib/python2.7/site-packages/ovs/poller.py", line 55, in register
    assert isinstance(fd, int)
AssertionError

** Affects: neutron
     Importance: Undecided
     Assignee: Jakub Libosvar (libosvar)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Jakub Libosvar (libosvar)

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

Title:
  neutron.tests.unit.agent.ovsdb.native.test_connection raises exception
  in different thread

Status in neutron:
  New

Bug description:
  neutron.tests.unit.agent.ovsdb.native.test_connection raises following
  exception due to mock object passed to poll() function.

  Exception in thread Thread-1:
  Traceback (most recent call last):
    File "/usr/lib64/python2.7/threading.py", line 804, in __bootstrap_inner
      self.run()
    File "/usr/lib64/python2.7/threading.py", line 757, in run
      self.__target(*self.__args, **self.__kwargs)
    File "neutron/agent/ovsdb/native/connection.py", line 110, in safe_run
      self.run()
    File "neutron/agent/ovsdb/native/connection.py", line 122, in run
      self.poller.fd_wait(self.txns.alert_fileno, poller.POLLIN)
    File "/usr/lib/python2.7/site-packages/ovs/poller.py", line 122, in fd_wait
      self.poll.register(fd, events)
    File "/usr/lib/python2.7/site-packages/ovs/poller.py", line 55, in register
      assert isinstance(fd, int)
  AssertionError

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


Follow ups