flakytest.dev anze3db flakytest
Tests / apps/mcp/tests.py

McpTest::test_ping

First seen 8 hours ago in 78a4357
CI github-actions:test 5 runs
Average
35 ms
median 38 ms
max 43 ms
Phases
Setup 0.68 ms Call 35 ms Teardown 0.15 ms
Categories
Database 6 ms Other (Libraries, Unsampled) 30 ms

7 database queries per run

Needs 1 KB of memory (max 4 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, an hour ago · open run
Hide pytest frames
call37 ms97.6%
CallInfo.from_call_pytest/runner.py:35337 ms97.6%
call_and_report.<locals>.<lambda>_pytest/runner.py:24537 ms97.6%
HookCaller.__call__pluggy/_hooks.py:51237 ms97.6%
PluginManager._hookexecpluggy/_manager.py:12037 ms97.6%
_multicallpluggy/_callers.py:12137 ms97.6%
pytest_runtest_call_pytest/runner.py:17937 ms97.6%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:57337 ms97.6%
SimpleTestCase.__call__django/test/testcases.py:31337 ms97.6%
SimpleTestCase._setup_and_calldjango/test/testcases.py:36829 ms76.7%
TestCase.__call__<stdlib>/unittest/case.py:74729 ms76.7%
TestCase.run<stdlib>/unittest/case.py:69129 ms76.7%
TestCase._callTestMethod<stdlib>/unittest/case.py:63729 ms76.7%
McpTest.test_pingapps/mcp/tests.py:109 self.assertEqual(self.rpc("ping")["result"], {})29 ms76.7%
McpTest.rpcapps/mcp/tests.py:7429 ms76.7%
McpTest.postapps/mcp/tests.py:66 return self.client.post(29 ms76.7%
Client.postdjango/test/client.py:115329 ms76.7%
RequestFactory.postdjango/test/client.py:49929 ms76.7%
RequestFactory.genericdjango/test/client.py:67129 ms76.7%
Client.requestdjango/test/client.py:108229 ms76.7%
ClientHandler.__call__django/test/client.py:17324 ms62.7%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6224 ms62.7%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10424 ms62.7%
WhiteNoise.add_fileswhitenoise/base.py:10824 ms62.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12016 ms41.8%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13116 ms41.8%
WhiteNoise.get_static_filewhitenoise/base.py:20813 ms34.9%
StaticFile.__init__whitenoise/responders.py:775 ms13.9%
StaticFile.get_alternativeswhitenoise/responders.py:2003 ms7.0%
__init____init__:-13 ms7.0%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:503 ms7.0%
StaticFile.get_alternativeswhitenoise/responders.py:2013 ms7.0%
StaticFile.__init__whitenoise/responders.py:723 ms7.0%
StaticFile.get_file_statswhitenoise/responders.py:1613 ms7.0%
__init____init__:-13 ms7.0%
FileEntry.__init__whitenoise/responders.py:2633 ms7.0%
FileEntry.stat_regular_filewhitenoise/responders.py:2763 ms7.0%
<GC>~3 ms7.0%
StaticFile.__init__whitenoise/responders.py:763 ms7.0%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1893 ms7.0%
Headers.__getitem__<stdlib>/wsgiref/headers.py:833 ms7.0%
Headers.get<stdlib>/wsgiref/headers.py:1043 ms7.0%
StaticFile.__init__whitenoise/responders.py:733 ms7.0%
WhiteNoise.get_static_filewhitenoise/base.py:2023 ms7.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1158 ms20.9%
scantreewhitenoise/base.py:2628 ms20.9%
scantreewhitenoise/base.py:2628 ms20.9%
scantreewhitenoise/base.py:2625 ms13.9%
scantreewhitenoise/base.py:2625 ms13.9%
scantreewhitenoise/base.py:2625 ms13.9%
scantreewhitenoise/base.py:2643 ms7.0%
scantreewhitenoise/base.py:2603 ms7.0%
ClientHandler.__call__django/test/client.py:1865 ms13.9%
BaseHandler.get_responsedjango/core/handlers/base.py:1415 ms13.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms13.9%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1305 ms13.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms13.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms13.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms13.9%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1235 ms13.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms13.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms13.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms13.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms13.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms13.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms13.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms13.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms13.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms13.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms13.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms13.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms13.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms13.9%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:345 ms13.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms13.9%
BaseHandler._get_responsedjango/core/handlers/base.py:1985 ms13.9%
csrf_exempt.<locals>._view_wrapperdjango/views/decorators/csrf.py:655 ms13.9%
mcpapps/mcp/urls.py:1253 ms7.0%
authenticateapps/mcp/urls.py:55 project = Project.objects.filter(secrettokens__token=token).first()3 ms7.0%
QuerySet.firstdjango/db/models/query.py:11453 ms7.0%
QuerySet.__iter__django/db/models/query.py:3903 ms7.0%
QuerySet._fetch_alldjango/db/models/query.py:20003 ms7.0%
ModelIterable.__iter__django/db/models/query.py:953 ms7.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16243 ms7.0%
CursorWrapper.executedjango/db/backends/utils.py:793 ms7.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms7.0%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1003 ms7.0%
CursorWrapper._executedjango/db/backends/utils.py:1053 ms7.0%
Cursor.executepsycopg/cursor.py:1133 ms7.0%
Connection.waitpsycopg/connection.py:4953 ms7.0%
mcpapps/mcp/urls.py:153 return JsonResponse(response)3 ms7.0%
JsonResponse.__init__django/http/response.py:7623 ms7.0%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3715 ms13.9%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()5 ms13.9%
TestCase._fixture_teardowndjango/test/testcases.py:14953 ms7.0%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4833 ms7.0%
CursorWrapper.executedjango/db/backends/utils.py:793 ms7.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms7.0%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1003 ms7.0%
CursorWrapper._executedjango/db/backends/utils.py:1033 ms7.0%
Cursor.executepsycopg/cursor.py:1133 ms7.0%
Connection.waitpsycopg/connection.py:4953 ms7.0%
TestCase._fixture_teardowndjango/test/testcases.py:14973 ms7.0%
TestCase._rollback_atomicsdjango/test/testcases.py:14053 ms7.0%
Atomic.__exit__django/db/transaction.py:2833 ms7.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:263 ms7.0%
BaseDatabaseWrapper.savepoint_rollbackdjango/db/backends/base/base.py:4133 ms7.0%
BaseDatabaseWrapper._savepoint_rollbackdjango/db/backends/base/base.py:3713 ms7.0%
CursorWrapper.executedjango/db/backends/utils.py:793 ms7.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms7.0%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1003 ms7.0%
CursorWrapper._executedjango/db/backends/utils.py:1033 ms7.0%
Cursor.executepsycopg/cursor.py:1133 ms7.0%
Connection.waitpsycopg/connection.py:4953 ms7.0%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3593 ms7.0%
TransactionTestCase._pre_setupdjango/test/testcases.py:1164 cls._fixture_setup()3 ms7.0%
TestCase._fixture_setupdjango/test/testcases.py:14783 ms7.0%
TestCase._enter_atomicsdjango/test/testcases.py:13963 ms7.0%
Atomic.__enter__django/db/transaction.py:2113 ms7.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:263 ms7.0%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4003 ms7.0%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3673 ms7.0%
CursorWrapper.executedjango/db/backends/utils.py:793 ms7.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms7.0%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1003 ms7.0%
CursorWrapper._executedjango/db/backends/utils.py:1033 ms7.0%
Cursor.executepsycopg/cursor.py:1133 ms7.0%
Connection.waitpsycopg/connection.py:4953 ms7.0%
Estimated from 14 samples; phase durations are exact. Frames from pytest and pluggy are shown .

Hot lines in your code

apps/mcp/tests.py:66
return self.client.post(
McpTest.post · Libraries
24 ms
apps/mcp/urls.py:55
project = Project.objects.filter(secrettokens__token=token).first()
authenticate · Database
3 ms
apps/mcp/urls.py:153
return JsonResponse(response)
mcp · Libraries
3 ms

Fixtures

Exact setup time
_dj_autoclear_mailbox function 0.05 ms
_django_db_marker function 0.05 ms
_template_string_if_invalid_marker function 0.04 ms
_django_clear_site_cache function 0.04 ms
_django_set_urlconf function 0.04 ms
_live_server_helper function 0.03 ms
monkeypatch function 0.02 ms

Database

7 queries · 3 ms
No repeated queries.

Biggest pieces of work

call test body
apps/mcp/tests.py:109
29 ms
call _post_teardown
django/test/testcases.py:1240
5 ms
call _pre_setup
django/test/testcases.py:1164
3 ms

Reliability

5 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 5 results, oldest first in the strip
When Environment Outcome Duration Commit
an hour ago CI github-actions:test passed 38 ms 9caa567 main Profile
an hour ago CI github-actions:test passed 43 ms ec75501 main Profile
8 hours ago CI github-actions:test passed 42 ms d2c12e5 main Profile
8 hours ago CI github-actions:test passed 18 ms 0b902f6 main Profile
8 hours ago CI github-actions:test passed 36 ms 78a4357 main Profile