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

TestParseHandle::test_invalid_handles

First seen 15 hours ago in 0c23747
CI github-actions:test 4 runs
Average
28 ms
median 30 ms
max 34 ms
Phases
Setup 19 ms Call 7 ms Teardown 2 ms
Categories
Database 24 ms Other (pytest, Unsampled) 4 ms

5 database queries per run

Needs 0 KB of memory (max 0 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 10 hours ago · open run
Hide pytest frames
setup14 ms75.5%
CallInfo.from_call_pytest/runner.py:36114 ms75.5%
call_and_report.<locals>.<lambda>_pytest/runner.py:25014 ms75.5%
HookCaller.__call__pluggy/_hooks.py:51214 ms75.5%
PluginManager._hookexecpluggy/_manager.py:12014 ms75.5%
_multicallpluggy/_callers.py:12114 ms75.5%
pytest_runtest_setup_pytest/runner.py:17014 ms75.5%
SetupState.setup_pytest/runner.py:53614 ms75.5%
TestCaseFunction.setup_pytest/unittest.py:24814 ms75.5%
Function.setup_pytest/python.py:171014 ms75.5%
TopRequest._fillfixtures_pytest/fixtures.py:80614 ms75.5%
FixtureRequest.getfixturevalue_pytest/fixtures.py:63014 ms75.5%
FixtureRequest._get_active_fixturedef_pytest/fixtures.py:72613 ms69.7%
FixtureDef.execute_pytest/fixtures.py:123213 ms69.7%
HookCaller.__call__pluggy/_hooks.py:51213 ms69.7%
PluginManager._hookexecpluggy/_manager.py:12013 ms69.7%
_multicallpluggy/_callers.py:12113 ms69.7%
pytest_fixture_setup_pytest/fixtures.py:132813 ms69.7%
call_fixture_func_pytest/fixtures.py:99813 ms69.7%
UnitTestCase._register_unittest_setup_class_fixture.<locals>.unittest_setup_class_fixture_pytest/unittest.py:15913 ms69.7%
TestCase.setUpClassdjango/test/testcases.py:1426 cls.cls_atomics = cls._enter_atomics()13 ms69.7%
TestCase._enter_atomicsdjango/test/testcases.py:139913 ms69.7%
Atomic.__enter__django/db/transaction.py:21013 ms69.7%
BaseDatabaseWrapper.get_autocommitdjango/db/backends/base/base.py:45413 ms69.7%
SimpleTestCase.ensure_connection_patch_method.<locals>.patched_ensure_connectiondjango/test/testcases.py:30413 ms69.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2613 ms69.7%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:27913 ms69.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2613 ms69.7%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:25613 ms69.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2613 ms69.7%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:34513 ms69.7%
Connection.connectpsycopg/connection.py:10913 ms69.7%
wait_connpsycopg/waiting.py:1417 ms40.7%
EpollSelector.select<stdlib>/selectors.py:4527 ms40.7%
wait_connpsycopg/waiting.py:1454 ms23.2%
BaseConnection._connect_genpsycopg/_connection_base.py:4394 ms23.2%
wait_connpsycopg/waiting.py:1361 ms5.8%
BaseConnection._connect_genpsycopg/_connection_base.py:4391 ms5.8%
FixtureRequest._get_active_fixturedef_pytest/fixtures.py:7111 ms5.8%
SubRequest.__init___pytest/fixtures.py:8271 ms5.8%
FixtureRequest.__init___pytest/fixtures.py:4561 ms5.8%
call4 ms22.1%
CallInfo.from_call_pytest/runner.py:3614 ms22.1%
call_and_report.<locals>.<lambda>_pytest/runner.py:2504 ms22.1%
HookCaller.__call__pluggy/_hooks.py:5124 ms22.1%
PluginManager._hookexecpluggy/_manager.py:1204 ms22.1%
_multicallpluggy/_callers.py:1214 ms22.1%
pytest_runtest_call_pytest/runner.py:1844 ms22.1%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:6144 ms22.1%
SimpleTestCase.__call__django/test/testcases.py:3144 ms22.1%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3602 ms11.0%
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%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 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%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3722 ms11.0%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()2 ms11.0%
TestCase._fixture_teardowndjango/test/testcases.py:14970.99 ms5.5%
TestCase._should_check_constraintsdjango/test/testcases.py:15060.99 ms5.5%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:5040.99 ms5.5%
Cursor.executepsycopg/cursor.py:1130.99 ms5.5%
Connection.waitpsycopg/connection.py:4950.99 ms5.5%
BaseCursor._execute_genpsycopg/_cursor_base.py:2060.99 ms5.5%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2860.99 ms5.5%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:780.99 ms5.5%
TestCase._fixture_teardowndjango/test/testcases.py:15000.99 ms5.5%
TestCase._rollback_atomicsdjango/test/testcases.py:14080.99 ms5.5%
Atomic.__exit__django/db/transaction.py:2950.99 ms5.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:260.99 ms5.5%
BaseDatabaseWrapper.savepoint_rollbackdjango/db/backends/base/base.py:4130.99 ms5.5%
BaseDatabaseWrapper._savepoint_rollbackdjango/db/backends/base/base.py:3710.99 ms5.5%
CursorWrapper.executedjango/db/backends/utils.py:790.99 ms5.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:920.99 ms5.5%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1020.99 ms5.5%
QueryStats.addflakytest/profiling/dbtrack.py:380.99 ms5.5%
normalize_sqlflakytest/profiling/dbtrack.py:220.99 ms5.5%
Estimated from 17 samples; phase durations are exact. Frames from pytest and pluggy are shown .

Fixtures

Exact setup time
_unittest_setUpClass_fixture_TestParseHandle class 12 ms
_django_setup_unittest class 0.28 ms
_django_db_marker function 0.05 ms
_template_string_if_invalid_marker function 0.04 ms
_dj_autoclear_mailbox function 0.04 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.02 ms
monkeypatch function 0.02 ms

Database

5 queries · 1 ms
No repeated queries.

Biggest pieces of work

setup setUpClass
django/test/testcases.py:1426
13 ms
call _pre_setup
django/test/testcases.py:1167
2 ms
call _post_teardown
django/test/testcases.py:1243
2 ms
setup pytest internals 1 ms

Reliability

5 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 5 results, oldest first in the strip
When Environment Outcome Duration Commit
10 hours ago CI github-actions:test passed 18 ms d923a46 main Profile
10 hours ago CI github-actions:test passed 34 ms 82997f8 main Profile
10 hours ago CI github-actions:test passed 32 ms 623aa3e main Profile
15 hours ago CI github-actions:test passed 28 ms ab6465a main Profile
15 hours ago CI github-actions:test passed 4 ms 0c23747 main Run