* Package: dev-python/httplib2-0.7.2
* Repository: progress
* USE: amd64 elibc_glibc kernel_linux multilib python_abis_2.5 python_abis_2.6 python_abis_2.7 python_abis_2.7-pypy-1.7 python_abis_3.2 test userland_GNU
* FEATURES: sandbox test userpriv usersandbox
>>> Unpacking source...
>>> Unpacking httplib2-0.7.2.tar.gz to /mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work
>>> Source unpacked in /mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work
>>> Preparing source in /mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2 ...
>>> Source prepared.
>>> Configuring source in /mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2 ...
>>> Source configured.
>>> Compiling source in /mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2 ...
* Building of dev-python/httplib2-0.7.2 with CPython 2.5...
python2.5 setup.py build -b build-2.5
running build
running build_py
creating build-2.5
creating build-2.5/lib
creating build-2.5/lib/httplib2
copying python2/httplib2/iri2uri.py -> build-2.5/lib/httplib2
copying python2/httplib2/__init__.py -> build-2.5/lib/httplib2
copying python2/httplib2/socks.py -> build-2.5/lib/httplib2
copying python2/httplib2/cacerts.txt -> build-2.5/lib/httplib2
warning: build_py: byte-compiling is disabled, skipping.
* Building of dev-python/httplib2-0.7.2 with CPython 2.6...
python2.6 setup.py build -b build-2.6
running build
running build_py
creating build-2.6
creating build-2.6/lib
creating build-2.6/lib/httplib2
copying python2/httplib2/iri2uri.py -> build-2.6/lib/httplib2
copying python2/httplib2/__init__.py -> build-2.6/lib/httplib2
copying python2/httplib2/socks.py -> build-2.6/lib/httplib2
copying python2/httplib2/cacerts.txt -> build-2.6/lib/httplib2
warning: build_py: byte-compiling is disabled, skipping.
* Building of dev-python/httplib2-0.7.2 with CPython 2.7...
python2.7 setup.py build -b build-2.7
running build
running build_py
creating build-2.7
creating build-2.7/lib
creating build-2.7/lib/httplib2
copying python2/httplib2/iri2uri.py -> build-2.7/lib/httplib2
copying python2/httplib2/__init__.py -> build-2.7/lib/httplib2
copying python2/httplib2/socks.py -> build-2.7/lib/httplib2
copying python2/httplib2/cacerts.txt -> build-2.7/lib/httplib2
warning: build_py: byte-compiling is disabled, skipping.
* Building of dev-python/httplib2-0.7.2 with CPython 3.2...
python3.2 setup.py build -b build-3.2
running build
running build_py
creating build-3.2
creating build-3.2/lib
creating build-3.2/lib/httplib2
copying python3/httplib2/iri2uri.py -> build-3.2/lib/httplib2
copying python3/httplib2/__init__.py -> build-3.2/lib/httplib2
copying python3/httplib2/cacerts.txt -> build-3.2/lib/httplib2
warning: build_py: byte-compiling is disabled, skipping.
* Building of dev-python/httplib2-0.7.2 with PyPy 1.7 (Python 2.7)...
pypy-c1.7 setup.py build -b build-2.7-pypy-1.7
running build
running build_py
creating build-2.7-pypy-1.7
creating build-2.7-pypy-1.7/lib
creating build-2.7-pypy-1.7/lib/httplib2
copying python2/httplib2/iri2uri.py -> build-2.7-pypy-1.7/lib/httplib2
copying python2/httplib2/__init__.py -> build-2.7-pypy-1.7/lib/httplib2
copying python2/httplib2/socks.py -> build-2.7-pypy-1.7/lib/httplib2
copying python2/httplib2/cacerts.txt -> build-2.7-pypy-1.7/lib/httplib2
warning: build_py: byte-compiling is disabled, skipping.
>>> Source compiled.
* Testing of dev-python/httplib2-0.7.2 with CPython 2.5...
python2.5 httplib2test.py
.......................................................................................F....................................F.EF....FFF.FF..F......EF..F...E.E...F...FF.......FFFFF..FFF...
======================================================================
ERROR: testGet301ViaHttps (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 448, in testGet301ViaHttps
(response, content) = self.http.request("https://code.google.com/apis/", "GET")
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1445, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1197, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1133, in _conn_request
conn.connect()
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 893, in connect
self.disable_ssl_certificate_validation, self.ca_certs)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 83, in _ssl_wrap_socket
"SSL certificate validation is not supported without "
CertificateValidationUnsupported: SSL certificate validation is not supported without the ssl module installed. To avoid this error, install the ssl module, or explicity disable validation.
======================================================================
ERROR: testGetIRI (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 220, in testGetIRI
(response, content) = self.http.request(uri, "GET")
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1339, in request
cached_value = self.cache.get(cachekey)
File "/usr/lib64/python2.5/site-packages/memcache.py", line 862, in get
return self._get('get', key)
File "/usr/lib64/python2.5/site-packages/memcache.py", line 813, in _get
self.check_key(key)
File "/usr/lib64/python2.5/site-packages/memcache.py", line 1014, in check_key
"Keys must be str()'s, not unicode. Convert your unicode "
MemcachedStringEncodingError: Keys must be str()'s, not unicode. Convert your unicode strings using mystring.encode(charset)!
======================================================================
ERROR: testGetViaHttps (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 454, in testGetViaHttps
(response, content) = self.http.request("https://www.google.com/adsense/", "GET")
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1445, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1197, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1133, in _conn_request
conn.connect()
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 893, in connect
self.disable_ssl_certificate_validation, self.ca_certs)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 83, in _ssl_wrap_socket
"SSL certificate validation is not supported without "
CertificateValidationUnsupported: SSL certificate validation is not supported without the ssl module installed. To avoid this error, install the ssl module, or explicity disable validation.
======================================================================
ERROR: testGetViaHttpsSpecViolationOnLocation (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 462, in testGetViaHttpsSpecViolationOnLocation
(response, content) = self.http.request("https://www.google.com/adsense", "GET")
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1445, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1197, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1133, in _conn_request
conn.connect()
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 893, in connect
self.disable_ssl_certificate_validation, self.ca_certs)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 83, in _ssl_wrap_socket
"SSL certificate validation is not supported without "
CertificateValidationUnsupported: SSL certificate validation is not supported without the ssl module installed. To avoid this error, install the ssl module, or explicity disable validation.
======================================================================
FAIL: testHeadRead (__main__.HttpTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 246, in testHeadRead
self.assertEqual(content, "")
AssertionError: '
Google
' != ''
======================================================================
FAIL: testGet301 (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 347, in testGet301
self.assertEqual(response.previous.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGet302 (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 383, in testGet302
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGet304 (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 570, in testGet304
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGet304LastModified (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 645, in testGet304LastModified
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGet307 (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 659, in testGet307
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGetCacheControlNoCache (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 871, in testGetCacheControlNoCache
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGetCacheControlNoCacheNoStoreRequest (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 921, in testGetCacheControlNoCacheNoStoreRequest
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGetCacheControlPragmaNoCache (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 884, in testGetCacheControlPragmaNoCache
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGetIgnoreEtag (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 595, in testGetIgnoreEtag
self.assertTrue(d.has_key('HTTP_IF_NONE_MATCH'))
AssertionError
======================================================================
FAIL: testGetOnlyIfCachedCacheHit (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 261, in testGetOnlyIfCachedCacheHit
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testHeadRead (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 246, in testHeadRead
self.assertEqual(content, "")
AssertionError: 'Google
' != ''
======================================================================
FAIL: testNoVary (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 713, in testNoVary
self.assertEqual(response.fromcache, True, msg="Should be from cache")
AssertionError: Should be from cache
======================================================================
FAIL: testOverrideEtag (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 611, in testOverrideEtag
self.assertTrue(d.has_key('HTTP_IF_NONE_MATCH'))
AssertionError
======================================================================
FAIL: testUpdateInvalidatesCache (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 934, in testUpdateInvalidatesCache
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testUpdatePatchUsesCachedETag (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 965, in testUpdatePatchUsesCachedETag
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testUpdateUsesCachedETag (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 950, in testUpdateUsesCachedETag
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testUpdateUsesCachedETagAndOCMethod (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 981, in testUpdateUsesCachedETagAndOCMethod
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testUpdateUsesCachedETagOverridden (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 996, in testUpdateUsesCachedETagOverridden
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testVaryHeaderDouble (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 729, in testVaryHeaderDouble
self.assertEqual(response.fromcache, True, msg="Should be from cache")
AssertionError: Should be from cache
======================================================================
FAIL: testVaryHeaderSimple (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 690, in testVaryHeaderSimple
self.assertEqual(response.fromcache, True, msg="Should be from cache")
AssertionError: Should be from cache
======================================================================
FAIL: testVaryUnusedHeader (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 751, in testVaryUnusedHeader
self.assertEqual(response.fromcache, True, msg="Should be from cache")
AssertionError: Should be from cache
----------------------------------------------------------------------
Ran 187 tests in 256.231s
FAILED (failures=22, errors=4)
* Testing of dev-python/httplib2-0.7.2 with CPython 2.6...
python2.6 httplib2test.py
.......................................................................................F....................................F..F....FFF.FF..F......EF..F...E.E...F...FF.......FFFFF..FFF...
======================================================================
ERROR: testGetIRI (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 220, in testGetIRI
(response, content) = self.http.request(uri, "GET")
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1339, in request
cached_value = self.cache.get(cachekey)
File "/usr/lib64/python2.6/site-packages/memcache.py", line 862, in get
return self._get('get', key)
File "/usr/lib64/python2.6/site-packages/memcache.py", line 813, in _get
self.check_key(key)
File "/usr/lib64/python2.6/site-packages/memcache.py", line 1014, in check_key
"Keys must be str()'s, not unicode. Convert your unicode "
MemcachedStringEncodingError: Keys must be str()'s, not unicode. Convert your unicode strings using mystring.encode(charset)!
======================================================================
ERROR: testGetViaHttps (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 454, in testGetViaHttps
(response, content) = self.http.request("https://www.google.com/adsense/", "GET")
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1445, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1245, in _request
(response, content) = self.request(location, redirect_method, body=body, headers = headers, redirections = redirections - 1)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1445, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1245, in _request
(response, content) = self.request(location, redirect_method, body=body, headers = headers, redirections = redirections - 1)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1339, in request
cached_value = self.cache.get(cachekey)
File "/usr/lib64/python2.6/site-packages/memcache.py", line 862, in get
return self._get('get', key)
File "/usr/lib64/python2.6/site-packages/memcache.py", line 813, in _get
self.check_key(key)
File "/usr/lib64/python2.6/site-packages/memcache.py", line 1023, in check_key
% self.server_max_key_length)
MemcachedKeyLengthError: Key length is > 250
======================================================================
ERROR: testGetViaHttpsSpecViolationOnLocation (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 462, in testGetViaHttpsSpecViolationOnLocation
(response, content) = self.http.request("https://www.google.com/adsense", "GET")
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1445, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1245, in _request
(response, content) = self.request(location, redirect_method, body=body, headers = headers, redirections = redirections - 1)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1445, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1245, in _request
(response, content) = self.request(location, redirect_method, body=body, headers = headers, redirections = redirections - 1)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1445, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1245, in _request
(response, content) = self.request(location, redirect_method, body=body, headers = headers, redirections = redirections - 1)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1339, in request
cached_value = self.cache.get(cachekey)
File "/usr/lib64/python2.6/site-packages/memcache.py", line 862, in get
return self._get('get', key)
File "/usr/lib64/python2.6/site-packages/memcache.py", line 813, in _get
self.check_key(key)
File "/usr/lib64/python2.6/site-packages/memcache.py", line 1023, in check_key
% self.server_max_key_length)
MemcachedKeyLengthError: Key length is > 250
======================================================================
FAIL: testHeadRead (__main__.HttpTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 246, in testHeadRead
self.assertEqual(content, "")
AssertionError: 'Google
' != ''
======================================================================
FAIL: testGet301 (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 347, in testGet301
self.assertEqual(response.previous.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGet302 (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 383, in testGet302
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGet304 (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 570, in testGet304
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGet304LastModified (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 645, in testGet304LastModified
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGet307 (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 659, in testGet307
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGetCacheControlNoCache (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 871, in testGetCacheControlNoCache
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGetCacheControlNoCacheNoStoreRequest (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 921, in testGetCacheControlNoCacheNoStoreRequest
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGetCacheControlPragmaNoCache (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 884, in testGetCacheControlPragmaNoCache
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGetIgnoreEtag (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 595, in testGetIgnoreEtag
self.assertTrue(d.has_key('HTTP_IF_NONE_MATCH'))
AssertionError
======================================================================
FAIL: testGetOnlyIfCachedCacheHit (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 261, in testGetOnlyIfCachedCacheHit
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testHeadRead (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 246, in testHeadRead
self.assertEqual(content, "")
AssertionError: 'Google
' != ''
======================================================================
FAIL: testNoVary (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 713, in testNoVary
self.assertEqual(response.fromcache, True, msg="Should be from cache")
AssertionError: Should be from cache
======================================================================
FAIL: testOverrideEtag (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 611, in testOverrideEtag
self.assertTrue(d.has_key('HTTP_IF_NONE_MATCH'))
AssertionError
======================================================================
FAIL: testUpdateInvalidatesCache (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 934, in testUpdateInvalidatesCache
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testUpdatePatchUsesCachedETag (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 965, in testUpdatePatchUsesCachedETag
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testUpdateUsesCachedETag (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 950, in testUpdateUsesCachedETag
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testUpdateUsesCachedETagAndOCMethod (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 981, in testUpdateUsesCachedETagAndOCMethod
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testUpdateUsesCachedETagOverridden (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 996, in testUpdateUsesCachedETagOverridden
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testVaryHeaderDouble (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 729, in testVaryHeaderDouble
self.assertEqual(response.fromcache, True, msg="Should be from cache")
AssertionError: Should be from cache
======================================================================
FAIL: testVaryHeaderSimple (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 690, in testVaryHeaderSimple
self.assertEqual(response.fromcache, True, msg="Should be from cache")
AssertionError: Should be from cache
======================================================================
FAIL: testVaryUnusedHeader (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 751, in testVaryUnusedHeader
self.assertEqual(response.fromcache, True, msg="Should be from cache")
AssertionError: Should be from cache
----------------------------------------------------------------------
Ran 187 tests in 235.555s
FAILED (failures=22, errors=3)
* Testing of dev-python/httplib2-0.7.2 with CPython 2.7...
python2.7 httplib2test.py
.......................................................................................F....................................F..F....FFF.FF..F......EF..F...E.E...F...FF.......FFFFF..FFF...
======================================================================
ERROR: testGetIRI (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 220, in testGetIRI
(response, content) = self.http.request(uri, "GET")
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1339, in request
cached_value = self.cache.get(cachekey)
File "/usr/lib64/python2.7/site-packages/memcache.py", line 862, in get
return self._get('get', key)
File "/usr/lib64/python2.7/site-packages/memcache.py", line 813, in _get
self.check_key(key)
File "/usr/lib64/python2.7/site-packages/memcache.py", line 1014, in check_key
"Keys must be str()'s, not unicode. Convert your unicode "
MemcachedStringEncodingError: Keys must be str()'s, not unicode. Convert your unicode strings using mystring.encode(charset)!
======================================================================
ERROR: testGetViaHttps (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 454, in testGetViaHttps
(response, content) = self.http.request("https://www.google.com/adsense/", "GET")
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1445, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1245, in _request
(response, content) = self.request(location, redirect_method, body=body, headers = headers, redirections = redirections - 1)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1445, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1245, in _request
(response, content) = self.request(location, redirect_method, body=body, headers = headers, redirections = redirections - 1)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1339, in request
cached_value = self.cache.get(cachekey)
File "/usr/lib64/python2.7/site-packages/memcache.py", line 862, in get
return self._get('get', key)
File "/usr/lib64/python2.7/site-packages/memcache.py", line 813, in _get
self.check_key(key)
File "/usr/lib64/python2.7/site-packages/memcache.py", line 1023, in check_key
% self.server_max_key_length)
MemcachedKeyLengthError: Key length is > 250
======================================================================
ERROR: testGetViaHttpsSpecViolationOnLocation (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 462, in testGetViaHttpsSpecViolationOnLocation
(response, content) = self.http.request("https://www.google.com/adsense", "GET")
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1445, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1245, in _request
(response, content) = self.request(location, redirect_method, body=body, headers = headers, redirections = redirections - 1)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1445, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1245, in _request
(response, content) = self.request(location, redirect_method, body=body, headers = headers, redirections = redirections - 1)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1445, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1245, in _request
(response, content) = self.request(location, redirect_method, body=body, headers = headers, redirections = redirections - 1)
File "/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python2/httplib2/__init__.py", line 1339, in request
cached_value = self.cache.get(cachekey)
File "/usr/lib64/python2.7/site-packages/memcache.py", line 862, in get
return self._get('get', key)
File "/usr/lib64/python2.7/site-packages/memcache.py", line 813, in _get
self.check_key(key)
File "/usr/lib64/python2.7/site-packages/memcache.py", line 1023, in check_key
% self.server_max_key_length)
MemcachedKeyLengthError: Key length is > 250
======================================================================
FAIL: testHeadRead (__main__.HttpTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 246, in testHeadRead
self.assertEqual(content, "")
AssertionError: 'Google
' != ''
======================================================================
FAIL: testGet301 (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 347, in testGet301
self.assertEqual(response.previous.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGet302 (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 383, in testGet302
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGet304 (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 570, in testGet304
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGet304LastModified (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 645, in testGet304LastModified
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGet307 (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 659, in testGet307
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGetCacheControlNoCache (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 871, in testGetCacheControlNoCache
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGetCacheControlNoCacheNoStoreRequest (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 921, in testGetCacheControlNoCacheNoStoreRequest
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGetCacheControlPragmaNoCache (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 884, in testGetCacheControlPragmaNoCache
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testGetIgnoreEtag (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 595, in testGetIgnoreEtag
self.assertTrue(d.has_key('HTTP_IF_NONE_MATCH'))
AssertionError: False is not true
======================================================================
FAIL: testGetOnlyIfCachedCacheHit (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 261, in testGetOnlyIfCachedCacheHit
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testHeadRead (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 246, in testHeadRead
self.assertEqual(content, "")
AssertionError: 'Google
' != ''
======================================================================
FAIL: testNoVary (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 713, in testNoVary
self.assertEqual(response.fromcache, True, msg="Should be from cache")
AssertionError: Should be from cache
======================================================================
FAIL: testOverrideEtag (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 611, in testOverrideEtag
self.assertTrue(d.has_key('HTTP_IF_NONE_MATCH'))
AssertionError: False is not true
======================================================================
FAIL: testUpdateInvalidatesCache (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 934, in testUpdateInvalidatesCache
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testUpdatePatchUsesCachedETag (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 965, in testUpdatePatchUsesCachedETag
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testUpdateUsesCachedETag (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 950, in testUpdateUsesCachedETag
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testUpdateUsesCachedETagAndOCMethod (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 981, in testUpdateUsesCachedETagAndOCMethod
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testUpdateUsesCachedETagOverridden (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 996, in testUpdateUsesCachedETagOverridden
self.assertEqual(response.fromcache, True)
AssertionError: False != True
======================================================================
FAIL: testVaryHeaderDouble (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 729, in testVaryHeaderDouble
self.assertEqual(response.fromcache, True, msg="Should be from cache")
AssertionError: Should be from cache
======================================================================
FAIL: testVaryHeaderSimple (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 690, in testVaryHeaderSimple
self.assertEqual(response.fromcache, True, msg="Should be from cache")
AssertionError: Should be from cache
======================================================================
FAIL: testVaryUnusedHeader (__main__.HttpTestMemCached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 751, in testVaryUnusedHeader
self.assertEqual(response.fromcache, True, msg="Should be from cache")
AssertionError: Should be from cache
----------------------------------------------------------------------
Ran 187 tests in 238.973s
FAILED (failures=22, errors=3)
* Testing of dev-python/httplib2-0.7.2 with CPython 3.2...
python3.2 httplib2test.py
............................................................................/usr/lib64/python3.2/unittest/case.py:370: ResourceWarning: unclosed
function()
..........F../usr/lib64/python3.2/unittest/case.py:370: ResourceWarning: unclosed
function()
....................
======================================================================
FAIL: testHeadRead (__main__.HttpTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "httplib2test.py", line 232, in testHeadRead
self.assertEqual(content, b"")
AssertionError: b'Google
' != b''
----------------------------------------------------------------------
Ran 109 tests in 74.077s
FAILED (failures=1)
* Testing of dev-python/httplib2-0.7.2 with PyPy 1.7 (Python 2.7)...
/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/temp/environment: line 4019: pushd: python1: No such file or directory
pypy-c1.7 httplib2test.py
Traceback (most recent call last):
File "app_main.py", line 51, in run_toplevel
IOError: [Errno 2] No such file or directory: 'httplib2test.py'
/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/temp/environment: line 4021: popd: directory stack empty
* ERROR: dev-python/httplib2-0.7.2 failed (test phase):
* Testing failed with PyPy 1.7 (Python 2.7) in testing() function
*
* Call stack:
* ebuild.sh, line 85: Called src_test
* environment, line 4023: Called python_execute_function 'testing'
* environment, line 2238: Called die
* The specific snippet of code:
* die "${_python[failure_message]}";
*
* If you need support, post the output of 'emerge --info =dev-python/httplib2-0.7.2',
* the complete build log and the output of 'emerge -pqv =dev-python/httplib2-0.7.2'.
* This ebuild used the following eclasses from overlays:
* /var/lib/layman/progress/eclass/distutils.eclass
* /var/lib/layman/progress/eclass/python.eclass
* This ebuild is from an overlay named 'progress': '/var/lib/layman/progress/'
* The complete build log is located at '/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/temp/build.log'.
* The ebuild environment file is located at '/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/temp/environment'.
* S: '/mnt/gen2/TmpDir/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2'