* Package: dev-python/libtmux-0.8.2-r1 * Repository: gentoo * Maintainer: chutzpah@gentoo.org * USE: abi_x86_32 elibc_glibc kernel_linux python_targets_python3_6 test userland_GNU x86 * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking libtmux-v0.8.2.tar.gz to /var/tmp/portage/dev-python/libtmux-0.8.2-r1/work >>> Source unpacked in /var/tmp/portage/dev-python/libtmux-0.8.2-r1/work >>> Preparing source in /var/tmp/portage/dev-python/libtmux-0.8.2-r1/work/libtmux-0.8.2 ... * Applying libtmux-0.8.2-tests.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/libtmux-0.8.2-r1/work/libtmux-0.8.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/libtmux-0.8.2-r1/work/libtmux-0.8.2 ... * python3_6: running distutils-r1_run_phase distutils-r1_python_compile python3.6 setup.py build -j 5 running build running build_py creating /var/tmp/portage/dev-python/libtmux-0.8.2-r1/work/libtmux-0.8.2-python3_6/lib/libtmux copying libtmux/formats.py -> /var/tmp/portage/dev-python/libtmux-0.8.2-r1/work/libtmux-0.8.2-python3_6/lib/libtmux copying libtmux/pane.py -> /var/tmp/portage/dev-python/libtmux-0.8.2-r1/work/libtmux-0.8.2-python3_6/lib/libtmux copying libtmux/common.py -> /var/tmp/portage/dev-python/libtmux-0.8.2-r1/work/libtmux-0.8.2-python3_6/lib/libtmux copying libtmux/__about__.py -> /var/tmp/portage/dev-python/libtmux-0.8.2-r1/work/libtmux-0.8.2-python3_6/lib/libtmux copying libtmux/exc.py -> /var/tmp/portage/dev-python/libtmux-0.8.2-r1/work/libtmux-0.8.2-python3_6/lib/libtmux copying libtmux/server.py -> /var/tmp/portage/dev-python/libtmux-0.8.2-r1/work/libtmux-0.8.2-python3_6/lib/libtmux copying libtmux/test.py -> /var/tmp/portage/dev-python/libtmux-0.8.2-r1/work/libtmux-0.8.2-python3_6/lib/libtmux copying libtmux/session.py -> /var/tmp/portage/dev-python/libtmux-0.8.2-r1/work/libtmux-0.8.2-python3_6/lib/libtmux copying libtmux/_compat.py -> /var/tmp/portage/dev-python/libtmux-0.8.2-r1/work/libtmux-0.8.2-python3_6/lib/libtmux copying libtmux/window.py -> /var/tmp/portage/dev-python/libtmux-0.8.2-r1/work/libtmux-0.8.2-python3_6/lib/libtmux copying libtmux/__init__.py -> /var/tmp/portage/dev-python/libtmux-0.8.2-r1/work/libtmux-0.8.2-python3_6/lib/libtmux running egg_info creating libtmux.egg-info writing libtmux.egg-info/PKG-INFO writing dependency_links to libtmux.egg-info/dependency_links.txt writing top-level names to libtmux.egg-info/top_level.txt writing manifest file 'libtmux.egg-info/SOURCES.txt' reading manifest file 'libtmux.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'libtmux.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. * python3_6: running distutils-r1_run_phase python_compile_all >>> Source compiled. >>> Test phase: dev-python/libtmux-0.8.2-r1 * python3_6: running distutils-r1_run_phase python_test ================================================= test session starts ================================================== platform linux -- Python 3.6.9, pytest-4.6.9, py-1.5.4, pluggy-0.13.1 -- /usr/bin/python3.6 cachedir: .pytest_cache rootdir: /var/tmp/portage/dev-python/libtmux-0.8.2-r1/work/libtmux-0.8.2 collecting ... collected 85 items tests/test_common.py::test_allows_master_version PASSED [ 1%] tests/test_common.py::test_allows_next_version PASSED [ 2%] tests/test_common.py::test_get_version_openbsd PASSED [ 3%] tests/test_common.py::test_get_version_too_low PASSED [ 4%] tests/test_common.py::test_ignores_letter_versions PASSED [ 5%] tests/test_common.py::test_error_version_less_1_7 PASSED [ 7%] tests/test_common.py::test_has_version PASSED [ 8%] tests/test_common.py::test_has_gt_version PASSED [ 9%] tests/test_common.py::test_has_gte_version PASSED [ 10%] tests/test_common.py::test_has_lt_version PASSED [ 11%] tests/test_common.py::test_has_lte_version PASSED [ 12%] tests/test_common.py::test_which_no_bin_found PASSED [ 14%] tests/test_common.py::test_tmux_cmd_raises_on_not_found PASSED [ 15%] tests/test_common.py::test_tmux_cmd_unicode PASSED [ 16%] tests/test_common.py::test_session_check_name[-True-may not be empty] PASSED [ 17%] tests/test_common.py::test_session_check_name[None-True-may not be empty] PASSED [ 18%] tests/test_common.py::test_session_check_name[my great session.-True-may not contain periods] PASSED [ 20%] tests/test_common.py::test_session_check_name[name: great session-True-may not contain colons] PASSED [ 21%] tests/test_common.py::test_session_check_name[new great session-False-None] PASSED [ 22%] tests/test_common.py::test_session_check_name[ajf8a3fa83fads,,,a-False-None] PASSED [ 23%] tests/test_pane.py::test_resize_pane PASSED [ 24%] tests/test_pane.py::test_send_keys PASSED [ 25%] tests/test_pane.py::test_set_height PASSED [ 27%] tests/test_pane.py::test_set_width PASSED [ 28%] tests/test_server.py::test_has_session PASSED [ 29%] tests/test_server.py::test_socket_name PASSED [ 30%] tests/test_server.py::test_socket_path PASSED [ 31%] tests/test_server.py::test_config PASSED [ 32%] tests/test_server.py::test_256_colors PASSED [ 34%] tests/test_server.py::test_88_colors PASSED [ 35%] tests/test_server.py::test_show_environment PASSED [ 36%] tests/test_server.py::test_set_show_environment_single PASSED [ 37%] tests/test_server.py::test_show_environment_not_set PASSED [ 38%] tests/test_server.py::test_new_session PASSED [ 40%] tests/test_server.py::test_new_session_shell PASSED [ 41%] tests/test_session.py::test_has_session PASSED [ 42%] tests/test_session.py::test_select_window PASSED [ 43%] tests/test_session.py::test_select_window_returns_Window PASSED [ 44%] tests/test_session.py::test_attached_window PASSED [ 45%] tests/test_session.py::test_attached_pane PASSED [ 47%] tests/test_session.py::test_session_rename PASSED [ 48%] tests/test_session.py::test_new_session PASSED [ 49%] tests/test_session.py::test_show_options PASSED [ 50%] tests/test_session.py::test_set_show_options_single PASSED [ 51%] tests/test_session.py::test_set_show_option PASSED [ 52%] tests/test_session.py::test_empty_session_option_returns_None PASSED [ 54%] tests/test_session.py::test_show_option_unknown FAILED [ 55%] tests/test_session.py::test_show_option_ambiguous PASSED [ 56%] tests/test_session.py::test_set_option_ambigous PASSED [ 57%] tests/test_session.py::test_set_option_invalid PASSED [ 58%] tests/test_session.py::test_show_environment PASSED [ 60%] tests/test_session.py::test_set_show_environment_single PASSED [ 61%] tests/test_session.py::test_show_environment_not_set PASSED [ 62%] tests/test_session.py::test_remove_environment PASSED [ 63%] tests/test_session.py::test_unset_environment PASSED [ 64%] tests/test_session.py::test_periods_raise_badsessionname[hey.period-True] PASSED [ 65%] tests/test_session.py::test_periods_raise_badsessionname[hey:its a colon-True] PASSED [ 67%] tests/test_session.py::test_periods_raise_badsessionname[hey moo-False] PASSED [ 68%] tests/test_session.py::test_cmd_inserts_sesion_id PASSED [ 69%] tests/test_tmuxobject.py::test_find_where PASSED [ 70%] tests/test_tmuxobject.py::test_find_where_None PASSED [ 71%] tests/test_tmuxobject.py::test_find_where_multiple_infos PASSED [ 72%] tests/test_tmuxobject.py::test_where PASSED [ 74%] tests/test_tmuxobject.py::test_get_by_id PASSED [ 75%] tests/test_window.py::test_select_window PASSED [ 76%] tests/test_window.py::test_zfresh_window_data PASSED [ 77%] tests/test_window.py::test_newest_pane_data PASSED [ 78%] tests/test_window.py::test_attached_pane PASSED [ 80%] tests/test_window.py::test_split_window PASSED [ 81%] tests/test_window.py::test_split_window_shell PASSED [ 82%] tests/test_window.py::test_split_window_horizontal PASSED [ 83%] tests/test_window.py::test_window_rename[test-ha ha ha fjewlkjflwef] PASSED [ 84%] tests/test_window.py::test_window_rename[test-hello \\ wazzup 0] PASSED [ 85%] tests/test_window.py::test_kill_window PASSED [ 87%] tests/test_window.py::test_show_window_options PASSED [ 88%] tests/test_window.py::test_set_show_window_options PASSED [ 89%] tests/test_window.py::test_empty_window_option_returns_None PASSED [ 90%] tests/test_window.py::test_show_window_option PASSED [ 91%] tests/test_window.py::test_show_window_option_unknown FAILED [ 92%] tests/test_window.py::test_show_window_option_ambiguous PASSED [ 94%] tests/test_window.py::test_set_window_option_ambiguous PASSED [ 95%] tests/test_window.py::test_set_window_option_invalid PASSED [ 96%] tests/test_window.py::test_move_window PASSED [ 97%] tests/test_window.py::test_move_window_to_other_session PASSED [ 98%] tests/test_window.py::test_select_layout_accepts_no_arg PASSED [100%] ======================================================= FAILURES ======================================================= _______________________________________________ test_show_option_unknown _______________________________________________ session = Session($1 libtmux_h3of1c0u) def test_show_option_unknown(session): """Session.show_option raises InvalidOption for invalid option.""" with pytest.raises(exc.InvalidOption): > session.show_option('moooz') tests/test_session.py:136: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../libtmux-0.8.2-python3_6/lib/libtmux/session.py:500: in show_option handle_option_error(cmd.stderr[0]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ error = 'unknown option: moooz' def handle_option_error(error): """Raises exception if error in option command found. Purpose: As of tmux 2.4, there are now 3 different types of option errors: - unknown option - invalid option - ambiguous option Before 2.4, unknown option was the user. All errors raised will have the base error of :exc:`exc.OptionError`. So to catch any option error, use ``except exc.OptionError``. Parameters ---------- error : str Error response from subprocess call. Raises ------ :exc:`exc.OptionError`, :exc:`exc.UnknownOption`, :exc:`exc.InvalidOption`, :exc:`exc.AmbiguousOption` """ if 'unknown option' in error: > raise exc.UnknownOption(error) E libtmux.exc.UnknownOption: unknown option: moooz ../libtmux-0.8.2-python3_6/lib/libtmux/common.py:660: UnknownOption ___________________________________________ test_show_window_option_unknown ____________________________________________ session = Session($1 libtmux_x8axf858) def test_show_window_option_unknown(session): """Window.show_window_option raises InvalidOption for bad option key.""" window = session.new_window(window_name='test_window') with pytest.raises(exc.InvalidOption): > window.show_window_option('moooz') tests/test_window.py:217: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../libtmux-0.8.2-python3_6/lib/libtmux/window.py:264: in show_window_option handle_option_error(cmd.stderr[0]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ error = 'unknown option: moooz' def handle_option_error(error): """Raises exception if error in option command found. Purpose: As of tmux 2.4, there are now 3 different types of option errors: - unknown option - invalid option - ambiguous option Before 2.4, unknown option was the user. All errors raised will have the base error of :exc:`exc.OptionError`. So to catch any option error, use ``except exc.OptionError``. Parameters ---------- error : str Error response from subprocess call. Raises ------ :exc:`exc.OptionError`, :exc:`exc.UnknownOption`, :exc:`exc.InvalidOption`, :exc:`exc.AmbiguousOption` """ if 'unknown option' in error: > raise exc.UnknownOption(error) E libtmux.exc.UnknownOption: unknown option: moooz ../libtmux-0.8.2-python3_6/lib/libtmux/common.py:660: UnknownOption ========================================= 2 failed, 83 passed in 16.28 seconds ========================================= * ERROR: dev-python/libtmux-0.8.2-r1::gentoo failed (test phase): * Tests fail with python3.6 * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 2940: Called distutils-r1_src_test * environment, line 1054: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 434: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2462: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1834: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1832: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 701: Called distutils-r1_run_phase 'python_test' * environment, line 985: Called python_test * environment, line 2826: Called die * The specific snippet of code: * pytest -vv || die "Tests fail with ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/libtmux-0.8.2-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/libtmux-0.8.2-r1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-python:libtmux-0.8.2-r1:20200216-174452.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/libtmux-0.8.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/libtmux-0.8.2-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/libtmux-0.8.2-r1/work/libtmux-0.8.2' * S: '/var/tmp/portage/dev-python/libtmux-0.8.2-r1/work/libtmux-0.8.2'