Created
November 4, 2016 04:40
-
-
Save protist/b8f758dad19c859dce2ec76408f0b443 to your computer and use it in GitHub Desktop.
makepkg for vdirsyncer 0.14.0-1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> Starting check()... | |
if [ "false" = "true" ]; then \ | |
coverage run --source=vdirsyncer/ --module pytest; \ | |
else \ | |
py.test; \ | |
fi; \ | |
STATUS="$?"; \ | |
set -e; \ | |
[ "false" != "true" ] || codecov; \ | |
[ "false" != "true" ] || scripts/upload-hypothesis-db.sh; \ | |
[ "$STATUS" = "0" ] | |
========================================= test session starts ========================================== | |
platform linux -- Python 3.5.2, pytest-3.0.3, py-1.4.31, pluggy-0.4.0 | |
rootdir: /tmp/vdirsyncer/src/vdirsyncer-0.14.0, inifile: setup.cfg | |
plugins: subtesthack-0.1.1, localserver-0.3.5, hypothesis-3.4.2 | |
collected 484 items | |
tests/test_metasync.py ....... | |
tests/test_repair.py .. | |
tests/test_sync.py ............................. | |
tests/cli/test_config.py ........... | |
tests/cli/test_discover.py ..... | |
tests/cli/test_fetchparams.py .......... | |
tests/cli/test_repair.py .. | |
tests/cli/test_sync.py .................... | |
tests/cli/test_utils.py . | |
tests/storage/test_filesystem.py ..............................................sss......ss...... | |
tests/storage/test_http.py ...F. | |
tests/storage/test_http_with_singlefile.py ......................................sssssss....sssss.ss | |
tests/storage/test_memory.py ......................................sssssss....sss...ss | |
tests/storage/test_remotestorage.py sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss | |
tests/storage/test_singlefile.py ....................................................ss.ss | |
tests/storage/dav/test_caldav.py ssssssssssssssssssssssssssssssssssssssssssssssssssssss | |
tests/storage/dav/test_carddav.py ssssssssssssssssssssssssss | |
tests/storage/dav/test_main.py . | |
tests/utils/test_main.py ..FF. | |
tests/utils/test_vobject.py ......... | |
=============================================== FAILURES =============================================== | |
_______________________________________ test_prepare_auth_guess ________________________________________ | |
""" | |
from collections import Mapping, MutableMapping | |
import sys | |
import requests | |
try: | |
from requests.packages.urllib3 import fields | |
from requests.packages.urllib3 import filepost | |
from requests.packages.urllib3 import poolmanager | |
except ImportError: | |
from urllib3 import fields | |
from urllib3 import filepost | |
from urllib3 import poolmanager | |
try: | |
from requests.packages.urllib3.connection import HTTPConnection | |
from requests.packages.urllib3 import connection | |
except ImportError: | |
try: | |
from urllib3.connection import HTTPConnection | |
from urllib3 import connection | |
except ImportError: | |
HTTPConnection = None | |
connection = None | |
if requests.__build__ < 0x020300: | |
timeout = None | |
else: | |
try: | |
from requests.packages.urllib3.util import timeout | |
except ImportError: | |
from urllib3.util import timeout | |
if requests.__build__ < 0x021000: | |
gaecontrib = None | |
else: | |
try: | |
> from requests.packages.urllib3.contrib import appengine as gaecontrib | |
/usr/lib/python3.5/site-packages/requests_toolbelt/_compat.py:49: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
""" | |
from __future__ import absolute_import | |
import logging | |
import os | |
import warnings | |
> from urlparse import urljoin | |
E ImportError: No module named 'urlparse' | |
/usr/lib/python3.5/site-packages/urllib3/contrib/appengine.py:45: ImportError | |
During handling of the above exception, another exception occurred: | |
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fce3a80e080> | |
def test_prepare_auth_guess(monkeypatch): | |
> import requests_toolbelt.auth.guess | |
tests/storage/test_http.py:105: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.5/site-packages/requests_toolbelt/__init__.py:12: in <module> | |
from .adapters import SSLAdapter, SourceAddressAdapter | |
/usr/lib/python3.5/site-packages/requests_toolbelt/adapters/__init__.py:12: in <module> | |
from .ssl import SSLAdapter | |
/usr/lib/python3.5/site-packages/requests_toolbelt/adapters/ssl.py:16: in <module> | |
from .._compat import poolmanager | |
/usr/lib/python3.5/site-packages/requests_toolbelt/_compat.py:51: in <module> | |
from urllib3.contrib import appengine as gaecontrib | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
""" | |
from __future__ import absolute_import | |
import logging | |
import os | |
import warnings | |
> from urlparse import urljoin | |
E ImportError: No module named 'urlparse' | |
/usr/lib/python3.5/site-packages/urllib3/contrib/appengine.py:45: ImportError | |
______ test_request_ssl_fingerprints[94:FD:7A:CB:50:75:A4:69:82:0A:F8:23:DF:07:FC:69:3E:CD:90:CA] ______ | |
""" | |
from collections import Mapping, MutableMapping | |
import sys | |
import requests | |
try: | |
from requests.packages.urllib3 import fields | |
from requests.packages.urllib3 import filepost | |
from requests.packages.urllib3 import poolmanager | |
except ImportError: | |
from urllib3 import fields | |
from urllib3 import filepost | |
from urllib3 import poolmanager | |
try: | |
from requests.packages.urllib3.connection import HTTPConnection | |
from requests.packages.urllib3 import connection | |
except ImportError: | |
try: | |
from urllib3.connection import HTTPConnection | |
from urllib3 import connection | |
except ImportError: | |
HTTPConnection = None | |
connection = None | |
if requests.__build__ < 0x020300: | |
timeout = None | |
else: | |
try: | |
from requests.packages.urllib3.util import timeout | |
except ImportError: | |
from urllib3.util import timeout | |
if requests.__build__ < 0x021000: | |
gaecontrib = None | |
else: | |
try: | |
> from requests.packages.urllib3.contrib import appengine as gaecontrib | |
/usr/lib/python3.5/site-packages/requests_toolbelt/_compat.py:49: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
""" | |
from __future__ import absolute_import | |
import logging | |
import os | |
import warnings | |
> from urlparse import urljoin | |
E ImportError: No module named 'urlparse' | |
/usr/lib/python3.5/site-packages/urllib3/contrib/appengine.py:45: ImportError | |
During handling of the above exception, another exception occurred: | |
session = <requests.sessions.Session object at 0x7fce3da94e10> | |
fingerprint = '94:FD:7A:CB:50:75:A4:69:82:0A:F8:23:DF:07:FC:69:3E:CD:90:CA' | |
def _install_fingerprint_adapter(session, fingerprint): | |
prefix = 'https://' | |
try: | |
> from requests_toolbelt.adapters.fingerprint import \ | |
FingerprintAdapter | |
vdirsyncer/utils/http.py:15: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
""" | |
> from .adapters import SSLAdapter, SourceAddressAdapter | |
/usr/lib/python3.5/site-packages/requests_toolbelt/__init__.py:12: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
""" | |
> from .ssl import SSLAdapter | |
/usr/lib/python3.5/site-packages/requests_toolbelt/adapters/__init__.py:12: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
""" | |
import requests | |
from requests.adapters import HTTPAdapter | |
> from .._compat import poolmanager | |
/usr/lib/python3.5/site-packages/requests_toolbelt/adapters/ssl.py:16: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
""" | |
from collections import Mapping, MutableMapping | |
import sys | |
import requests | |
try: | |
from requests.packages.urllib3 import fields | |
from requests.packages.urllib3 import filepost | |
from requests.packages.urllib3 import poolmanager | |
except ImportError: | |
from urllib3 import fields | |
from urllib3 import filepost | |
from urllib3 import poolmanager | |
try: | |
from requests.packages.urllib3.connection import HTTPConnection | |
from requests.packages.urllib3 import connection | |
except ImportError: | |
try: | |
from urllib3.connection import HTTPConnection | |
from urllib3 import connection | |
except ImportError: | |
HTTPConnection = None | |
connection = None | |
if requests.__build__ < 0x020300: | |
timeout = None | |
else: | |
try: | |
from requests.packages.urllib3.util import timeout | |
except ImportError: | |
from urllib3.util import timeout | |
if requests.__build__ < 0x021000: | |
gaecontrib = None | |
else: | |
try: | |
from requests.packages.urllib3.contrib import appengine as gaecontrib | |
except ImportError: | |
> from urllib3.contrib import appengine as gaecontrib | |
/usr/lib/python3.5/site-packages/requests_toolbelt/_compat.py:51: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
""" | |
from __future__ import absolute_import | |
import logging | |
import os | |
import warnings | |
> from urlparse import urljoin | |
E ImportError: No module named 'urlparse' | |
/usr/lib/python3.5/site-packages/urllib3/contrib/appengine.py:45: ImportError | |
During handling of the above exception, another exception occurred: | |
httpsserver = <SecureContentServer(<class 'pytest_localserver.https.SecureContentServer'>, started 140523469793024)> | |
fingerprint = '94:FD:7A:CB:50:75:A4:69:82:0A:F8:23:DF:07:FC:69:3E:CD:90:CA' | |
@pytest.mark.skipif(_fingerprints_broken(), | |
reason='https://github.com/shazow/urllib3/issues/529') | |
@pytest.mark.parametrize('fingerprint', [ | |
'94:FD:7A:CB:50:75:A4:69:82:0A:F8:23:DF:07:FC:69:3E:CD:90:CA', | |
'19:90:F7:23:94:F2:EF:AB:2B:64:2D:57:3D:25:95:2D' | |
]) | |
def test_request_ssl_fingerprints(httpsserver, fingerprint): | |
httpsserver.serve_content('') # we need to serve something | |
utils.http.request('GET', httpsserver.url, verify=False, | |
> verify_fingerprint=fingerprint) | |
tests/utils/test_main.py:58: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
vdirsyncer/utils/http.py:47: in request | |
_install_fingerprint_adapter(session, verify_fingerprint) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
session = <requests.sessions.Session object at 0x7fce3da94e10> | |
fingerprint = '94:FD:7A:CB:50:75:A4:69:82:0A:F8:23:DF:07:FC:69:3E:CD:90:CA' | |
def _install_fingerprint_adapter(session, fingerprint): | |
prefix = 'https://' | |
try: | |
from requests_toolbelt.adapters.fingerprint import \ | |
FingerprintAdapter | |
except ImportError: | |
> raise RuntimeError('`verify_fingerprint` can only be used with ' | |
'requests-toolbelt versions >= 0.4.0') | |
E RuntimeError: `verify_fingerprint` can only be used with requests-toolbelt versions >= 0.4.0 | |
vdirsyncer/utils/http.py:18: RuntimeError | |
____________ test_request_ssl_fingerprints[19:90:F7:23:94:F2:EF:AB:2B:64:2D:57:3D:25:95:2D] ____________ | |
""" | |
from collections import Mapping, MutableMapping | |
import sys | |
import requests | |
try: | |
from requests.packages.urllib3 import fields | |
from requests.packages.urllib3 import filepost | |
from requests.packages.urllib3 import poolmanager | |
except ImportError: | |
from urllib3 import fields | |
from urllib3 import filepost | |
from urllib3 import poolmanager | |
try: | |
from requests.packages.urllib3.connection import HTTPConnection | |
from requests.packages.urllib3 import connection | |
except ImportError: | |
try: | |
from urllib3.connection import HTTPConnection | |
from urllib3 import connection | |
except ImportError: | |
HTTPConnection = None | |
connection = None | |
if requests.__build__ < 0x020300: | |
timeout = None | |
else: | |
try: | |
from requests.packages.urllib3.util import timeout | |
except ImportError: | |
from urllib3.util import timeout | |
if requests.__build__ < 0x021000: | |
gaecontrib = None | |
else: | |
try: | |
> from requests.packages.urllib3.contrib import appengine as gaecontrib | |
/usr/lib/python3.5/site-packages/requests_toolbelt/_compat.py:49: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
""" | |
from __future__ import absolute_import | |
import logging | |
import os | |
import warnings | |
> from urlparse import urljoin | |
E ImportError: No module named 'urlparse' | |
/usr/lib/python3.5/site-packages/urllib3/contrib/appengine.py:45: ImportError | |
During handling of the above exception, another exception occurred: | |
session = <requests.sessions.Session object at 0x7fce3a11e0f0> | |
fingerprint = '19:90:F7:23:94:F2:EF:AB:2B:64:2D:57:3D:25:95:2D' | |
def _install_fingerprint_adapter(session, fingerprint): | |
prefix = 'https://' | |
try: | |
> from requests_toolbelt.adapters.fingerprint import \ | |
FingerprintAdapter | |
vdirsyncer/utils/http.py:15: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
""" | |
> from .adapters import SSLAdapter, SourceAddressAdapter | |
/usr/lib/python3.5/site-packages/requests_toolbelt/__init__.py:12: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
""" | |
> from .ssl import SSLAdapter | |
/usr/lib/python3.5/site-packages/requests_toolbelt/adapters/__init__.py:12: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
""" | |
import requests | |
from requests.adapters import HTTPAdapter | |
> from .._compat import poolmanager | |
/usr/lib/python3.5/site-packages/requests_toolbelt/adapters/ssl.py:16: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
""" | |
from collections import Mapping, MutableMapping | |
import sys | |
import requests | |
try: | |
from requests.packages.urllib3 import fields | |
from requests.packages.urllib3 import filepost | |
from requests.packages.urllib3 import poolmanager | |
except ImportError: | |
from urllib3 import fields | |
from urllib3 import filepost | |
from urllib3 import poolmanager | |
try: | |
from requests.packages.urllib3.connection import HTTPConnection | |
from requests.packages.urllib3 import connection | |
except ImportError: | |
try: | |
from urllib3.connection import HTTPConnection | |
from urllib3 import connection | |
except ImportError: | |
HTTPConnection = None | |
connection = None | |
if requests.__build__ < 0x020300: | |
timeout = None | |
else: | |
try: | |
from requests.packages.urllib3.util import timeout | |
except ImportError: | |
from urllib3.util import timeout | |
if requests.__build__ < 0x021000: | |
gaecontrib = None | |
else: | |
try: | |
from requests.packages.urllib3.contrib import appengine as gaecontrib | |
except ImportError: | |
> from urllib3.contrib import appengine as gaecontrib | |
/usr/lib/python3.5/site-packages/requests_toolbelt/_compat.py:51: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
""" | |
from __future__ import absolute_import | |
import logging | |
import os | |
import warnings | |
> from urlparse import urljoin | |
E ImportError: No module named 'urlparse' | |
/usr/lib/python3.5/site-packages/urllib3/contrib/appengine.py:45: ImportError | |
During handling of the above exception, another exception occurred: | |
httpsserver = <SecureContentServer(<class 'pytest_localserver.https.SecureContentServer'>, started 140523469793024)> | |
fingerprint = '19:90:F7:23:94:F2:EF:AB:2B:64:2D:57:3D:25:95:2D' | |
@pytest.mark.skipif(_fingerprints_broken(), | |
reason='https://github.com/shazow/urllib3/issues/529') | |
@pytest.mark.parametrize('fingerprint', [ | |
'94:FD:7A:CB:50:75:A4:69:82:0A:F8:23:DF:07:FC:69:3E:CD:90:CA', | |
'19:90:F7:23:94:F2:EF:AB:2B:64:2D:57:3D:25:95:2D' | |
]) | |
def test_request_ssl_fingerprints(httpsserver, fingerprint): | |
httpsserver.serve_content('') # we need to serve something | |
utils.http.request('GET', httpsserver.url, verify=False, | |
> verify_fingerprint=fingerprint) | |
tests/utils/test_main.py:58: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
vdirsyncer/utils/http.py:47: in request | |
_install_fingerprint_adapter(session, verify_fingerprint) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
session = <requests.sessions.Session object at 0x7fce3a11e0f0> | |
fingerprint = '19:90:F7:23:94:F2:EF:AB:2B:64:2D:57:3D:25:95:2D' | |
def _install_fingerprint_adapter(session, fingerprint): | |
prefix = 'https://' | |
try: | |
from requests_toolbelt.adapters.fingerprint import \ | |
FingerprintAdapter | |
except ImportError: | |
> raise RuntimeError('`verify_fingerprint` can only be used with ' | |
'requests-toolbelt versions >= 0.4.0') | |
E RuntimeError: `verify_fingerprint` can only be used with requests-toolbelt versions >= 0.4.0 | |
vdirsyncer/utils/http.py:18: RuntimeError | |
======================================== pytest-warning summary ======================================== | |
WC1 None pytest_funcarg__httpserver: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. | |
WC1 None pytest_funcarg__httpsserver: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. | |
WC1 None pytest_funcarg__smtpserver: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. | |
================ 3 failed, 303 passed, 178 skipped, 3 pytest-warnings in 11.65 seconds ================= | |
make: *** [Makefile:34: test] Error 1 | |
==> ERROR: A failure occurred in check(). | |
Aborting... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment