Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable logging in tests for faker.factory and PyQT5.uic #7384

Merged
merged 1 commit into from
Apr 24, 2023

Conversation

drew2a
Copy link
Contributor

@drew2a drew2a commented Apr 24, 2023

This PR disables logging in tests for faker.factory and PyQT5.uic.

After the fix the output is:

============================= test session starts ==============================
collecting ... collected 1 item

test_gui.py::test_feedback_dialog_report_sent 
-------------------------------- live log setup --------------------------------
14:41:15.268 INFO TriblerApplication(25) Start Tribler application. Win id: "triblerapp-guitest". Sys argv: "['/Applications/PyCharm.app/Contents/plugins/python/helpers/pycharm/_jb_pytest_runner.py', '-s', '--timeout=600', '--log-cli-level=10', '--looptime', 'test_gui.py::test_feedback_dialog_report_sent']"
14:41:15.431 INFO TriblerApplication(51) No running instances (socket error: 2)
14:41:15.604 INFO NetworkUtils(46) Looking for first free port in range [20100..65535]
14:41:15.604 INFO NetworkUtils(50) 20100 is free
14:41:15.609 DEBUG SentryReporter(131) Ignore logger: ErrorHandler
14:41:15.616 DEBUG Notifier(156) Add observer topic events_start
14:41:15.617 DEBUG Notifier(156) Add observer topic tribler_exception
14:41:15.617 DEBUG Notifier(156) Add observer topic channel_entity_updated
14:41:15.617 DEBUG Notifier(156) Add observer topic tribler_new_version
14:41:15.617 DEBUG Notifier(156) Add observer topic channel_discovered
14:41:15.617 DEBUG Notifier(156) Add observer topic torrent_finished
14:41:15.617 DEBUG Notifier(156) Add observer topic low_space
14:41:15.617 DEBUG Notifier(156) Add observer topic remote_query_results
14:41:15.617 DEBUG Notifier(156) Add observer topic tribler_shutdown_state
14:41:15.618 DEBUG Notifier(156) Add observer topic report_config_error
14:41:15.624 INFO Tribler Config(86) Init. State dir: /private/var/folders/mg/7124pd9x7q545c5zphg6q2cc0000gn/T/pytest-of-drew2a/pytest-66/tribler_state_dir0. File: /private/var/folders/mg/7124pd9x7q545c5zphg6q2cc0000gn/T/pytest-of-drew2a/pytest-66/tribler_state_dir0/triblerd.conf
14:41:15.624 INFO VersionHistory(290) Files to copy: ['ec_multichain.pem', 'ecpub_multichain.pem', 'secondary_key.pem', 'ec_trustchain_testnet.pem', 'triblerd.conf', 'lt.state']
14:41:15.624 INFO VersionHistory(232) Current Tribler version is 7.13.0-GIT
14:41:15.624 INFO VersionHistory(235) No previous version found
14:41:16.779 INFO TriblerWindow(409) Available screen geometry: PyQt5.QtCore.QRect(0, 25, 1792, 1006)
14:41:16.779 INFO TriblerWindow(410) Restored window size: PyQt5.QtCore.QSize(1058, 867)
14:41:16.779 INFO TriblerWindow(416) Resize window to the bounded size: PyQt5.QtCore.QSize(1058, 867)
14:41:16.780 INFO TriblerWindow(421) Restored window position: PyQt5.QtCore.QPoint()
14:41:16.780 INFO TriblerWindow(427) Is window outside the screen: True
14:41:16.780 INFO TriblerWindow(430) Move the window to the: PyQt5.QtCore.QPoint(0, 25)
14:41:16.898 DEBUG SentryReporter(145) Add the breadcrumb: {'message': 'LoadingPage.Show', 'category': 'UI', 'level': 'info'}
14:41:17.038 INFO EventRequestManager(198) Connecting to events endpoint (without retrying)
14:41:17.230 INFO EventRequestManager(138) Error ConnectionRefusedError while trying to connect to Tribler Core, will not retry
14:41:17.232 INFO UpgradeManager(191) Start upgrade process
14:41:17.232 INFO ErrorHandler(35) Processing GUI error: <class 'AttributeError'>
14:41:17.238 ERROR ErrorHandler(40) tribler.gui.utilities.CreationTraceback: 
  File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pycharm/_jb_pytest_runner.py", line 51, in <module>
    sys.exit(pytest.main(args, plugins_to_load + [Plugin]))
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/_pytest/config/__init__.py", line 166, in main
    ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
    res = hook_impl.function(*args)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/_pytest/main.py", line 316, in pytest_cmdline_main
    return wrap_session(config, _main)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/_pytest/main.py", line 269, in wrap_session
    session.exitstatus = doit(config, session) or 0
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/_pytest/main.py", line 323, in _main
    config.hook.pytest_runtestloop(session=session)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
    res = hook_impl.function(*args)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/_pytest/main.py", line 348, in pytest_runtestloop
    item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
    res = hook_impl.function(*args)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/_pytest/runner.py", line 114, in pytest_runtest_protocol
    runtestprotocol(item, nextitem=nextitem)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/_pytest/runner.py", line 127, in runtestprotocol
    rep = call_and_report(item, "setup", log)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/_pytest/runner.py", line 222, in call_and_report
    call = call_runtest_hook(item, when, **kwds)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/_pytest/runner.py", line 261, in call_runtest_hook
    return CallInfo.from_call(
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/_pytest/runner.py", line 341, in from_call
    result: Optional[TResult] = func()
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/_pytest/runner.py", line 262, in <lambda>
    lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
    res = hook_impl.function(*args)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/_pytest/runner.py", line 157, in pytest_runtest_setup
    item.session._setupstate.setup(item)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/_pytest/runner.py", line 494, in setup
    col.setup()
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/_pytest/python.py", line 1802, in setup
    self._request._fillfixtures()
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/_pytest/fixtures.py", line 551, in _fillfixtures
    item.funcargs[argname] = self.getfixturevalue(argname)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/_pytest/fixtures.py", line 570, in getfixturevalue
    fixturedef = self._get_active_fixturedef(argname)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/_pytest/fixtures.py", line 592, in _get_active_fixturedef
    self._compute_fixture_value(fixturedef)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/_pytest/fixtures.py", line 678, in _compute_fixture_value
    fixturedef.execute(request=subrequest)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/_pytest/fixtures.py", line 1076, in execute
    result = ihook.pytest_fixture_setup(fixturedef=self, request=request)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
    res = hook_impl.function(*args)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/_pytest/fixtures.py", line 1130, in pytest_fixture_setup
    result = call_fixture_func(fixturefunc, request, kwargs)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/_pytest/fixtures.py", line 902, in call_fixture_func
    fixture_result = next(generator)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/src/tribler/gui/tests/test_gui.py", line 53, in fixture_window
    window = TriblerWindow(
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/src/tribler/gui/tribler_window.py", line 391, in __init__
    self.core_manager.start(
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/src/tribler/gui/core_manager.py", line 93, in start
    connect(self.events_manager.reply.error, self.on_event_manager_initial_error)


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/src/tribler/gui/utilities.py", line 438, in trackback_wrapper
    raise exc from CreationTraceback(traceback_str)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/src/tribler/gui/utilities.py", line 435, in trackback_wrapper
    callback(*args, **kwargs)
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/src/tribler/gui/core_manager.py", line 99, in on_event_manager_initial_error
    self.upgrade_manager.start()
  File "/Users/drew2a/Projects/github.com/Tribler/tribler/src/tribler/gui/upgrade_manager.py", line 192, in start
    if self.version_history.last_run_version.is_ancient(self.last_supported_version):
AttributeError: 'NoneType' object has no attribute 'is_ancient'

14:41:17.238 DEBUG SentryReporter(291) Event from exception: 'NoneType' object has no attribute 'is_ancient'
14:41:19.026 DEBUG SentryReporter(145) Add the breadcrumb: {'message': 'FeedbackDialog.Show', 'category': 'UI', 'level': 'info'}
ERROR
test setup failed
tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x10560e2b0>, _basetemp=PosixPath.../folders/mg/7124pd9x7q545c5zphg6q2cc0000gn/T/pytest-of-drew2a/pytest-66'), _retention_count=3, _retention_policy='all')

    @pytest.fixture(name='window', scope="module")
    def fixture_window(tmp_path_factory):
        api_key = hexlify(os.urandom(16))
        root_state_dir = tmp_path_factory.mktemp('tribler_state_dir')
    
        current_process = TriblerProcess.current_process(ProcessKind.GUI)
        process_manager = ProcessManager(root_state_dir, current_process)
        is_primary_process = process_manager.current_process.become_primary()
        app = TriblerApplication("triblerapp-guitest", sys.argv, start_local_server=is_primary_process)
        app_manager = AppManager(app)
        # We must create a separate instance of QSettings and clear it.
        # Otherwise, previous runs of the same app will affect this run.
        settings = QSettings("tribler-guitest")
        settings.clear()
        window = TriblerWindow(
            process_manager,
            app_manager,
            settings,
            root_state_dir,
            api_key=api_key,
            core_args=[str(RUN_TRIBLER_PY.absolute()), '--core', '--gui-test-mode'],
        )
        app.tribler_window = window
        QTest.qWaitForWindowExposed(window)
    
        screenshot(window, name="tribler_loading")
>       wait_for_signal(
            window.core_manager.events_manager.core_connected,
            timeout=20,
            condition=lambda: window.tribler_started or (
                    window.core_manager.core_started and not window.core_manager.core_running)
        )

test_gui.py:65: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

signal = <bound PYQT_SIGNAL core_connected of EventRequestManager object at 0x125cfc040>
timeout = 20
condition = <function fixture_window.<locals>.<lambda> at 0x125f3a5e0>

    def wait_for_signal(signal: pyqtSignal, timeout: int = 10, condition: Callable = None):
        signal_received = False
    
        def on_signal(*args, **kwargs):
            nonlocal signal_received
            signal_received = True
    
        connect(signal, on_signal)
    
        for _ in range(0, timeout * 1000, 100):
            if signal_received or condition is not None and condition():
                return
            QTest.qWait(100)
    
>       raise TimeoutException(f"Signal {signal} not raised within 10 seconds")
E       tribler.gui.tests.test_gui.TimeoutException: Signal <bound PYQT_SIGNAL core_connected of EventRequestManager object at 0x125cfc040> not raised within 10 seconds

test_gui.py:108: TimeoutException

Before this fix the output was:

============================= test session starts ==============================
collecting ... 
----------------------------- live log collection ------------------------------
14:38:01.525 DEBUG PyQt5.uic.uiparser(864) uiname is Form
14:38:01.525 DEBUG PyQt5.uic.uiparser(824) toplevel widget is QWidget
14:38:01.526 DEBUG PyQt5.uic.properties(400) setting property geometry
14:38:01.526 DEBUG PyQt5.uic.properties(400) setting property sizePolicy
14:38:01.526 DEBUG PyQt5.uic.properties(400) setting property minimumSize
14:38:01.526 DEBUG PyQt5.uic.properties(400) setting property maximumSize
14:38:01.526 DEBUG PyQt5.uic.properties(400) setting property cursor
14:38:01.526 DEBUG PyQt5.uic.properties(400) setting property windowTitle
14:38:01.526 DEBUG PyQt5.uic.properties(400) setting property autoFillBackground
14:38:01.526 DEBUG PyQt5.uic.properties(400) setting property styleSheet
14:38:01.526 DEBUG PyQt5.uic.uiparser(108) push QWidget Form
14:38:01.527 DEBUG PyQt5.uic.properties(400) setting property spacing
14:38:01.527 DEBUG PyQt5.uic.properties(400) setting property leftMargin
14:38:01.527 DEBUG PyQt5.uic.properties(400) setting property topMargin
14:38:01.527 DEBUG PyQt5.uic.properties(400) setting property rightMargin
14:38:01.527 DEBUG PyQt5.uic.properties(400) setting property bottomMargin
14:38:01.527 DEBUG PyQt5.uic.properties(400) setting property pyuicMargins
14:38:01.527 DEBUG PyQt5.uic.properties(400) setting property pyuicSpacing
14:38:01.527 DEBUG PyQt5.uic.uiparser(108) push QHBoxLayout horizontalLayout
14:38:01.527 DEBUG PyQt5.uic.properties(400) setting property styleSheet
14:38:01.527 DEBUG PyQt5.uic.properties(400) setting property text
14:38:01.527 DEBUG PyQt5.uic.properties(400) setting property alignment
14:38:01.527 DEBUG PyQt5.uic.uiparser(108) push QLabel textlabel
14:38:01.528 DEBUG PyQt5.uic.uiparser(122) pop widget QLabel textlabel
14:38:01.528 DEBUG PyQt5.uic.uiparser(130) new topwidget Form
14:38:01.528 DEBUG PyQt5.uic.uiparser(116) pop layout QHBoxLayout horizontalLayout
14:38:01.528 DEBUG PyQt5.uic.uiparser(122) pop widget QWidget Form
14:38:01.528 DEBUG PyQt5.uic.uiparser(130) new topwidget None
collected 1 item

test_gui.py::test_feedback_dialog_report_sent 
-------------------------------- live log setup --------------------------------
14:38:01.561 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.address`.
14:38:01.564 DEBUG faker.factory(97) Provider `faker.providers.address` has been localized to `en_US`.
14:38:01.567 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.automotive`.
14:38:01.569 DEBUG faker.factory(97) Provider `faker.providers.automotive` has been localized to `en_US`.
14:38:01.571 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.bank`.
14:38:01.572 DEBUG faker.factory(88) Specified locale `en_US` is not available for provider `faker.providers.bank`. Locale reset to `en_GB` for this provider.
14:38:01.573 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.barcode`.
14:38:01.574 DEBUG faker.factory(97) Provider `faker.providers.barcode` has been localized to `en_US`.
14:38:01.575 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.color`.
14:38:01.577 DEBUG faker.factory(97) Provider `faker.providers.color` has been localized to `en_US`.
14:38:01.578 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.company`.
14:38:01.580 DEBUG faker.factory(97) Provider `faker.providers.company` has been localized to `en_US`.
14:38:01.581 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.credit_card`.
14:38:01.581 DEBUG faker.factory(97) Provider `faker.providers.credit_card` has been localized to `en_US`.
14:38:01.582 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.currency`.
14:38:01.584 DEBUG faker.factory(97) Provider `faker.providers.currency` has been localized to `en_US`.
14:38:01.585 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.date_time`.
14:38:01.587 DEBUG faker.factory(97) Provider `faker.providers.date_time` has been localized to `en_US`.
14:38:01.588 DEBUG faker.factory(109) Provider `faker.providers.file` does not feature localization. Specified locale `en_US` is not utilized for this provider.
14:38:01.588 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.geo`.
14:38:01.588 DEBUG faker.factory(97) Provider `faker.providers.geo` has been localized to `en_US`.
14:38:01.589 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.internet`.
14:38:01.592 DEBUG faker.factory(97) Provider `faker.providers.internet` has been localized to `en_US`.
14:38:01.593 DEBUG faker.factory(109) Provider `faker.providers.isbn` does not feature localization. Specified locale `en_US` is not utilized for this provider.
14:38:01.593 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.job`.
14:38:01.595 DEBUG faker.factory(97) Provider `faker.providers.job` has been localized to `en_US`.
14:38:01.596 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.lorem`.
14:38:01.597 DEBUG faker.factory(97) Provider `faker.providers.lorem` has been localized to `en_US`.
14:38:01.600 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.misc`.
14:38:01.601 DEBUG faker.factory(97) Provider `faker.providers.misc` has been localized to `en_US`.
14:38:01.602 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.person`.
14:38:01.605 DEBUG faker.factory(97) Provider `faker.providers.person` has been localized to `en_US`.
14:38:01.611 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.phone_number`.
14:38:01.614 DEBUG faker.factory(97) Provider `faker.providers.phone_number` has been localized to `en_US`.
14:38:01.615 DEBUG faker.factory(109) Provider `faker.providers.profile` does not feature localization. Specified locale `en_US` is not utilized for this provider.
14:38:01.615 DEBUG faker.factory(109) Provider `faker.providers.python` does not feature localization. Specified locale `en_US` is not utilized for this provider.
14:38:01.615 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.ssn`.
14:38:01.618 DEBUG faker.factory(97) Provider `faker.providers.ssn` has been localized to `en_US`.
14:38:01.619 DEBUG faker.factory(109) Provider `faker.providers.user_agent` does not feature localization. Specified locale `en_US` is not utilized for this provider.
14:38:01.626 INFO TriblerApplication(25) Start Tribler application. Win id: "triblerapp-guitest". Sys argv: "['/Applications/PyCharm.app/Contents/plugins/python/helpers/pycharm/_jb_pytest_runner.py', '-s', '--timeout=600', '--log-cli-level=10', '--looptime', 'test_gui.py::test_feedback_dialog_report_sent']"
14:38:01.745 INFO TriblerApplication(51) No running instances (socket error: 2)
14:38:01.910 INFO NetworkUtils(46) Looking for first free port in range [20100..65535]
14:38:01.910 INFO NetworkUtils(50) 20100 is free
14:38:01.912 DEBUG SentryReporter(131) Ignore logger: ErrorHandler
14:38:01.919 DEBUG Notifier(156) Add observer topic events_start
14:38:01.919 DEBUG Notifier(156) Add observer topic tribler_exception
14:38:01.919 DEBUG Notifier(156) Add observer topic channel_entity_updated
14:38:01.919 DEBUG Notifier(156) Add observer topic tribler_new_version
14:38:01.920 DEBUG Notifier(156) Add observer topic channel_discovered
14:38:01.920 DEBUG Notifier(156) Add observer topic torrent_finished
14:38:01.920 DEBUG Notifier(156) Add observer topic low_space
14:38:01.920 DEBUG Notifier(156) Add observer topic remote_query_results
14:38:01.920 DEBUG Notifier(156) Add observer topic tribler_shutdown_state
14:38:01.920 DEBUG Notifier(156) Add observer topic report_config_error
14:38:01.926 INFO Tribler Config(86) Init. State dir: /private/var/folders/mg/7124pd9x7q545c5zphg6q2cc0000gn/T/pytest-of-drew2a/pytest-65/tribler_state_dir0. File: /private/var/folders/mg/7124pd9x7q545c5zphg6q2cc0000gn/T/pytest-of-drew2a/pytest-65/tribler_state_dir0/triblerd.conf
14:38:01.926 INFO VersionHistory(290) Files to copy: ['ec_multichain.pem', 'ecpub_multichain.pem', 'secondary_key.pem', 'ec_trustchain_testnet.pem', 'triblerd.conf', 'lt.state']
14:38:01.926 INFO VersionHistory(232) Current Tribler version is 7.13.0-GIT
14:38:01.926 INFO VersionHistory(235) No previous version found
14:38:01.935 DEBUG PyQt5.uic.uiparser(864) uiname is MainWindow
14:38:01.936 DEBUG PyQt5.uic.uiparser(824) toplevel widget is TriblerWindow
14:38:01.936 DEBUG PyQt5.uic.properties(400) setting property geometry
14:38:01.937 DEBUG PyQt5.uic.properties(400) setting property sizePolicy
14:38:01.955 DEBUG PyQt5.uic.properties(400) setting property cursor
14:38:01.956 DEBUG PyQt5.uic.properties(400) setting property styleSheet
14:38:01.956 DEBUG PyQt5.uic.properties(400) setting property text
14:38:01.956 DEBUG PyQt5.uic.properties(400) setting property icon
14:38:01.957 DEBUG PyQt5.uic.properties(400) setting property iconSize
14:38:01.957 DEBUG PyQt5.uic.properties(400) setting property flat
14:38:01.957 DEBUG PyQt5.uic.uiparser(108) push QPushButton add_torrent_button
14:38:01.958 DEBUG PyQt5.uic.uiparser(122) pop widget QPushButton add_torrent_button
14:38:01.958 DEBUG PyQt5.uic.uiparser(130) new topwidget <PyQt5.QtWidgets.QWidget object at 0x12e0e5a60>
14:38:01.958 DEBUG PyQt5.uic.properties(400) setting property minimumSize
14:38:01.958 DEBUG PyQt5.uic.properties(400) setting property cursor
14:38:01.958 DEBUG PyQt5.uic.properties(400) setting property focusPolicy
14:38:01.958 DEBUG PyQt5.uic.properties(400) setting property styleSheet
14:38:01.958 DEBUG PyQt5.uic.properties(400) setting property text
14:38:01.958 DEBUG PyQt5.uic.properties(400) setting property icon
14:38:01.959 DEBUG PyQt5.uic.properties(400) setting property iconSize
14:38:01.959 DEBUG PyQt5.uic.properties(400) setting property checkable
14:38:01.960 DEBUG PyQt5.uic.properties(400) setting property flat
14:38:01.960 DEBUG PyQt5.uic.uiparser(108) push QPushButton left_menu_button_downloads
14:38:01.960 DEBUG PyQt5.uic.uiparser(122) pop widget QPushButton left_menu_button_downloads
14:38:01.960 DEBUG PyQt5.uic.uiparser(130) new topwidget <PyQt5.QtWidgets.QWidget object at 0x12e0e5a60>
14:38:01.960 DEBUG PyQt5.uic.properties(400) setting property text
14:38:01.960 DEBUG PyQt5.uic.uiparser(108) push QLabel channels_menu_label
14:38:01.960 DEBUG PyQt5.uic.uiparser(122) pop widget QLabel channels_menu_label
14:38:01.960 DEBUG PyQt5.uic.uiparser(130) new topwidget <PyQt5.QtWidgets.QWidget object at 0x12e0e5a60>
14:38:01.960 DEBUG PyQt5.uic.properties(400) setting property sizePolicy
14:38:01.961 DEBUG PyQt5.uic.properties(400) setting property minimumSize
14:38:01.961 DEBUG PyQt5.uic.properties(400) setting property cursor
14:38:01.961 DEBUG PyQt5.uic.properties(400) setting property focusPolicy
14:38:01.961 DEBUG PyQt5.uic.properties(400) setting property styleSheet
14:38:01.961 DEBUG PyQt5.uic.properties(400) setting property text
14:38:01.961 DEBUG PyQt5.uic.properties(400) setting property icon
14:38:01.962 DEBUG PyQt5.uic.properties(400) setting property iconSize
14:38:01.962 DEBUG PyQt5.uic.properties(400) setting property checkable
14:38:01.962 DEBUG PyQt5.uic.properties(400) setting property flat
14:38:01.962 DEBUG PyQt5.uic.uiparser(108) push QPushButton left_menu_button_discovered
14:38:01.962 DEBUG PyQt5.uic.uiparser(122) pop widget QPushButton left_menu_button_discovered
14:38:01.962 DEBUG PyQt5.uic.uiparser(130) new topwidget <PyQt5.QtWidgets.QWidget object at 0x12e0e5a60>
14:38:01.963 DEBUG PyQt5.uic.properties(400) setting property sizePolicy
14:38:01.963 DEBUG PyQt5.uic.properties(400) setting property minimumSize
14:38:01.963 DEBUG PyQt5.uic.properties(400) setting property cursor
14:38:01.963 DEBUG PyQt5.uic.properties(400) setting property focusPolicy
14:38:01.963 DEBUG PyQt5.uic.properties(400) setting property text
14:38:01.963 DEBUG PyQt5.uic.properties(400) setting property icon
14:38:01.964 DEBUG PyQt5.uic.properties(400) setting property iconSize
14:38:01.964 DEBUG PyQt5.uic.properties(400) setting property checkable
14:38:01.964 DEBUG PyQt5.uic.properties(400) setting property flat
14:38:01.964 DEBUG PyQt5.uic.uiparser(108) push QPushButton left_menu_button_popular
14:38:01.964 DEBUG PyQt5.uic.uiparser(122) pop widget QPushButton left_menu_button_popular
14:38:01.964 DEBUG PyQt5.uic.uiparser(130) new topwidget <PyQt5.QtWidgets.QWidget object at 0x12e0e5a60>
14:38:01.964 DEBUG PyQt5.uic.properties(400) setting property text
14:38:01.964 DEBUG PyQt5.uic.uiparser(108) push QLabel label_3
14:38:01.965 DEBUG PyQt5.uic.uiparser(122) pop widget QLabel label_3
14:38:01.965 DEBUG PyQt5.uic.uiparser(130) new topwidget <PyQt5.QtWidgets.QWidget object at 0x12e0e5a60>
14:38:01.988 DEBUG PyQt5.uic.properties(400) setting property sizePolicy
14:38:01.988 DEBUG PyQt5.uic.properties(400) setting property cursor
14:38:01.989 DEBUG PyQt5.uic.properties(400) setting property styleSheet
14:38:01.989 DEBUG PyQt5.uic.properties(400) setting property frameShape
14:38:01.989 DEBUG PyQt5.uic.properties(400) setting property frameShadow
14:38:01.989 DEBUG PyQt5.uic.properties(400) setting property horizontalScrollBarPolicy
14:38:01.989 DEBUG PyQt5.uic.properties(400) setting property editTriggers
14:38:01.989 DEBUG PyQt5.uic.properties(400) setting property iconSize
14:38:01.989 DEBUG PyQt5.uic.uiparser(108) push ChannelsMenuListWidget channels_menu_list
14:38:01.989 DEBUG PyQt5.uic.uiparser(122) pop widget ChannelsMenuListWidget channels_menu_list
14:38:01.989 DEBUG PyQt5.uic.uiparser(130) new topwidget <PyQt5.QtWidgets.QWidget object at 0x12e0e5a60>
14:38:01.990 DEBUG PyQt5.uic.properties(400) setting property minimumSize
14:38:01.990 DEBUG PyQt5.uic.properties(400) setting property cursor
14:38:01.990 DEBUG PyQt5.uic.properties(400) setting property focusPolicy
14:38:01.990 DEBUG PyQt5.uic.properties(400) setting property text
14:38:01.990 DEBUG PyQt5.uic.properties(400) setting property icon
14:38:01.994 DEBUG PyQt5.uic.properties(400) setting property flat
14:38:01.994 DEBUG PyQt5.uic.uiparser(108) push QPushButton left_menu_button_new_channel
14:38:01.994 DEBUG PyQt5.uic.uiparser(122) pop widget QPushButton left_menu_button_new_channel
14:38:01.994 DEBUG PyQt5.uic.uiparser(130) new topwidget <PyQt5.QtWidgets.QWidget object at 0x12e0e5a60>
14:38:01.994 DEBUG PyQt5.uic.uiparser(116) pop layout QVBoxLayout verticalLayout_2
14:38:01.995 DEBUG PyQt5.uic.uiparser(122) pop widget QWidget left_menu
14:38:01.995 DEBUG PyQt5.uic.uiparser(130) new topwidget <PyQt5.QtWidgets.QWidget object at 0x12e0d2c10>
14:38:01.996 DEBUG PyQt5.uic.properties(400) setting property currentIndex
14:38:01.996 DEBUG PyQt5.uic.uiparser(108) push QStackedWidget stackedWidget
14:38:01.998 DEBUG PyQt5.uic.uiparser(864) uiname is search_stacked_widget
14:38:01.998 DEBUG PyQt5.uic.uiparser(824) toplevel widget is QStackedWidget
14:38:01.998 DEBUG PyQt5.uic.properties(400) setting property geometry
14:38:01.998 DEBUG PyQt5.uic.properties(400) setting property currentIndex
14:38:01.998 DEBUG PyQt5.uic.uiparser(108) push QStackedWidget search_stacked_widget
14:38:01.999 DEBUG PyQt5.uic.uiparser(108) push QWidget loading_page
14:38:01.999 DEBUG PyQt5.uic.uiparser(108) push QVBoxLayout verticalLayout
14:38:01.999 DEBUG PyQt5.uic.Compiler.qobjectcreator(131) resolved baseclass of TimeoutProgressBar: QtWidgets.QProgressBar
14:38:01.999 DEBUG PyQt5.uic.properties(400) setting property sizePolicy
14:38:01.999 DEBUG PyQt5.uic.properties(400) setting property maximumSize
14:38:01.999 DEBUG PyQt5.uic.properties(400) setting property value
14:38:01.999 DEBUG PyQt5.uic.properties(400) setting property alignment
14:38:02.000 DEBUG PyQt5.uic.properties(400) setting property format
14:38:02.000 DEBUG PyQt5.uic.uiparser(108) push TimeoutProgressBar timeout_progress_bar
14:38:02.000 DEBUG PyQt5.uic.uiparser(122) pop widget TimeoutProgressBar timeout_progress_bar
14:38:02.000 DEBUG PyQt5.uic.uiparser(130) new topwidget self.loading_page
14:38:02.000 DEBUG PyQt5.uic.properties(400) setting property sizePolicy
14:38:02.000 DEBUG PyQt5.uic.properties(400) setting property minimumSize
14:38:02.000 DEBUG PyQt5.uic.properties(400) setting property accessibleDescription
14:38:02.000 DEBUG PyQt5.uic.properties(400) setting property text
14:38:02.001 DEBUG PyQt5.uic.uiparser(108) push QLabel state_label
14:38:02.001 DEBUG PyQt5.uic.uiparser(122) pop widget QLabel state_label
14:38:02.001 DEBUG PyQt5.uic.uiparser(130) new topwidget self.loading_page
14:38:02.001 DEBUG PyQt5.uic.properties(400) setting property bottomMargin
14:38:02.001 DEBUG PyQt5.uic.properties(400) setting property pyuicMargins
14:38:02.001 DEBUG PyQt5.uic.uiparser(108) push QHBoxLayout horizontalLayout_5
14:38:02.001 DEBUG PyQt5.uic.Compiler.qobjectcreator(131) resolved baseclass of EllipseButton: QtWidgets.QToolButton
14:38:02.001 DEBUG PyQt5.uic.properties(400) setting property minimumSize
14:38:02.001 DEBUG PyQt5.uic.properties(400) setting property text
14:38:02.002 DEBUG PyQt5.uic.uiparser(108) push EllipseButton show_results_button
14:38:02.002 DEBUG PyQt5.uic.uiparser(122) pop widget EllipseButton show_results_button
14:38:02.002 DEBUG PyQt5.uic.uiparser(130) new topwidget self.loading_page
14:38:02.002 DEBUG PyQt5.uic.uiparser(116) pop layout QHBoxLayout horizontalLayout_5
14:38:02.002 DEBUG PyQt5.uic.uiparser(116) pop layout QVBoxLayout verticalLayout
14:38:02.002 DEBUG PyQt5.uic.uiparser(122) pop widget QWidget loading_page
14:38:02.002 DEBUG PyQt5.uic.uiparser(130) new topwidget search_stacked_widget
14:38:02.003 DEBUG PyQt5.uic.uiparser(108) push QWidget results_page
14:38:02.003 DEBUG PyQt5.uic.uiparser(108) push QVBoxLayout results_page_layout
14:38:02.003 DEBUG PyQt5.uic.Compiler.qobjectcreator(131) resolved baseclass of SearchProgressBar: QtWidgets.QProgressBar
14:38:02.003 DEBUG PyQt5.uic.properties(400) setting property sizePolicy
14:38:02.003 DEBUG PyQt5.uic.properties(400) setting property maximumSize
14:38:02.003 DEBUG PyQt5.uic.properties(400) setting property value
14:38:02.004 DEBUG PyQt5.uic.properties(400) setting property alignment
14:38:02.004 DEBUG PyQt5.uic.properties(400) setting property format
14:38:02.004 DEBUG PyQt5.uic.uiparser(108) push SearchProgressBar search_progress_bar
14:38:02.004 DEBUG PyQt5.uic.uiparser(122) pop widget SearchProgressBar search_progress_bar
14:38:02.004 DEBUG PyQt5.uic.uiparser(130) new topwidget self.results_page
14:38:02.004 DEBUG PyQt5.uic.Compiler.qobjectcreator(131) resolved baseclass of ChannelContentsWidget: QtWidgets.QWidget
14:38:02.004 DEBUG PyQt5.uic.uiparser(108) push ChannelContentsWidget results_page_content
14:38:02.004 DEBUG PyQt5.uic.uiparser(122) pop widget ChannelContentsWidget results_page_content
14:38:02.004 DEBUG PyQt5.uic.uiparser(130) new topwidget self.results_page
14:38:02.005 DEBUG PyQt5.uic.uiparser(116) pop layout QVBoxLayout results_page_layout
14:38:02.005 DEBUG PyQt5.uic.uiparser(122) pop widget QWidget results_page
14:38:02.005 DEBUG PyQt5.uic.uiparser(130) new topwidget search_stacked_widget
14:38:02.005 DEBUG PyQt5.uic.uiparser(122) pop widget QStackedWidget search_stacked_widget
14:38:02.005 DEBUG PyQt5.uic.uiparser(130) new topwidget None
14:38:02.009 DEBUG PyQt5.uic.uiparser(864) uiname is torrents_list
14:38:02.009 DEBUG PyQt5.uic.uiparser(824) toplevel widget is QWidget
14:38:02.009 DEBUG PyQt5.uic.properties(400) setting property geometry
14:38:02.009 DEBUG PyQt5.uic.properties(400) setting property sizePolicy
14:38:02.010 DEBUG PyQt5.uic.properties(400) setting property minimumSize
14:38:02.010 DEBUG PyQt5.uic.properties(400) setting property cursor
14:38:02.010 DEBUG PyQt5.uic.properties(400) setting property windowTitle
14:38:02.010 DEBUG PyQt5.uic.properties(400) setting property autoFillBackground
14:38:02.010 DEBUG PyQt5.uic.uiparser(108) push QWidget torrents_list
14:38:02.010 DEBUG PyQt5.uic.properties(400) setting property spacing
14:38:02.010 DEBUG PyQt5.uic.properties(400) setting property leftMargin
14:38:02.010 DEBUG PyQt5.uic.properties(400) setting property topMargin
14:38:02.010 DEBUG PyQt5.uic.properties(400) setting property rightMargin
14:38:02.011 DEBUG PyQt5.uic.properties(400) setting property bottomMargin
14:38:02.011 DEBUG PyQt5.uic.properties(400) setting property pyuicMargins
14:38:02.011 DEBUG PyQt5.uic.properties(400) setting property pyuicSpacing
14:38:02.011 DEBUG PyQt5.uic.uiparser(108) push QVBoxLayout verticalLayout
14:38:02.011 DEBUG PyQt5.uic.properties(400) setting property sizePolicy
14:38:02.011 DEBUG PyQt5.uic.properties(400) setting property minimumSize
14:38:02.012 DEBUG PyQt5.uic.properties(400) setting property maximumSize
14:38:02.012 DEBUG PyQt5.uic.uiparser(108) push QFrame channel_details_header
14:38:02.012 DEBUG PyQt5.uic.properties(400) setting property spacing
14:38:02.012 DEBUG PyQt5.uic.properties(400) setting property leftMargin
14:38:02.012 DEBUG PyQt5.uic.properties(400) setting property topMargin
14:38:02.012 DEBUG PyQt5.uic.properties(400) setting property rightMargin
14:38:02.012 DEBUG PyQt5.uic.properties(400) setting property bottomMargin
14:38:02.012 DEBUG PyQt5.uic.properties(400) setting property pyuicMargins
14:38:02.013 DEBUG PyQt5.uic.properties(400) setting property pyuicSpacing
14:38:02.013 DEBUG PyQt5.uic.uiparser(108) push QHBoxLayout horizontalLayout_3
14:38:02.013 DEBUG PyQt5.uic.properties(400) setting property minimumSize
14:38:02.013 DEBUG PyQt5.uic.properties(400) setting property maximumSize
14:38:02.013 DEBUG PyQt5.uic.properties(400) setting property cursor
14:38:02.014 DEBUG PyQt5.uic.properties(400) setting property styleSheet
14:38:02.014 DEBUG PyQt5.uic.properties(400) setting property text
14:38:02.014 DEBUG PyQt5.uic.properties(400) setting property icon
14:38:02.014 DEBUG PyQt5.uic.uiparser(108) push QToolButton channel_back_button
14:38:02.014 DEBUG PyQt5.uic.uiparser(122) pop widget QToolButton channel_back_button
14:38:02.014 DEBUG PyQt5.uic.uiparser(130) new topwidget self.channel_details_header
14:38:02.015 DEBUG PyQt5.uic.properties(400) setting property sizePolicy
14:38:02.015 DEBUG PyQt5.uic.properties(400) setting property minimumSize
14:38:02.015 DEBUG PyQt5.uic.properties(400) setting property maximumSize
14:38:02.015 DEBUG PyQt5.uic.properties(400) setting property contextMenuPolicy
14:38:02.015 DEBUG PyQt5.uic.properties(400) setting property styleSheet
14:38:02.015 DEBUG PyQt5.uic.properties(400) setting property text
14:38:02.015 DEBUG PyQt5.uic.properties(400) setting property textInteractionFlags
14:38:02.015 DEBUG PyQt5.uic.uiparser(108) push QLabel channel_name_label
14:38:02.016 DEBUG PyQt5.uic.uiparser(122) pop widget QLabel channel_name_label
14:38:02.016 DEBUG PyQt5.uic.uiparser(130) new topwidget self.channel_details_header
14:38:02.016 DEBUG PyQt5.uic.properties(400) setting property sizePolicy
14:38:02.016 DEBUG PyQt5.uic.properties(400) setting property styleSheet
14:38:02.016 DEBUG PyQt5.uic.properties(400) setting property text
14:38:02.016 DEBUG PyQt5.uic.uiparser(108) push QLabel channel_state_label
14:38:02.017 DEBUG PyQt5.uic.uiparser(122) pop widget QLabel channel_state_label
14:38:02.017 DEBUG PyQt5.uic.uiparser(130) new topwidget self.channel_details_header
14:38:02.017 DEBUG PyQt5.uic.properties(400) setting property sizePolicy
14:38:02.017 DEBUG PyQt5.uic.properties(400) setting property styleSheet
14:38:02.017 DEBUG PyQt5.uic.properties(400) setting property text
14:38:02.017 DEBUG PyQt5.uic.uiparser(108) push QLabel channel_num_torrents_label
14:38:02.017 DEBUG PyQt5.uic.uiparser(122) pop widget QLabel channel_num_torrents_label
14:38:02.018 DEBUG PyQt5.uic.uiparser(130) new topwidget self.channel_details_header
14:38:02.018 DEBUG PyQt5.uic.Compiler.qobjectcreator(131) resolved baseclass of InstantTooltipButton: QtWidgets.QToolButton
14:38:02.018 DEBUG PyQt5.uic.properties(400) setting property minimumSize
14:38:02.018 DEBUG PyQt5.uic.properties(400) setting property maximumSize
14:38:02.018 DEBUG PyQt5.uic.properties(400) setting property font
14:38:02.018 DEBUG PyQt5.uic.properties(400) setting property toolTip
14:38:02.018 DEBUG PyQt5.uic.properties(400) setting property styleSheet
14:38:02.018 DEBUG PyQt5.uic.properties(400) setting property text
14:38:02.019 DEBUG PyQt5.uic.uiparser(108) push InstantTooltipButton explanation_tooltip_button
14:38:02.019 DEBUG PyQt5.uic.uiparser(122) pop widget InstantTooltipButton explanation_tooltip_button
14:38:02.019 DEBUG PyQt5.uic.uiparser(130) new topwidget self.channel_details_header
14:38:02.019 DEBUG PyQt5.uic.properties(400) setting property enabled
14:38:02.019 DEBUG PyQt5.uic.properties(400) setting property minimumSize
14:38:02.019 DEBUG PyQt5.uic.properties(400) setting property maximumSize
14:38:02.019 DEBUG PyQt5.uic.uiparser(108) push QWidget edit_channel_contents_top_bar
14:38:02.020 DEBUG PyQt5.uic.properties(400) setting property spacing
14:38:02.020 DEBUG PyQt5.uic.properties(400) setting property leftMargin
14:38:02.020 DEBUG PyQt5.uic.properties(400) setting property topMargin
14:38:02.020 DEBUG PyQt5.uic.properties(400) setting property rightMargin
14:38:02.020 DEBUG PyQt5.uic.properties(400) setting property bottomMargin
14:38:02.020 DEBUG PyQt5.uic.properties(400) setting property pyuicMargins
14:38:02.020 DEBUG PyQt5.uic.properties(400) setting property pyuicSpacing
14:38:02.020 DEBUG PyQt5.uic.uiparser(108) push QHBoxLayout horizontalLayout_6
14:38:02.020 DEBUG PyQt5.uic.Compiler.qobjectcreator(131) resolved baseclass of EllipseButton: QtWidgets.QToolButton
14:38:02.021 DEBUG PyQt5.uic.properties(400) setting property minimumSize
14:38:02.021 DEBUG PyQt5.uic.properties(400) setting property maximumSize
14:38:02.021 DEBUG PyQt5.uic.properties(400) setting property cursor
14:38:02.021 DEBUG PyQt5.uic.properties(400) setting property text
14:38:02.053 DEBUG PyQt5.uic.properties(400) setting property minimumSize
14:38:02.053 DEBUG PyQt5.uic.properties(400) setting property text
14:38:02.053 DEBUG PyQt5.uic.properties(400) setting property pixmap
14:38:02.054 DEBUG PyQt5.uic.properties(400) setting property scaledContents
14:38:02.054 DEBUG PyQt5.uic.properties(400) setting property alignment
14:38:02.054 DEBUG PyQt5.uic.uiparser(108) push ClickableLabel channel_thumbnail
14:38:02.054 DEBUG PyQt5.uic.uiparser(122) pop widget ClickableLabel channel_thumbnail
14:38:02.054 DEBUG PyQt5.uic.uiparser(130) new topwidget self.description_page
14:38:02.054 DEBUG PyQt5.uic.properties(400) setting property rightMargin
14:38:02.054 DEBUG PyQt5.uic.properties(400) setting property pyuicMargins
14:38:02.054 DEBUG PyQt5.uic.uiparser(108) push QVBoxLayout verticalLayout_2
14:38:02.055 DEBUG PyQt5.uic.properties(400) setting property currentIndex
14:38:02.055 DEBUG PyQt5.uic.uiparser(108) push QStackedWidget description_stack_widget
14:38:02.055 DEBUG PyQt5.uic.properties(400) setting property styleSheet
14:38:02.055 DEBUG PyQt5.uic.properties(400) setting property placeholderText
14:38:02.055 DEBUG PyQt5.uic.uiparser(108) push QTextEdit description_text_preview
14:38:02.055 DEBUG PyQt5.uic.uiparser(122) pop widget QTextEdit description_text_preview
14:38:02.055 DEBUG PyQt5.uic.uiparser(130) new topwidget self.description_stack_widget
14:38:02.055 DEBUG PyQt5.uic.properties(400) setting property styleSheet
14:38:02.055 DEBUG PyQt5.uic.uiparser(108) push QPlainTextEdit description_text_edit
14:38:02.056 DEBUG PyQt5.uic.uiparser(122) pop widget QPlainTextEdit description_text_edit
14:38:02.056 DEBUG PyQt5.uic.uiparser(130) new topwidget self.description_stack_widget
14:38:02.056 DEBUG PyQt5.uic.uiparser(122) pop widget QStackedWidget description_stack_widget
14:38:02.056 DEBUG PyQt5.uic.uiparser(130) new topwidget self.description_page
14:38:02.056 DEBUG PyQt5.uic.uiparser(108) push QWidget bottom_buttons_container
14:38:02.056 DEBUG PyQt5.uic.uiparser(108) push QHBoxLayout horizontalLayout_3
14:38:02.056 DEBUG PyQt5.uic.properties(400) setting property text
14:38:02.057 DEBUG PyQt5.uic.uiparser(108) push QPushButton save_button
14:38:02.057 DEBUG PyQt5.uic.uiparser(122) pop widget QPushButton save_button
14:38:02.057 DEBUG PyQt5.uic.uiparser(130) new topwidget self.bottom_buttons_container
14:38:02.057 DEBUG PyQt5.uic.properties(400) setting property text
14:38:02.057 DEBUG PyQt5.uic.uiparser(108) push QPushButton cancel_button
14:38:02.057 DEBUG PyQt5.uic.uiparser(122) pop widget QPushButton cancel_button
14:38:02.057 DEBUG PyQt5.uic.uiparser(130) new topwidget self.bottom_buttons_container
14:38:02.058 DEBUG PyQt5.uic.uiparser(116) pop layout QHBoxLayout horizontalLayout_3
14:38:02.058 DEBUG PyQt5.uic.uiparser(122) pop widget QWidget bottom_buttons_container
14:38:02.058 DEBUG PyQt5.uic.uiparser(130) new topwidget self.description_page
14:38:02.058 DEBUG PyQt5.uic.uiparser(116) pop layout QVBoxLayout verticalLayout_2
14:38:02.058 DEBUG PyQt5.uic.uiparser(116) pop layout QHBoxLayout horizontalLayout
14:38:02.058 DEBUG PyQt5.uic.uiparser(116) pop layout QVBoxLayout desciption_edit_widget
14:38:02.058 DEBUG PyQt5.uic.uiparser(122) pop widget QWidget description_page
14:38:02.058 DEBUG PyQt5.uic.uiparser(130) new topwidget channel_description_widget
14:38:02.058 DEBUG PyQt5.uic.uiparser(108) push QWidget create_page
14:38:02.059 DEBUG PyQt5.uic.properties(400) setting property spacing
14:38:02.059 DEBUG PyQt5.uic.properties(400) setting property topMargin
14:38:02.059 DEBUG PyQt5.uic.properties(400) setting property bottomMargin
14:38:02.059 DEBUG PyQt5.uic.properties(400) setting property pyuicMargins
14:38:02.059 DEBUG PyQt5.uic.properties(400) setting property pyuicSpacing
14:38:02.059 DEBUG PyQt5.uic.uiparser(108) push QVBoxLayout create_channel_widget
14:38:02.059 DEBUG PyQt5.uic.properties(400) setting property frameShape
14:38:02.059 DEBUG PyQt5.uic.properties(400) setting property frameShadow
14:38:02.060 DEBUG PyQt5.uic.uiparser(108) push QFrame frame
14:38:02.060 DEBUG PyQt5.uic.uiparser(108) push QGridLayout gridLayout
14:38:02.060 DEBUG PyQt5.uic.properties(400) setting property text
14:38:02.060 DEBUG PyQt5.uic.properties(400) setting property alignment
14:38:02.060 DEBUG PyQt5.uic.uiparser(108) push QLabel label
14:38:02.060 DEBUG PyQt5.uic.uiparser(122) pop widget QLabel label
14:38:02.060 DEBUG PyQt5.uic.uiparser(130) new topwidget self.frame
14:38:02.060 DEBUG PyQt5.uic.uiparser(108) push QHBoxLayout horizontalLayout_2
14:38:02.061 DEBUG PyQt5.uic.properties(400) setting property sizePolicy
14:38:02.061 DEBUG PyQt5.uic.properties(400) setting property text
14:38:02.061 DEBUG PyQt5.uic.uiparser(108) push QPushButton create_description_button
14:38:02.061 DEBUG PyQt5.uic.uiparser(122) pop widget QPushButton create_description_button
14:38:02.061 DEBUG PyQt5.uic.uiparser(130) new topwidget self.frame
14:38:02.061 DEBUG PyQt5.uic.uiparser(116) pop layout QHBoxLayout horizontalLayout_2
14:38:02.061 DEBUG PyQt5.uic.uiparser(116) pop layout QGridLayout gridLayout
14:38:02.061 DEBUG PyQt5.uic.uiparser(122) pop widget QFrame frame
14:38:02.061 DEBUG PyQt5.uic.uiparser(130) new topwidget self.create_page
14:38:02.062 DEBUG PyQt5.uic.uiparser(116) pop layout QVBoxLayout create_channel_widget
14:38:02.062 DEBUG PyQt5.uic.uiparser(122) pop widget QWidget create_page
14:38:02.062 DEBUG PyQt5.uic.uiparser(130) new topwidget channel_description_widget
14:38:02.062 DEBUG PyQt5.uic.uiparser(116) pop layout QVBoxLayout verticalLayout
14:38:02.062 DEBUG PyQt5.uic.uiparser(122) pop widget QWidget channel_description_widget
14:38:02.062 DEBUG PyQt5.uic.uiparser(130) new topwidget None
14:38:02.258 DEBUG PyQt5.uic.uiparser(864) uiname is details_tab_widgetk
14:38:02.258 DEBUG PyQt5.uic.uiparser(824) toplevel widget is QtBug
14:38:02.258 DEBUG PyQt5.uic.uiparser(108) push QtBug qt_bug_do_not_delete
14:38:02.258 DEBUG PyQt5.uic.uiparser(122) pop widget QtBug qt_bug_do_not_delete
14:38:02.258 DEBUG PyQt5.uic.uiparser(130) new topwidget None
14:38:02.339 DEBUG PyQt5.uic.uiparser(108) push SearchResultsWidget search_results_page
14:38:02.339 DEBUG PyQt5.uic.uiparser(122) pop widget SearchResultsWidget search_results_page
14:38:02.339 DEBUG PyQt5.uic.uiparser(130) new topwidget <PyQt5.QtWidgets.QStackedWidget object at 0x12e518040>
14:38:02.350 DEBUG PyQt5.uic.uiparser(108) push SettingsPage settings_page
14:38:02.350 DEBUG PyQt5.uic.properties(400) setting property spacing
14:38:02.350 DEBUG PyQt5.uic.properties(400) setting property leftMargin
14:38:02.350 DEBUG PyQt5.uic.properties(400) setting property topMargin
14:38:02.350 DEBUG PyQt5.uic.properties(400) setting property rightMargin
14:38:02.350 DEBUG PyQt5.uic.properties(400) setting property bottomMargin
14:38:02.350 DEBUG PyQt5.uic.properties(400) setting property pyuicMargins
14:38:02.350 DEBUG PyQt5.uic.properties(400) setting property pyuicSpacing
14:38:02.350 DEBUG PyQt5.uic.uiparser(108) push QVBoxLayout verticalLayout
14:38:02.351 DEBUG PyQt5.uic.uiparser(108) push QWidget settings_header_label
14:38:02.351 DEBUG PyQt5.uic.properties(400) setting property spacing
14:38:02.351 DEBUG PyQt5.uic.properties(400) setting property leftMargin
14:38:02.351 DEBUG PyQt5.uic.properties(400) setting property topMargin
14:38:02.351 DEBUG PyQt5.uic.properties(400) setting property rightMargin
14:38:02.351 DEBUG PyQt5.uic.properties(400) setting property bottomMargin
14:38:02.351 DEBUG PyQt5.uic.properties(400) setting property pyuicMargins
14:38:02.351 DEBUG PyQt5.uic.properties(400) setting property pyuicSpacing
14:38:02.351 DEBUG PyQt5.uic.uiparser(108) push QHBoxLayout horizontalLayout_2
14:38:02.351 DEBUG PyQt5.uic.properties(400) setting property sizePolicy
14:38:02.351 DEBUG PyQt5.uic.properties(400) setting property minimumSize
14:38:02.351 DEBUG PyQt5.uic.properties(400) setting property maximumSize
14:38:02.351 DEBUG PyQt5.uic.properties(400) setting property styleSheet
14:38:02.352 DEBUG PyQt5.uic.properties(400) setting property text
14:38:02.352 DEBUG PyQt5.uic.uiparser(108) push QLabel label
14:38:02.352 DEBUG PyQt5.uic.uiparser(122) pop widget QLabel label
14:38:02.352 DEBUG PyQt5.uic.uiparser(130) new topwidget <PyQt5.QtWidgets.QWidget object at 0x12e5ef280>
14:38:02.352 DEBUG PyQt5.uic.properties(400) setting property sizePolicy
14:38:02.352 DEBUG PyQt5.uic.properties(400) setting property minimumSize
14:38:02.352 DEBUG PyQt5.uic.properties(400) setting property cursor
14:38:02.352 DEBUG PyQt5.uic.properties(400) setting property styleSheet
14:38:02.352 DEBUG PyQt5.uic.properties(400) setting property text
14:38:02.352 DEBUG PyQt5.uic.uiparser(108) push EllipseButton settings_save_button
14:38:02.352 DEBUG PyQt5.uic.uiparser(122) pop widget EllipseButton settings_save_button
14:38:02.352 DEBUG PyQt5.uic.uiparser(130) new topwidget <PyQt5.QtWidgets.QWidget object at 0x12e5ef280>
14:38:02.352 DEBUG PyQt5.uic.uiparser(116) pop layout QHBoxLayout horizontalLayout_2
14:38:02.352 DEBUG PyQt5.uic.uiparser(122) pop widget QWidget settings_header_label
14:38:02.353 DEBUG PyQt5.uic.uiparser(130) new topwidget <tribler.gui.widgets.settingspage.SettingsPage object at 0x12e5cfee0>
14:38:02.353 DEBUG PyQt5.uic.properties(400) setting property sizePolicy
14:38:02.353 DEBUG PyQt5.uic.properties(400) setting property minimumSize
14:38:02.353 DEBUG PyQt5.uic.properties(400) setting property styleSheet
14:38:02.353 DEBUG PyQt5.uic.uiparser(108) push TabButtonPanel settings_tab
14:38:02.353 DEBUG PyQt5.uic.properties(400) setting property spacing
14:38:02.353 DEBUG PyQt5.uic.properties(400) setting property leftMargin
14:38:02.353 DEBUG PyQt5.uic.properties(400) setting property topMargin
14:38:02.353 DEBUG PyQt5.uic.properties(400) setting property bottomMargin
14:38:05.542 DEBUG faker.factory(97) Provider `faker.providers.color` has been localized to `en_US`.
14:38:05.542 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.company`.
14:38:05.544 DEBUG faker.factory(97) Provider `faker.providers.company` has been localized to `en_US`.
14:38:05.544 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.credit_card`.
14:38:05.545 DEBUG faker.factory(97) Provider `faker.providers.credit_card` has been localized to `en_US`.
14:38:05.545 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.currency`.
14:38:05.546 DEBUG faker.factory(97) Provider `faker.providers.currency` has been localized to `en_US`.
14:38:05.546 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.date_time`.
14:38:05.548 DEBUG faker.factory(97) Provider `faker.providers.date_time` has been localized to `en_US`.
14:38:05.548 DEBUG faker.factory(109) Provider `faker.providers.file` does not feature localization. Specified locale `en_US` is not utilized for this provider.
14:38:05.548 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.geo`.
14:38:05.549 DEBUG faker.factory(97) Provider `faker.providers.geo` has been localized to `en_US`.
14:38:05.549 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.internet`.
14:38:05.551 DEBUG faker.factory(97) Provider `faker.providers.internet` has been localized to `en_US`.
14:38:05.551 DEBUG faker.factory(109) Provider `faker.providers.isbn` does not feature localization. Specified locale `en_US` is not utilized for this provider.
14:38:05.551 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.job`.
14:38:05.553 DEBUG faker.factory(97) Provider `faker.providers.job` has been localized to `en_US`.
14:38:05.553 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.lorem`.
14:38:05.554 DEBUG faker.factory(97) Provider `faker.providers.lorem` has been localized to `en_US`.
14:38:05.554 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.misc`.
14:38:05.554 DEBUG faker.factory(97) Provider `faker.providers.misc` has been localized to `en_US`.
14:38:05.555 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.person`.
14:38:05.558 DEBUG faker.factory(97) Provider `faker.providers.person` has been localized to `en_US`.
14:38:05.558 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.phone_number`.
14:38:05.561 DEBUG faker.factory(97) Provider `faker.providers.phone_number` has been localized to `en_US`.
14:38:05.561 DEBUG faker.factory(109) Provider `faker.providers.profile` does not feature localization. Specified locale `en_US` is not utilized for this provider.
14:38:05.561 DEBUG faker.factory(109) Provider `faker.providers.python` does not feature localization. Specified locale `en_US` is not utilized for this provider.
14:38:05.561 DEBUG faker.factory(78) Looking for locale `en_US` in provider `faker.providers.ssn`.
14:38:05.564 DEBUG faker.factory(97) Provider `faker.providers.ssn` has been localized to `en_US`.
14:38:05.565 DEBUG faker.factory(109) Provider `faker.providers.user_agent` does not feature localization. Specified locale `en_US` is not utilized for this provider.
14:38:05.585 DEBUG SentryReporter(145) Add the breadcrumb: {'message': 'FeedbackDialog.Show', 'category': 'UI', 'level': 'info'}
ERROR
test setup failed
tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x10fb69a00>, _basetemp=PosixPath.../folders/mg/7124pd9x7q545c5zphg6q2cc0000gn/T/pytest-of-drew2a/pytest-65'), _retention_count=3, _retention_policy='all')

    @pytest.fixture(name='window', scope="module")
    def fixture_window(tmp_path_factory):
        api_key = hexlify(os.urandom(16))
        root_state_dir = tmp_path_factory.mktemp('tribler_state_dir')
    
        current_process = TriblerProcess.current_process(ProcessKind.GUI)
        process_manager = ProcessManager(root_state_dir, current_process)
        is_primary_process = process_manager.current_process.become_primary()
        app = TriblerApplication("triblerapp-guitest", sys.argv, start_local_server=is_primary_process)
        app_manager = AppManager(app)
        # We must create a separate instance of QSettings and clear it.
        # Otherwise, previous runs of the same app will affect this run.
        settings = QSettings("tribler-guitest")
        settings.clear()
        window = TriblerWindow(
            process_manager,
            app_manager,
            settings,
            root_state_dir,
            api_key=api_key,
            core_args=[str(RUN_TRIBLER_PY.absolute()), '--core', '--gui-test-mode'],
        )
        app.tribler_window = window
        QTest.qWaitForWindowExposed(window)
    
        screenshot(window, name="tribler_loading")
>       wait_for_signal(
            window.core_manager.events_manager.core_connected,
            timeout=20,
            condition=lambda: window.tribler_started or (
                    window.core_manager.core_started and not window.core_manager.core_running)
        )

test_gui.py:65: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

signal = <bound PYQT_SIGNAL core_connected of EventRequestManager object at 0x12e093ca0>
timeout = 20
condition = <function fixture_window.<locals>.<lambda> at 0x12e1f7310>

    def wait_for_signal(signal: pyqtSignal, timeout: int = 10, condition: Callable = None):
        signal_received = False
    
        def on_signal(*args, **kwargs):
            nonlocal signal_received
            signal_received = True
    
        connect(signal, on_signal)
    
        for _ in range(0, timeout * 1000, 100):
            if signal_received or condition is not None and condition():
                return
            QTest.qWait(100)
    
>       raise TimeoutException(f"Signal {signal} not raised within 10 seconds")
E       tribler.gui.tests.test_gui.TimeoutException: Signal <bound PYQT_SIGNAL core_connected of EventRequestManager object at 0x12e093ca0> not raised within 10 seconds

test_gui.py:108: TimeoutException

@drew2a drew2a marked this pull request as ready for review April 24, 2023 12:49
@drew2a drew2a requested review from a team and xoriole and removed request for a team April 24, 2023 12:49
@drew2a drew2a merged commit d49874b into Tribler:release/7.13 Apr 24, 2023
@drew2a drew2a deleted the fix/logger_output branch April 26, 2023 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants