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

TestGetSubscribeUrl::test_webfinger_network_error

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

5 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, 9 hours ago · open run
Show pytest frames
setup0.67 ms11.5%
call4 ms66.7%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()2 ms40.0%
TestCase._fixture_setupdjango/test/testcases.py:14812 ms40.0%
TestCase._enter_atomicsdjango/test/testcases.py:13992 ms40.0%
Atomic.__enter__django/db/transaction.py:2232 ms40.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms40.0%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4002 ms40.0%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3672 ms40.0%
CursorWrapper.executedjango/db/backends/utils.py:792 ms40.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms40.0%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms40.0%
Cursor.executepsycopg/cursor.py:1132 ms40.0%
Connection.waitpsycopg/connection.py:4952 ms40.0%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms40.0%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms40.0%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms40.0%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()2 ms26.7%
TestCase._fixture_teardowndjango/test/testcases.py:14980.78 ms13.3%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4950.78 ms13.3%
CursorWrapper.executedjango/db/backends/utils.py:790.78 ms13.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:920.78 ms13.3%
CursorWrapper._executedjango/db/backends/utils.py:1030.78 ms13.3%
Cursor.executepsycopg/cursor.py:1130.78 ms13.3%
Connection.waitpsycopg/connection.py:4950.78 ms13.3%
TestCase._fixture_teardowndjango/test/testcases.py:15000.78 ms13.3%
TestCase._rollback_atomicsdjango/test/testcases.py:14080.78 ms13.3%
Atomic.__exit__django/db/transaction.py:2980.78 ms13.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:260.78 ms13.3%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4310.78 ms13.3%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3750.78 ms13.3%
CursorWrapper.executedjango/db/backends/utils.py:790.78 ms13.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:920.78 ms13.3%
CursorWrapper._executedjango/db/backends/utils.py:1030.78 ms13.3%
Cursor.executepsycopg/cursor.py:1130.78 ms13.3%
Connection.waitpsycopg/connection.py:4950.78 ms13.3%
BaseCursor._execute_genpsycopg/_cursor_base.py:2060.78 ms13.3%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2860.78 ms13.3%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:780.78 ms13.3%
teardown1 ms21.9%
TestCase.tearDownClassdjango/test/testcases.py:1458 conn.close()1 ms21.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms21.9%
BaseDatabaseWrapper.closedjango/db/backends/base/base.py:3551 ms21.9%
DatabaseWrapper._closedjango/db/backends/postgresql/base.py:4081 ms21.9%
Connection.closepsycopg/connection.py:2011 ms21.9%
Estimated from 7 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Fixtures

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

Database

5 queries · 1 ms
No repeated queries.

Biggest pieces of work

call _pre_setup
django/test/testcases.py:1167
2 ms
call _post_teardown
django/test/testcases.py:1243
2 ms
teardown tearDownClass
django/test/testcases.py:1458
1 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
9 hours ago CI github-actions:test passed 6 ms d923a46 main Profile
9 hours ago CI github-actions:test passed 8 ms 82997f8 main Profile
9 hours ago CI github-actions:test passed 12 ms 623aa3e main Profile
14 hours ago CI github-actions:test passed 7 ms ab6465a main Profile
14 hours ago CI github-actions:test passed 2 ms 0c23747 main Run