We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
After #7726 the Application Tester is broken.
See https://github.com/Tribler/tribler/actions/runs/7049092932/job/19186780929?pr=7466
Also from my local run:
[tribler-gui PID:34132] 2023-12-01 12:57:46,412 - ERROR <error_handler:40> ErrorHandler.gui_error(): Traceback (most recent call last): File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/code.py", line 90, in runcode exec(code, self.locals) File "<string>", line 13, in <module> AttributeError: 'TriblerWindow' object has no attribute 'left_menu_button_discovered' [tribler-gui PID:34132] 2023-12-01 12:57:46,413 - ERROR <code_executor:84> CodeExecutor.on_crash(): Crash in CodeExecutor: Traceback (most recent call last): File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/code.py", line 90, in runcode exec(code, self.locals) File "<string>", line 13, in <module> AttributeError: 'TriblerWindow' object has no attribute 'left_menu_button_discovered' task_id: b'187a086369' code: return_value = '' app_tester_dir = '/Users/<user>/Projects/github.com/Tribler/tribler/scripts/application_tester' def exit_script(): import sys print('Execution of task 187a086369 completed') sys.exit(0) from PyQt5.QtCore import Qt from PyQt5.QtTest import QTest from random import randint QTest.mouseClick(window.left_menu_button_discovered, Qt.LeftButton) QTest.qWait(1000) window.discovered_page.content_table.verticalScrollBar().setValue(randint(window.discovered_page.content_table.verticalScrollBar().minimum(), window.discovered_page.content_table.verticalScrollBar().maximum())) QTest.qWait(300) window.discovered_page.content_table.verticalScrollBar().setValue(randint(window.discovered_page.content_table.verticalScrollBar().minimum(), window.discovered_page.content_table.verticalScrollBar().maximum())) QTest.qWait(300) window.discovered_page.content_table.verticalScrollBar().setValue(randint(window.discovered_page.content_table.verticalScrollBar().minimum(), window.discovered_page.content_table.verticalScrollBar().maximum())) QTest.qWait(300) window.discovered_page.content_table.verticalScrollBar().setValue(randint(window.discovered_page.content_table.verticalScrollBar().minimum(), window.discovered_page.content_table.verticalScrollBar().maximum())) QTest.qWait(300) window.discovered_page.content_table.verticalScrollBar().setValue(randint(window.discovered_page.content_table.verticalScrollBar().minimum(), window.discovered_page.content_table.verticalScrollBar().maximum())) QTest.qWait(300) window.discovered_page.content_table.verticalScrollBar().setValue(randint(window.discovered_page.content_table.verticalScrollBar().minimum(), window.discovered_page.content_table.verticalScrollBar().maximum())) QTest.qWait(300) window.discovered_page.content_table.verticalScrollBar().setValue(randint(window.discovered_page.content_table.verticalScrollBar().minimum(), window.discovered_page.content_table.verticalScrollBar().maximum())) QTest.qWait(300) window.discovered_page.content_table.verticalScrollBar().setValue(randint(window.discovered_page.content_table.verticalScrollBar().minimum(), window.discovered_page.content_table.verticalScrollBar().maximum())) QTest.qWait(300) window.discovered_page.content_table.verticalScrollBar().setValue(randint(window.discovered_page.content_table.verticalScrollBar().minimum(), window.discovered_page.content_table.verticalScrollBar().maximum())) QTest.qWait(300) window.discovered_page.content_table.verticalScrollBar().setValue(randint(window.discovered_page.content_table.verticalScrollBar().minimum(), window.discovered_page.content_table.verticalScrollBar().maximum())) QTest.qWait(300) exit_script() (end of code) ERROR - Executor(357): Tribler that run by AppTester crashed after uptime of 76.41755986213684 sec! Stack trace: Traceback (most recent call last): File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/code.py", line 90, in runcode exec(code, self.locals) File "<string>", line 13, in <module> AttributeError: 'TriblerWindow' object has no attribute 'left_menu_button_discovered' task_id: b'187a086369' code: return_value = '' app_tester_dir = '/Users/<user>/Projects/github.com/Tribler/tribler/scripts/application_tester' def exit_script(): import sys print('Execution of task 187a086369 completed') sys.exit(0) from PyQt5.QtCore import Qt from PyQt5.QtTest import QTest from random import randint QTest.mouseClick(window.left_menu_button_discovered, Qt.LeftButton) QTest.qWait(1000) window.discovered_page.content_table.verticalScrollBar().setValue(randint(window.discovered_page.content_table.verticalScrollBar().minimum(), window.discovered_page.content_table.verticalScrollBar().maximum())) QTest.qWait(300) window.discovered_page.content_table.verticalScrollBar().setValue(randint(window.discovered_page.content_table.verticalScrollBar().minimum(), window.discovered_page.content_table.verticalScrollBar().maximum())) QTest.qWait(300) window.discovered_page.content_table.verticalScrollBar().setValue(randint(window.discovered_page.content_table.verticalScrollBar().minimum(), window.discovered_page.content_table.verticalScrollBar().maximum())) QTest.qWait(300) window.discovered_page.content_table.verticalScrollBar().setValue(randint(window.discovered_page.content_table.verticalScrollBar().minimum(), window.discovered_page.content_table.verticalScrollBar().maximum())) QTest.qWait(300) window.discovered_page.content_table.verticalScrollBar().setValue(randint(window.discovered_page.content_table.verticalScrollBar().minimum(), window.discovered_page.content_table.verticalScrollBar().maximum())) QTest.qWait(300) window.discovered_page.content_table.verticalScrollBar().setValue(randint(window.discovered_page.content_table.verticalScrollBar().minimum(), window.discovered_page.content_table.verticalScrollBar().maximum())) QTest.qWait(300) window.discovered_page.content_table.verticalScrollBar().setValue(randint(window.discovered_page.content_table.verticalScrollBar().minimum(), window.discovered_page.content_table.verticalScrollBar().maximum())) QTest.qWait(300) window.discovered_page.content_table.verticalScrollBar().setValue(randint(window.discovered_page.content_table.verticalScrollBar().minimum(), window.discovered_page.content_table.verticalScrollBar().maximum())) QTest.qWait(300) window.discovered_page.content_table.verticalScrollBar().setValue(randint(window.discovered_page.content_table.verticalScrollBar().minimum(), window.discovered_page.content_table.verticalScrollBar().maximum())) QTest.qWait(300) window.discovered_page.content_table.verticalScrollBar().setValue(randint(window.discovered_page.content_table.verticalScrollBar().minimum(), window.discovered_page.content_table.verticalScrollBar().maximum())) QTest.qWait(300) exit_script() (end of code) ERROR - asyncio(1738): Task exception was never retrieved future: <Task finished name='Task-5' coro=<TriblerCodeClient.read_loop() done, defined at /Users/<user>/Projects/github.com/Tribler/tribler/scripts/application_tester/tribler_apptester/tcpsocket.py:24> exception=InvalidStateError('invalid state')> Traceback (most recent call last): File "/Users/<user>/Projects/github.com/Tribler/tribler/scripts/application_tester/tribler_apptester/tcpsocket.py", line 33, in read_loop self.data_received(data) File "/Users/<user>/Projects/github.com/Tribler/tribler/scripts/application_tester/tribler_apptester/tcpsocket.py", line 47, in data_received self.process_response(self.buffer) File "/Users/<user>/Projects/github.com/Tribler/tribler/scripts/application_tester/tribler_apptester/tcpsocket.py", line 63, in process_response self.executor.on_tribler_crash(traceback) File "/Users/<user>/Projects/github.com/Tribler/tribler/scripts/application_tester/tribler_apptester/executor.py", line 361, in on_tribler_crash task.set_result(None) # should set exception instead, but it requries further refactoring asyncio.exceptions.InvalidStateError: invalid state [tribler-core PID:34133] 2023-12-01 12:57:46,879 - ERROR <watching_thread:96> tribler.core.utilities.slow_coro_detection._report_freeze(): Still executing <Task pending name='DownloadManager:process_alerts' coro=<interval_runner() running at /Users/<user>/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/ipv8/taskmanager.py:25> cb=[TaskManager.register_task.<locals>.done_cb() at /Users/<user>/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/ipv8/taskmanager.py:147]> Traceback (most recent call last): File "/Users/<user>/Projects/github.com/Tribler/tribler/src/tribler/core/components/libtorrent/download_manager/download.py", line 222, in on_add_torrent_alert (function started 10.937 seconds ago) self.set_selected_files() File "/Users/<user>/Projects/github.com/Tribler/tribler/src/tribler/core/components/libtorrent/utils/torrent_utils.py", line 24, in invoke_func (function started 10.936 seconds ago) return f(*args, **kwargs) [tribler-core PID:34133] 2023-12-01 12:57:47,903 - ERROR <watching_thread:96> tribler.core.utilities.slow_coro_detection._report_freeze(): Still executing <Task pending name='DownloadManager:process_alerts' coro=<interval_runner() running at /Users/<user>/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/ipv8/taskmanager.py:25> cb=[TaskManager.register_task.<locals>.done_cb() at /Users/<user>/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/ipv8/taskmanager.py:147]> Traceback (most recent call last): File "/Users/<user>/Projects/github.com/Tribler/tribler/src/tribler/core/components/libtorrent/download_manager/download.py", line 222, in on_add_torrent_alert (function started 11.961 seconds ago) self.set_selected_files() File "/Users/<user>/Projects/github.com/Tribler/tribler/src/tribler/core/components/libtorrent/utils/torrent_utils.py", line 24, in invoke_func (function started 11.960 seconds ago) return f(*args, **kwargs) [tribler-core PID:34133] 2023-12-01 12:57:48,908 - ERROR <patch:52> tribler.core.utilities.slow_coro_detection._report_long_duration(): Slow coroutine step execution (duration=12.966 seconds): <Task pending name='DownloadManager:process_alerts' coro=<interval_runner() running at /Users/<user>/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/ipv8/taskmanager.py:26> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x12c1a7d00>()]> cb=[TaskManager.register_task.<locals>.done_cb() at /Users/<user>/Projects/github.com/Tribler/tribler/venv/lib/python3.9/site-packages/ipv8/taskmanager.py:147]>
The text was updated successfully, but these errors were encountered:
drew2a
Successfully merging a pull request may close this issue.
After #7726 the Application Tester is broken.
See https://github.com/Tribler/tribler/actions/runs/7049092932/job/19186780929?pr=7466
Also from my local run:
The text was updated successfully, but these errors were encountered: