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

TestAccountIndexRobots::test_unfaceted_root_index_is_indexable

First seen 1 month, 1 week ago in 0c23747
CI github-actions:test 13 runs
Average
141 ms
median 117 ms
max 289 ms
Phases
Setup 2 ms Call 135 ms Teardown 4 ms
Categories
Database 18 ms App code 0.22 ms Other (Libraries, Templates, pytest, Unsampled) 122 ms

8 database queries per run

Needs 860 KB of memory (max 1 MB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 2 weeks ago · open run
Show pytest frames
call95 ms96.8%
TestAccountIndexRobots.test_unfaceted_root_index_is_indexableaccounts/tests.py:603 self.assert_indexable("/rust/")88 ms89.5%
TestAccountIndexRobots.assert_indexableaccounts/tests.py:555 response = self.client.get(url)88 ms89.5%
Client.getdjango/test/client.py:113388 ms89.5%
RequestFactory.getdjango/test/client.py:47588 ms89.5%
RequestFactory.genericdjango/test/client.py:67188 ms89.5%
Client.requestdjango/test/client.py:109188 ms89.5%
ClientHandler.__call__django/test/client.py:17360 ms61.7%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6360 ms61.7%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10459 ms60.5%
WhiteNoise.add_fileswhitenoise/base.py:10859 ms60.5%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1207 ms7.3%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1316 ms6.0%
WhiteNoise.get_static_filewhitenoise/base.py:2176 ms6.0%
StaticFile.__init__whitenoise/responders.py:762 ms2.4%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1882 ms2.4%
Headers.__contains__<stdlib>/wsgiref/headers.py:872 ms2.4%
Headers.get<stdlib>/wsgiref/headers.py:1052 ms2.4%
StaticFile.__init__whitenoise/responders.py:772 ms2.4%
StaticFile.get_alternativeswhitenoise/responders.py:2011 ms1.2%
StaticFile.get_alternativeswhitenoise/responders.py:2001 ms1.2%
StaticFile.__init__whitenoise/responders.py:721 ms1.2%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1156 ms6.0%
scantreewhitenoise/base.py:2716 ms6.0%
scantreewhitenoise/base.py:2716 ms6.0%
scantreewhitenoise/base.py:2734 ms3.6%
scantreewhitenoise/base.py:2712 ms2.4%
scantreewhitenoise/base.py:2712 ms2.4%
scantreewhitenoise/base.py:2712 ms2.4%
scantreewhitenoise/base.py:2691 ms1.2%
scantreewhitenoise/base.py:2731 ms1.2%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:1111 ms1.2%
WhiteNoise.add_fileswhitenoise/base.py:1081 ms1.2%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1201 ms1.2%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1311 ms1.2%
WhiteNoise.get_static_filewhitenoise/base.py:2171 ms1.2%
StaticFile.__init__whitenoise/responders.py:731 ms1.2%
StaticFile.get_headerswhitenoise/responders.py:1761 ms1.2%
formatdate<stdlib>/email/utils.py:2661 ms1.2%
format_datetime<stdlib>/email/utils.py:2751 ms1.2%
ClientHandler.__call__django/test/client.py:18626 ms26.6%
BaseHandler.get_responsedjango/core/handlers/base.py:14226 ms26.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5626 ms26.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38026 ms26.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5626 ms26.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38026 ms26.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5626 ms26.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38026 ms26.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5626 ms26.6%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12326 ms26.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5626 ms26.6%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14526 ms26.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5626 ms26.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38026 ms26.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5626 ms26.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38025 ms25.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5625 ms25.4%
MiddlewareMixin.__call__django/utils/deprecation.py:38025 ms25.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5625 ms25.4%
MiddlewareMixin.__call__django/utils/deprecation.py:38025 ms25.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5625 ms25.4%
MiddlewareMixin.__call__django/utils/deprecation.py:38025 ms25.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5625 ms25.4%
MiddlewareMixin.__call__django/utils/deprecation.py:38025 ms25.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5625 ms25.4%
MiddlewareMixin.__call__django/utils/deprecation.py:38025 ms25.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5625 ms25.4%
BaseHandler._get_responsedjango/core/handlers/base.py:19925 ms25.4%
indexaccounts/views.py:425 return render(15 ms15.7%
renderdjango/shortcuts.py:2715 ms15.7%
render_to_stringdjango/template/loader.py:6215 ms15.7%
Template.renderdjango/template/backends/django.py:10715 ms15.7%
Template.renderdjango/template/base.py:17515 ms15.7%
instrumented_test_renderdjango/test/utils.py:11315 ms15.7%
NodeList.renderdjango/template/base.py:110815 ms15.7%
Node.render_annotateddjango/template/base.py:106915 ms15.7%
ExtendsNode.renderdjango/template/loader_tags.py:16015 ms15.7%
instrumented_test_renderdjango/test/utils.py:11315 ms15.7%
NodeList.renderdjango/template/base.py:110815 ms15.7%
Node.render_annotateddjango/template/base.py:106915 ms15.7%
BlockNode.renderdjango/template/loader_tags.py:668 ms8.5%
NodeList.renderdjango/template/base.py:11088 ms8.5%
Node.render_annotateddjango/template/base.py:10698 ms8.5%
ForNode.renderdjango/template/defaulttags.py:2498 ms8.5%
Node.render_annotateddjango/template/base.py:10698 ms8.5%
IfNode.renderdjango/template/defaulttags.py:3332 ms2.4%
NodeList.renderdjango/template/base.py:11082 ms2.4%
Node.render_annotateddjango/template/base.py:10692 ms2.4%
URLNode.renderdjango/template/defaulttags.py:5111 ms1.2%
reversedjango/urls/base.py:981 ms1.2%
URLResolver._reverse_with_prefixdjango/urls/resolvers.py:7621 ms1.2%
URLNode.renderdjango/template/defaulttags.py:4981 ms1.2%
VariableNode.renderdjango/template/base.py:11671 ms1.2%
FilterExpression.resolvedjango/template/base.py:8061 ms1.2%
SimpleNode.renderdjango/template/library.py:3481 ms1.2%
conditional_escapedjango/utils/html.py:1321 ms1.2%
keep_lazy.<locals>.decorator.<locals>.wrapperdjango/utils/functional.py:2311 ms1.2%
VariableNode.renderdjango/template/base.py:11731 ms1.2%
render_value_in_contextdjango/template/base.py:11471 ms1.2%
localizedjango/utils/formats.py:2081 ms1.2%
number_formatdjango/utils/formats.py:1811 ms1.2%
get_languagedjango/utils/translation/__init__.py:2111 ms1.2%
get_languagedjango/utils/translation/trans_real.py:3291 ms1.2%
StaticNode.renderdjango/templatetags/static.py:1161 ms1.2%
StaticNode.urldjango/templatetags/static.py:1131 ms1.2%
StaticNode.handle_simpledjango/templatetags/static.py:1291 ms1.2%
URLMixin.urldebug_toolbar/panels/staticfiles.py:201 ms1.2%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2351 ms1.2%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2161 ms1.2%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2071 ms1.2%
urljoin<stdlib>/urllib/parse.py:7071 ms1.2%
_urlsplit<stdlib>/urllib/parse.py:5981 ms1.2%
IfNode.renderdjango/template/defaulttags.py:3261 ms1.2%
infix.<locals>.Operator.evaldjango/template/smartif.py:611 ms1.2%
<lambda>django/template/smartif.py:1061 ms1.2%
TemplateLiteral.evaldjango/template/defaulttags.py:9181 ms1.2%
FilterExpression.resolvedjango/template/base.py:8061 ms1.2%
Variable.resolvedjango/template/base.py:9451 ms1.2%
Variable._resolve_lookupdjango/template/base.py:10061 ms1.2%
IfNode.renderdjango/template/defaulttags.py:3335 ms4.8%
NodeList.renderdjango/template/base.py:11085 ms4.8%
Node.render_annotateddjango/template/base.py:10695 ms4.8%
IncludeNode.renderdjango/template/loader_tags.py:2114 ms3.6%
Template.renderdjango/template/base.py:1774 ms3.6%
instrumented_test_renderdjango/test/utils.py:1134 ms3.6%
NodeList.renderdjango/template/base.py:11084 ms3.6%
Node.render_annotateddjango/template/base.py:10694 ms3.6%
SimpleNode.renderdjango/template/library.py:3434 ms3.6%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances:4 ms3.6%
QuerySet.__iter__django/db/models/query.py:4394 ms3.6%
QuerySet._fetch_alldjango/db/models/query.py:22624 ms3.6%
FlatValuesListIterable.__iter__django/db/models/query.py:3024 ms3.6%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15744 ms3.6%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16254 ms3.6%
CursorWrapper.executedjango/db/backends/utils.py:794 ms3.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms3.6%
CursorWrapper._executedjango/db/backends/utils.py:1054 ms3.6%
Cursor.executepsycopg/cursor.py:1134 ms3.6%
Connection.waitpsycopg/connection.py:4954 ms3.6%
VariableNode.renderdjango/template/base.py:11671 ms1.2%
FilterExpression.resolvedjango/template/base.py:8061 ms1.2%
Variable.resolvedjango/template/base.py:9451 ms1.2%
Variable._resolve_lookupdjango/template/base.py:10101 ms1.2%
URLNode.renderdjango/template/defaulttags.py:5211 ms1.2%
conditional_escapedjango/utils/html.py:1321 ms1.2%
keep_lazy.<locals>.decorator.<locals>.wrapperdjango/utils/functional.py:2311 ms1.2%
escapedjango/utils/html.py:621 ms1.2%
escape<stdlib>/html/__init__.py:121 ms1.2%
indexaccounts/views.py:4125 ms4.8%
CountlessPaginator.get_pageaccounts/views.py:845 ms4.8%
CountlessPaginator.pageaccounts/views.py:905 ms4.8%
CountlessPage.__init__accounts/views.py:28 self.object_list = list(self.object_list)5 ms4.8%
QuerySet.__iter__django/db/models/query.py:4395 ms4.8%
QuerySet._fetch_alldjango/db/models/query.py:22625 ms4.8%
ModelIterable.__iter__django/db/models/query.py:1035 ms4.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16255 ms4.8%
CursorWrapper.executedjango/db/backends/utils.py:795 ms4.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:925 ms4.8%
CursorWrapper._executedjango/db/backends/utils.py:1055 ms4.8%
Cursor.executepsycopg/cursor.py:1135 ms4.8%
Connection.waitpsycopg/connection.py:4955 ms4.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2065 ms4.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2865 ms4.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:785 ms4.8%
indexaccounts/views.py:295 language_counts = Daily.objects.order_by("date").last()4 ms3.6%
QuerySet.lastdjango/db/models/query.py:12254 ms3.6%
QuerySet.__iter__django/db/models/query.py:4394 ms3.6%
QuerySet._fetch_alldjango/db/models/query.py:22624 ms3.6%
ModelIterable.__iter__django/db/models/query.py:1034 ms3.6%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms2.4%
CursorWrapper.executedjango/db/backends/utils.py:792 ms2.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms2.4%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms2.4%
Cursor.executepsycopg/cursor.py:1132 ms2.4%
Connection.waitpsycopg/connection.py:4952 ms2.4%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16121 ms1.2%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7681 ms1.2%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:901 ms1.2%
SQLCompiler.get_order_bydjango/db/models/sql/compiler.py:4911 ms1.2%
SQLCompiler._order_by_pairsdjango/db/models/sql/compiler.py:3611 ms1.2%
deconstructible.<locals>.decorator.<locals>.__new__django/utils/deconstruct.py:171 ms1.2%
indexaccounts/views.py:421 instances = Instance.objects.filter(deleted_at__isnull=True).values_list("instance", flat=True)1 ms1.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3791 ms1.2%
LocaleMiddleware.process_requestdjango/middleware/locale.py:281 ms1.2%
get_language_from_pathdjango/utils/translation/__init__.py:2521 ms1.2%
get_language_from_pathdjango/utils/translation/trans_real.py:5541 ms1.2%
ClientHandler.__call__django/test/client.py:2061 ms1.2%
Signal.disconnectdjango/dispatch/dispatcher.py:2061 ms1.2%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()7 ms7.3%
TestCase._fixture_teardowndjango/test/testcases.py:14985 ms4.8%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4952 ms2.4%
CursorWrapper.executedjango/db/backends/utils.py:792 ms2.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms2.4%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms2.4%
Cursor.executepsycopg/cursor.py:1132 ms2.4%
Connection.waitpsycopg/connection.py:4952 ms2.4%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4962 ms2.4%
CursorWrapper.executedjango/db/backends/utils.py:792 ms2.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms2.4%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms2.4%
Cursor.executepsycopg/cursor.py:1132 ms2.4%
Connection.waitpsycopg/connection.py:4952 ms2.4%
TestCase._fixture_teardowndjango/test/testcases.py:14971 ms1.2%
TestCase._should_check_constraintsdjango/test/testcases.py:15061 ms1.2%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:5041 ms1.2%
Cursor.executepsycopg/cursor.py:1131 ms1.2%
Connection.waitpsycopg/connection.py:4951 ms1.2%
TestCase._fixture_teardowndjango/test/testcases.py:15001 ms1.2%
TestCase._rollback_atomicsdjango/test/testcases.py:14081 ms1.2%
Atomic.__exit__django/db/transaction.py:2981 ms1.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms1.2%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4311 ms1.2%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3751 ms1.2%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.2%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms1.2%
Cursor.executepsycopg/cursor.py:1131 ms1.2%
Connection.waitpsycopg/connection.py:4951 ms1.2%
teardown2 ms1.8%
TestCase.tearDownClassdjango/test/testcases.py:1456 cls._rollback_atomics(cls.cls_atomics)0.88 ms0.9%
TestCase._rollback_atomicsdjango/test/testcases.py:14080.88 ms0.9%
Atomic.__exit__django/db/transaction.py:3070.88 ms0.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:260.88 ms0.9%
BaseDatabaseWrapper.rollbackdjango/db/backends/base/base.py:3370.88 ms0.9%
BaseDatabaseWrapper._rollbackdjango/db/backends/base/base.py:3080.88 ms0.9%
Connection.rollbackpsycopg/connection.py:3140.88 ms0.9%
Connection.waitpsycopg/connection.py:4950.88 ms0.9%
BaseConnection._rollback_genpsycopg/_connection_base.py:6170.88 ms0.9%
BaseConnection._exec_commandpsycopg/_connection_base.py:4740.88 ms0.9%
Estimated from 82 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

accounts/tests.py:555
response = self.client.get(url)
TestAccountIndexRobots.assert_indexable · Libraries
63 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
5 ms
accounts/views.py:295
language_counts = Daily.objects.order_by("date").last()
index · Database
4 ms
accounts/templatetags/account_extras.py:36
for instance in instances:
instances_datalist · Database
4 ms
accounts/views.py:421
instances = Instance.objects.filter(deleted_at__isnull=True).values_list("instance", flat=True)
index · App code
1 ms

Fixtures

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

Database

8 queries · 10 ms
No repeated queries.

Biggest pieces of work

call test body
accounts/tests.py:603
88 ms
call _post_teardown
django/test/testcases.py:1243
7 ms
teardown tearDownClass
django/test/testcases.py:1456
0.88 ms
teardown pytest internals 0.88 ms

Reliability

14 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 14 results, oldest first in the strip
When Environment Outcome Duration Commit
2 weeks ago CI github-actions:test passed 98 ms 28600ed main Profile
2 weeks, 5 days ago CI github-actions:test passed 108 ms 600b717 main Profile
2 weeks, 6 days ago CI github-actions:test passed 132 ms c28a326 main Profile
3 weeks ago CI github-actions:test passed 93 ms 9b8826a main Profile
3 weeks ago CI github-actions:test passed 164 ms 4f01055 main Profile
1 month ago CI github-actions:test passed 119 ms 8ab642e main Profile
1 month ago CI github-actions:test passed 97 ms 9b75244 main Profile
1 month ago CI github-actions:test passed 117 ms 9603516 main Profile
1 month, 1 week ago CI github-actions:test passed 84 ms 615a272 main Profile
1 month, 1 week ago CI github-actions:test passed 71 ms d923a46 main Profile
1 month, 1 week ago CI github-actions:test passed 245 ms 82997f8 main Profile
1 month, 1 week ago CI github-actions:test passed 210 ms 623aa3e main Profile
1 month, 1 week ago CI github-actions:test passed 289 ms ab6465a main Profile
1 month, 1 week ago CI github-actions:test passed 109 ms 0c23747 main Run