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

TestShareStarterPack::test_not_existing_starter_pack

First seen 1 year, 10 months ago in 1b5db0c
CI github-actions:test 4 runs
Average
165 ms
median 195 ms
max 226 ms
Phases
Setup 2 ms Call 163 ms Teardown 0.29 ms
Categories
Database 9 ms Other (Libraries, pytest, Unsampled) 155 ms

6 database queries per run

Needs 177 KB of memory (max 676 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 8 hours ago · open run
Show pytest frames
call42 ms97.9%
TestShareStarterPack.test_not_existing_starter_packstarter_packs/tests.py:676 response = self.client.get(reverse("share_starter_pack", args=["not-existing"]))36 ms82.9%
Client.getdjango/test/client.py:113336 ms82.9%
RequestFactory.getdjango/test/client.py:47536 ms82.9%
RequestFactory.genericdjango/test/client.py:67136 ms82.9%
Client.requestdjango/test/client.py:109136 ms82.9%
ClientHandler.__call__django/test/client.py:17336 ms82.9%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6336 ms82.9%
__init____init__:-136 ms82.9%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10429 ms67.8%
WhiteNoise.add_fileswhitenoise/base.py:10829 ms67.8%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12020 ms45.2%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13120 ms45.2%
WhiteNoise.get_static_filewhitenoise/base.py:21713 ms30.1%
StaticFile.__init__whitenoise/responders.py:737 ms15.1%
StaticFile.get_headerswhitenoise/responders.py:1703 ms7.5%
StaticFile.get_headerswhitenoise/responders.py:1713 ms7.5%
StaticFile.__init__whitenoise/responders.py:773 ms7.5%
StaticFile.get_alternativeswhitenoise/responders.py:2043 ms7.5%
compile<stdlib>/re/__init__.py:2893 ms7.5%
<GC>~3 ms7.5%
StaticFile.__init__whitenoise/responders.py:763 ms7.5%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1883 ms7.5%
WhiteNoise.get_static_filewhitenoise/base.py:2127 ms15.1%
WhiteNoise.add_cache_headerswhitenoise/base.py:2337 ms15.1%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1763 ms7.5%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1973 ms7.5%
URLMixin.urldebug_toolbar/panels/staticfiles.py:203 ms7.5%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11510 ms22.6%
scantreewhitenoise/base.py:2717 ms15.1%
scantreewhitenoise/base.py:2717 ms15.1%
scantreewhitenoise/base.py:2717 ms15.1%
scantreewhitenoise/base.py:2717 ms15.1%
scantreewhitenoise/base.py:2733 ms7.5%
scantreewhitenoise/base.py:2713 ms7.5%
scantreewhitenoise/base.py:2733 ms7.5%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:677 ms15.1%
LazyObject.__getattribute__django/utils/functional.py:2803 ms7.5%
WhiteNoise.add_fileswhitenoise/base.py:1083 ms7.5%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1153 ms7.5%
scantreewhitenoise/base.py:2713 ms7.5%
scantreewhitenoise/base.py:2713 ms7.5%
scantreewhitenoise/base.py:2733 ms7.5%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()7 ms15.1%
TestCase._fixture_teardowndjango/test/testcases.py:14983 ms7.5%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4953 ms7.5%
CursorWrapper.executedjango/db/backends/utils.py:793 ms7.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms7.5%
CursorWrapper._executedjango/db/backends/utils.py:1033 ms7.5%
Cursor.executepsycopg/cursor.py:1133 ms7.5%
Connection.waitpsycopg/connection.py:4953 ms7.5%
BaseCursor._execute_genpsycopg/_cursor_base.py:2063 ms7.5%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2863 ms7.5%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:783 ms7.5%
TestCase._fixture_teardowndjango/test/testcases.py:15003 ms7.5%
TestCase._rollback_atomicsdjango/test/testcases.py:14083 ms7.5%
Atomic.__exit__django/db/transaction.py:2953 ms7.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:263 ms7.5%
BaseDatabaseWrapper.savepoint_rollbackdjango/db/backends/base/base.py:4133 ms7.5%
BaseDatabaseWrapper._savepoint_rollbackdjango/db/backends/base/base.py:3713 ms7.5%
CursorWrapper.executedjango/db/backends/utils.py:793 ms7.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms7.5%
CursorWrapper._executedjango/db/backends/utils.py:1033 ms7.5%
Cursor.executepsycopg/cursor.py:1133 ms7.5%
Connection.waitpsycopg/connection.py:4953 ms7.5%
BaseCursor._execute_genpsycopg/_cursor_base.py:2063 ms7.5%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2863 ms7.5%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:783 ms7.5%
Estimated from 13 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

starter_packs/tests.py:676
response = self.client.get(reverse("share_starter_pack", args=["not-existing"]))
TestShareStarterPack.test_not_existing_starter_pack · Libraries
36 ms

Fixtures

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

Database

6 queries · 2 ms
No repeated queries.

Biggest pieces of work

call test body
starter_packs/tests.py:676
36 ms
call _post_teardown
django/test/testcases.py:1243
7 ms

Reliability

5 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 50 results, oldest first in the strip
When Environment Outcome Duration Commit
8 hours ago CI github-actions:test passed 43 ms d923a46 main Profile
8 hours ago CI github-actions:test passed 226 ms 82997f8 main Profile
8 hours ago CI github-actions:test passed 174 ms 623aa3e main Profile
13 hours ago CI github-actions:test passed 215 ms ab6465a main Profile
14 hours ago CI github-actions:test passed 69 ms 0c23747 main Run
3 months, 3 weeks ago CI github-actions passed 48 ms 69d78ea HEAD Run
3 months, 3 weeks ago CI github-actions passed 68 ms 8fac7b5 main Run
3 months, 3 weeks ago CI github-actions passed 67 ms 36b9579 main Run
3 months, 3 weeks ago CI github-actions passed 79 ms 553d048 main Run
3 months, 3 weeks ago CI github-actions passed 67 ms 8eb0f44 HEAD Run
3 months, 3 weeks ago CI github-actions passed 79 ms e0fb3ac HEAD Run
3 months, 3 weeks ago CI github-actions passed 66 ms a849b58 HEAD Run
3 months, 3 weeks ago CI github-actions passed 74 ms 6418e05 HEAD Run
3 months, 3 weeks ago CI github-actions passed 81 ms 5b9b309 main Run
3 months, 4 weeks ago CI github-actions passed 83 ms 1f2c5a6 main Run
3 months, 4 weeks ago CI github-actions passed 76 ms 5ec7fa8 main Run
3 months, 4 weeks ago CI github-actions passed 78 ms 1e42064 main Run
3 months, 4 weeks ago CI github-actions passed 73 ms fcb1b79 main Run
3 months, 4 weeks ago CI github-actions passed 82 ms 1460ac2 HEAD Run
3 months, 4 weeks ago CI github-actions passed 78 ms 8129f09 HEAD Run