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

TestAccountIndexRobots::test_unfaceted_root_index_is_indexable

First seen 3 weeks ago in 0c23747
CI github-actions:test 11 runs
Average
147 ms
median 119 ms
max 289 ms
Phases
Setup 2 ms Call 141 ms Teardown 4 ms
Categories
Database 19 ms App code 0.15 ms Other (Libraries, Templates, pytest, Unsampled) 129 ms

8 database queries per run

Needs 820 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
setup1 ms0.9%
__init____init__:-11 ms0.9%
call127 ms96.3%
TestAccountIndexRobots.test_unfaceted_root_index_is_indexableaccounts/tests.py:603 self.assert_indexable("/rust/")127 ms96.3%
TestAccountIndexRobots.assert_indexableaccounts/tests.py:555 response = self.client.get(url)127 ms96.3%
Client.getdjango/test/client.py:1133127 ms96.3%
RequestFactory.getdjango/test/client.py:475127 ms96.3%
RequestFactory.genericdjango/test/client.py:671127 ms96.3%
Client.requestdjango/test/client.py:1091127 ms96.3%
ClientHandler.__call__django/test/client.py:17367 ms51.0%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6367 ms51.0%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10467 ms51.0%
WhiteNoise.add_fileswhitenoise/base.py:10867 ms51.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11537 ms28.3%
scantreewhitenoise/base.py:27137 ms28.3%
scantreewhitenoise/base.py:27137 ms28.3%
scantreewhitenoise/base.py:27122 ms17.0%
scantreewhitenoise/base.py:27122 ms17.0%
scantreewhitenoise/base.py:27122 ms17.0%
scantreewhitenoise/base.py:27315 ms11.3%
scantreewhitenoise/base.py:2697 ms5.7%
scantreewhitenoise/base.py:2697 ms5.7%
scantreewhitenoise/base.py:2737 ms5.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12030 ms22.7%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13130 ms22.7%
WhiteNoise.get_static_filewhitenoise/base.py:21722 ms17.0%
StaticFile.__init__whitenoise/responders.py:767 ms5.7%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1887 ms5.7%
StaticFile.__init__whitenoise/responders.py:777 ms5.7%
StaticFile.get_alternativeswhitenoise/responders.py:1987 ms5.7%
StaticFile.get_alternatives.<locals>.<lambda>whitenoise/responders.py:1987 ms5.7%
<GC>~7 ms5.7%
StaticFile.__init__whitenoise/responders.py:737 ms5.7%
StaticFile.get_headerswhitenoise/responders.py:1707 ms5.7%
WhiteNoise.get_static_filewhitenoise/base.py:2117 ms5.7%
ClientHandler.__call__django/test/client.py:18660 ms45.3%
BaseHandler.get_responsedjango/core/handlers/base.py:14260 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5660 ms45.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38060 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5660 ms45.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38060 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5660 ms45.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38060 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5660 ms45.3%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12360 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5660 ms45.3%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14560 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5660 ms45.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38060 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5660 ms45.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38060 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5660 ms45.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38060 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5660 ms45.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38060 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5660 ms45.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38060 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5660 ms45.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38060 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5660 ms45.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38060 ms45.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5660 ms45.3%
BaseHandler._get_responsedjango/core/handlers/base.py:19960 ms45.3%
indexaccounts/views.py:425 return render(60 ms45.3%
renderdjango/shortcuts.py:2760 ms45.3%
render_to_stringdjango/template/loader.py:6260 ms45.3%
Template.renderdjango/template/backends/django.py:10760 ms45.3%
Template.renderdjango/template/base.py:17560 ms45.3%
instrumented_test_renderdjango/test/utils.py:11360 ms45.3%
NodeList.renderdjango/template/base.py:110860 ms45.3%
Node.render_annotateddjango/template/base.py:106960 ms45.3%
ExtendsNode.renderdjango/template/loader_tags.py:16060 ms45.3%
instrumented_test_renderdjango/test/utils.py:11360 ms45.3%
NodeList.renderdjango/template/base.py:110860 ms45.3%
Node.render_annotateddjango/template/base.py:106960 ms45.3%
BlockNode.renderdjango/template/loader_tags.py:6660 ms45.3%
NodeList.renderdjango/template/base.py:110860 ms45.3%
Node.render_annotateddjango/template/base.py:106960 ms45.3%
ForNode.renderdjango/template/defaulttags.py:24960 ms45.3%
Node.render_annotateddjango/template/base.py:106960 ms45.3%
IfNode.renderdjango/template/defaulttags.py:33330 ms22.7%
NodeList.renderdjango/template/base.py:110830 ms22.7%
Node.render_annotateddjango/template/base.py:106930 ms22.7%
URLNode.renderdjango/template/defaulttags.py:51130 ms22.7%
reversedjango/urls/base.py:9822 ms17.0%
URLResolver._reverse_with_prefixdjango/urls/resolvers.py:81022 ms17.0%
reversedjango/urls/base.py:447 ms5.7%
get_script_prefixdjango/urls/base.py:1357 ms5.7%
Local.__getattr__asgiref/local.py:1577 ms5.7%
IfNode.renderdjango/template/defaulttags.py:32615 ms11.3%
conditional_escapedjango/utils/html.py:1327 ms5.7%
infix.<locals>.Operator.evaldjango/template/smartif.py:617 ms5.7%
<lambda>django/template/smartif.py:1067 ms5.7%
VariableNode.renderdjango/template/base.py:11737 ms5.7%
render_value_in_contextdjango/template/base.py:11477 ms5.7%
localizedjango/utils/formats.py:2087 ms5.7%
number_formatdjango/utils/formats.py:1817 ms5.7%
get_languagedjango/utils/translation/__init__.py:2117 ms5.7%
get_languagedjango/utils/translation/trans_real.py:3297 ms5.7%
Local.__getattr__asgiref/local.py:1587 ms5.7%
_CVar.__getattr__asgiref/local.py:567 ms5.7%
_CVar._storageasgiref/local.py:507 ms5.7%
teardown4 ms2.8%
TestCase.tearDownClassdjango/test/testcases.py:1458 conn.close()4 ms2.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:264 ms2.8%
BaseDatabaseWrapper.closedjango/db/backends/base/base.py:3554 ms2.8%
DatabaseWrapper._closedjango/db/backends/postgresql/base.py:4084 ms2.8%
Connection.closepsycopg/connection.py:2014 ms2.8%
Estimated from 107 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
67 ms
accounts/views.py:425
return render(
index · Templates
60 ms

Fixtures

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

Biggest pieces of work

call test body
accounts/tests.py:603
127 ms
teardown tearDownClass
django/test/testcases.py:1458
4 ms
setup __init__
__init__:-1
1 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 132 ms c28a326 main Profile
16 hours ago CI github-actions:test passed 93 ms 9b8826a main Profile
22 hours ago CI github-actions:test passed 164 ms 4f01055 main Profile
1 week, 5 days ago CI github-actions:test passed 119 ms 8ab642e main Profile
2 weeks, 2 days ago CI github-actions:test passed 97 ms 9b75244 main Profile
2 weeks, 2 days ago CI github-actions:test passed 117 ms 9603516 main Profile
2 weeks, 4 days ago CI github-actions:test passed 84 ms 615a272 main Profile
3 weeks ago CI github-actions:test passed 71 ms d923a46 main Profile
3 weeks ago CI github-actions:test passed 245 ms 82997f8 main Profile
3 weeks ago CI github-actions:test passed 210 ms 623aa3e main Profile
3 weeks ago CI github-actions:test passed 289 ms ab6465a main Profile
3 weeks ago CI github-actions:test passed 109 ms 0c23747 main Run