← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1482622] Re: functional test fails with "RuntimeError: Second simultaneous read on fileno 6 "

 

No longer happening.

** Tags added: gate-failure

** Tags added: functional-tests

** Changed in: neutron
       Status: Incomplete => Invalid

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

Title:
  functional test fails with "RuntimeError: Second simultaneous read on
  fileno 6 "

Status in neutron:
  Invalid

Bug description:
  Logstash query:
  message:"Second simultaneous read on fileno" AND tags:"console"
  Select 'all time'.


  Neutron functional test is failing with below error in gate

  2015-07-28 17:14:04.164 | 2015-07-28 17:14:04.154 |     2015-07-28 17:13:58.550 6878 ERROR neutron.callbacks.manager     evtype, fileno, evtype, cb, bucket[fileno]))
  2015-07-28 17:14:04.166 | 2015-07-28 17:14:04.156 |     2015-07-28 17:13:58.550 6878 ERROR neutron.callbacks.manager RuntimeError: Second simultaneous read on fileno 6 detected.  Unless you really know what you're doing, make sure that only one greenthread can read any particular socket.  Consider using a pools.Pool. If you do know what you're doing and want to disable this error, call eventlet.debug.hub_prevent_multiple_readers(False) - MY THREAD=<built-in method switch of greenlet.greenlet object at 0x7f52be93c5f0>; THAT THREAD=FdListener('read', 6, <built-in method switch of greenlet.greenlet object at 0x7f52bba02cd0>, <built-in method throw of greenlet.greenlet object at 0x7f52bba02cd0>)

  For full log
  http://logs.openstack.org/36/200636/4/check/gate-neutron-vpnaas-dsvm-functional-sswan/1dcd044/console.html.gz

  The functional test uses two l3 agents. During test cleanup, both the
  agents try to clean up the resources simultaneously, and failing with
  the above error.

  To avoid this issue I am using  root_helper instead of root_helper_daemon in the test
  https://review.openstack.org/#/c/200636/5/neutron_vpnaas/tests/functional/common/test_scenario.py    Line 173

  To reproduce this issue, please enable root_helper_daemon in
  test(disable line 173 in above file).

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


References