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

Bug #1207953 reported by Hua Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
Low
Unassigned

Bug Description

I submited a patch https://review.openstack.org/#/c/39904/

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

2013-08-03 02:04:44.828 | FAIL: neutron.tests.unit.test_wsgi.TestWSGIServerWithSSL.test_app_using_ipv6_and_ssl
2013-08-03 02:04:44.828 | tags: worker-2
2013-08-03 02:04:44.828 | ----------------------------------------------------------------------
2013-08-03 02:04:44.828 | Empty attachments:
2013-08-03 02:04:44.828 | stderr
2013-08-03 02:04:44.828 | stdout
2013-08-03 02:04:44.828 |
2013-08-03 02:04:44.828 | pythonlogging:'': {{{2013-08-03 02:04:44,808 INFO [eventlet.wsgi.server] (18483) wsgi starting up on https://::1:58005/}}}
2013-08-03 02:04:44.828 |
2013-08-03 02:04:44.828 | Traceback (most recent call last):
2013-08-03 02:04:44.828 | File "/home/jenkins/workspace/gate-neutron-python27/neutron/tests/unit/test_wsgi.py", line 1111, in test_app_using_ipv6_and_ssl
2013-08-03 02:04:44.828 | response = urllib2.urlopen('https://[::1]:%d/' % server.port)
2013-08-03 02:04:44.828 | File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
2013-08-03 02:04:44.829 | return _opener.open(url, data, timeout)
2013-08-03 02:04:44.829 | File "/usr/lib/python2.7/urllib2.py", line 400, in open
2013-08-03 02:04:44.829 | response = self._open(req, data)
2013-08-03 02:04:44.829 | File "/usr/lib/python2.7/urllib2.py", line 418, in _open
2013-08-03 02:04:44.829 | '_open', req)
2013-08-03 02:04:44.829 | File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
2013-08-03 02:04:44.829 | result = func(*args)
2013-08-03 02:04:44.829 | File "/usr/lib/python2.7/urllib2.py", line 1215, in https_open
2013-08-03 02:04:44.829 | return self.do_open(httplib.HTTPSConnection, req)
2013-08-03 02:04:44.829 | File "/usr/lib/python2.7/urllib2.py", line 1174, in do_open
2013-08-03 02:04:44.829 | h.request(req.get_method(), req.get_selector(), req.data, headers)
2013-08-03 02:04:44.829 | File "/usr/lib/python2.7/httplib.py", line 958, in request
2013-08-03 02:04:44.829 | self._send_request(method, url, body, headers)
2013-08-03 02:04:44.829 | File "/usr/lib/python2.7/httplib.py", line 992, in _send_request
2013-08-03 02:04:44.829 | self.endheaders(body)
2013-08-03 02:04:44.829 | File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
2013-08-03 02:04:44.830 | self._send_output(message_body)
2013-08-03 02:04:44.830 | File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
2013-08-03 02:04:44.830 | self.send(msg)
2013-08-03 02:04:44.830 | File "/usr/lib/python2.7/httplib.py", line 776, in send
2013-08-03 02:04:44.830 | self.connect()
2013-08-03 02:04:44.830 | File "/usr/lib/python2.7/httplib.py", line 1161, in connect
2013-08-03 02:04:44.830 | self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file)
2013-08-03 02:04:44.830 | File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/green/ssl.py", line 288, in wrap_socket
2013-08-03 02:04:44.830 | return GreenSSLSocket(sock, *a, **kw)
2013-08-03 02:04:44.830 | File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/green/ssl.py", line 46, in __init__
2013-08-03 02:04:44.830 | super(GreenSSLSocket, self).__init__(sock.fd, *args, **kw)
2013-08-03 02:04:44.830 | File "/usr/lib/python2.7/ssl.py", line 143, in __init__
2013-08-03 02:04:44.830 | self.do_handshake()
2013-08-03 02:04:44.830 | File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/green/ssl.py", line 196, in do_handshake
2013-08-03 02:04:44.830 | super(GreenSSLSocket, self).do_handshake)
2013-08-03 02:04:44.830 | File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/green/ssl.py", line 83, in _call_trampolining
2013-08-03 02:04:44.831 | timeout_exc=timeout_exc('timed out'))
2013-08-03 02:04:44.831 | File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/__init__.py", line 155, in trampoline
2013-08-03 02:04:44.831 | return hub.switch()
2013-08-03 02:04:44.831 | File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 187, in switch
2013-08-03 02:04:44.831 | return self.greenlet.switch()
2013-08-03 02:04:44.831 | File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 236, in run
2013-08-03 02:04:44.831 | self.wait(sleep_time)
2013-08-03 02:04:59.155 | File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/poll.py", line 84, in wait
2013-08-03 02:04:59.155 | presult = self.do_poll(seconds)
2013-08-03 02:04:59.155 | File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/epolls.py", line 61, in do_poll
2013-08-03 02:04:59.155 | return self.poll.poll(seconds)
2013-08-03 02:04:59.155 | OverflowError: timeout is too large
2013-08-03 02:04:59.155 | ======================================================================

Tags: unittest
Changed in neutron:
assignee: nobody → Eugene Nikanorov (enikanorov)
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/40095

Changed in neutron:
status: New → In Progress
Changed in neutron:
importance: Medium → Low
Revision history for this message
Hua Zhang (zhhuabj) wrote :

this bug happen again today in this review https://review.openstack.org/#/c/40364/

Changed in neutron:
status: In Progress → Invalid
assignee: Eugene Nikanorov (enikanorov) → nobody
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.