OverflowError: timeout is too large in test_agent_linux_utils

Bug #1202065 reported by Eugene Nikanorov
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Armando Migliaccio

Bug Description

From jenkins test run reported in bug 1202055:

 Traceback (most recent call last):
  File "/home/jenkins/workspace/gate-neutron-python27/neutron/tests/unit/test_agent_linux_utils.py", line 62, in test_with_addl_env
   addl_env={'foo': 'bar'})
  File "/home/jenkins/workspace/gate-neutron-python27/neutron/agent/linux/utils.py", line 54, in execute
     obj.communicate())
  File "/usr/lib/python2.7/subprocess.py", line 754, in communicate
    return self._communicate(input)
  File "/usr/lib/python2.7/subprocess.py", line 1314, in _communicate
     stdout, stderr = self._communicate_with_select(input)
   File "/usr/lib/python2.7/subprocess.py", line 1415, in _communicate_with_select
     rlist, wlist, xlist = select.select(read_set, write_set, [])
   File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/green/select.py", line 79, in select
     return hub.switch()
   File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 187, in switch
     return self.greenlet.switch()
   File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 236, in run
     self.wait(sleep_time)
   File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/poll.py", line 84, in wait
     presult = self.do_poll(seconds)
   File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/epolls.py", line 61, in do_poll
     return self.poll.poll(seconds)
 OverflowError: timeout is too large

Tags: unittest
Revision history for this message
Eugene Nikanorov (enikanorov) wrote :

The failure of this test was only seen when failure in l3 agent test occurred.
Need to collect more statistics on the failure.

Changed in neutron:
assignee: Eugene Nikanorov (enikanorov) → nobody
assignee: nobody → Armando Migliaccio (armando-migliaccio)
Changed in neutron:
status: New → Confirmed
Changed in neutron:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/38573
Committed: http://github.com/openstack/neutron/commit/f81fe3ed5884616255d4eace358ff4dc9fd23ad8
Submitter: Jenkins
Branch: master

commit f81fe3ed5884616255d4eace358ff4dc9fd23ad8
Author: armando-migliaccio <email address hidden>
Date: Wed Jul 24 17:35:28 2013 -0700

    Deal with intermittent OverflowError in gate-neutron-python26

    This occurence looks like is related to a failure in
    utils.execute. This patch attempts to deal with the error
    by mocking out Popen.communicate altogether.

    Fixes bug #1202065

    Change-Id: I4092efb17939b69dd2d1965aaf619a9b2be03ef4

Changed in neutron:
status: In Progress → Fix Committed
Changed in neutron:
milestone: none → havana-3
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: havana-3 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.