Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 638498 Details for
Bug 722796
dev-python/pip-20.1: test failures (test_entrypoints_work[entrypoint0,1,2])
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log (test phase)
file_722796.txt (text/plain), 36.21 KB, created by
Sam James
on 2020-05-13 03:11:37 UTC
(
hide
)
Description:
build.log (test phase)
Filename:
MIME Type:
Creator:
Sam James
Created:
2020-05-13 03:11:37 UTC
Size:
36.21 KB
patch
obsolete
># tail -n 700 /var/tmp/portage/dev-python/pip-20.1/temp/build.log >tests/unit/resolution_resolvelib/test_requirement.py::test_new_resolver_full_resolve PASSED [ 99%] >tests/unit/resolution_resolvelib/test_resolver.py::test_new_resolver_get_installation_order[edges0-ordered_reqs0] PASSED [ 99%] >tests/unit/resolution_resolvelib/test_resolver.py::test_new_resolver_get_installation_order[edges1-ordered_reqs1] PASSED [ 99%] >tests/unit/resolution_resolvelib/test_resolver.py::test_new_resolver_get_installation_order[edges2-ordered_reqs2] PASSED [100%] > >========================================================================================== FAILURES =========================================================================================== >_____________________________________________________________________________ test_entrypoints_work[entrypoint0] ______________________________________________________________________________ > >entrypoint = ('fake_pip = pip._internal.main:main',), script = <tests.lib.PipTestEnvironment object at 0xffff96f30950> > > @pytest.mark.parametrize("entrypoint", [ > ("fake_pip = pip._internal.main:main",), > ("fake_pip = pip._internal:main",), > ("fake_pip = pip:main",), > ]) > def test_entrypoints_work(entrypoint, script): > fake_pkg = script.temp_path / "fake_pkg" > fake_pkg.mkdir() > fake_pkg.joinpath("setup.py").write_text(dedent(""" > from setuptools import setup > > setup( > name="fake-pip", > version="0.1.0", > entry_points={{ > "console_scripts": [ > {!r} > ] > }} > ) > """.format(entrypoint))) > > # expect_temp=True, because pip install calls setup.py which > # in turn creates fake_pkg.egg-info. > script.pip("install", "-vvv", str(fake_pkg), expect_temp=True) > result = script.pip("-V") >> result2 = script.run("fake_pip", "-V", allow_stderr_warning=True) > >tests/functional/test_cli.py:34: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/lib/__init__.py:597: in run > result = super(PipTestEnvironment, self).run(cwd=cwd, *args, **kw) >/usr/lib64/python2.7/subprocess.py:394: in __init__ > errread, errwrite) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <subprocess.Popen object at 0xffff970d3d50>, args = ['fake_pip', '-V'], executable = 'fake_pip', preexec_fn = None, close_fds = False >cwd = Path('/var/tmp/portage/dev-python/pip-20.1/temp/pytest-of-portage/pytest-0/test_entrypoints_work_entrypoi0/workspace/scratch') >env = {'A': 'pip-20.1.tar.gz setuptools-44.0.0-py2.py3-none-any.whl wheel-0.34.2-py2.py3-none-any.whl', 'ABI': 'arm64', 'ABI_MIPS': '', 'ABI_PPC': '', ...}, universal_newlines = False >startupinfo = None, creationflags = 0, shell = False, to_close = set([10, 12, 14]), p2cread = 8, p2cwrite = 10, c2pread = 12, c2pwrite = 13, errread = 14, errwrite = 15 > > def _execute_child(self, args, executable, preexec_fn, close_fds, > cwd, env, universal_newlines, > startupinfo, creationflags, shell, to_close, > p2cread, p2cwrite, > c2pread, c2pwrite, > errread, errwrite): > """Execute program (POSIX version)""" > > if isinstance(args, types.StringTypes): > args = [args] > else: > args = list(args) > > if shell: > args = ["/bin/sh", "-c"] + args > if executable: > args[0] = executable > > if executable is None: > executable = args[0] > > def _close_in_parent(fd): > os.close(fd) > to_close.remove(fd) > > # For transferring possible exec failure from child to parent > # The first char specifies the exception type: 0 means > # OSError, 1 means some other error. > errpipe_read, errpipe_write = self.pipe_cloexec() > try: > try: > with self._disabling_gc_lock: > gc_was_enabled = gc.isenabled() > # Disable gc to avoid bug where gc -> file_dealloc -> > # write to stderr -> hang. > # https://bugs.python.org/issue1336 > gc.disable() > try: > self.pid = os.fork() > except: > if gc_was_enabled: > gc.enable() > raise > self._child_created = True > if self.pid == 0: > # Child > try: > # Close parent's pipe ends > if p2cwrite is not None: > os.close(p2cwrite) > if c2pread is not None: > os.close(c2pread) > if errread is not None: > os.close(errread) > os.close(errpipe_read) > > # When duping fds, if there arises a situation > # where one of the fds is either 0, 1 or 2, it > # is possible that it is overwritten (#12607). > if c2pwrite == 0: > c2pwrite = os.dup(c2pwrite) > if errwrite == 0 or errwrite == 1: > errwrite = os.dup(errwrite) > > # Dup fds for child > def _dup2(a, b): > # dup2() removes the CLOEXEC flag but > # we must do it ourselves if dup2() > # would be a no-op (issue #10806). > if a == b: > self._set_cloexec_flag(a, False) > elif a is not None: > os.dup2(a, b) > _dup2(p2cread, 0) > _dup2(c2pwrite, 1) > _dup2(errwrite, 2) > > # Close pipe fds. Make sure we don't close the > # same fd more than once, or standard fds. > closed = { None } > for fd in [p2cread, c2pwrite, errwrite]: > if fd not in closed and fd > 2: > os.close(fd) > closed.add(fd) > > if cwd is not None: > os.chdir(cwd) > > if preexec_fn: > preexec_fn() > > # Close all other fds, if asked for - after > # preexec_fn(), which may open FDs. > if close_fds: > self._close_fds(but=errpipe_write) > > if env is None: > os.execvp(executable, args) > else: > os.execvpe(executable, args, env) > > except: > exc_type, exc_value, tb = sys.exc_info() > # Save the traceback and attach it to the exception object > exc_lines = traceback.format_exception(exc_type, > exc_value, > tb) > exc_value.child_traceback = ''.join(exc_lines) > os.write(errpipe_write, pickle.dumps(exc_value)) > > finally: > # This exitcode won't be reported to applications, so it > # really doesn't matter what we return. > os._exit(255) > > # Parent > if gc_was_enabled: > gc.enable() > finally: > # be sure the FD is closed no matter what > os.close(errpipe_write) > > # Wait for exec to fail or succeed; possibly raising exception > data = _eintr_retry_call(os.read, errpipe_read, 1048576) > pickle_bits = [] > while data: > pickle_bits.append(data) > data = _eintr_retry_call(os.read, errpipe_read, 1048576) > data = "".join(pickle_bits) > finally: > if p2cread is not None and p2cwrite is not None: > _close_in_parent(p2cread) > if c2pwrite is not None and c2pread is not None: > _close_in_parent(c2pwrite) > if errwrite is not None and errread is not None: > _close_in_parent(errwrite) > > # be sure the FD is closed no matter what > os.close(errpipe_read) > > if data != "": > try: > _eintr_retry_call(os.waitpid, self.pid, 0) > except OSError as e: > if e.errno != errno.ECHILD: > raise > child_exception = pickle.loads(data) >> raise child_exception >E OSError: [Errno 2] No such file or directory > >/usr/lib64/python2.7/subprocess.py:1047: OSError >_____________________________________________________________________________ test_entrypoints_work[entrypoint1] ______________________________________________________________________________ > >entrypoint = ('fake_pip = pip._internal:main',), script = <tests.lib.PipTestEnvironment object at 0xffff97ac9dd0> > > @pytest.mark.parametrize("entrypoint", [ > ("fake_pip = pip._internal.main:main",), > ("fake_pip = pip._internal:main",), > ("fake_pip = pip:main",), > ]) > def test_entrypoints_work(entrypoint, script): > fake_pkg = script.temp_path / "fake_pkg" > fake_pkg.mkdir() > fake_pkg.joinpath("setup.py").write_text(dedent(""" > from setuptools import setup > > setup( > name="fake-pip", > version="0.1.0", > entry_points={{ > "console_scripts": [ > {!r} > ] > }} > ) > """.format(entrypoint))) > > # expect_temp=True, because pip install calls setup.py which > # in turn creates fake_pkg.egg-info. > script.pip("install", "-vvv", str(fake_pkg), expect_temp=True) > result = script.pip("-V") >> result2 = script.run("fake_pip", "-V", allow_stderr_warning=True) > >tests/functional/test_cli.py:34: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/lib/__init__.py:597: in run > result = super(PipTestEnvironment, self).run(cwd=cwd, *args, **kw) >/usr/lib64/python2.7/subprocess.py:394: in __init__ > errread, errwrite) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <subprocess.Popen object at 0xffff97405c90>, args = ['fake_pip', '-V'], executable = 'fake_pip', preexec_fn = None, close_fds = False >cwd = Path('/var/tmp/portage/dev-python/pip-20.1/temp/pytest-of-portage/pytest-0/test_entrypoints_work_entrypoi0/workspace/scratch') >env = {'A': 'pip-20.1.tar.gz setuptools-44.0.0-py2.py3-none-any.whl wheel-0.34.2-py2.py3-none-any.whl', 'ABI': 'arm64', 'ABI_MIPS': '', 'ABI_PPC': '', ...}, universal_newlines = False >startupinfo = None, creationflags = 0, shell = False, to_close = set([10, 12, 14]), p2cread = 8, p2cwrite = 10, c2pread = 12, c2pwrite = 13, errread = 14, errwrite = 15 > > def _execute_child(self, args, executable, preexec_fn, close_fds, > cwd, env, universal_newlines, > startupinfo, creationflags, shell, to_close, > p2cread, p2cwrite, > c2pread, c2pwrite, > errread, errwrite): > """Execute program (POSIX version)""" > > if isinstance(args, types.StringTypes): > args = [args] > else: > args = list(args) > > if shell: > args = ["/bin/sh", "-c"] + args > if executable: > args[0] = executable > > if executable is None: > executable = args[0] > > def _close_in_parent(fd): > os.close(fd) > to_close.remove(fd) > > # For transferring possible exec failure from child to parent > # The first char specifies the exception type: 0 means > # OSError, 1 means some other error. > errpipe_read, errpipe_write = self.pipe_cloexec() > try: > try: > with self._disabling_gc_lock: > gc_was_enabled = gc.isenabled() > # Disable gc to avoid bug where gc -> file_dealloc -> > # write to stderr -> hang. > # https://bugs.python.org/issue1336 > gc.disable() > try: > self.pid = os.fork() > except: > if gc_was_enabled: > gc.enable() > raise > self._child_created = True > if self.pid == 0: > # Child > try: > # Close parent's pipe ends > if p2cwrite is not None: > os.close(p2cwrite) > if c2pread is not None: > os.close(c2pread) > if errread is not None: > os.close(errread) > os.close(errpipe_read) > > # When duping fds, if there arises a situation > # where one of the fds is either 0, 1 or 2, it > # is possible that it is overwritten (#12607). > if c2pwrite == 0: > c2pwrite = os.dup(c2pwrite) > if errwrite == 0 or errwrite == 1: > errwrite = os.dup(errwrite) > > # Dup fds for child > def _dup2(a, b): > # dup2() removes the CLOEXEC flag but > # we must do it ourselves if dup2() > # would be a no-op (issue #10806). > if a == b: > self._set_cloexec_flag(a, False) > elif a is not None: > os.dup2(a, b) > _dup2(p2cread, 0) > _dup2(c2pwrite, 1) > _dup2(errwrite, 2) > > # Close pipe fds. Make sure we don't close the > # same fd more than once, or standard fds. > closed = { None } > for fd in [p2cread, c2pwrite, errwrite]: > if fd not in closed and fd > 2: > os.close(fd) > closed.add(fd) > > if cwd is not None: > os.chdir(cwd) > > if preexec_fn: > preexec_fn() > > # Close all other fds, if asked for - after > # preexec_fn(), which may open FDs. > if close_fds: > self._close_fds(but=errpipe_write) > > if env is None: > os.execvp(executable, args) > else: > os.execvpe(executable, args, env) > > except: > exc_type, exc_value, tb = sys.exc_info() > # Save the traceback and attach it to the exception object > exc_lines = traceback.format_exception(exc_type, > exc_value, > tb) > exc_value.child_traceback = ''.join(exc_lines) > os.write(errpipe_write, pickle.dumps(exc_value)) > > finally: > # This exitcode won't be reported to applications, so it > # really doesn't matter what we return. > os._exit(255) > > # Parent > if gc_was_enabled: > gc.enable() > finally: > # be sure the FD is closed no matter what > os.close(errpipe_write) > > # Wait for exec to fail or succeed; possibly raising exception > data = _eintr_retry_call(os.read, errpipe_read, 1048576) > pickle_bits = [] > while data: > pickle_bits.append(data) > data = _eintr_retry_call(os.read, errpipe_read, 1048576) > data = "".join(pickle_bits) > finally: > if p2cread is not None and p2cwrite is not None: > _close_in_parent(p2cread) > if c2pwrite is not None and c2pread is not None: > _close_in_parent(c2pwrite) > if errwrite is not None and errread is not None: > _close_in_parent(errwrite) > > # be sure the FD is closed no matter what > os.close(errpipe_read) > > if data != "": > try: > _eintr_retry_call(os.waitpid, self.pid, 0) > except OSError as e: > if e.errno != errno.ECHILD: > raise > child_exception = pickle.loads(data) >> raise child_exception >E OSError: [Errno 2] No such file or directory > >/usr/lib64/python2.7/subprocess.py:1047: OSError >_____________________________________________________________________________ test_entrypoints_work[entrypoint2] ______________________________________________________________________________ > >entrypoint = ('fake_pip = pip:main',), script = <tests.lib.PipTestEnvironment object at 0xffff97356cd0> > > @pytest.mark.parametrize("entrypoint", [ > ("fake_pip = pip._internal.main:main",), > ("fake_pip = pip._internal:main",), > ("fake_pip = pip:main",), > ]) > def test_entrypoints_work(entrypoint, script): > fake_pkg = script.temp_path / "fake_pkg" > fake_pkg.mkdir() > fake_pkg.joinpath("setup.py").write_text(dedent(""" > from setuptools import setup > > setup( > name="fake-pip", > version="0.1.0", > entry_points={{ > "console_scripts": [ > {!r} > ] > }} > ) > """.format(entrypoint))) > > # expect_temp=True, because pip install calls setup.py which > # in turn creates fake_pkg.egg-info. > script.pip("install", "-vvv", str(fake_pkg), expect_temp=True) > result = script.pip("-V") >> result2 = script.run("fake_pip", "-V", allow_stderr_warning=True) > >tests/functional/test_cli.py:34: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/lib/__init__.py:597: in run > result = super(PipTestEnvironment, self).run(cwd=cwd, *args, **kw) >/usr/lib64/python2.7/subprocess.py:394: in __init__ > errread, errwrite) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <subprocess.Popen object at 0xffff97397390>, args = ['fake_pip', '-V'], executable = 'fake_pip', preexec_fn = None, close_fds = False >cwd = Path('/var/tmp/portage/dev-python/pip-20.1/temp/pytest-of-portage/pytest-0/test_entrypoints_work_entrypoi0/workspace/scratch') >env = {'A': 'pip-20.1.tar.gz setuptools-44.0.0-py2.py3-none-any.whl wheel-0.34.2-py2.py3-none-any.whl', 'ABI': 'arm64', 'ABI_MIPS': '', 'ABI_PPC': '', ...}, universal_newlines = False >startupinfo = None, creationflags = 0, shell = False, to_close = set([10, 12, 14]), p2cread = 8, p2cwrite = 10, c2pread = 12, c2pwrite = 13, errread = 14, errwrite = 15 > > def _execute_child(self, args, executable, preexec_fn, close_fds, > cwd, env, universal_newlines, > startupinfo, creationflags, shell, to_close, > p2cread, p2cwrite, > c2pread, c2pwrite, > errread, errwrite): > """Execute program (POSIX version)""" > > if isinstance(args, types.StringTypes): > args = [args] > else: > args = list(args) > > if shell: > args = ["/bin/sh", "-c"] + args > if executable: > args[0] = executable > > if executable is None: > executable = args[0] > > def _close_in_parent(fd): > os.close(fd) > to_close.remove(fd) > > # For transferring possible exec failure from child to parent > # The first char specifies the exception type: 0 means > # OSError, 1 means some other error. > errpipe_read, errpipe_write = self.pipe_cloexec() > try: > try: > with self._disabling_gc_lock: > gc_was_enabled = gc.isenabled() > # Disable gc to avoid bug where gc -> file_dealloc -> > # write to stderr -> hang. > # https://bugs.python.org/issue1336 > gc.disable() > try: > self.pid = os.fork() > except: > if gc_was_enabled: > gc.enable() > raise > self._child_created = True > if self.pid == 0: > # Child > try: > # Close parent's pipe ends > if p2cwrite is not None: > os.close(p2cwrite) > if c2pread is not None: > os.close(c2pread) > if errread is not None: > os.close(errread) > os.close(errpipe_read) > > # When duping fds, if there arises a situation > # where one of the fds is either 0, 1 or 2, it > # is possible that it is overwritten (#12607). > if c2pwrite == 0: > c2pwrite = os.dup(c2pwrite) > if errwrite == 0 or errwrite == 1: > errwrite = os.dup(errwrite) > > # Dup fds for child > def _dup2(a, b): > # dup2() removes the CLOEXEC flag but > # we must do it ourselves if dup2() > # would be a no-op (issue #10806). > if a == b: > self._set_cloexec_flag(a, False) > elif a is not None: > os.dup2(a, b) > _dup2(p2cread, 0) > _dup2(c2pwrite, 1) > _dup2(errwrite, 2) > > # Close pipe fds. Make sure we don't close the > # same fd more than once, or standard fds. > closed = { None } > for fd in [p2cread, c2pwrite, errwrite]: > if fd not in closed and fd > 2: > os.close(fd) > closed.add(fd) > > if cwd is not None: > os.chdir(cwd) > > if preexec_fn: > preexec_fn() > > # Close all other fds, if asked for - after > # preexec_fn(), which may open FDs. > if close_fds: > self._close_fds(but=errpipe_write) > > if env is None: > os.execvp(executable, args) > else: > os.execvpe(executable, args, env) > > except: > exc_type, exc_value, tb = sys.exc_info() > # Save the traceback and attach it to the exception object > exc_lines = traceback.format_exception(exc_type, > exc_value, > tb) > exc_value.child_traceback = ''.join(exc_lines) > os.write(errpipe_write, pickle.dumps(exc_value)) > > finally: > # This exitcode won't be reported to applications, so it > # really doesn't matter what we return. > os._exit(255) > > # Parent > if gc_was_enabled: > gc.enable() > finally: > # be sure the FD is closed no matter what > os.close(errpipe_write) > > # Wait for exec to fail or succeed; possibly raising exception > data = _eintr_retry_call(os.read, errpipe_read, 1048576) > pickle_bits = [] > while data: > pickle_bits.append(data) > data = _eintr_retry_call(os.read, errpipe_read, 1048576) > data = "".join(pickle_bits) > finally: > if p2cread is not None and p2cwrite is not None: > _close_in_parent(p2cread) > if c2pwrite is not None and c2pread is not None: > _close_in_parent(c2pwrite) > if errwrite is not None and errread is not None: > _close_in_parent(errwrite) > > # be sure the FD is closed no matter what > os.close(errpipe_read) > > if data != "": > try: > _eintr_retry_call(os.waitpid, self.pid, 0) > except OSError as e: > if e.errno != errno.ECHILD: > raise > child_exception = pickle.loads(data) >> raise child_exception >E OSError: [Errno 2] No such file or directory > >/usr/lib64/python2.7/subprocess.py:1047: OSError >====================================================================================== warnings summary ======================================================================================= >/usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335 > /usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335: PytestUnknownMarkWarning: Unknown pytest.mark.usefixture - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html > PytestUnknownMarkWarning, > >/usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335 > /usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335: PytestUnknownMarkWarning: Unknown pytest.mark.network - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html > PytestUnknownMarkWarning, > >/usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335 > /usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335: PytestUnknownMarkWarning: Unknown pytest.mark.git - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html > PytestUnknownMarkWarning, > >/usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335 > /usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335: PytestUnknownMarkWarning: Unknown pytest.mark.svn - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html > PytestUnknownMarkWarning, > >/usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335 > /usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335: PytestUnknownMarkWarning: Unknown pytest.mark.mercurial - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html > PytestUnknownMarkWarning, > >/usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335 > /usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335: PytestUnknownMarkWarning: Unknown pytest.mark.bzr - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html > PytestUnknownMarkWarning, > >/usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335 > /usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335: PytestUnknownMarkWarning: Unknown pytest.mark.incompatible_with_test_venv - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html > PytestUnknownMarkWarning, > >/usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335 > /usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html > PytestUnknownMarkWarning, > >/usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335 > /usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335: PytestUnknownMarkWarning: Unknown pytest.mark.yaml - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html > PytestUnknownMarkWarning, > >/usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335 > /usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335: PytestUnknownMarkWarning: Unknown pytest.mark.no_auto_tempdir_manager - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html > PytestUnknownMarkWarning, > >/usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335 > /usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335: PytestUnknownMarkWarning: Unknown pytest.mark.incompatible_with_venv - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html > PytestUnknownMarkWarning, > >/usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335 > /usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335: PytestUnknownMarkWarning: Unknown pytest.mark.integration - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html > PytestUnknownMarkWarning, > >/usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335 > /usr/lib64/python2.7/site-packages/_pytest/mark/structures.py:335: PytestUnknownMarkWarning: Unknown pytest.mark.unit - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html > PytestUnknownMarkWarning, > >tests/unit/test_req_file.py::TestParseRequirements::test_install_requirements_with_options > /var/tmp/portage/dev-python/pip-20.1/work/pip-20.1-python2_7/lib/pip/_internal/req/req_file.py:200: UserWarning: Disabling all use of wheels due to the use of --build-option / --global-option / --install-option. > cmdoptions.check_install_build_global(options, line.opts) > >-- Docs: https://docs.pytest.org/en/latest/warnings.html >=================================================================================== short test summary info =================================================================================== >SKIPPED [1] tests/functional/test_install_wheel.py:574: Non-Python 2 only >SKIPPED [3] tests/unit/test_req.py:672: Test only available on Windows >SKIPPED [1] /var/tmp/portage/dev-python/pip-20.1/work/pip-20.1/tests/functional/test_install.py:1446: No lzma support >SKIPPED [1] tests/unit/test_utils_wheel.py:91: Non-Python 2 only >SKIPPED [1] tests/functional/test_warning.py:40: Non-Python 2 only >SKIPPED [1] tests/unit/test_utils_subprocess.py:83: condition: sys.version_info < (3,) >SKIPPED [1] tests/unit/test_urls.py:27: condition: sys.platform != 'win32' >SKIPPED [1] tests/unit/test_collector.py:260: condition: sys.platform != 'win32' >SKIPPED [1] tests/functional/test_requests.py:4: <Skipped instance> >SKIPPED [1] tests/unit/test_collector.py:370: Non-Python 2 only >SKIPPED [1] tests/unit/test_urls.py:59: condition: sys.platform != 'win32' >SKIPPED [1] tests/functional/test_configuration.py:19: Can't modify underlying file for any mode >SKIPPED [1] tests/unit/test_utils_pkg_resources.py:49: Non-Python 2 only >SKIPPED [1] /var/tmp/portage/dev-python/pip-20.1/work/pip-20.1/tests/functional/test_install.py:1455: No lzma support >SKIPPED [1] tests/functional/test_warning.py:47: Non-Python 2 only >XFAIL tests/functional/test_install.py::test_install_argparse_shadowed >XFAIL tests/functional/test_install_reqs.py::test_install_distribution_union_conflicting_extras >XFAIL tests/functional/test_yaml.py::test_yaml_based[install/conflicting_diamond] >XFAIL tests/functional/test_yaml.py::test_yaml_based[install/conflicting_triangle] >XFAIL tests/functional/test_yaml.py::test_yaml_based[install/extras-2] >FAILED tests/functional/test_cli.py::test_entrypoints_work[entrypoint0] - OSError: [Errno 2] No such file or directory >FAILED tests/functional/test_cli.py::test_entrypoints_work[entrypoint1] - OSError: [Errno 2] No such file or directory >FAILED tests/functional/test_cli.py::test_entrypoints_work[entrypoint2] - OSError: [Errno 2] No such file or directory >================================================ 3 failed, 1634 passed, 17 skipped, 259 deselected, 5 xfailed, 14 warnings in 3610.25 seconds ================================================= > * ERROR: dev-python/pip-20.1::gentoo failed (test phase): > * Tests fail with python2.7 > * > * Call stack: > * ebuild.sh, line 125: Called src_test > * environment, line 3008: Called distutils-r1_src_test > * environment, line 1293: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 467: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2586: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2092: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2090: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 870: Called distutils-r1_run_phase 'python_test' > * environment, line 1230: Called python_test > * environment, line 2968: Called die > * The specific snippet of code: > * pytest -vv -k "${exclude_expr}" -m "not network" || die "Tests fail with ${EPYTHON}" > * > * If you need support, post the output of `emerge --info '=dev-python/pip-20.1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/pip-20.1::gentoo'`. > * The complete build log is located at '/var/tmp/portage/dev-python/pip-20.1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/pip-20.1/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/pip-20.1/work/pip-20.1' > * S: '/var/tmp/portage/dev-python/pip-20.1/work/pip-20.1'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 722796
: 638498