Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 564972 Details for
Bug 677814
dev-util/cookiecutter-1.6.0 : [TEST] E assert Error: Invalid value for extra_context in Usage:
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-util:cookiecutter-1.6.0:20190212-072007.log
dev-util:cookiecutter-1.6.0:20190212-072007.log (text/plain), 16.52 KB, created by
Toralf Förster
on 2019-02-12 16:20:37 UTC
(
hide
)
Description:
dev-util:cookiecutter-1.6.0:20190212-072007.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2019-02-12 16:20:37 UTC
Size:
16.52 KB
patch
obsolete
> * Package: dev-util/cookiecutter-1.6.0 > * Repository: gentoo > * Maintainer: cedk@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_6 test userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking cookiecutter-1.6.0.tar.gz to /var/tmp/portage/dev-util/cookiecutter-1.6.0/work >>>> Source unpacked in /var/tmp/portage/dev-util/cookiecutter-1.6.0/work >>>> Preparing source in /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0 ... > * python2_7: running distutils-r1_run_phase distutils-r1_python_compile >python2.7 setup.py build >running build >running build_py >creating /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python2_7/lib/cookiecutter >copying cookiecutter/zipfile.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python2_7/lib/cookiecutter >copying cookiecutter/vcs.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python2_7/lib/cookiecutter >copying cookiecutter/utils.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python2_7/lib/cookiecutter >copying cookiecutter/repository.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python2_7/lib/cookiecutter >copying cookiecutter/replay.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python2_7/lib/cookiecutter >copying cookiecutter/prompt.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python2_7/lib/cookiecutter >copying cookiecutter/main.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python2_7/lib/cookiecutter >copying cookiecutter/log.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python2_7/lib/cookiecutter >copying cookiecutter/hooks.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python2_7/lib/cookiecutter >copying cookiecutter/generate.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python2_7/lib/cookiecutter >copying cookiecutter/find.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python2_7/lib/cookiecutter >copying cookiecutter/extensions.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python2_7/lib/cookiecutter >copying cookiecutter/exceptions.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python2_7/lib/cookiecutter >copying cookiecutter/environment.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python2_7/lib/cookiecutter >copying cookiecutter/config.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python2_7/lib/cookiecutter >copying cookiecutter/cli.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python2_7/lib/cookiecutter >copying cookiecutter/__main__.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python2_7/lib/cookiecutter >copying cookiecutter/__init__.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python2_7/lib/cookiecutter >running egg_info >creating cookiecutter.egg-info >writing requirements to cookiecutter.egg-info/requires.txt >writing cookiecutter.egg-info/PKG-INFO >writing top-level names to cookiecutter.egg-info/top_level.txt >writing dependency_links to cookiecutter.egg-info/dependency_links.txt >writing entry points to cookiecutter.egg-info/entry_points.txt >writing manifest file 'cookiecutter.egg-info/SOURCES.txt' >reading manifest file 'cookiecutter.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >warning: no previously-included files matching '__pycache__' found under directory '*' >warning: no previously-included files matching '*.py[co]' found under directory '*' >writing manifest file 'cookiecutter.egg-info/SOURCES.txt' >warning: build_py: byte-compiling is disabled, skipping. > > * python3_6: running distutils-r1_run_phase distutils-r1_python_compile >python3.6 setup.py build >running build >running build_py >creating /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python3_6/lib/cookiecutter >copying cookiecutter/zipfile.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python3_6/lib/cookiecutter >copying cookiecutter/vcs.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python3_6/lib/cookiecutter >copying cookiecutter/utils.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python3_6/lib/cookiecutter >copying cookiecutter/repository.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python3_6/lib/cookiecutter >copying cookiecutter/replay.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python3_6/lib/cookiecutter >copying cookiecutter/prompt.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python3_6/lib/cookiecutter >copying cookiecutter/main.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python3_6/lib/cookiecutter >copying cookiecutter/log.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python3_6/lib/cookiecutter >copying cookiecutter/hooks.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python3_6/lib/cookiecutter >copying cookiecutter/generate.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python3_6/lib/cookiecutter >copying cookiecutter/find.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python3_6/lib/cookiecutter >copying cookiecutter/extensions.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python3_6/lib/cookiecutter >copying cookiecutter/exceptions.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python3_6/lib/cookiecutter >copying cookiecutter/environment.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python3_6/lib/cookiecutter >copying cookiecutter/config.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python3_6/lib/cookiecutter >copying cookiecutter/cli.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python3_6/lib/cookiecutter >copying cookiecutter/__main__.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python3_6/lib/cookiecutter >copying cookiecutter/__init__.py -> /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0-python3_6/lib/cookiecutter >running egg_info >writing cookiecutter.egg-info/PKG-INFO >writing dependency_links to cookiecutter.egg-info/dependency_links.txt >writing entry points to cookiecutter.egg-info/entry_points.txt >writing requirements to cookiecutter.egg-info/requires.txt >writing top-level names to cookiecutter.egg-info/top_level.txt >reading manifest file 'cookiecutter.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >warning: no previously-included files matching '__pycache__' found under directory '*' >warning: no previously-included files matching '*.py[co]' found under directory '*' >writing manifest file 'cookiecutter.egg-info/SOURCES.txt' >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-util/cookiecutter-1.6.0 > * python2_7: running distutils-r1_run_phase python_test >/usr/lib64/python2.7/site-packages/_pytest/config/__init__.py:306: PytestWarning: pytest-catchlog plugin has been merged into the core, please remove it from your requirements. > name.replace("_", "-") >============================= test session starts ============================== >platform linux2 -- Python 2.7.15, pytest-4.2.0, py-1.5.4, pluggy-0.8.1 >rootdir: /var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0, inifile: setup.cfg >plugins: requests-mock-1.5.2, xdist-1.23.2, mock-1.10.0, httpbin-0.2.3, forked-0.2, cov-2.5.1, catchlog-1.2.2, betamax-0.8.0 >collected 261 items > >tests/test_abort_generate_on_hook_error.py .. [ 0%] >tests/test_cli.py ........................F.. [ 11%] >tests/test_cookiecutter_invocation.py F. [ 11%] >tests/test_cookiecutter_local_no_input.py ....... [ 14%] >tests/test_cookiecutter_local_with_input.py .. [ 15%] >tests/test_custom_extensions_in_hooks.py .. [ 16%] >tests/test_default_extensions.py . [ 16%] >tests/test_environment.py .. [ 17%] >tests/test_exceptions.py . [ 17%] >tests/test_find.py .. [ 18%] >tests/test_generate_context.py .......... [ 22%] >tests/test_generate_copy_without_render.py . [ 22%] >tests/test_generate_file.py ..... [ 24%] >tests/test_generate_files.py .................. [ 31%] >tests/test_generate_hooks.py ........ [ 34%] >tests/test_get_config.py ..... [ 36%] >tests/test_get_user_config.py ......... [ 39%] >tests/test_hooks.py .......... [ 43%] >tests/test_log.py ... [ 44%] >tests/test_main.py .. [ 45%] >tests/test_output_folder.py .. [ 46%] >tests/test_preferred_encoding.py s [ 46%] >tests/test_prompt.py ......................... [ 56%] >tests/test_read_repo_password.py . [ 56%] >tests/test_read_user_choice.py ..... [ 58%] >tests/test_read_user_dict.py ....... [ 61%] >tests/test_read_user_variable.py . [ 61%] >tests/test_read_user_yes_no.py . [ 62%] >tests/test_repo_not_found.py . [ 62%] >tests/test_specify_output_dir.py .. [ 63%] >tests/test_utils.py ......... [ 66%] >tests/replay/test_dump.py ..... [ 68%] >tests/replay/test_load.py .... [ 70%] >tests/replay/test_replay.py ...... [ 72%] >tests/repository/test_abbreviation_expansion.py ....... [ 75%] >tests/repository/test_determine_repo_dir_clones_repo.py ..... [ 77%] >tests/repository/test_determine_repo_dir_finds_existing_cookiecutter.py . [ 77%] > [ 77%] >tests/repository/test_determine_repository_should_use_local_repo.py ... [ 78%] >tests/repository/test_is_repo_url.py ............. [ 83%] >tests/repository/test_repository_has_cookiecutter_json.py ... [ 84%] >tests/vcs/test_clone.py .......... [ 88%] >tests/vcs/test_identify_repo.py ............. [ 93%] >tests/vcs/test_is_vcs_installed.py .... [ 95%] >tests/zipfile/test_unzip.py ............. [100%] > >=================================== FAILURES =================================== >____________________ test_cli_extra_context_invalid_format _____________________ > >cli_runner = <function cli_main at 0x7fc62d4f7140> > > @pytest.mark.usefixtures('remove_fake_project_dir') > def test_cli_extra_context_invalid_format(cli_runner): > result = cli_runner( > 'tests/fake-repo-pre/', > '--no-input', > '-v', > 'ExtraContextWithNoEqualsSoInvalid', > ) > assert result.exit_code == 2 >> assert 'Error: Invalid value for "extra_context"' in result.output >E assert 'Error: Invalid value for "extra_context"' in 'Usage: main [OPTIONS] TEMPLATE [EXTRA_CONTEXT]...\n\nError: Invalid value for "[EXTRA_CONTEXT]...": EXTRA_CONTEXT should contain items of the form key=value; \'ExtraContextWithNoEqualsSoInvalid\' doesn\'t match that form\n' >E + where 'Usage: main [OPTIONS] TEMPLATE [EXTRA_CONTEXT]...\n\nError: Invalid value for "[EXTRA_CONTEXT]...": EXTRA_CONTEXT should contain items of the form key=value; \'ExtraContextWithNoEqualsSoInvalid\' doesn\'t match that form\n' = <Result SystemExit(2,)>.output > >tests/test_cli.py:390: AssertionError >_________________ test_should_raise_error_without_template_arg _________________ > >capfd = <_pytest.capture.CaptureFixture object at 0x7fc62d3988d0> > > def test_should_raise_error_without_template_arg(capfd): > with pytest.raises(subprocess.CalledProcessError): > subprocess.check_call(['python', '-m', 'cookiecutter.cli']) > > _, err = capfd.readouterr() > exp_message = 'Error: Missing argument "template".' >> assert exp_message in err >E assert 'Error: Missing argument "template".' in 'Usage: cli.py [OPTIONS] TEMPLATE [EXTRA_CONTEXT]...\nTry "cli.py -h" for help.\n\nError: Missing argument "TEMPLATE".\n' > >tests/test_cookiecutter_invocation.py:25: AssertionError > >---------- coverage: platform linux2, python 2.7.15-final-0 ---------- >Name Stmts Miss Cover >------------------------------------------------- >cookiecutter/__init__.py 2 0 100% >cookiecutter/__main__.py 3 0 100% >cookiecutter/cli.py 49 0 100% >cookiecutter/config.py 51 0 100% >cookiecutter/environment.py 21 0 100% >cookiecutter/exceptions.py 24 0 100% >cookiecutter/extensions.py 9 0 100% >cookiecutter/find.py 18 0 100% >cookiecutter/generate.py 166 0 100% >cookiecutter/hooks.py 61 0 100% >cookiecutter/log.py 21 0 100% >cookiecutter/main.py 31 0 100% >cookiecutter/prompt.py 90 0 100% >cookiecutter/replay.py 30 0 100% >cookiecutter/repository.py 39 0 100% >cookiecutter/utils.py 50 2 96% >cookiecutter/vcs.py 54 0 100% >cookiecutter/zipfile.py 61 0 100% >------------------------------------------------- >TOTAL 780 2 99% > >========================== deprecated python version =========================== >You are using Python 2.7.15, which will no longer be supported in pytest 5.0 >For more information, please read: > https://docs.pytest.org/en/latest/py27-py34-deprecation.html >=============== 2 failed, 258 passed, 1 skipped in 8.04 seconds ================ > * ERROR: dev-util/cookiecutter-1.6.0::gentoo failed (test phase): > * (no error message) > * > * Call stack: > * ebuild.sh, line 124: Called src_test > * environment, line 2663: Called distutils-r1_src_test > * environment, line 914: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 364: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2196: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 1568: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 1566: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 576: Called distutils-r1_run_phase 'python_test' > * environment, line 845: Called python_test > * environment, line 2565: Called die > * The specific snippet of code: > * py.test || die > * > * If you need support, post the output of `emerge --info '=dev-util/cookiecutter-1.6.0::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-util/cookiecutter-1.6.0::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-util:cookiecutter-1.6.0:20190212-072007.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/cookiecutter-1.6.0/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-util/cookiecutter-1.6.0/temp/environment'. > * Working directory: '/var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.0' > * S: '/var/tmp/portage/dev-util/cookiecutter-1.6.0/work/cookiecutter-1.6.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 677814
:
564970
| 564972 |
564974
|
564976
|
564978
|
564980
|
564982