← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1363979] Re: [novaclient] tests are failed on master with"ValueError: Unable to determine whether fp is closed."

 

** Project changed: nova => python-novaclient

** Summary changed:

- [novaclient] tests are failed on master with"ValueError:  Unable to determine whether fp is closed."
+ tests are failed on master with"ValueError:  Unable to determine whether fp is closed."

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1363979

Title:
  tests are failed on master with"ValueError:  Unable to determine
  whether fp is closed."

Status in Python client library for Nova:
  New

Bug description:
  Several tests are failed on master with next traceback:

  2014-09-01 04:05:08.708 | Traceback (most recent call last):
  2014-09-01 04:05:08.708 |   File "novaclient/tests/v1_1/test_servers.py", line 223, in test_update_server
  2014-09-01 04:05:08.709 |     s.update(name='hi')
  2014-09-01 04:05:08.709 |   File "novaclient/v1_1/servers.py", line 55, in update
  2014-09-01 04:05:08.709 |     self.manager.update(self, name=name)
  2014-09-01 04:05:08.709 |   File "novaclient/v1_1/servers.py", line 912, in update
  2014-09-01 04:05:08.709 |     return self._update("/servers/%s" % base.getid(server), body, "server")
  2014-09-01 04:05:08.709 |   File "novaclient/base.py", line 113, in _update
  2014-09-01 04:05:08.709 |     _resp, body = self.api.client.put(url, body=body)
  2014-09-01 04:05:08.709 |   File "novaclient/client.py", line 493, in put
  2014-09-01 04:05:08.709 |     return self._cs_request(url, 'PUT', **kwargs)
  2014-09-01 04:05:08.710 |   File "novaclient/client.py", line 465, in _cs_request
  2014-09-01 04:05:08.710 |     resp, body = self._time_request(url, method, **kwargs)
  2014-09-01 04:05:08.710 |   File "novaclient/client.py", line 439, in _time_request
  2014-09-01 04:05:08.710 |     resp, body = self.request(url, method, **kwargs)
  2014-09-01 04:05:08.710 |   File "novaclient/client.py", line 410, in request
  2014-09-01 04:05:08.710 |     **kwargs)
  2014-09-01 04:05:08.710 |   File "/home/jenkins/workspace/gate-python-novaclient-python26/.tox/py26/lib/python2.6/site-packages/requests/api.py", line 44, in request
  2014-09-01 04:05:08.710 |     return session.request(method=method, url=url, **kwargs)
  2014-09-01 04:05:08.710 |   File "/home/jenkins/workspace/gate-python-novaclient-python26/.tox/py26/lib/python2.6/site-packages/requests/sessions.py", line 448, in request
  2014-09-01 04:05:08.710 |     resp = self.send(prep, **send_kwargs)
  2014-09-01 04:05:08.711 |   File "/home/jenkins/workspace/gate-python-novaclient-python26/.tox/py26/lib/python2.6/site-packages/requests_mock/mocker.py", line 67, in _fake_send
  2014-09-01 04:05:08.711 |     return self._real_send(session, request, **kwargs)
  2014-09-01 04:05:08.711 |   File "/home/jenkins/workspace/gate-python-novaclient-python26/.tox/py26/lib/python2.6/site-packages/requests/sessions.py", line 591, in send
  2014-09-01 04:05:08.711 |     r.content
  2014-09-01 04:05:08.711 |   File "/home/jenkins/workspace/gate-python-novaclient-python26/.tox/py26/lib/python2.6/site-packages/requests/models.py", line 707, in content
  2014-09-01 04:05:08.711 |     self._content = bytes().join(self.iter_content(CONTENT_CHUNK_SIZE)) or bytes()
  2014-09-01 04:05:08.711 |   File "/home/jenkins/workspace/gate-python-novaclient-python26/.tox/py26/lib/python2.6/site-packages/requests/models.py", line 638, in generate
  2014-09-01 04:05:08.711 |     for chunk in self.raw.stream(chunk_size, decode_content=True):
  2014-09-01 04:05:08.711 |   File "/home/jenkins/workspace/gate-python-novaclient-python26/.tox/py26/lib/python2.6/site-packages/requests/packages/urllib3/response.py", line 255, in stream
  2014-09-01 04:05:08.712 |     while not is_fp_closed(self._fp):
  2014-09-01 04:05:08.712 |   File "/home/jenkins/workspace/gate-python-novaclient-python26/.tox/py26/lib/python2.6/site-packages/requests/packages/urllib3/util/response.py", line 22, in is_fp_closed
  2014-09-01 04:05:08.712 |     raise ValueError("Unable to determine whether fp is closed.")
  2014-09-01 04:05:08.712 | ValueError: Unable to determine whether fp is closed.

  Related to: py26, py27, py33
  Tracebacks of all failed tests: http://paste.openstack.org/show/104193/
  Full logs:  http://logs.openstack.org/91/117591/3/check/gate-python-novaclient-python26/ab2eea5/console.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-novaclient/+bug/1363979/+subscriptions


References