flakytest.dev anze3db fedidevs
Tests / starter_packs/tests.py

TestGetSubscribeUrl::test_webfinger_network_error

First seen 3 weeks ago in 0c23747
CI github-actions:test 11 runs
Average
8 ms
median 7 ms
max 13 ms
Phases
Setup 2 ms Call 4 ms Teardown 2 ms
Categories
Database 5 ms Other (pytest, Unsampled, Mocking, Imports) 3 ms

5 database queries per run

Needs 0 KB of memory (max 4 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 7 hours ago · open run
Show pytest frames
call6 ms72.8%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()3 ms36.4%
TestCase._fixture_teardowndjango/test/testcases.py:15003 ms36.4%
TestCase._rollback_atomicsdjango/test/testcases.py:14083 ms36.4%
Atomic.__exit__django/db/transaction.py:2951 ms18.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms18.2%
BaseDatabaseWrapper.savepoint_rollbackdjango/db/backends/base/base.py:4131 ms18.2%
BaseDatabaseWrapper._savepoint_rollbackdjango/db/backends/base/base.py:3711 ms18.2%
CursorWrapper.executedjango/db/backends/utils.py:791 ms18.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms18.2%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms18.2%
Cursor.executepsycopg/cursor.py:1131 ms18.2%
Connection.waitpsycopg/connection.py:4951 ms18.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms18.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms18.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms18.2%
Atomic.__exit__django/db/transaction.py:2981 ms18.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms18.2%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4311 ms18.2%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3751 ms18.2%
CursorWrapper.executedjango/db/backends/utils.py:791 ms18.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms18.2%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms18.2%
Cursor.executepsycopg/cursor.py:1131 ms18.2%
Connection.waitpsycopg/connection.py:4951 ms18.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms18.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms18.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms18.2%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()1 ms18.2%
TestCase._fixture_setupdjango/test/testcases.py:14811 ms18.2%
TestCase._enter_atomicsdjango/test/testcases.py:13991 ms18.2%
Atomic.__enter__django/db/transaction.py:2231 ms18.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms18.2%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4001 ms18.2%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3671 ms18.2%
CursorWrapper.executedjango/db/backends/utils.py:791 ms18.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms18.2%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms18.2%
Cursor.executepsycopg/cursor.py:1131 ms18.2%
Connection.waitpsycopg/connection.py:4951 ms18.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms18.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms18.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms18.2%
_patch.decoration_helper<stdlib>/unittest/mock.py:1418 arg = exit_stack.enter_context(patching)1 ms18.2%
_BaseExitStack.enter_context<stdlib>/contextlib.py:5941 ms18.2%
_patch.__enter__<stdlib>/unittest/mock.py:15721 ms18.2%
MagicMixin.__init__<stdlib>/unittest/mock.py:21861 ms18.2%
MagicMixin._mock_set_magics<stdlib>/unittest/mock.py:22091 ms18.2%
Estimated from 4 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Fixtures

Exact setup time
_django_set_urlconf function 0.08 ms
_template_string_if_invalid_marker function 0.06 ms
_live_server_helper function 0.05 ms
_django_isolate_apps function 0.04 ms
_django_db_marker function 0.04 ms
_dj_autoclear_mailbox function 0.04 ms
_django_clear_site_cache function 0.03 ms
monkeypatch function 0.03 ms

Database

5 queries · 2 ms
No repeated queries.

Biggest pieces of work

call _post_teardown
django/test/testcases.py:1243
3 ms
call _pre_setup
django/test/testcases.py:1167
1 ms
call decoration_helper
<stdlib>/unittest/mock.py:1418
1 ms

Reliability

12 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 12 results, oldest first in the strip
When Environment Outcome Duration Commit
7 hours ago CI github-actions:test passed 8 ms c28a326 main Profile
16 hours ago CI github-actions:test passed 4 ms 9b8826a main Profile
22 hours ago CI github-actions:test passed 10 ms 4f01055 main Profile
1 week, 5 days ago CI github-actions:test passed 7 ms 8ab642e main Profile
2 weeks, 2 days ago CI github-actions:test passed 6 ms 9b75244 main Profile
2 weeks, 2 days ago CI github-actions:test passed 6 ms 9603516 main Profile
2 weeks, 4 days ago CI github-actions:test passed 13 ms 615a272 main Profile
3 weeks ago CI github-actions:test passed 6 ms d923a46 main Profile
3 weeks ago CI github-actions:test passed 8 ms 82997f8 main Profile
3 weeks ago CI github-actions:test passed 12 ms 623aa3e main Profile
3 weeks ago CI github-actions:test passed 7 ms ab6465a main Profile
3 weeks ago CI github-actions:test passed 2 ms 0c23747 main Run