Лаб7: mTLS, Argon2id, OpenBao и исследование отзыва worker
Application / application (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s

Майорова Софья, БВТ2301, на 5. Трек1. HTTPS/TLS/ACL,18 API tests,13 pipeline groups,3 compromise runs,clean clone,persistence. Original tests/API contract preserved; residual CVE triage in REPORT/security.
This commit is contained in:
2026-11-20 14:48:26 +03:00
parent 20afc2c790
commit 7353ab97a6
120 changed files with 12575 additions and 103 deletions
+24
View File
@@ -0,0 +1,24 @@
BASE_URL="https://localhost:18443" CA_FILE="/Users/ssmayorova/Documents/учеба/Высоконагруженные приложения/lab7/pki/lb/ca.crt" python3 -m unittest discover -s student-tests -p 'test_*.py' -v
test_concurrent_messages_and_pagination (test_api.APIContract) ... ok
test_cursor_scope_and_validation (test_api.APIContract) ... ok
test_foreign_chat (test_api.APIContract) ... ok
test_idempotency_concurrent_replicas (test_api.APIContract) ... ok
test_idempotency_conflicting_race (test_api.APIContract) ... ok
test_idempotency_invalid_keys (test_api.APIContract) ... ok
test_idempotency_scope (test_api.APIContract) ... ok
test_idempotency_semantic_body (test_api.APIContract) ... ok
test_invalid_chat_creation (test_api.APIContract) ... ok
test_malformed_json_and_extra_fields (test_api.APIContract) ... ok
test_protocol_error_headers (test_api.APIContract) ... ok
test_registration_race (test_api.APIContract) ... ok
test_unicode_limits (test_api.APIContract) ... ok
test_unicode_nul_round_trip (test_api.APIContract) ... ok
test_unicode_password_basic_and_logout (test_api.APIContract) ... ok
test_async_variants_and_replay (test_images.Images) ... ok
test_mime_bytes_pixels_and_filename (test_images.Images) ... ok
test_private_and_cross_chat (test_images.Images) ... ok
----------------------------------------------------------------------
Ran 18 tests in 7.417s
OK
+967
View File
@@ -0,0 +1,967 @@
{
"checks": {
"passwords": {
"argon2id_and_session_hashes": true,
"legacy_scrypt_rehashed": true,
"argon2_parameter_rehash": true,
"real_expiry_401": true
},
"prefixes": {
"worker_read_staging_and_results": true,
"worker_create_immutable_result": true,
"denied": [
"worker PUT staging",
"worker DELETE staging",
"worker DELETE results",
"worker unconditional overwrite",
"worker bucket list",
"worker create bucket",
"API PUT results",
"traversal key"
]
},
"signals": {
"trace_id": "4945500bf0084d19a1f70c65b6c8fec6",
"spans": 20,
"services_and_job_events_correlated": true,
"producer_consumer_parent_match": true,
"tls_prometheus_scrape_targets": 2,
"sensitive_canaries_absent": true,
"forbidden_metric_labels_absent": true
},
"shared_rate_limit": {
"requests": 100,
"limited_429": 70,
"invalid_401": 30,
"actual_replicas": 2,
"retry_after_seconds": 1,
"kdf_slots_per_replica": 2
},
"kdf_budget": {
"CPU_limit": 0.5,
"timings": {
"19456": {
"hash_plus_verify_median_ms": 28.538944999127125,
"hash_plus_verify_max_ms": 77.69014000041352,
"runs": 10
},
"32768": {
"hash_plus_verify_median_ms": 111.35763649963337,
"hash_plus_verify_max_ms": 161.50791800100706,
"runs": 10
},
"65536": {
"hash_plus_verify_median_ms": 275.9806710000703,
"hash_plus_verify_max_ms": 284.7436590000143,
"runs": 10
}
},
"chosen_memory_kib": 32768,
"max_kdf_memory_mib_per_api": 64,
"api_memory_limit_mib": 256,
"note": "Timings include hash+verify at 0.5 CPU; API has 1 CPU and at most two concurrent KDF operations."
}
},
"trace": {
"batches": [
{
"resource": {
"attributes": [
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "python"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "opentelemetry"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "1.45.2"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "5d6e52d19b9a4ece858a9a5e0b6a1177"
}
},
{
"key": "service.name",
"value": {
"stringValue": "messenger-worker"
}
},
{
"key": "service.version",
"value": {
"stringValue": "lab7.1"
}
},
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "messenger"
},
"spans": [
{
"traceId": "SUVQC/AITRmh9wxltsj+xg==",
"spanId": "rbuAmpXCcCs=",
"parentSpanId": "HwfARAv1i6o=",
"flags": 256,
"name": "db.transaction",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795174512061054586",
"endTimeUnixNano": "1795174512068783633",
"attributes": [
{
"key": "db.system",
"value": {
"stringValue": "postgresql"
}
}
],
"status": {}
},
{
"traceId": "SUVQC/AITRmh9wxltsj+xg==",
"spanId": "LU0xd1eU+1o=",
"parentSpanId": "HwfARAv1i6o=",
"flags": 256,
"name": "s3.head_object",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795174512071477151",
"endTimeUnixNano": "1795174512077552078",
"attributes": [
{
"key": "rpc.system",
"value": {
"stringValue": "aws-api"
}
},
{
"key": "rpc.service",
"value": {
"stringValue": "S3"
}
},
{
"key": "rpc.method",
"value": {
"stringValue": "head_object"
}
}
],
"status": {}
},
{
"traceId": "SUVQC/AITRmh9wxltsj+xg==",
"spanId": "7psBevI+/rs=",
"parentSpanId": "HwfARAv1i6o=",
"flags": 256,
"name": "s3.get_object",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795174512077597704",
"endTimeUnixNano": "1795174512079416786",
"attributes": [
{
"key": "rpc.system",
"value": {
"stringValue": "aws-api"
}
},
{
"key": "rpc.service",
"value": {
"stringValue": "S3"
}
},
{
"key": "rpc.method",
"value": {
"stringValue": "get_object"
}
}
],
"status": {}
}
]
}
]
},
{
"resource": {
"attributes": [
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "python"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "opentelemetry"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "1.45.2"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "f0a98e1d929941938612c531e7d276b5"
}
},
{
"key": "service.name",
"value": {
"stringValue": "messenger-dispatcher"
}
},
{
"key": "service.version",
"value": {
"stringValue": "lab7.1"
}
},
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "messenger"
},
"spans": [
{
"traceId": "SUVQC/AITRmh9wxltsj+xg==",
"spanId": "Ln03ux3qQpk=",
"parentSpanId": "Yfim34Icbgg=",
"flags": 768,
"name": "attachment publish",
"kind": "SPAN_KIND_PRODUCER",
"startTimeUnixNano": "1795174512059813142",
"endTimeUnixNano": "1795174512060982043",
"attributes": [
{
"key": "messaging.system",
"value": {
"stringValue": "redis"
}
},
{
"key": "messaging.destination.name",
"value": {
"stringValue": "attachment-jobs"
}
}
],
"status": {}
}
]
}
]
},
{
"resource": {
"attributes": [
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "python"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "opentelemetry"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "1.45.2"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "b6da20d0d6004ddf90745f3f40603eba"
}
},
{
"key": "service.name",
"value": {
"stringValue": "messenger-api"
}
},
{
"key": "service.version",
"value": {
"stringValue": "lab7.1"
}
},
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "messenger"
},
"spans": [
{
"traceId": "SUVQC/AITRmh9wxltsj+xg==",
"spanId": "XM3jomFakXE=",
"parentSpanId": "tL9IgJdDqCk=",
"flags": 256,
"name": "db.transaction",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795174512014313172",
"endTimeUnixNano": "1795174512015572367",
"attributes": [
{
"key": "db.system",
"value": {
"stringValue": "postgresql"
}
}
],
"status": {}
},
{
"traceId": "SUVQC/AITRmh9wxltsj+xg==",
"spanId": "YKjGBN9wGjk=",
"parentSpanId": "tL9IgJdDqCk=",
"flags": 256,
"name": "db.transaction",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795174512015615659",
"endTimeUnixNano": "1795174512016429177",
"attributes": [
{
"key": "db.system",
"value": {
"stringValue": "postgresql"
}
}
],
"status": {}
},
{
"traceId": "SUVQC/AITRmh9wxltsj+xg==",
"spanId": "31CfNaog4oU=",
"parentSpanId": "tL9IgJdDqCk=",
"flags": 256,
"name": "db.transaction",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795174512016722142",
"endTimeUnixNano": "1795174512019110279",
"attributes": [
{
"key": "db.system",
"value": {
"stringValue": "postgresql"
}
}
],
"status": {}
},
{
"traceId": "SUVQC/AITRmh9wxltsj+xg==",
"spanId": "y3lfdg+7fwo=",
"parentSpanId": "Yfim34Icbgg=",
"flags": 256,
"name": "s3.put_object",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795174512019415744",
"endTimeUnixNano": "1795174512023220287",
"attributes": [
{
"key": "rpc.system",
"value": {
"stringValue": "aws-api"
}
},
{
"key": "rpc.service",
"value": {
"stringValue": "S3"
}
},
{
"key": "rpc.method",
"value": {
"stringValue": "put_object"
}
}
],
"status": {}
},
{
"traceId": "SUVQC/AITRmh9wxltsj+xg==",
"spanId": "Yfim34Icbgg=",
"parentSpanId": "tL9IgJdDqCk=",
"flags": 256,
"name": "db.transaction",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795174512019135029",
"endTimeUnixNano": "1795174512024153724",
"attributes": [
{
"key": "db.system",
"value": {
"stringValue": "postgresql"
}
}
],
"status": {}
},
{
"traceId": "SUVQC/AITRmh9wxltsj+xg==",
"spanId": "tL9IgJdDqCk=",
"parentSpanId": "ESIzRFVmd4g=",
"flags": 768,
"name": "POST /api/v1/chats/{chat_id}/attachments",
"kind": "SPAN_KIND_SERVER",
"startTimeUnixNano": "1795174512014274088",
"endTimeUnixNano": "1795174512024470314",
"attributes": [
{
"key": "http.request.method",
"value": {
"stringValue": "POST"
}
},
{
"key": "http.route",
"value": {
"stringValue": "/api/v1/chats/{chat_id}/attachments"
}
},
{
"key": "http.response.status_code",
"value": {
"intValue": "202"
}
}
],
"status": {}
}
]
}
]
},
{
"resource": {
"attributes": [
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "python"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "opentelemetry"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "1.45.2"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "5d6e52d19b9a4ece858a9a5e0b6a1177"
}
},
{
"key": "service.name",
"value": {
"stringValue": "messenger-worker"
}
},
{
"key": "service.version",
"value": {
"stringValue": "lab7.1"
}
},
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "messenger"
},
"spans": [
{
"traceId": "SUVQC/AITRmh9wxltsj+xg==",
"spanId": "zaIXAyYKnIU=",
"parentSpanId": "HwfARAv1i6o=",
"flags": 256,
"name": "s3.head_object",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795174512222386880",
"endTimeUnixNano": "1795174512224841518",
"attributes": [
{
"key": "rpc.system",
"value": {
"stringValue": "aws-api"
}
},
{
"key": "rpc.service",
"value": {
"stringValue": "S3"
}
},
{
"key": "rpc.method",
"value": {
"stringValue": "head_object"
}
},
{
"key": "error.type",
"value": {
"stringValue": "ClientError"
}
}
],
"status": {
"code": "STATUS_CODE_ERROR"
}
},
{
"traceId": "SUVQC/AITRmh9wxltsj+xg==",
"spanId": "de9j3dpp2To=",
"parentSpanId": "HwfARAv1i6o=",
"flags": 256,
"name": "s3.put_object",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795174512224907353",
"endTimeUnixNano": "1795174512228579726",
"attributes": [
{
"key": "rpc.system",
"value": {
"stringValue": "aws-api"
}
},
{
"key": "rpc.service",
"value": {
"stringValue": "S3"
}
},
{
"key": "rpc.method",
"value": {
"stringValue": "put_object"
}
}
],
"status": {}
},
{
"traceId": "SUVQC/AITRmh9wxltsj+xg==",
"spanId": "GqvwpDKrw+Q=",
"parentSpanId": "HwfARAv1i6o=",
"flags": 256,
"name": "s3.head_object",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795174512228643353",
"endTimeUnixNano": "1795174512229941007",
"attributes": [
{
"key": "rpc.system",
"value": {
"stringValue": "aws-api"
}
},
{
"key": "rpc.service",
"value": {
"stringValue": "S3"
}
},
{
"key": "rpc.method",
"value": {
"stringValue": "head_object"
}
},
{
"key": "error.type",
"value": {
"stringValue": "ClientError"
}
}
],
"status": {
"code": "STATUS_CODE_ERROR"
}
},
{
"traceId": "SUVQC/AITRmh9wxltsj+xg==",
"spanId": "CzXT4UQsfrs=",
"parentSpanId": "HwfARAv1i6o=",
"flags": 256,
"name": "s3.put_object",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795174512230012050",
"endTimeUnixNano": "1795174512232093179",
"attributes": [
{
"key": "rpc.system",
"value": {
"stringValue": "aws-api"
}
},
{
"key": "rpc.service",
"value": {
"stringValue": "S3"
}
},
{
"key": "rpc.method",
"value": {
"stringValue": "put_object"
}
}
],
"status": {}
},
{
"traceId": "SUVQC/AITRmh9wxltsj+xg==",
"spanId": "JRipvb7DZPc=",
"parentSpanId": "HwfARAv1i6o=",
"flags": 256,
"name": "s3.head_object",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795174512232146431",
"endTimeUnixNano": "1795174512233290873",
"attributes": [
{
"key": "rpc.system",
"value": {
"stringValue": "aws-api"
}
},
{
"key": "rpc.service",
"value": {
"stringValue": "S3"
}
},
{
"key": "rpc.method",
"value": {
"stringValue": "head_object"
}
},
{
"key": "error.type",
"value": {
"stringValue": "ClientError"
}
}
],
"status": {
"code": "STATUS_CODE_ERROR"
}
},
{
"traceId": "SUVQC/AITRmh9wxltsj+xg==",
"spanId": "v0Kc5iBBNfY=",
"parentSpanId": "HwfARAv1i6o=",
"flags": 256,
"name": "s3.put_object",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795174512233349082",
"endTimeUnixNano": "1795174512235073829",
"attributes": [
{
"key": "rpc.system",
"value": {
"stringValue": "aws-api"
}
},
{
"key": "rpc.service",
"value": {
"stringValue": "S3"
}
},
{
"key": "rpc.method",
"value": {
"stringValue": "put_object"
}
}
],
"status": {}
},
{
"traceId": "SUVQC/AITRmh9wxltsj+xg==",
"spanId": "MEoig23QnRk=",
"parentSpanId": "HwfARAv1i6o=",
"flags": 256,
"name": "s3.head_object",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795174512235112663",
"endTimeUnixNano": "1795174512236113352",
"attributes": [
{
"key": "rpc.system",
"value": {
"stringValue": "aws-api"
}
},
{
"key": "rpc.service",
"value": {
"stringValue": "S3"
}
},
{
"key": "rpc.method",
"value": {
"stringValue": "head_object"
}
},
{
"key": "error.type",
"value": {
"stringValue": "ClientError"
}
}
],
"status": {
"code": "STATUS_CODE_ERROR"
}
},
{
"traceId": "SUVQC/AITRmh9wxltsj+xg==",
"spanId": "gP7+VNlH0OE=",
"parentSpanId": "HwfARAv1i6o=",
"flags": 256,
"name": "s3.put_object",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795174512236164187",
"endTimeUnixNano": "1795174512237930351",
"attributes": [
{
"key": "rpc.system",
"value": {
"stringValue": "aws-api"
}
},
{
"key": "rpc.service",
"value": {
"stringValue": "S3"
}
},
{
"key": "rpc.method",
"value": {
"stringValue": "put_object"
}
}
],
"status": {}
},
{
"traceId": "SUVQC/AITRmh9wxltsj+xg==",
"spanId": "EzgTXnrHECs=",
"parentSpanId": "HwfARAv1i6o=",
"flags": 256,
"name": "db.transaction",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795174512237964018",
"endTimeUnixNano": "1795174512245307265",
"attributes": [
{
"key": "db.system",
"value": {
"stringValue": "postgresql"
}
}
],
"status": {}
},
{
"traceId": "SUVQC/AITRmh9wxltsj+xg==",
"spanId": "HwfARAv1i6o=",
"parentSpanId": "Ln03ux3qQpk=",
"flags": 768,
"name": "attachment process",
"kind": "SPAN_KIND_CONSUMER",
"startTimeUnixNano": "1795174512061016585",
"endTimeUnixNano": "1795174512245819026",
"attributes": [
{
"key": "messaging.system",
"value": {
"stringValue": "redis"
}
},
{
"key": "messaging.destination.name",
"value": {
"stringValue": "attachment-jobs"
}
},
{
"key": "job.id",
"value": {
"stringValue": "8f6fc767-dabb-464b-84b4-01cb9b30cdb9"
}
},
{
"key": "job.attempt",
"value": {
"intValue": "1"
}
}
],
"status": {}
}
]
}
]
}
]
},
"logs": [
{
"timestamp": "2026-11-20T11:35:12.024169+00:00",
"severity": "INFO",
"service.name": "messenger-api",
"event": "attachment_accepted",
"sampled": true,
"trace_id": "4945500bf0084d19a1f70c65b6c8fec6",
"span_id": "b4bf48809743a829",
"attachment_id": "3c55030c-760d-4c45-a372-d1d656f6d78a",
"job_id": "8f6fc767-dabb-464b-84b4-01cb9b30cdb9"
},
{
"timestamp": "2026-11-20T11:35:12.245714+00:00",
"severity": "INFO",
"service.name": "messenger-worker",
"event": "job_processed",
"sampled": true,
"trace_id": "4945500bf0084d19a1f70c65b6c8fec6",
"span_id": "1f07c0440bf58baa",
"job_id": "8f6fc767-dabb-464b-84b4-01cb9b30cdb9",
"attempt": 1,
"outcome": "ready"
},
{
"timestamp": "2026-11-20T11:35:12.060886+00:00",
"severity": "INFO",
"service.name": "messenger-dispatcher",
"event": "job_published",
"sampled": true,
"trace_id": "4945500bf0084d19a1f70c65b6c8fec6",
"span_id": "2e7d37bb1dea4299",
"job_id": "8f6fc767-dabb-464b-84b4-01cb9b30cdb9",
"attempt": 1
},
{
"timestamp": "2026-11-20T11:35:12.024424+00:00",
"severity": "INFO",
"service.name": "messenger-api",
"event": "http_request",
"sampled": true,
"trace_id": "4945500bf0084d19a1f70c65b6c8fec6",
"span_id": "b4bf48809743a829",
"request_id": "2aebfcf9a8424947997e6e8032b192a5",
"method": "POST",
"route": "/api/v1/chats/{chat_id}/attachments",
"status": 202,
"duration_seconds": 0.010226
},
{
"timestamp": "2026-11-20T11:35:12.224736+00:00",
"severity": "INFO",
"service.name": "messenger-worker",
"event": "operation_failed",
"sampled": true,
"trace_id": "4945500bf0084d19a1f70c65b6c8fec6",
"span_id": "cda21703260a9c85",
"error_type": "ClientError"
},
{
"timestamp": "2026-11-20T11:35:12.229864+00:00",
"severity": "INFO",
"service.name": "messenger-worker",
"event": "operation_failed",
"sampled": true,
"trace_id": "4945500bf0084d19a1f70c65b6c8fec6",
"span_id": "1aabf0a432abc3e4",
"error_type": "ClientError"
},
{
"timestamp": "2026-11-20T11:35:12.233223+00:00",
"severity": "INFO",
"service.name": "messenger-worker",
"event": "operation_failed",
"sampled": true,
"trace_id": "4945500bf0084d19a1f70c65b6c8fec6",
"span_id": "2518a9bdbec364f7",
"error_type": "ClientError"
},
{
"timestamp": "2026-11-20T11:35:12.236058+00:00",
"severity": "INFO",
"service.name": "messenger-worker",
"event": "operation_failed",
"sampled": true,
"trace_id": "4945500bf0084d19a1f70c65b6c8fec6",
"span_id": "304a22836dd09d19",
"error_type": "ClientError"
}
]
}
+343
View File
@@ -0,0 +1,343 @@
$ fresh bootstrap, build, migrations and verified HTTPS ready
Image mtusi-messenger:lab7 Building
#1 [internal] load local bake definitions
#1 reading from stdin 729B done
#1 DONE 0.0s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 688B done
#2 DONE 0.0s
#3 [internal] load metadata for docker.io/library/python:3.12-slim-bookworm@sha256:935c3c5b12357a7e10caa9c1e6ca5692344d97cf229832ef584be2cec9fc03df
#3 DONE 0.0s
#4 [internal] load .dockerignore
#4 transferring context: 233B done
#4 DONE 0.0s
#5 [1/7] FROM docker.io/library/python:3.12-slim-bookworm@sha256:935c3c5b12357a7e10caa9c1e6ca5692344d97cf229832ef584be2cec9fc03df
#5 resolve docker.io/library/python:3.12-slim-bookworm@sha256:935c3c5b12357a7e10caa9c1e6ca5692344d97cf229832ef584be2cec9fc03df done
#5 DONE 0.0s
#6 [internal] load build context
#6 transferring context: 96.09kB done
#6 DONE 0.0s
#7 [4/7] COPY requirements.txt ./
#7 CACHED
#8 [6/7] COPY src/ ./src/
#8 CACHED
#9 [2/7] WORKDIR /app
#9 CACHED
#10 [3/7] RUN groupadd --gid 10001 app && useradd --uid 10001 --gid app --no-create-home app
#10 CACHED
#11 [5/7] RUN pip install --no-cache-dir -r requirements.txt && rm -rf /usr/local/lib/python3.12/site-packages/pip /usr/local/lib/python3.12/site-packages/pip-*.dist-info /usr/local/bin/pip*
#11 CACHED
#12 [7/7] COPY migrations/ ./migrations/
#12 CACHED
#13 exporting to image
#13 exporting layers done
#13 exporting manifest sha256:2dfe4693be2797bf22428255af59c4492829ceb4e7be66cb9d9074376e767736 done
#13 exporting config sha256:e2273fee14f165f916715b32d394ec8d91638a76a1a1a3030ae95d6d468b14a8 done
#13 exporting attestation manifest sha256:1d1ee90f65958c8033c98134a2cf68506d3a7f1c36288e287967d31058dcbe35 done
#13 exporting manifest list sha256:81bed584afea3db4977e61298433fac0f040c77280f1aa9a4ae5b3bf9e579524 done
#13 naming to docker.io/library/mtusi-messenger:lab7 done
#13 unpacking to docker.io/library/mtusi-messenger:lab7 done
#13 DONE 0.0s
#14 resolving provenance for metadata file
#14 DONE 0.0s
Image mtusi-messenger:lab7 Built
Network mtusi-lab7-clean-63ee1835_backend Creating
Network mtusi-lab7-clean-63ee1835_backend Created
Network mtusi-lab7-clean-63ee1835_edge Creating
Network mtusi-lab7-clean-63ee1835_edge Created
Volume mtusi-lab7-clean-63ee1835_broker_data Creating
Volume mtusi-lab7-clean-63ee1835_broker_data Created
Volume mtusi-lab7-clean-63ee1835_metrics_data Creating
Volume mtusi-lab7-clean-63ee1835_metrics_data Created
Volume mtusi-lab7-clean-63ee1835_logs_data Creating
Volume mtusi-lab7-clean-63ee1835_logs_data Created
Volume mtusi-lab7-clean-63ee1835_postgres_data Creating
Volume mtusi-lab7-clean-63ee1835_postgres_data Created
Volume mtusi-lab7-clean-63ee1835_s3_data Creating
Volume mtusi-lab7-clean-63ee1835_s3_data Created
Volume mtusi-lab7-clean-63ee1835_bao_data Creating
Volume mtusi-lab7-clean-63ee1835_bao_data Created
Volume mtusi-lab7-clean-63ee1835_grafana_data Creating
Volume mtusi-lab7-clean-63ee1835_grafana_data Created
Volume mtusi-lab7-clean-63ee1835_traces_data Creating
Volume mtusi-lab7-clean-63ee1835_traces_data Created
Container mtusi-lab7-clean-63ee1835-broker-1 Creating
Container mtusi-lab7-clean-63ee1835-postgres-1 Creating
Container mtusi-lab7-clean-63ee1835-tempo-1 Creating
Container mtusi-lab7-clean-63ee1835-redis-1 Creating
Container mtusi-lab7-clean-63ee1835-loki-1 Creating
Container mtusi-lab7-clean-63ee1835-s3-1 Creating
Container mtusi-lab7-clean-63ee1835-otel-collector-1 Creating
Container mtusi-lab7-clean-63ee1835-volume-init-1 Creating
Container mtusi-lab7-clean-63ee1835-prometheus-1 Creating
Container mtusi-lab7-clean-63ee1835-grafana-1 Creating
Container mtusi-lab7-clean-63ee1835-grafana-1 Created
Container mtusi-lab7-clean-63ee1835-volume-init-1 Created
Container mtusi-lab7-clean-63ee1835-bao-1 Creating
Container mtusi-lab7-clean-63ee1835-otel-collector-1 Created
Container mtusi-lab7-clean-63ee1835-otel-collector-raw-1 Creating
Container mtusi-lab7-clean-63ee1835-s3-1 Created
Container mtusi-lab7-clean-63ee1835-s3-store-1 Creating
Container mtusi-lab7-clean-63ee1835-loki-1 Created
Container mtusi-lab7-clean-63ee1835-loki-raw-1 Creating
Container mtusi-lab7-clean-63ee1835-broker-1 Created
Container mtusi-lab7-clean-63ee1835-broker-raw-1 Creating
Container mtusi-lab7-clean-63ee1835-tempo-1 Created
Container mtusi-lab7-clean-63ee1835-tempo-raw-1 Creating
Container mtusi-lab7-clean-63ee1835-prometheus-1 Created
Container mtusi-lab7-clean-63ee1835-prometheus-raw-1 Creating
Container mtusi-lab7-clean-63ee1835-postgres-1 Created
Container mtusi-lab7-clean-63ee1835-redis-1 Created
Container mtusi-lab7-clean-63ee1835-redis-raw-1 Creating
Container mtusi-lab7-clean-63ee1835-otel-collector-raw-1 Created
Container mtusi-lab7-clean-63ee1835-bao-1 Created
Container mtusi-lab7-clean-63ee1835-s3-store-1 Created
Container mtusi-lab7-clean-63ee1835-s3-raw-1 Creating
Container mtusi-lab7-clean-63ee1835-loki-raw-1 Created
Container mtusi-lab7-clean-63ee1835-tempo-raw-1 Created
Container mtusi-lab7-clean-63ee1835-broker-raw-1 Created
Container mtusi-lab7-clean-63ee1835-prometheus-raw-1 Created
Container mtusi-lab7-clean-63ee1835-redis-raw-1 Created
Container mtusi-lab7-clean-63ee1835-s3-raw-1 Created
Container mtusi-lab7-clean-63ee1835-s3-1 Starting
Container mtusi-lab7-clean-63ee1835-tempo-1 Starting
Container mtusi-lab7-clean-63ee1835-otel-collector-1 Starting
Container mtusi-lab7-clean-63ee1835-postgres-1 Starting
Container mtusi-lab7-clean-63ee1835-prometheus-1 Starting
Container mtusi-lab7-clean-63ee1835-redis-1 Starting
Container mtusi-lab7-clean-63ee1835-grafana-1 Starting
Container mtusi-lab7-clean-63ee1835-broker-1 Starting
Container mtusi-lab7-clean-63ee1835-volume-init-1 Starting
Container mtusi-lab7-clean-63ee1835-loki-1 Starting
Container mtusi-lab7-clean-63ee1835-s3-1 Started
Container mtusi-lab7-clean-63ee1835-loki-1 Started
Container mtusi-lab7-clean-63ee1835-loki-raw-1 Starting
Container mtusi-lab7-clean-63ee1835-volume-init-1 Started
Container mtusi-lab7-clean-63ee1835-s3-store-1 Starting
Container mtusi-lab7-clean-63ee1835-bao-1 Starting
Container mtusi-lab7-clean-63ee1835-grafana-1 Started
Container mtusi-lab7-clean-63ee1835-broker-1 Started
Container mtusi-lab7-clean-63ee1835-otel-collector-1 Started
Container mtusi-lab7-clean-63ee1835-otel-collector-raw-1 Starting
Container mtusi-lab7-clean-63ee1835-broker-raw-1 Starting
Container mtusi-lab7-clean-63ee1835-prometheus-1 Started
Container mtusi-lab7-clean-63ee1835-prometheus-raw-1 Starting
Container mtusi-lab7-clean-63ee1835-loki-raw-1 Started
Container mtusi-lab7-clean-63ee1835-redis-1 Started
Container mtusi-lab7-clean-63ee1835-redis-raw-1 Starting
Container mtusi-lab7-clean-63ee1835-postgres-1 Started
Container mtusi-lab7-clean-63ee1835-tempo-1 Started
Container mtusi-lab7-clean-63ee1835-tempo-raw-1 Starting
Container mtusi-lab7-clean-63ee1835-s3-store-1 Started
Container mtusi-lab7-clean-63ee1835-s3-raw-1 Starting
Container mtusi-lab7-clean-63ee1835-prometheus-raw-1 Started
Container mtusi-lab7-clean-63ee1835-bao-1 Started
Container mtusi-lab7-clean-63ee1835-otel-collector-raw-1 Started
Container mtusi-lab7-clean-63ee1835-redis-raw-1 Started
Container mtusi-lab7-clean-63ee1835-broker-raw-1 Started
Container mtusi-lab7-clean-63ee1835-tempo-raw-1 Started
Container mtusi-lab7-clean-63ee1835-s3-raw-1 Started
Container mtusi-lab7-clean-63ee1835-postgres-1 Running
Container mtusi-lab7-clean-63ee1835-migrate-1 Creating
Container mtusi-lab7-clean-63ee1835-migrate-1 Created
Container mtusi-lab7-clean-63ee1835-postgres-1 Waiting
Container mtusi-lab7-clean-63ee1835-postgres-1 Healthy
Container mtusi-lab7-clean-63ee1835-migrate-1 Starting
Container mtusi-lab7-clean-63ee1835-migrate-1 Started
Container mtusi-lab7-clean-63ee1835-postgres-1 Running
Container mtusi-lab7-clean-63ee1835-s3-1 Running
Container mtusi-lab7-clean-63ee1835-migrate-1 Running
Container mtusi-lab7-clean-63ee1835-s3-store-1 Running
Container mtusi-lab7-clean-63ee1835-s3-raw-1 Running
Container mtusi-lab7-clean-63ee1835-bucket-bootstrap-1 Creating
Container mtusi-lab7-clean-63ee1835-bucket-bootstrap-1 Created
Container mtusi-lab7-clean-63ee1835-dispatcher-1 Creating
Container mtusi-lab7-clean-63ee1835-api-2 Creating
Container mtusi-lab7-clean-63ee1835-api-1 Creating
Container mtusi-lab7-clean-63ee1835-worker-1 Creating
Container mtusi-lab7-clean-63ee1835-api-2 Created
Container mtusi-lab7-clean-63ee1835-worker-1 Created
Container mtusi-lab7-clean-63ee1835-dispatcher-1 Created
Container mtusi-lab7-clean-63ee1835-api-1 Created
Container mtusi-lab7-clean-63ee1835-lb-1 Creating
Container mtusi-lab7-clean-63ee1835-lb-1 Created
Container mtusi-lab7-clean-63ee1835-postgres-1 Waiting
Container mtusi-lab7-clean-63ee1835-volume-init-1 Starting
Container mtusi-lab7-clean-63ee1835-volume-init-1 Started
Container mtusi-lab7-clean-63ee1835-bucket-bootstrap-1 Starting
Container mtusi-lab7-clean-63ee1835-bucket-bootstrap-1 Started
Container mtusi-lab7-clean-63ee1835-postgres-1 Healthy
Container mtusi-lab7-clean-63ee1835-migrate-1 Waiting
Container mtusi-lab7-clean-63ee1835-bucket-bootstrap-1 Waiting
Container mtusi-lab7-clean-63ee1835-migrate-1 Waiting
Container mtusi-lab7-clean-63ee1835-bucket-bootstrap-1 Waiting
Container mtusi-lab7-clean-63ee1835-bucket-bootstrap-1 Waiting
Container mtusi-lab7-clean-63ee1835-migrate-1 Waiting
Container mtusi-lab7-clean-63ee1835-migrate-1 Exited
Container mtusi-lab7-clean-63ee1835-migrate-1 Exited
Container mtusi-lab7-clean-63ee1835-migrate-1 Exited
Container mtusi-lab7-clean-63ee1835-bucket-bootstrap-1 Exited
Container mtusi-lab7-clean-63ee1835-bucket-bootstrap-1 Exited
Container mtusi-lab7-clean-63ee1835-dispatcher-1 Starting
Container mtusi-lab7-clean-63ee1835-api-1 Starting
Container mtusi-lab7-clean-63ee1835-bucket-bootstrap-1 Exited
Container mtusi-lab7-clean-63ee1835-worker-1 Starting
Container mtusi-lab7-clean-63ee1835-dispatcher-1 Started
Container mtusi-lab7-clean-63ee1835-worker-1 Started
Container mtusi-lab7-clean-63ee1835-api-1 Started
Container mtusi-lab7-clean-63ee1835-api-2 Starting
Container mtusi-lab7-clean-63ee1835-api-2 Started
Container mtusi-lab7-clean-63ee1835-lb-1 Starting
Container mtusi-lab7-clean-63ee1835-lb-1 Started
Local PKI ready; CA keys remain in operator/ and are not mounted into services.
Local service configuration generated; no credentials printed.
OpenBao initialized/unsealed by explicit operator action; scoped service policies and 20s certificate-auth tokens configured.
Lab7 processes started; waiting for verified HTTPS readiness.
Lab7 ready over trusted HTTPS; operator secrets stay local.
$ check + public HTTPS smoke + untrusted CA +18 API/image tests
python3 scripts/check_contract.py
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
python3 tests/smoke.py --base-url "https://localhost:18444" --ca-file "/Users/ssmayorova/Documents/учеба/Высоконагруженные приложения/lab7/build/mtusi-lab7-clean-63ee1835/pki/lb/ca.crt"
FAIL: POST /api/v1/chats/338ce157-7e05-497d-9468-1b9f9ab4c0db/attachments: expected [202], received 503
make: *** [test] Error 1
$ cleanup ONLY disposable project mtusi-lab7-clean-63ee1835
Container mtusi-lab7-clean-63ee1835-broker-raw-1 Stopping
Container mtusi-lab7-clean-63ee1835-otel-collector-raw-1 Stopping
Container mtusi-lab7-clean-63ee1835-tempo-raw-1 Stopping
Container mtusi-lab7-clean-63ee1835-dispatcher-1 Stopping
Container mtusi-lab7-clean-63ee1835-redis-raw-1 Stopping
Container mtusi-lab7-clean-63ee1835-grafana-1 Stopping
Container mtusi-lab7-clean-63ee1835-prometheus-raw-1 Stopping
Container mtusi-lab7-clean-63ee1835-lb-1 Stopping
Container mtusi-lab7-clean-63ee1835-loki-raw-1 Stopping
Container mtusi-lab7-clean-63ee1835-bao-1 Stopping
Container mtusi-lab7-clean-63ee1835-worker-1 Stopping
Container mtusi-lab7-clean-63ee1835-redis-raw-1 Stopped
Container mtusi-lab7-clean-63ee1835-redis-raw-1 Removing
Container mtusi-lab7-clean-63ee1835-broker-raw-1 Stopped
Container mtusi-lab7-clean-63ee1835-broker-raw-1 Removing
Container mtusi-lab7-clean-63ee1835-lb-1 Stopped
Container mtusi-lab7-clean-63ee1835-lb-1 Removing
Container mtusi-lab7-clean-63ee1835-prometheus-raw-1 Stopped
Container mtusi-lab7-clean-63ee1835-prometheus-raw-1 Removing
Container mtusi-lab7-clean-63ee1835-redis-raw-1 Removed
Container mtusi-lab7-clean-63ee1835-redis-1 Stopping
Container mtusi-lab7-clean-63ee1835-broker-raw-1 Removed
Container mtusi-lab7-clean-63ee1835-broker-1 Stopping
Container mtusi-lab7-clean-63ee1835-otel-collector-raw-1 Stopped
Container mtusi-lab7-clean-63ee1835-otel-collector-raw-1 Removing
Container mtusi-lab7-clean-63ee1835-lb-1 Removed
Container mtusi-lab7-clean-63ee1835-api-1 Stopping
Container mtusi-lab7-clean-63ee1835-api-2 Stopping
Container mtusi-lab7-clean-63ee1835-prometheus-raw-1 Removed
Container mtusi-lab7-clean-63ee1835-prometheus-1 Stopping
Container mtusi-lab7-clean-63ee1835-otel-collector-raw-1 Removed
Container mtusi-lab7-clean-63ee1835-otel-collector-1 Stopping
Container mtusi-lab7-clean-63ee1835-dispatcher-1 Stopped
Container mtusi-lab7-clean-63ee1835-dispatcher-1 Removing
Container mtusi-lab7-clean-63ee1835-grafana-1 Stopped
Container mtusi-lab7-clean-63ee1835-grafana-1 Removing
Container mtusi-lab7-clean-63ee1835-tempo-raw-1 Stopped
Container mtusi-lab7-clean-63ee1835-tempo-raw-1 Removing
Container mtusi-lab7-clean-63ee1835-dispatcher-1 Removed
Container mtusi-lab7-clean-63ee1835-broker-1 Stopped
Container mtusi-lab7-clean-63ee1835-broker-1 Removing
Container mtusi-lab7-clean-63ee1835-grafana-1 Removed
Container mtusi-lab7-clean-63ee1835-tempo-raw-1 Removed
Container mtusi-lab7-clean-63ee1835-tempo-1 Stopping
Container mtusi-lab7-clean-63ee1835-broker-1 Removed
Container mtusi-lab7-clean-63ee1835-prometheus-1 Stopped
Container mtusi-lab7-clean-63ee1835-prometheus-1 Removing
Container mtusi-lab7-clean-63ee1835-redis-1 Stopped
Container mtusi-lab7-clean-63ee1835-redis-1 Removing
Container mtusi-lab7-clean-63ee1835-prometheus-1 Removed
Container mtusi-lab7-clean-63ee1835-redis-1 Removed
Container mtusi-lab7-clean-63ee1835-tempo-1 Stopped
Container mtusi-lab7-clean-63ee1835-tempo-1 Removing
Container mtusi-lab7-clean-63ee1835-bao-1 Stopped
Container mtusi-lab7-clean-63ee1835-bao-1 Removing
Container mtusi-lab7-clean-63ee1835-tempo-1 Removed
Container mtusi-lab7-clean-63ee1835-bao-1 Removed
Container mtusi-lab7-clean-63ee1835-api-2 Stopped
Container mtusi-lab7-clean-63ee1835-api-2 Removing
Container mtusi-lab7-clean-63ee1835-api-2 Removed
Container mtusi-lab7-clean-63ee1835-loki-raw-1 Stopped
Container mtusi-lab7-clean-63ee1835-loki-raw-1 Removing
Container mtusi-lab7-clean-63ee1835-loki-raw-1 Removed
Container mtusi-lab7-clean-63ee1835-loki-1 Stopping
Container mtusi-lab7-clean-63ee1835-loki-1 Stopped
Container mtusi-lab7-clean-63ee1835-loki-1 Removing
Container mtusi-lab7-clean-63ee1835-loki-1 Removed
Container mtusi-lab7-clean-63ee1835-worker-1 Stopped
Container mtusi-lab7-clean-63ee1835-worker-1 Removing
Container mtusi-lab7-clean-63ee1835-worker-1 Removed
Container mtusi-lab7-clean-63ee1835-api-1 Stopped
Container mtusi-lab7-clean-63ee1835-api-1 Removing
Container mtusi-lab7-clean-63ee1835-api-1 Removed
Container mtusi-lab7-clean-63ee1835-bucket-bootstrap-1 Stopping
Container mtusi-lab7-clean-63ee1835-migrate-1 Stopping
Container mtusi-lab7-clean-63ee1835-bucket-bootstrap-1 Stopped
Container mtusi-lab7-clean-63ee1835-bucket-bootstrap-1 Removing
Container mtusi-lab7-clean-63ee1835-migrate-1 Stopped
Container mtusi-lab7-clean-63ee1835-migrate-1 Removing
Container mtusi-lab7-clean-63ee1835-bucket-bootstrap-1 Removed
Container mtusi-lab7-clean-63ee1835-s3-raw-1 Stopping
Container mtusi-lab7-clean-63ee1835-migrate-1 Removed
Container mtusi-lab7-clean-63ee1835-postgres-1 Stopping
Container mtusi-lab7-clean-63ee1835-postgres-1 Stopped
Container mtusi-lab7-clean-63ee1835-postgres-1 Removing
Container mtusi-lab7-clean-63ee1835-postgres-1 Removed
Container mtusi-lab7-clean-63ee1835-s3-raw-1 Stopped
Container mtusi-lab7-clean-63ee1835-s3-raw-1 Removing
Container mtusi-lab7-clean-63ee1835-s3-raw-1 Removed
Container mtusi-lab7-clean-63ee1835-s3-store-1 Stopping
Container mtusi-lab7-clean-63ee1835-otel-collector-1 Stopped
Container mtusi-lab7-clean-63ee1835-otel-collector-1 Removing
Container mtusi-lab7-clean-63ee1835-otel-collector-1 Removed
Container mtusi-lab7-clean-63ee1835-s3-store-1 Stopped
Container mtusi-lab7-clean-63ee1835-s3-store-1 Removing
Container mtusi-lab7-clean-63ee1835-s3-store-1 Removed
Container mtusi-lab7-clean-63ee1835-volume-init-1 Stopping
Container mtusi-lab7-clean-63ee1835-s3-1 Stopping
Container mtusi-lab7-clean-63ee1835-volume-init-1 Stopped
Container mtusi-lab7-clean-63ee1835-volume-init-1 Removing
Container mtusi-lab7-clean-63ee1835-volume-init-1 Removed
Container mtusi-lab7-clean-63ee1835-s3-1 Stopped
Container mtusi-lab7-clean-63ee1835-s3-1 Removing
Container mtusi-lab7-clean-63ee1835-s3-1 Removed
Volume mtusi-lab7-clean-63ee1835_bao_data Removing
Volume mtusi-lab7-clean-63ee1835_metrics_data Removing
Network mtusi-lab7-clean-63ee1835_edge Removing
Volume mtusi-lab7-clean-63ee1835_traces_data Removing
Volume mtusi-lab7-clean-63ee1835_grafana_data Removing
Volume mtusi-lab7-clean-63ee1835_postgres_data Removing
Volume mtusi-lab7-clean-63ee1835_logs_data Removing
Volume mtusi-lab7-clean-63ee1835_broker_data Removing
Network mtusi-lab7-clean-63ee1835_backend Removing
Volume mtusi-lab7-clean-63ee1835_s3_data Removing
Volume mtusi-lab7-clean-63ee1835_bao_data Removed
Volume mtusi-lab7-clean-63ee1835_metrics_data Removed
Volume mtusi-lab7-clean-63ee1835_traces_data Removed
Volume mtusi-lab7-clean-63ee1835_grafana_data Removed
Volume mtusi-lab7-clean-63ee1835_broker_data Removed
Volume mtusi-lab7-clean-63ee1835_s3_data Removed
Volume mtusi-lab7-clean-63ee1835_logs_data Removed
Volume mtusi-lab7-clean-63ee1835_postgres_data Removed
Network mtusi-lab7-clean-63ee1835_edge Removed
Network mtusi-lab7-clean-63ee1835_backend Removed
+44
View File
@@ -0,0 +1,44 @@
{
"pass": true,
"commit_tested": "7d7bd69d8af959bda540b1bc203c9d62e56c3566",
"project": "mtusi-lab7-clean-e6ba6863",
"fresh_secrets_pki_and_volumes": true,
"independent_ports": [
18444,
13408,
18208
],
"results": {
"fresh bootstrap, build, migrations and verified HTTPS ready": {
"pass": true,
"seconds": 30.145
},
"check + public HTTPS smoke + untrusted CA +18 API/image tests": {
"pass": true,
"seconds": 9.349
},
"internal TLS/identity/raw-port/ACL audit": {
"pass": true,
"seconds": 3.167
},
"Argon/rehash/expiry/rate limit/S3 ACL/real trace canaries": {
"pass": true,
"seconds": 9.288
},
"full business + historical telemetry + existing Bao store restart": {
"pass": true,
"seconds": 18.679
},
"Grafana HTTPS/mTLS datasources and21 panels": {
"pass": true,
"seconds": 0.259
},
"effective hardening and actual listeners": {
"pass": true,
"seconds": 1.465
}
},
"seconds": 72.354,
"main_lab7_data_reset": false,
"only_disposable_project_volumes_deleted": true
}
File diff suppressed because it is too large Load Diff
+4
View File
@@ -0,0 +1,4 @@
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "https://localhost:18443" --ca-file "/Users/ssmayorova/Documents/учеба/Высоконагруженные приложения/lab7/pki/lb/ca.crt"
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 112, "failed_attempts": 1, "first_recovery_seconds": 2.682}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
+4
View File
@@ -0,0 +1,4 @@
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "https://localhost:18443" --ca-file "/Users/ssmayorova/Documents/учеба/Высоконагруженные приложения/lab7/pki/lb/ca.crt"
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 112, "failed_attempts": 1, "first_recovery_seconds": 2.1}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
+4
View File
@@ -0,0 +1,4 @@
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "https://localhost:18443" --ca-file "/Users/ssmayorova/Documents/учеба/Высоконагруженные приложения/lab7/pki/lb/ca.crt"
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 111, "failed_attempts": 1, "first_recovery_seconds": 2.1}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
+4
View File
@@ -0,0 +1,4 @@
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "https://localhost:18443" --ca-file "/Users/ssmayorova/Documents/учеба/Высоконагруженные приложения/lab7/pki/lb/ca.crt"
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 112, "failed_attempts": 1, "first_recovery_seconds": 1.982}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
+4
View File
@@ -0,0 +1,4 @@
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "https://localhost:18443" --ca-file "/Users/ssmayorova/Documents/учеба/Высоконагруженные приложения/lab7/pki/lb/ca.crt"
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 112, "failed_attempts": 1, "first_recovery_seconds": 2.095}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
+4
View File
@@ -0,0 +1,4 @@
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "https://localhost:18443" --ca-file "/Users/ssmayorova/Documents/учеба/Высоконагруженные приложения/lab7/pki/lb/ca.crt"
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 110, "failed_attempts": 1, "first_recovery_seconds": 2.331}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
+30
View File
@@ -0,0 +1,30 @@
python3 scripts/check_contract.py
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
python3 tests/smoke.py --base-url "https://localhost:18443" --ca-file "/Users/ssmayorova/Documents/учеба/Высоконагруженные приложения/lab7/pki/lb/ca.crt"
PASS: lab7 public API scenario; infrastructure and grading evidence remain separate.
python3 tests/security.py --base-url "https://localhost:18443" --ca-file "/Users/ssmayorova/Documents/учеба/Высоконагруженные приложения/lab7/pki/lb/ca.crt"
PASS: trusted HTTPS works; untrusted CA rejected. This does NOT verify internal mTLS, OpenBao or hardening.
BASE_URL="https://localhost:18443" CA_FILE="/Users/ssmayorova/Documents/учеба/Высоконагруженные приложения/lab7/pki/lb/ca.crt" python3 -m unittest discover -s student-tests -p 'test_*.py' -v
test_concurrent_messages_and_pagination (test_api.APIContract) ... ok
test_cursor_scope_and_validation (test_api.APIContract) ... ok
test_foreign_chat (test_api.APIContract) ... ok
test_idempotency_concurrent_replicas (test_api.APIContract) ... ok
test_idempotency_conflicting_race (test_api.APIContract) ... ok
test_idempotency_invalid_keys (test_api.APIContract) ... ok
test_idempotency_scope (test_api.APIContract) ... ok
test_idempotency_semantic_body (test_api.APIContract) ... ok
test_invalid_chat_creation (test_api.APIContract) ... ok
test_malformed_json_and_extra_fields (test_api.APIContract) ... ok
test_protocol_error_headers (test_api.APIContract) ... ok
test_registration_race (test_api.APIContract) ... ok
test_unicode_limits (test_api.APIContract) ... ok
test_unicode_nul_round_trip (test_api.APIContract) ... ok
test_unicode_password_basic_and_logout (test_api.APIContract) ... ok
test_async_variants_and_replay (test_images.Images) ... ok
test_mime_bytes_pixels_and_filename (test_images.Images) ... ok
test_private_and_cross_chat (test_images.Images) ... ok
----------------------------------------------------------------------
Ran 18 tests in 7.369s
OK
+23
View File
@@ -0,0 +1,23 @@
api running
api running
bao running
broker running
broker-raw running
dispatcher running
grafana running
lb running
loki running
loki-raw running
otel-collector running
otel-collector-raw running
postgres running
prometheus running
prometheus-raw running
redis running
redis-raw running
s3 running
s3-raw running
s3-store running
tempo running
tempo-raw running
worker running
+1
View File
@@ -0,0 +1 @@
PASS: native Grafana HTTPS/operator auth, all TLS client datasources, real Prometheus data and trace link configuration.
+14
View File
@@ -0,0 +1,14 @@
{
"native_https_verified_ca_hostname": true,
"anonymous_datasource_api_401": true,
"authenticated_operator_api": true,
"tls_mtls_datasources": [
"Loki",
"Prometheus",
"Tempo"
],
"dashboard_uid": "messenger-lab7",
"panels": 21,
"actual_scrape_targets_up": 2,
"loki_trace_link_provisioned": true
}
+1
View File
@@ -0,0 +1 @@
PASS effective limits, non-root apps, drop ALL/no-new-privileges/read-only; published loopback TLS only, local raw listeners, wrong hostname rejected.
+595
View File
@@ -0,0 +1,595 @@
{
"containers": [
{
"service": "api",
"user": "10001:10001",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 268435456,
"nano_cpus": 1000000000,
"host_ports": {}
},
{
"service": "api",
"user": "10001:10001",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 268435456,
"nano_cpus": 1000000000,
"host_ports": {}
},
{
"service": "bao",
"user": "100:1000",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 268435456,
"nano_cpus": 500000000,
"host_ports": {
"8200/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "18207"
}
]
}
},
{
"service": "broker",
"user": "10001:10001",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 67108864,
"nano_cpus": 500000000,
"host_ports": {}
},
{
"service": "broker-raw",
"user": "999:999",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 201326592,
"nano_cpus": 500000000,
"host_ports": {}
},
{
"service": "bucket-bootstrap",
"user": "10001:10001",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 134217728,
"nano_cpus": 500000000,
"host_ports": {}
},
{
"service": "dispatcher",
"user": "10001:10001",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 268435456,
"nano_cpus": 1000000000,
"host_ports": {}
},
{
"service": "grafana",
"user": "472",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 268435456,
"nano_cpus": 500000000,
"host_ports": {
"3000/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "13407"
}
]
}
},
{
"service": "lb",
"user": "10001:10001",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 67108864,
"nano_cpus": 500000000,
"host_ports": {
"8443/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "18443"
}
]
}
},
{
"service": "loki",
"user": "10001:10001",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 67108864,
"nano_cpus": 500000000,
"host_ports": {}
},
{
"service": "loki-raw",
"user": "10001",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 268435456,
"nano_cpus": 500000000,
"host_ports": {}
},
{
"service": "migrate",
"user": "10001:10001",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 134217728,
"nano_cpus": 500000000,
"host_ports": {}
},
{
"service": "otel-collector",
"user": "10001:10001",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 67108864,
"nano_cpus": 500000000,
"host_ports": {}
},
{
"service": "otel-collector-raw",
"user": "10001:10001",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 268435456,
"nano_cpus": 500000000,
"host_ports": {}
},
{
"service": "postgres",
"user": "",
"read_only": false,
"cap_drop": [
"ALL"
],
"cap_add": [
"CAP_CHOWN",
"CAP_DAC_OVERRIDE",
"CAP_FOWNER",
"CAP_SETGID",
"CAP_SETUID"
],
"no_new_privileges": true,
"memory_bytes": 536870912,
"nano_cpus": 500000000,
"host_ports": {}
},
{
"service": "prometheus",
"user": "10001:10001",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 67108864,
"nano_cpus": 500000000,
"host_ports": {}
},
{
"service": "prometheus-raw",
"user": "nobody",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 268435456,
"nano_cpus": 500000000,
"host_ports": {}
},
{
"service": "redis",
"user": "10001:10001",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 67108864,
"nano_cpus": 500000000,
"host_ports": {}
},
{
"service": "redis-raw",
"user": "999:999",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 67108864,
"nano_cpus": 500000000,
"host_ports": {}
},
{
"service": "s3",
"user": "10001:10001",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 67108864,
"nano_cpus": 500000000,
"host_ports": {}
},
{
"service": "s3-raw",
"user": "10001:10001",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 402653184,
"nano_cpus": 500000000,
"host_ports": {}
},
{
"service": "s3-store",
"user": "10001:10001",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 536870912,
"nano_cpus": 500000000,
"host_ports": {}
},
{
"service": "tempo",
"user": "10001:10001",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 67108864,
"nano_cpus": 500000000,
"host_ports": {}
},
{
"service": "tempo-raw",
"user": "10001:10001",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 402653184,
"nano_cpus": 500000000,
"host_ports": {}
},
{
"service": "volume-init",
"user": "0:0",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [
"CAP_CHOWN"
],
"no_new_privileges": true,
"memory_bytes": 67108864,
"nano_cpus": 500000000,
"host_ports": {}
},
{
"service": "worker",
"user": "10001:10001",
"read_only": true,
"cap_drop": [
"ALL"
],
"cap_add": [],
"no_new_privileges": true,
"memory_bytes": 805306368,
"nano_cpus": 1000000000,
"host_ports": {}
}
],
"ipv4_listeners": {
"api-1": [
{
"address": "127.0.0.11",
"port": 40503
},
{
"address": "0.0.0.0",
"port": 8080
}
],
"api-2": [
{
"address": "127.0.0.11",
"port": 44643
},
{
"address": "0.0.0.0",
"port": 8080
}
],
"bao": [
{
"address": "127.0.0.11",
"port": 37185
},
{
"address": "0.0.0.0",
"port": 8200
}
],
"broker": [
{
"address": "127.0.0.1",
"port": 6379
},
{
"address": "0.0.0.0",
"port": 8443
},
{
"address": "127.0.0.11",
"port": 35853
}
],
"grafana": [
{
"address": "127.0.0.11",
"port": 44223
}
],
"lb": [
{
"address": "127.0.0.11",
"port": 45307
},
{
"address": "0.0.0.0",
"port": 8443
}
],
"loki": [
{
"address": "0.0.0.0",
"port": 8443
},
{
"address": "127.0.0.11",
"port": 44273
},
{
"address": "127.0.0.1",
"port": 3100
},
{
"address": "127.0.0.1",
"port": 9095
}
],
"otel-collector": [
{
"address": "127.0.0.1",
"port": 8888
},
{
"address": "127.0.0.1",
"port": 8889
},
{
"address": "0.0.0.0",
"port": 8443
},
{
"address": "0.0.0.0",
"port": 8444
},
{
"address": "0.0.0.0",
"port": 8445
},
{
"address": "127.0.0.1",
"port": 4318
},
{
"address": "127.0.0.11",
"port": 39595
}
],
"prometheus": [
{
"address": "127.0.0.11",
"port": 34753
},
{
"address": "127.0.0.1",
"port": 9090
},
{
"address": "0.0.0.0",
"port": 8443
}
],
"redis": [
{
"address": "127.0.0.11",
"port": 34905
},
{
"address": "127.0.0.1",
"port": 6379
},
{
"address": "0.0.0.0",
"port": 8443
}
],
"s3": [
{
"address": "127.0.0.1",
"port": 9333
},
{
"address": "127.0.0.1",
"port": 9340
},
{
"address": "127.0.0.1",
"port": 23646
},
{
"address": "127.0.0.1",
"port": 18333
},
{
"address": "127.0.0.1",
"port": 8333
},
{
"address": "127.0.0.1",
"port": 12535
},
{
"address": "127.0.0.1",
"port": 22535
},
{
"address": "127.0.0.1",
"port": 18888
},
{
"address": "127.0.0.1",
"port": 8888
},
{
"address": "127.0.0.11",
"port": 45173
},
{
"address": "127.0.0.1",
"port": 19333
},
{
"address": "127.0.0.1",
"port": 19340
},
{
"address": "0.0.0.0",
"port": 8443
},
{
"address": "127.0.0.1",
"port": 33646
}
],
"tempo": [
{
"address": "127.0.0.1",
"port": 9095
},
{
"address": "127.0.0.1",
"port": 4318
},
{
"address": "0.0.0.0",
"port": 8444
},
{
"address": "0.0.0.0",
"port": 8443
},
{
"address": "127.0.0.11",
"port": 45653
},
{
"address": "127.0.0.1",
"port": 3200
}
]
},
"wrong_external_hostname_rejected": true,
"note": "Raw local hops share only their proxy namespace; PostgreSQL is native TLS. DNS on127.0.0.11 is platform-local, not a business listener."
}
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
+5
View File
@@ -0,0 +1,5 @@
Container mtusi-lab7-audit-run-9470f081436c Creating
Container mtusi-lab7-audit-run-9470f081436c Created
Container mtusi-lab7-audit-run-3cef46528198 Creating
Container mtusi-lab7-audit-run-3cef46528198 Created
PASS: original HTTPS persistence and historical Tempo/Loki/Prometheus; Bao existing store survives.
+3
View File
@@ -0,0 +1,3 @@
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "https://localhost:18443" --ca-file "/Users/ssmayorova/Documents/учеба/Высоконагруженные приложения/lab7/pki/lb/ca.crt"
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
+119
View File
@@ -0,0 +1,119 @@
{
"invariants": {
"commit_before_publish_recovered": true,
"publish_before_marker_duplicate_safe": true,
"crashes_before_after_side_effect_and_commit": true,
"invalid_envelope_observable_dlq": true,
"duplicate_and_reorder_no_second_effect": true,
"concurrent_duplicate_single_claim": true,
"stale_running_version_fenced": true,
"old_delivery_after_new_ready_no_overwrite": true,
"failed_registry_explicit_replay_and_ready_refusal": true,
"transient_backoff_exhaustion_then_replay": true,
"invalid_decode_permanent_failed": true,
"cleanup_preserves_current_and_fresh_failed": true,
"ready_staging_cleanup_idempotent": true
},
"faults": [
{
"point": "before_side_effect",
"exit_code": 77,
"state_at_crash": "processing",
"recovered": "ready",
"attempts": 2,
"result_objects": 4
},
{
"point": "after_original",
"exit_code": 77,
"state_at_crash": "processing",
"recovered": "ready",
"attempts": 2,
"result_objects": 4
},
{
"point": "after_objects",
"exit_code": 77,
"state_at_crash": "processing",
"recovered": "ready",
"attempts": 2,
"result_objects": 4
},
{
"point": "after_commit",
"exit_code": 77,
"state_at_crash": "ready",
"recovered": "ready",
"attempts": 1,
"result_objects": 4
}
],
"retry": {
"transitions": [
{
"state": "queued",
"attempt": 1,
"error_code": "storage_unavailable"
},
{
"state": "failed",
"attempt": 2,
"error_code": "retry_exhausted"
}
],
"seconds": 3.427,
"replayed_attempt": 3
},
"transforms": [
{
"kind": "alpha",
"size": [
20,
10
],
"exif_removed": true
},
{
"kind": "exif",
"size": [
256,
160
],
"exif_removed": true
},
{
"kind": "small",
"size": [
5,
3
],
"exif_removed": true
}
],
"cleanup": [
{
"apply": false,
"retention_seconds": 86400,
"counts": {
"ready_staging": 46,
"expired_staging": 0
}
},
{
"apply": true,
"retention_seconds": 86400,
"counts": {
"ready_staging": 46,
"expired_staging": 0
}
},
{
"apply": true,
"retention_seconds": 86400,
"counts": {
"ready_staging": 0,
"expired_staging": 0
}
}
]
}
+4
View File
@@ -0,0 +1,4 @@
{
"unprivileged_fixture_leaf_renewal_preserved_existing_serial_denylist": true,
"production_roles_not_renewed_in_this_probe": true
}
+6
View File
@@ -0,0 +1,6 @@
python3 scripts/check_contract.py
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
python3 tests/smoke.py --base-url "https://localhost:18443" --ca-file "/Users/ssmayorova/Documents/учеба/Высоконагруженные приложения/lab7/pki/lb/ca.crt"
PASS: lab7 public API scenario; infrastructure and grading evidence remain separate.
python3 tests/security.py --base-url "https://localhost:18443" --ca-file "/Users/ssmayorova/Documents/учеба/Высоконагруженные приложения/lab7/pki/lb/ca.crt"
PASS: trusted HTTPS works; untrusted CA rejected. This does NOT verify internal mTLS, OpenBao or hardening.
+8
View File
@@ -0,0 +1,8 @@
{
"candidate_files": 155,
"actual_local_secret_values_checked": 72,
"leaks": 0,
"private_pem_headers_absent": true,
"original_public_tests_and_api_contract_unchanged": true,
"scope": "Cached + untracked nonignored files; current/revoked operator/settings/Bao values and private PEMs. Not a claim about arbitrary historical leaks."
}
+754
View File
@@ -0,0 +1,754 @@
[
{
"container": "8398cde71e6e44fad630caf86f2427445f80da9312bf2315e9be48a9297dcbed",
"name": "/mtusi-lab7-api-1",
"service": "api",
"image": "mtusi-messenger:lab7",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T11:38:03.995613374Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 268435456,
"nano_cpus": 1000000000,
"ports": {
"8080/tcp": null
},
"mounts": [
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
},
{
"container": "b738c046db77a7182d4bfd44dcc936a1699901ff439328000a96fef054ea90e9",
"name": "/mtusi-lab7-api-2",
"service": "api",
"image": "mtusi-messenger:lab7",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T11:38:04.092722887Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 268435456,
"nano_cpus": 1000000000,
"ports": {
"8080/tcp": null
},
"mounts": [
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
},
{
"container": "d8195b206f487fb062ee5ba958e1c0a650a7967e011329be8b9aa1e536f2424e",
"name": "/mtusi-lab7-bao-1",
"service": "bao",
"image": "openbao/openbao:2.4.4@sha256:595c83b42614a4d2b044608e4593c05b019c5db25bc9c185d8fff3ac96c03ddd",
"user": "100:1000",
"running": true,
"started_at": "2026-11-20T11:37:53.875511259Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 268435456,
"nano_cpus": 500000000,
"ports": {
"8200/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "18207"
}
]
},
"mounts": [
{
"type": "volume",
"destination": "/openbao/logs",
"name": "189642054cc115ee03eb2a3d0f1c3972476252a500d4613486d70b2c7f370e53"
},
{
"type": "volume",
"destination": "/bao/data",
"name": "mtusi-lab7_bao_data"
},
{
"type": "bind",
"destination": "/etc/bao.hcl",
"name": null
},
{
"type": "bind",
"destination": "/tls",
"name": null
},
{
"type": "volume",
"destination": "/openbao/file",
"name": "c067c057f8ccfcfe31609e25dc1c2b1ad20bc1eeb2e098c144ab05fd587749ac"
}
]
},
{
"container": "81d91e475ba5626277feec77efb2a5a26df10d7e8aa3e12ae7af6be6f1c25fbf",
"name": "/mtusi-lab7-broker-1",
"service": "broker",
"image": "haproxy:3.0-alpine@sha256:7430e63d3052198b18a40665b59a5826bc428e8bceb0c561d82258149ef855ee",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T10:57:12.552212846Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 67108864,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/etc/haproxy.cfg",
"name": null
},
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
},
{
"container": "9d72c074c2116de3ccc068c25a0dde44c217136d380697cd988dd03ae5a36acb",
"name": "/mtusi-lab7-broker-raw-1",
"service": "broker-raw",
"image": "redis:7.4-bookworm@sha256:2e3eb11462c4e3759e6972678dd051d150ff54b1e60714b3c33b701260172a90",
"user": "999:999",
"running": true,
"started_at": "2026-11-20T11:37:53.577456456Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 201326592,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "volume",
"destination": "/data",
"name": "mtusi-lab7_broker_data"
},
{
"type": "bind",
"destination": "/etc/redis.conf",
"name": null
}
]
},
{
"container": "38f051bc9c69c0595d51ede1cfa28b1063dae33cb9062b9415e24b2308c7ecce",
"name": "/mtusi-lab7-bucket-bootstrap-1",
"service": "bucket-bootstrap",
"image": "mtusi-messenger:lab7",
"user": "10001:10001",
"running": false,
"started_at": "2026-11-20T11:34:50.480058685Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 134217728,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/tls",
"name": null
},
{
"type": "bind",
"destination": "/run/s3_key",
"name": null
},
{
"type": "bind",
"destination": "/run/s3_secret",
"name": null
}
]
},
{
"container": "2972a7bfb300130c3f881a379301a5a5595dfcbf1a89c53a836c278a573bcd79",
"name": "/mtusi-lab7-dispatcher-1",
"service": "dispatcher",
"image": "mtusi-messenger:lab7",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T11:38:03.995433162Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 268435456,
"nano_cpus": 1000000000,
"ports": {
"8080/tcp": null
},
"mounts": [
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
},
{
"container": "b76b358d564111a931e28516e460a8b459a00a85ab8db5d3e3a2a3cbdbc003af",
"name": "/mtusi-lab7-grafana-1",
"service": "grafana",
"image": "grafana/grafana:12.1.1@sha256:a1701c2180249361737a99a01bc770db39381640e4d631825d38ff4535efa47d",
"user": "472",
"running": true,
"started_at": "2026-11-20T11:37:53.713599928Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 268435456,
"nano_cpus": 500000000,
"ports": {
"3000/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "13407"
}
]
},
"mounts": [
{
"type": "bind",
"destination": "/etc/grafana/provisioning/datasources/lab7.yaml",
"name": null
},
{
"type": "bind",
"destination": "/etc/grafana/provisioning/dashboards",
"name": null
},
{
"type": "bind",
"destination": "/var/lib/grafana/dashboards",
"name": null
},
{
"type": "volume",
"destination": "/var/lib/grafana",
"name": "mtusi-lab7_grafana_data"
},
{
"type": "bind",
"destination": "/tls",
"name": null
},
{
"type": "bind",
"destination": "/run/password",
"name": null
}
]
},
{
"container": "8d42cad4af6e70571ec2edfc122225155db9fdc1e6038cbedbf0a06f7802f4e9",
"name": "/mtusi-lab7-lb-1",
"service": "lb",
"image": "haproxy:3.0-alpine@sha256:7430e63d3052198b18a40665b59a5826bc428e8bceb0c561d82258149ef855ee",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T11:38:04.227385416Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 67108864,
"nano_cpus": 500000000,
"ports": {
"8443/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "18443"
}
]
},
"mounts": [
{
"type": "bind",
"destination": "/etc/haproxy.cfg",
"name": null
},
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
},
{
"container": "66196ab12ad9ac9d9921864f2d19d887e1f8d3c30a706a475175e1ee2ccaaa25",
"name": "/mtusi-lab7-loki-1",
"service": "loki",
"image": "haproxy:3.0-alpine@sha256:7430e63d3052198b18a40665b59a5826bc428e8bceb0c561d82258149ef855ee",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T10:57:12.613150089Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 67108864,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/etc/haproxy.cfg",
"name": null
},
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
},
{
"container": "021ea088a7ca504744cf6f435205cd6166919162ce891b656c6ba04da60725db",
"name": "/mtusi-lab7-loki-raw-1",
"service": "loki-raw",
"image": "grafana/loki:3.5.3@sha256:3165cecce301ce5b9b6e3530284b080934a05cd5cafac3d3d82edcb887b45ecd",
"user": "10001",
"running": true,
"started_at": "2026-11-20T11:37:54.087268854Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 268435456,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/etc/loki.yaml",
"name": null
},
{
"type": "volume",
"destination": "/loki",
"name": "mtusi-lab7_logs_data"
}
]
},
{
"container": "bfbeb139a45b238681e3f2480d6fa5798d42f0e0cbb5472a5e486841e55803f5",
"name": "/mtusi-lab7-migrate-1",
"service": "migrate",
"image": "mtusi-messenger:lab7",
"user": "10001:10001",
"running": false,
"started_at": "2026-11-20T11:34:49.989494125Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 134217728,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/run/dsn",
"name": null
},
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
},
{
"container": "32b7f5dcee8a7ed60d7a9d2cef69ba404f7d88a3d6688f67be934dfbc0d4fdba",
"name": "/mtusi-lab7-otel-collector-1",
"service": "otel-collector",
"image": "haproxy:3.0-alpine@sha256:7430e63d3052198b18a40665b59a5826bc428e8bceb0c561d82258149ef855ee",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T10:57:12.614424382Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 67108864,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/etc/haproxy.cfg",
"name": null
},
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
},
{
"container": "a954daeaa7dd0178ce6de6f7185fcb7066d97c62019d722c661d119209039333",
"name": "/mtusi-lab7-otel-collector-raw-1",
"service": "otel-collector-raw",
"image": "otel/opentelemetry-collector-contrib:0.132.0@sha256:e0f565815b2b8e78eb9fdbb80f6190c921ab323aaa8ccceab3255c6d4225f4af",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T11:37:53.531841752Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 268435456,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/etc/otel.yaml",
"name": null
},
{
"type": "bind",
"destination": "/client",
"name": null
}
]
},
{
"container": "afa8c68605a886d1cd3a667a977b84d6d54b9408da4d13d8e0601adace2653f8",
"name": "/mtusi-lab7-postgres-1",
"service": "postgres",
"image": "postgres:17-bookworm@sha256:837bed18782820fe967067cb5328b02b0d9992c1be9a37ee0c9c492cfc03af3b",
"user": "",
"running": true,
"started_at": "2026-11-20T11:37:53.699815519Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 536870912,
"nano_cpus": 500000000,
"ports": {
"5432/tcp": null
},
"mounts": [
{
"type": "bind",
"destination": "/tls",
"name": null
},
{
"type": "bind",
"destination": "/run/password",
"name": null
},
{
"type": "bind",
"destination": "/docker-entrypoint-initdb.d/01.sql",
"name": null
},
{
"type": "bind",
"destination": "/etc/postgresql/pg_hba.conf",
"name": null
},
{
"type": "bind",
"destination": "/start.sh",
"name": null
},
{
"type": "volume",
"destination": "/var/lib/postgresql/data",
"name": "mtusi-lab7_postgres_data"
}
]
},
{
"container": "124c12409d9b91fc0913710d43c8250d072bee80a5185ba408f585a66c62b5fb",
"name": "/mtusi-lab7-prometheus-1",
"service": "prometheus",
"image": "haproxy:3.0-alpine@sha256:7430e63d3052198b18a40665b59a5826bc428e8bceb0c561d82258149ef855ee",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T10:57:12.600551168Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 67108864,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/tls",
"name": null
},
{
"type": "bind",
"destination": "/etc/haproxy.cfg",
"name": null
}
]
},
{
"container": "85592df310c72df9aded719cb2d19ff40d98cc60afafa22755a56f66fc9885b1",
"name": "/mtusi-lab7-prometheus-raw-1",
"service": "prometheus-raw",
"image": "prom/prometheus:v3.5.0@sha256:63805ebb8d2b3920190daf1cb14a60871b16fd38bed42b857a3182bc621f4996",
"user": "nobody",
"running": true,
"started_at": "2026-11-20T11:37:53.57420888Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 268435456,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/tls",
"name": null
},
{
"type": "volume",
"destination": "/prometheus",
"name": "mtusi-lab7_metrics_data"
},
{
"type": "bind",
"destination": "/etc/prometheus.yaml",
"name": null
},
{
"type": "bind",
"destination": "/etc/prometheus/alerts.yaml",
"name": null
}
]
},
{
"container": "eb85bf0820c724a8a4186c1ec5668ba901c018ad0238c03f6dff7e31621d9267",
"name": "/mtusi-lab7-redis-1",
"service": "redis",
"image": "haproxy:3.0-alpine@sha256:7430e63d3052198b18a40665b59a5826bc428e8bceb0c561d82258149ef855ee",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T10:57:12.614025868Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 67108864,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/etc/haproxy.cfg",
"name": null
},
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
},
{
"container": "08253582bedb65c1f84cfa303b657aac4d0e36a0229aa0e32185558011733a13",
"name": "/mtusi-lab7-redis-raw-1",
"service": "redis-raw",
"image": "redis:7.4-bookworm@sha256:2e3eb11462c4e3759e6972678dd051d150ff54b1e60714b3c33b701260172a90",
"user": "999:999",
"running": true,
"started_at": "2026-11-20T11:37:53.631735949Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 67108864,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/etc/redis.conf",
"name": null
},
{
"type": "volume",
"destination": "/data",
"name": "9510cdb849e1ba7c98ba0c11dcfb37133e596c632ab519aea925f5ca2bbfb9ad"
}
]
},
{
"container": "1ea6a697425ff20d9191bdd0702dd5eafa38765dcac47ef2e6f050aeff3972ce",
"name": "/mtusi-lab7-s3-1",
"service": "s3",
"image": "haproxy:3.0-alpine@sha256:7430e63d3052198b18a40665b59a5826bc428e8bceb0c561d82258149ef855ee",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T10:57:12.613419056Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 67108864,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/etc/haproxy.cfg",
"name": null
},
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
},
{
"container": "84ac101caa852787d0a10351c6c299cb0782cd02021f893d72b59ef5def4ded7",
"name": "/mtusi-lab7-s3-raw-1",
"service": "s3-raw",
"image": "chrislusf/seaweedfs:4.51@sha256:f7a49e3f3972ebed5be2ed4befa4a0c68eb7bdddba6e692d42729ceb545134b8",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T11:37:53.532344139Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 402653184,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "volume",
"destination": "/data",
"name": "b6bfbebcc9aa22f1c6048f93fa402dc86857033870f388824eef3f1c5fd1b452"
},
{
"type": "bind",
"destination": "/run/s3_config",
"name": null
}
]
},
{
"container": "fe86cdb1e0f8aa638db4ae7fe5b45bed203d4119bc85567c38a4ee64a2a556e6",
"name": "/mtusi-lab7-s3-store-1",
"service": "s3-store",
"image": "chrislusf/seaweedfs:4.51@sha256:f7a49e3f3972ebed5be2ed4befa4a0c68eb7bdddba6e692d42729ceb545134b8",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T11:37:54.974898031Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 536870912,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "volume",
"destination": "/data",
"name": "mtusi-lab7_s3_data"
}
]
},
{
"container": "3372304a6659837c814f34039a19948749043f81948b29b28292072fa2f8487e",
"name": "/mtusi-lab7-tempo-1",
"service": "tempo",
"image": "haproxy:3.0-alpine@sha256:7430e63d3052198b18a40665b59a5826bc428e8bceb0c561d82258149ef855ee",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T10:57:12.53813471Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 67108864,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/etc/haproxy.cfg",
"name": null
},
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
},
{
"container": "18644460953d161f9e50c23a5c959ea6a43914237fb91618396f6ebd4a51aa10",
"name": "/mtusi-lab7-tempo-raw-1",
"service": "tempo-raw",
"image": "grafana/tempo:2.8.2@sha256:0ef775495967cd5d7a6b2e146b6ea695d624803c8db8349fb8ce4164f719f9b7",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T11:38:03.526532036Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 402653184,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "volume",
"destination": "/var/tempo",
"name": "mtusi-lab7_traces_data"
},
{
"type": "bind",
"destination": "/etc/tempo.yaml",
"name": null
}
]
},
{
"container": "0beab7561aa9fb214602d05a55ec79154ba56bf31ee24966f94bb44288bae894",
"name": "/mtusi-lab7-volume-init-1",
"service": "volume-init",
"image": "mtusi-messenger:lab7",
"user": "0:0",
"running": false,
"started_at": "2026-11-20T11:34:50.435951758Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 67108864,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "volume",
"destination": "/s3",
"name": "mtusi-lab7_s3_data"
},
{
"type": "volume",
"destination": "/bao",
"name": "mtusi-lab7_bao_data"
}
]
},
{
"container": "05ba596798705c32ad6c581f7009d8966517763d4b06d18a523ec79095291df2",
"name": "/mtusi-lab7-worker-1",
"service": "worker",
"image": "mtusi-messenger:lab7",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T11:38:03.994906899Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 805306368,
"nano_cpus": 1000000000,
"ports": {
"8080/tcp": null
},
"mounts": [
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
}
]
+754
View File
@@ -0,0 +1,754 @@
[
{
"container": "8398cde71e6e44fad630caf86f2427445f80da9312bf2315e9be48a9297dcbed",
"name": "/mtusi-lab7-api-1",
"service": "api",
"image": "mtusi-messenger:lab7",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T11:34:51.954723568Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 268435456,
"nano_cpus": 1000000000,
"ports": {
"8080/tcp": null
},
"mounts": [
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
},
{
"container": "b738c046db77a7182d4bfd44dcc936a1699901ff439328000a96fef054ea90e9",
"name": "/mtusi-lab7-api-2",
"service": "api",
"image": "mtusi-messenger:lab7",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T11:34:52.054845352Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 268435456,
"nano_cpus": 1000000000,
"ports": {
"8080/tcp": null
},
"mounts": [
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
},
{
"container": "d8195b206f487fb062ee5ba958e1c0a650a7967e011329be8b9aa1e536f2424e",
"name": "/mtusi-lab7-bao-1",
"service": "bao",
"image": "openbao/openbao:2.4.4@sha256:595c83b42614a4d2b044608e4593c05b019c5db25bc9c185d8fff3ac96c03ddd",
"user": "100:1000",
"running": true,
"started_at": "2026-11-20T11:10:52.120976188Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 268435456,
"nano_cpus": 500000000,
"ports": {
"8200/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "18207"
}
]
},
"mounts": [
{
"type": "volume",
"destination": "/openbao/logs",
"name": "189642054cc115ee03eb2a3d0f1c3972476252a500d4613486d70b2c7f370e53"
},
{
"type": "volume",
"destination": "/bao/data",
"name": "mtusi-lab7_bao_data"
},
{
"type": "bind",
"destination": "/etc/bao.hcl",
"name": null
},
{
"type": "bind",
"destination": "/tls",
"name": null
},
{
"type": "volume",
"destination": "/openbao/file",
"name": "c067c057f8ccfcfe31609e25dc1c2b1ad20bc1eeb2e098c144ab05fd587749ac"
}
]
},
{
"container": "81d91e475ba5626277feec77efb2a5a26df10d7e8aa3e12ae7af6be6f1c25fbf",
"name": "/mtusi-lab7-broker-1",
"service": "broker",
"image": "haproxy:3.0-alpine@sha256:7430e63d3052198b18a40665b59a5826bc428e8bceb0c561d82258149ef855ee",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T10:57:12.552212846Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 67108864,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/tls",
"name": null
},
{
"type": "bind",
"destination": "/etc/haproxy.cfg",
"name": null
}
]
},
{
"container": "9d72c074c2116de3ccc068c25a0dde44c217136d380697cd988dd03ae5a36acb",
"name": "/mtusi-lab7-broker-raw-1",
"service": "broker-raw",
"image": "redis:7.4-bookworm@sha256:2e3eb11462c4e3759e6972678dd051d150ff54b1e60714b3c33b701260172a90",
"user": "999:999",
"running": true,
"started_at": "2026-11-20T11:37:36.991601786Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 201326592,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "volume",
"destination": "/data",
"name": "mtusi-lab7_broker_data"
},
{
"type": "bind",
"destination": "/etc/redis.conf",
"name": null
}
]
},
{
"container": "38f051bc9c69c0595d51ede1cfa28b1063dae33cb9062b9415e24b2308c7ecce",
"name": "/mtusi-lab7-bucket-bootstrap-1",
"service": "bucket-bootstrap",
"image": "mtusi-messenger:lab7",
"user": "10001:10001",
"running": false,
"started_at": "2026-11-20T11:34:50.480058685Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 134217728,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/run/s3_key",
"name": null
},
{
"type": "bind",
"destination": "/run/s3_secret",
"name": null
},
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
},
{
"container": "2972a7bfb300130c3f881a379301a5a5595dfcbf1a89c53a836c278a573bcd79",
"name": "/mtusi-lab7-dispatcher-1",
"service": "dispatcher",
"image": "mtusi-messenger:lab7",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T11:36:49.351580667Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 268435456,
"nano_cpus": 1000000000,
"ports": {
"8080/tcp": null
},
"mounts": [
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
},
{
"container": "b76b358d564111a931e28516e460a8b459a00a85ab8db5d3e3a2a3cbdbc003af",
"name": "/mtusi-lab7-grafana-1",
"service": "grafana",
"image": "grafana/grafana:12.1.1@sha256:a1701c2180249361737a99a01bc770db39381640e4d631825d38ff4535efa47d",
"user": "472",
"running": true,
"started_at": "2026-11-20T11:10:51.874179034Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 268435456,
"nano_cpus": 500000000,
"ports": {
"3000/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "13407"
}
]
},
"mounts": [
{
"type": "bind",
"destination": "/tls",
"name": null
},
{
"type": "bind",
"destination": "/run/password",
"name": null
},
{
"type": "bind",
"destination": "/etc/grafana/provisioning/datasources/lab7.yaml",
"name": null
},
{
"type": "bind",
"destination": "/etc/grafana/provisioning/dashboards",
"name": null
},
{
"type": "bind",
"destination": "/var/lib/grafana/dashboards",
"name": null
},
{
"type": "volume",
"destination": "/var/lib/grafana",
"name": "mtusi-lab7_grafana_data"
}
]
},
{
"container": "8d42cad4af6e70571ec2edfc122225155db9fdc1e6038cbedbf0a06f7802f4e9",
"name": "/mtusi-lab7-lb-1",
"service": "lb",
"image": "haproxy:3.0-alpine@sha256:7430e63d3052198b18a40665b59a5826bc428e8bceb0c561d82258149ef855ee",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T11:11:02.442998783Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 67108864,
"nano_cpus": 500000000,
"ports": {
"8443/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "18443"
}
]
},
"mounts": [
{
"type": "bind",
"destination": "/etc/haproxy.cfg",
"name": null
},
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
},
{
"container": "66196ab12ad9ac9d9921864f2d19d887e1f8d3c30a706a475175e1ee2ccaaa25",
"name": "/mtusi-lab7-loki-1",
"service": "loki",
"image": "haproxy:3.0-alpine@sha256:7430e63d3052198b18a40665b59a5826bc428e8bceb0c561d82258149ef855ee",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T10:57:12.613150089Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 67108864,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/etc/haproxy.cfg",
"name": null
},
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
},
{
"container": "021ea088a7ca504744cf6f435205cd6166919162ce891b656c6ba04da60725db",
"name": "/mtusi-lab7-loki-raw-1",
"service": "loki-raw",
"image": "grafana/loki:3.5.3@sha256:3165cecce301ce5b9b6e3530284b080934a05cd5cafac3d3d82edcb887b45ecd",
"user": "10001",
"running": true,
"started_at": "2026-11-20T11:10:52.308693958Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 268435456,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/etc/loki.yaml",
"name": null
},
{
"type": "volume",
"destination": "/loki",
"name": "mtusi-lab7_logs_data"
}
]
},
{
"container": "bfbeb139a45b238681e3f2480d6fa5798d42f0e0cbb5472a5e486841e55803f5",
"name": "/mtusi-lab7-migrate-1",
"service": "migrate",
"image": "mtusi-messenger:lab7",
"user": "10001:10001",
"running": false,
"started_at": "2026-11-20T11:34:49.989494125Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 134217728,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/run/dsn",
"name": null
},
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
},
{
"container": "32b7f5dcee8a7ed60d7a9d2cef69ba404f7d88a3d6688f67be934dfbc0d4fdba",
"name": "/mtusi-lab7-otel-collector-1",
"service": "otel-collector",
"image": "haproxy:3.0-alpine@sha256:7430e63d3052198b18a40665b59a5826bc428e8bceb0c561d82258149ef855ee",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T10:57:12.614424382Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 67108864,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/tls",
"name": null
},
{
"type": "bind",
"destination": "/etc/haproxy.cfg",
"name": null
}
]
},
{
"container": "a954daeaa7dd0178ce6de6f7185fcb7066d97c62019d722c661d119209039333",
"name": "/mtusi-lab7-otel-collector-raw-1",
"service": "otel-collector-raw",
"image": "otel/opentelemetry-collector-contrib:0.132.0@sha256:e0f565815b2b8e78eb9fdbb80f6190c921ab323aaa8ccceab3255c6d4225f4af",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T11:10:51.796429311Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 268435456,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/etc/otel.yaml",
"name": null
},
{
"type": "bind",
"destination": "/client",
"name": null
}
]
},
{
"container": "afa8c68605a886d1cd3a667a977b84d6d54b9408da4d13d8e0601adace2653f8",
"name": "/mtusi-lab7-postgres-1",
"service": "postgres",
"image": "postgres:17-bookworm@sha256:837bed18782820fe967067cb5328b02b0d9992c1be9a37ee0c9c492cfc03af3b",
"user": "",
"running": true,
"started_at": "2026-11-20T11:34:46.339789373Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 536870912,
"nano_cpus": 500000000,
"ports": {
"5432/tcp": null
},
"mounts": [
{
"type": "bind",
"destination": "/etc/postgresql/pg_hba.conf",
"name": null
},
{
"type": "bind",
"destination": "/start.sh",
"name": null
},
{
"type": "volume",
"destination": "/var/lib/postgresql/data",
"name": "mtusi-lab7_postgres_data"
},
{
"type": "bind",
"destination": "/tls",
"name": null
},
{
"type": "bind",
"destination": "/run/password",
"name": null
},
{
"type": "bind",
"destination": "/docker-entrypoint-initdb.d/01.sql",
"name": null
}
]
},
{
"container": "124c12409d9b91fc0913710d43c8250d072bee80a5185ba408f585a66c62b5fb",
"name": "/mtusi-lab7-prometheus-1",
"service": "prometheus",
"image": "haproxy:3.0-alpine@sha256:7430e63d3052198b18a40665b59a5826bc428e8bceb0c561d82258149ef855ee",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T10:57:12.600551168Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 67108864,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/etc/haproxy.cfg",
"name": null
},
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
},
{
"container": "85592df310c72df9aded719cb2d19ff40d98cc60afafa22755a56f66fc9885b1",
"name": "/mtusi-lab7-prometheus-raw-1",
"service": "prometheus-raw",
"image": "prom/prometheus:v3.5.0@sha256:63805ebb8d2b3920190daf1cb14a60871b16fd38bed42b857a3182bc621f4996",
"user": "nobody",
"running": true,
"started_at": "2026-11-20T11:10:51.819580796Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 268435456,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/etc/prometheus.yaml",
"name": null
},
{
"type": "bind",
"destination": "/etc/prometheus/alerts.yaml",
"name": null
},
{
"type": "bind",
"destination": "/tls",
"name": null
},
{
"type": "volume",
"destination": "/prometheus",
"name": "mtusi-lab7_metrics_data"
}
]
},
{
"container": "eb85bf0820c724a8a4186c1ec5668ba901c018ad0238c03f6dff7e31621d9267",
"name": "/mtusi-lab7-redis-1",
"service": "redis",
"image": "haproxy:3.0-alpine@sha256:7430e63d3052198b18a40665b59a5826bc428e8bceb0c561d82258149ef855ee",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T10:57:12.614025868Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 67108864,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/etc/haproxy.cfg",
"name": null
},
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
},
{
"container": "08253582bedb65c1f84cfa303b657aac4d0e36a0229aa0e32185558011733a13",
"name": "/mtusi-lab7-redis-raw-1",
"service": "redis-raw",
"image": "redis:7.4-bookworm@sha256:2e3eb11462c4e3759e6972678dd051d150ff54b1e60714b3c33b701260172a90",
"user": "999:999",
"running": true,
"started_at": "2026-11-20T11:34:46.339244777Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 67108864,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/etc/redis.conf",
"name": null
},
{
"type": "volume",
"destination": "/data",
"name": "9510cdb849e1ba7c98ba0c11dcfb37133e596c632ab519aea925f5ca2bbfb9ad"
}
]
},
{
"container": "1ea6a697425ff20d9191bdd0702dd5eafa38765dcac47ef2e6f050aeff3972ce",
"name": "/mtusi-lab7-s3-1",
"service": "s3",
"image": "haproxy:3.0-alpine@sha256:7430e63d3052198b18a40665b59a5826bc428e8bceb0c561d82258149ef855ee",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T10:57:12.613419056Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 67108864,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/etc/haproxy.cfg",
"name": null
},
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
},
{
"container": "84ac101caa852787d0a10351c6c299cb0782cd02021f893d72b59ef5def4ded7",
"name": "/mtusi-lab7-s3-raw-1",
"service": "s3-raw",
"image": "chrislusf/seaweedfs:4.51@sha256:f7a49e3f3972ebed5be2ed4befa4a0c68eb7bdddba6e692d42729ceb545134b8",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T11:37:36.998623618Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 402653184,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/run/s3_config",
"name": null
},
{
"type": "volume",
"destination": "/data",
"name": "b6bfbebcc9aa22f1c6048f93fa402dc86857033870f388824eef3f1c5fd1b452"
}
]
},
{
"container": "fe86cdb1e0f8aa638db4ae7fe5b45bed203d4119bc85567c38a4ee64a2a556e6",
"name": "/mtusi-lab7-s3-store-1",
"service": "s3-store",
"image": "chrislusf/seaweedfs:4.51@sha256:f7a49e3f3972ebed5be2ed4befa4a0c68eb7bdddba6e692d42729ceb545134b8",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T11:10:52.810974582Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 536870912,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "volume",
"destination": "/data",
"name": "mtusi-lab7_s3_data"
}
]
},
{
"container": "3372304a6659837c814f34039a19948749043f81948b29b28292072fa2f8487e",
"name": "/mtusi-lab7-tempo-1",
"service": "tempo",
"image": "haproxy:3.0-alpine@sha256:7430e63d3052198b18a40665b59a5826bc428e8bceb0c561d82258149ef855ee",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T10:57:12.53813471Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 67108864,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/etc/haproxy.cfg",
"name": null
},
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
},
{
"container": "18644460953d161f9e50c23a5c959ea6a43914237fb91618396f6ebd4a51aa10",
"name": "/mtusi-lab7-tempo-raw-1",
"service": "tempo-raw",
"image": "grafana/tempo:2.8.2@sha256:0ef775495967cd5d7a6b2e146b6ea695d624803c8db8349fb8ce4164f719f9b7",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T11:11:01.774149059Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 402653184,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "bind",
"destination": "/etc/tempo.yaml",
"name": null
},
{
"type": "volume",
"destination": "/var/tempo",
"name": "mtusi-lab7_traces_data"
}
]
},
{
"container": "0beab7561aa9fb214602d05a55ec79154ba56bf31ee24966f94bb44288bae894",
"name": "/mtusi-lab7-volume-init-1",
"service": "volume-init",
"image": "mtusi-messenger:lab7",
"user": "0:0",
"running": false,
"started_at": "2026-11-20T11:34:50.435951758Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 67108864,
"nano_cpus": 500000000,
"ports": {},
"mounts": [
{
"type": "volume",
"destination": "/s3",
"name": "mtusi-lab7_s3_data"
},
{
"type": "volume",
"destination": "/bao",
"name": "mtusi-lab7_bao_data"
}
]
},
{
"container": "05ba596798705c32ad6c581f7009d8966517763d4b06d18a523ec79095291df2",
"name": "/mtusi-lab7-worker-1",
"service": "worker",
"image": "mtusi-messenger:lab7",
"user": "10001:10001",
"running": true,
"started_at": "2026-11-20T11:37:37.358903064Z",
"exit_code": 0,
"oom_killed": false,
"memory_limit": 805306368,
"nano_cpus": 1000000000,
"ports": {
"8080/tcp": null
},
"mounts": [
{
"type": "bind",
"destination": "/tls",
"name": null
}
]
}
]
+10
View File
@@ -0,0 +1,10 @@
{
"python": "3.12.16",
"architecture": "aarch64",
"pointer_bits": 64,
"openssl": "OpenSSL 3.0.22 25 Aug 2026",
"minizip_zipOpenNewFileInZip4_64_exported_by_libz": false,
"otel_sdk": "1.45.2",
"argon2": "25.1.0",
"distributions": 33
}
+108
View File
@@ -0,0 +1,108 @@
{
"sealed_http_observations": [
{
"elapsed_seconds": 0.062,
"status": 200
},
{
"elapsed_seconds": 1.078,
"status": 200
},
{
"elapsed_seconds": 2.114,
"status": 200
},
{
"elapsed_seconds": 3.129,
"status": 200
},
{
"elapsed_seconds": 4.144,
"status": 200
},
{
"elapsed_seconds": 5.16,
"status": 200
},
{
"elapsed_seconds": 6.175,
"status": 200
},
{
"elapsed_seconds": 7.189,
"status": 200
},
{
"elapsed_seconds": 8.203,
"status": 200
},
{
"elapsed_seconds": 9.214,
"status": 200
},
{
"elapsed_seconds": 10.226,
"status": 200
},
{
"elapsed_seconds": 11.246,
"status": 200
},
{
"elapsed_seconds": 12.262,
"status": 200
},
{
"elapsed_seconds": 13.275,
"status": 200
},
{
"elapsed_seconds": 14.287,
"status": 200
},
{
"elapsed_seconds": 15.302,
"status": 200
},
{
"elapsed_seconds": 16.32,
"status": 200
},
{
"elapsed_seconds": 17.333,
"status": 200
},
{
"elapsed_seconds": 18.344,
"status": 200
},
{
"elapsed_seconds": 19.362,
"status": 503
},
{
"elapsed_seconds": 20.371,
"status": 503
},
{
"elapsed_seconds": 21.378,
"status": 503
},
{
"elapsed_seconds": 22.386,
"status": 503
}
],
"max_secret_cache_seconds": 20,
"old_bearer_after_unseal": true,
"first_failure_seconds": 19.362,
"recovered_seconds": 25.489,
"token_expiry": {
"ttl": 20,
"expired_token_403": true,
"new_certificate_auth_succeeds": true
},
"no_insecure_or_plaintext_fallback": true,
"worker_dispatcher_remained_alive": true,
"new_job_ready_after_unseal": true
}
+6
View File
@@ -0,0 +1,6 @@
{"instance": "be257cab076b4646946f67e69e56b2d3", "container": "05293b655d3b43819f31201b4f4e14c59c3392277697782602b0bc169a3fe6a9", "running": false, "exit_code": 0, "seconds": 0.595}
{"instance": "ecd40e87d0244421a8723c48ac7f6fbc", "container": "05293b655d3b43819f31201b4f4e14c59c3392277697782602b0bc169a3fe6a9", "running": false, "exit_code": 0, "seconds": 0.452}
{"instance": "eacb0c2c5350491a873fd5d020e00102", "container": "05293b655d3b43819f31201b4f4e14c59c3392277697782602b0bc169a3fe6a9", "running": false, "exit_code": 0, "seconds": 0.368}
{"instance": "ae90247b5d154d67a8afaa1de60ff829", "container": "05293b655d3b43819f31201b4f4e14c59c3392277697782602b0bc169a3fe6a9", "running": false, "exit_code": 0, "seconds": 0.351}
{"instance": "6ea680203f004496bddb1b034d51f348", "container": "05293b655d3b43819f31201b4f4e14c59c3392277697782602b0bc169a3fe6a9", "running": false, "exit_code": 0, "seconds": 0.375}
{"instance": "f3a3b90cc1694551a9be17f9fd964c4e", "container": "92cf19df1a120d28944021521f87c19f1f9658c2b5b7611617d7f455c686d1d5", "running": false, "exit_code": 0, "seconds": 0.617}
+229
View File
@@ -0,0 +1,229 @@
{
"matrix": [
{
"endpoint": "s3:8443",
"allowed_identity": "api",
"positive_connection": true,
"negative_cases": {
"None": "SSLError",
"foreign-client": "SSLError",
"outsider": "identity connection closed",
"expired-api": "SSLError"
}
},
{
"endpoint": "redis:8443",
"allowed_identity": "api",
"positive_connection": true,
"negative_cases": {
"None": "SSLError",
"foreign-client": "SSLError",
"outsider": "identity connection closed",
"expired-api": "SSLError"
}
},
{
"endpoint": "broker:8443",
"allowed_identity": "worker",
"positive_connection": true,
"negative_cases": {
"None": "SSLError",
"foreign-client": "SSLError",
"outsider": "identity connection closed",
"expired-worker": "SSLError",
"api": "identity connection closed"
}
},
{
"endpoint": "otel-collector:8443",
"allowed_identity": "api",
"positive_connection": true,
"negative_cases": {
"None": "SSLError",
"foreign-client": "SSLError",
"outsider": "identity connection closed",
"expired-api": "SSLError"
}
},
{
"endpoint": "otel-collector:8443",
"allowed_identity": "worker",
"positive_connection": true,
"negative_cases": {
"None": "SSLError",
"foreign-client": "SSLError",
"outsider": "identity connection closed",
"expired-worker": "SSLError"
}
},
{
"endpoint": "otel-collector:8443",
"allowed_identity": "dispatcher",
"positive_connection": true,
"negative_cases": {
"None": "SSLError",
"foreign-client": "SSLError",
"outsider": "identity connection closed",
"expired-dispatcher": "SSLError"
}
},
{
"endpoint": "otel-collector:8444",
"allowed_identity": "prometheus",
"positive_connection": true,
"negative_cases": {
"None": "SSLError",
"foreign-client": "SSLError",
"outsider": "identity connection closed",
"expired-prometheus": "SSLError"
}
},
{
"endpoint": "otel-collector:8445",
"allowed_identity": "prometheus",
"positive_connection": true,
"negative_cases": {
"None": "SSLError",
"foreign-client": "SSLError",
"outsider": "identity connection closed",
"expired-prometheus": "SSLError"
}
},
{
"endpoint": "loki:8443",
"allowed_identity": "collector",
"positive_connection": true,
"negative_cases": {
"None": "SSLError",
"foreign-client": "SSLError",
"outsider": "identity connection closed",
"expired-collector": "SSLError"
}
},
{
"endpoint": "loki:8443",
"allowed_identity": "grafana",
"positive_connection": true,
"negative_cases": {
"None": "SSLError",
"foreign-client": "SSLError",
"outsider": "identity connection closed",
"expired-grafana": "SSLError"
}
},
{
"endpoint": "tempo:8443",
"allowed_identity": "grafana",
"positive_connection": true,
"negative_cases": {
"None": "SSLError",
"foreign-client": "SSLError",
"outsider": "identity connection closed",
"expired-grafana": "SSLError"
}
},
{
"endpoint": "tempo:8444",
"allowed_identity": "collector",
"positive_connection": true,
"negative_cases": {
"None": "SSLError",
"foreign-client": "SSLError",
"outsider": "identity connection closed",
"expired-collector": "SSLError"
}
},
{
"endpoint": "prometheus:8443",
"allowed_identity": "grafana",
"positive_connection": true,
"negative_cases": {
"None": "SSLError",
"foreign-client": "SSLError",
"outsider": "identity connection closed",
"expired-grafana": "SSLError"
}
},
{
"endpoint": "bao:8200",
"allowed_identity": "api",
"positive_connection": true,
"negative_cases": {
"None": "SSLError",
"foreign-client": "SSLError",
"outsider": "TLS CA accepted; service-auth denied separately",
"expired-api": "SSLError"
}
}
],
"api_replicas": [
{
"address_alias": "replica1",
"allowed_lb": true,
"negative_cases": [
"None",
"foreign-client",
"outsider",
"expired-lb",
"wrong-lb",
"worker"
]
},
{
"address_alias": "replica2",
"allowed_lb": true,
"negative_cases": [
"None",
"foreign-client",
"outsider",
"expired-lb",
"wrong-lb",
"worker"
]
}
],
"plaintext_rejected": [
"s3:8333",
"s3:8888",
"s3:9333",
"s3:9340",
"broker:6379",
"redis:6379",
"otel-collector:4318",
"otel-collector:8888",
"otel-collector:8889",
"loki:3100",
"loki:9095",
"tempo:3200",
"tempo:4318",
"tempo:9095",
"prometheus:9090"
],
"policies": {
"api": {
"own_kv_read": true,
"foreign_kv_and_policy_read_write_403": true,
"token_ttl_seconds": 20
},
"worker": {
"own_kv_read": true,
"foreign_kv_and_policy_read_write_403": true,
"token_ttl_seconds": 20
},
"dispatcher": {
"own_kv_read": true,
"foreign_kv_and_policy_read_write_403": true,
"token_ttl_seconds": 20
}
},
"db": {
"verify_full_tls": true,
"worker_jobs_read_allowed": true,
"users_sessions_messages_ddl_denied": true
},
"broker_acl": {
"worker_ping": true,
"foreign_key_and_config_denied": true
},
"plaintext_configuration_rejected": true
}
+10
View File
@@ -0,0 +1,10 @@
{
"public_business_persistence": true,
"old_bearer_and_original_attachment_preserved": true,
"same_trace_id": "4945500bf0084d19a1f70c65b6c8fec6",
"old_spans_preserved": 20,
"old_logs_preserved": 8,
"fixed_time_prometheus_metric_preserved": true,
"at_epoch": 1795174663.604336,
"bao_restarted_and_operator_unsealed_without_reinit": true
}
+457
View File
@@ -0,0 +1,457 @@
{
"runs": [
{
"hypothesis": "Service-specific least privilege reduces stolen worker credential scope. Revocation and rollover stop old access while already accepted jobs remain durable.",
"baseline_model": {
"model": "lab6-style shared full database role and bucket-wide worker S3 key; emulated by explicit operator fixture, NOT live lab6",
"business_table_row_counts_visible": {
"users": 365,
"sessions": 357,
"messages": 1850
},
"bucket_wide_worker_key_can_write_and_delete_staging_without_identity_prefix_gate": true,
"fixture_deleted": true,
"modeled_broad_broker_CONFIG_allowed": true
},
"actual_worker_before": {
"uid": 10001,
"own_kv": true,
"root_or_unseal_files_present": false,
"job_rows_visible": 98,
"allowed_db_operations": [
"SELECT job and attachment metadata",
"UPDATE allowed job state columns",
"pipeline INSERT job_events (covered by successful jobs)"
],
"denied_db_tables": [
"users",
"sessions",
"messages"
],
"protected_chat_source_columns_and_ddl_denied": true,
"broker_config_denied": true
},
"resource_snapshots_before": [
{
"Name": "mtusi-lab7-api-1",
"CPUPerc": "0.83%",
"MemUsage": "67.37MiB / 256MiB",
"MemPerc": "26.32%",
"PIDs": "21"
},
{
"Name": "mtusi-lab7-api-2",
"CPUPerc": "0.83%",
"MemUsage": "66.71MiB / 256MiB",
"MemPerc": "26.06%",
"PIDs": "21"
},
{
"Name": "mtusi-lab7-dispatcher-1",
"CPUPerc": "3.79%",
"MemUsage": "48.11MiB / 256MiB",
"MemPerc": "18.79%",
"PIDs": "4"
},
{
"Name": "mtusi-lab7-worker-1",
"CPUPerc": "0.29%",
"MemUsage": "63.68MiB / 768MiB",
"MemPerc": "8.29%",
"PIDs": "5"
}
],
"rotation": {
"revoked_certificate_serial": "870DDEA40BB8D43173A74922991E11E0",
"worker_tokens_revoked": 3,
"old_valid_token_denied_before_natural_expiry": true,
"token_revoke_latency_seconds": 0.13,
"passwords_rotated": [
"PostgreSQL worker",
"Redis worker",
"S3 worker"
],
"new_leaf_certificate": true,
"proxy_hard_stop_seconds": 5,
"images_rebuilt": false,
"seconds": 3.107
},
"old_access": {
"broker": "revoked leaf denied on fresh connection",
"s3": "revoked leaf denied on fresh connection",
"otel-collector": "revoked leaf denied on fresh connection",
"postgres": "old password denied",
"broker_old_password_with_new_certificate": "AUTH rejected",
"bao": "old exact leaf denied",
"s3_old_key_with_new_certificate": "403"
},
"new_worker_after": {
"uid": 10001,
"own_kv": true,
"root_or_unseal_files_present": false,
"job_rows_visible": 104,
"allowed_db_operations": [
"SELECT job and attachment metadata",
"UPDATE allowed job state columns",
"pipeline INSERT job_events (covered by successful jobs)"
],
"denied_db_tables": [
"users",
"sessions",
"messages"
],
"protected_chat_source_columns_and_ddl_denied": true,
"broker_config_denied": true
},
"workload": {
"messages_confirmed": 100,
"errors": [],
"all_confirmed_messages_found": true,
"queued_images_before_revoke": 6,
"same_images_ready_after_rollover": 6,
"original_bytes_match": true,
"elapsed_seconds": 12.002,
"success_rps": 8.332,
"p50_success_seconds": 0.013067833000000029,
"p95_success_seconds": 0.02429433300000028,
"p99_success_seconds": 0.05442791699999994,
"load_profile": "One HTTP writer, 100ms wait after completion (closed loop, nominal ceiling10/s); six queued PNGs, no saturation search.",
"image_unchanged": true,
"no_plaintext_or_skip_verify_fallback": true
},
"resource_snapshots_after": [
{
"Name": "mtusi-lab7-api-1",
"CPUPerc": "0.67%",
"MemUsage": "67.43MiB / 256MiB",
"MemPerc": "26.34%",
"PIDs": "21"
},
{
"Name": "mtusi-lab7-api-2",
"CPUPerc": "0.66%",
"MemUsage": "66.89MiB / 256MiB",
"MemPerc": "26.13%",
"PIDs": "21"
},
{
"Name": "mtusi-lab7-dispatcher-1",
"CPUPerc": "3.41%",
"MemUsage": "48.13MiB / 256MiB",
"MemPerc": "18.80%",
"PIDs": "4"
},
{
"Name": "mtusi-lab7-worker-1",
"CPUPerc": "1.02%",
"MemUsage": "65.03MiB / 768MiB",
"MemPerc": "8.47%",
"PIDs": "5"
}
],
"repeat": 1
},
{
"hypothesis": "Service-specific least privilege reduces stolen worker credential scope. Revocation and rollover stop old access while already accepted jobs remain durable.",
"baseline_model": {
"model": "lab6-style shared full database role and bucket-wide worker S3 key; emulated by explicit operator fixture, NOT live lab6",
"business_table_row_counts_visible": {
"users": 368,
"sessions": 360,
"messages": 1950
},
"bucket_wide_worker_key_can_write_and_delete_staging_without_identity_prefix_gate": true,
"fixture_deleted": true,
"modeled_broad_broker_CONFIG_allowed": true
},
"actual_worker_before": {
"uid": 10001,
"own_kv": true,
"root_or_unseal_files_present": false,
"job_rows_visible": 104,
"allowed_db_operations": [
"SELECT job and attachment metadata",
"UPDATE allowed job state columns",
"pipeline INSERT job_events (covered by successful jobs)"
],
"denied_db_tables": [
"users",
"sessions",
"messages"
],
"protected_chat_source_columns_and_ddl_denied": true,
"broker_config_denied": true
},
"resource_snapshots_before": [
{
"Name": "mtusi-lab7-api-1",
"CPUPerc": "0.52%",
"MemUsage": "67.44MiB / 256MiB",
"MemPerc": "26.34%",
"PIDs": "21"
},
{
"Name": "mtusi-lab7-api-2",
"CPUPerc": "0.59%",
"MemUsage": "66.66MiB / 256MiB",
"MemPerc": "26.04%",
"PIDs": "21"
},
{
"Name": "mtusi-lab7-dispatcher-1",
"CPUPerc": "3.54%",
"MemUsage": "48.13MiB / 256MiB",
"MemPerc": "18.80%",
"PIDs": "4"
},
{
"Name": "mtusi-lab7-worker-1",
"CPUPerc": "0.08%",
"MemUsage": "65.03MiB / 768MiB",
"MemPerc": "8.47%",
"PIDs": "5"
}
],
"rotation": {
"revoked_certificate_serial": "B2BDA769E83A37B06D649AFA42413D41",
"worker_tokens_revoked": 6,
"old_valid_token_denied_before_natural_expiry": true,
"token_revoke_latency_seconds": 0.15,
"passwords_rotated": [
"PostgreSQL worker",
"Redis worker",
"S3 worker"
],
"new_leaf_certificate": true,
"proxy_hard_stop_seconds": 5,
"images_rebuilt": false,
"seconds": 2.828
},
"old_access": {
"broker": "revoked leaf denied on fresh connection",
"s3": "revoked leaf denied on fresh connection",
"otel-collector": "revoked leaf denied on fresh connection",
"postgres": "old password denied",
"broker_old_password_with_new_certificate": "AUTH rejected",
"bao": "old exact leaf denied",
"s3_old_key_with_new_certificate": "403"
},
"new_worker_after": {
"uid": 10001,
"own_kv": true,
"root_or_unseal_files_present": false,
"job_rows_visible": 110,
"allowed_db_operations": [
"SELECT job and attachment metadata",
"UPDATE allowed job state columns",
"pipeline INSERT job_events (covered by successful jobs)"
],
"denied_db_tables": [
"users",
"sessions",
"messages"
],
"protected_chat_source_columns_and_ddl_denied": true,
"broker_config_denied": true
},
"workload": {
"messages_confirmed": 101,
"errors": [],
"all_confirmed_messages_found": true,
"queued_images_before_revoke": 6,
"same_images_ready_after_rollover": 6,
"original_bytes_match": true,
"elapsed_seconds": 12.144,
"success_rps": 8.317,
"p50_success_seconds": 0.01332700000000031,
"p95_success_seconds": 0.025906332999998227,
"p99_success_seconds": 0.05125450000000065,
"load_profile": "One HTTP writer, 100ms wait after completion (closed loop, nominal ceiling10/s); six queued PNGs, no saturation search.",
"image_unchanged": true,
"no_plaintext_or_skip_verify_fallback": true
},
"resource_snapshots_after": [
{
"Name": "mtusi-lab7-api-1",
"CPUPerc": "0.66%",
"MemUsage": "67.55MiB / 256MiB",
"MemPerc": "26.39%",
"PIDs": "21"
},
{
"Name": "mtusi-lab7-api-2",
"CPUPerc": "0.60%",
"MemUsage": "66.86MiB / 256MiB",
"MemPerc": "26.12%",
"PIDs": "21"
},
{
"Name": "mtusi-lab7-dispatcher-1",
"CPUPerc": "3.34%",
"MemUsage": "48.14MiB / 256MiB",
"MemPerc": "18.80%",
"PIDs": "4"
},
{
"Name": "mtusi-lab7-worker-1",
"CPUPerc": "0.81%",
"MemUsage": "64.88MiB / 768MiB",
"MemPerc": "8.45%",
"PIDs": "5"
}
],
"repeat": 2
},
{
"hypothesis": "Service-specific least privilege reduces stolen worker credential scope. Revocation and rollover stop old access while already accepted jobs remain durable.",
"baseline_model": {
"model": "lab6-style shared full database role and bucket-wide worker S3 key; emulated by explicit operator fixture, NOT live lab6",
"business_table_row_counts_visible": {
"users": 371,
"sessions": 363,
"messages": 2051
},
"bucket_wide_worker_key_can_write_and_delete_staging_without_identity_prefix_gate": true,
"fixture_deleted": true,
"modeled_broad_broker_CONFIG_allowed": true
},
"actual_worker_before": {
"uid": 10001,
"own_kv": true,
"root_or_unseal_files_present": false,
"job_rows_visible": 110,
"allowed_db_operations": [
"SELECT job and attachment metadata",
"UPDATE allowed job state columns",
"pipeline INSERT job_events (covered by successful jobs)"
],
"denied_db_tables": [
"users",
"sessions",
"messages"
],
"protected_chat_source_columns_and_ddl_denied": true,
"broker_config_denied": true
},
"resource_snapshots_before": [
{
"Name": "mtusi-lab7-api-1",
"CPUPerc": "0.57%",
"MemUsage": "67.61MiB / 256MiB",
"MemPerc": "26.41%",
"PIDs": "21"
},
{
"Name": "mtusi-lab7-api-2",
"CPUPerc": "0.35%",
"MemUsage": "66.87MiB / 256MiB",
"MemPerc": "26.12%",
"PIDs": "21"
},
{
"Name": "mtusi-lab7-dispatcher-1",
"CPUPerc": "5.81%",
"MemUsage": "48.13MiB / 256MiB",
"MemPerc": "18.80%",
"PIDs": "4"
},
{
"Name": "mtusi-lab7-worker-1",
"CPUPerc": "2.06%",
"MemUsage": "64.88MiB / 768MiB",
"MemPerc": "8.45%",
"PIDs": "5"
}
],
"rotation": {
"revoked_certificate_serial": "D8C5BAB015148D0B982EEB5455810BC7",
"worker_tokens_revoked": 7,
"old_valid_token_denied_before_natural_expiry": true,
"token_revoke_latency_seconds": 0.195,
"passwords_rotated": [
"PostgreSQL worker",
"Redis worker",
"S3 worker"
],
"new_leaf_certificate": true,
"proxy_hard_stop_seconds": 5,
"images_rebuilt": false,
"seconds": 2.786
},
"old_access": {
"broker": "revoked leaf denied on fresh connection",
"s3": "revoked leaf denied on fresh connection",
"otel-collector": "revoked leaf denied on fresh connection",
"postgres": "old password denied",
"broker_old_password_with_new_certificate": "AUTH rejected",
"bao": "old exact leaf denied",
"s3_old_key_with_new_certificate": "403"
},
"new_worker_after": {
"uid": 10001,
"own_kv": true,
"root_or_unseal_files_present": false,
"job_rows_visible": 116,
"allowed_db_operations": [
"SELECT job and attachment metadata",
"UPDATE allowed job state columns",
"pipeline INSERT job_events (covered by successful jobs)"
],
"denied_db_tables": [
"users",
"sessions",
"messages"
],
"protected_chat_source_columns_and_ddl_denied": true,
"broker_config_denied": true
},
"workload": {
"messages_confirmed": 100,
"errors": [],
"all_confirmed_messages_found": true,
"queued_images_before_revoke": 6,
"same_images_ready_after_rollover": 6,
"original_bytes_match": true,
"elapsed_seconds": 11.929,
"success_rps": 8.383,
"p50_success_seconds": 0.012386499999999856,
"p95_success_seconds": 0.02562958399999893,
"p99_success_seconds": 0.03877966700000002,
"load_profile": "One HTTP writer, 100ms wait after completion (closed loop, nominal ceiling10/s); six queued PNGs, no saturation search.",
"image_unchanged": true,
"no_plaintext_or_skip_verify_fallback": true
},
"resource_snapshots_after": [
{
"Name": "mtusi-lab7-api-1",
"CPUPerc": "0.69%",
"MemUsage": "67.64MiB / 256MiB",
"MemPerc": "26.42%",
"PIDs": "21"
},
{
"Name": "mtusi-lab7-api-2",
"CPUPerc": "0.76%",
"MemUsage": "66.92MiB / 256MiB",
"MemPerc": "26.14%",
"PIDs": "21"
},
{
"Name": "mtusi-lab7-dispatcher-1",
"CPUPerc": "3.40%",
"MemUsage": "48.14MiB / 256MiB",
"MemPerc": "18.80%",
"PIDs": "4"
},
{
"Name": "mtusi-lab7-worker-1",
"CPUPerc": "0.94%",
"MemUsage": "65.04MiB / 768MiB",
"MemPerc": "8.47%",
"PIDs": "5"
}
],
"repeat": 3
}
]
}
+150
View File
@@ -0,0 +1,150 @@
{
"hypothesis": "Service-specific least privilege reduces stolen worker credential scope. Revocation and rollover stop old access while already accepted jobs remain durable.",
"baseline_model": {
"model": "lab6-style shared full database role and bucket-wide worker S3 key; emulated by explicit operator fixture, NOT live lab6",
"business_table_row_counts_visible": {
"users": 371,
"sessions": 363,
"messages": 2051
},
"bucket_wide_worker_key_can_write_and_delete_staging_without_identity_prefix_gate": true,
"fixture_deleted": true,
"modeled_broad_broker_CONFIG_allowed": true
},
"actual_worker_before": {
"uid": 10001,
"own_kv": true,
"root_or_unseal_files_present": false,
"job_rows_visible": 110,
"allowed_db_operations": [
"SELECT job and attachment metadata",
"UPDATE allowed job state columns",
"pipeline INSERT job_events (covered by successful jobs)"
],
"denied_db_tables": [
"users",
"sessions",
"messages"
],
"protected_chat_source_columns_and_ddl_denied": true,
"broker_config_denied": true
},
"resource_snapshots_before": [
{
"Name": "mtusi-lab7-api-1",
"CPUPerc": "0.57%",
"MemUsage": "67.61MiB / 256MiB",
"MemPerc": "26.41%",
"PIDs": "21"
},
{
"Name": "mtusi-lab7-api-2",
"CPUPerc": "0.35%",
"MemUsage": "66.87MiB / 256MiB",
"MemPerc": "26.12%",
"PIDs": "21"
},
{
"Name": "mtusi-lab7-dispatcher-1",
"CPUPerc": "5.81%",
"MemUsage": "48.13MiB / 256MiB",
"MemPerc": "18.80%",
"PIDs": "4"
},
{
"Name": "mtusi-lab7-worker-1",
"CPUPerc": "2.06%",
"MemUsage": "64.88MiB / 768MiB",
"MemPerc": "8.45%",
"PIDs": "5"
}
],
"rotation": {
"revoked_certificate_serial": "D8C5BAB015148D0B982EEB5455810BC7",
"worker_tokens_revoked": 7,
"old_valid_token_denied_before_natural_expiry": true,
"token_revoke_latency_seconds": 0.195,
"passwords_rotated": [
"PostgreSQL worker",
"Redis worker",
"S3 worker"
],
"new_leaf_certificate": true,
"proxy_hard_stop_seconds": 5,
"images_rebuilt": false,
"seconds": 2.786
},
"old_access": {
"broker": "revoked leaf denied on fresh connection",
"s3": "revoked leaf denied on fresh connection",
"otel-collector": "revoked leaf denied on fresh connection",
"postgres": "old password denied",
"broker_old_password_with_new_certificate": "AUTH rejected",
"bao": "old exact leaf denied",
"s3_old_key_with_new_certificate": "403"
},
"new_worker_after": {
"uid": 10001,
"own_kv": true,
"root_or_unseal_files_present": false,
"job_rows_visible": 116,
"allowed_db_operations": [
"SELECT job and attachment metadata",
"UPDATE allowed job state columns",
"pipeline INSERT job_events (covered by successful jobs)"
],
"denied_db_tables": [
"users",
"sessions",
"messages"
],
"protected_chat_source_columns_and_ddl_denied": true,
"broker_config_denied": true
},
"workload": {
"messages_confirmed": 100,
"errors": [],
"all_confirmed_messages_found": true,
"queued_images_before_revoke": 6,
"same_images_ready_after_rollover": 6,
"original_bytes_match": true,
"elapsed_seconds": 11.929,
"success_rps": 8.383,
"p50_success_seconds": 0.012386499999999856,
"p95_success_seconds": 0.02562958399999893,
"p99_success_seconds": 0.03877966700000002,
"load_profile": "One HTTP writer, 100ms wait after completion (closed loop, nominal ceiling10/s); six queued PNGs, no saturation search.",
"image_unchanged": true,
"no_plaintext_or_skip_verify_fallback": true
},
"resource_snapshots_after": [
{
"Name": "mtusi-lab7-api-1",
"CPUPerc": "0.69%",
"MemUsage": "67.64MiB / 256MiB",
"MemPerc": "26.42%",
"PIDs": "21"
},
{
"Name": "mtusi-lab7-api-2",
"CPUPerc": "0.76%",
"MemUsage": "66.92MiB / 256MiB",
"MemPerc": "26.14%",
"PIDs": "21"
},
{
"Name": "mtusi-lab7-dispatcher-1",
"CPUPerc": "3.40%",
"MemUsage": "48.14MiB / 256MiB",
"MemPerc": "18.80%",
"PIDs": "4"
},
{
"Name": "mtusi-lab7-worker-1",
"CPUPerc": "0.94%",
"MemUsage": "65.04MiB / 768MiB",
"MemPerc": "8.47%",
"PIDs": "5"
}
]
}
+15
View File
@@ -0,0 +1,15 @@
{
"revoked_certificate_serial": "D8C5BAB015148D0B982EEB5455810BC7",
"worker_tokens_revoked": 7,
"old_valid_token_denied_before_natural_expiry": true,
"token_revoke_latency_seconds": 0.195,
"passwords_rotated": [
"PostgreSQL worker",
"Redis worker",
"S3 worker"
],
"new_leaf_certificate": true,
"proxy_hard_stop_seconds": 5,
"images_rebuilt": false,
"seconds": 2.786
}