Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 726352 Details for
Bug 803659
dev-util/pkgdev-0.1.7 fails tests: - E assert False
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-util:pkgdev-0.1.7:20210724-065227.log
dev-util:pkgdev-0.1.7:20210724-065227.log (text/plain), 85.20 KB, created by
Toralf Förster
on 2021-07-24 07:12:20 UTC
(
hide
)
Description:
dev-util:pkgdev-0.1.7:20210724-065227.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2021-07-24 07:12:20 UTC
Size:
85.20 KB
patch
obsolete
> * Package: dev-util/pkgdev-0.1.7 > * Repository: gentoo > * Maintainer: sam@gentoo.org mgorny@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_9 test userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking pkgdev-0.1.7.tar.gz to /var/tmp/portage/dev-util/pkgdev-0.1.7/work >>>> Source unpacked in /var/tmp/portage/dev-util/pkgdev-0.1.7/work >>>> Preparing source in /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7 ... > * Will copy sources from /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7 > * python3_9: copying to /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9 >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7 ... > * python3_9: running distutils-r1_run_phase distutils-r1_python_compile >python3.9 setup.py build -j 3 >running build >running build_py >creating /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev >copying src/pkgdev/mangle.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev >copying src/pkgdev/git.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev >copying src/pkgdev/cli.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev >copying src/pkgdev/_verinfo.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev >copying src/pkgdev/__init__.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev >creating /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/scripts >copying src/pkgdev/scripts/pkgdev_showkw.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/scripts >copying src/pkgdev/scripts/pkgdev_push.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/scripts >copying src/pkgdev/scripts/pkgdev_mask.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/scripts >copying src/pkgdev/scripts/pkgdev_manifest.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/scripts >copying src/pkgdev/scripts/pkgdev_commit.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/scripts >copying src/pkgdev/scripts/pkgdev.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/scripts >copying src/pkgdev/scripts/argparsers.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/scripts >copying src/pkgdev/scripts/__init__.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/scripts >creating /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/_vendor >copying src/pkgdev/_vendor/tabulate.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/_vendor >copying src/pkgdev/_vendor/__init__.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/_vendor >warning: build_py: byte-compiling is disabled, skipping. > >generating version info: /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/_verinfo.py >warning: build_py: byte-compiling is disabled, skipping. > >running build_scripts >creating /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/.generated_scripts >creating /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/scripts >copying and adjusting /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/.generated_scripts/pkgdev -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/scripts >changing mode of /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/scripts/pkgdev from 644 to 755 >running build_ext > * Using python3.10 in global scope > * python3_10: running distutils-r1_run_phase python_compile_all >>>> Source compiled. >>>> Test phase: dev-util/pkgdev-0.1.7 > * python3_9: running distutils-r1_run_phase python_test >python3.9 setup.py test --verbose >running test >running install >running build >running build_py >warning: build_py: byte-compiling is disabled, skipping. > >generating version info: /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/_verinfo.py >warning: build_py: byte-compiling is disabled, skipping. > >running build_scripts >copying and adjusting /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/.generated_scripts/pkgdev -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/scripts >running build_ext >running install_lib >creating /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install >creating /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/lib >creating /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/lib/python3.9 >creating /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/lib/python3.9/site-packages >creating /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/lib/python3.9/site-packages/pkgdev >creating /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/lib/python3.9/site-packages/pkgdev/_vendor >copying /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/_vendor/__init__.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/lib/python3.9/site-packages/pkgdev/_vendor >copying /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/_vendor/tabulate.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/lib/python3.9/site-packages/pkgdev/_vendor >creating /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/lib/python3.9/site-packages/pkgdev/scripts >copying /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/scripts/__init__.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/lib/python3.9/site-packages/pkgdev/scripts >copying /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/scripts/argparsers.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/lib/python3.9/site-packages/pkgdev/scripts >copying /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/scripts/pkgdev.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/lib/python3.9/site-packages/pkgdev/scripts >copying /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/scripts/pkgdev_commit.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/lib/python3.9/site-packages/pkgdev/scripts >copying /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/scripts/pkgdev_manifest.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/lib/python3.9/site-packages/pkgdev/scripts >copying /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/scripts/pkgdev_mask.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/lib/python3.9/site-packages/pkgdev/scripts >copying /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/scripts/pkgdev_push.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/lib/python3.9/site-packages/pkgdev/scripts >copying /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/scripts/pkgdev_showkw.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/lib/python3.9/site-packages/pkgdev/scripts >copying /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/__init__.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/lib/python3.9/site-packages/pkgdev >copying /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/_verinfo.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/lib/python3.9/site-packages/pkgdev >copying /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/cli.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/lib/python3.9/site-packages/pkgdev >copying /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/git.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/lib/python3.9/site-packages/pkgdev >copying /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/lib/pkgdev/mangle.py -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/lib/python3.9/site-packages/pkgdev >warning: install_lib: byte-compiling is disabled, skipping. > >running install_data >creating /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/share >creating /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/share/bash-completion >creating /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/share/bash-completion/completions >copying completion/bash/pkgdev -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/share/bash-completion/completions/ >creating /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/share/zsh >creating /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/share/zsh/site-functions >copying completion/zsh/_pkgdev -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/share/zsh/site-functions/ >running install_egg_info >running egg_info >creating src/pkgdev.egg-info >writing src/pkgdev.egg-info/PKG-INFO >writing dependency_links to src/pkgdev.egg-info/dependency_links.txt >writing requirements to src/pkgdev.egg-info/requires.txt >writing top-level names to src/pkgdev.egg-info/top_level.txt >writing manifest file 'src/pkgdev.egg-info/SOURCES.txt' >reading manifest file 'src/pkgdev.egg-info/SOURCES.txt' >adding license file 'LICENSE' >writing manifest file 'src/pkgdev.egg-info/SOURCES.txt' >Copying src/pkgdev.egg-info to /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/lib/python3.9/site-packages/pkgdev-0.1.7-py3.9.egg-info >running install_scripts >creating /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/bin >copying /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/scripts/pkgdev -> /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/bin >changing mode of /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/build/install/bin/pkgdev to 755 >============================= test session starts ============================== >platform linux -- Python 3.9.6, pytest-6.2.4, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3.9 >cachedir: .pytest_cache >tempdir: /var/tmp/portage/dev-util/pkgdev-0.1.7/temp/pkgdev-0.1.7-python3_9 >hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9/.hypothesis/examples') >rootdir: /var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9 >plugins: case-1.5.3, tempdir-2019.10.12, django-4.4.0, anyio-3.2.1, trio-0.7.0, subtests-0.5.0, httpx-0.12.0, hypothesis-6.14.3, localserver-0.5.0, pkgcore-0.12.1, shutil-1.7.0, flake8-1.0.7, betamax-0.8.1, pyfakefs-4.5.0, verbose-parametrize-1.7.0, snapshottest-0.5.1, freezegun-0.4.2, rerunfailures-10.1, localftpserver-1.1.2, env-0.6.2, flakes-4.0.2, cov-2.12.1, timeout-1.4.2, datadir-1.3.1, regressions-2.2.0, mock-3.6.1 >collecting ... collected 67 items > >tests/test_git.py::TestGitRun::test_git_missing PASSED [ 1%] >tests/test_git.py::TestGitRun::test_failed_run PASSED [ 2%] >tests/test_git.py::TestGitRun::test_successful_run PASSED [ 4%] >tests/test_mangle.py::TestMangler::test_nonexistent_file PASSED [ 5%] >tests/test_mangle.py::TestMangler::test_empty_file PASSED [ 7%] >tests/test_mangle.py::TestMangler::test_skipped_file PASSED [ 8%] >tests/test_mangle.py::TestMangler::test_nonmangled_file PASSED [ 10%] >tests/test_mangle.py::TestMangler::test_mangled_file PASSED [ 11%] >tests/test_mangle.py::TestMangler::test_iterator_exceptions PASSED [ 13%] >tests/test_mangle.py::TestMangler::test_sigint_handling PASSED [ 14%] >tests/scripts/test_pkgdev.py::test_script_run PASSED [ 16%] >tests/scripts/test_pkgdev.py::TestPkgdev::test_version PASSED [ 17%] >tests/scripts/test_pkgdev.py::TestPkgdev::test_installed PASSED [ 19%] >tests/scripts/test_pkgdev_commit.py::TestPkgdevCommitParseArgs::test_non_repo_cwd PASSED [ 20%] >tests/scripts/test_pkgdev_commit.py::TestPkgdevCommitParseArgs::test_bad_repo_cwd PASSED [ 22%] >tests/scripts/test_pkgdev_commit.py::TestPkgdevCommitParseArgs::test_non_git_repo_cwd PASSED [ 23%] >tests/scripts/test_pkgdev_commit.py::TestPkgdevCommitParseArgs::test_non_ebuild_git_repo_cwd PASSED [ 25%] >tests/scripts/test_pkgdev_commit.py::TestPkgdevCommitParseArgs::test_commit_signing PASSED [ 26%] >tests/scripts/test_pkgdev_commit.py::TestPkgdevCommitParseArgs::test_git_commit_args PASSED [ 28%] >tests/scripts/test_pkgdev_commit.py::TestPkgdevCommitParseArgs::test_git_commit_args_passthrough PASSED [ 29%] >tests/scripts/test_pkgdev_commit.py::TestPkgdevCommitParseArgs::test_scan_args PASSED [ 31%] >tests/scripts/test_pkgdev_commit.py::TestPkgdevCommitParseArgs::test_commit_tags PASSED [ 32%] >tests/scripts/test_pkgdev_commit.py::TestPkgdevCommit::test_empty_repo PASSED [ 34%] >tests/scripts/test_pkgdev_commit.py::TestPkgdevCommit::test_git_message_opts PASSED [ 35%] >tests/scripts/test_pkgdev_commit.py::TestPkgdevCommit::test_message_template FAILED [ 37%] >tests/scripts/test_pkgdev_commit.py::TestPkgdevCommit::test_custom_unprefixed_message FAILED [ 38%] >tests/scripts/test_pkgdev_commit.py::TestPkgdevCommit::test_custom_prefixed_message FAILED [ 40%] >tests/scripts/test_pkgdev_commit.py::TestPkgdevCommit::test_edited_commit_message FAILED [ 41%] >tests/scripts/test_pkgdev_commit.py::TestPkgdevCommit::test_generated_commit_prefixes FAILED [ 43%] >tests/scripts/test_pkgdev_commit.py::TestPkgdevCommit::test_generated_commit_summaries FAILED [ 44%] >tests/scripts/test_pkgdev_commit.py::TestPkgdevCommit::test_non_gentoo_file_mangling PASSED [ 46%] >tests/scripts/test_pkgdev_commit.py::TestPkgdevCommit::test_gentoo_file_mangling PASSED [ 47%] >tests/scripts/test_pkgdev_commit.py::TestPkgdevCommit::test_scan FAILED [ 49%] >tests/scripts/test_pkgdev_commit.py::TestPkgdevCommit::test_failed_scan FAILED [ 50%] >tests/scripts/test_pkgdev_commit.py::TestPkgdevCommit::test_failed_manifest FAILED [ 52%] >tests/scripts/test_pkgdev_manifest.py::TestPkgdevManifestParseArgs::test_non_repo_cwd FAILED [ 53%] >tests/scripts/test_pkgdev_manifest.py::TestPkgdevManifestParseArgs::test_repo_cwd PASSED [ 55%] >tests/scripts/test_pkgdev_manifest.py::TestPkgdevManifestParseArgs::test_dir_target PASSED [ 56%] >tests/scripts/test_pkgdev_manifest.py::TestPkgdevManifestParseArgs::test_ebuild_target PASSED [ 58%] >tests/scripts/test_pkgdev_manifest.py::TestPkgdevManifestParseArgs::test_atom_target PASSED [ 59%] >tests/scripts/test_pkgdev_manifest.py::TestPkgdevManifestParseArgs::test_non_repo_dir_target FAILED [ 61%] >tests/scripts/test_pkgdev_manifest.py::TestPkgdevManifestParseArgs::test_invalid_atom_target FAILED [ 62%] >tests/scripts/test_pkgdev_manifest.py::TestPkgdevManifest::test_good_manifest FAILED [ 64%] >tests/scripts/test_pkgdev_manifest.py::TestPkgdevManifest::test_bad_manifest FAILED [ 65%] >tests/scripts/test_pkgdev_mask.py::TestPkgdevMaskParseArgs::test_non_repo_cwd FAILED [ 67%] >tests/scripts/test_pkgdev_mask.py::TestPkgdevMaskParseArgs::test_non_git_repo_cwd FAILED [ 68%] >tests/scripts/test_pkgdev_mask.py::TestPkgdevMaskParseArgs::test_non_ebuild_git_repo_cwd FAILED [ 70%] >tests/scripts/test_pkgdev_mask.py::TestPkgdevMaskParseArgs::test_cwd_target FAILED [ 71%] >tests/scripts/test_pkgdev_mask.py::TestPkgdevMaskParseArgs::test_targets FAILED [ 73%] >tests/scripts/test_pkgdev_mask.py::TestPkgdevMask::test_empty_repo PASSED [ 74%] >tests/scripts/test_pkgdev_mask.py::TestPkgdevMask::test_nonexistent_editor FAILED [ 76%] >tests/scripts/test_pkgdev_mask.py::TestPkgdevMask::test_failed_editor FAILED [ 77%] >tests/scripts/test_pkgdev_mask.py::TestPkgdevMask::test_empty_mask_comment FAILED [ 79%] >tests/scripts/test_pkgdev_mask.py::TestPkgdevMask::test_mask_cwd PASSED [ 80%] >tests/scripts/test_pkgdev_mask.py::TestPkgdevMask::test_mask_target PASSED [ 82%] >tests/scripts/test_pkgdev_mask.py::TestPkgdevMask::test_mask_ebuild_path PASSED [ 83%] >tests/scripts/test_pkgdev_mask.py::TestPkgdevMask::test_existing_masks PASSED [ 85%] >tests/scripts/test_pkgdev_mask.py::TestPkgdevMask::test_last_rites PASSED [ 86%] >tests/scripts/test_pkgdev_push.py::TestPkgdevPushParseArgs::test_non_repo_cwd FAILED [ 88%] >tests/scripts/test_pkgdev_push.py::TestPkgdevPushParseArgs::test_non_git_repo_cwd FAILED [ 89%] >tests/scripts/test_pkgdev_push.py::TestPkgdevPushParseArgs::test_non_ebuild_git_repo_cwd FAILED [ 91%] >tests/scripts/test_pkgdev_push.py::TestPkgdevPushParseArgs::test_git_push_args_passthrough PASSED [ 92%] >tests/scripts/test_pkgdev_push.py::TestPkgdevPushParseArgs::test_scan_args PASSED [ 94%] >tests/scripts/test_pkgdev_push.py::TestPkgdevPush::test_push PASSED [ 95%] >tests/scripts/test_pkgdev_push.py::TestPkgdevPush::test_failed_push PASSED [ 97%] >tests/scripts/test_pkgdev_showkw.py::TestPkgdevShowkwParseArgs::test_missing_target FAILED [ 98%] >tests/scripts/test_pkgdev_showkw.py::TestPkgdevShowkwParseArgs::test_unknown_arches FAILED [100%] > >=================================== FAILURES =================================== >____________________ TestPkgdevCommit.test_message_template ____________________ > >self = <tests.scripts.test_pkgdev_commit.TestPkgdevCommit object at 0x7fdcf1e14520> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf1c6b370> >repo = <pkgcore.pytest.plugin.EbuildRepo object at 0x7fdcf1c6b400> >make_git_repo = <function make_git_repo.<locals>._make_git_repo at 0x7fdcf1c82940> >tmp_path = PosixPath('/var/tmp/portage/dev-util/pkgdev-0.1.7/temp/pytest-of-portage/pytest-0/test_message_template0') > > def test_message_template(self, capsys, repo, make_git_repo, tmp_path): > git_repo = make_git_repo(repo.location) > repo.create_ebuild('cat/pkg-0') > git_repo.add_all('cat/pkg-0') > path = str(tmp_path / 'msg') > > # auto-generate prefix > with open(path, 'w') as f: > f.write(textwrap.dedent("""\ > *: summary > > body > """)) > > for i, opt in enumerate(['-M', '--message-template'], 1): > repo.create_ebuild(f'cat/pkg-{i}') > git_repo.add_all(f'cat/pkg-{i}', commit=False) > with patch('sys.argv', self.args + ['-u', opt, path]), \ > pytest.raises(SystemExit) as excinfo, \ > chdir(git_repo.path): > self.script() > assert excinfo.value.code == 0 > commit_msg = git_repo.log(['-1', '--pretty=tformat:%B', 'HEAD']) > assert commit_msg == ['cat/pkg: summary', '', 'body'] > > # override prefix > with open(path, 'w') as f: > f.write(textwrap.dedent("""\ > prefix: summary > > body > """)) > > for i, opt in enumerate(['-M', '--message-template'], 3): > repo.create_ebuild(f'cat/pkg-{i}') > git_repo.add_all(f'cat/pkg-{i}', commit=False) > with patch('sys.argv', self.args + ['-u', opt, path]), \ > pytest.raises(SystemExit) as excinfo, \ > chdir(git_repo.path): > self.script() > assert excinfo.value.code == 0 > commit_msg = git_repo.log(['-1', '--pretty=tformat:%B', 'HEAD']) > assert commit_msg == ['prefix: summary', '', 'body'] > > # empty message > with open(path, 'w') as f: > f.write('') > > for i, opt in enumerate(['-M', '--message-template'], 5): > repo.create_ebuild(f'cat/pkg-{i}') > git_repo.add_all(f'cat/pkg-{i}', commit=False) > with patch('sys.argv', self.args + ['-u', opt, path]), \ > pytest.raises(SystemExit) as excinfo, \ > chdir(git_repo.path): > self.script() > assert excinfo.value.code == 2 > out, err = capsys.readouterr() > assert not out >> assert err.strip().startswith('pkgdev commit: error: empty message template') >E assert False >E + where False = <built-in method startswith of str object at 0x55f9a7155f60>('pkgdev commit: error: empty message template') >E + where <built-in method startswith of str object at 0x55f9a7155f60> = '--- Logging error ---\nTraceback (most recent call last):\n File "/usr/lib/python3.9/site-packages/snakeoil/bash.py"...essage template: \'/var/tmp/portage/dev-util/pkgdev-0.1.7/temp/pytest-of-portage/pytest-0/test_message_template0/msg\''.startswith >E + where '--- Logging error ---\nTraceback (most recent call last):\n File "/usr/lib/python3.9/site-packages/snakeoil/bash.py"...essage template: \'/var/tmp/portage/dev-util/pkgdev-0.1.7/temp/pytest-of-portage/pytest-0/test_message_template0/msg\'' = <built-in method strip of str object at 0x55f9a717aa40>() >E + where <built-in method strip of str object at 0x55f9a717aa40> = '--- Logging error ---\nTraceback (most recent call last):\n File "/usr/lib/python3.9/site-packages/snakeoil/bash.py"...sage template: \'/var/tmp/portage/dev-util/pkgdev-0.1.7/temp/pytest-of-portage/pytest-0/test_message_template0/msg\'\n'.strip > >tests/scripts/test_pkgdev_commit.py:269: AssertionError >----------------------------- Captured stdout call ----------------------------- >[main 2f9a4e6] cat/pkg: summary > 1 file changed, 5 insertions(+) > create mode 100644 cat/pkg/pkg-1.ebuild >[main a3b36a4] cat/pkg: summary > 1 file changed, 5 insertions(+) > create mode 100644 cat/pkg/pkg-2.ebuild >[main 7c47f1b] prefix: summary > 1 file changed, 5 insertions(+) > create mode 100644 cat/pkg/pkg-3.ebuild >[main b985248] prefix: summary > 1 file changed, 5 insertions(+) > create mode 100644 cat/pkg/pkg-4.ebuild >----------------------------- Captured stderr call ----------------------------- >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >_______________ TestPkgdevCommit.test_custom_unprefixed_message ________________ > >self = <tests.scripts.test_pkgdev_commit.TestPkgdevCommit object at 0x7fdcf1c540a0> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf1f4c8b0> >repo = <pkgcore.pytest.plugin.EbuildRepo object at 0x7fdcf1df9460> >make_git_repo = <function make_git_repo.<locals>._make_git_repo at 0x7fdcf1dfb3a0> > > def test_custom_unprefixed_message(self, capsys, repo, make_git_repo): > git_repo = make_git_repo(repo.location) > ebuild_path = repo.create_ebuild('cat/pkg-0') > git_repo.add_all('cat/pkg-0') > with open(ebuild_path, 'a+') as f: > f.write('# comment\n') > > with patch('sys.argv', self.args + ['-u', '-m', 'msg']), \ > pytest.raises(SystemExit) as excinfo, \ > chdir(git_repo.path): > self.script() > assert excinfo.value.code == 0 > out, err = capsys.readouterr() >> assert err == out == '' >E assert "--- Logging ...t.conf', 1)\n" == '' >E + --- Logging error --- >E + Traceback (most recent call last): >E + File "/usr/lib/python3.9/site-packages/snakeoil/bash.py", line 195, in read_dict >E + k, v = k.split(splitter, 1) >E + ValueError: not enough values to unpack (expected 2, got 1) >E + >E + During handling of the above exception, another exception occurred:... >E >E ...Full output truncated (669 lines hidden), use '-vv' to show > >tests/scripts/test_pkgdev_commit.py:284: AssertionError >----------------------------- Captured stdout call ----------------------------- >[main 20518ea] cat/pkg: msg > 1 file changed, 1 insertion(+) >----------------------------- Captured stderr call ----------------------------- >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >________________ TestPkgdevCommit.test_custom_prefixed_message _________________ > >self = <tests.scripts.test_pkgdev_commit.TestPkgdevCommit object at 0x7fdcf1b06e80> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf1b06970> >repo = <pkgcore.pytest.plugin.EbuildRepo object at 0x7fdcf1b06670> >make_git_repo = <function make_git_repo.<locals>._make_git_repo at 0x7fdcf1c1b8b0> > > def test_custom_prefixed_message(self, capsys, repo, make_git_repo): > git_repo = make_git_repo(repo.location) > ebuild_path = repo.create_ebuild('cat/pkg-0') > git_repo.add_all('cat/pkg-0') > with open(ebuild_path, 'a+') as f: > f.write('# comment\n') > > with patch('sys.argv', self.args + ['-u', '-m', 'prefix: msg']), \ > pytest.raises(SystemExit) as excinfo, \ > chdir(git_repo.path): > self.script() > assert excinfo.value.code == 0 > out, err = capsys.readouterr() >> assert err == out == '' >E assert "--- Logging ...t.conf', 1)\n" == '' >E + --- Logging error --- >E + Traceback (most recent call last): >E + File "/usr/lib/python3.9/site-packages/snakeoil/bash.py", line 195, in read_dict >E + k, v = k.split(splitter, 1) >E + ValueError: not enough values to unpack (expected 2, got 1) >E + >E + During handling of the above exception, another exception occurred:... >E >E ...Full output truncated (804 lines hidden), use '-vv' to show > >tests/scripts/test_pkgdev_commit.py:302: AssertionError >----------------------------- Captured stdout call ----------------------------- >[main 20e715f] prefix: msg > 1 file changed, 1 insertion(+) >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >_________________ TestPkgdevCommit.test_edited_commit_message __________________ > >self = <tests.scripts.test_pkgdev_commit.TestPkgdevCommit object at 0x7fdcf1b04dc0> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf1b049a0> >repo = <pkgcore.pytest.plugin.EbuildRepo object at 0x7fdcf1b04cd0> >make_git_repo = <function make_git_repo.<locals>._make_git_repo at 0x7fdcf1aec9d0> > > def test_edited_commit_message(self, capsys, repo, make_git_repo): > git_repo = make_git_repo(repo.location) > ebuild_path = repo.create_ebuild('cat/pkg-0') > git_repo.add_all('cat/pkg-0') > with open(ebuild_path, 'a+') as f: > f.write('# comment\n') > > with os_environ(GIT_EDITOR="sed -i '1s/$/commit/'"), \ > patch('sys.argv', self.args + ['-u']), \ > pytest.raises(SystemExit) as excinfo, \ > chdir(git_repo.path): > self.script() > assert excinfo.value.code == 0 > out, err = capsys.readouterr() >> assert err == out == '' >E assert "--- Logging ...nf', line 1\n" == '' >E + --- Logging error --- >E + Traceback (most recent call last): >E + File "/usr/lib/python3.9/site-packages/snakeoil/bash.py", line 195, in read_dict >E + k, v = k.split(splitter, 1) >E + ValueError: not enough values to unpack (expected 2, got 1) >E + >E + During handling of the above exception, another exception occurred:... >E >E ...Full output truncated (1541 lines hidden), use '-vv' to show > >tests/scripts/test_pkgdev_commit.py:321: AssertionError >----------------------------- Captured stdout call ----------------------------- >[main 907880d] cat/pkg: commit > 1 file changed, 1 insertion(+) >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >_______________ TestPkgdevCommit.test_generated_commit_prefixes ________________ > >self = <tests.scripts.test_pkgdev_commit.TestPkgdevCommit object at 0x7fdcf1ae0bb0> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf1ae07c0> >repo = <pkgcore.pytest.plugin.EbuildRepo object at 0x7fdcf1ae02e0> >make_git_repo = <function make_git_repo.<locals>._make_git_repo at 0x7fdcf1bcb820> > > def test_generated_commit_prefixes(self, capsys, repo, make_git_repo): > git_repo = make_git_repo(repo.location) > repo.create_ebuild('cat/pkg-0') > git_repo.add_all('cat/pkg-0') > > def commit(): > with patch('sys.argv', self.args + ['-a', '-m', 'msg']), \ > pytest.raises(SystemExit) as excinfo, \ > chdir(git_repo.path): > self.script() > assert excinfo.value.code == 0 > out, err = capsys.readouterr() > assert err == out == '' > message = git_repo.log(['-1', '--pretty=tformat:%B', 'HEAD']) > return message[0] > > # single package change > repo.create_ebuild('cat/newpkg-0') >> assert commit().startswith('cat/newpkg: ') > >tests/scripts/test_pkgdev_commit.py:344: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > def commit(): > with patch('sys.argv', self.args + ['-a', '-m', 'msg']), \ > pytest.raises(SystemExit) as excinfo, \ > chdir(git_repo.path): > self.script() > assert excinfo.value.code == 0 > out, err = capsys.readouterr() >> assert err == out == '' >E assert "--- Logging ...t.conf', 1)\n" == '' >E + --- Logging error --- >E + Traceback (most recent call last): >E + File "/usr/lib/python3.9/site-packages/snakeoil/bash.py", line 195, in read_dict >E + k, v = k.split(splitter, 1) >E + ValueError: not enough values to unpack (expected 2, got 1) >E + >E + During handling of the above exception, another exception occurred:... >E >E ...Full output truncated (816 lines hidden), use '-vv' to show > >tests/scripts/test_pkgdev_commit.py:338: AssertionError >----------------------------- Captured stdout call ----------------------------- >[main d02b89a] cat/newpkg: msg > 1 file changed, 5 insertions(+) > create mode 100644 cat/newpkg/newpkg-0.ebuild >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >_______________ TestPkgdevCommit.test_generated_commit_summaries _______________ > >self = <tests.scripts.test_pkgdev_commit.TestPkgdevCommit object at 0x7fdcf1ad8df0> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf1ad8790> >repo = <pkgcore.pytest.plugin.EbuildRepo object at 0x7fdcf1ad8370> >make_git_repo = <function make_git_repo.<locals>._make_git_repo at 0x7fdcf1ac3a60> > > def test_generated_commit_summaries(self, capsys, repo, make_git_repo): > git_repo = make_git_repo(repo.location) > repo.create_ebuild('cat/pkg-0') > git_repo.add_all('cat/pkg-0') > > def commit(): > with os_environ(GIT_EDITOR="sed -i '1s/$/summary/'"), \ > patch('sys.argv', self.args + ['-a']), \ > pytest.raises(SystemExit) as excinfo, \ > chdir(git_repo.path): > self.script() > assert excinfo.value.code == 0 > out, err = capsys.readouterr() > assert err == out == '' > message = git_repo.log(['-1', '--pretty=tformat:%B', 'HEAD']) > return message[0] > > # initial package import > repo.create_ebuild('cat/newpkg-0') >> assert commit() == 'cat/newpkg: initial import' > >tests/scripts/test_pkgdev_commit.py:428: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > def commit(): > with os_environ(GIT_EDITOR="sed -i '1s/$/summary/'"), \ > patch('sys.argv', self.args + ['-a']), \ > pytest.raises(SystemExit) as excinfo, \ > chdir(git_repo.path): > self.script() > assert excinfo.value.code == 0 > out, err = capsys.readouterr() >> assert err == out == '' >E assert "--- Logging ...t.conf', 1)\n" == '' >E + --- Logging error --- >E + Traceback (most recent call last): >E + File "/usr/lib/python3.9/site-packages/snakeoil/bash.py", line 195, in read_dict >E + k, v = k.split(splitter, 1) >E + ValueError: not enough values to unpack (expected 2, got 1) >E + >E + During handling of the above exception, another exception occurred:... >E >E ...Full output truncated (816 lines hidden), use '-vv' to show > >tests/scripts/test_pkgdev_commit.py:422: AssertionError >----------------------------- Captured stdout call ----------------------------- >[main 4ce8a98] cat/newpkg: initial import > 1 file changed, 5 insertions(+) > create mode 100644 cat/newpkg/newpkg-0.ebuild >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >__________________________ TestPkgdevCommit.test_scan __________________________ > >self = <tests.scripts.test_pkgdev_commit.TestPkgdevCommit object at 0x7fdcf1df9b20> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf1b4da30> >repo = <pkgcore.pytest.plugin.EbuildRepo object at 0x7fdcf1b585e0> >make_git_repo = <function make_git_repo.<locals>._make_git_repo at 0x7fdcf19e8040> > > def test_scan(self, capsys, repo, make_git_repo): > git_repo = make_git_repo(repo.location) > repo.create_ebuild('cat/pkg-0') > git_repo.add_all('cat/pkg-0') > > for i, opt in enumerate(['-s', '--scan'], 1): > repo.create_ebuild(f'cat/pkg-{i}') > git_repo.add_all(f'cat/pkg-{i}', commit=False) > with patch('sys.argv', self.args + [opt]), \ > pytest.raises(SystemExit) as excinfo, \ > chdir(git_repo.path): > self.script() > assert excinfo.value.code == 0 > out, err = capsys.readouterr() >> assert err == out == '' >E assert "ERROR snakeo...nf', line 1\n" == '' >E + ERROR snakeoil: bash parse error in >E + : '/var/db/repos/local/metadata/layout.conf', line 1 >E + ERROR snakeoil: bash parse error in >E + : '/var/db/repos/local/metadata/layout.conf', line 1 >E + ERROR snakeoil: bash parse error in >E + : '/var/db/repos/local/metadata/layout.conf', line 1 > >tests/scripts/test_pkgdev_commit.py:626: AssertionError >----------------------------- Captured stdout call ----------------------------- >[main 0dfed7c] cat/pkg: add 1 > 1 file changed, 5 insertions(+) > create mode 100644 cat/pkg/pkg-1.ebuild >----------------------------- Captured stderr call ----------------------------- >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >______________________ TestPkgdevCommit.test_failed_scan _______________________ > >self = <tests.scripts.test_pkgdev_commit.TestPkgdevCommit object at 0x7fdcf1b40640> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf1afe9a0> >repo = <pkgcore.pytest.plugin.EbuildRepo object at 0x7fdcf1afea90> >make_git_repo = <function make_git_repo.<locals>._make_git_repo at 0x7fdcf1b450d0> > > def test_failed_scan(self, capsys, repo, make_git_repo): > git_repo = make_git_repo(repo.location) > repo.create_ebuild('cat/pkg-0') > git_repo.add_all('cat/pkg-0') > > # verify staged changes via `pkgcheck scan` before creating commit > repo.create_ebuild('cat/pkg-1', license='') > git_repo.add_all('cat/pkg-1', commit=False) > with patch('sys.argv', self.args + ['--scan']), \ > pytest.raises(SystemExit) as excinfo, \ > chdir(git_repo.path): > self.script() > assert excinfo.value.code == 1 > out, err = capsys.readouterr() >> assert not err >E assert not '--- Logging error ---\nTraceback (most recent call last):\n File "/usr/lib/python3.9/site-packages/snakeoil/bash.py"...onf\', 1)\nERROR snakeoil: bash parse error in\n : \'/var/db/repos/local/metadata/layout.conf\', line 1\n' > >tests/scripts/test_pkgdev_commit.py:644: AssertionError >----------------------------- Captured stderr call ----------------------------- >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >____________________ TestPkgdevCommit.test_failed_manifest _____________________ > >self = <tests.scripts.test_pkgdev_commit.TestPkgdevCommit object at 0x7fdcf1be0be0> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf204d3a0> >repo = <pkgcore.pytest.plugin.EbuildRepo object at 0x7fdcf193cac0> >make_git_repo = <function make_git_repo.<locals>._make_git_repo at 0x7fdcf194af70> > > def test_failed_manifest(self, capsys, repo, make_git_repo): > git_repo = make_git_repo(repo.location) > repo.create_ebuild('cat/pkg-0') > git_repo.add_all('cat/pkg-0') > repo.create_ebuild('cat/pkg-1', eapi='-1') > git_repo.add_all('cat/pkg-1', commit=False) > with patch('sys.argv', self.args), \ > pytest.raises(SystemExit) as excinfo, \ > chdir(git_repo.path): > self.script() > assert excinfo.value.code == 1 > out, err = capsys.readouterr() >> assert not err >E assert not '--- Logging error ---\nTraceback (most recent call last):\n File "/usr/lib/python3.9/site-packages/snakeoil/bash.py"...(record)\nMessage: \'bash parse error in %r, line %s\'\nArguments: (\'/var/db/repos/local/metadata/layout.conf\', 1)\n' > >tests/scripts/test_pkgdev_commit.py:674: AssertionError >----------------------------- Captured stderr call ----------------------------- >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >________________ TestPkgdevManifestParseArgs.test_non_repo_cwd _________________ > >self = <tests.scripts.test_pkgdev_manifest.TestPkgdevManifestParseArgs object at 0x7fdcf1a18fa0> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf18fbe50> >tool = <pkgdev.cli.Tool object at 0x7fdcf22757f0> > > def test_non_repo_cwd(self, capsys, tool): > with pytest.raises(SystemExit) as excinfo: > tool.parse_args(['manifest']) > assert excinfo.value.code == 2 > out, err = capsys.readouterr() >> assert err.strip() == 'pkgdev manifest: error: not in ebuild repo' >E assert '--- Logging ...n ebuild repo' == 'pkgdev manif...n ebuild repo' >E + --- Logging error --- >E + Traceback (most recent call last): >E + File "/usr/lib/python3.9/site-packages/snakeoil/bash.py", line 195, in read_dict >E + k, v = k.split(splitter, 1) >E + ValueError: not enough values to unpack (expected 2, got 1) >E + >E + During handling of the above exception, another exception occurred:... >E >E ...Full output truncated (376 lines hidden), use '-vv' to show > >tests/scripts/test_pkgdev_manifest.py:17: AssertionError >----------------------------- Captured stderr call ----------------------------- >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >_____________ TestPkgdevManifestParseArgs.test_non_repo_dir_target _____________ > >self = <tests.scripts.test_pkgdev_manifest.TestPkgdevManifestParseArgs object at 0x7fdcf1985820> >tmp_path = PosixPath('/var/tmp/portage/dev-util/pkgdev-0.1.7/temp/pytest-of-portage/pytest-0/test_non_repo_dir_target0') >repo = <pkgcore.pytest.plugin.EbuildRepo object at 0x7fdcf199ce80> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf1886df0> >tool = <pkgdev.cli.Tool object at 0x7fdcf22757f0> > > def test_non_repo_dir_target(self, tmp_path, repo, capsys, tool): > with pytest.raises(SystemExit) as excinfo, \ > chdir(repo.location): > tool.parse_args(['manifest', str(tmp_path)]) > assert excinfo.value.code == 2 > out, err = capsys.readouterr() >> assert err.startswith("pkgdev manifest: error: 'fake' repo doesn't contain:") >E assert False >E + where False = <built-in method startswith of str object at 0x55f9a73fc760>("pkgdev manifest: error: 'fake' repo doesn't contain:") >E + where <built-in method startswith of str object at 0x55f9a73fc760> = '--- Logging error ---\nTraceback (most recent call last):\n File "/usr/lib/python3.9/site-packages/snakeoil/bash.py"...esn\'t contain: \'/var/tmp/portage/dev-util/pkgdev-0.1.7/temp/pytest-of-portage/pytest-0/test_non_repo_dir_target0\'\n'.startswith > >tests/scripts/test_pkgdev_manifest.py:53: AssertionError >----------------------------- Captured stderr call ----------------------------- >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >_____________ TestPkgdevManifestParseArgs.test_invalid_atom_target _____________ > >self = <tests.scripts.test_pkgdev_manifest.TestPkgdevManifestParseArgs object at 0x7fdcf1983d30> >repo = <pkgcore.pytest.plugin.EbuildRepo object at 0x7fdcf1985070> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf204d820> >tool = <pkgdev.cli.Tool object at 0x7fdcf22757f0> > > def test_invalid_atom_target(self, repo, capsys, tool): > with pytest.raises(SystemExit) as excinfo, \ > chdir(repo.location): > tool.parse_args(['manifest', '=cat/pkg']) > assert excinfo.value.code == 2 > out, err = capsys.readouterr() >> assert err.startswith("pkgdev manifest: error: invalid atom: '=cat/pkg'") >E assert False >E + where False = <built-in method startswith of str object at 0x55f9a7407330>("pkgdev manifest: error: invalid atom: '=cat/pkg'") >E + where <built-in method startswith of str object at 0x55f9a7407330> = '--- Logging error ---\nTraceback (most recent call last):\n File "/usr/lib/python3.9/site-packages/snakeoil/bash.py"...\'\nArguments: (\'/var/db/repos/local/metadata/layout.conf\', 1)\npkgdev manifest: error: invalid atom: \'=cat/pkg\'\n'.startswith > >tests/scripts/test_pkgdev_manifest.py:61: AssertionError >----------------------------- Captured stderr call ----------------------------- >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >____________________ TestPkgdevManifest.test_good_manifest _____________________ > >self = <tests.scripts.test_pkgdev_manifest.TestPkgdevManifest object at 0x7fdcf1816f40> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf1816ac0> >repo = <pkgcore.pytest.plugin.EbuildRepo object at 0x7fdcf1816640> > > def test_good_manifest(self, capsys, repo): > repo.create_ebuild('cat/pkg-0') > with patch('sys.argv', self.args), \ > pytest.raises(SystemExit) as excinfo, \ > chdir(repo.location): > self.script() > assert excinfo.value.code == 0 > out, err = capsys.readouterr() >> assert out == err == '' >E assert '' == "--- Logging ...t.conf', 1)\n" >E - --- Logging error --- >E - Traceback (most recent call last): >E - File "/usr/lib/python3.9/site-packages/snakeoil/bash.py", line 195, in read_dict >E - k, v = k.split(splitter, 1) >E - ValueError: not enough values to unpack (expected 2, got 1) >E - >E - During handling of the above exception, another exception occurred:... >E >E ...Full output truncated (264 lines hidden), use '-vv' to show > >tests/scripts/test_pkgdev_manifest.py:80: AssertionError >----------------------------- Captured stderr call ----------------------------- >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >_____________________ TestPkgdevManifest.test_bad_manifest _____________________ > >self = <tests.scripts.test_pkgdev_manifest.TestPkgdevManifest object at 0x7fdcf1816910> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf1838880> >repo = <pkgcore.pytest.plugin.EbuildRepo object at 0x7fdcf1838310> > > def test_bad_manifest(self, capsys, repo): > repo.create_ebuild('cat/pkg-0') > repo.create_ebuild('cat/pkg-1', eapi='-1') > with patch('sys.argv', self.args), \ > pytest.raises(SystemExit) as excinfo, \ > chdir(repo.location): > self.script() > assert excinfo.value.code == 1 > out, err = capsys.readouterr() >> assert not err >E assert not '--- Logging error ---\nTraceback (most recent call last):\n File "/usr/lib/python3.9/site-packages/snakeoil/bash.py"...(record)\nMessage: \'bash parse error in %r, line %s\'\nArguments: (\'/var/db/repos/local/metadata/layout.conf\', 1)\n' > >tests/scripts/test_pkgdev_manifest.py:91: AssertionError >----------------------------- Captured stderr call ----------------------------- >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >__________________ TestPkgdevMaskParseArgs.test_non_repo_cwd ___________________ > >self = <tests.scripts.test_pkgdev_mask.TestPkgdevMaskParseArgs object at 0x7fdcf1802b50> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf17aec40> >tool = <pkgdev.cli.Tool object at 0x7fdcf22757f0> > > def test_non_repo_cwd(self, capsys, tool): > with pytest.raises(SystemExit): > tool.parse_args(['mask']) > out, err = capsys.readouterr() >> assert err.strip() == 'pkgdev mask: error: not in ebuild repo' >E assert '--- Logging ...n ebuild repo' == 'pkgdev mask:...n ebuild repo' >E + --- Logging error --- >E + Traceback (most recent call last): >E + File "/usr/lib/python3.9/site-packages/snakeoil/bash.py", line 195, in read_dict >E + k, v = k.split(splitter, 1) >E + ValueError: not enough values to unpack (expected 2, got 1) >E + >E + During handling of the above exception, another exception occurred:... >E >E ...Full output truncated (249 lines hidden), use '-vv' to show > >tests/scripts/test_pkgdev_mask.py:21: AssertionError >----------------------------- Captured stderr call ----------------------------- >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >________________ TestPkgdevMaskParseArgs.test_non_git_repo_cwd _________________ > >self = <tests.scripts.test_pkgdev_mask.TestPkgdevMaskParseArgs object at 0x7fdcf17bb670> >repo = <pkgcore.pytest.plugin.EbuildRepo object at 0x7fdcf17bb820> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf1859ee0> >tool = <pkgdev.cli.Tool object at 0x7fdcf22757f0> > > def test_non_git_repo_cwd(self, repo, capsys, tool): > with pytest.raises(SystemExit), \ > chdir(repo.location): > tool.parse_args(['mask']) > out, err = capsys.readouterr() >> assert err.strip() == 'pkgdev mask: error: not in git repo' >E assert '--- Logging ...t in git repo' == 'pkgdev mask:...t in git repo' >E + --- Logging error --- >E + Traceback (most recent call last): >E + File "/usr/lib/python3.9/site-packages/snakeoil/bash.py", line 195, in read_dict >E + k, v = k.split(splitter, 1) >E + ValueError: not enough values to unpack (expected 2, got 1) >E + >E + During handling of the above exception, another exception occurred:... >E >E ...Full output truncated (249 lines hidden), use '-vv' to show > >tests/scripts/test_pkgdev_mask.py:28: AssertionError >----------------------------- Captured stderr call ----------------------------- >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >fatal: not a git repository (or any parent up to mount point /var/tmp) >Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >_____________ TestPkgdevMaskParseArgs.test_non_ebuild_git_repo_cwd _____________ > >self = <tests.scripts.test_pkgdev_mask.TestPkgdevMaskParseArgs object at 0x7fdcf17ae940> >make_repo = <function make_repo.<locals>._make_repo at 0x7fdcf1879af0> >git_repo = <pkgcore.pytest.plugin.GitRepo object at 0x7fdcf185c160> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf185ca30> >tool = <pkgdev.cli.Tool object at 0x7fdcf22757f0> > > def test_non_ebuild_git_repo_cwd(self, make_repo, git_repo, capsys, tool): > os.mkdir(pjoin(git_repo.path, 'repo')) > repo = make_repo(pjoin(git_repo.path, 'repo')) > with pytest.raises(SystemExit), \ > chdir(repo.location): > tool.parse_args(['mask']) > out, err = capsys.readouterr() >> assert err.strip() == 'pkgdev mask: error: not in ebuild git repo' >E assert '--- Logging ...uild git repo' == 'pkgdev mask:...uild git repo' >E + --- Logging error --- >E + Traceback (most recent call last): >E + File "/usr/lib/python3.9/site-packages/snakeoil/bash.py", line 195, in read_dict >E + k, v = k.split(splitter, 1) >E + ValueError: not enough values to unpack (expected 2, got 1) >E + >E + During handling of the above exception, another exception occurred:... >E >E ...Full output truncated (249 lines hidden), use '-vv' to show > >tests/scripts/test_pkgdev_mask.py:37: AssertionError >----------------------------- Captured stderr call ----------------------------- >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >___________________ TestPkgdevMaskParseArgs.test_cwd_target ____________________ > >self = <tests.scripts.test_pkgdev_mask.TestPkgdevMaskParseArgs object at 0x7fdcf1859fd0> >repo = <pkgcore.pytest.plugin.EbuildRepo object at 0x7fdcf17e2400> >make_git_repo = <function make_git_repo.<locals>._make_git_repo at 0x7fdcf17bd4c0> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf17e2940> >tool = <pkgdev.cli.Tool object at 0x7fdcf22757f0> > > def test_cwd_target(self, repo, make_git_repo, capsys, tool): > git_repo = make_git_repo(repo.location) > # empty repo > with pytest.raises(SystemExit), \ > chdir(repo.location): > tool.parse_args(['mask']) > out, err = capsys.readouterr() >> assert err.strip() == 'pkgdev mask: error: not in a package directory' >E assert '--- Logging ...age directory' == 'pkgdev mask:...age directory' >E + --- Logging error --- >E + Traceback (most recent call last): >E + File "/usr/lib/python3.9/site-packages/snakeoil/bash.py", line 195, in read_dict >E + k, v = k.split(splitter, 1) >E + ValueError: not enough values to unpack (expected 2, got 1) >E + >E + During handling of the above exception, another exception occurred:... >E >E ...Full output truncated (249 lines hidden), use '-vv' to show > >tests/scripts/test_pkgdev_mask.py:46: AssertionError >----------------------------- Captured stderr call ----------------------------- >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >_____________________ TestPkgdevMaskParseArgs.test_targets _____________________ > >self = <tests.scripts.test_pkgdev_mask.TestPkgdevMaskParseArgs object at 0x7fdcf17bbfd0> >repo = <pkgcore.pytest.plugin.EbuildRepo object at 0x7fdcf17ec340> >make_git_repo = <function make_git_repo.<locals>._make_git_repo at 0x7fdcf1799160> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf1778dc0> >tool = <pkgdev.cli.Tool object at 0x7fdcf22757f0> > > def test_targets(self, repo, make_git_repo, capsys, tool): > git_repo = make_git_repo(repo.location) > > # invalid atom > with pytest.raises(SystemExit), \ > chdir(repo.location): > tool.parse_args(['mask', 'pkg']) > out, err = capsys.readouterr() >> assert err.strip() == "pkgdev mask: error: invalid atom: 'pkg'" >E assert "--- Logging ...d atom: 'pkg'" == "pkgdev mask:...d atom: 'pkg'" >E + --- Logging error --- >E + Traceback (most recent call last): >E + File "/usr/lib/python3.9/site-packages/snakeoil/bash.py", line 195, in read_dict >E + k, v = k.split(splitter, 1) >E + ValueError: not enough values to unpack (expected 2, got 1) >E + >E + During handling of the above exception, another exception occurred:... >E >E ...Full output truncated (249 lines hidden), use '-vv' to show > >tests/scripts/test_pkgdev_mask.py:70: AssertionError >----------------------------- Captured stderr call ----------------------------- >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >____________________ TestPkgdevMask.test_nonexistent_editor ____________________ > >self = <tests.scripts.test_pkgdev_mask.TestPkgdevMask object at 0x7fdcf17904c0> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf179e9d0> > > def test_nonexistent_editor(self, capsys): > with os_environ(EDITOR='12345'), \ > patch('sys.argv', self.args + ['cat/pkg']), \ > pytest.raises(SystemExit), \ > chdir(pjoin(self.repo.path)): > self.script() > out, err = capsys.readouterr() >> assert err.strip() == "pkgdev mask: error: nonexistent editor: '12345'" >E assert "--- Logging ...itor: '12345'" == "pkgdev mask:...itor: '12345'" >E + --- Logging error --- >E + Traceback (most recent call last): >E + File "/usr/lib/python3.9/site-packages/snakeoil/bash.py", line 195, in read_dict >E + k, v = k.split(splitter, 1) >E + ValueError: not enough values to unpack (expected 2, got 1) >E + >E + During handling of the above exception, another exception occurred:... >E >E ...Full output truncated (265 lines hidden), use '-vv' to show > >tests/scripts/test_pkgdev_mask.py:126: AssertionError >----------------------------- Captured stderr call ----------------------------- >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >______________________ TestPkgdevMask.test_failed_editor _______________________ > >self = <tests.scripts.test_pkgdev_mask.TestPkgdevMask object at 0x7fdcf1773d60> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf17ec040> > > def test_failed_editor(self, capsys): > with os_environ(EDITOR="sed -i 's///'"), \ > patch('sys.argv', self.args + ['cat/pkg']), \ > pytest.raises(SystemExit), \ > chdir(pjoin(self.repo.path)): > self.script() > out, err = capsys.readouterr() >> assert err.strip() == "pkgdev mask: error: failed writing mask comment" >E assert '--- Logging ... mask comment' == 'pkgdev mask:... mask comment' >E + --- Logging error --- >E + Traceback (most recent call last): >E + File "/usr/lib/python3.9/site-packages/snakeoil/bash.py", line 195, in read_dict >E + k, v = k.split(splitter, 1) >E + ValueError: not enough values to unpack (expected 2, got 1) >E + >E + During handling of the above exception, another exception occurred:... >E >E ...Full output truncated (400 lines hidden), use '-vv' to show > >tests/scripts/test_pkgdev_mask.py:135: AssertionError >----------------------------- Captured stderr call ----------------------------- >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >sed: -e expression #1, char 0: no previous regular expression >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >____________________ TestPkgdevMask.test_empty_mask_comment ____________________ > >self = <tests.scripts.test_pkgdev_mask.TestPkgdevMask object at 0x7fdcf174bf40> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf1762730> > > def test_empty_mask_comment(self, capsys): > with os_environ(EDITOR="sed -i 's/#/#/'"), \ > patch('sys.argv', self.args + ['cat/pkg']), \ > pytest.raises(SystemExit), \ > chdir(pjoin(self.repo.path)): > self.script() > out, err = capsys.readouterr() >> assert err.strip() == "pkgdev mask: error: empty mask comment" >E assert '--- Logging ... mask comment' == 'pkgdev mask:... mask comment' >E + --- Logging error --- >E + Traceback (most recent call last): >E + File "/usr/lib/python3.9/site-packages/snakeoil/bash.py", line 195, in read_dict >E + k, v = k.split(splitter, 1) >E + ValueError: not enough values to unpack (expected 2, got 1) >E + >E + During handling of the above exception, another exception occurred:... >E >E ...Full output truncated (535 lines hidden), use '-vv' to show > >tests/scripts/test_pkgdev_mask.py:144: AssertionError >----------------------------- Captured stderr call ----------------------------- >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >__________________ TestPkgdevPushParseArgs.test_non_repo_cwd ___________________ > >self = <tests.scripts.test_pkgdev_push.TestPkgdevPushParseArgs object at 0x7fdcf16c30a0> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf16bfe80> >tool = <pkgdev.cli.Tool object at 0x7fdcf22757f0> > > def test_non_repo_cwd(self, capsys, tool): > with pytest.raises(SystemExit): > tool.parse_args(['push']) > out, err = capsys.readouterr() >> assert err.strip() == 'pkgdev push: error: not in ebuild repo' >E assert '--- Logging ...n ebuild repo' == 'pkgdev push:...n ebuild repo' >E + --- Logging error --- >E + Traceback (most recent call last): >E + File "/usr/lib/python3.9/site-packages/snakeoil/bash.py", line 195, in read_dict >E + k, v = k.split(splitter, 1) >E + ValueError: not enough values to unpack (expected 2, got 1) >E + >E + During handling of the above exception, another exception occurred:... >E >E ...Full output truncated (122 lines hidden), use '-vv' to show > >tests/scripts/test_pkgdev_push.py:19: AssertionError >----------------------------- Captured stderr call ----------------------------- >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >________________ TestPkgdevPushParseArgs.test_non_git_repo_cwd _________________ > >self = <tests.scripts.test_pkgdev_push.TestPkgdevPushParseArgs object at 0x7fdcf1683d00> >repo = <pkgcore.pytest.plugin.EbuildRepo object at 0x7fdcf1693af0> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf16933a0> >tool = <pkgdev.cli.Tool object at 0x7fdcf22757f0> > > def test_non_git_repo_cwd(self, repo, capsys, tool): > with pytest.raises(SystemExit), \ > chdir(repo.location): > tool.parse_args(['push']) > out, err = capsys.readouterr() >> assert err.strip() == 'pkgdev push: error: not in git repo' >E assert '--- Logging ...t in git repo' == 'pkgdev push:...t in git repo' >E + --- Logging error --- >E + Traceback (most recent call last): >E + File "/usr/lib/python3.9/site-packages/snakeoil/bash.py", line 195, in read_dict >E + k, v = k.split(splitter, 1) >E + ValueError: not enough values to unpack (expected 2, got 1) >E + >E + During handling of the above exception, another exception occurred:... >E >E ...Full output truncated (122 lines hidden), use '-vv' to show > >tests/scripts/test_pkgdev_push.py:26: AssertionError >----------------------------- Captured stderr call ----------------------------- >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >fatal: not a git repository (or any parent up to mount point /var/tmp) >Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >_____________ TestPkgdevPushParseArgs.test_non_ebuild_git_repo_cwd _____________ > >self = <tests.scripts.test_pkgdev_push.TestPkgdevPushParseArgs object at 0x7fdcf162ca00> >make_repo = <function make_repo.<locals>._make_repo at 0x7fdcf1675280> >git_repo = <pkgcore.pytest.plugin.GitRepo object at 0x7fdcf162c9d0> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf169bd60> >tool = <pkgdev.cli.Tool object at 0x7fdcf22757f0> > > def test_non_ebuild_git_repo_cwd(self, make_repo, git_repo, capsys, tool): > os.mkdir(pjoin(git_repo.path, 'repo')) > repo = make_repo(pjoin(git_repo.path, 'repo')) > with pytest.raises(SystemExit), \ > chdir(repo.location): > tool.parse_args(['push']) > out, err = capsys.readouterr() >> assert err.strip() == 'pkgdev push: error: not in ebuild git repo' >E assert '--- Logging ...uild git repo' == 'pkgdev push:...uild git repo' >E + --- Logging error --- >E + Traceback (most recent call last): >E + File "/usr/lib/python3.9/site-packages/snakeoil/bash.py", line 195, in read_dict >E + k, v = k.split(splitter, 1) >E + ValueError: not enough values to unpack (expected 2, got 1) >E + >E + During handling of the above exception, another exception occurred:... >E >E ...Full output truncated (122 lines hidden), use '-vv' to show > >tests/scripts/test_pkgdev_push.py:35: AssertionError >----------------------------- Captured stderr call ----------------------------- >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >________________ TestPkgdevShowkwParseArgs.test_missing_target _________________ > >self = <tests.scripts.test_pkgdev_showkw.TestPkgdevShowkwParseArgs object at 0x7fdcf15ae580> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf1620af0> >tool = <pkgdev.cli.Tool object at 0x7fdcf22757f0> > > def test_missing_target(self, capsys, tool): > with pytest.raises(SystemExit): > tool.parse_args(['showkw']) > captured = capsys.readouterr() >> assert captured.err.strip() == ( > 'pkgdev showkw: error: missing target argument and not in a supported repo') >E assert '--- Logging ...upported repo' == 'pkgdev showk...upported repo' >E + --- Logging error --- >E + Traceback (most recent call last): >E + File "/usr/lib/python3.9/site-packages/snakeoil/bash.py", line 195, in read_dict >E + k, v = k.split(splitter, 1) >E + ValueError: not enough values to unpack (expected 2, got 1) >E + >E + During handling of the above exception, another exception occurred:... >E >E ...Full output truncated (805 lines hidden), use '-vv' to show > >tests/scripts/test_pkgdev_showkw.py:10: AssertionError >----------------------------- Captured stderr call ----------------------------- >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >________________ TestPkgdevShowkwParseArgs.test_unknown_arches _________________ > >self = <tests.scripts.test_pkgdev_showkw.TestPkgdevShowkwParseArgs object at 0x7fdcf1658f10> >capsys = <_pytest.capture.CaptureFixture object at 0x7fdcf193c430> >tool = <pkgdev.cli.Tool object at 0x7fdcf22757f0> >make_repo = <function make_repo.<locals>._make_repo at 0x7fdcf1a190d0> > > def test_unknown_arches(self, capsys, tool, make_repo): > repo = make_repo(arches=['amd64']) > with pytest.raises(SystemExit): > tool.parse_args(['showkw', '-a', 'unknown', '-r', repo.location]) > captured = capsys.readouterr() >> assert captured.err.strip() == ( > "pkgdev showkw: error: unknown arch: 'unknown' (choices: amd64)") >E assert '--- Logging ...oices: amd64)' == 'pkgdev showk...oices: amd64)' >E + --- Logging error --- >E + Traceback (most recent call last): >E + File "/usr/lib/python3.9/site-packages/snakeoil/bash.py", line 195, in read_dict >E + k, v = k.split(splitter, 1) >E + ValueError: not enough values to unpack (expected 2, got 1) >E + >E + During handling of the above exception, another exception occurred:... >E >E ...Full output truncated (1216 lines hidden), use '-vv' to show > >tests/scripts/test_pkgdev_showkw.py:18: AssertionError >----------------------------- Captured stderr call ----------------------------- >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil: bash parse error in > : '/var/db/repos/local/metadata/layout.conf', line 1 >------------------------------ Captured log call ------------------------------- >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >ERROR snakeoil:bash.py:200 bash parse error in '/var/db/repos/local/metadata/layout.conf', line 1 >=========================== short test summary info ============================ >FAILED tests/scripts/test_pkgdev_commit.py::TestPkgdevCommit::test_message_template >FAILED tests/scripts/test_pkgdev_commit.py::TestPkgdevCommit::test_custom_unprefixed_message >FAILED tests/scripts/test_pkgdev_commit.py::TestPkgdevCommit::test_custom_prefixed_message >FAILED tests/scripts/test_pkgdev_commit.py::TestPkgdevCommit::test_edited_commit_message >FAILED tests/scripts/test_pkgdev_commit.py::TestPkgdevCommit::test_generated_commit_prefixes >FAILED tests/scripts/test_pkgdev_commit.py::TestPkgdevCommit::test_generated_commit_summaries >FAILED tests/scripts/test_pkgdev_commit.py::TestPkgdevCommit::test_scan - ass... >FAILED tests/scripts/test_pkgdev_commit.py::TestPkgdevCommit::test_failed_scan >FAILED tests/scripts/test_pkgdev_commit.py::TestPkgdevCommit::test_failed_manifest >FAILED tests/scripts/test_pkgdev_manifest.py::TestPkgdevManifestParseArgs::test_non_repo_cwd >FAILED tests/scripts/test_pkgdev_manifest.py::TestPkgdevManifestParseArgs::test_non_repo_dir_target >FAILED tests/scripts/test_pkgdev_manifest.py::TestPkgdevManifestParseArgs::test_invalid_atom_target >FAILED tests/scripts/test_pkgdev_manifest.py::TestPkgdevManifest::test_good_manifest >FAILED tests/scripts/test_pkgdev_manifest.py::TestPkgdevManifest::test_bad_manifest >FAILED tests/scripts/test_pkgdev_mask.py::TestPkgdevMaskParseArgs::test_non_repo_cwd >FAILED tests/scripts/test_pkgdev_mask.py::TestPkgdevMaskParseArgs::test_non_git_repo_cwd >FAILED tests/scripts/test_pkgdev_mask.py::TestPkgdevMaskParseArgs::test_non_ebuild_git_repo_cwd >FAILED tests/scripts/test_pkgdev_mask.py::TestPkgdevMaskParseArgs::test_cwd_target >FAILED tests/scripts/test_pkgdev_mask.py::TestPkgdevMaskParseArgs::test_targets >FAILED tests/scripts/test_pkgdev_mask.py::TestPkgdevMask::test_nonexistent_editor >FAILED tests/scripts/test_pkgdev_mask.py::TestPkgdevMask::test_failed_editor >FAILED tests/scripts/test_pkgdev_mask.py::TestPkgdevMask::test_empty_mask_comment >FAILED tests/scripts/test_pkgdev_push.py::TestPkgdevPushParseArgs::test_non_repo_cwd >FAILED tests/scripts/test_pkgdev_push.py::TestPkgdevPushParseArgs::test_non_git_repo_cwd >FAILED tests/scripts/test_pkgdev_push.py::TestPkgdevPushParseArgs::test_non_ebuild_git_repo_cwd >FAILED tests/scripts/test_pkgdev_showkw.py::TestPkgdevShowkwParseArgs::test_missing_target >FAILED tests/scripts/test_pkgdev_showkw.py::TestPkgdevShowkwParseArgs::test_unknown_arches >======================== 27 failed, 40 passed in 9.42s ========================= > * ERROR: dev-util/pkgdev-0.1.7::gentoo failed (test phase): > * Tests failed with python3.9 > * > * Call stack: > * ebuild.sh, line 127: Called src_test > * environment, line 2913: Called distutils-r1_src_test > * environment, line 1264: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 529: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2552: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2070: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2068: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 820: Called distutils-r1_run_phase 'python_test' > * environment, line 1203: Called python_test > * environment, line 2854: Called distutils-r1_python_test > * environment, line 1173: Called die > * The specific snippet of code: > * die "Tests failed with ${EPYTHON}"; > * > * If you need support, post the output of `emerge --info '=dev-util/pkgdev-0.1.7::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-util/pkgdev-0.1.7::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-util:pkgdev-0.1.7:20210724-065227.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/pkgdev-0.1.7/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-util/pkgdev-0.1.7/temp/environment'. > * Working directory: '/var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7-python3_9' > * S: '/var/tmp/portage/dev-util/pkgdev-0.1.7/work/pkgdev-0.1.7' >
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 803659
:
726349
| 726352 |
726355
|
726358
|
726361
|
726364
|
726367