* Package: dev-python/jsonref-0.1 * Repository: gentoo * Maintainer: dolsen@gentoo.org python@gentoo.org * Upstream: chase.sterling@gmail.com * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking jsonref-0.1.tar.gz to /var/tmp/portage/dev-python/jsonref-0.1/work >>> Source unpacked in /var/tmp/portage/dev-python/jsonref-0.1/work >>> Preparing source in /var/tmp/portage/dev-python/jsonref-0.1/work/jsonref-0.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/jsonref-0.1/work/jsonref-0.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/jsonref-0.1/work/jsonref-0.1 ... * python2_7: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python2.7 setup.py build running build running build_py copying jsonref.py -> /var/tmp/portage/dev-python/jsonref-0.1/work/jsonref-0.1-python2_7/lib copying proxytypes.py -> /var/tmp/portage/dev-python/jsonref-0.1/work/jsonref-0.1-python2_7/lib warning: build_py: byte-compiling is disabled, skipping. * python3_4: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python3.4 setup.py build running build running build_py copying jsonref.py -> /var/tmp/portage/dev-python/jsonref-0.1/work/jsonref-0.1-python3_4/lib copying proxytypes.py -> /var/tmp/portage/dev-python/jsonref-0.1/work/jsonref-0.1-python3_4/lib warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: dev-python/jsonref-0.1 * python2_7: running distutils-r1_run_phase python_test ============================= test session starts ============================== platform linux2 -- Python 2.7.14, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 metadata: {'Python': '2.7.14', 'Platform': 'Linux-4.13.10-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1', 'Packages': {'py': '1.4.34', 'pytest': u'3.2.2', 'pluggy': '0.4.0'}, 'Plugins': {'cython': '0.1.0', 'localserver': '0.3.7', 'cov': '2.5.1', 'pythonpath': '0.7.1', 'xdist': '1.15.0', 'xprocess': '0.12.1', 'pep8': '1.0.6', 'capturelog': '0.7', 'forked': '0.2', 'flake8': '0.8.1', 'metadata': '1.3.0'}} rootdir: /var/tmp/portage/dev-python/jsonref-0.1/work/jsonref-0.1, inifile: plugins: xprocess-0.12.1, xdist-1.15.0, pythonpath-0.7.1, pep8-1.0.6, metadata-1.3.0, localserver-0.3.7, forked-0.2, flake8-0.8.1, cython-0.1.0, cov-2.5.1, capturelog-0.7 collected 59 items tests.py ........................................................... =============================== warnings summary =============================== :171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument None pytest_funcarg__caplog: 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. pytest_funcarg__capturelog: 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. -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 59 passed, 3 warnings in 0.91 seconds ===================== * python3_4: running distutils-r1_run_phase python_test ============================= test session starts ============================== platform linux -- Python 3.4.6, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 metadata: {'Packages': {'py': '1.4.34', 'pluggy': '0.4.0', 'pytest': '3.2.2'}, 'Python': '3.4.6', 'Plugins': {'cov': '2.5.1', 'xonsh': '0.4.7', 'cython': '0.1.0', 'pythonpath': '0.7.1', 'localserver': '0.3.7', 'metadata': '1.3.0', 'capturelog': '0.7', 'xdist': '1.15.0', 'xprocess': '0.12.1', 'pep8': '1.0.6', 'flake8': '0.8.1', 'forked': '0.2'}, 'Platform': 'Linux-4.13.10-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1'} rootdir: /var/tmp/portage/dev-python/jsonref-0.1/work/jsonref-0.1, inifile: plugins: xonsh-0.4.7, xprocess-0.12.1, xdist-1.15.0, pythonpath-0.7.1, pep8-1.0.6, metadata-1.3.0, localserver-0.3.7, forked-0.2, flake8-0.8.1, cython-0.1.0, cov-2.5.1, capturelog-0.7 collected 59 items tests.py ...............................F.........F.........F....... =================================== FAILURES =================================== ________________________ TestProxies.test_dicts[Proxy] _________________________ self = def test_dicts(self): for d in ({"a": 3, 4: 2, 1.5: "b"}, {}, {"": ""}): for op in ( sorted, set, len, lambda x: sorted(iter(x)), operator.methodcaller("get", "a") ): self.check_func(op, d) p = self.proxify(d) # Use sets to make sure order doesn't matter assert set(p.items()) == set(d.items()) assert set(p.keys()) == set(d.keys()) assert set(p.values()) == set(d.values()) > self.check_basics(d) tests.py:469: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests.py:440: in check_basics self.check_func(f, v) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = func = , value = {4: 2, 'a': 3, 1.5: 'b'} other = def check_func(self, func, value, other=_unset): """ Checks func works the same with `value` as when `value` is proxied. """ p = self.proxify(value) args = [] if other is not _unset: args = [other] try: result = func(value, *args) except Exception as e: with pytest.raises(type(e)): func(p, *args) else: > assert func(p, *args) == result E assert "{'a': 3, 4: 2, 1.5: 'b'}" == "{4: 2, 'a': 3, 1.5: 'b'}" E - {'a': 3, 4: 2, 1.5: 'b'} E ? ------ E + {4: 2, 'a': 3, 1.5: 'b'} E ? ++++++ tests.py:359: AssertionError ____________________ TestProxies.test_dicts[CallbackProxy] _____________________ self = def test_dicts(self): for d in ({"a": 3, 4: 2, 1.5: "b"}, {}, {"": ""}): for op in ( sorted, set, len, lambda x: sorted(iter(x)), operator.methodcaller("get", "a") ): self.check_func(op, d) p = self.proxify(d) # Use sets to make sure order doesn't matter assert set(p.items()) == set(d.items()) assert set(p.keys()) == set(d.keys()) assert set(p.values()) == set(d.values()) > self.check_basics(d) tests.py:469: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests.py:440: in check_basics self.check_func(f, v) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = func = , value = {4: 2, 'a': 3, 1.5: 'b'} other = def check_func(self, func, value, other=_unset): """ Checks func works the same with `value` as when `value` is proxied. """ p = self.proxify(value) args = [] if other is not _unset: args = [other] try: result = func(value, *args) except Exception as e: with pytest.raises(type(e)): func(p, *args) else: > assert func(p, *args) == result E assert "{'a': 3, 4: 2, 1.5: 'b'}" == "{4: 2, 'a': 3, 1.5: 'b'}" E - {'a': 3, 4: 2, 1.5: 'b'} E ? ------ E + {4: 2, 'a': 3, 1.5: 'b'} E ? ++++++ tests.py:359: AssertionError ______________________ TestProxies.test_dicts[LazyProxy] _______________________ self = def test_dicts(self): for d in ({"a": 3, 4: 2, 1.5: "b"}, {}, {"": ""}): for op in ( sorted, set, len, lambda x: sorted(iter(x)), operator.methodcaller("get", "a") ): self.check_func(op, d) p = self.proxify(d) # Use sets to make sure order doesn't matter assert set(p.items()) == set(d.items()) assert set(p.keys()) == set(d.keys()) assert set(p.values()) == set(d.values()) > self.check_basics(d) tests.py:469: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests.py:440: in check_basics self.check_func(f, v) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = func = , value = {4: 2, 'a': 3, 1.5: 'b'} other = def check_func(self, func, value, other=_unset): """ Checks func works the same with `value` as when `value` is proxied. """ p = self.proxify(value) args = [] if other is not _unset: args = [other] try: result = func(value, *args) except Exception as e: with pytest.raises(type(e)): func(p, *args) else: > assert func(p, *args) == result E assert "{'a': 3, 4: 2, 1.5: 'b'}" == "{4: 2, 'a': 3, 1.5: 'b'}" E - {'a': 3, 4: 2, 1.5: 'b'} E ? ------ E + {4: 2, 'a': 3, 1.5: 'b'} E ? ++++++ tests.py:359: AssertionError =============================== warnings summary =============================== :171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument None pytest_funcarg__caplog: 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. pytest_funcarg__capturelog: 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. -- Docs: http://doc.pytest.org/en/latest/warnings.html =============== 3 failed, 56 passed, 3 warnings in 1.52 seconds ================ * ERROR: dev-python/jsonref-0.1::gentoo failed (test phase): * (no error message) * * Call stack: * ebuild.sh, line 124: Called src_test * environment, line 3782: Called distutils-r1_src_test * environment, line 1054: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 346: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 3306: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2413: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2411: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 641: Called distutils-r1_run_phase 'python_test' * environment, line 985: Called python_test * environment, line 3662: Called die * The specific snippet of code: * py.test tests.py || die * * If you need support, post the output of `emerge --info '=dev-python/jsonref-0.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/jsonref-0.1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-python:jsonref-0.1:20171030-084333.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/jsonref-0.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/jsonref-0.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/jsonref-0.1/work/jsonref-0.1' * S: '/var/tmp/portage/dev-python/jsonref-0.1/work/jsonref-0.1'