Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 886163 - app-shells/thefuck-3.32 fails tests (DASH-SYSTEM)
Summary: app-shells/thefuck-3.32 fails tests (DASH-SYSTEM)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-15 19:18 UTC by Agostino Sarubbo
Modified: 2023-05-01 07:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,446.81 KB, text/plain)
2022-12-15 19:18 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-12-15 19:18:52 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-shells/thefuck-3.32 fails tests (DASH-SYSTEM).
Discovered on: amd64 (internal ref: dash_tinderbox)

NOTE:
(DASH-SYSTEM) in the summary means that the bug was found on a machine that runs /bin/sh as dash but this bug MAY or MAY NOT BE related to dash.
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-15 19:18:54 UTC
Created attachment 842913 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-15 19:18:55 UTC
Error(s) that match a know pattern:


  brew cask install osxfuse
  https://osxfuse.github.io/
E           FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/portage/home/.config/thefuck'
E           FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/portage/home/.config/thefuck/rules'
E           PermissionError: [Errno 13] Permission denied: '/var/lib/portage/home/.config'
E       AssertionError: assert 'test' == 'new-value'
E       AssertionError: assert {'key': {'etag': '-1', 'value': 'old-value'}} == {'key': {'etag': '0', 'value': 'test'}}
E       AssertionError: assert {} == {'key': {'etag': '0', 'value': 'test'}}
Error: An unsatisfied requirement failed this build.] PASSED [ 260/1859]
Error: An unsatisfied requirement failed this build.] PASSED [ 261/1859]
FAILED tests/entrypoints/test_not_configured.py::test_for_generic_shell - Per...
FAILED tests/entrypoints/test_not_configured.py::test_on_first_run - Permissi...
FAILED tests/entrypoints/test_not_configured.py::test_on_first_run_from_current_shell
FAILED tests/entrypoints/test_not_configured.py::test_on_run_after_other_commands
FAILED tests/entrypoints/test_not_configured.py::test_when_already_configured
FAILED tests/entrypoints/test_not_configured.py::test_when_cant_configure_automatically
FAILED tests/entrypoints/test_not_configured.py::test_when_successfully_configured
FAILED tests/test_conf.py::TestSettingsFromEnv::test_from_env - PermissionErr...
FAILED tests/test_conf.py::TestSettingsFromEnv::test_from_env_with_DEFAULT - ...
FAILED tests/test_conf.py::TestSettingsFromFile::test_from_file - PermissionE...
FAILED tests/test_conf.py::TestSettingsFromFile::test_from_file_with_DEFAULT
FAILED tests/test_conf.py::test_settings_defaults - PermissionError: [Errno 1...
FAILED tests/test_conf.py::test_settings_from_args - PermissionError: [Errno ...
FAILED tests/test_utils.py::TestCache::test_when_etag_changed - AssertionErro...
FAILED tests/test_utils.py::TestCache::test_with_blank_cache - AssertionError...
FAILED tests/test_utils.py::TestCache::test_with_filled_cache - AssertionErro...
FAILED tests/test_utils.py::test_get_all_executables_exclude_paths[/foo:/bar:/baz:/foo/bar:/mnt/foo-:-/mnt/foo]
FAILED tests/test_utils.py::test_get_all_executables_exclude_paths[C:\\foo;C:\\bar;C:\\baz;C:\\foo\\bar;Z:\\foo-;-Z:\\foo]
PermissionError: [Errno 13] Permission denied: '/var/lib/portage/home/.cache'
You can download from:
You can install with Homebrew-Cask:
tests/rules/test_brew_cask_dependency.py::test_not_match[brew link sshfs-sshfs: OsxfuseRequirement unsatisfied!
tests/rules/test_brew_cask_dependency.py::test_not_match[cat output-sshfs: OsxfuseRequirement unsatisfied!
tests/rules/test_chmod_x.py::test_match[./gradlew build-gradlew: Permission denied] PASSED [ 318/1859]
tests/rules/test_chmod_x.py::test_not_match[./gradlew build-gradlew: Permission denied-False-False] PASSED [ 321/1859]
tests/rules/test_chmod_x.py::test_not_match[./gradlew build-gradlew: Permission denied-True-True] PASSED [ 320/1859]
tests/rules/test_chmod_x.py::test_not_match[gradlew build-gradlew: Permission denied-True-False] PASSED [ 323/1859]
tests/rules/test_cp_create_destination.py::test_get_new_command[mv foo bar/-No such file or directory-mkdir -p bar/ && mv foo bar/] PASSED [ 356/1859]
tests/rules/test_cp_create_destination.py::test_match[mv-No such file or directory] PASSED [ 351/1859]
tests/rules/test_cp_create_destination.py::test_not_match[ls-No such file or directory] PASSED [ 354/1859]
tests/rules/test_grep_arguments_order.py::test_get_new_command[egrep -lir . test-grep: test: No such file or directory-egrep -lir test .] PASSED [1162/1859]
tests/rules/test_grep_arguments_order.py::test_get_new_command[egrep . test -lir-grep: test: No such file or directory-egrep test -lir .] PASSED [1163/1859]
tests/rules/test_grep_arguments_order.py::test_get_new_command[egrep test.py test-grep: test: No such file or directory-egrep test test.py] PASSED [1161/1859]
tests/rules/test_grep_arguments_order.py::test_get_new_command[grep -lir . test-grep: test: No such file or directory-grep -lir test .] PASSED [1159/1859]
tests/rules/test_grep_arguments_order.py::test_get_new_command[grep . test -lir-grep: test: No such file or directory-grep test -lir .] PASSED [1160/1859]
tests/rules/test_grep_arguments_order.py::test_get_new_command[grep test.py test-grep: test: No such file or directory-grep test test.py] PASSED [1158/1859]
tests/rules/test_grep_arguments_order.py::test_not_match[cat test.py-grep: test: No such file or directory] PASSED [1153/1859]
tests/rules/test_no_command.py::test_match[fucck-fucck: not found] PASSED [1324/1859]
tests/rules/test_no_command.py::test_match[got commit-got: command not found] PASSED [1326/1859]
tests/rules/test_no_command.py::test_match[vom file.py-vom: not found] PASSED [1323/1859]
tests/rules/test_no_command.py::test_not_match[qweqwe-qweqwe: not found-None] PASSED [1327/1859]
tests/rules/test_no_command.py::test_not_match[vim file.py-vim: not found-vim] PASSED [1329/1859]
tests/rules/test_path_from_history.py::test_get_new_command[ls project-no such file or directory: project-ls ~/work/project] PASSED [1470/1859]
tests/rules/test_path_from_history.py::test_match[ls project-no such file or directory: project] PASSED [1466/1859]
tests/rules/test_path_from_history.py::test_not_match[myapp cats-no such file or directory: project] PASSED [1468/1859]
tests/rules/test_sudo.py::test_match[Permission denied] PASSED      [1580/1859]
tests/rules/test_sudo.py::test_match[error: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/ipaddr.py'] PASSED [1588/1859]
tests/rules/test_sudo.py::test_match[npm ERR! Error: EACCES, unlink] PASSED [1582/1859]
tests/rules/test_sudo_command_from_user_path.py::test_get_new_command[sudo -u app appcfg update .-sudo: appcfg: command not found-sudo -u app env "PATH=$PATH" appcfg update .] PASSED [1600/1859]
tests/rules/test_sudo_command_from_user_path.py::test_get_new_command[sudo npm install -g react-native-cli-sudo: npm: command not found-sudo env "PATH=$PATH" npm install -g react-native-cli] PASSED [1599/1859]
tests/rules/test_sudo_command_from_user_path.py::test_match[sudo -u app appcfg update .-sudo: appcfg: command not found] PASSED [1595/1859]
tests/rules/test_sudo_command_from_user_path.py::test_match[sudo npm install -g react-native-cli-sudo: npm: command not found] PASSED [1594/1859]
tests/rules/test_sudo_command_from_user_path.py::test_not_match[npm --version-sudo: npm: command not found-/usr/bin/npm] PASSED [1596/1859]
tests/rules/test_sudo_command_from_user_path.py::test_not_match[sudo npm --version-sudo: npm: command not found-None] PASSED [1598/1859]
tests/rules/test_terraform_init.py::test_match[terraform apply-Error: Initialization required. Please see the error message above.] PASSED [1623/1859]
tests/rules/test_terraform_init.py::test_match[terraform plan-Error: Initialization required. Please see the error message above.] PASSED [1621/1859]
tests/rules/test_sudo.py::test_match[error: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/ipaddr.py'] PASSED [1588/1859]
Comment 3 Larry the Git Cow gentoo-dev 2023-05-01 07:16:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e1f6f236fa199a093920192693c1a7d1915f19e

commit 6e1f6f236fa199a093920192693c1a7d1915f19e
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2023-05-01 07:13:37 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2023-05-01 07:16:51 +0000

    app-shells/thefuck: PEP517, deselect failing tests
    
    Closes: https://bugs.gentoo.org/804148
    Closes: https://bugs.gentoo.org/886163
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 app-shells/thefuck/thefuck-3.32-r1.ebuild | 45 +++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)