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

TestAccountIndexRobots::test_full_facet_product_is_noindex

First seen 1 month, 1 week ago in 0c23747
CI github-actions:test 13 runs
Average
139 ms
median 121 ms
max 287 ms
Phases
Setup 2 ms Call 137 ms Teardown 0.31 ms
Categories
Database 23 ms App code 0.08 ms Other (Libraries, Templates, pytest, Unsampled, ...) 116 ms

8 database queries per run

Needs 11 KB of memory (max 76 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 2 weeks ago · open run
Show pytest frames
call120 ms99.2%
TestAccountIndexRobots.test_full_facet_product_is_noindexaccounts/tests.py:582 self.assert_noindex("/python/?f=best&t=human&o=followers&p=all&post=recently")119 ms98.3%
TestAccountIndexRobots.assert_noindexaccounts/tests.py:550 response = self.client.get(url)119 ms98.3%
Client.getdjango/test/client.py:1133119 ms98.3%
RequestFactory.getdjango/test/client.py:475119 ms98.3%
RequestFactory.genericdjango/test/client.py:671119 ms98.3%
Client.requestdjango/test/client.py:1091119 ms98.3%
ClientHandler.__call__django/test/client.py:18676 ms62.7%
BaseHandler.get_responsedjango/core/handlers/base.py:14276 ms62.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5676 ms62.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38076 ms62.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5676 ms62.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38076 ms62.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5676 ms62.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38076 ms62.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5676 ms62.7%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12376 ms62.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5676 ms62.7%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14576 ms62.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5676 ms62.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38076 ms62.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5676 ms62.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38076 ms62.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5676 ms62.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38076 ms62.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5676 ms62.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38076 ms62.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5676 ms62.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38076 ms62.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5676 ms62.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38076 ms62.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5676 ms62.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38076 ms62.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5676 ms62.7%
BaseHandler._get_responsedjango/core/handlers/base.py:19976 ms62.7%
indexaccounts/views.py:425 return render(76 ms62.7%
renderdjango/shortcuts.py:2775 ms61.9%
render_to_stringdjango/template/loader.py:6275 ms61.9%
Template.renderdjango/template/backends/django.py:10775 ms61.9%
Template.renderdjango/template/base.py:17575 ms61.9%
instrumented_test_renderdjango/test/utils.py:11375 ms61.9%
NodeList.renderdjango/template/base.py:110875 ms61.9%
Node.render_annotateddjango/template/base.py:106975 ms61.9%
ExtendsNode.renderdjango/template/loader_tags.py:16075 ms61.9%
instrumented_test_renderdjango/test/utils.py:11375 ms61.9%
NodeList.renderdjango/template/base.py:110875 ms61.9%
Node.render_annotateddjango/template/base.py:106975 ms61.9%
BlockNode.renderdjango/template/loader_tags.py:6672 ms59.3%
NodeList.renderdjango/template/base.py:110872 ms59.3%
Node.render_annotateddjango/template/base.py:106972 ms59.3%
ForNode.renderdjango/template/defaulttags.py:24969 ms56.8%
Node.render_annotateddjango/template/base.py:106969 ms56.8%
IfNode.renderdjango/template/defaulttags.py:33364 ms52.5%
NodeList.renderdjango/template/base.py:110864 ms52.5%
Node.render_annotateddjango/template/base.py:106964 ms52.5%
URLNode.renderdjango/template/defaulttags.py:51164 ms52.5%
reversedjango/urls/base.py:4964 ms52.5%
VariableNode.renderdjango/template/base.py:11733 ms2.5%
render_value_in_contextdjango/template/base.py:11473 ms2.5%
localizedjango/utils/formats.py:2083 ms2.5%
number_formatdjango/utils/formats.py:1823 ms2.5%
formatdjango/utils/numberformat.py:373 ms2.5%
keep_lazy.<locals>.decorator.<locals>.wrapperdjango/utils/functional.py:2313 ms2.5%
mark_safedjango/utils/safestring.py:743 ms2.5%
IfNode.renderdjango/template/defaulttags.py:3262 ms1.7%
infix.<locals>.Operator.evaldjango/template/smartif.py:612 ms1.7%
<lambda>django/template/smartif.py:1062 ms1.7%
TemplateLiteral.evaldjango/template/defaulttags.py:9182 ms1.7%
FilterExpression.resolvedjango/template/base.py:8212 ms1.7%
IfNode.renderdjango/template/defaulttags.py:3333 ms2.5%
NodeList.renderdjango/template/base.py:11083 ms2.5%
Node.render_annotateddjango/template/base.py:10693 ms2.5%
CottonComponentNode.renderdjango_cotton/templatetags/_component.py:2432 ms1.7%
CottonComponentNode._get_cached_templatedjango_cotton/templatetags/_component.py:2932 ms1.7%
get_templatedjango/template/loader.py:152 ms1.7%
DjangoTemplates.get_templatedjango/template/backends/django.py:792 ms1.7%
Engine.get_templatedjango/template/engine.py:1862 ms1.7%
Engine.find_templatedjango/template/engine.py:1592 ms1.7%
Loader.get_templatedjango/template/loaders/cached.py:572 ms1.7%
Loader.get_templatedjango/template/loaders/base.py:231 ms0.8%
Loader.get_contentsdjango/template/loaders/cached.py:261 ms0.8%
Loader.get_contentsdjango_cotton/cotton_loader.py:241 ms0.8%
CottonTemplateCacheHandler.get_cache_keydjango_cotton/cotton_loader.py:1161 ms0.8%
getmtime<frozen genericpath>:921 ms0.8%
Loader.get_templatedjango/template/loaders/base.py:281 ms0.8%
__init____init__:-11 ms0.8%
Template.__init__django/template/base.py:1581 ms0.8%
Template.compile_nodelistdjango/template/base.py:2001 ms0.8%
Parser.parsedjango/template/base.py:5551 ms0.8%
Parser.compile_filterdjango/template/base.py:6941 ms0.8%
__init____init__:-11 ms0.8%
FilterExpression.__init__django/template/base.py:7811 ms0.8%
__init____init__:-11 ms0.8%
Variable.__init__django/template/base.py:9231 ms0.8%
keep_lazy.<locals>.decorator.<locals>.wrapperdjango/utils/functional.py:2261 ms0.8%
StaticNode.renderdjango/templatetags/static.py:1161 ms0.8%
StaticNode.urldjango/templatetags/static.py:1131 ms0.8%
StaticNode.handle_simpledjango/templatetags/static.py:1291 ms0.8%
URLMixin.urldebug_toolbar/panels/staticfiles.py:201 ms0.8%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2351 ms0.8%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2161 ms0.8%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2041 ms0.8%
IfNode.renderdjango/template/defaulttags.py:3332 ms1.7%
NodeList.renderdjango/template/base.py:11082 ms1.7%
Node.render_annotateddjango/template/base.py:10692 ms1.7%
IncludeNode.renderdjango/template/loader_tags.py:2112 ms1.7%
Template.renderdjango/template/base.py:1772 ms1.7%
instrumented_test_renderdjango/test/utils.py:1132 ms1.7%
NodeList.renderdjango/template/base.py:11082 ms1.7%
Node.render_annotateddjango/template/base.py:10692 ms1.7%
SimpleNode.renderdjango/template/library.py:3432 ms1.7%
instances_datalistaccounts/templatetags/account_extras.py:34 instances = Instance.objects.filter(deleted_at__isnull=True).values_list("domain", flat=True)1 ms0.8%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms0.8%
BaseManager.get_querysetdjango/db/models/manager.py:1551 ms0.8%
QuerySet.__init__django/db/models/query.py:3371 ms0.8%
__init____init__:-11 ms0.8%
Query.__init__django/db/models/sql/query.py:3311 ms0.8%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances:1 ms0.8%
QuerySet.__iter__django/db/models/query.py:4391 ms0.8%
QuerySet._fetch_alldjango/db/models/query.py:22621 ms0.8%
FlatValuesListIterable.__iter__django/db/models/query.py:3021 ms0.8%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15741 ms0.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms0.8%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.8%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.8%
Cursor.executepsycopg/cursor.py:1131 ms0.8%
Connection.waitpsycopg/connection.py:4951 ms0.8%
CsrfTokenNode.renderdjango/template/defaulttags.py:781 ms0.8%
new_method_proxy.<locals>.innerdjango/utils/functional.py:2511 ms0.8%
SimpleLazyObject._setupdjango/utils/functional.py:4041 ms0.8%
csrf.<locals>._get_valdjango/template/context_processors.py:261 ms0.8%
get_tokendjango/middleware/csrf.py:1141 ms0.8%
_mask_cipher_secretdjango/middleware/csrf.py:641 ms0.8%
_get_new_csrf_stringdjango/middleware/csrf.py:561 ms0.8%
get_random_stringdjango/utils/crypto.py:781 ms0.8%
get_random_string.<locals>.<genexpr>django/utils/crypto.py:781 ms0.8%
Random.choice<stdlib>/random.py:3541 ms0.8%
Random._randbelow_with_getrandbits<stdlib>/random.py:2491 ms0.8%
SystemRandom.getrandbits<stdlib>/random.py:9151 ms0.8%
renderdjango/shortcuts.py:281 ms0.8%
HttpResponse.__init__django/http/response.py:3891 ms0.8%
HttpResponse.contentdjango/http/response.py:4211 ms0.8%
HttpResponseBase.make_bytesdjango/http/response.py:3291 ms0.8%
ClientHandler.__call__django/test/client.py:17343 ms35.6%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6343 ms35.6%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10443 ms35.6%
WhiteNoise.add_fileswhitenoise/base.py:10843 ms35.6%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12043 ms35.6%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13143 ms35.6%
WhiteNoise.get_static_filewhitenoise/base.py:21742 ms34.7%
StaticFile.__init__whitenoise/responders.py:7532 ms26.3%
Headers.__getitem__<stdlib>/wsgiref/headers.py:8332 ms26.3%
Headers.get<stdlib>/wsgiref/headers.py:10432 ms26.3%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:5032 ms26.3%
StaticFile.__init__whitenoise/responders.py:735 ms4.2%
StaticFile.get_headerswhitenoise/responders.py:1763 ms2.5%
formatdate<stdlib>/email/utils.py:2661 ms0.8%
format_datetime<stdlib>/email/utils.py:2751 ms0.8%
StaticFile.get_headerswhitenoise/responders.py:1801 ms0.8%
StaticFile.__init__whitenoise/responders.py:742 ms1.7%
parsedate<stdlib>/email/_parseaddr.py:1852 ms1.7%
parsedate_tz<stdlib>/email/_parseaddr.py:501 ms0.8%
_parsedate_tz<stdlib>/email/_parseaddr.py:1131 ms0.8%
StaticFile.__init__whitenoise/responders.py:762 ms1.7%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1882 ms1.7%
Headers.__contains__<stdlib>/wsgiref/headers.py:871 ms0.8%
Headers.get<stdlib>/wsgiref/headers.py:1051 ms0.8%
WhiteNoise.get_static_filewhitenoise/base.py:2121 ms0.8%
WhiteNoise.add_cache_headerswhitenoise/base.py:2331 ms0.8%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1801 ms0.8%
basename<frozen posixpath>:1721 ms0.8%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()1 ms0.8%
TestCase._fixture_teardowndjango/test/testcases.py:14981 ms0.8%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4951 ms0.8%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.8%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms0.8%
Cursor.executepsycopg/cursor.py:1131 ms0.8%
Connection.waitpsycopg/connection.py:4951 ms0.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.8%
Estimated from 117 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
74 ms
accounts/tests.py:550
response = self.client.get(url)
TestAccountIndexRobots.assert_noindex · Libraries
43 ms
accounts/templatetags/account_extras.py:34
instances = Instance.objects.filter(deleted_at__isnull=True).values_list("domain", flat=True)
instances_datalist · Database
1 ms
accounts/templatetags/account_extras.py:36
for instance in instances:
instances_datalist · Database
1 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_set_urlconf function 0.03 ms
_django_isolate_apps function 0.03 ms
_django_clear_site_cache function 0.02 ms
monkeypatch function 0.02 ms

Database

8 queries · 10 ms
No repeated queries.

Biggest pieces of work

call test body
accounts/tests.py:582
119 ms
call _post_teardown
django/test/testcases.py:1243
1 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 121 ms 28600ed main Profile
2 weeks, 5 days ago CI github-actions:test passed 123 ms 600b717 main Profile
2 weeks, 6 days ago CI github-actions:test passed 104 ms c28a326 main Profile
3 weeks ago CI github-actions:test passed 55 ms 9b8826a main Profile
3 weeks ago CI github-actions:test passed 126 ms 4f01055 main Profile
1 month ago CI github-actions:test passed 174 ms 8ab642e main Profile
1 month ago CI github-actions:test passed 113 ms 9b75244 main Profile
1 month ago CI github-actions:test passed 111 ms 9603516 main Profile
1 month, 1 week ago CI github-actions:test passed 108 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 229 ms 82997f8 main Profile
1 month, 1 week ago CI github-actions:test passed 200 ms 623aa3e main Profile
1 month, 1 week ago CI github-actions:test passed 287 ms ab6465a main Profile
1 month, 1 week ago CI github-actions:test passed 116 ms 0c23747 main Run