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

TestAccountIndexRobots::test_unfaceted_root_index_is_indexable

First seen 14 hours ago in 0c23747
CI github-actions:test 4 runs
Average
204 ms
median 228 ms
max 289 ms
Phases
Setup 3 ms Call 198 ms Teardown 3 ms
Categories
Database 23 ms App code 0.42 ms Other (Libraries, Templates, pytest, Unsampled) 180 ms

8 database queries per run

Needs 472 KB of memory (max 544 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 8 hours ago · open run
Hide pytest frames
call69 ms97.2%
CallInfo.from_call_pytest/runner.py:36169 ms97.2%
call_and_report.<locals>.<lambda>_pytest/runner.py:25069 ms97.2%
HookCaller.__call__pluggy/_hooks.py:51269 ms97.2%
PluginManager._hookexecpluggy/_manager.py:12069 ms97.2%
_multicallpluggy/_callers.py:12169 ms97.2%
pytest_runtest_call_pytest/runner.py:18469 ms97.2%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:61469 ms97.2%
SimpleTestCase.__call__django/test/testcases.py:31469 ms97.2%
SimpleTestCase._setup_and_calldjango/test/testcases.py:36967 ms94.5%
TestCase.__call__<stdlib>/unittest/case.py:74767 ms94.5%
TestCase.run<stdlib>/unittest/case.py:69167 ms94.5%
TestCase._callTestMethod<stdlib>/unittest/case.py:63767 ms94.5%
TestAccountIndexRobots.test_unfaceted_root_index_is_indexableaccounts/tests.py:603 self.assert_indexable("/rust/")67 ms94.5%
TestAccountIndexRobots.assert_indexableaccounts/tests.py:555 response = self.client.get(url)67 ms94.5%
Client.getdjango/test/client.py:113367 ms94.5%
RequestFactory.getdjango/test/client.py:47567 ms94.5%
RequestFactory.genericdjango/test/client.py:67167 ms94.5%
Client.requestdjango/test/client.py:109167 ms94.5%
ClientHandler.__call__django/test/client.py:17342 ms59.4%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6340 ms56.7%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10439 ms54.0%
WhiteNoise.add_fileswhitenoise/base.py:10839 ms54.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12029 ms40.5%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13129 ms40.5%
WhiteNoise.get_static_filewhitenoise/base.py:21727 ms37.8%
StaticFile.__init__whitenoise/responders.py:7215 ms21.6%
StaticFile.get_file_statswhitenoise/responders.py:16113 ms18.9%
__init____init__:-113 ms18.9%
FileEntry.__init__whitenoise/responders.py:26313 ms18.9%
FileEntry.stat_regular_filewhitenoise/responders.py:27613 ms18.9%
<GC>~13 ms18.9%
StaticFile.get_file_statswhitenoise/responders.py:1572 ms2.7%
parsedate<stdlib>/email/_parseaddr.py:1852 ms2.7%
Headers.__init__<stdlib>/wsgiref/headers.py:432 ms2.7%
StaticFile.__init__whitenoise/responders.py:736 ms8.1%
StaticFile.get_headerswhitenoise/responders.py:1762 ms2.7%
StaticFile.get_headerswhitenoise/responders.py:1672 ms2.7%
StaticFile.get_headerswhitenoise/responders.py:1712 ms2.7%
StaticFile.__init__whitenoise/responders.py:754 ms5.4%
Headers.__getitem__<stdlib>/wsgiref/headers.py:834 ms5.4%
StaticFile.__init__whitenoise/responders.py:762 ms2.7%
WhiteNoise.get_static_filewhitenoise/base.py:2122 ms2.7%
WhiteNoise.add_cache_headerswhitenoise/base.py:2332 ms2.7%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1762 ms2.7%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1972 ms2.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11510 ms13.5%
scantreewhitenoise/base.py:2718 ms10.8%
scantreewhitenoise/base.py:2714 ms5.4%
scantreewhitenoise/base.py:2712 ms2.7%
scantreewhitenoise/base.py:2712 ms2.7%
scantreewhitenoise/base.py:2712 ms2.7%
scantreewhitenoise/base.py:2732 ms2.7%
scantreewhitenoise/base.py:2732 ms2.7%
scantreewhitenoise/base.py:2734 ms5.4%
<GC>~2 ms2.7%
scantreewhitenoise/base.py:2732 ms2.7%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:1112 ms2.7%
WhiteNoise.add_fileswhitenoise/base.py:1082 ms2.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1202 ms2.7%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1312 ms2.7%
WhiteNoise.get_static_filewhitenoise/base.py:2172 ms2.7%
StaticFile.__init__whitenoise/responders.py:762 ms2.7%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1882 ms2.7%
BaseHandler.load_middlewaredjango/core/handlers/base.py:972 ms2.7%
ClientHandler.__call__django/test/client.py:18625 ms35.1%
BaseHandler.get_responsedjango/core/handlers/base.py:14225 ms35.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5625 ms35.1%
MiddlewareMixin.__call__django/utils/deprecation.py:38025 ms35.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5625 ms35.1%
MiddlewareMixin.__call__django/utils/deprecation.py:38025 ms35.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5625 ms35.1%
MiddlewareMixin.__call__django/utils/deprecation.py:38025 ms35.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5625 ms35.1%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12325 ms35.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5625 ms35.1%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14525 ms35.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5625 ms35.1%
MiddlewareMixin.__call__django/utils/deprecation.py:38025 ms35.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5625 ms35.1%
MiddlewareMixin.__call__django/utils/deprecation.py:38025 ms35.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5625 ms35.1%
MiddlewareMixin.__call__django/utils/deprecation.py:38025 ms35.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5625 ms35.1%
MiddlewareMixin.__call__django/utils/deprecation.py:38025 ms35.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5625 ms35.1%
MiddlewareMixin.__call__django/utils/deprecation.py:38025 ms35.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5625 ms35.1%
MiddlewareMixin.__call__django/utils/deprecation.py:38025 ms35.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5625 ms35.1%
MiddlewareMixin.__call__django/utils/deprecation.py:38025 ms35.1%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5625 ms35.1%
BaseHandler._get_responsedjango/core/handlers/base.py:19925 ms35.1%
indexaccounts/views.py:425 return render(13 ms18.9%
renderdjango/shortcuts.py:2713 ms18.9%
render_to_stringdjango/template/loader.py:6213 ms18.9%
Template.renderdjango/template/backends/django.py:10713 ms18.9%
Template.renderdjango/template/base.py:17513 ms18.9%
instrumented_test_renderdjango/test/utils.py:11313 ms18.9%
NodeList.renderdjango/template/base.py:110813 ms18.9%
Node.render_annotateddjango/template/base.py:106913 ms18.9%
ExtendsNode.renderdjango/template/loader_tags.py:16013 ms18.9%
instrumented_test_renderdjango/test/utils.py:11313 ms18.9%
NodeList.renderdjango/template/base.py:110813 ms18.9%
Node.render_annotateddjango/template/base.py:106913 ms18.9%
BlockNode.renderdjango/template/loader_tags.py:6612 ms16.2%
NodeList.renderdjango/template/base.py:110812 ms16.2%
Node.render_annotateddjango/template/base.py:106912 ms16.2%
ForNode.renderdjango/template/defaulttags.py:24910 ms13.5%
Node.render_annotateddjango/template/base.py:106910 ms13.5%
StaticNode.renderdjango/templatetags/static.py:1166 ms8.1%
StaticNode.urldjango/templatetags/static.py:1136 ms8.1%
StaticNode.handle_simpledjango/templatetags/static.py:1296 ms8.1%
URLMixin.urldebug_toolbar/panels/staticfiles.py:206 ms8.1%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2356 ms8.1%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2144 ms5.4%
ManifestFilesMixin.stored_namedjango/contrib/staticfiles/storage.py:6112 ms2.7%
urlunsplit<stdlib>/urllib/parse.py:6672 ms2.7%
ManifestFilesMixin.stored_namedjango/contrib/staticfiles/storage.py:5952 ms2.7%
unquote<stdlib>/urllib/parse.py:8502 ms2.7%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2162 ms2.7%
VariableNode.renderdjango/template/base.py:11674 ms5.4%
FilterExpression.resolvedjango/template/base.py:8064 ms5.4%
Variable.resolvedjango/template/base.py:9454 ms5.4%
Variable._resolve_lookupdjango/template/base.py:9824 ms5.4%
BaseContext.__getitem__django/template/context.py:884 ms5.4%
SimpleNode.renderdjango/template/library.py:3432 ms2.7%
querystringdjango/template/defaulttags.py:13482 ms2.7%
QueryDict.urlencodedjango/http/request.py:7442 ms2.7%
IfNode.renderdjango/template/defaulttags.py:3332 ms2.7%
NodeList.renderdjango/template/base.py:11082 ms2.7%
Node.render_annotateddjango/template/base.py:10692 ms2.7%
IncludeNode.renderdjango/template/loader_tags.py:2112 ms2.7%
Template.renderdjango/template/base.py:1772 ms2.7%
instrumented_test_renderdjango/test/utils.py:1132 ms2.7%
NodeList.renderdjango/template/base.py:11082 ms2.7%
Node.render_annotateddjango/template/base.py:10692 ms2.7%
SimpleNode.renderdjango/template/library.py:3432 ms2.7%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances:2 ms2.7%
QuerySet.__iter__django/db/models/query.py:4392 ms2.7%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms2.7%
FlatValuesListIterable.__iter__django/db/models/query.py:3022 ms2.7%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15742 ms2.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms2.7%
CursorWrapper.executedjango/db/backends/utils.py:792 ms2.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms2.7%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms2.7%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms2.7%
Cursor.executepsycopg/cursor.py:1132 ms2.7%
Connection.waitpsycopg/connection.py:4952 ms2.7%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms2.7%
indexaccounts/views.py:4126 ms8.1%
CountlessPaginator.get_pageaccounts/views.py:846 ms8.1%
CountlessPaginator.pageaccounts/views.py:906 ms8.1%
CountlessPage.__init__accounts/views.py:28 self.object_list = list(self.object_list)6 ms8.1%
QuerySet.__iter__django/db/models/query.py:4396 ms8.1%
QuerySet._fetch_alldjango/db/models/query.py:22626 ms8.1%
ModelIterable.__iter__django/db/models/query.py:1036 ms8.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16256 ms8.1%
CursorWrapper.executedjango/db/backends/utils.py:796 ms8.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:926 ms8.1%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1006 ms8.1%
CursorWrapper._executedjango/db/backends/utils.py:1056 ms8.1%
Cursor.executepsycopg/cursor.py:1136 ms8.1%
Connection.waitpsycopg/connection.py:4956 ms8.1%
indexaccounts/views.py:295 language_counts = Daily.objects.order_by("date").last()4 ms5.4%
QuerySet.lastdjango/db/models/query.py:12254 ms5.4%
QuerySet.__iter__django/db/models/query.py:4394 ms5.4%
QuerySet._fetch_alldjango/db/models/query.py:22624 ms5.4%
ModelIterable.__iter__django/db/models/query.py:1034 ms5.4%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16254 ms5.4%
CursorWrapper.executedjango/db/backends/utils.py:794 ms5.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms5.4%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms2.7%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms2.7%
Cursor.executepsycopg/cursor.py:1132 ms2.7%
Connection.waitpsycopg/connection.py:4952 ms2.7%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms2.7%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms2.7%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms2.7%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1022 ms2.7%
QueryStats.addflakytest/profiling/dbtrack.py:382 ms2.7%
normalize_sqlflakytest/profiling/dbtrack.py:232 ms2.7%
indexaccounts/views.py:375 .filter(search_query)2 ms2.7%
QuerySet.filterdjango/db/models/query.py:16762 ms2.7%
QuerySet._filter_or_excludedjango/db/models/query.py:16942 ms2.7%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:17042 ms2.7%
Query.add_qdjango/db/models/sql/query.py:16812 ms2.7%
Query._add_qdjango/db/models/sql/query.py:17132 ms2.7%
Query.build_filterdjango/db/models/sql/query.py:15282 ms2.7%
Query._add_qdjango/db/models/sql/query.py:17132 ms2.7%
Query.build_filterdjango/db/models/sql/query.py:16132 ms2.7%
Query.build_lookupdjango/db/models/sql/query.py:14302 ms2.7%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3722 ms2.7%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()2 ms2.7%
TestCase._fixture_teardowndjango/test/testcases.py:14982 ms2.7%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4962 ms2.7%
CursorWrapper.executedjango/db/backends/utils.py:792 ms2.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms2.7%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms2.7%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms2.7%
Cursor.executepsycopg/cursor.py:1132 ms2.7%
Connection.waitpsycopg/connection.py:4952 ms2.7%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms2.7%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms2.7%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms2.7%
teardown1 ms1.8%
CallInfo.from_call_pytest/runner.py:3611 ms1.8%
call_and_report.<locals>.<lambda>_pytest/runner.py:2501 ms1.8%
HookCaller.__call__pluggy/_hooks.py:5121 ms1.8%
PluginManager._hookexecpluggy/_manager.py:1201 ms1.8%
_multicallpluggy/_callers.py:1211 ms1.8%
pytest_runtest_teardown_pytest/runner.py:1991 ms1.8%
SetupState.teardown_exact_pytest/runner.py:5681 ms1.8%
FixtureDef.finish_pytest/fixtures.py:11561 ms1.8%
_teardown_yield_fixture_pytest/fixtures.py:10141 ms1.8%
UnitTestCase._register_unittest_setup_class_fixture.<locals>.unittest_setup_class_fixture_pytest/unittest.py:1691 ms1.8%
TestCase.tearDownClassdjango/test/testcases.py:1456 cls._rollback_atomics(cls.cls_atomics)0.64 ms0.9%
TestCase._rollback_atomicsdjango/test/testcases.py:14080.64 ms0.9%
Atomic.__exit__django/db/transaction.py:3070.64 ms0.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:260.64 ms0.9%
BaseDatabaseWrapper.rollbackdjango/db/backends/base/base.py:3370.64 ms0.9%
BaseDatabaseWrapper._rollbackdjango/db/backends/base/base.py:3080.64 ms0.9%
Connection.rollbackpsycopg/connection.py:3140.64 ms0.9%
Connection.waitpsycopg/connection.py:4950.64 ms0.9%
BaseConnection._rollback_genpsycopg/_connection_base.py:6170.64 ms0.9%
BaseConnection._exec_commandpsycopg/_connection_base.py:4740.64 ms0.9%
TestCase.tearDownClassdjango/test/testcases.py:1458 conn.close()0.64 ms0.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:260.64 ms0.9%
BaseDatabaseWrapper.closedjango/db/backends/base/base.py:3550.64 ms0.9%
DatabaseWrapper._closedjango/db/backends/postgresql/base.py:4080.64 ms0.9%
Connection.closepsycopg/connection.py:2010.64 ms0.9%
Estimated from 38 samples; phase durations are exact. Frames from pytest and pluggy are shown .

Hot lines in your code

accounts/tests.py:555
response = self.client.get(url)
TestAccountIndexRobots.assert_indexable · Libraries
42 ms
accounts/views.py:425
return render(
index · Templates
12 ms
accounts/views.py:28
self.object_list = list(self.object_list)
CountlessPage.__init__ · Database
6 ms
accounts/views.py:295
language_counts = Daily.objects.order_by("date").last()
index · Database
4 ms
accounts/views.py:375
.filter(search_query)
index · Database
2 ms
accounts/templatetags/account_extras.py:36
for instance in instances:
instances_datalist · Database
2 ms

Fixtures

Exact setup time
_dj_autoclear_mailbox function 0.05 ms
_template_string_if_invalid_marker function 0.04 ms
_django_db_marker function 0.03 ms
_live_server_helper function 0.03 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

8 queries · 4 ms
No repeated queries.

Biggest pieces of work

call test body
accounts/tests.py:603
67 ms
call _post_teardown
django/test/testcases.py:1243
2 ms
teardown tearDownClass
django/test/testcases.py:1456
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
8 hours ago CI github-actions:test passed 71 ms d923a46 main Profile
8 hours ago CI github-actions:test passed 245 ms 82997f8 main Profile
9 hours ago CI github-actions:test passed 210 ms 623aa3e main Profile
13 hours ago CI github-actions:test passed 289 ms ab6465a main Profile
14 hours ago CI github-actions:test passed 109 ms 0c23747 main Run