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

TestMigratedLegacyConferences::test_fwd50_date_redirects

First seen 12 hours ago in 0c23747
CI github-actions:test 4 runs
Average
150 ms
median 135 ms
max 262 ms
Phases
Setup 1 ms Call 148 ms Teardown 0.30 ms
Categories
Database 11 ms Other (Libraries, pytest, Unsampled) 139 ms

5 database queries per run

Needs 789 KB of memory (max 1 MB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 7 hours ago · open run
Show pytest frames
call66 ms98.1%
TestMigratedLegacyConferences.test_fwd50_date_redirectsconfs/tests.py:163 response = self._assert_no_naive_warning(reverse("fwd50", args=[dt.date(2023, 11, 6)]), expected_status=301)58 ms86.4%
TestMigratedLegacyConferences._assert_no_naive_warningconfs/tests.py:152 response = self.client.get(url)58 ms86.4%
Client.getdjango/test/client.py:113358 ms86.4%
RequestFactory.getdjango/test/client.py:47558 ms86.4%
RequestFactory.genericdjango/test/client.py:67158 ms86.4%
Client.requestdjango/test/client.py:109158 ms86.4%
ClientHandler.__call__django/test/client.py:17356 ms82.4%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6356 ms82.4%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10456 ms82.4%
WhiteNoise.add_fileswhitenoise/base.py:10856 ms82.4%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12045 ms66.7%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13143 ms62.8%
WhiteNoise.get_static_filewhitenoise/base.py:21735 ms51.0%
StaticFile.__init__whitenoise/responders.py:7316 ms23.6%
StaticFile.get_headerswhitenoise/responders.py:1765 ms7.9%
Headers.__setitem__<stdlib>/wsgiref/headers.py:623 ms3.9%
Headers.__delitem__<stdlib>/wsgiref/headers.py:723 ms3.9%
StaticFile.get_headerswhitenoise/responders.py:1673 ms3.9%
StaticFile.get_headerswhitenoise/responders.py:1783 ms3.9%
parsedate<stdlib>/email/_parseaddr.py:1853 ms3.9%
parsedate_tz<stdlib>/email/_parseaddr.py:503 ms3.9%
_parsedate_tz<stdlib>/email/_parseaddr.py:1413 ms3.9%
StaticFile.get_headerswhitenoise/responders.py:1703 ms3.9%
Headers.__setitem__<stdlib>/wsgiref/headers.py:623 ms3.9%
Headers.__delitem__<stdlib>/wsgiref/headers.py:723 ms3.9%
StaticFile.__init__whitenoise/responders.py:7711 ms15.7%
StaticFile.get_alternativeswhitenoise/responders.py:1985 ms7.9%
StaticFile.get_alternativeswhitenoise/responders.py:2003 ms3.9%
StaticFile.get_alternativeswhitenoise/responders.py:2043 ms3.9%
compile<stdlib>/re/__init__.py:2913 ms3.9%
_compile<stdlib>/re/__init__.py:3373 ms3.9%
StaticFile.__init__whitenoise/responders.py:743 ms3.9%
parsedate<stdlib>/email/_parseaddr.py:1853 ms3.9%
StaticFile.__init__whitenoise/responders.py:723 ms3.9%
StaticFile.__init__whitenoise/responders.py:763 ms3.9%
WhiteNoise.get_static_filewhitenoise/base.py:2125 ms7.9%
WhiteNoise.add_cache_headerswhitenoise/base.py:2335 ms7.9%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1763 ms3.9%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1973 ms3.9%
URLMixin.urldebug_toolbar/panels/staticfiles.py:203 ms3.9%
WhiteNoise.get_static_filewhitenoise/base.py:2113 ms3.9%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11511 ms15.7%
scantreewhitenoise/base.py:27111 ms15.7%
scantreewhitenoise/base.py:27111 ms15.7%
scantreewhitenoise/base.py:2735 ms7.9%
scantreewhitenoise/base.py:2715 ms7.9%
scantreewhitenoise/base.py:2715 ms7.9%
scantreewhitenoise/base.py:2715 ms7.9%
scantreewhitenoise/base.py:2735 ms7.9%
ClientHandler.__call__django/test/client.py:1863 ms3.9%
BaseHandler.get_responsedjango/core/handlers/base.py:1413 ms3.9%
set_urlconfdjango/urls/base.py:1553 ms3.9%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()5 ms7.9%
TestCase._fixture_teardowndjango/test/testcases.py:14933 ms3.9%
TestCase._databases_support_transactionsdjango/test/testcases.py:14123 ms3.9%
connections_support_transactionsdjango/test/testcases.py:13253 ms3.9%
connections_support_transactions.<locals>.<genexpr>django/test/testcases.py:13253 ms3.9%
connections_support_transactions.<locals>.<genexpr>django/test/testcases.py:13233 ms3.9%
BaseConnectionHandler.__getitem__django/utils/connection.py:583 ms3.9%
Local.__getattr__asgiref/local.py:1573 ms3.9%
Local._lock_storageasgiref/local.py:1273 ms3.9%
TestCase._fixture_teardowndjango/test/testcases.py:14983 ms3.9%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4963 ms3.9%
CursorWrapper.executedjango/db/backends/utils.py:793 ms3.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms3.9%
CursorWrapper._executedjango/db/backends/utils.py:1033 ms3.9%
Cursor.executepsycopg/cursor.py:1133 ms3.9%
Connection.waitpsycopg/connection.py:4953 ms3.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:2063 ms3.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2863 ms3.9%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:783 ms3.9%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()3 ms3.9%
TestCase._fixture_setupdjango/test/testcases.py:14813 ms3.9%
TestCase._enter_atomicsdjango/test/testcases.py:13993 ms3.9%
Atomic.__enter__django/db/transaction.py:2233 ms3.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:263 ms3.9%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4003 ms3.9%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3673 ms3.9%
CursorWrapper.executedjango/db/backends/utils.py:793 ms3.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms3.9%
CursorWrapper._executedjango/db/backends/utils.py:1033 ms3.9%
Cursor.executepsycopg/cursor.py:1133 ms3.9%
Connection.waitpsycopg/connection.py:4953 ms3.9%
Estimated from 25 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

confs/tests.py:152
response = self.client.get(url)
TestMigratedLegacyConferences._assert_no_naive_warning · Libraries
58 ms

Fixtures

Exact setup time
_live_server_helper function 0.06 ms
_django_db_marker function 0.05 ms
_dj_autoclear_mailbox function 0.05 ms
_template_string_if_invalid_marker function 0.04 ms
_django_isolate_apps 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 · 2 ms
No repeated queries.

Biggest pieces of work

call test body
confs/tests.py:163
58 ms
call _post_teardown
django/test/testcases.py:1243
5 ms
call _pre_setup
django/test/testcases.py:1167
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
7 hours ago CI github-actions:test passed 68 ms d923a46 main Profile
7 hours ago CI github-actions:test passed 170 ms 82997f8 main Profile
7 hours ago CI github-actions:test passed 262 ms 623aa3e main Profile
12 hours ago CI github-actions:test passed 101 ms ab6465a main Profile
12 hours ago CI github-actions:test passed 81 ms 0c23747 main Run