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

TestCreateConference::test_requires_login

First seen 3 weeks ago in 0c23747
CI github-actions:test 11 runs
Average
666 ms
median 549 ms
max 1.17 s
Phases
Setup 2 ms Call 663 ms Teardown 0.32 ms
Categories
Password hashing 575 ms Database 5 ms Other (Libraries, pytest, Unsampled) 85 ms

6 database queries per run

Needs 1 KB of memory (max 8 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 7 hours ago · open run
Show pytest frames
call597 ms99.7%
TestCreateConference.setUpconfs/tests.py:1044 self.user = User.objects.create_user("alice", password="pw")485 ms81.0%
UserManager.create_userdjango/contrib/auth/models.py:180485 ms81.0%
UserManager._create_userdjango/contrib/auth/models.py:167484 ms80.8%
UserManager._create_user_objectdjango/contrib/auth/models.py:160484 ms80.8%
make_passworddjango/contrib/auth/hashers.py:118484 ms80.8%
PBKDF2PasswordHasher.encodedjango/contrib/auth/hashers.py:333484 ms80.8%
pbkdf2django/utils/crypto.py:93484 ms80.8%
1 smaller frames hidden
TestCreateConference.test_requires_loginconfs/tests.py:1058 response = self.client.get(reverse("create_conference"))112 ms18.7%
Client.getdjango/test/client.py:1133112 ms18.7%
RequestFactory.getdjango/test/client.py:475112 ms18.7%
RequestFactory.genericdjango/test/client.py:671112 ms18.7%
Client.requestdjango/test/client.py:1091112 ms18.7%
ClientHandler.__call__django/test/client.py:173112 ms18.7%
BaseHandler.load_middlewaredjango/core/handlers/base.py:63112 ms18.7%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:104112 ms18.7%
WhiteNoise.add_fileswhitenoise/base.py:108112 ms18.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:120103 ms17.1%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:131103 ms17.1%
WhiteNoise.get_static_filewhitenoise/base.py:21776 ms12.8%
StaticFile.__init__whitenoise/responders.py:7324 ms4.0%
StaticFile.get_headerswhitenoise/responders.py:17614 ms2.3%
formatdate<stdlib>/email/utils.py:2668 ms1.4%
format_datetime<stdlib>/email/utils.py:2755 ms0.9%
2 smaller frames hidden
2 smaller frames hidden
StaticFile.get_headerswhitenoise/responders.py:1788 ms1.4%
parsedate<stdlib>/email/_parseaddr.py:1855 ms0.9%
parsedate_tz<stdlib>/email/_parseaddr.py:505 ms0.9%
_parsedate_tz<stdlib>/email/_parseaddr.py:693 ms0.5%
2 smaller frames hidden
parsedate<stdlib>/email/_parseaddr.py:1873 ms0.5%
2 smaller frames hidden
StaticFile.__init__whitenoise/responders.py:7723 ms3.8%
StaticFile.get_alternativeswhitenoise/responders.py:20019 ms3.1%
__init____init__:-117 ms2.8%
Headers.__init__<stdlib>/wsgiref/headers.py:438 ms1.4%
Headers.__init__<stdlib>/wsgiref/headers.py:444 ms0.7%
StaticFile.get_alternativeswhitenoise/responders.py:2013 ms0.5%
1 smaller frames hidden
StaticFile.__init__whitenoise/responders.py:7215 ms2.4%
StaticFile.get_file_statswhitenoise/responders.py:1619 ms1.6%
__init____init__:-19 ms1.6%
FileEntry.__init__whitenoise/responders.py:2639 ms1.6%
FileEntry.stat_regular_filewhitenoise/responders.py:2766 ms1.0%
<GC>~6 ms1.0%
1 smaller frames hidden
StaticFile.get_file_statswhitenoise/responders.py:1593 ms0.5%
1 smaller frames hidden
StaticFile.__init__whitenoise/responders.py:7614 ms2.3%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1888 ms1.4%
Headers.__contains__<stdlib>/wsgiref/headers.py:875 ms0.9%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1895 ms0.9%
Headers.__getitem__<stdlib>/wsgiref/headers.py:833 ms0.5%
1 smaller frames hidden
WhiteNoise.get_static_filewhitenoise/base.py:21219 ms3.1%
WhiteNoise.add_cache_headerswhitenoise/base.py:23315 ms2.4%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:17612 ms1.9%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:19712 ms1.9%
URLMixin.urldebug_toolbar/panels/staticfiles.py:206 ms1.0%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2356 ms1.0%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1703 ms0.5%
WhiteNoise.add_cache_headerswhitenoise/base.py:2364 ms0.7%
WhiteNoise.get_static_filewhitenoise/base.py:2114 ms0.7%
WhiteNoise.add_mime_headerswhitenoise/base.py:2253 ms0.5%
1 smaller frames hidden
WhiteNoise.get_static_filewhitenoise/base.py:2103 ms0.5%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1158 ms1.4%
scantreewhitenoise/base.py:2717 ms1.2%
scantreewhitenoise/base.py:2714 ms0.7%
scantreewhitenoise/base.py:2733 ms0.5%
1 smaller frames hidden
2 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
Estimated from 570 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

confs/tests.py:1044
self.user = User.objects.create_user("alice", password="pw")
TestCreateConference.setUp · Password hashing
485 ms
confs/tests.py:1058
response = self.client.get(reverse("create_conference"))
TestCreateConference.test_requires_login · Libraries
112 ms

Fixtures

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

Database

6 queries · 3 ms
No repeated queries.

Biggest pieces of work

call setUp
confs/tests.py:1044
485 ms
call test body
confs/tests.py:1058
112 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 598 ms c28a326 main Profile
16 hours ago CI github-actions:test passed 291 ms 9b8826a main Profile
22 hours ago CI github-actions:test passed 549 ms 4f01055 main Profile
1 week, 5 days ago CI github-actions:test passed 626 ms 8ab642e main Profile
2 weeks, 2 days ago CI github-actions:test passed 480 ms 9b75244 main Profile
2 weeks, 2 days ago CI github-actions:test passed 534 ms 9603516 main Profile
2 weeks, 4 days ago CI github-actions:test passed 538 ms 615a272 main Profile
3 weeks ago CI github-actions:test passed 408 ms d923a46 main Profile
3 weeks ago CI github-actions:test passed 1.10 s 82997f8 main Profile
3 weeks ago CI github-actions:test passed 1.03 s 623aa3e main Profile
3 weeks ago CI github-actions:test passed 1.17 s ab6465a main Profile
3 weeks ago CI github-actions:test passed 495 ms 0c23747 main Run