Skip to content

Instantly share code, notes, and snippets.

@notmyname
Created January 19, 2016 18:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notmyname/8a4d548389ca7f15a3ab to your computer and use it in GitHub Desktop.
Save notmyname/8a4d548389ca7f15a3ab to your computer and use it in GitHub Desktop.
swift@saio:~/swift$ sudo pip install -U eventlet
The directory '/home/swift/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/swift/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Collecting eventlet
Downloading eventlet-0.17.4-py2.py3-none-any.whl (136kB)
100% |████████████████████████████████| 139kB 3.2MB/s
Requirement already up-to-date: greenlet>=0.3 in /usr/local/lib/python2.7/dist-packages (from eventlet)
Installing collected packages: eventlet
Found existing installation: eventlet 0.16.1
Uninstalling eventlet-0.16.1:
Successfully uninstalled eventlet-0.16.1
Successfully installed eventlet-0.17.4
swift@saio:~/swift$ cd test/unit/common/
swift@saio:~/swift/test/unit/common$ nosetests test_memcached.py
.................
----------------------------------------------------------------------
Ran 17 tests in 0.826s
OK
swift@saio:~/swift/test/unit/common$ sudo pip install eventlet==0.16.1
The directory '/home/swift/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/swift/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting eventlet==0.16.1
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Downloading eventlet-0.16.1-py2.py3-none-any.whl (128kB)
100% |████████████████████████████████| 131kB 3.7MB/s
Requirement already satisfied (use --upgrade to upgrade): greenlet>=0.3 in /usr/local/lib/python2.7/dist-packages (from eventlet==0.16.1)
Installing collected packages: eventlet
Found existing installation: eventlet 0.17.4
Uninstalling eventlet-0.17.4:
Successfully uninstalled eventlet-0.17.4
Successfully installed eventlet-0.16.1
swift@saio:~/swift/test/unit/common$ nosetests test_memcached.py
.........FF......
======================================================================
FAIL: test_get_conns_v6 (test.unit.common.test_memcached.TestMemcached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/swift/swift/test/unit/common/test_memcached.py", line 205, in test_get_conns_v6
self.assertEqual(len(memcache_client._errors[server_socket]), 0)
AssertionError: 1 != 0
-------------------- >> begin captured logging << --------------------
root: ERROR: Error connecting to memcached: [::1]:56727
Traceback (most recent call last):
File "/home/swift/swift/swift/common/memcached.py", line 246, in _get_conns
fp, sock = self._client_cache[server].get()
File "/home/swift/swift/swift/common/memcached.py", line 161, in get
fp, sock = super(MemcacheConnPool, self).get()
File "/usr/local/lib/python2.7/dist-packages/eventlet/pools.py", line 88, in get
created = self.create()
File "/home/swift/swift/swift/common/memcached.py", line 151, in create
socket.SOCK_STREAM)
File "/usr/local/lib/python2.7/dist-packages/eventlet/support/greendns.py", line 185, in getaddrinfo
rrset = resolve(host)
File "/usr/local/lib/python2.7/dist-packages/eventlet/support/greendns.py", line 141, in resolve
raise socket.gaierror(error)
gaierror: (-5, 'No address associated with hostname')
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: test_get_conns_v6_default (test.unit.common.test_memcached.TestMemcached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/swift/swift/test/unit/common/test_memcached.py", line 226, in test_get_conns_v6_default
self.assertEqual(len(memcache_client._errors[server_host]), 0)
AssertionError: 1 != 0
-------------------- >> begin captured logging << --------------------
root: ERROR: Error connecting to memcached: [::1]
Traceback (most recent call last):
File "/home/swift/swift/swift/common/memcached.py", line 246, in _get_conns
fp, sock = self._client_cache[server].get()
File "/home/swift/swift/swift/common/memcached.py", line 161, in get
fp, sock = super(MemcacheConnPool, self).get()
File "/usr/local/lib/python2.7/dist-packages/eventlet/pools.py", line 88, in get
created = self.create()
File "/home/swift/swift/swift/common/memcached.py", line 151, in create
socket.SOCK_STREAM)
File "/usr/local/lib/python2.7/dist-packages/eventlet/support/greendns.py", line 185, in getaddrinfo
rrset = resolve(host)
File "/usr/local/lib/python2.7/dist-packages/eventlet/support/greendns.py", line 141, in resolve
raise socket.gaierror(error)
gaierror: (-5, 'No address associated with hostname')
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 17 tests in 0.830s
FAILED (failures=2)
swift@saio:~/swift/test/unit/common$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment