OverflowError: timeout is too large in gate-neutron-python27

Bug #1200698 reported by Mathew Odden
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Eugene Nikanorov

Bug Description

Have quite a few tests that failed with the following reason that does not appear to be related to my change:

ft258.21: neutron.tests.unit.test_dhcp_agent.TestDhcpAgentEventHandler.test_disable_dhcp_helper_driver_failure_isolated_metadata_StringException: Empty attachments:
  pythonlogging:''
  stderr
  stdout

Traceback (most recent call last):
  File "/home/jenkins/workspace/gate-neutron-python27/neutron/tests/unit/test_dhcp_agent.py", line 428, in setUp
    self.dhcp = dhcp_agent.DhcpAgent(HOSTNAME)
  File "/home/jenkins/workspace/gate-neutron-python27/neutron/agent/dhcp_agent.py", line 84, in __init__
    self.dhcp_version = self.dhcp_driver_cls.check_version()
  File "/home/jenkins/workspace/gate-neutron-python27/neutron/agent/linux/dhcp.py", line 229, in check_version
    out = utils.execute(cmd)
  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 :

have seen this a number of times.
Looks like unmocked system call to dnsmasq

Changed in neutron:
assignee: nobody → Eugene Nikanorov (enikanorov)
status: New → Confirmed
importance: Undecided → Medium
tags: added: unittest
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/36885

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/36885
Committed: http://github.com/openstack/neutron/commit/b12502e7e6709c874a756a92141f84667944a274
Submitter: Jenkins
Branch: master

commit b12502e7e6709c874a756a92141f84667944a274
Author: Eugene Nikanorov <email address hidden>
Date: Fri Jul 12 23:02:30 2013 +0400

    Fix TestDhcpAgentEventHandler test that fails in some Jenkins runs.

    Add mocking of check_version method that have ran dnsmasq process to retrieve version

    fixes bug 1200698

    Change-Id: I6476d62bc4394bdf9701a2aa26a435f8bcb00d0d

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

Other bug subscribers

Remote bug watches

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