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

TestAccountIndexRobots::test_deep_pagination_is_noindex

First seen 1 month, 1 week ago in 0c23747
CI github-actions:test 13 runs
Average
118 ms
median 113 ms
max 243 ms
Phases
Setup 1 ms Call 116 ms Teardown 0.35 ms
Categories
Database 16 ms App code 0.39 ms Other (Libraries, Templates, pytest, Unsampled, ...) 102 ms

8 database queries per run

Needs 5 KB of memory (max 64 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 2 weeks ago · open run
Show pytest frames
call57 ms98.2%
TestAccountIndexRobots.test_deep_pagination_is_noindexaccounts/tests.py:596 self.assert_noindex("/python/?page=800")57 ms98.2%
TestAccountIndexRobots.assert_noindexaccounts/tests.py:550 response = self.client.get(url)57 ms98.2%
Client.getdjango/test/client.py:113357 ms98.2%
RequestFactory.getdjango/test/client.py:47557 ms98.2%
RequestFactory.genericdjango/test/client.py:67157 ms98.2%
Client.requestdjango/test/client.py:109157 ms98.2%
ClientHandler.__call__django/test/client.py:18655 ms94.8%
BaseHandler.get_responsedjango/core/handlers/base.py:14255 ms94.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5655 ms94.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38055 ms94.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5655 ms94.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38055 ms94.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5655 ms94.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38055 ms94.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5655 ms94.8%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12355 ms94.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5655 ms94.8%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14555 ms94.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5655 ms94.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38055 ms94.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5655 ms94.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38055 ms94.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5655 ms94.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38055 ms94.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5655 ms94.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38055 ms94.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5655 ms94.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38055 ms94.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5655 ms94.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38055 ms94.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5655 ms94.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38055 ms94.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5655 ms94.8%
BaseHandler._get_responsedjango/core/handlers/base.py:19955 ms94.8%
indexaccounts/views.py:425 return render(51 ms88.0%
renderdjango/shortcuts.py:2751 ms88.0%
render_to_stringdjango/template/loader.py:6251 ms88.0%
Template.renderdjango/template/backends/django.py:10751 ms88.0%
Template.renderdjango/template/base.py:17551 ms88.0%
instrumented_test_renderdjango/test/utils.py:11351 ms88.0%
NodeList.renderdjango/template/base.py:110851 ms88.0%
Node.render_annotateddjango/template/base.py:106951 ms88.0%
ExtendsNode.renderdjango/template/loader_tags.py:16051 ms88.0%
instrumented_test_renderdjango/test/utils.py:11351 ms88.0%
NodeList.renderdjango/template/base.py:110851 ms88.0%
Node.render_annotateddjango/template/base.py:106951 ms88.0%
BlockNode.renderdjango/template/loader_tags.py:6641 ms71.1%
NodeList.renderdjango/template/base.py:110841 ms71.1%
Node.render_annotateddjango/template/base.py:106941 ms71.1%
ForNode.renderdjango/template/defaulttags.py:24934 ms57.6%
Node.render_annotateddjango/template/base.py:106932 ms54.2%
IfNode.renderdjango/template/defaulttags.py:32614 ms23.7%
infix.<locals>.Operator.evaldjango/template/smartif.py:6114 ms23.7%
<lambda>django/template/smartif.py:10710 ms16.9%
TemplateLiteral.evaldjango/template/defaulttags.py:91810 ms16.9%
FilterExpression.resolvedjango/template/base.py:8066 ms10.2%
Variable.resolvedjango/template/base.py:9454 ms6.8%
Variable._resolve_lookupdjango/template/base.py:9962 ms3.4%
Variable._resolve_lookupdjango/template/base.py:9802 ms3.4%
FilterExpression.resolvedjango/template/base.py:8212 ms3.4%
Variable.resolvedjango/template/base.py:9452 ms3.4%
Variable._resolve_lookupdjango/template/base.py:10062 ms3.4%
Variable.resolvedjango/template/base.py:9452 ms3.4%
Variable._resolve_lookupdjango/template/base.py:9962 ms3.4%
<lambda>django/template/smartif.py:1064 ms6.8%
TemplateLiteral.evaldjango/template/defaulttags.py:9184 ms6.8%
FilterExpression.resolvedjango/template/base.py:8064 ms6.8%
Variable.resolvedjango/template/base.py:9454 ms6.8%
Variable._resolve_lookupdjango/template/base.py:9964 ms6.8%
SimpleNode.renderdjango/template/library.py:3436 ms10.2%
querystringdjango/template/defaulttags.py:13484 ms6.8%
QueryDict.urlencodedjango/http/request.py:7444 ms6.8%
urlencode<stdlib>/urllib/parse.py:11622 ms3.4%
URLNode.renderdjango/template/defaulttags.py:5112 ms3.4%
reversedjango/urls/base.py:982 ms3.4%
querystringdjango/template/defaulttags.py:13342 ms3.4%
IfNode.renderdjango/template/defaulttags.py:3334 ms6.8%
NodeList.renderdjango/template/base.py:11084 ms6.8%
Node.render_annotateddjango/template/base.py:10694 ms6.8%
URLNode.renderdjango/template/defaulttags.py:5114 ms6.8%
reversedjango/urls/base.py:982 ms3.4%
reversedjango/urls/base.py:442 ms3.4%
get_script_prefixdjango/urls/base.py:1352 ms3.4%
StaticNode.renderdjango/templatetags/static.py:1164 ms6.8%
StaticNode.urldjango/templatetags/static.py:1134 ms6.8%
StaticNode.handle_simpledjango/templatetags/static.py:1294 ms6.8%
URLMixin.urldebug_toolbar/panels/staticfiles.py:202 ms3.4%
VariableNode.renderdjango/template/base.py:11734 ms6.8%
render_value_in_contextdjango/template/base.py:11474 ms6.8%
localizedjango/utils/formats.py:2082 ms3.4%
SimpleNode.renderdjango/template/library.py:3434 ms6.8%
heroicon_outlineheroicons/templatetags/heroicons.py:234 ms6.8%
_render_iconheroicons/templatetags/heroicons.py:414 ms6.8%
_render_iconheroicons/__init__.py:472 ms3.4%
deepcopy<stdlib>/copy.py:1372 ms3.4%
_render_iconheroicons/__init__.py:652 ms3.4%
tostring<stdlib>/xml/etree/ElementTree.py:11062 ms3.4%
ElementTree.write<stdlib>/xml/etree/ElementTree.py:7452 ms3.4%
ForNode.renderdjango/template/defaulttags.py:1972 ms3.4%
FilterExpression.resolvedjango/template/base.py:8062 ms3.4%
ForNode.renderdjango/template/defaulttags.py:2242 ms3.4%
FilterExpression.resolvedjango/template/base.py:8062 ms3.4%
Variable.resolvedjango/template/base.py:9452 ms3.4%
Variable._resolve_lookupdjango/template/base.py:10432 ms3.4%
IfNode.renderdjango/template/defaulttags.py:33310 ms16.9%
NodeList.renderdjango/template/base.py:110810 ms16.9%
Node.render_annotateddjango/template/base.py:106910 ms16.9%
IncludeNode.renderdjango/template/loader_tags.py:21110 ms16.9%
Template.renderdjango/template/base.py:17710 ms16.9%
instrumented_test_renderdjango/test/utils.py:11310 ms16.9%
NodeList.renderdjango/template/base.py:110810 ms16.9%
Node.render_annotateddjango/template/base.py:106910 ms16.9%
SimpleNode.renderdjango/template/library.py:3438 ms13.5%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances:8 ms13.5%
QuerySet.__iter__django/db/models/query.py:4398 ms13.5%
QuerySet._fetch_alldjango/db/models/query.py:22628 ms13.5%
FlatValuesListIterable.__iter__django/db/models/query.py:3028 ms13.5%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15748 ms13.5%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16258 ms13.5%
CursorWrapper.executedjango/db/backends/utils.py:798 ms13.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:928 ms13.5%
CursorWrapper._executedjango/db/backends/utils.py:1058 ms13.5%
Cursor.executepsycopg/cursor.py:1138 ms13.5%
Connection.waitpsycopg/connection.py:4958 ms13.5%
BaseCursor._execute_genpsycopg/_cursor_base.py:2068 ms13.5%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2868 ms13.5%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:788 ms13.5%
TranslateNode.renderdjango/templatetags/i18n.py:902 ms3.4%
indexaccounts/views.py:421 instances = Instance.objects.filter(deleted_at__isnull=True).values_list("instance", flat=True)2 ms3.4%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms3.4%
QuerySet.filterdjango/db/models/query.py:16762 ms3.4%
QuerySet._filter_or_excludedjango/db/models/query.py:16942 ms3.4%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:17042 ms3.4%
indexaccounts/views.py:434 reverse("index", kwargs={"lang": lang}), request.GET, ["t", "f", "post"]2 ms3.4%
ClientHandler.__call__django/test/client.py:1732 ms3.4%
BaseHandler.load_middlewaredjango/core/handlers/base.py:632 ms3.4%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:1042 ms3.4%
WhiteNoise.add_fileswhitenoise/base.py:1082 ms3.4%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1202 ms3.4%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1312 ms3.4%
WhiteNoise.get_static_filewhitenoise/base.py:2112 ms3.4%
WhiteNoise.add_mime_headerswhitenoise/base.py:2302 ms3.4%
teardown0.35 ms0.6%
Estimated from 30 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

accounts/views.py:425
return render(
index · Templates
43 ms
accounts/templatetags/account_extras.py:36
for instance in instances:
instances_datalist · Database
8 ms
accounts/tests.py:550
response = self.client.get(url)
TestAccountIndexRobots.assert_noindex · Libraries
2 ms
accounts/views.py:421
instances = Instance.objects.filter(deleted_at__isnull=True).values_list("instance", flat=True)
index · Database
2 ms
accounts/views.py:434
reverse("index", kwargs={"lang": lang}), request.GET, ["t", "f", "post"]
index · App code
2 ms

Fixtures

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

Database

8 queries · 3 ms
No repeated queries.

Biggest pieces of work

call test body
accounts/tests.py:596
57 ms
teardown pytest internals 0.35 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 58 ms 28600ed main Profile
2 weeks, 5 days ago CI github-actions:test passed 113 ms 600b717 main Profile
2 weeks, 6 days ago CI github-actions:test passed 95 ms c28a326 main Profile
3 weeks ago CI github-actions:test passed 53 ms 9b8826a main Profile
3 weeks ago CI github-actions:test passed 127 ms 4f01055 main Profile
1 month ago CI github-actions:test passed 133 ms 8ab642e main Profile
1 month ago CI github-actions:test passed 85 ms 9b75244 main Profile
1 month ago CI github-actions:test passed 119 ms 9603516 main Profile
1 month, 1 week ago CI github-actions:test passed 143 ms 615a272 main Profile
1 month, 1 week ago CI github-actions:test passed 59 ms d923a46 main Profile
1 month, 1 week ago CI github-actions:test passed 107 ms 82997f8 main Profile
1 month, 1 week ago CI github-actions:test passed 243 ms 623aa3e main Profile
1 month, 1 week ago CI github-actions:test passed 198 ms ab6465a main Profile
1 month, 1 week ago CI github-actions:test passed 101 ms 0c23747 main Run