* Package: dev-python/pypiserver-1.3.1-r1  * Repository: gentoo  * Maintainer: python@gentoo.org  * USE: elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_6 sparc test userland_GNU  * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking pypiserver-1.3.1.tar.gz to /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work >>> Source unpacked in /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work >>> Preparing source in /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1 ... * Applying pypiserver-1.3.1-no-internet.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1 ... * python2_7: running distutils-r1_run_phase distutils-r1_python_compile * DISTUTILS_USE_SETUPTOOLS value is probably incorrect * value: DISTUTILS_USE_SETUPTOOLS=bdepend (default?) * expected: DISTUTILS_USE_SETUPTOOLS=rdepend python2.7 setup.py build running build running build_py creating /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1-python2_7/lib/pypiserver copying pypiserver/__main__.py -> /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1-python2_7/lib/pypiserver copying pypiserver/core.py -> /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1-python2_7/lib/pypiserver copying pypiserver/cache.py -> /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1-python2_7/lib/pypiserver copying pypiserver/__init__.py -> /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1-python2_7/lib/pypiserver copying pypiserver/manage.py -> /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1-python2_7/lib/pypiserver copying pypiserver/bottle.py -> /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1-python2_7/lib/pypiserver copying pypiserver/_app.py -> /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1-python2_7/lib/pypiserver copying pypiserver/welcome.html -> /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1-python2_7/lib/pypiserver warning: build_py: byte-compiling is disabled, skipping. * python3_6: running distutils-r1_run_phase distutils-r1_python_compile python3.6 setup.py build -j 20 running build running build_py creating /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1-python3_6/lib/pypiserver copying pypiserver/__main__.py -> /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1-python3_6/lib/pypiserver copying pypiserver/core.py -> /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1-python3_6/lib/pypiserver copying pypiserver/cache.py -> /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1-python3_6/lib/pypiserver copying pypiserver/__init__.py -> /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1-python3_6/lib/pypiserver copying pypiserver/manage.py -> /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1-python3_6/lib/pypiserver copying pypiserver/bottle.py -> /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1-python3_6/lib/pypiserver copying pypiserver/_app.py -> /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1-python3_6/lib/pypiserver copying pypiserver/welcome.html -> /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1-python3_6/lib/pypiserver warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: dev-python/pypiserver-1.3.1-r1 * python2_7: running distutils-r1_run_phase python_test * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p ========================================================================================================================= test session starts ========================================================================================================================== platform linux2 -- Python 2.7.16, pytest-4.6.9, py-1.8.0, pluggy-0.13.1 -- /usr/bin/python2.7 cachedir: .pytest_cache rootdir: /var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1, inifile: tox.ini plugins: forked-1.1.3, localserver-0.5.0, httpbin-1.0.0, pyfakefs-3.7.1, timeout-1.3.3, xdist-1.31.0, mock-1.11.2 collecting ... collected 299 items tests/test_app.py::test_fallback <- ../../../../../../../usr/lib/python2.7/unittest/case.py SKIPPED [ 0%] tests/test_app.py::test_root_count PASSED [ 0%] tests/test_app.py::test_root_hostname PASSED [ 1%] tests/test_app.py::test_root_welcome_msg_no_vars[ ] PASSED [ 1%] tests/test_app.py::test_root_welcome_msg_no_vars[Hey there!] PASSED [ 1%] tests/test_app.py::test_root_welcome_msg_no_vars[Hey there!] PASSED [ 2%] tests/test_app.py::test_root_welcome_msg_all_vars PASSED [ 2%] tests/test_app.py::test_root_welcome_msg_antiXSS PASSED [ 2%] tests/test_app.py::test_root_remove_not_found_msg_antiXSS PASSED [ 3%] tests/test_app.py::test_packages_redirect PASSED [ 3%] tests/test_app.py::test_packages_empty PASSED [ 3%] tests/test_app.py::test_favicon PASSED [ 4%] tests/test_app.py::test_no_fallback PASSED [ 4%] tests/test_app.py::test_serve_no_dotfiles PASSED [ 4%] tests/test_app.py::test_packages_list_no_dotfiles PASSED [ 5%] tests/test_app.py::test_simple_redirect PASSED [ 5%] tests/test_app.py::test_simple_list_no_dotfiles PASSED [ 5%] tests/test_app.py::test_simple_list_no_dotfiles2 PASSED [ 6%] tests/test_app.py::test_serve_no_dotdir PASSED [ 6%] tests/test_app.py::test_packages_list_no_dotdir PASSED [ 6%] tests/test_app.py::test_simple_list_no_dotdir PASSED [ 7%] tests/test_app.py::test_simple_list_no_dotdir2 PASSED [ 7%] tests/test_app.py::test_simple_name_redirect PASSED [ 7%] tests/test_app.py::test_simple_normalized_name_redirect[FooBar-foobar] PASSED [ 8%] tests/test_app.py::test_simple_normalized_name_redirect[Foo.Bar-foo-bar] PASSED [ 8%] tests/test_app.py::test_simple_normalized_name_redirect[foo_bar-foo-bar] PASSED [ 8%] tests/test_app.py::test_simple_normalized_name_redirect[Foo-Bar-foo-bar] PASSED [ 9%] tests/test_app.py::test_simple_normalized_name_redirect[foo--_.bar-foo-bar] PASSED [ 9%] tests/test_app.py::test_simple_index PASSED [ 9%] tests/test_app.py::test_simple_index_list PASSED [ 10%] tests/test_app.py::test_simple_index_case PASSED [ 10%] tests/test_app.py::test_nonroot_root PASSED [ 10%] tests/test_app.py::test_nonroot_root_with_x_forwarded_host PASSED [ 11%] tests/test_app.py::test_nonroot_root_with_x_forwarded_host_without_trailing_slash PASSED [ 11%] tests/test_app.py::test_nonroot_simple_index PASSED [ 11%] tests/test_app.py::test_nonroot_simple_index_with_x_forwarded_host PASSED [ 12%] tests/test_app.py::test_nonroot_simple_packages PASSED [ 12%] tests/test_app.py::test_nonroot_simple_packages_with_x_forwarded_host PASSED [ 12%] tests/test_app.py::test_root_no_relative_paths PASSED [ 13%] tests/test_app.py::test_simple_index_list_no_duplicates PASSED [ 13%] tests/test_app.py::test_simple_index_list_name_with_underscore PASSED [ 13%] tests/test_app.py::test_simple_index_egg_and_tarball PASSED [ 14%] tests/test_app.py::test_simple_index_list_name_with_underscore_no_egg PASSED [ 14%] tests/test_app.py::test_no_cache_control_set PASSED [ 14%] tests/test_app.py::test_cache_control_set PASSED [ 15%] tests/test_app.py::test_upload_noAction PASSED [ 15%] tests/test_app.py::test_upload_badAction PASSED [ 15%] tests/test_app.py::test_upload[pytz-2012b.tar.bz2] PASSED [ 16%] tests/test_app.py::test_upload[pytz-2012b.tgz] PASSED [ 16%] tests/test_app.py::test_upload[pytz-2012b.ZIP] PASSED [ 16%] tests/test_app.py::test_upload[pytz-2012a.zip] PASSED [ 17%] tests/test_app.py::test_upload[gevent-1.0b1.win32-py2.6.exe] PASSED [ 17%] tests/test_app.py::test_upload[gevent-1.0b1.win32-py2.7.msi] PASSED [ 17%] tests/test_app.py::test_upload[greenlet-0.3.4-py3.1-win-amd64.egg] PASSED [ 18%] tests/test_app.py::test_upload[greenlet-0.3.4.win-amd64-py3.2.exe] PASSED [ 18%] tests/test_app.py::test_upload[greenlet-0.3.4-py3.2-win32.egg] PASSED [ 18%] tests/test_app.py::test_upload[greenlet-0.3.4-py2.7-linux-x86_64.egg] PASSED [ 19%] tests/test_app.py::test_upload[pep8-0.6.0.zip] PASSED [ 19%] tests/test_app.py::test_upload[ABC12-34_V1X-1.2.3.zip] PASSED [ 19%] tests/test_app.py::test_upload[A100-200-XYZ-1.2.3.zip] PASSED [ 20%] tests/test_app.py::test_upload[flup-1.0.3.dev-20110405.tar.gz] PASSED [ 20%] tests/test_app.py::test_upload[package-1.0.0-alpha.1.zip] PASSED [ 20%] tests/test_app.py::test_upload[package-1.3.7+build.11.e0f985a.zip] PASSED [ 21%] tests/test_app.py::test_upload[package-v1-8.1.301.ga0df26f.zip] PASSED [ 21%] tests/test_app.py::test_upload[package-v1.1-8.1.301.ga0df26f.zip] PASSED [ 21%] tests/test_app.py::test_upload[package-2013.02.17.dev123.zip] PASSED [ 22%] tests/test_app.py::test_upload[package-20000101.zip] PASSED [ 22%] tests/test_app.py::test_upload[flup-123-1.0.3.dev-20110405.tar.gz] PASSED [ 22%] tests/test_app.py::test_upload[package-123-1.0.0-alpha.1.zip] PASSED [ 23%] tests/test_app.py::test_upload[package-123-1.3.7+build.11.e0f985a.zip] PASSED [ 23%] tests/test_app.py::test_upload[package-123-v1.1_3-8.1.zip] PASSED [ 23%] tests/test_app.py::test_upload[package-123-2013.02.17.dev123.zip] PASSED [ 24%] tests/test_app.py::test_upload[package-123-20000101.zip] PASSED [ 24%] tests/test_app.py::test_upload[pyelasticsearch-0.5-brainbot-1-20130712.zip] PASSED [ 24%] tests/test_app.py::test_upload[pywin32-217-cp27-none-win32.whl] PASSED [ 25%] tests/test_app.py::test_upload[pywin32-217-55-cp27-none-win32.whl] PASSED [ 25%] tests/test_app.py::test_upload[pywin32-217.1-cp27-none-win32.whl] PASSED [ 25%] tests/test_app.py::test_upload[package.zip] PASSED [ 26%] tests/test_app.py::test_upload[package-name-0.0.1.dev0.linux-x86_64.tar.gz] PASSED [ 26%] tests/test_app.py::test_upload[package-name-0.0.1.dev0.macosx-10.10-intel.tar.gz] PASSED [ 26%] tests/test_app.py::test_upload[package-name-0.0.1.alpha.1.win-amd64-py3.2.exe0] PASSED [ 27%] tests/test_app.py::test_upload[pkg-3!1.0-0.1.tgz] PASSED [ 27%] tests/test_app.py::test_upload[pkg-3!1+.0-0.1.tgz] PASSED [ 27%] tests/test_app.py::test_upload[pkg.zip] PASSED [ 28%] tests/test_app.py::test_upload[package-name-0.0.1.alpha.1.win-amd64-py3.2.exe1] PASSED [ 28%] tests/test_app.py::test_upload_with_signature[pytz-2012b.tar.bz2] PASSED [ 28%] tests/test_app.py::test_upload_with_signature[pytz-2012b.tgz] PASSED [ 29%] tests/test_app.py::test_upload_with_signature[pytz-2012b.ZIP] PASSED [ 29%] tests/test_app.py::test_upload_with_signature[pytz-2012a.zip] PASSED [ 29%] tests/test_app.py::test_upload_with_signature[gevent-1.0b1.win32-py2.6.exe] PASSED [ 30%] tests/test_app.py::test_upload_with_signature[gevent-1.0b1.win32-py2.7.msi] PASSED [ 30%] tests/test_app.py::test_upload_with_signature[greenlet-0.3.4-py3.1-win-amd64.egg] PASSED [ 30%] tests/test_app.py::test_upload_with_signature[greenlet-0.3.4.win-amd64-py3.2.exe] PASSED [ 31%] tests/test_app.py::test_upload_with_signature[greenlet-0.3.4-py3.2-win32.egg] PASSED [ 31%] tests/test_app.py::test_upload_with_signature[greenlet-0.3.4-py2.7-linux-x86_64.egg] PASSED [ 31%] tests/test_app.py::test_upload_with_signature[pep8-0.6.0.zip] PASSED [ 32%] tests/test_app.py::test_upload_with_signature[ABC12-34_V1X-1.2.3.zip] PASSED [ 32%] tests/test_app.py::test_upload_with_signature[A100-200-XYZ-1.2.3.zip] PASSED [ 32%] tests/test_app.py::test_upload_with_signature[flup-1.0.3.dev-20110405.tar.gz] PASSED [ 33%] tests/test_app.py::test_upload_with_signature[package-1.0.0-alpha.1.zip] PASSED [ 33%] tests/test_app.py::test_upload_with_signature[package-1.3.7+build.11.e0f985a.zip] PASSED [ 33%] tests/test_app.py::test_upload_with_signature[package-v1-8.1.301.ga0df26f.zip] PASSED [ 34%] tests/test_app.py::test_upload_with_signature[package-v1.1-8.1.301.ga0df26f.zip] PASSED [ 34%] tests/test_app.py::test_upload_with_signature[package-2013.02.17.dev123.zip] PASSED [ 34%] tests/test_app.py::test_upload_with_signature[package-20000101.zip] PASSED [ 35%] tests/test_app.py::test_upload_with_signature[flup-123-1.0.3.dev-20110405.tar.gz] PASSED [ 35%] tests/test_app.py::test_upload_with_signature[package-123-1.0.0-alpha.1.zip] PASSED [ 35%] tests/test_app.py::test_upload_with_signature[package-123-1.3.7+build.11.e0f985a.zip] PASSED [ 36%] tests/test_app.py::test_upload_with_signature[package-123-v1.1_3-8.1.zip] PASSED [ 36%] tests/test_app.py::test_upload_with_signature[package-123-2013.02.17.dev123.zip] PASSED [ 36%] tests/test_app.py::test_upload_with_signature[package-123-20000101.zip] PASSED [ 37%] tests/test_app.py::test_upload_with_signature[pyelasticsearch-0.5-brainbot-1-20130712.zip] PASSED [ 37%] tests/test_app.py::test_upload_with_signature[pywin32-217-cp27-none-win32.whl] PASSED [ 37%] tests/test_app.py::test_upload_with_signature[pywin32-217-55-cp27-none-win32.whl] PASSED [ 38%] tests/test_app.py::test_upload_with_signature[pywin32-217.1-cp27-none-win32.whl] PASSED [ 38%] tests/test_app.py::test_upload_with_signature[package.zip] PASSED [ 38%] tests/test_app.py::test_upload_with_signature[package-name-0.0.1.dev0.linux-x86_64.tar.gz] PASSED [ 39%] tests/test_app.py::test_upload_with_signature[package-name-0.0.1.dev0.macosx-10.10-intel.tar.gz] PASSED [ 39%] tests/test_app.py::test_upload_with_signature[package-name-0.0.1.alpha.1.win-amd64-py3.2.exe0] PASSED [ 39%] tests/test_app.py::test_upload_with_signature[pkg-3!1.0-0.1.tgz] PASSED [ 40%] tests/test_app.py::test_upload_with_signature[pkg-3!1+.0-0.1.tgz] PASSED [ 40%] tests/test_app.py::test_upload_with_signature[pkg.zip] PASSED [ 40%] tests/test_app.py::test_upload_with_signature[package-name-0.0.1.alpha.1.win-amd64-py3.2.exe1] PASSED [ 41%] tests/test_app.py::test_upload_badFilename[package0] SKIPPED [ 41%] tests/test_app.py::test_remove_pkg_missingNaveVersion[None-None] PASSED [ 41%] tests/test_app.py::test_remove_pkg_missingNaveVersion[None-] PASSED [ 42%] tests/test_app.py::test_remove_pkg_missingNaveVersion[-None] PASSED [ 42%] tests/test_app.py::test_remove_pkg_missingNaveVersion[None-1] PASSED [ 42%] tests/test_app.py::test_remove_pkg_missingNaveVersion[pkg-None] PASSED [ 43%] tests/test_app.py::test_remove_pkg_missingNaveVersion[-1] PASSED [ 43%] tests/test_app.py::test_remove_pkg_missingNaveVersion[pkg-] PASSED [ 43%] tests/test_app.py::test_remove_pkg_notFound PASSED [ 44%] tests/test_app.py::test_search[pkgs0-matches0] PASSED [ 44%] tests/test_app.py::test_search[pkgs1-matches1] PASSED [ 44%] tests/test_app.py::test_search[pkgs2-matches2] PASSED [ 45%] tests/test_app.py::test_search[pkgs3-matches3] PASSED [ 45%] tests/test_app.py::test_search[pkgs4-matches4] PASSED [ 45%] tests/test_app.py::test_search[pkgs5-matches5] PASSED [ 46%] tests/test_app.py::test_remove_pkg XFAIL [ 46%] tests/test_core.py::test_guess_pkgname_and_version[pytz-2012b.tar.bz2-pytz-2012b] PASSED [ 46%] tests/test_core.py::test_guess_pkgname_and_version[pytz-2012b.tgz-pytz-2012b] PASSED [ 47%] tests/test_core.py::test_guess_pkgname_and_version[pytz-2012b.ZIP-pytz-2012b] PASSED [ 47%] tests/test_core.py::test_guess_pkgname_and_version[pytz-2012a.zip-pytz-2012a] PASSED [ 47%] tests/test_core.py::test_guess_pkgname_and_version[gevent-1.0b1.win32-py2.6.exe-gevent-1.0b1] PASSED [ 48%] tests/test_core.py::test_guess_pkgname_and_version[gevent-1.0b1.win32-py2.7.msi-gevent-1.0b1] PASSED [ 48%] tests/test_core.py::test_guess_pkgname_and_version[greenlet-0.3.4-py3.1-win-amd64.egg-greenlet-0.3.4] PASSED [ 48%] tests/test_core.py::test_guess_pkgname_and_version[greenlet-0.3.4.win-amd64-py3.2.exe-greenlet-0.3.4] PASSED [ 49%] tests/test_core.py::test_guess_pkgname_and_version[greenlet-0.3.4-py3.2-win32.egg-greenlet-0.3.4] PASSED [ 49%] tests/test_core.py::test_guess_pkgname_and_version[greenlet-0.3.4-py2.7-linux-x86_64.egg-greenlet-0.3.4] PASSED [ 49%] tests/test_core.py::test_guess_pkgname_and_version[pep8-0.6.0.zip-pep8-0.6.0] PASSED [ 50%] tests/test_core.py::test_guess_pkgname_and_version[ABC12-34_V1X-1.2.3.zip-ABC12-34_V1X-1.2.3] PASSED [ 50%] tests/test_core.py::test_guess_pkgname_and_version[A100-200-XYZ-1.2.3.zip-A100-200-XYZ-1.2.3] PASSED [ 50%] tests/test_core.py::test_guess_pkgname_and_version[flup-1.0.3.dev-20110405.tar.gz-flup-1.0.3.dev-20110405] PASSED [ 51%] tests/test_core.py::test_guess_pkgname_and_version[package-1.0.0-alpha.1.zip-package-1.0.0-alpha.1] PASSED [ 51%] tests/test_core.py::test_guess_pkgname_and_version[package-1.3.7+build.11.e0f985a.zip-package-1.3.7+build.11.e0f985a] PASSED [ 51%] tests/test_core.py::test_guess_pkgname_and_version[package-v1-8.1.301.ga0df26f.zip-package-v1-8.1.301.ga0df26f] PASSED [ 52%] tests/test_core.py::test_guess_pkgname_and_version[package-v1.1-8.1.301.ga0df26f.zip-package-v1.1-8.1.301.ga0df26f] PASSED [ 52%] tests/test_core.py::test_guess_pkgname_and_version[package-2013.02.17.dev123.zip-package-2013.02.17.dev123] PASSED [ 52%] tests/test_core.py::test_guess_pkgname_and_version[package-20000101.zip-package-20000101] PASSED [ 53%] tests/test_core.py::test_guess_pkgname_and_version[flup-123-1.0.3.dev-20110405.tar.gz-flup-123-1.0.3.dev-20110405] PASSED [ 53%] tests/test_core.py::test_guess_pkgname_and_version[package-123-1.0.0-alpha.1.zip-package-123-1.0.0-alpha.1] PASSED [ 53%] tests/test_core.py::test_guess_pkgname_and_version[package-123-1.3.7+build.11.e0f985a.zip-package-123-1.3.7+build.11.e0f985a] PASSED [ 54%] tests/test_core.py::test_guess_pkgname_and_version[package-123-v1.1_3-8.1.zip-package-123-v1.1_3-8.1] PASSED [ 54%] tests/test_core.py::test_guess_pkgname_and_version[package-123-2013.02.17.dev123.zip-package-123-2013.02.17.dev123] PASSED [ 54%] tests/test_core.py::test_guess_pkgname_and_version[package-123-20000101.zip-package-123-20000101] PASSED [ 55%] tests/test_core.py::test_guess_pkgname_and_version[pyelasticsearch-0.5-brainbot-1-20130712.zip-pyelasticsearch-0.5-brainbot-1-20130712] PASSED [ 55%] tests/test_core.py::test_guess_pkgname_and_version[pywin32-217-cp27-none-win32.whl-pywin32-217] PASSED [ 55%] tests/test_core.py::test_guess_pkgname_and_version[pywin32-217-55-cp27-none-win32.whl-pywin32-217-55] PASSED [ 56%] tests/test_core.py::test_guess_pkgname_and_version[pywin32-217.1-cp27-none-win32.whl-pywin32-217.1] PASSED [ 56%] tests/test_core.py::test_guess_pkgname_and_version[package.zip-package-] PASSED [ 56%] tests/test_core.py::test_guess_pkgname_and_version[package-name-0.0.1.dev0.linux-x86_64.tar.gz-package-name-0.0.1.dev0] PASSED [ 57%] tests/test_core.py::test_guess_pkgname_and_version[package-name-0.0.1.dev0.macosx-10.10-intel.tar.gz-package-name-0.0.1.dev0] PASSED [ 57%] tests/test_core.py::test_guess_pkgname_and_version[package-name-0.0.1.alpha.1.win-amd64-py3.2.exe-package-name-0.0.1.alpha.10] PASSED [ 57%] tests/test_core.py::test_guess_pkgname_and_version[pkg-3!1.0-0.1.tgz-pkg-3!1.0-0.1] PASSED [ 58%] tests/test_core.py::test_guess_pkgname_and_version[pkg-3!1+.0-0.1.tgz-pkg-3!1+.0-0.1] PASSED [ 58%] tests/test_core.py::test_guess_pkgname_and_version[pkg.zip-pkg-] PASSED [ 58%] tests/test_core.py::test_guess_pkgname_and_version[foo/pkg.zip-pkg-] PASSED [ 59%] tests/test_core.py::test_guess_pkgname_and_version[foo/pkg-1b.zip-pkg-1b] PASSED [ 59%] tests/test_core.py::test_guess_pkgname_and_version[package-name-0.0.1.alpha.1.win-amd64-py3.2.exe-package-name-0.0.1.alpha.11] PASSED [ 59%] tests/test_core.py::test_guess_pkgname_and_version_asc[pytz-2012b.tar.bz2-pytz-2012b] PASSED [ 60%] tests/test_core.py::test_guess_pkgname_and_version_asc[pytz-2012b.tgz-pytz-2012b] PASSED [ 60%] tests/test_core.py::test_guess_pkgname_and_version_asc[pytz-2012b.ZIP-pytz-2012b] PASSED [ 60%] tests/test_core.py::test_guess_pkgname_and_version_asc[pytz-2012a.zip-pytz-2012a] PASSED [ 61%] tests/test_core.py::test_guess_pkgname_and_version_asc[gevent-1.0b1.win32-py2.6.exe-gevent-1.0b1] PASSED [ 61%] tests/test_core.py::test_guess_pkgname_and_version_asc[gevent-1.0b1.win32-py2.7.msi-gevent-1.0b1] PASSED [ 61%] tests/test_core.py::test_guess_pkgname_and_version_asc[greenlet-0.3.4-py3.1-win-amd64.egg-greenlet-0.3.4] PASSED [ 62%] tests/test_core.py::test_guess_pkgname_and_version_asc[greenlet-0.3.4.win-amd64-py3.2.exe-greenlet-0.3.4] PASSED [ 62%] tests/test_core.py::test_guess_pkgname_and_version_asc[greenlet-0.3.4-py3.2-win32.egg-greenlet-0.3.4] PASSED [ 62%] tests/test_core.py::test_guess_pkgname_and_version_asc[greenlet-0.3.4-py2.7-linux-x86_64.egg-greenlet-0.3.4] PASSED [ 63%] tests/test_core.py::test_guess_pkgname_and_version_asc[pep8-0.6.0.zip-pep8-0.6.0] PASSED [ 63%] tests/test_core.py::test_guess_pkgname_and_version_asc[ABC12-34_V1X-1.2.3.zip-ABC12-34_V1X-1.2.3] PASSED [ 63%] tests/test_core.py::test_guess_pkgname_and_version_asc[A100-200-XYZ-1.2.3.zip-A100-200-XYZ-1.2.3] PASSED [ 64%] tests/test_core.py::test_guess_pkgname_and_version_asc[flup-1.0.3.dev-20110405.tar.gz-flup-1.0.3.dev-20110405] PASSED [ 64%] tests/test_core.py::test_guess_pkgname_and_version_asc[package-1.0.0-alpha.1.zip-package-1.0.0-alpha.1] PASSED [ 64%] tests/test_core.py::test_guess_pkgname_and_version_asc[package-1.3.7+build.11.e0f985a.zip-package-1.3.7+build.11.e0f985a] PASSED [ 65%] tests/test_core.py::test_guess_pkgname_and_version_asc[package-v1-8.1.301.ga0df26f.zip-package-v1-8.1.301.ga0df26f] PASSED [ 65%] tests/test_core.py::test_guess_pkgname_and_version_asc[package-v1.1-8.1.301.ga0df26f.zip-package-v1.1-8.1.301.ga0df26f] PASSED [ 65%] tests/test_core.py::test_guess_pkgname_and_version_asc[package-2013.02.17.dev123.zip-package-2013.02.17.dev123] PASSED [ 66%] tests/test_core.py::test_guess_pkgname_and_version_asc[package-20000101.zip-package-20000101] PASSED [ 66%] tests/test_core.py::test_guess_pkgname_and_version_asc[flup-123-1.0.3.dev-20110405.tar.gz-flup-123-1.0.3.dev-20110405] PASSED [ 66%] tests/test_core.py::test_guess_pkgname_and_version_asc[package-123-1.0.0-alpha.1.zip-package-123-1.0.0-alpha.1] PASSED [ 67%] tests/test_core.py::test_guess_pkgname_and_version_asc[package-123-1.3.7+build.11.e0f985a.zip-package-123-1.3.7+build.11.e0f985a] PASSED [ 67%] tests/test_core.py::test_guess_pkgname_and_version_asc[package-123-v1.1_3-8.1.zip-package-123-v1.1_3-8.1] PASSED [ 67%] tests/test_core.py::test_guess_pkgname_and_version_asc[package-123-2013.02.17.dev123.zip-package-123-2013.02.17.dev123] PASSED [ 68%] tests/test_core.py::test_guess_pkgname_and_version_asc[package-123-20000101.zip-package-123-20000101] PASSED [ 68%] tests/test_core.py::test_guess_pkgname_and_version_asc[pyelasticsearch-0.5-brainbot-1-20130712.zip-pyelasticsearch-0.5-brainbot-1-20130712] PASSED [ 68%] tests/test_core.py::test_guess_pkgname_and_version_asc[pywin32-217-cp27-none-win32.whl-pywin32-217] PASSED [ 69%] tests/test_core.py::test_guess_pkgname_and_version_asc[pywin32-217-55-cp27-none-win32.whl-pywin32-217-55] PASSED [ 69%] tests/test_core.py::test_guess_pkgname_and_version_asc[pywin32-217.1-cp27-none-win32.whl-pywin32-217.1] PASSED [ 69%] tests/test_core.py::test_guess_pkgname_and_version_asc[package.zip-package-] PASSED [ 70%] tests/test_core.py::test_guess_pkgname_and_version_asc[package-name-0.0.1.dev0.linux-x86_64.tar.gz-package-name-0.0.1.dev0] PASSED [ 70%] tests/test_core.py::test_guess_pkgname_and_version_asc[package-name-0.0.1.dev0.macosx-10.10-intel.tar.gz-package-name-0.0.1.dev0] PASSED [ 70%] tests/test_core.py::test_guess_pkgname_and_version_asc[package-name-0.0.1.alpha.1.win-amd64-py3.2.exe-package-name-0.0.1.alpha.10] PASSED [ 71%] tests/test_core.py::test_guess_pkgname_and_version_asc[pkg-3!1.0-0.1.tgz-pkg-3!1.0-0.1] PASSED [ 71%] tests/test_core.py::test_guess_pkgname_and_version_asc[pkg-3!1+.0-0.1.tgz-pkg-3!1+.0-0.1] PASSED [ 71%] tests/test_core.py::test_guess_pkgname_and_version_asc[pkg.zip-pkg-] PASSED [ 72%] tests/test_core.py::test_guess_pkgname_and_version_asc[foo/pkg.zip-pkg-] PASSED [ 72%] tests/test_core.py::test_guess_pkgname_and_version_asc[foo/pkg-1b.zip-pkg-1b] PASSED [ 72%] tests/test_core.py::test_guess_pkgname_and_version_asc[package-name-0.0.1.alpha.1.win-amd64-py3.2.exe-package-name-0.0.1.alpha.11] PASSED [ 73%] tests/test_core.py::test_listdir_bad_name PASSED [ 73%] tests/test_core.py::test_hashfile[sha256-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855] PASSED [ 73%] tests/test_core.py::test_hashfile[md5-d41d8cd98f00b204e9800998ecf8427e] PASSED [ 74%] tests/test_core.py::test_fname_and_hash[md5] PASSED [ 74%] tests/test_core.py::test_fname_and_hash[sha256] PASSED [ 74%] tests/test_core.py::test_fname_and_hash[sha512] PASSED [ 75%] tests/test_core.py::test_redirect_prefix_encodes_newlines PASSED [ 75%] tests/test_core.py::test_normalize_pkgname_for_url_encodes_newlines PASSED [ 75%] tests/test_docs.py::test_READMEversion PASSED [ 76%] tests/test_init.py::test_paste_app_factory[conf_options0] PASSED [ 76%] tests/test_init.py::test_paste_app_factory[conf_options1] PASSED [ 76%] tests/test_init.py::test_paste_app_factory[conf_options2] PASSED [ 77%] tests/test_init.py::test_paste_app_factory[conf_options3] PASSED [ 77%] tests/test_init.py::test_app_factory PASSED [ 77%] tests/test_main.py::test_default_pkgdir PASSED [ 78%] tests/test_main.py::test_noargs PASSED [ 78%] tests/test_main.py::test_port PASSED [ 78%] tests/test_main.py::test_server PASSED [ 79%] tests/test_main.py::test_root PASSED [ 79%] tests/test_main.py::test_root_r PASSED [ 79%] tests/test_main.py::test_fallback_url PASSED [ 80%] tests/test_main.py::test_fallback_url_default PASSED [ 80%] tests/test_main.py::test_hash_algo_default PASSED [ 80%] tests/test_main.py::test_hash_algo PASSED [ 81%] tests/test_main.py::test_hash_algo_off PASSED [ 81%] tests/test_main.py::test_hash_algo_BAD PASSED [ 81%] tests/test_main.py::test_logging PASSED [ 82%] tests/test_main.py::test_logging_verbosity PASSED [ 82%] tests/test_main.py::test_welcome_file PASSED [ 82%] tests/test_main.py::test_welcome_file_default PASSED [ 83%] tests/test_main.py::test_password_without_auth_list PASSED [ 83%] tests/test_main.py::test_password_alone PASSED [ 83%] tests/test_main.py::test_dot_password_without_auth_list PASSED [ 84%] tests/test_manage.py::test_is_stable_version[1.0-True] PASSED [ 84%] tests/test_manage.py::test_is_stable_version[0.0.0-True] PASSED [ 84%] tests/test_manage.py::test_is_stable_version[1.1beta1-False] PASSED [ 85%] tests/test_manage.py::test_is_stable_version[1.2.10-123-True] PASSED [ 85%] tests/test_manage.py::test_is_stable_version[5.5.0-DEV-False] PASSED [ 85%] tests/test_manage.py::test_is_stable_version[1.2-rc1-False] PASSED [ 86%] tests/test_manage.py::test_is_stable_version[1.0b1-False] PASSED [ 86%] tests/test_manage.py::test_build_releases PASSED [ 86%] tests/test_manage.py::test_filter_stable_releases PASSED [ 87%] tests/test_manage.py::test_filter_latest_pkgs PASSED [ 87%] tests/test_manage.py::test_filter_latest_pkgs_case_insensitive PASSED [ 87%] tests/test_manage.py::test_pip_cmd_root[10.0.0-d] PASSED [ 88%] tests/test_manage.py::test_pip_cmd_root[10.0.0rc10-d] PASSED [ 88%] tests/test_manage.py::test_pip_cmd_root[10.0.0b10-d] PASSED [ 88%] tests/test_manage.py::test_pip_cmd_root[10.0.0a3-d] PASSED [ 89%] tests/test_manage.py::test_pip_cmd_root[10.0.0.dev8-d0] PASSED [ 89%] tests/test_manage.py::test_pip_cmd_root[10.0.0.dev8-d1] PASSED [ 89%] tests/test_manage.py::test_pip_cmd_root[18.0-d] PASSED [ 90%] tests/test_manage.py::test_pip_cmd_root[9.9.8-i] PASSED [ 90%] tests/test_manage.py::test_pip_cmd_root[9.9.8rc10-i] PASSED [ 90%] tests/test_manage.py::test_pip_cmd_root[9.9.8b10-i] PASSED [ 91%] tests/test_manage.py::test_pip_cmd_root[9.9.8a10-i] PASSED [ 91%] tests/test_manage.py::test_pip_cmd_root[9.9.8.dev10-i] PASSED [ 91%] tests/test_manage.py::test_pip_cmd_root[9.9-i] PASSED [ 92%] tests/test_manage.py::test_pip_cmd_update SKIPPED [ 92%] tests/test_manage.py::test_pip_cmd_update_index_overridden SKIPPED [ 92%] tests/test_manage.py::test_update_package SKIPPED [ 93%] tests/test_manage.py::test_update_package_dry_run PASSED [ 93%] tests/test_server.py::test_pipInstall_packageNotFound PASSED [ 93%] tests/test_server.py::test_pipInstall_openOk SKIPPED [ 94%] tests/test_server.py::test_pipInstall_authedFails SKIPPED [ 94%] tests/test_server.py::test_pipInstall_authedOk SKIPPED [ 94%] tests/test_server.py::test_setuptoolsUpload_open[bdist] PASSED [ 95%] tests/test_server.py::test_setuptoolsUpload_open[bdist_wheel] PASSED [ 95%] tests/test_server.py::test_setuptoolsUpload_authed[bdist] PASSED [ 95%] tests/test_server.py::test_setuptoolsUpload_authed[bdist_wheel] PASSED [ 96%] tests/test_server.py::test_setuptools_upload_partial_authed[bdist] PASSED [ 96%] tests/test_server.py::test_setuptools_upload_partial_authed[bdist_wheel] PASSED [ 96%] tests/test_server.py::test_partial_authed_open_download FAILED [ 97%] tests/test_server.py::test_twine_upload_open * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p PASSED [ 97%] tests/test_server.py::test_hash_algos[md5] SKIPPED [ 97%] tests/test_server.py::test_hash_algos[sha256] SKIPPED [ 98%] tests/test_server.py::test_hash_algos[sha512] SKIPPED [ 98%] tests/test_server.py::test_twine_upload_authed * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p PASSED [ 98%] tests/test_server.py::test_twine_upload_partial_authed * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p PASSED [ 99%] tests/test_server.py::test_twine_register_open * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p PASSED [ 99%] tests/test_server.py::test_twine_register_authed_ok * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p PASSED [100%] =============================================================================================================================== FAILURES =============================================================================================================================== __________________________________________________________________________________________________________________ test_partial_authed_open_download ___________________________________________________________________________________________________________________ empty_packdir = local('/var/tmp/portage/dev-python/pypiserver-1.3.1-r1/temp/pytest-of-portage/pytest-0/test_partial_authed_open_downl0/dists'), port = 8098 def test_partial_authed_open_download(empty_packdir, port): """Validate that partial auth still allows downloads.""" url = _build_url(port) + '/simple' with new_server(empty_packdir, port, authed='partial'): > resp = urlopen(url) tests/test_server.py:385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python2.7/urllib.py:87: in urlopen return opener.open(url) /usr/lib/python2.7/urllib.py:213: in open return getattr(self, name)(url) /usr/lib/python2.7/urllib.py:350: in open_http h.endheaders(data) /usr/lib/python2.7/httplib.py:1038: in endheaders self._send_output(message_body) /usr/lib/python2.7/httplib.py:882: in _send_output self.send(msg) /usr/lib/python2.7/httplib.py:844: in send self.connect() /usr/lib/python2.7/httplib.py:821: in connect self.timeout, self.source_address) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ address = ('localhost', 8098), timeout = , source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=None): """Connect to *address* and return the socket object. Convenience function. Connect to *address* (a 2-tuple ``(host, port)``) and return the socket object. Passing the optional *timeout* parameter will set the timeout on the socket instance before attempting to connect. If no *timeout* is supplied, the global default timeout setting returned by :func:`getdefaulttimeout` is used. If *source_address* is set it must be a tuple of (host, port) for the socket to bind as a source address before making the connection. A host of '' or port 0 tells the OS to use the default. """ host, port = address err = None for res in getaddrinfo(host, port, 0, SOCK_STREAM): af, socktype, proto, canonname, sa = res sock = None try: sock = socket(af, socktype, proto) if timeout is not _GLOBAL_DEFAULT_TIMEOUT: sock.settimeout(timeout) if source_address: sock.bind(source_address) sock.connect(sa) return sock except error as _: err = _ if sock is not None: sock.close() if err is not None: > raise err E IOError: [Errno socket error] [Errno 61] Connection refused /usr/lib/python2.7/socket.py:575: IOError ------------------------------------------------------------------------------------------------------------------------- Captured stdout call ------------------------------------------------------------------------------------------------------------------------- Killing Srv(proc=, port=8098, package=local('/var/tmp/portage/dev-python/pypiserver-1.3.1-r1/temp/pytest-of-portage/pytest-0/test_partial_authed_open_downl0/dists')) ==================================================================================================== 1 failed, 286 passed, 11 skipped, 1 xfailed in 430.49 seconds ===================================================================================================== * ERROR: dev-python/pypiserver-1.3.1-r1::gentoo failed (test phase): * Tests fail with python2.7 * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 2901: Called distutils-r1_src_test * environment, line 1055: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 442: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2452: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1837: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1835: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 710: Called distutils-r1_run_phase 'python_test' * environment, line 992: Called python_test * environment, line 2803: Called die * The specific snippet of code: * pytest -vv || die "Tests fail with ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/pypiserver-1.3.1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/pypiserver-1.3.1-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/pypiserver-1.3.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pypiserver-1.3.1-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1' * S: '/var/tmp/portage/dev-python/pypiserver-1.3.1-r1/work/pypiserver-1.3.1'