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

TestAccountIndexRobots::test_deep_pagination_is_noindex

First seen 3 weeks ago in 0c23747
CI github-actions:test 11 runs
Average
124 ms
median 119 ms
max 243 ms
Phases
Setup 2 ms Call 122 ms Teardown 0.36 ms
Categories
Database 16 ms App code 0.28 ms Other (Libraries, Templates, pytest, Unsampled) 107 ms

8 database queries per run

Needs 6 KB of memory (max 64 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 7 hours ago · open run
Show pytest frames
call94 ms98.4%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()49 ms51.9%
TestCase._fixture_teardowndjango/test/testcases.py:149823 ms24.6%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:49613 ms13.7%
CursorWrapper.executedjango/db/backends/utils.py:7913 ms13.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9213 ms13.7%
CursorWrapper._executedjango/db/backends/utils.py:10313 ms13.7%
Cursor.executepsycopg/cursor.py:11313 ms13.7%
Connection.waitpsycopg/connection.py:49513 ms13.7%
BaseCursor._execute_genpsycopg/_cursor_base.py:20613 ms13.7%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28613 ms13.7%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7813 ms13.7%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:49510 ms10.9%
CursorWrapper.executedjango/db/backends/utils.py:7910 ms10.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9210 ms10.9%
CursorWrapper._executedjango/db/backends/utils.py:1038 ms8.2%
Cursor.executepsycopg/cursor.py:1138 ms8.2%
Connection.waitpsycopg/connection.py:4958 ms8.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2068 ms8.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2868 ms8.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:788 ms8.2%
TestCase._fixture_teardowndjango/test/testcases.py:150016 ms16.4%
TestCase._rollback_atomicsdjango/test/testcases.py:140816 ms16.4%
Atomic.__exit__django/db/transaction.py:29513 ms13.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2610 ms10.9%
BaseDatabaseWrapper.savepoint_rollbackdjango/db/backends/base/base.py:41310 ms10.9%
BaseDatabaseWrapper._savepoint_rollbackdjango/db/backends/base/base.py:37110 ms10.9%
CursorWrapper.executedjango/db/backends/utils.py:7910 ms10.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9210 ms10.9%
CursorWrapper._executedjango/db/backends/utils.py:10310 ms10.9%
Cursor.executepsycopg/cursor.py:11310 ms10.9%
Connection.waitpsycopg/connection.py:49510 ms10.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:20610 ms10.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28610 ms10.9%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7810 ms10.9%
Atomic.__exit__django/db/transaction.py:2983 ms2.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:263 ms2.7%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4313 ms2.7%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3753 ms2.7%
CursorWrapper.executedjango/db/backends/utils.py:793 ms2.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms2.7%
TestCase._fixture_teardowndjango/test/testcases.py:149710 ms10.9%
TestCase._should_check_constraintsdjango/test/testcases.py:150610 ms10.9%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:50410 ms10.9%
Cursor.executepsycopg/cursor.py:11310 ms10.9%
Connection.waitpsycopg/connection.py:49510 ms10.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:20610 ms10.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28610 ms10.9%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7810 ms10.9%
TestAccountIndexRobots.test_deep_pagination_is_noindexaccounts/tests.py:596 self.assert_noindex("/python/?page=800")44 ms46.5%
TestAccountIndexRobots.assert_noindexaccounts/tests.py:550 response = self.client.get(url)44 ms46.5%
Client.getdjango/test/client.py:113344 ms46.5%
RequestFactory.getdjango/test/client.py:47544 ms46.5%
RequestFactory.genericdjango/test/client.py:67144 ms46.5%
Client.requestdjango/test/client.py:109144 ms46.5%
ClientHandler.__call__django/test/client.py:17344 ms46.5%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6344 ms46.5%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10444 ms46.5%
WhiteNoise.add_fileswhitenoise/base.py:10844 ms46.5%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12023 ms24.6%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13123 ms24.6%
WhiteNoise.get_static_filewhitenoise/base.py:21716 ms16.4%
StaticFile.__init__whitenoise/responders.py:7710 ms10.9%
StaticFile.get_alternativeswhitenoise/responders.py:2035 ms5.5%
Headers.__setitem__<stdlib>/wsgiref/headers.py:623 ms2.7%
Headers.__init__<stdlib>/wsgiref/headers.py:433 ms2.7%
StaticFile.get_alternativeswhitenoise/responders.py:2003 ms2.7%
StaticFile.get_alternativeswhitenoise/responders.py:1983 ms2.7%
StaticFile.__init__whitenoise/responders.py:763 ms2.7%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1883 ms2.7%
WhiteNoise.get_static_filewhitenoise/base.py:2125 ms5.5%
WhiteNoise.add_cache_headerswhitenoise/base.py:2335 ms5.5%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1765 ms5.5%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1975 ms5.5%
URLMixin.urldebug_toolbar/panels/staticfiles.py:205 ms5.5%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2355 ms5.5%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2165 ms5.5%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2073 ms2.7%
urljoin<stdlib>/urllib/parse.py:7073 ms2.7%
WhiteNoise.get_static_filewhitenoise/base.py:2113 ms2.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11521 ms21.9%
scantreewhitenoise/base.py:27121 ms21.9%
scantreewhitenoise/base.py:27121 ms21.9%
scantreewhitenoise/base.py:27121 ms21.9%
scantreewhitenoise/base.py:27121 ms21.9%
scantreewhitenoise/base.py:27118 ms19.1%
scantreewhitenoise/base.py:27313 ms13.7%
scantreewhitenoise/base.py:2695 ms5.5%
scantreewhitenoise/base.py:2733 ms2.7%
Estimated from 36 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

accounts/tests.py:550
response = self.client.get(url)
TestAccountIndexRobots.assert_noindex · Libraries
44 ms

Fixtures

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

Database

8 queries · 3 ms
No repeated queries.

Biggest pieces of work

call _post_teardown
django/test/testcases.py:1243
49 ms
call test body
accounts/tests.py:596
44 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 95 ms c28a326 main Profile
16 hours ago CI github-actions:test passed 53 ms 9b8826a main Profile
22 hours ago CI github-actions:test passed 127 ms 4f01055 main Profile
1 week, 5 days ago CI github-actions:test passed 133 ms 8ab642e main Profile
2 weeks, 2 days ago CI github-actions:test passed 85 ms 9b75244 main Profile
2 weeks, 2 days ago CI github-actions:test passed 119 ms 9603516 main Profile
2 weeks, 4 days ago CI github-actions:test passed 143 ms 615a272 main Profile
3 weeks ago CI github-actions:test passed 59 ms d923a46 main Profile
3 weeks ago CI github-actions:test passed 107 ms 82997f8 main Profile
3 weeks ago CI github-actions:test passed 243 ms 623aa3e main Profile
3 weeks ago CI github-actions:test passed 198 ms ab6465a main Profile
3 weeks ago CI github-actions:test passed 101 ms 0c23747 main Run