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

TestConferenceOgImage::test_signature_changes_with_visible_content

First seen 3 weeks ago in 0c23747
CI github-actions:test 11 runs
Average
12 ms
median 11 ms
max 22 ms
Phases
Setup 2 ms Call 7 ms Teardown 3 ms
Categories
Database 9 ms Other (Unsampled, pytest, Libraries) 4 ms

6 database queries per run

Needs 12 KB of memory (max 128 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 7 hours ago · open run
Show pytest frames
setup2 ms12.7%
_dj_autoclear_mailboxpytest_django/plugin.py:638 if not django_settings_is_configured():0.81 ms4.2%
__init____init__:-10.81 ms4.2%
call10 ms54.9%
TestConferenceOgImage.test_signature_changes_with_visible_contentconfs/tests.py:1431 conference = self._conference()6 ms32.9%
TestConferenceOgImage._conferenceconfs/tests.py:1428 return baker.make(Conference, **defaults)6 ms32.9%
makemodel_bakery/baker.py:1756 ms32.9%
Baker.makemodel_bakery/baker.py:4546 ms32.9%
Baker._makemodel_bakery/baker.py:5426 ms32.9%
Baker.instancemodel_bakery/baker.py:6596 ms32.9%
Model.savedjango/db/models/base.py:9046 ms32.9%
Model.save_basedjango/db/models/base.py:9966 ms32.9%
Model._save_tabledjango/db/models/base.py:11996 ms32.9%
Model._do_insertdjango/db/models/base.py:12516 ms32.9%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:876 ms32.9%
QuerySet._insertdjango/db/models/query.py:21416 ms32.9%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19356 ms32.9%
SQLInsertCompiler.as_sqldjango/db/models/sql/compiler.py:18246 ms32.9%
SQLInsertCompiler.assemble_as_sqldjango/db/backends/postgresql/compiler.py:555 ms27.5%
SQLInsertCompiler.assemble_as_sqldjango/db/models/sql/compiler.py:17765 ms27.5%
SQLInsertCompiler.prepare_valuedjango/db/models/sql/compiler.py:17471 ms5.5%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()2 ms11.0%
TestCase._fixture_setupdjango/test/testcases.py:14812 ms11.0%
TestCase._enter_atomicsdjango/test/testcases.py:13992 ms11.0%
Atomic.__enter__django/db/transaction.py:2232 ms11.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms11.0%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4002 ms11.0%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3672 ms11.0%
CursorWrapper.executedjango/db/backends/utils.py:792 ms11.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms11.0%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms11.0%
Cursor.executepsycopg/cursor.py:1132 ms11.0%
Connection.waitpsycopg/connection.py:4952 ms11.0%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms11.0%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms11.0%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms11.0%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()2 ms11.0%
TestCase._fixture_teardowndjango/test/testcases.py:14971 ms5.5%
TestCase._should_check_constraintsdjango/test/testcases.py:15061 ms5.5%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:5041 ms5.5%
Cursor.executepsycopg/cursor.py:1131 ms5.5%
Connection.waitpsycopg/connection.py:4951 ms5.5%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms5.5%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms5.5%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms5.5%
TestCase._fixture_teardowndjango/test/testcases.py:14981 ms5.5%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4961 ms5.5%
CursorWrapper.executedjango/db/backends/utils.py:791 ms5.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms5.5%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms5.5%
Cursor.executepsycopg/cursor.py:1131 ms5.5%
Connection.waitpsycopg/connection.py:4951 ms5.5%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms5.5%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms5.5%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms5.5%
teardown6 ms32.4%
TestCase.tearDownClassdjango/test/testcases.py:1458 conn.close()5 ms25.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:265 ms25.9%
BaseDatabaseWrapper.closedjango/db/backends/base/base.py:3555 ms25.9%
DatabaseWrapper._closedjango/db/backends/postgresql/base.py:4085 ms25.9%
Connection.closepsycopg/connection.py:2015 ms25.9%
TestCase.tearDownClassdjango/test/testcases.py:1456 cls._rollback_atomics(cls.cls_atomics)1 ms6.5%
TestCase._rollback_atomicsdjango/test/testcases.py:14081 ms6.5%
Atomic.__exit__django/db/transaction.py:3071 ms6.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms6.5%
BaseDatabaseWrapper.rollbackdjango/db/backends/base/base.py:3371 ms6.5%
BaseDatabaseWrapper._rollbackdjango/db/backends/base/base.py:3081 ms6.5%
Connection.rollbackpsycopg/connection.py:3141 ms6.5%
Connection.waitpsycopg/connection.py:4951 ms6.5%
BaseConnection._rollback_genpsycopg/_connection_base.py:6171 ms6.5%
BaseConnection._exec_commandpsycopg/_connection_base.py:4741 ms6.5%
Estimated from 18 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

confs/tests.py:1428
return baker.make(Conference, **defaults)
TestConferenceOgImage._conference · Database
6 ms

Fixtures

Exact setup time
_django_db_marker function 0.08 ms
_template_string_if_invalid_marker function 0.06 ms
_dj_autoclear_mailbox function 0.06 ms
_django_isolate_apps function 0.06 ms
_django_set_urlconf 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

6 queries · 4 ms
No repeated queries.

Biggest pieces of work

call test body
confs/tests.py:1431
6 ms
teardown tearDownClass
django/test/testcases.py:1458
6 ms
call _pre_setup
django/test/testcases.py:1167
2 ms
call _post_teardown
django/test/testcases.py:1243
2 ms
setup fixture _dj_autoclear_mailbox
pytest_django/plugin.py:638
0.81 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 19 ms c28a326 main Profile
16 hours ago CI github-actions:test passed 11 ms 9b8826a main Profile
22 hours ago CI github-actions:test passed 18 ms 4f01055 main Profile
1 week, 5 days ago CI github-actions:test passed 14 ms 8ab642e main Profile
2 weeks, 2 days ago CI github-actions:test passed 5 ms 9b75244 main Profile
2 weeks, 2 days ago CI github-actions:test passed 12 ms 9603516 main Profile
2 weeks, 4 days ago CI github-actions:test passed 5 ms 615a272 main Profile
3 weeks ago CI github-actions:test passed 10 ms d923a46 main Profile
3 weeks ago CI github-actions:test passed 9 ms 82997f8 main Profile
3 weeks ago CI github-actions:test passed 22 ms 623aa3e main Profile
3 weeks ago CI github-actions:test passed 10 ms ab6465a main Profile
3 weeks ago CI github-actions:test passed 3 ms 0c23747 main Run