Files
mtusi2026lab2/evidence/compose-verification.txt

62 lines
5.5 KiB
Plaintext

PASS: lab2 public API scenario; infrastructure and grading evidence remain separate.
PASS: concurrent registration: 1 x 201, 3 x 409
PASS: Unicode password with colon
PASS: validation, cursor isolation, logout
py : Container lab2-db-1 Restarting
строка:1 знак:1
+ py scripts/verify.py 2>&1 | Tee-Object -FilePath evidence/compose-ver ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ( Container lab2-db-1 Restartin
g :String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
Container lab2-api-1 Restarting
Container lab2-cache-1 Restarting
Container lab2-cache-1 Started
Container lab2-db-1 Started
Container lab2-api-1 Started
Container lab2-cache-1 Stopping
Container lab2-cache-1 Stopped
Container lab2-cache-1 Starting
Container lab2-cache-1 Started
Container lab2-db-1 Stopping
Container lab2-db-1 Stopped
Container lab2-db-1 Starting
Container lab2-db-1 Started
FAIL: GET /api/v1/users/me: expected [200], received 401
c21ddd38ce4576e721388815ef928b9c4154dee5ffc6d4429a463208fcc6484f
PASS: migrations applied twice
PASS: rollback removes partial chat
EXPLAIN: 12000 messages; cursor after row 9001; page 51
Limit (cost=0.29..8.89 rows=51 width=69) (actual time=0.017..0.048 rows=51 loops=1)
Buffers: shared hit=4
-> Index Scan using messages_history on messages (cost=0.29..507.33 rows=3006 width=69) (actual time=0.015..0.037 rows=51 loops=1)
Index Cond: ((chat_id = '2e792f72-9441-47f1-bf88-18cb19132cdb'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.009001+00'::timestamp with time zone, '1a322347-8a32-4b05-9695-5a34b1440088'::uuid)))
Buffers: shared hit=4
Planning:
Buffers: shared hit=6
Planning Time: 0.267 ms
Execution Time: 0.149 ms
PASS: history uses messages_history index
PASS: all three services restarted; old tokens and message survive
PASS: real Redis profile key exists
PASS: Redis down -> SQL fallback; unknown token rejected
PASS: DB down -> bounded 503; live remains 200
Traceback (most recent call last):
File "D:\Projects\labs\WNP\lab2\scripts\verify.py", line 100, in <module>
main()
~~~~^^
File "D:\Projects\labs\WNP\lab2\scripts\verify.py", line 91, in main
subprocess.run([sys.executable,'student-tests/expiry.py'],env=env,check=
True)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^
File "C:\Users\Home\AppData\Local\Python\pythoncore-3.14-64\Lib\subprocess
.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['D:\\Projects\\labs\\WNP\\lab2\\.ve
nv\\Scripts\\python.exe', 'student-tests/expiry.py']' returned non-zero exit
status 1.