Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 791345 Details for
Bug 857909
dev-python/argparse-manpage-3 fails tests
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-python:argparse-manpage-3:20220713-213642.log
dev-python:argparse-manpage-3:20220713-213642.log (text/x-log), 25.72 KB, created by
Jonathan Lovelace
on 2022-07-13 23:08:07 UTC
(
hide
)
Description:
dev-python:argparse-manpage-3:20220713-213642.log
Filename:
MIME Type:
Creator:
Jonathan Lovelace
Created:
2022-07-13 23:08:07 UTC
Size:
25.72 KB
patch
obsolete
> * Package: dev-python/argparse-manpage-3 > * Repository: gentoo > * Maintainer: chutzpah@gentoo.org python@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_10 test userland_GNU > * FEATURES: distcc fakeroot network-sandbox preserve-libs sandbox test userpriv usersandbox > * Build system packages: > * dev-python/gpep517 : 6 > * dev-python/installer : 0.5.1 > * dev-python/setuptools : 62.3.3 > * dev-python/setuptools_scm : 6.4.2 > * dev-python/wheel : 0.37.1-r1 > * python3_10: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for argparse-manpage-3 via setuptools.build_meta:__legacy__ >gpep517 build-wheel --backend setuptools.build_meta:__legacy__ --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/wheel >running bdist_wheel >running build >running build_py >running build_manpages >file build_manpage.py (for module build_manpage) not found >generating man/argparse-manpage.1 >creating build >creating build/lib >creating build/lib/build_manpages >copying build_manpages/__init__.py -> build/lib/build_manpages >copying build_manpages/build_manpages.py -> build/lib/build_manpages >copying build_manpages/cli.py -> build/lib/build_manpages >copying build_manpages/manpage.py -> build/lib/build_manpages >copying build_manpages/build_manpage.py -> build/lib/build_manpages >file build_manpage.py (for module build_manpage) not found >warning: build_py: byte-compiling is disabled, skipping. > >installing to build/bdist.linux-x86_64/wheel >running install >running install_lib >creating build/bdist.linux-x86_64 >creating build/bdist.linux-x86_64/wheel >creating build/bdist.linux-x86_64/wheel/build_manpages >copying build/lib/build_manpages/__init__.py -> build/bdist.linux-x86_64/wheel/build_manpages >copying build/lib/build_manpages/build_manpages.py -> build/bdist.linux-x86_64/wheel/build_manpages >copying build/lib/build_manpages/cli.py -> build/bdist.linux-x86_64/wheel/build_manpages >copying build/lib/build_manpages/manpage.py -> build/bdist.linux-x86_64/wheel/build_manpages >copying build/lib/build_manpages/build_manpage.py -> build/bdist.linux-x86_64/wheel/build_manpages >warning: install_lib: byte-compiling is disabled, skipping. > >running install_egg_info >running egg_info >creating argparse_manpage.egg-info >writing argparse_manpage.egg-info/PKG-INFO >writing dependency_links to argparse_manpage.egg-info/dependency_links.txt >writing entry points to argparse_manpage.egg-info/entry_points.txt >writing top-level names to argparse_manpage.egg-info/top_level.txt >writing manifest file 'argparse_manpage.egg-info/SOURCES.txt' >file build_manpage.py (for module build_manpage) not found >listing git files failed - pretending there aren't any >reading manifest file 'argparse_manpage.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >warning: no files found matching '*.py' under directory 'unittests' >adding license file 'LICENSE' >adding license file 'AUTHORS' >writing manifest file 'argparse_manpage.egg-info/SOURCES.txt' >Copying argparse_manpage.egg-info to build/bdist.linux-x86_64/wheel/argparse_manpage-3-py3.10.egg-info >running install_scripts >installing man/argparse-manpage.1 >adding license file "LICENSE" (matched pattern "LICEN[CS]E*") >adding license file "AUTHORS" (matched pattern "AUTHORS*") >creating build/bdist.linux-x86_64/wheel/argparse_manpage-3.dist-info/WHEEL >creating '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/wheel/tmpkwebldzn/argparse_manpage-3-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it >adding 'argparse_manpage-3.data/data/share/man/man1/argparse-manpage.1' >adding 'build_manpages/__init__.py' >adding 'build_manpages/build_manpage.py' >adding 'build_manpages/build_manpages.py' >adding 'build_manpages/cli.py' >adding 'build_manpages/manpage.py' >adding 'argparse_manpage-3.dist-info/AUTHORS' >adding 'argparse_manpage-3.dist-info/LICENSE' >adding 'argparse_manpage-3.dist-info/METADATA' >adding 'argparse_manpage-3.dist-info/WHEEL' >adding 'argparse_manpage-3.dist-info/entry_points.txt' >adding 'argparse_manpage-3.dist-info/top_level.txt' >adding 'argparse_manpage-3.dist-info/RECORD' >removing build/bdist.linux-x86_64/wheel > * Installing argparse_manpage-3-py3-none-any.whl to /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install >gpep517 install-wheel --destdir=/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install --interpreter=/usr/bin/python3.10 --prefix=/usr /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/wheel/argparse_manpage-3-py3-none-any.whl > * python3_10: running distutils-r1_run_phase python_test >python3.10 -m pytest -vv -ra -l -Wdefault --color=no -o console_output_style=count -p no:cov -p no:flake8 -p no:flakes -p no:pylint -p no:markdown >============================= test session starts ============================== >platform linux -- Python 3.10.5, pytest-7.1.2, pluggy-1.0.0 -- /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 >cachedir: .pytest_cache >hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/.hypothesis/examples') >rootdir: /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3, configfile: pytest.ini >plugins: flaky-3.7.0, timeout-2.1.0, pyfakefs-4.5.6, subtests-0.8.0, expect-1.1.0, hypothesis-6.46.11, xprocess-0.19.0, shutil-1.7.0, mock-3.7.0, trio-0.7.0, virtualenv-1.7.0, rerunfailures-10.2, freezegun-0.4.2, anyio-3.6.1, forked-1.4.0, codeblocks-0.16.1, asyncio-0.18.3, xdist-2.5.0 >asyncio: mode=legacy >collecting ... collected 17 items > >tests/test_basic.py::Tests::test_aliases PASSED [ 1/17] >tests/test_basic.py::Tests::test_argument_groups PASSED [ 2/17] >tests/test_basic.py::Tests::test_backslash_escape PASSED [ 3/17] >tests/test_examples.py::TestAllExapmles::test_old_example PASSED [ 4/17] >tests/test_examples.py::TestAllExapmles::test_old_example_file_name PASSED [ 5/17] >tests/test_examples.py::TestAllExapmles::test_copr[pip] FAILED [ 6/17] >tests/test_examples.py::TestAllExapmles::test_copr[setuppy] PASSED [ 7/17] >tests/test_examples.py::TestAllExapmles::test_distgen[pip] FAILED [ 8/17] >tests/test_examples.py::TestAllExapmles::test_distgen[setuppy] PASSED [ 9/17] >tests/test_examples.py::TestAllExapmles::test_resalloc[pip] FAILED [10/17] >tests/test_examples.py::TestAllExapmles::test_resalloc[setuppy] PASSED [11/17] >tests/test_examples.py::TestAllExapmles::test_argument_groups_example[pip] FAILED [12/17] >tests/test_examples.py::TestAllExapmles::test_argument_groups_example[setuppy] PASSED [13/17] >tests/test_examples.py::TestAllExapmles::test_osc[pip] FAILED [14/17] >tests/test_examples.py::TestAllExapmles::test_osc[setuppy] PASSED [15/17] >tests/test_script.py::TestsArgparseManpageScript::test_filepath_function PASSED [16/17] >tests/test_script.py::TestsArgparseManpageScript::test_filepath_prog PASSED [17/17] > >=================================== FAILURES =================================== >________________________ TestAllExapmles.test_copr[pip] ________________________ > >self = <test_examples.TestAllExapmles object at 0x7f7faef09510> >installer = 'pip' > > @pytest.mark.parametrize("installer", ["pip", "setuppy"]) > def test_copr(self, installer): > with pushd('examples/copr'): > name = 'copr-cli.1' > prefix = '/usr' > idir = os.path.join(os.getcwd(), installer + "_install_dir") > mandir = os.path.join(idir, _mandir("usr/")) > _rmtree(idir) > run_one_installer(installer, ['install', '--root', idir, '--prefix', prefix]) > > def version_version_filter(string): > return string.replace('[VERSION [VERSION ...]]', > '[VERSION ...]') > >> file_cmp(os.path.join(mandir, os.path.basename(name)), > 'expected-output.1', > filter_string=version_version_filter) > >idir = '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/copr/pip_install_dir' >installer = 'pip' >mandir = '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/copr/pip_install_dir/usr/share/man/man1' >name = 'copr-cli.1' >prefix = '/usr' >self = <test_examples.TestAllExapmles object at 0x7f7faef09510> >version_version_filter = <function TestAllExapmles.test_copr.<locals>.version_version_filter at 0x7f7fae554c10> > >tests/test_examples.py:141: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >file1 = '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/copr/pip_install_dir/usr/share/man/man1/copr-cli.1' >file2 = 'expected-output.1' >filter_string = <function TestAllExapmles.test_copr.<locals>.version_version_filter at 0x7f7fae554c10> > > def file_cmp(file1, file2, filter_string=None): >> with open(file1, 'r') as f1: >E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/copr/pip_install_dir/usr/share/man/man1/copr-cli.1' > >file1 = '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/copr/pip_install_dir/usr/share/man/man1/copr-cli.1' >file2 = 'expected-output.1' >filter_string = <function TestAllExapmles.test_copr.<locals>.version_version_filter at 0x7f7fae554c10> > >tests/test_examples.py:85: FileNotFoundError >----------------------------- Captured stderr call ----------------------------- > >Usage: > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] <requirement specifier> [package-index-options] ... > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] -r <requirements file> [package-index-options] ... > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] [-e] <vcs project url> ... > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] [-e] <local project path> ... > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] <archive url/path> ... > >option --use-feature: invalid choice: 'in-tree-build' (choose from '2020-resolver', 'fast-deps') >______________________ TestAllExapmles.test_distgen[pip] _______________________ > >self = <test_examples.TestAllExapmles object at 0x7f7faef099c0> >installer = 'pip' > > @pytest.mark.parametrize("installer", ["pip", "setuppy"]) > def test_distgen(self, installer): > with pushd('examples/raw-description'): > name = 'man/dg.1' > prefix = "/usr" > idir = os.path.join(os.getcwd(), installer + "_install_dir") > _rmtree(idir) > mandir = os.path.join(idir, _mandir("usr/")) > run_one_installer(installer, ['install', '--root', idir, '--prefix', prefix]) >> file_cmp(os.path.join(mandir, os.path.basename(name)), 'expected-output.1') > >idir = '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/raw-description/pip_install_dir' >installer = 'pip' >mandir = '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/raw-description/pip_install_dir/usr/share/man/man1' >name = 'man/dg.1' >prefix = '/usr' >self = <test_examples.TestAllExapmles object at 0x7f7faef099c0> > >tests/test_examples.py:157: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >file1 = '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/raw-description/pip_install_dir/usr/share/man/man1/dg.1' >file2 = 'expected-output.1', filter_string = None > > def file_cmp(file1, file2, filter_string=None): >> with open(file1, 'r') as f1: >E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/raw-description/pip_install_dir/usr/share/man/man1/dg.1' > >file1 = '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/raw-description/pip_install_dir/usr/share/man/man1/dg.1' >file2 = 'expected-output.1' >filter_string = None > >tests/test_examples.py:85: FileNotFoundError >----------------------------- Captured stderr call ----------------------------- > >Usage: > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] <requirement specifier> [package-index-options] ... > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] -r <requirements file> [package-index-options] ... > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] [-e] <vcs project url> ... > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] [-e] <local project path> ... > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] <archive url/path> ... > >option --use-feature: invalid choice: 'in-tree-build' (choose from '2020-resolver', 'fast-deps') >______________________ TestAllExapmles.test_resalloc[pip] ______________________ > >self = <test_examples.TestAllExapmles object at 0x7f7faef09990> >installer = 'pip' > > @pytest.mark.parametrize("installer", ["pip", "setuppy"]) > def test_resalloc(self, installer): > with pushd('examples/resalloc'): > prefix = "/usr" > idir = os.path.join(os.getcwd(), installer + "_install_dir") > _rmtree(idir) > mandir = os.path.join(idir, _mandir("usr/")) > run_one_installer(installer, ['install', '--root', idir, '--prefix', prefix]) > for name in ['man/resalloc.1', 'man/resalloc-maint.1']: >> file_cmp(os.path.join(mandir, os.path.basename(name)), > 'expected/' + name) > >idir = '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/resalloc/pip_install_dir' >installer = 'pip' >mandir = '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/resalloc/pip_install_dir/usr/share/man/man1' >name = 'man/resalloc.1' >prefix = '/usr' >self = <test_examples.TestAllExapmles object at 0x7f7faef09990> > >tests/test_examples.py:170: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >file1 = '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/resalloc/pip_install_dir/usr/share/man/man1/resalloc.1' >file2 = 'expected/man/resalloc.1', filter_string = None > > def file_cmp(file1, file2, filter_string=None): >> with open(file1, 'r') as f1: >E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/resalloc/pip_install_dir/usr/share/man/man1/resalloc.1' > >file1 = '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/resalloc/pip_install_dir/usr/share/man/man1/resalloc.1' >file2 = 'expected/man/resalloc.1' >filter_string = None > >tests/test_examples.py:85: FileNotFoundError >----------------------------- Captured stderr call ----------------------------- > >Usage: > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] <requirement specifier> [package-index-options] ... > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] -r <requirements file> [package-index-options] ... > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] [-e] <vcs project url> ... > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] [-e] <local project path> ... > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] <archive url/path> ... > >option --use-feature: invalid choice: 'in-tree-build' (choose from '2020-resolver', 'fast-deps') >______________ TestAllExapmles.test_argument_groups_example[pip] _______________ > >self = <test_examples.TestAllExapmles object at 0x7f7faef091b0> >installer = 'pip' > > @pytest.mark.parametrize("installer", ["pip", "setuppy"]) > def test_argument_groups_example(self, installer): > with pushd('examples/argument_groups'): > prefix = "/usr" > idir = os.path.join(os.getcwd(), installer + "_install_dir") > _rmtree(idir) > mandir = os.path.join(idir, _mandir("usr/")) > run_one_installer(installer, ['install', '--root', idir, '--prefix', prefix]) > compiled = os.path.join('man', 'test.1') > base = os.path.basename(compiled) > expected = os.path.join('expected', base) > installed = os.path.join(mandir, base) >> file_cmp(installed, expected) > >base = 'test.1' >compiled = 'man/test.1' >expected = 'expected/test.1' >idir = '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/argument_groups/pip_install_dir' >installed = '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/argument_groups/pip_install_dir/usr/share/man/man1/test.1' >installer = 'pip' >mandir = '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/argument_groups/pip_install_dir/usr/share/man/man1' >prefix = '/usr' >self = <test_examples.TestAllExapmles object at 0x7f7faef091b0> > >tests/test_examples.py:186: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >file1 = '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/argument_groups/pip_install_dir/usr/share/man/man1/test.1' >file2 = 'expected/test.1', filter_string = None > > def file_cmp(file1, file2, filter_string=None): >> with open(file1, 'r') as f1: >E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/argument_groups/pip_install_dir/usr/share/man/man1/test.1' > >file1 = '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/argument_groups/pip_install_dir/usr/share/man/man1/test.1' >file2 = 'expected/test.1' >filter_string = None > >tests/test_examples.py:85: FileNotFoundError >----------------------------- Captured stderr call ----------------------------- > >Usage: > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] <requirement specifier> [package-index-options] ... > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] -r <requirements file> [package-index-options] ... > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] [-e] <vcs project url> ... > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] [-e] <local project path> ... > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] <archive url/path> ... > >option --use-feature: invalid choice: 'in-tree-build' (choose from '2020-resolver', 'fast-deps') >________________________ TestAllExapmles.test_osc[pip] _________________________ > >self = <test_examples.TestAllExapmles object at 0x7f7faef09e40> >installer = 'pip' > > @pytest.mark.parametrize("installer", ["pip", "setuppy"]) > def test_osc(self, installer): > with pushd('examples/osc'): > name = 'osc.1' > prefix = '/usr' > idir = os.path.join(os.getcwd(), installer + "_install_dir") > mandir = os.path.join(idir, _mandir("usr/")) > _rmtree(idir) > run_one_installer(installer, ['install', '--root', idir, '--prefix', prefix]) > >> file_cmp(os.path.join(mandir, os.path.basename(name)), 'expected-output.1') > >idir = '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/osc/pip_install_dir' >installer = 'pip' >mandir = '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/osc/pip_install_dir/usr/share/man/man1' >name = 'osc.1' >prefix = '/usr' >self = <test_examples.TestAllExapmles object at 0x7f7faef09e40> > >tests/test_examples.py:199: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >file1 = '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/osc/pip_install_dir/usr/share/man/man1/osc.1' >file2 = 'expected-output.1', filter_string = None > > def file_cmp(file1, file2, filter_string=None): >> with open(file1, 'r') as f1: >E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/osc/pip_install_dir/usr/share/man/man1/osc.1' > >file1 = '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3/examples/osc/pip_install_dir/usr/share/man/man1/osc.1' >file2 = 'expected-output.1' >filter_string = None > >tests/test_examples.py:85: FileNotFoundError >----------------------------- Captured stderr call ----------------------------- > >Usage: > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] <requirement specifier> [package-index-options] ... > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] -r <requirements file> [package-index-options] ... > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] [-e] <vcs project url> ... > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] [-e] <local project path> ... > /var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3-python3_10/install/usr/bin/python3.10 -m pip install [options] <archive url/path> ... > >option --use-feature: invalid choice: 'in-tree-build' (choose from '2020-resolver', 'fast-deps') >=============================== warnings summary =============================== >../../../../../../../usr/lib/python3.10/site-packages/pytest_asyncio/plugin.py:191 > /usr/lib/python3.10/site-packages/pytest_asyncio/plugin.py:191: DeprecationWarning: The 'asyncio_mode' default value will change to 'strict' in future, please explicitly use 'asyncio_mode=strict' or 'asyncio_mode=auto' in pytest configuration file. > config.issue_config_time_warning(LEGACY_MODE, stacklevel=2) > >-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html >=========================== short test summary info ============================ >FAILED tests/test_examples.py::TestAllExapmles::test_copr[pip] - FileNotFound... >FAILED tests/test_examples.py::TestAllExapmles::test_distgen[pip] - FileNotFo... >FAILED tests/test_examples.py::TestAllExapmles::test_resalloc[pip] - FileNotF... >FAILED tests/test_examples.py::TestAllExapmles::test_argument_groups_example[pip] >FAILED tests/test_examples.py::TestAllExapmles::test_osc[pip] - FileNotFoundE... >=================== 5 failed, 12 passed, 1 warning in 20.88s =================== >pytest-xprocess reminder::Be sure to terminate the started process by running 'pytest --xkill' if you have not explicitly done so in your fixture with 'xprocess.getinfo(<process_name>).terminate()'. > * ERROR: dev-python/argparse-manpage-3::gentoo failed (test phase): > * pytest failed with python3.10 > * > * Call stack: > * ebuild.sh, line 127: Called src_test > * environment, line 3381: Called distutils-r1_src_test > * environment, line 1633: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 709: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 3056: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2599: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2597: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 1045: Called distutils-r1_run_phase 'python_test' > * environment, line 1556: Called python_test > * environment, line 3348: Called epytest > * environment, line 2107: Called die > * The specific snippet of code: > * "${@}" || die -n "pytest failed with ${EPYTHON}"; > * > * If you need support, post the output of `emerge --info '=dev-python/argparse-manpage-3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/argparse-manpage-3::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-python:argparse-manpage-3:20220713-213642.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/argparse-manpage-3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/argparse-manpage-3/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3' > * S: '/var/tmp/portage/dev-python/argparse-manpage-3/work/argparse-manpage-3'
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 857909
: 791345 |
791348