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

TestConferenceOgImage::test_signature_changes_with_visible_content

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

6 database queries per run

Needs 10 KB of memory (max 128 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 2 weeks ago · open run
Show pytest frames
setup1 ms15.5%
__init____init__:-11 ms15.5%
signature<stdlib>/inspect.py:33431 ms15.5%
Signature.from_callable<stdlib>/inspect.py:30581 ms15.5%
_signature_from_callable<stdlib>/inspect.py:25211 ms15.5%
call3 ms49.6%
TestConferenceOgImage.test_signature_changes_with_visible_contentconfs/tests.py:1431 conference = self._conference()2 ms33.0%
TestConferenceOgImage._conferenceconfs/tests.py:1428 return baker.make(Conference, **defaults)2 ms33.0%
makemodel_bakery/baker.py:1752 ms33.0%
Baker.makemodel_bakery/baker.py:4542 ms33.0%
Baker._makemodel_bakery/baker.py:5422 ms33.0%
Baker.instancemodel_bakery/baker.py:6592 ms33.0%
Model.savedjango/db/models/base.py:9042 ms33.0%
Model.save_basedjango/db/models/base.py:9962 ms33.0%
Model._save_tabledjango/db/models/base.py:11992 ms33.0%
Model._do_insertdjango/db/models/base.py:12512 ms33.0%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms33.0%
QuerySet._insertdjango/db/models/query.py:21412 ms33.0%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19362 ms33.0%
CursorWrapper.executedjango/db/backends/utils.py:792 ms33.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms33.0%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms33.0%
Cursor.executepsycopg/cursor.py:1132 ms33.0%
Connection.waitpsycopg/connection.py:4952 ms33.0%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()1 ms16.5%
TestCase._fixture_teardowndjango/test/testcases.py:14981 ms16.5%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4951 ms16.5%
CursorWrapper.executedjango/db/backends/utils.py:791 ms16.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms16.5%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms16.5%
Cursor.executepsycopg/cursor.py:1131 ms16.5%
Connection.waitpsycopg/connection.py:4951 ms16.5%
teardown2 ms34.9%
TestCase.tearDownClassdjango/test/testcases.py:1458 conn.close()2 ms23.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms23.3%
BaseDatabaseWrapper.closedjango/db/backends/base/base.py:3552 ms23.3%
DatabaseWrapper._closedjango/db/backends/postgresql/base.py:4082 ms23.3%
Connection.closepsycopg/connection.py:2012 ms23.3%
TestCase.tearDownClassdjango/test/testcases.py:1456 cls._rollback_atomics(cls.cls_atomics)0.78 ms11.6%
TestCase._rollback_atomicsdjango/test/testcases.py:14080.78 ms11.6%
Atomic.__exit__django/db/transaction.py:3070.78 ms11.6%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:260.78 ms11.6%
BaseDatabaseWrapper.rollbackdjango/db/backends/base/base.py:3370.78 ms11.6%
BaseDatabaseWrapper._rollbackdjango/db/backends/base/base.py:3080.78 ms11.6%
Connection.rollbackpsycopg/connection.py:3140.78 ms11.6%
Connection.waitpsycopg/connection.py:4950.78 ms11.6%
Estimated from 7 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
2 ms

Fixtures

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

Database

6 queries · 2 ms
No repeated queries.

Biggest pieces of work

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