Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 674794 Details for
Bug 756397
dev-python/python-dotenv-0.14.0 fails test
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/x-log), 57.09 KB, created by
Alexey
on 2020-11-25 02:12:29 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Alexey
Created:
2020-11-25 02:12:29 UTC
Size:
57.09 KB
patch
obsolete
> * Package: dev-python/python-dotenv-0.14.0 > * Repository: gentoo > * Maintainer: sping@gentoo.org python@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_7 python_targets_python3_8 test userland_GNU > * FEATURES: fakeroot network-sandbox preserve-libs sandbox splitdebug test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking python-dotenv-0.14.0.tar.gz to /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work >>>> Source unpacked in /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work >>>> Preparing source in /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0 ... >>>> Source prepared. >>>> Configuring source in /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0 ... >>>> Source configured. >>>> Compiling source in /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0 ... > * python3_7: running distutils-r1_run_phase distutils-r1_python_compile >python3.7 setup.py build -j 20 >running build >running build_py >creating /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv >copying src/dotenv/__init__.py -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv >copying src/dotenv/main.py -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv >copying src/dotenv/compat.py -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv >copying src/dotenv/version.py -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv >copying src/dotenv/parser.py -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv >copying src/dotenv/cli.py -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv >copying src/dotenv/ipython.py -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv >copying src/dotenv/py.typed -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv >warning: build_py: byte-compiling is disabled, skipping. > > * python3_8: running distutils-r1_run_phase distutils-r1_python_compile >python3.8 setup.py build -j 20 >running build >running build_py >creating /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_8/lib/dotenv >copying src/dotenv/__init__.py -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_8/lib/dotenv >copying src/dotenv/main.py -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_8/lib/dotenv >copying src/dotenv/compat.py -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_8/lib/dotenv >copying src/dotenv/version.py -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_8/lib/dotenv >copying src/dotenv/parser.py -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_8/lib/dotenv >copying src/dotenv/cli.py -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_8/lib/dotenv >copying src/dotenv/ipython.py -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_8/lib/dotenv >copying src/dotenv/py.typed -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_8/lib/dotenv >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-python/python-dotenv-0.14.0 > * python3_7: running distutils-r1_run_phase python_test >python3.7 setup.py install --home=/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/test --install-lib=/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/test/lib --install-scripts=/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/test/scripts >running install >running bdist_egg >running egg_info >writing src/python_dotenv.egg-info/PKG-INFO >writing dependency_links to src/python_dotenv.egg-info/dependency_links.txt >writing entry points to src/python_dotenv.egg-info/entry_points.txt >writing requirements to src/python_dotenv.egg-info/requires.txt >writing top-level names to src/python_dotenv.egg-info/top_level.txt >reading manifest file 'src/python_dotenv.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >warning: no files found matching '.bumpversion.cfg' >warning: no files found matching '.coveragerc' >writing manifest file 'src/python_dotenv.egg-info/SOURCES.txt' >installing library code to /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/bdist.linux-x86_64/egg >running install_lib >running build_py >warning: build_py: byte-compiling is disabled, skipping. > >creating /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/bdist.linux-x86_64 >creating /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/bdist.linux-x86_64/egg >creating /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/bdist.linux-x86_64/egg/dotenv >copying /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv/py.typed -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/bdist.linux-x86_64/egg/dotenv >copying /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv/ipython.py -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/bdist.linux-x86_64/egg/dotenv >copying /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv/cli.py -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/bdist.linux-x86_64/egg/dotenv >copying /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv/parser.py -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/bdist.linux-x86_64/egg/dotenv >copying /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv/version.py -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/bdist.linux-x86_64/egg/dotenv >copying /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv/compat.py -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/bdist.linux-x86_64/egg/dotenv >copying /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv/main.py -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/bdist.linux-x86_64/egg/dotenv >copying /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv/__init__.py -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/bdist.linux-x86_64/egg/dotenv >warning: install_lib: byte-compiling is disabled, skipping. > >creating /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/bdist.linux-x86_64/egg/EGG-INFO >copying src/python_dotenv.egg-info/PKG-INFO -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/bdist.linux-x86_64/egg/EGG-INFO >copying src/python_dotenv.egg-info/SOURCES.txt -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/bdist.linux-x86_64/egg/EGG-INFO >copying src/python_dotenv.egg-info/dependency_links.txt -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/bdist.linux-x86_64/egg/EGG-INFO >copying src/python_dotenv.egg-info/entry_points.txt -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/bdist.linux-x86_64/egg/EGG-INFO >copying src/python_dotenv.egg-info/requires.txt -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/bdist.linux-x86_64/egg/EGG-INFO >copying src/python_dotenv.egg-info/top_level.txt -> /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/bdist.linux-x86_64/egg/EGG-INFO >zip_safe flag not set; analyzing archive contents... >creating /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/dist >creating '/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/dist/python_dotenv-0.14.0-py3.7.egg' and adding '/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/bdist.linux-x86_64/egg' to it >removing '/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/bdist.linux-x86_64/egg' (and everything under it) >Processing python_dotenv-0.14.0-py3.7.egg >Copying python_dotenv-0.14.0-py3.7.egg to /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/test/lib >Adding python-dotenv 0.14.0 to easy-install.pth file >Installing dotenv script to /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/test/scripts > >Installed /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/test/lib/python_dotenv-0.14.0-py3.7.egg >Processing dependencies for python-dotenv==0.14.0 >Finished processing dependencies for python-dotenv==0.14.0 >============================================================================================================================== test session starts =============================================================================================================================== >platform linux -- Python 3.7.9, pytest-6.0.2, py-1.9.0, pluggy-0.13.1 -- /usr/bin/python3.7 >cachedir: .pytest_cache >hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0/.hypothesis/examples') >rootdir: /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0, configfile: setup.cfg, testpaths: tests >plugins: hypothesis-5.36.2, timeout-1.4.2, xdist-2.1.0, cov-2.8.1, forked-1.3.0, flaky-3.7.0 >collecting ... collected 112 items > >tests/test_cli.py::test_list PASSED [ 0%] >tests/test_cli.py::test_list_non_existent_file PASSED [ 1%] >tests/test_cli.py::test_list_no_file PASSED [ 2%] >tests/test_cli.py::test_get_existing_value PASSED [ 3%] >tests/test_cli.py::test_get_non_existent_value PASSED [ 4%] >tests/test_cli.py::test_get_no_file PASSED [ 5%] >tests/test_cli.py::test_unset_existing_value PASSED [ 6%] >tests/test_cli.py::test_unset_non_existent_value PASSED [ 7%] >tests/test_cli.py::test_set_options[always-HELLO-WORLD-HELLO="WORLD"\n] PASSED [ 8%] >tests/test_cli.py::test_set_options[never-HELLO-WORLD-HELLO=WORLD\n] PASSED [ 8%] >tests/test_cli.py::test_set_options[auto-HELLO-WORLD-HELLO=WORLD\n] PASSED [ 9%] >tests/test_cli.py::test_set_options[auto-HELLO-HELLO WORLD-HELLO="HELLO WORLD"\n] PASSED [ 10%] >tests/test_cli.py::test_set_non_existent_file PASSED [ 11%] >tests/test_cli.py::test_set_no_file PASSED [ 12%] >tests/test_cli.py::test_get_default_path FAILED [ 13%] >tests/test_cli.py::test_run FAILED [ 14%] >tests/test_cli.py::test_run_with_none_value FAILED [ 15%] >tests/test_cli.py::test_run_with_other_env FAILED [ 16%] >tests/test_cli.py::test_run_without_cmd PASSED [ 16%] >tests/test_cli.py::test_run_with_invalid_cmd PASSED [ 17%] >tests/test_cli.py::test_run_with_version PASSED [ 18%] >tests/test_ipython.py::test_ipython_existing_variable_no_override PASSED [ 19%] >tests/test_ipython.py::test_ipython_existing_variable_override PASSED [ 20%] >tests/test_ipython.py::test_ipython_new_variable PASSED [ 21%] >tests/test_main.py::test_set_key_no_file PASSED [ 22%] >tests/test_main.py::test_set_key[-a--expected0-a=""\n] PASSED [ 23%] >tests/test_main.py::test_set_key[-a-b-expected1-a="b"\n] PASSED [ 24%] >tests/test_main.py::test_set_key[-a-'b'-expected2-a="b"\n] PASSED [ 25%] >tests/test_main.py::test_set_key[-a-"b"-expected3-a="b"\n] PASSED [ 25%] >tests/test_main.py::test_set_key[-a-b'c-expected4-a="b'c"\n] PASSED [ 26%] >tests/test_main.py::test_set_key[-a-b"c-expected5-a="b\\"c"\n] PASSED [ 27%] >tests/test_main.py::test_set_key[a=b-a-c-expected6-a="c"\n] PASSED [ 28%] >tests/test_main.py::test_set_key[a=b\n-a-c-expected7-a="c"\n] PASSED [ 29%] >tests/test_main.py::test_set_key[a=b\n\n-a-c-expected8-a="c"\n\n] PASSED [ 30%] >tests/test_main.py::test_set_key[a=b\nc=d-a-e-expected9-a="e"\nc=d] PASSED [ 31%] >tests/test_main.py::test_set_key[a=b\nc=d\ne=f-c-g-expected10-a=b\nc="g"\ne=f] PASSED [ 32%] >tests/test_main.py::test_set_key[a=b\n-c-d-expected11-a=b\nc="d"\n] PASSED [ 33%] >tests/test_main.py::test_set_key_permission_error PASSED [ 33%] >tests/test_main.py::test_get_key_no_file PASSED [ 34%] >tests/test_main.py::test_get_key_not_found PASSED [ 35%] >tests/test_main.py::test_get_key_ok PASSED [ 36%] >tests/test_main.py::test_get_key_none PASSED [ 37%] >tests/test_main.py::test_unset_with_value PASSED [ 38%] >tests/test_main.py::test_unset_no_value PASSED [ 39%] >tests/test_main.py::test_unset_non_existent_file PASSED [ 40%] >tests/test_main.py::test_find_dotenv_no_file_raise PASSED [ 41%] >tests/test_main.py::test_find_dotenv_no_file_no_raise PASSED [ 41%] >tests/test_main.py::test_find_dotenv_found PASSED [ 42%] >tests/test_main.py::test_load_dotenv_existing_file PASSED [ 43%] >tests/test_main.py::test_load_dotenv_no_file_verbose PASSED [ 44%] >tests/test_main.py::test_load_dotenv_existing_variable_no_override PASSED [ 45%] >tests/test_main.py::test_load_dotenv_existing_variable_override PASSED [ 46%] >tests/test_main.py::test_load_dotenv_utf_8 PASSED [ 47%] >tests/test_main.py::test_load_dotenv_in_current_dir PASSED [ 48%] >tests/test_main.py::test_dotenv_values_file PASSED [ 49%] >tests/test_main.py::test_dotenv_values_stream[env0-a=$b-False-expected0] PASSED [ 50%] >tests/test_main.py::test_dotenv_values_stream[env1-a=$b-True-expected1] PASSED [ 50%] >tests/test_main.py::test_dotenv_values_stream[env2-a=${b}-False-expected2] PASSED [ 51%] >tests/test_main.py::test_dotenv_values_stream[env3-a=${b}-True-expected3] PASSED [ 52%] >tests/test_main.py::test_dotenv_values_stream[env4-a=${b:-d}-False-expected4] PASSED [ 53%] >tests/test_main.py::test_dotenv_values_stream[env5-a=${b:-d}-True-expected5] PASSED [ 54%] >tests/test_main.py::test_dotenv_values_stream[env6-b=c\na=${b}-True-expected6] PASSED [ 55%] >tests/test_main.py::test_dotenv_values_stream[env7-a=${b}-True-expected7] PASSED [ 56%] >tests/test_main.py::test_dotenv_values_stream[env8-a=${b:-d}-True-expected8] PASSED [ 57%] >tests/test_main.py::test_dotenv_values_stream[env9-a="${b}"-True-expected9] PASSED [ 58%] >tests/test_main.py::test_dotenv_values_stream[env10-a='${b}'-True-expected10] PASSED [ 58%] >tests/test_main.py::test_dotenv_values_stream[env11-a=x${b}y-True-expected11] PASSED [ 59%] >tests/test_main.py::test_dotenv_values_stream[env12-a=${a}-True-expected12] PASSED [ 60%] >tests/test_main.py::test_dotenv_values_stream[env13-a=${a}-True-expected13] PASSED [ 61%] >tests/test_main.py::test_dotenv_values_stream[env14-a=${a:-c}-True-expected14] PASSED [ 62%] >tests/test_main.py::test_dotenv_values_stream[env15-a=${a:-c}-True-expected15] PASSED [ 63%] >tests/test_main.py::test_dotenv_values_stream[env16-a=${b}${b}-True-expected16] PASSED [ 64%] >tests/test_main.py::test_dotenv_values_stream[env17-b=d\na=${b}-True-expected17] PASSED [ 65%] >tests/test_parser.py::test_parse_stream[-expected0] PASSED [ 66%] >tests/test_parser.py::test_parse_stream[a=b-expected1] PASSED [ 66%] >tests/test_parser.py::test_parse_stream['a'=b-expected2] PASSED [ 67%] >tests/test_parser.py::test_parse_stream[[=b-expected3] PASSED [ 68%] >tests/test_parser.py::test_parse_stream[ a = b -expected4] PASSED [ 69%] >tests/test_parser.py::test_parse_stream[export a=b-expected5] PASSED [ 70%] >tests/test_parser.py::test_parse_stream[ export 'a'=b-expected6] PASSED [ 71%] >tests/test_parser.py::test_parse_stream[# a=b-expected7] PASSED [ 72%] >tests/test_parser.py::test_parse_stream[a=b#c-expected8] PASSED [ 73%] >tests/test_parser.py::test_parse_stream[a=b # comment-expected9] PASSED [ 74%] >tests/test_parser.py::test_parse_stream[a=b space -expected10] PASSED [ 75%] >tests/test_parser.py::test_parse_stream[a='b space '-expected11] PASSED [ 75%] >tests/test_parser.py::test_parse_stream[a="b space "-expected12] PASSED [ 76%] >tests/test_parser.py::test_parse_stream[export export_a=1-expected13] PASSED [ 77%] >tests/test_parser.py::test_parse_stream[export port=8000-expected14] PASSED [ 78%] >tests/test_parser.py::test_parse_stream[a="b\nc"-expected15] PASSED [ 79%] >tests/test_parser.py::test_parse_stream[a='b\nc'-expected16] PASSED [ 80%] >tests/test_parser.py::test_parse_stream[a="b\nc"-expected17] PASSED [ 81%] >tests/test_parser.py::test_parse_stream[a="b\\nc"-expected18] PASSED [ 82%] >tests/test_parser.py::test_parse_stream[a='b\\nc'-expected19] PASSED [ 83%] >tests/test_parser.py::test_parse_stream[a="b\\"c"-expected20] PASSED [ 83%] >tests/test_parser.py::test_parse_stream[a='b\\'c'-expected21] PASSED [ 84%] >tests/test_parser.py::test_parse_stream[a=\xe0-expected22] PASSED [ 85%] >tests/test_parser.py::test_parse_stream[a="\xe0"-expected23] PASSED [ 86%] >tests/test_parser.py::test_parse_stream[no_value_var-expected24] PASSED [ 87%] >tests/test_parser.py::test_parse_stream[a: b-expected25] PASSED [ 88%] >tests/test_parser.py::test_parse_stream[a=b\nc=d-expected26] PASSED [ 89%] >tests/test_parser.py::test_parse_stream[a=b\rc=d-expected27] PASSED [ 90%] >tests/test_parser.py::test_parse_stream[a=b\r\nc=d-expected28] PASSED [ 91%] >tests/test_parser.py::test_parse_stream[a=\nb=c-expected29] PASSED [ 91%] >tests/test_parser.py::test_parse_stream[\n\n-expected30] PASSED [ 92%] >tests/test_parser.py::test_parse_stream[a=b\n\n-expected31] PASSED [ 93%] >tests/test_parser.py::test_parse_stream[a=b\n\nc=d-expected32] PASSED [ 94%] >tests/test_parser.py::test_parse_stream[a="\nb=c-expected33] PASSED [ 95%] >tests/test_parser.py::test_parse_stream[# comment\na="b\nc"\nd=e\n-expected34] PASSED [ 96%] >tests/test_parser.py::test_parse_stream[a=b\n# comment 1-expected35] PASSED [ 97%] >tests/test_parser.py::test_parse_stream[# comment 1\n# comment 2-expected36] PASSED [ 98%] >tests/test_parser.py::test_parse_stream[uglyKey[%$="S3cr3t_P4ssw#rD" #\na=b-expected37] PASSED [ 99%] >tests/test_utils.py::test_to_cli_string PASSED [100%] > >==================================================================================================================================== FAILURES ==================================================================================================================================== >_____________________________________________________________________________________________________________________________ test_get_default_path ______________________________________________________________________________________________________________________________ > >tmp_path = PosixPath('/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/temp/pytest-of-portage/pytest-0/test_get_default_path0') > > def test_get_default_path(tmp_path): > sh.cd(str(tmp_path)) > with open(str(tmp_path / ".env"), "w") as f: > f.write("a=b") > >> result = sh.dotenv("get", "a") > >/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0/tests/test_cli.py:108: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.7/site-packages/sh.py:1516: in __call__ > return RunningCommand(cmd, call_args, stdin, stdout, stderr) >/usr/lib/python3.7/site-packages/sh.py:780: in __init__ > self.wait() >/usr/lib/python3.7/site-packages/sh.py:837: in wait > self.handle_command_exit_code(exit_code) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = , code = 1 > > def handle_command_exit_code(self, code): > """ here we determine if we had an exception, or an error code that we > weren't expecting to see. if we did, we create and raise an exception > """ > ca = self.call_args > exc_class = get_exc_exit_code_would_raise(code, ca["ok_code"], ca["piped"]) > if exc_class: > exc = exc_class(self.ran, self.process.stdout, self.process.stderr, ca["truncate_exc"]) >> raise exc >E sh.ErrorReturnCode_1: >E >E RAN: /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/test/scripts/dotenv get a >E >E STDOUT: >E >E >E STDERR: >E Traceback (most recent call last): >E File "/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/test/scripts/dotenv", line 33, in <module> >E sys.exit(load_entry_point('python-dotenv==0.14.0', 'console_scripts', 'dotenv')()) >E File "/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/test/scripts/dotenv", line 22, in importlib_load_entry_point >E for entry_point in distribution(dist_name).entry_points >E File "/usr/lib/python3.7/site-packages/importlib_metadata/__init__.py", line 558, in distribution >E return Distribution.from_name(distribution_name) >E File "/usr/lib/python3.7/site-packages/importlib_metadata/__init__.py", line 215, in from_name >E raise Pack... (112 more, please see e.stderr) > >/usr/lib/python3.7/site-packages/sh.py:861: ErrorReturnCode_1 >____________________________________________________________________________________________________________________________________ test_run ____________________________________________________________________________________________________________________________________ > >tmp_path = PosixPath('/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/temp/pytest-of-portage/pytest-0/test_run0') > > def test_run(tmp_path): > sh.cd(str(tmp_path)) > dotenv_file = str(tmp_path / ".env") > with open(dotenv_file, "w") as f: > f.write("a=b") > >> result = sh.dotenv("run", "printenv", "a") > >/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0/tests/test_cli.py:119: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.7/site-packages/sh.py:1516: in __call__ > return RunningCommand(cmd, call_args, stdin, stdout, stderr) >/usr/lib/python3.7/site-packages/sh.py:780: in __init__ > self.wait() >/usr/lib/python3.7/site-packages/sh.py:837: in wait > self.handle_command_exit_code(exit_code) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = , code = 1 > > def handle_command_exit_code(self, code): > """ here we determine if we had an exception, or an error code that we > weren't expecting to see. if we did, we create and raise an exception > """ > ca = self.call_args > exc_class = get_exc_exit_code_would_raise(code, ca["ok_code"], ca["piped"]) > if exc_class: > exc = exc_class(self.ran, self.process.stdout, self.process.stderr, ca["truncate_exc"]) >> raise exc >E sh.ErrorReturnCode_1: >E >E RAN: /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/test/scripts/dotenv run printenv a >E >E STDOUT: >E >E >E STDERR: >E Traceback (most recent call last): >E File "/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/test/scripts/dotenv", line 33, in <module> >E sys.exit(load_entry_point('python-dotenv==0.14.0', 'console_scripts', 'dotenv')()) >E File "/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/test/scripts/dotenv", line 22, in importlib_load_entry_point >E for entry_point in distribution(dist_name).entry_points >E File "/usr/lib/python3.7/site-packages/importlib_metadata/__init__.py", line 558, in distribution >E return Distribution.from_name(distribution_name) >E File "/usr/lib/python3.7/site-packages/importlib_metadata/__init__.py", line 215, in from_name >E raise Pack... (112 more, please see e.stderr) > >/usr/lib/python3.7/site-packages/sh.py:861: ErrorReturnCode_1 >____________________________________________________________________________________________________________________________ test_run_with_none_value ____________________________________________________________________________________________________________________________ > >tmp_path = PosixPath('/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/temp/pytest-of-portage/pytest-0/test_run_with_none_value0') > > def test_run_with_none_value(tmp_path): > sh.cd(str(tmp_path)) > dotenv_file = str(tmp_path / ".env") > with open(dotenv_file, "w") as f: > f.write("a=b\nc") > >> result = sh.dotenv("run", "printenv", "a") > >/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0/tests/test_cli.py:130: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.7/site-packages/sh.py:1516: in __call__ > return RunningCommand(cmd, call_args, stdin, stdout, stderr) >/usr/lib/python3.7/site-packages/sh.py:780: in __init__ > self.wait() >/usr/lib/python3.7/site-packages/sh.py:837: in wait > self.handle_command_exit_code(exit_code) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = , code = 1 > > def handle_command_exit_code(self, code): > """ here we determine if we had an exception, or an error code that we > weren't expecting to see. if we did, we create and raise an exception > """ > ca = self.call_args > exc_class = get_exc_exit_code_would_raise(code, ca["ok_code"], ca["piped"]) > if exc_class: > exc = exc_class(self.ran, self.process.stdout, self.process.stderr, ca["truncate_exc"]) >> raise exc >E sh.ErrorReturnCode_1: >E >E RAN: /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/test/scripts/dotenv run printenv a >E >E STDOUT: >E >E >E STDERR: >E Traceback (most recent call last): >E File "/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/test/scripts/dotenv", line 33, in <module> >E sys.exit(load_entry_point('python-dotenv==0.14.0', 'console_scripts', 'dotenv')()) >E File "/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/test/scripts/dotenv", line 22, in importlib_load_entry_point >E for entry_point in distribution(dist_name).entry_points >E File "/usr/lib/python3.7/site-packages/importlib_metadata/__init__.py", line 558, in distribution >E return Distribution.from_name(distribution_name) >E File "/usr/lib/python3.7/site-packages/importlib_metadata/__init__.py", line 215, in from_name >E raise Pack... (112 more, please see e.stderr) > >/usr/lib/python3.7/site-packages/sh.py:861: ErrorReturnCode_1 >____________________________________________________________________________________________________________________________ test_run_with_other_env _____________________________________________________________________________________________________________________________ > >dotenv_file = '/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/temp/pytest-of-portage/pytest-0/test_run_with_other_env0/.env' > > def test_run_with_other_env(dotenv_file): > with open(dotenv_file, "w") as f: > f.write("a=b") > >> result = sh.dotenv("--file", dotenv_file, "run", "printenv", "a") > >/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0/tests/test_cli.py:139: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.7/site-packages/sh.py:1516: in __call__ > return RunningCommand(cmd, call_args, stdin, stdout, stderr) >/usr/lib/python3.7/site-packages/sh.py:780: in __init__ > self.wait() >/usr/lib/python3.7/site-packages/sh.py:837: in wait > self.handle_command_exit_code(exit_code) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = , code = 1 > > def handle_command_exit_code(self, code): > """ here we determine if we had an exception, or an error code that we > weren't expecting to see. if we did, we create and raise an exception > """ > ca = self.call_args > exc_class = get_exc_exit_code_would_raise(code, ca["ok_code"], ca["piped"]) > if exc_class: > exc = exc_class(self.ran, self.process.stdout, self.process.stderr, ca["truncate_exc"]) >> raise exc >E sh.ErrorReturnCode_1: >E >E RAN: /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/test/scripts/dotenv --file /mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/temp/pytest-of-portage/pytest-0/test_run_with_other_env0/.env run printenv a >E >E STDOUT: >E >E >E STDERR: >E Traceback (most recent call last): >E File "/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/test/scripts/dotenv", line 33, in <module> >E sys.exit(load_entry_point('python-dotenv==0.14.0', 'console_scripts', 'dotenv')()) >E File "/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/test/scripts/dotenv", line 22, in importlib_load_entry_point >E for entry_point in distribution(dist_name).entry_points >E File "/usr/lib/python3.7/site-packages/importlib_metadata/__init__.py", line 558, in distribution >E return Distribution.from_name(distribution_name) >E File "/usr/lib/python3.7/site-packages/importlib_metadata/__init__.py", line 215, in from_name >E raise Pack... (112 more, please see e.stderr) > >/usr/lib/python3.7/site-packages/sh.py:861: ErrorReturnCode_1 >================================================================================================================================ warnings summary ================================================================================================================================ >/usr/lib/python3.7/site-packages/sh.py:28 > /usr/lib/python3.7/site-packages/sh.py:28: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working > from collections import deque, Mapping > >tests/test_ipython.py::test_ipython_existing_variable_no_override >tests/test_ipython.py::test_ipython_existing_variable_override >tests/test_ipython.py::test_ipython_new_variable > /usr/lib/python3.7/site-packages/IPython/paths.py:67: UserWarning: IPython parent '/var/tmp/portage' is not a writable location, using a temp directory. > " using a temp directory.".format(parent)) > >-- Docs: https://docs.pytest.org/en/stable/warnings.html >============================================================================================================================ short test summary info ============================================================================================================================= >FAILED tests/test_cli.py::test_get_default_path - sh.ErrorReturnCode_1: >FAILED tests/test_cli.py::test_run - sh.ErrorReturnCode_1: >FAILED tests/test_cli.py::test_run_with_none_value - sh.ErrorReturnCode_1: >FAILED tests/test_cli.py::test_run_with_other_env - sh.ErrorReturnCode_1: >=================================================================================================================== 4 failed, 108 passed, 4 warnings in 1.51s ==================================================================================================================== > * ERROR: dev-python/python-dotenv-0.14.0::gentoo failed (test phase): > * Tests fail with python3.7 > * > * Call stack: > * ebuild.sh, line 125: Called src_test > * environment, line 2929: Called distutils-r1_src_test > * environment, line 1234: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 450: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2537: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2016: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2014: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 807: Called distutils-r1_run_phase 'python_test' > * environment, line 1171: Called python_test > * environment, line 2889: 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/python-dotenv-0.14.0::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/python-dotenv-0.14.0::gentoo'`. > * The complete build log is located at '/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/temp/build.log'. > * The ebuild environment file is located at '/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/temp/environment'. > * Working directory: '/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0' > * S: '/mnt/portagetmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0'
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 756397
: 674794 |
674797
|
674842