completed lab4
This commit is contained in:
@@ -0,0 +1,120 @@
|
||||
{
|
||||
"checked_at": "2026-11-06",
|
||||
"environment": {
|
||||
"docker_engine": "29.8.0",
|
||||
"docker_os": "linux/aarch64 via Docker Desktop",
|
||||
"docker_vm_cpus": 10,
|
||||
"docker_vm_memory_bytes": 8319504384,
|
||||
"compose": "v2; docker compose config --quiet passed"
|
||||
},
|
||||
"services": {
|
||||
"api": {
|
||||
"replicas": 2,
|
||||
"status": "healthy",
|
||||
"container_memory_limit_mib": 512,
|
||||
"cpu_limit": 0.75,
|
||||
"gunicorn_threads_per_replica": 2
|
||||
},
|
||||
"postgres": {
|
||||
"image": "postgres:16.10-alpine",
|
||||
"status": "healthy",
|
||||
"persistent_volume": "pgdata"
|
||||
},
|
||||
"redis": {
|
||||
"image": "redis:7.4.6-alpine",
|
||||
"status": "healthy"
|
||||
},
|
||||
"rustfs": {
|
||||
"image": "rustfs/rustfs:1.0.3-glibc",
|
||||
"status": "healthy",
|
||||
"persistent_volume": "s3data",
|
||||
"published_host_ports": false,
|
||||
"console_enabled": false
|
||||
},
|
||||
"haproxy": {
|
||||
"image": "haproxy:3.0.11-alpine",
|
||||
"status": "running",
|
||||
"published": "127.0.0.1:8080"
|
||||
}
|
||||
},
|
||||
"checks": [
|
||||
{
|
||||
"name": "make check",
|
||||
"result": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "public lab4 smoke",
|
||||
"result": "PASS",
|
||||
"repeat_count": 3
|
||||
},
|
||||
{
|
||||
"name": "negative attachments",
|
||||
"result": "PASS",
|
||||
"cases": [
|
||||
"real PNG upload/download",
|
||||
"real JPEG upload/download byte-for-byte",
|
||||
"unsafe filename 400",
|
||||
"corrupt PNG 415",
|
||||
"spoofed MIME 415",
|
||||
"10 MiB plus one byte 413",
|
||||
"40,972,801 decoded pixels 413",
|
||||
"outsider metadata/content 404",
|
||||
"cross-chat attachment reference 404"
|
||||
],
|
||||
"repeat_count": 2
|
||||
},
|
||||
{
|
||||
"name": "persistence hook",
|
||||
"result": "PASS",
|
||||
"observed": "Full Compose stack and stores restarted with volumes retained; same session, chat, messages and original attachment survived"
|
||||
},
|
||||
{
|
||||
"name": "API failover hook",
|
||||
"result": "PASS",
|
||||
"replicas_before": 2,
|
||||
"successful_writes": 127,
|
||||
"transition_failures": 2,
|
||||
"first_recovery_seconds": 1.273,
|
||||
"confirmed_messages_and_attachment_preserved": true
|
||||
},
|
||||
{
|
||||
"name": "RustFS outage",
|
||||
"result": "PASS",
|
||||
"upload_response": 503,
|
||||
"metadata_rows_left_by_failed_upload": 0,
|
||||
"RustFS_recovered": true
|
||||
},
|
||||
{
|
||||
"name": "unsigned S3 object GET",
|
||||
"result": "PASS",
|
||||
"response": "AccessDenied"
|
||||
},
|
||||
{
|
||||
"name": "API credentials outside assigned bucket role",
|
||||
"result": "PASS",
|
||||
"create_bucket_response": "AccessDenied"
|
||||
},
|
||||
{
|
||||
"name": "track 2 orphan/missing reconciliation",
|
||||
"result": "PASS",
|
||||
"evidence": "evidence/reconcile-experiment.json"
|
||||
},
|
||||
{
|
||||
"name": "full inventory dry-run",
|
||||
"result": "PASS",
|
||||
"db_rows": 424,
|
||||
"s3_objects": 424,
|
||||
"missing": 0,
|
||||
"orphans": 0,
|
||||
"elapsed_seconds": 0.1364
|
||||
},
|
||||
{
|
||||
"name": "10-way upload load",
|
||||
"result": "PASS",
|
||||
"evidence": "evidence/upload-load.json",
|
||||
"small_uploads": 100,
|
||||
"large_uploads": 30,
|
||||
"failures": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user