* Package: dev-python/libtmux-0.8.2-r2 * Repository: gentoo * Maintainer: chutzpah@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_7 test userland_GNU * 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-r2/work >>> Source unpacked in /var/tmp/portage/dev-python/libtmux-0.8.2-r2/work >>> Preparing source in /var/tmp/portage/dev-python/libtmux-0.8.2-r2/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-r2/work/libtmux-0.8.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/libtmux-0.8.2-r2/work/libtmux-0.8.2 ... * python3_7: running distutils-r1_run_phase distutils-r1_python_compile python3.7 setup.py build -j 4 running build running build_py creating /var/tmp/portage/dev-python/libtmux-0.8.2-r2/work/libtmux-0.8.2-python3_7/lib/libtmux copying libtmux/__init__.py -> /var/tmp/portage/dev-python/libtmux-0.8.2-r2/work/libtmux-0.8.2-python3_7/lib/libtmux copying libtmux/__about__.py -> /var/tmp/portage/dev-python/libtmux-0.8.2-r2/work/libtmux-0.8.2-python3_7/lib/libtmux copying libtmux/common.py -> /var/tmp/portage/dev-python/libtmux-0.8.2-r2/work/libtmux-0.8.2-python3_7/lib/libtmux copying libtmux/window.py -> /var/tmp/portage/dev-python/libtmux-0.8.2-r2/work/libtmux-0.8.2-python3_7/lib/libtmux copying libtmux/session.py -> /var/tmp/portage/dev-python/libtmux-0.8.2-r2/work/libtmux-0.8.2-python3_7/lib/libtmux copying libtmux/_compat.py -> /var/tmp/portage/dev-python/libtmux-0.8.2-r2/work/libtmux-0.8.2-python3_7/lib/libtmux copying libtmux/exc.py -> /var/tmp/portage/dev-python/libtmux-0.8.2-r2/work/libtmux-0.8.2-python3_7/lib/libtmux copying libtmux/server.py -> /var/tmp/portage/dev-python/libtmux-0.8.2-r2/work/libtmux-0.8.2-python3_7/lib/libtmux copying libtmux/pane.py -> /var/tmp/portage/dev-python/libtmux-0.8.2-r2/work/libtmux-0.8.2-python3_7/lib/libtmux copying libtmux/test.py -> /var/tmp/portage/dev-python/libtmux-0.8.2-r2/work/libtmux-0.8.2-python3_7/lib/libtmux copying libtmux/formats.py -> /var/tmp/portage/dev-python/libtmux-0.8.2-r2/work/libtmux-0.8.2-python3_7/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. * Using python3.8 in global scope * python3_8: running distutils-r1_run_phase python_compile_all >>> Source compiled. >>> Test phase: dev-python/libtmux-0.8.2-r2 * python3_7: running distutils-r1_run_phase python_test ============================= test session starts ============================== platform linux -- Python 3.7.7, pytest-5.4.2, py-1.8.0, pluggy-0.13.1 -- /usr/bin/python3.7 cachedir: .pytest_cache rootdir: /var/tmp/portage/dev-python/libtmux-0.8.2-r2/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 ERROR [ 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 ERROR [ 24%] tests/test_pane.py::test_send_keys ERROR [ 25%] tests/test_pane.py::test_set_height ERROR [ 27%] tests/test_pane.py::test_set_width ERROR [ 28%] tests/test_server.py::test_has_session ERROR [ 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 ERROR [ 37%] tests/test_server.py::test_show_environment_not_set PASSED [ 38%] tests/test_server.py::test_new_session FAILED [ 40%] tests/test_server.py::test_new_session_shell PASSED [ 41%] tests/test_session.py::test_has_session ERROR [ 42%] tests/test_session.py::test_select_window ERROR [ 43%] tests/test_session.py::test_select_window_returns_Window ERROR [ 44%] tests/test_session.py::test_attached_window ERROR [ 45%] tests/test_session.py::test_attached_pane ERROR [ 47%] tests/test_session.py::test_session_rename ERROR [ 48%] tests/test_session.py::test_new_session PASSED [ 49%] tests/test_session.py::test_show_options ERROR [ 50%] tests/test_session.py::test_set_show_options_single ERROR [ 51%] tests/test_session.py::test_set_show_option ERROR [ 52%] tests/test_session.py::test_empty_session_option_returns_None ERROR [ 54%] tests/test_session.py::test_show_option_unknown ERROR [ 55%] tests/test_session.py::test_show_option_ambiguous ERROR [ 56%] tests/test_session.py::test_set_option_ambigous ERROR [ 57%] tests/test_session.py::test_set_option_invalid ERROR [ 58%] tests/test_session.py::test_show_environment ERROR [ 60%] tests/test_session.py::test_set_show_environment_single ERROR [ 61%] tests/test_session.py::test_show_environment_not_set ERROR [ 62%] tests/test_session.py::test_remove_environment ERROR [ 63%] tests/test_session.py::test_unset_environment ERROR [ 64%] tests/test_session.py::test_periods_raise_badsessionname[hey.period-True] ERROR [ 65%] tests/test_session.py::test_periods_raise_badsessionname[hey:its a colon-True] ERROR [ 67%] tests/test_session.py::test_periods_raise_badsessionname[hey moo-False] ERROR [ 68%] tests/test_session.py::test_cmd_inserts_sesion_id ERROR [ 69%] tests/test_tmuxobject.py::test_find_where ERROR [ 70%] tests/test_tmuxobject.py::test_find_where_None ERROR [ 71%] tests/test_tmuxobject.py::test_find_where_multiple_infos ERROR [ 72%] tests/test_tmuxobject.py::test_where ERROR [ 74%] tests/test_tmuxobject.py::test_get_by_id ERROR [ 75%] tests/test_window.py::test_select_window ERROR [ 76%] tests/test_window.py::test_zfresh_window_data ERROR [ 77%] tests/test_window.py::test_newest_pane_data ERROR [ 78%] tests/test_window.py::test_attached_pane ERROR [ 80%] tests/test_window.py::test_split_window ERROR [ 81%] tests/test_window.py::test_split_window_shell ERROR [ 82%] tests/test_window.py::test_split_window_horizontal ERROR [ 83%] tests/test_window.py::test_window_rename[test-ha ha ha fjewlkjflwef] ERROR [ 84%] tests/test_window.py::test_window_rename[test-hello \\ wazzup 0] ERROR [ 85%] tests/test_window.py::test_kill_window ERROR [ 87%] tests/test_window.py::test_show_window_options ERROR [ 88%] tests/test_window.py::test_set_show_window_options ERROR [ 89%] tests/test_window.py::test_empty_window_option_returns_None ERROR [ 90%] tests/test_window.py::test_show_window_option ERROR [ 91%] tests/test_window.py::test_show_window_option_unknown ERROR [ 92%] tests/test_window.py::test_show_window_option_ambiguous ERROR [ 94%] tests/test_window.py::test_set_window_option_ambiguous ERROR [ 95%] tests/test_window.py::test_set_window_option_invalid ERROR [ 96%] tests/test_window.py::test_move_window ERROR [ 97%] tests/test_window.py::test_move_window_to_other_session ERROR [ 98%] tests/test_window.py::test_select_layout_accepts_no_arg ERROR [100%] ==================================== ERRORS ==================================== ___________________ ERROR at setup of test_tmux_cmd_unicode ____________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_tests4jojqvr (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ______________________ ERROR at setup of test_resize_pane ______________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testij803wlo (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException _______________________ ERROR at setup of test_send_keys _______________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testtn5ew4gb (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ______________________ ERROR at setup of test_set_height _______________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testoycxzwkc (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException _______________________ ERROR at setup of test_set_width _______________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_test7ht2xfnw (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ______________________ ERROR at setup of test_has_session ______________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp//tmux-250/tmuxp_testw45w9fju (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ______________ ERROR at setup of test_set_show_environment_single ______________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_tests14opao9 (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ______________________ ERROR at setup of test_has_session ______________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_test_mpbi7q7 (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException _____________________ ERROR at setup of test_select_window _____________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_test5rhey9na (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException _____________ ERROR at setup of test_select_window_returns_Window ______________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testui7p30q3 (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ____________________ ERROR at setup of test_attached_window ____________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testjcri70up (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException _____________________ ERROR at setup of test_attached_pane _____________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_teste0wxd7l6 (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ____________________ ERROR at setup of test_session_rename _____________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp//tmux-250/tmuxp_testv4du1yld (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException _____________________ ERROR at setup of test_show_options ______________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testv276g594 (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ________________ ERROR at setup of test_set_show_options_single ________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testdjpq3feq (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ____________________ ERROR at setup of test_set_show_option ____________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testcck4g0rh (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ___________ ERROR at setup of test_empty_session_option_returns_None ___________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testxf8tak2g (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException __________________ ERROR at setup of test_show_option_unknown __________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testjsnl0o4d (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException _________________ ERROR at setup of test_show_option_ambiguous _________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testh7faeasn (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException __________________ ERROR at setup of test_set_option_ambigous __________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp//tmux-250/tmuxp_testdvbjxpef (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException __________________ ERROR at setup of test_set_option_invalid ___________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testfw142ht5 (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ___________________ ERROR at setup of test_show_environment ____________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_test9o2o81as (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ______________ ERROR at setup of test_set_show_environment_single ______________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testz7q_z9nu (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException _______________ ERROR at setup of test_show_environment_not_set ________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_test27othv7a (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException __________________ ERROR at setup of test_remove_environment ___________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testuzzugkde (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ___________________ ERROR at setup of test_unset_environment ___________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testx5tmrhb2 (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException _____ ERROR at setup of test_periods_raise_badsessionname[hey.period-True] _____ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_test7vxg77xn (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException __ ERROR at setup of test_periods_raise_badsessionname[hey:its a colon-True] ___ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testu0ex7y9r (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ______ ERROR at setup of test_periods_raise_badsessionname[hey moo-False] ______ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testtbzul54c (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException _________________ ERROR at setup of test_cmd_inserts_sesion_id _________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_test3l1ikjgp (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ______________________ ERROR at setup of test_find_where _______________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testihrbqk1f (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ____________________ ERROR at setup of test_find_where_None ____________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testvt378fo3 (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException _______________ ERROR at setup of test_find_where_multiple_infos _______________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testmpedg9wv (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException _________________________ ERROR at setup of test_where _________________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testush4shbl (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException _______________________ ERROR at setup of test_get_by_id _______________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testtr5djono (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException _____________________ ERROR at setup of test_select_window _____________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testk43u4ud5 (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException __________________ ERROR at setup of test_zfresh_window_data ___________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_test8o0eiowr (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ___________________ ERROR at setup of test_newest_pane_data ____________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testkmfsnith (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException _____________________ ERROR at setup of test_attached_pane _____________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_test2c7ziwjm (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException _____________________ ERROR at setup of test_split_window ______________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testhoml0f10 (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException __________________ ERROR at setup of test_split_window_shell ___________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testuhymyr0v (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ________________ ERROR at setup of test_split_window_horizontal ________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testpr_6d15a (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException _______ ERROR at setup of test_window_rename[test-ha ha ha fjewlkjflwef] _______ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testhr73oee5 (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException _________ ERROR at setup of test_window_rename[test-hello \\ wazzup 0] _________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testsmrkv57_ (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ______________________ ERROR at setup of test_kill_window ______________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testoskqceks (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException __________________ ERROR at setup of test_show_window_options __________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testn_q9e8sn (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ________________ ERROR at setup of test_set_show_window_options ________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_test4hf_90ss (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ___________ ERROR at setup of test_empty_window_option_returns_None ____________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_test__9_tfr3 (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException __________________ ERROR at setup of test_show_window_option ___________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testslo1bb1i (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ______________ ERROR at setup of test_show_window_option_unknown _______________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testl749_w0e (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException _____________ ERROR at setup of test_show_window_option_ambiguous ______________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testcgrofxpy (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ______________ ERROR at setup of test_set_window_option_ambiguous ______________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp//tmux-250/tmuxp_testvc7pu9pj (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException _______________ ERROR at setup of test_set_window_option_invalid _______________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testhix9qlo1 (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException ______________________ ERROR at setup of test_move_window ______________________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testb2q_5ywa (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException _____________ ERROR at setup of test_move_window_to_other_session ______________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_testl0hnkymd (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException _____________ ERROR at setup of test_select_layout_accepts_no_arg ______________ request = > server = @pytest.fixture(scope='function') def session(request, server): session_name = 'tmuxp' if not server.has_session(session_name): server.cmd('new-session', '-d', '-s', session_name) # find current sessions prefixed with tmuxp old_test_sessions = [ s.get('session_name') for s in server._sessions if s.get('session_name').startswith(TEST_SESSION_PREFIX) ] TEST_SESSION_NAME = get_test_session_name(server=server) try: session = server.new_session(session_name=TEST_SESSION_NAME) except exc.LibTmuxException as e: raise e """ Make sure that tmuxp can :ref:`test_builder_visually` and switches to the newly created session for that testcase. """ try: server.switch_client(session.get('session_id')) pass except exc.LibTmuxException as e: # server.attach_session(session.get('session_id')) pass for old_test_session in old_test_sessions: logger.debug('Old test test session %s found. Killing it.' % old_test_session) server.kill_session(old_test_session) > assert TEST_SESSION_NAME == session.get('session_name') tests/conftest.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp/tmux-250/tmuxp_test9jx5br3n (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException =================================== FAILURES =================================== _______________________________ test_new_session _______________________________ server = def test_new_session(server): """Server.new_session creates and returns valid session""" mysession = server.new_session("test_new_session") > assert mysession.get("session_name") == "test_new_session" tests/test_server.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/_collections_abc.py:660: in get return self[key] ../libtmux-0.8.2-python3_7/lib/libtmux/common.py:255: in __getitem__ return self._info[key] ../libtmux-0.8.2-python3_7/lib/libtmux/session.py:80: in _info return list(filter(by, self.server._sessions))[0] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:173: in _sessions return self._list_sessions() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _list_sessions(self): """ Return list of sessions in :py:obj:`dict` form. Retrieved from ``$ tmux(1) list-sessions`` stdout. The :py:obj:`list` is derived from ``stdout`` in :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`. Returns ------- list of dict """ sformats = formats.SESSION_FORMATS tmux_formats = ['#{%s}' % f for f in sformats] tmux_args = ('-F%s' % '\t'.join(tmux_formats),) # output proc = self.cmd('list-sessions', *tmux_args) if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['error connecting to /tmp//tmux-250/tmuxp_testzfbp52yd (No such file or directory)'] ../libtmux-0.8.2-python3_7/lib/libtmux/server.py:153: LibTmuxException =========================== short test summary info ============================ FAILED tests/test_server.py::test_new_session - libtmux.exc.LibTmuxException:... ERROR tests/test_common.py::test_tmux_cmd_unicode - libtmux.exc.LibTmuxExcept... ERROR tests/test_pane.py::test_resize_pane - libtmux.exc.LibTmuxException: ['... ERROR tests/test_pane.py::test_send_keys - libtmux.exc.LibTmuxException: ['er... ERROR tests/test_pane.py::test_set_height - libtmux.exc.LibTmuxException: ['e... ERROR tests/test_pane.py::test_set_width - libtmux.exc.LibTmuxException: ['er... ERROR tests/test_server.py::test_has_session - libtmux.exc.LibTmuxException: ... ERROR tests/test_server.py::test_set_show_environment_single - libtmux.exc.Li... ERROR tests/test_session.py::test_has_session - libtmux.exc.LibTmuxException:... ERROR tests/test_session.py::test_select_window - libtmux.exc.LibTmuxExceptio... ERROR tests/test_session.py::test_select_window_returns_Window - libtmux.exc.... ERROR tests/test_session.py::test_attached_window - libtmux.exc.LibTmuxExcept... ERROR tests/test_session.py::test_attached_pane - libtmux.exc.LibTmuxExceptio... ERROR tests/test_session.py::test_session_rename - libtmux.exc.LibTmuxExcepti... ERROR tests/test_session.py::test_show_options - libtmux.exc.LibTmuxException... ERROR tests/test_session.py::test_set_show_options_single - libtmux.exc.LibTm... ERROR tests/test_session.py::test_set_show_option - libtmux.exc.LibTmuxExcept... ERROR tests/test_session.py::test_empty_session_option_returns_None - libtmux... ERROR tests/test_session.py::test_show_option_unknown - libtmux.exc.LibTmuxEx... ERROR tests/test_session.py::test_show_option_ambiguous - libtmux.exc.LibTmux... ERROR tests/test_session.py::test_set_option_ambigous - libtmux.exc.LibTmuxEx... ERROR tests/test_session.py::test_set_option_invalid - libtmux.exc.LibTmuxExc... ERROR tests/test_session.py::test_show_environment - libtmux.exc.LibTmuxExcep... ERROR tests/test_session.py::test_set_show_environment_single - libtmux.exc.L... ERROR tests/test_session.py::test_show_environment_not_set - libtmux.exc.LibT... ERROR tests/test_session.py::test_remove_environment - libtmux.exc.LibTmuxExc... ERROR tests/test_session.py::test_unset_environment - libtmux.exc.LibTmuxExce... ERROR tests/test_session.py::test_periods_raise_badsessionname[hey.period-True] ERROR tests/test_session.py::test_periods_raise_badsessionname[hey:its a colon-True] ERROR tests/test_session.py::test_periods_raise_badsessionname[hey moo-False] ERROR tests/test_session.py::test_cmd_inserts_sesion_id - libtmux.exc.LibTmux... ERROR tests/test_tmuxobject.py::test_find_where - libtmux.exc.LibTmuxExceptio... ERROR tests/test_tmuxobject.py::test_find_where_None - libtmux.exc.LibTmuxExc... ERROR tests/test_tmuxobject.py::test_find_where_multiple_infos - libtmux.exc.... ERROR tests/test_tmuxobject.py::test_where - libtmux.exc.LibTmuxException: ['... ERROR tests/test_tmuxobject.py::test_get_by_id - libtmux.exc.LibTmuxException... ERROR tests/test_window.py::test_select_window - libtmux.exc.LibTmuxException... ERROR tests/test_window.py::test_zfresh_window_data - libtmux.exc.LibTmuxExce... ERROR tests/test_window.py::test_newest_pane_data - libtmux.exc.LibTmuxExcept... ERROR tests/test_window.py::test_attached_pane - libtmux.exc.LibTmuxException... ERROR tests/test_window.py::test_split_window - libtmux.exc.LibTmuxException:... ERROR tests/test_window.py::test_split_window_shell - libtmux.exc.LibTmuxExce... ERROR tests/test_window.py::test_split_window_horizontal - libtmux.exc.LibTmu... ERROR tests/test_window.py::test_window_rename[test-ha ha ha fjewlkjflwef] - ... ERROR tests/test_window.py::test_window_rename[test-hello \\ wazzup 0] - libt... ERROR tests/test_window.py::test_kill_window - libtmux.exc.LibTmuxException: ... ERROR tests/test_window.py::test_show_window_options - libtmux.exc.LibTmuxExc... ERROR tests/test_window.py::test_set_show_window_options - libtmux.exc.LibTmu... ERROR tests/test_window.py::test_empty_window_option_returns_None - libtmux.e... ERROR tests/test_window.py::test_show_window_option - libtmux.exc.LibTmuxExce... ERROR tests/test_window.py::test_show_window_option_unknown - libtmux.exc.Lib... ERROR tests/test_window.py::test_show_window_option_ambiguous - libtmux.exc.L... ERROR tests/test_window.py::test_set_window_option_ambiguous - libtmux.exc.Li... ERROR tests/test_window.py::test_set_window_option_invalid - libtmux.exc.LibT... ERROR tests/test_window.py::test_move_window - libtmux.exc.LibTmuxException: ... ERROR tests/test_window.py::test_move_window_to_other_session - libtmux.exc.L... ERROR tests/test_window.py::test_select_layout_accepts_no_arg - libtmux.exc.L... =================== 1 failed, 28 passed, 56 errors in 10.35s =================== * ERROR: dev-python/libtmux-0.8.2-r2::gentoo failed (test phase): * Tests fail with python3.7 * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 2988: Called distutils-r1_src_test * environment, line 1275: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 460: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2577: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2057: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2055: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 863: Called distutils-r1_run_phase 'python_test' * environment, line 1212: Called python_test * environment, line 2930: 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-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/libtmux-0.8.2-r2::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/dev-python/libtmux-0.8.2-r2:20200516-170440.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/libtmux-0.8.2-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/libtmux-0.8.2-r2/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/libtmux-0.8.2-r2/work/libtmux-0.8.2' * S: '/var/tmp/portage/dev-python/libtmux-0.8.2-r2/work/libtmux-0.8.2' emerge --info: Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.1, gcc-10.1.0, glibc-2.31-r3, 5.4.0-1009-aws x86_64) ================================================================= System uname: Linux-5.4.0-1009-aws-x86_64-AMD_EPYC_7571-with-gentoo-2.7 KiB Mem: 16011344 total, 8994320 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 18 May 2020 05:35:19 +0000 sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p4) 2.34.0 app-shells/bash: 5.0_p17::gentoo dev-lang/perl: 5.30.2::gentoo dev-lang/python: 2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.3::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r1::gentoo sys-devel/gcc: 10.1.0::gentoo sys-devel/gcc-config: 2.2.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-gcc" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-g++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j4" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS