Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run backend unit tests with postgresql #2551

Merged
merged 1 commit into from
Nov 27, 2024

Run backend unit tests with postgresql

5902339
Select commit
Loading
Failed to load commit list.
Merged

Run backend unit tests with postgresql #2551

Run backend unit tests with postgresql
5902339
Select commit
Loading
Failed to load commit list.
Community-TC Integration / Code Review Backend checks: unit tests succeeded Nov 26, 2024 in 3m 25s

Community-TC (pull_request)

Check python code with Django tests

Details

View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster

Task Status

Started: 2024-11-26T15:19:32.746Z
Resolved: 2024-11-26T15:20:55.979Z
Task Execution Time: 1 minute, 23 seconds, 233 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log


[taskcluster 2024-11-26T15:19:32.799Z] Worker Type (proj-relman/generic-worker-ubuntu-24-04) settings:
[taskcluster 2024-11-26T15:19:32.799Z]   {
[taskcluster 2024-11-26T15:19:32.799Z]     "config": {
[taskcluster 2024-11-26T15:19:32.799Z]       "deploymentId": "844596cdddb1d351"
[taskcluster 2024-11-26T15:19:32.799Z]     },
[taskcluster 2024-11-26T15:19:32.799Z]     "generic-worker": {
[taskcluster 2024-11-26T15:19:32.799Z]       "config": {
[taskcluster 2024-11-26T15:19:32.799Z]         "headlessTasks": false,
[taskcluster 2024-11-26T15:19:32.799Z]         "runTasksAsCurrentUser": false
[taskcluster 2024-11-26T15:19:32.799Z]       },
[taskcluster 2024-11-26T15:19:32.799Z]       "engine": "multiuser",
[taskcluster 2024-11-26T15:19:32.799Z]       "go-arch": "amd64",
[taskcluster 2024-11-26T15:19:32.799Z]       "go-os": "linux",
[taskcluster 2024-11-26T15:19:32.799Z]       "go-version": "go1.23.3",
[taskcluster 2024-11-26T15:19:32.799Z]       "release": "https://github.com/taskcluster/taskcluster/releases/tag/v75.0.0",
[taskcluster 2024-11-26T15:19:32.799Z]       "revision": "1f02e08d3ac9520fd636409dd44f97b9945bf882",
[taskcluster 2024-11-26T15:19:32.799Z]       "source": "https://github.com/taskcluster/taskcluster/commits/1f02e08d3ac9520fd636409dd44f97b9945bf882",
[taskcluster 2024-11-26T15:19:32.799Z]       "version": "75.0.0"
[taskcluster 2024-11-26T15:19:32.799Z]     },
[taskcluster 2024-11-26T15:19:32.799Z]     "image": "projects/community-tc-workers/global/images/generic-worker-ubuntu-24-04-3h7p1s34a3ita9ol73mw",

...(312 lines hidden)...

Setting up libjson-perl (4.10000-1) ...
Setting up liblockfile1:amd64 (1.17-1+b1) ...
Setting up sysstat (12.6.1-1) ...

Creating config file /etc/default/sysstat with new version
update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode
Setting up libpopt0:amd64 (1.19+dfsg-1) ...
Setting up logrotate (3.21.0-1) ...
Setting up libjson-xs-perl (4.030-2+b1) ...
Setting up libgnutls-dane0:amd64 (3.7.9-2+deb12u3) ...
Setting up exim4-base (4.96-15+deb12u6) ...
exim: DB upgrade, deleting hints-db
Setting up postgresql-common (248) ...

Creating config file /etc/postgresql-common/createcluster.conf with new version
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
Removing obsolete dictionary files:
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up postgresql-15 (15.10-0+deb12u1) ...
Creating new PostgreSQL cluster 15/main ...
/usr/lib/postgresql/15/bin/initdb -D /var/lib/postgresql/15/main --auth-local peer --auth-host scram-sha-256 --no-instructions
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale "C.UTF-8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".

Data page checksums are disabled.

fixing permissions on existing directory /var/lib/postgresql/15/main ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... Etc/UTC
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
update-alternatives: using /usr/share/postgresql/15/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up exim4-daemon-light (4.96-15+deb12u6) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up bsd-mailx (8.1.2-0.20220412cvs-1) ...
update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode
Processing triggers for libc-bin (2.36-9+deb12u9) ...
++ dirname ./ci/setup_postgres.sh
+ cp ./ci/pg_hba.conf /etc/postgresql/15/main/pg_hba.conf
+ pg_ctlcluster 15 main start
+ su postgres -c 'createuser --createdb tester'
+ su postgres -c 'createdb --owner=tester code-review'
+ ./manage.py test
Found 35 test(s).
Creating test database for alias 'default'...
Deleted 0 issues that were missing a diff.
System check identified no issues (0 silenced).
Retrieved 2 old revisions to be deleted.
Page 1/1.
Deleted 6 IssueLink, 1 Diff, 4 Issue, 2 Revision.
.Retrieved 1 old revisions to be deleted.
Page 1/1.
Deleted 4 IssueLink, 1 Diff, 2 Issue, 1 Revision.
.Didn't find any old revision to delete.
.{"Timestamp": 1732634449243608576, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "POST", "path": "/v1/revision/1/diffs/", "uid": "", "rid": "f487f437-074b-4223-9fa5-c0785ee61d4f", "t": 0}}
Forbidden: /v1/revision/1/diffs/
{"Timestamp": 1732634449249878528, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "POST", "path": "/v1/revision/999999/diffs/", "uid": 1, "rid": "44d83fcd-8d43-4881-a368-ffafb005b6c9", "t": 4}}
Not Found: /v1/revision/999999/diffs/
{"Timestamp": 1732634449256110592, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "POST", "path": "/v1/revision/1/diffs/", "uid": 1, "rid": "b20d5884-8353-475e-a84a-96501325881d", "t": 4}}
.{"Timestamp": 1732634449268210176, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "POST", "path": "/v1/revision/2/issues/", "uid": 2, "rid": "f687e3df-87fa-48da-9a89-1845f1d21f24", "t": 4}}
.{"Timestamp": 1732634449273610752, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "POST", "path": "/v1/revision/3/issues/", "uid": "", "rid": "e1b5108b-3032-4fc8-ba2f-ffbd8dec8a2f", "t": 0}}
Forbidden: /v1/revision/3/issues/
{"Timestamp": 1732634449279117824, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "POST", "path": "/v1/revision/3/issues/", "uid": 3, "rid": "4bd258fa-fc6a-4036-bd5b-b7b6d18ba8b4", "t": 4}}
.{"Timestamp": 1732634449291461376, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "POST", "path": "/v1/revision/4/issues/", "uid": 4, "rid": "5ef9ad91-fa07-43b1-b55c-56d2e6026250", "t": 4}}
{"Timestamp": 1732634449296870912, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "POST", "path": "/v1/revision/4/issues/", "uid": 4, "rid": "5fc4d1d8-eab5-46de-b32c-3b3020ec80db", "t": 4}}
{"Timestamp": 1732634449302372352, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "POST", "path": "/v1/revision/4/issues/", "uid": 4, "rid": "69dfaa41-eac7-4d55-bfc8-5dfe8ff027fe", "t": 4}}
x{"Timestamp": 1732634449312849152, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "POST", "path": "/v1/revision/5/issues/", "uid": 5, "rid": "4ccb3a1f-9577-41d1-aaac-316ce91792e4", "t": 4}}
.{"Timestamp": 1732634449317760768, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "GET", "path": "/v1/revision/456/issues/", "uid": 6, "rid": "c55dae11-0731-46c2-849e-1d2191fd59c7", "t": 0}}
Method Not Allowed: /v1/revision/456/issues/
{"Timestamp": 1732634449319916800, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "PUT", "path": "/v1/revision/456/issues/", "uid": 6, "rid": "77fdaa25-2238-42fa-ade0-8b15bd26999f", "t": 0}}
Method Not Allowed: /v1/revision/456/issues/
{"Timestamp": 1732634449320804608, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "PATCH", "path": "/v1/revision/456/issues/", "uid": 6, "rid": "a6705644-3e45-40cc-bd8f-ab43f09f9537", "t": 0}}
Method Not Allowed: /v1/revision/456/issues/
.{"Timestamp": 1732634449329946880, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "POST", "path": "/v1/revision/7/issues/", "uid": 7, "rid": "26eecf7e-94e4-4f01-bf74-387bc4458318", "t": 4}}
.{"Timestamp": 1732634449340985856, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "POST", "path": "/v1/revision/8/issues/", "uid": 8, "rid": "95c98cdc-dc2c-4110-8e6e-0668ae93219d", "t": 5}}
.{"Timestamp": 1732634449349595136, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "POST", "path": "/v1/diff/1234/issues/", "uid": "", "rid": "ccae1e80-1288-42e6-9abd-b2702aec842b", "t": 0}}
Forbidden: /v1/diff/1234/issues/
{"Timestamp": 1732634449351210240, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "POST", "path": "/v1/diff/1234/issues/", "uid": 9, "rid": "baca38e7-1284-4dcc-84df-d3e72a11399b", "t": 0}}
Method Not Allowed: /v1/diff/1234/issues/
.{"Timestamp": 1732634449356474112, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "POST", "path": "/v1/revision/0011101000101001/issues/", "uid": 10, "rid": "f2f3fca5-b5cd-40cc-8d9a-53182ac4b30f", "t": 1}}
Not Found: /v1/revision/0011101000101001/issues/
.{"Timestamp": 1732634449363185152, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "POST", "path": "/v1/revision/", "uid": "", "rid": "3b5c3cb9-43fc-4636-9064-7447ac25c5ad", "t": 0}}
Forbidden: /v1/revision/
{"Timestamp": 1732634449369483264, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "POST", "path": "/v1/revision/", "uid": 11, "rid": "60a8e885-1c67-48c9-971d-9cea2eeecb4e", "t": 5}}
{"Timestamp": 1732634449375058432, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "POST", "path": "/v1/revision/", "uid": 11, "rid": "3e326250-cb28-4f9d-b758-ee72f8ed3f0d", "t": 3}}
../usr/local/lib/python3.12/site-packages/django/db/models/fields/__init__.py:1606: RuntimeWarning: DateTimeField Diff.created received a naive datetime (2024-08-28 00:00:00) while time zone support is active.
  warnings.warn(
{"Timestamp": 1732634449433404672, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "GET", "path": "/v1/diff/", "uid": "", "rid": "93f7fc88-0c23-45ca-9ddb-410e9f7a61ae", "t": 13}}
{"Timestamp": 1732634449436764928, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "GET", "path": "/v1/diff/", "uid": "", "rid": "8d9075d7-d957-42de-9bdf-042167b9d6b3", "t": 2}}
.{"Timestamp": 1732634449455140608, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "GET", "path": "/v1/diff/", "uid": "", "rid": "721c0f98-dc21-4561-8179-4ec747ab7456", "t": 16}}
{"Timestamp": 1732634449459625984, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "GET", "path": "/v1/diff/", "uid": "", "rid": "14f6b59a-d23d-4929-a76b-a5da0e596a84", "t": 3}}
.{"Timestamp": 1732634449470928384, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "GET", "path": "/v1/diff/", "uid": "", "rid": "ce9174b4-2630-4d26-8ccf-1743b486557a", "t": 9}}
.{"Timestamp": 1732634449482385408, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "GET", "path": "/v1/diff/", "uid": "", "rid": "e2be8bc1-3566-48a7-aa03-1515a5458e9e", "t": 9}}
{"Timestamp": 1732634449493077248, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "GET", "path": "/v1/diff/", "uid": "", "rid": "d0a727d3-afe8-4f09-887c-adb4238384ff", "t": 9}}
.security.W012: SESSION_COOKIE_SECURE is not set to True. Using a secure-only session cookie makes it more difficult for network traffic sniffers to hijack user sessions.
security.W004: You have not set a value for the SECURE_HSTS_SECONDS setting. If your entire site is served only over SSL, you may want to consider setting a value and enabling HTTP Strict Transport Security. Be sure to read the documentation first; enabling HSTS carelessly can cause serious, irreversible problems.
security.W016: You have 'django.middleware.csrf.CsrfViewMiddleware' in your MIDDLEWARE, but you have not set CSRF_COOKIE_SECURE to True. Using a secure-only CSRF cookie makes it more difficult for network traffic sniffers to steal the CSRF token.
security.W008: Your SECURE_SSL_REDIRECT setting is not set to True. Unless your site should be available over both SSL and non-SSL connections, you may want to either set this setting True or configure a load balancer or reverse-proxy server to redirect all connections to HTTPS.
{"Timestamp": 1732634449511365888, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "GET", "path": "/__heartbeat__", "uid": "", "rid": "d0a727d3-afe8-4f09-887c-adb4238384ff"}}
.{"Timestamp": 1732634449521248000, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "GET", "path": "/__heartbeat__", "uid": "", "rid": "d0a727d3-afe8-4f09-887c-adb4238384ff"}}
.{"Timestamp": 1732634449522872064, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "GET", "path": "/__lbheartbeat__", "uid": "", "rid": "d0a727d3-afe8-4f09-887c-adb4238384ff"}}
.{"Timestamp": 1732634449524518400, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "GET", "path": "/__version__", "uid": "", "rid": "d0a727d3-afe8-4f09-887c-adb4238384ff"}}
./usr/local/lib/python3.12/site-packages/django/db/models/fields/__init__.py:1665: RuntimeWarning: DateTimeField Revision.created received a naive datetime (2010-01-01 10:00:00) while time zone support is active.
  warnings.warn(
/usr/local/lib/python3.12/site-packages/django/db/models/fields/__init__.py:1665: RuntimeWarning: DateTimeField Revision.updated received a naive datetime (2010-01-01 10:00:00) while time zone support is active.
  warnings.warn(
/usr/local/lib/python3.12/site-packages/django/db/models/fields/__init__.py:1665: RuntimeWarning: DateTimeField Revision.created received a naive datetime (2000-01-01 10:00:00) while time zone support is active.
  warnings.warn(
/usr/local/lib/python3.12/site-packages/django/db/models/fields/__init__.py:1665: RuntimeWarning: DateTimeField Revision.updated received a naive datetime (2000-01-01 10:00:00) while time zone support is active.
  warnings.warn(
{"Timestamp": 1732634449545839360, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "GET", "path": "/v1/issues/repo_slug/", "uid": "", "rid": "65c4d87e-ec90-4882-90ef-cb7fe2939872", "t": 6}}
./usr/local/lib/python3.12/site-packages/django/db/models/fields/__init__.py:1665: RuntimeWarning: DateTimeField Revision.created received a naive datetime (2000-01-01 00:00:00) while time zone support is active.
  warnings.warn(
/usr/local/lib/python3.12/site-packages/django/db/models/fields/__init__.py:1665: RuntimeWarning: DateTimeField Revision.created received a naive datetime (2000-01-03 00:00:00) while time zone support is active.
  warnings.warn(
{"Timestamp": 1732634449565742080, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "GET", "path": "/v1/issues/repo_slug/", "uid": "", "rid": "43542c4a-d21d-4e88-908c-95007c783a3a", "t": 13}}
./usr/local/lib/python3.12/site-packages/django/db/models/fields/__init__.py:1665: RuntimeWarning: DateTimeField Revision.created received a naive datetime (1998-12-31 00:00:00) while time zone support is active.
  warnings.warn(
/usr/local/lib/python3.12/site-packages/django/db/models/fields/__init__.py:1665: RuntimeWarning: DateTimeField Revision.created received a naive datetime (1999-01-02 00:00:00) while time zone support is active.
  warnings.warn(
{"Timestamp": 1732634449576712192, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "GET", "path": "/v1/issues/repo_slug/", "uid": "", "rid": "860872b8-d68b-4e44-92f2-6df890dbe606", "t": 4}}
./usr/local/lib/python3.12/site-packages/django/db/models/fields/__init__.py:1665: RuntimeWarning: DateTimeField Revision.created received a naive datetime (2009-12-31 00:00:00) while time zone support is active.
  warnings.warn(
/usr/local/lib/python3.12/site-packages/django/db/models/fields/__init__.py:1665: RuntimeWarning: DateTimeField Revision.created received a naive datetime (2010-01-02 00:00:00) while time zone support is active.
  warnings.warn(
{"Timestamp": 1732634449590332160, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "GET", "path": "/v1/issues/repo_slug/", "uid": "", "rid": "5b15bf76-8c3e-4822-b328-920063762eb4", "t": 6}}
.{"Timestamp": 1732634449602675456, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "GET", "path": "/v1/issues/repo_slug/", "uid": "", "rid": "be840b19-87fe-4710-8ea6-fc4f138c6197", "t": 6}}
.{"Timestamp": 1732634449611276032, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "GET", "path": "/v1/issues/repo_slug/", "uid": "", "rid": "6bb003cf-369d-4848-b7c7-b4a4172fe3ea", "t": 2}}
.{"Timestamp": 1732634449617859840, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "GET", "path": "/v1/issues/no/", "uid": "", "rid": "644bf196-3f60-4d2b-8bcc-9b14ecba3a5e", "t": 1}}
Bad Request: /v1/issues/no/
..{"Timestamp": 1732634449656154624, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "GET", "path": "/v1/repository/", "uid": "", "rid": "efe2b86a-04c5-4483-982b-384ac652cd69", "t": 2}}
..{"Timestamp": 1732634449829355520, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "GET", "path": "/v1/check/myrepo-try/analyzer-X/check-1/", "uid": "", "rid": "65ecd0c1-adc7-48b1-8afd-9500d5e8ee62", "t": 79}}
./usr/local/lib/python3.12/site-packages/django/db/models/fields/__init__.py:1606: RuntimeWarning: DateTimeField Revision.created received a naive datetime (2024-08-28 00:00:00) while time zone support is active.
  warnings.warn(
{"Timestamp": 1732634449955998208, "Type": "request.summary", "Logger": "code_review_backend", "Hostname": "5a05570d004d", "EnvVersion": "2.0", "Severity": 6, "Pid": 2853, "Fields": {"errno": 0, "agent": "", "lang": "", "method": "GET", "path": "/v1/check/stats/", "uid": "", "rid": "779e13e2-4c42-4478-9281-1c91f797df56", "t": 9}}
.
----------------------------------------------------------------------
Ran 35 tests in 0.813s

OK (expected failures=1)
Destroying test database for alias 'default'...
+ ./manage.py makemigrations --check --noinput --dry-run -v 3
System check identified some issues:

WARNINGS:
?: (dockerflow.health.W001) Unapplied migration admin.0001_initial
?: (dockerflow.health.W001) Unapplied migration admin.0002_logentry_remove_auto_add
?: (dockerflow.health.W001) Unapplied migration admin.0003_logentry_add_action_flag_choices
?: (dockerflow.health.W001) Unapplied migration auth.0001_initial
?: (dockerflow.health.W001) Unapplied migration auth.0002_alter_permission_name_max_length
?: (dockerflow.health.W001) Unapplied migration auth.0003_alter_user_email_max_length
?: (dockerflow.health.W001) Unapplied migration auth.0004_alter_user_username_opts
?: (dockerflow.health.W001) Unapplied migration auth.0005_alter_user_last_login_null
?: (dockerflow.health.W001) Unapplied migration auth.0006_require_contenttypes_0002
?: (dockerflow.health.W001) Unapplied migration auth.0007_alter_validators_add_error_messages
?: (dockerflow.health.W001) Unapplied migration auth.0008_alter_user_username_max_length
?: (dockerflow.health.W001) Unapplied migration auth.0009_alter_user_last_name_max_length
?: (dockerflow.health.W001) Unapplied migration auth.0010_alter_group_name_max_length
?: (dockerflow.health.W001) Unapplied migration auth.0011_update_proxy_permissions
?: (dockerflow.health.W001) Unapplied migration auth.0012_alter_user_first_name_max_length
?: (dockerflow.health.W001) Unapplied migration contenttypes.0001_initial
?: (dockerflow.health.W001) Unapplied migration contenttypes.0002_remove_content_type_name
?: (dockerflow.health.W001) Unapplied migration issues.0001_initial
?: (dockerflow.health.W001) Unapplied migration issues.0002_compare_issues
?: (dockerflow.health.W001) Unapplied migration issues.0003_diff_repository
?: (dockerflow.health.W001) Unapplied migration issues.0004_issue_in_patch
?: (dockerflow.health.W001) Unapplied migration issues.0005_rename_check_issue_analyzer_check
?: (dockerflow.health.W001) Unapplied migration issues.0006_issuelink_initial
?: (dockerflow.health.W001) Unapplied migration issues.0007_issuelink_swap
?: (dockerflow.health.W001) Unapplied migration issues.0008_revision_base_head_references
?: (dockerflow.health.W001) Unapplied migration issues.0009_revision_optional_phab_references
?: (dockerflow.health.W001) Unapplied migration issues.0010_alter_revision_id
?: (dockerflow.health.W001) Unapplied migration issues.0011_indexes_revision_issue_path
?: (dockerflow.health.W001) Unapplied migration issues.0012_move_issues_attributes_part_1
?: (dockerflow.health.W001) Unapplied migration issues.0013_move_issues_attributes_part_2
?: (dockerflow.health.W001) Unapplied migration issues.0014_unique_hash
?: (dockerflow.health.W001) Unapplied migration sessions.0001_initial
No changes detected
[taskcluster 2024-11-26T15:20:55.543Z]    Exit Code: 0
[taskcluster 2024-11-26T15:20:55.543Z]    User Time: 54.413ms
[taskcluster 2024-11-26T15:20:55.543Z]  Kernel Time: 65.518ms
[taskcluster 2024-11-26T15:20:55.543Z]    Wall Time: 1m21.054993772s
[taskcluster 2024-11-26T15:20:55.543Z]       Result: SUCCEEDED
[taskcluster 2024-11-26T15:20:55.543Z] === Task Finished ===
[taskcluster 2024-11-26T15:20:55.543Z] Task Duration: 1m21.055441056s
[taskcluster 2024-11-26T15:20:55.687Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2025-11-26T16:17:30.396Z