Review, fix and write new debugger test cases
Please note that security bugs or issues should be reported to [email protected].
Describe the bug
Fix debugger API tests. Currently those were getting skipped because of incorrect method call. After correcting this, tests hanging as start_listener does not return any response. As temporary fix these tests are skipped. We might need to fix this using threading.
runTest (pgadmin.tools.debugger.tests.test_close_debugger.CloseDebugger)
Close Debugger ... ok
runTest (pgadmin.tools.debugger.tests.test_debugger_clear_all_breakpoint.DebuggerClearAllBreakpoint)
Debugger Clear all breakpoint: . ... 2023-11-13 12:30:26,199: ERROR pgadmin: 405 Method Not Allowed: The method is not allowed for the requested URL.
Traceback (most recent call last):
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1458, in dispatch_request
self.raise_routing_exception(req)
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1440, in raise_routing_exception
raise request.routing_exception # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/ctx.py", line 353, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 650, in match
raise MethodNotAllowed(valid_methods=list(e.have_match_for)) from None
werkzeug.exceptions.MethodNotAllowed: 405 Method Not Allowed: The method is not allowed for the requested URL.
skipped 'Debugger is in Busy state.'
runTest (pgadmin.tools.debugger.tests.test_debugger_clear_all_breakpoint.DebuggerClearAllBreakpoint)
Debugger Clear all breakpoint: Debugger instance error. ... ok
runTest (pgadmin.tools.debugger.tests.test_debugger_clear_all_breakpoint.DebuggerClearAllBreakpoint)
Debugger Clear all breakpoint: search path error. ... 2023-11-13 12:30:26,354: ERROR pgadmin: 405 Method Not Allowed: The method is not allowed for the requested URL.
Traceback (most recent call last):
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1458, in dispatch_request
self.raise_routing_exception(req)
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1440, in raise_routing_exception
raise request.routing_exception # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/ctx.py", line 353, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 650, in match
raise MethodNotAllowed(valid_methods=list(e.have_match_for)) from None
werkzeug.exceptions.MethodNotAllowed: 405 Method Not Allowed: The method is not allowed for the requested URL.
skipped 'Debugger is in Busy state.'
runTest (pgadmin.tools.debugger.tests.test_debugger_clear_all_breakpoint.DebuggerClearAllBreakpoint)
Debugger Clear all breakpoint: Connection error. ... 2023-11-13 12:30:26,444: ERROR pgadmin: 405 Method Not Allowed: The method is not allowed for the requested URL.
Traceback (most recent call last):
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1458, in dispatch_request
self.raise_routing_exception(req)
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1440, in raise_routing_exception
raise request.routing_exception # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/ctx.py", line 353, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 650, in match
raise MethodNotAllowed(valid_methods=list(e.have_match_for)) from None
werkzeug.exceptions.MethodNotAllowed: 405 Method Not Allowed: The method is not allowed for the requested URL.
skipped 'Debugger is in Busy state.'
runTest (pgadmin.tools.debugger.tests.test_debugger_clear_all_breakpoint.DebuggerClearAllBreakpoint)
Debugger Clear all breakpoint: No breakpoint to clear ... 2023-11-13 12:30:26,537: ERROR pgadmin: 405 Method Not Allowed: The method is not allowed for the requested URL.
Traceback (most recent call last):
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1458, in dispatch_request
self.raise_routing_exception(req)
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1440, in raise_routing_exception
raise request.routing_exception # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/ctx.py", line 353, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 650, in match
raise MethodNotAllowed(valid_methods=list(e.have_match_for)) from None
werkzeug.exceptions.MethodNotAllowed: 405 Method Not Allowed: The method is not allowed for the requested URL.
skipped 'Debugger is in Busy state.'
runTest (pgadmin.tools.debugger.tests.test_debugger_clear_arguments.DebuggerClearArguments)
Debugger set arguments. ... ok
runTest (pgadmin.tools.debugger.tests.test_debugger_direct.DebuggerDirect)
Debugger Direct: Init debugger in direct mode ... ok
runTest (pgadmin.tools.debugger.tests.test_debugger_direct.DebuggerDirect)
Debugger Direct: Init debugger in direct mode fail ... ok
runTest (pgadmin.tools.debugger.tests.test_debugger_direct.DebuggerDirect)
Debugger Direct: Init debugger in direct with arguments ... ok
runTest (pgadmin.tools.debugger.tests.test_debugger_execute_query.DebuggerExecuteQuery)
Debugger execute: positive ... 2023-11-13 12:30:27,000: ERROR pgadmin: 405 Method Not Allowed: The method is not allowed for the requested URL.
Traceback (most recent call last):
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1458, in dispatch_request
self.raise_routing_exception(req)
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1440, in raise_routing_exception
raise request.routing_exception # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/ctx.py", line 353, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 650, in match
raise MethodNotAllowed(valid_methods=list(e.have_match_for)) from None
werkzeug.exceptions.MethodNotAllowed: 405 Method Not Allowed: The method is not allowed for the requested URL.
skipped 'Debugger is in Busy state.'
runTest (pgadmin.tools.debugger.tests.test_debugger_execute_query.DebuggerExecuteQuery)
Debugger execute: Connection fail. ... 2023-11-13 12:30:27,092: ERROR pgadmin: 405 Method Not Allowed: The method is not allowed for the requested URL.
Traceback (most recent call last):
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1458, in dispatch_request
self.raise_routing_exception(req)
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1440, in raise_routing_exception
raise request.routing_exception # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/ctx.py", line 353, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 650, in match
raise MethodNotAllowed(valid_methods=list(e.have_match_for)) from None
werkzeug.exceptions.MethodNotAllowed: 405 Method Not Allowed: The method is not allowed for the requested URL.
skipped 'Debugger is in Busy state.'
runTest (pgadmin.tools.debugger.tests.test_debugger_execute_query.DebuggerExecuteQuery)
Debugger execute: Debugger instance fail ... ok
runTest (pgadmin.tools.debugger.tests.test_debugger_execute_query.DebuggerExecuteQuery)
Debugger execute: Debugger continue ... 2023-11-13 12:30:27,247: ERROR pgadmin: 405 Method Not Allowed: The method is not allowed for the requested URL.
Traceback (most recent call last):
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1458, in dispatch_request
self.raise_routing_exception(req)
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1440, in raise_routing_exception
raise request.routing_exception # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/ctx.py", line 353, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 650, in match
raise MethodNotAllowed(valid_methods=list(e.have_match_for)) from None
werkzeug.exceptions.MethodNotAllowed: 405 Method Not Allowed: The method is not allowed for the requested URL.
skipped 'Debugger is in Busy state.'
runTest (pgadmin.tools.debugger.tests.test_debugger_execute_query.DebuggerExecuteQuery)
Debugger execute: Debugger patch error ... 2023-11-13 12:30:27,330: ERROR pgadmin: 405 Method Not Allowed: The method is not allowed for the requested URL.
Traceback (most recent call last):
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1458, in dispatch_request
self.raise_routing_exception(req)
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1440, in raise_routing_exception
raise request.routing_exception # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/ctx.py", line 353, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 650, in match
raise MethodNotAllowed(valid_methods=list(e.have_match_for)) from None
werkzeug.exceptions.MethodNotAllowed: 405 Method Not Allowed: The method is not allowed for the requested URL.
skipped 'Debugger is in Busy state.'
runTest (pgadmin.tools.debugger.tests.test_debugger_execute_query.DebuggerExecuteQuery)
Debugger execute: Debugger async fail ... 2023-11-13 12:30:27,412: ERROR pgadmin: 405 Method Not Allowed: The method is not allowed for the requested URL.
Traceback (most recent call last):
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1458, in dispatch_request
self.raise_routing_exception(req)
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1440, in raise_routing_exception
raise request.routing_exception # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/ctx.py", line 353, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 650, in match
raise MethodNotAllowed(valid_methods=list(e.have_match_for)) from None
werkzeug.exceptions.MethodNotAllowed: 405 Method Not Allowed: The method is not allowed for the requested URL.
skipped 'Debugger is in Busy state.'
runTest (pgadmin.tools.debugger.tests.test_debugger_get_arguments.DebuggerGetArguments)
Debugger get arguments. ... ok
runTest (pgadmin.tools.debugger.tests.test_debugger_poll_execution_result.DebuggerPollExecutionResult)
Debugger Poll Execution Results. ... 2023-11-13 12:30:27,543: ERROR pgadmin: 405 Method Not Allowed: The method is not allowed for the requested URL.
Traceback (most recent call last):
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1458, in dispatch_request
self.raise_routing_exception(req)
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1440, in raise_routing_exception
raise request.routing_exception # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/ctx.py", line 353, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 650, in match
raise MethodNotAllowed(valid_methods=list(e.have_match_for)) from None
werkzeug.exceptions.MethodNotAllowed: 405 Method Not Allowed: The method is not allowed for the requested URL.
skipped 'Debugger is in Busy state.'
runTest (pgadmin.tools.debugger.tests.test_debugger_poll_execution_result.DebuggerPollExecutionResult)
Debugger Poll Execution Results: Connection fail ... 2023-11-13 12:30:27,625: ERROR pgadmin: 405 Method Not Allowed: The method is not allowed for the requested URL.
Traceback (most recent call last):
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1458, in dispatch_request
self.raise_routing_exception(req)
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1440, in raise_routing_exception
raise request.routing_exception # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/ctx.py", line 353, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 650, in match
raise MethodNotAllowed(valid_methods=list(e.have_match_for)) from None
werkzeug.exceptions.MethodNotAllowed: 405 Method Not Allowed: The method is not allowed for the requested URL.
skipped 'Debugger is in Busy state.'
runTest (pgadmin.tools.debugger.tests.test_debugger_poll_execution_result.DebuggerPollExecutionResult)
Debugger Poll Execution Results: fail to poll data. ... 2023-11-13 12:30:27,708: ERROR pgadmin: 405 Method Not Allowed: The method is not allowed for the requested URL.
Traceback (most recent call last):
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1458, in dispatch_request
self.raise_routing_exception(req)
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1440, in raise_routing_exception
raise request.routing_exception # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/ctx.py", line 353, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 650, in match
raise MethodNotAllowed(valid_methods=list(e.have_match_for)) from None
werkzeug.exceptions.MethodNotAllowed: 405 Method Not Allowed: The method is not allowed for the requested URL.
skipped 'Debugger is in Busy state.'
runTest (pgadmin.tools.debugger.tests.test_debugger_poll_result.DebuggerPollResult)
Debugger poll result ... 2023-11-13 12:30:27,795: ERROR pgadmin: 405 Method Not Allowed: The method is not allowed for the requested URL.
Traceback (most recent call last):
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1458, in dispatch_request
self.raise_routing_exception(req)
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1440, in raise_routing_exception
raise request.routing_exception # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/ctx.py", line 353, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 650, in match
raise MethodNotAllowed(valid_methods=list(e.have_match_for)) from None
werkzeug.exceptions.MethodNotAllowed: 405 Method Not Allowed: The method is not allowed for the requested URL.
skipped 'Debugger is in Busy state.'
runTest (pgadmin.tools.debugger.tests.test_debugger_poll_result.DebuggerPollResult)
Debugger poll result: Disconnected ... 2023-11-13 12:30:27,876: ERROR pgadmin: 405 Method Not Allowed: The method is not allowed for the requested URL.
Traceback (most recent call last):
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1458, in dispatch_request
self.raise_routing_exception(req)
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1440, in raise_routing_exception
raise request.routing_exception # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/ctx.py", line 353, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 650, in match
raise MethodNotAllowed(valid_methods=list(e.have_match_for)) from None
werkzeug.exceptions.MethodNotAllowed: 405 Method Not Allowed: The method is not allowed for the requested URL.
skipped 'Debugger is in Busy state.'
runTest (pgadmin.tools.debugger.tests.test_debugger_poll_result.DebuggerPollResult)
Debugger poll result: poll error ... 2023-11-13 12:30:27,959: ERROR pgadmin: 405 Method Not Allowed: The method is not allowed for the requested URL.
Traceback (most recent call last):
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1458, in dispatch_request
self.raise_routing_exception(req)
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1440, in raise_routing_exception
raise request.routing_exception # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/ctx.py", line 353, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 650, in match
raise MethodNotAllowed(valid_methods=list(e.have_match_for)) from None
werkzeug.exceptions.MethodNotAllowed: 405 Method Not Allowed: The method is not allowed for the requested URL.
skipped 'Debugger is in Busy state.'
runTest (pgadmin.tools.debugger.tests.test_debugger_poll_result.DebuggerPollResult)
Debugger poll result: Debugger instance fail ... ok
runTest (pgadmin.tools.debugger.tests.test_debugger_set_arguments.DebuggerSetArguments)
Debugger set arguments. ... ok
runTest (pgadmin.tools.debugger.tests.test_debugger_set_breakpoint.DebuggerSetBreakpoint)
Debugger Set breakpoint ... 2023-11-13 12:30:28,189: ERROR pgadmin: 405 Method Not Allowed: The method is not allowed for the requested URL.
Traceback (most recent call last):
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1458, in dispatch_request
self.raise_routing_exception(req)
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1440, in raise_routing_exception
raise request.routing_exception # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/ctx.py", line 353, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 650, in match
raise MethodNotAllowed(valid_methods=list(e.have_match_for)) from None
werkzeug.exceptions.MethodNotAllowed: 405 Method Not Allowed: The method is not allowed for the requested URL.
skipped 'Debugger is in Busy state.'
runTest (pgadmin.tools.debugger.tests.test_debugger_set_breakpoint.DebuggerSetBreakpoint)
Debugger Set breakpoint: debugger instance fail. ... ok
runTest (pgadmin.tools.debugger.tests.test_debugger_set_breakpoint.DebuggerSetBreakpoint)
Debugger Set breakpoint: Search path error. ... 2023-11-13 12:30:28,334: ERROR pgadmin: 405 Method Not Allowed: The method is not allowed for the requested URL.
Traceback (most recent call last):
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1458, in dispatch_request
self.raise_routing_exception(req)
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1440, in raise_routing_exception
raise request.routing_exception # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/ctx.py", line 353, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 650, in match
raise MethodNotAllowed(valid_methods=list(e.have_match_for)) from None
werkzeug.exceptions.MethodNotAllowed: 405 Method Not Allowed: The method is not allowed for the requested URL.
skipped 'Debugger is in Busy state.'
runTest (pgadmin.tools.debugger.tests.test_debugger_set_breakpoint.DebuggerSetBreakpoint)
Debugger Set breakpoint: Connection error ... 2023-11-13 12:30:28,415: ERROR pgadmin: 405 Method Not Allowed: The method is not allowed for the requested URL.
Traceback (most recent call last):
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1458, in dispatch_request
self.raise_routing_exception(req)
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1440, in raise_routing_exception
raise request.routing_exception # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/ctx.py", line 353, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 650, in match
raise MethodNotAllowed(valid_methods=list(e.have_match_for)) from None
werkzeug.exceptions.MethodNotAllowed: 405 Method Not Allowed: The method is not allowed for the requested URL.
skipped 'Debugger is in Busy state.'
runTest (pgadmin.tools.debugger.tests.test_debugger_set_breakpoint.DebuggerSetBreakpoint)
Debugger Set breakpoint: Clear breakpoint. ... 2023-11-13 12:30:28,498: ERROR pgadmin: 405 Method Not Allowed: The method is not allowed for the requested URL.
Traceback (most recent call last):
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1458, in dispatch_request
self.raise_routing_exception(req)
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/app.py", line 1440, in raise_routing_exception
raise request.routing_exception # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/flask/ctx.py", line 353, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/home/runner/work/pgadmin4/pgadmin4/venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 650, in match
raise MethodNotAllowed(valid_methods=list(e.have_match_for)) from None
werkzeug.exceptions.MethodNotAllowed: 405 Method Not Allowed: The method is not allowed for the requested URL.
skipped 'Debugger is in Busy state.'
runTest (pgadmin.tools.debugger.tests.test_init_debugger_function.InitDebugger)
Debugger initialization ... ok
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- See the error
Expected behavior
A clear and concise description of what you expected to happen.
Error message
If possible, include the full, unedited text of any error messages displayed.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. Windows 10, OSX monterey]
- Version: [e.g. 6.15]
- Mode: [e.g Desktop or Server]
- Browser (if running in server mode): [e.g. chrome, safari]
- Package type: [e.g. RPM, DEB, Python, Container, etc.]
Additional context
Add any other context about the problem here.