forked from mtusi2026/mtusi2026lab6
reyalysed grade 3
This commit is contained in:
@@ -0,0 +1,472 @@
|
||||
{
|
||||
"date_utc": "2026-11-14T01:50:28.592547+00:00",
|
||||
"checks": [
|
||||
{
|
||||
"name": "contract",
|
||||
"command": [
|
||||
".venv/bin/python",
|
||||
"scripts/check_contract.py"
|
||||
],
|
||||
"exit_code": 0,
|
||||
"duration_seconds": 0.101,
|
||||
"result": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "openapi",
|
||||
"command": [
|
||||
".venv/bin/python",
|
||||
"scripts/validate_openapi.py"
|
||||
],
|
||||
"exit_code": 0,
|
||||
"duration_seconds": 1.111,
|
||||
"result": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "compose",
|
||||
"command": [
|
||||
"docker",
|
||||
"compose",
|
||||
"--env-file",
|
||||
".env",
|
||||
"config",
|
||||
"--quiet"
|
||||
],
|
||||
"exit_code": 0,
|
||||
"duration_seconds": 0.131,
|
||||
"result": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "startup",
|
||||
"command": [
|
||||
"make",
|
||||
"--no-print-directory",
|
||||
"test-stand-up"
|
||||
],
|
||||
"exit_code": 0,
|
||||
"duration_seconds": 77.116,
|
||||
"result": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "regression",
|
||||
"command": [
|
||||
"make",
|
||||
"--no-print-directory",
|
||||
"test-unit"
|
||||
],
|
||||
"exit_code": 0,
|
||||
"duration_seconds": 115.183,
|
||||
"result": "PASS",
|
||||
"summary": "206 passed in 112.44s (0:01:52)"
|
||||
},
|
||||
{
|
||||
"name": "api",
|
||||
"command": [
|
||||
".venv/bin/python",
|
||||
"tests/smoke.py",
|
||||
"--base-url",
|
||||
"http://localhost:28080"
|
||||
],
|
||||
"exit_code": 0,
|
||||
"duration_seconds": 8.349,
|
||||
"result": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "observability",
|
||||
"command": [
|
||||
".venv/bin/python",
|
||||
"-m",
|
||||
"scripts.check_observability",
|
||||
"--base-url",
|
||||
"http://localhost:28080",
|
||||
"--grafana-url",
|
||||
"http://localhost:23000",
|
||||
"--incidents",
|
||||
"--restart-telemetry"
|
||||
],
|
||||
"exit_code": 0,
|
||||
"duration_seconds": 79.231,
|
||||
"result": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "persistence",
|
||||
"command": [
|
||||
".venv/bin/python",
|
||||
"tests/resilience.py",
|
||||
"--mode",
|
||||
"persistence",
|
||||
"--action-script",
|
||||
"scripts/restart.sh",
|
||||
"--base-url",
|
||||
"http://localhost:28080"
|
||||
],
|
||||
"exit_code": 0,
|
||||
"duration_seconds": 62.485,
|
||||
"result": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "failover",
|
||||
"command": [
|
||||
".venv/bin/python",
|
||||
"tests/resilience.py",
|
||||
"--mode",
|
||||
"failover",
|
||||
"--action-script",
|
||||
"scripts/stop-one.sh",
|
||||
"--base-url",
|
||||
"http://localhost:28080"
|
||||
],
|
||||
"exit_code": 0,
|
||||
"duration_seconds": 17.998,
|
||||
"result": "PASS"
|
||||
}
|
||||
],
|
||||
"profile": {
|
||||
"single_stack": true,
|
||||
"load_duration_seconds": 10,
|
||||
"load_requests_per_second": 10,
|
||||
"load_concurrency": 2
|
||||
},
|
||||
"result": "PASS",
|
||||
"cleanup": {
|
||||
"projects": [
|
||||
"messenger",
|
||||
"messenger-test"
|
||||
],
|
||||
"resources": {
|
||||
"containers": [
|
||||
"062d88c22d6c",
|
||||
"5653c0121264",
|
||||
"6e2b3ca3c86c",
|
||||
"ac60f4044ea7",
|
||||
"e633226993b5",
|
||||
"1e21fe44a453",
|
||||
"126c76cff388",
|
||||
"76901c1e8b60",
|
||||
"85731e19d4c6",
|
||||
"79077e49c5ee",
|
||||
"80a7e7e36fd1",
|
||||
"69f42359b3e3",
|
||||
"1a3d86fafd53",
|
||||
"9f00acc93186",
|
||||
"bd366e53bf42",
|
||||
"b4f81e6b52c3",
|
||||
"a9f375b0b17b"
|
||||
],
|
||||
"networks": [
|
||||
"04eba990b02c",
|
||||
"ff8d81906905"
|
||||
],
|
||||
"volumes": [
|
||||
"messenger-test_grafanadata",
|
||||
"messenger-test_lokidata",
|
||||
"messenger-test_miniodata",
|
||||
"messenger-test_pgdata",
|
||||
"messenger-test_prometheusdata",
|
||||
"messenger-test_rabbitmqdata",
|
||||
"messenger-test_redisdata",
|
||||
"messenger-test_tempodata"
|
||||
]
|
||||
},
|
||||
"application_image_ids": [
|
||||
"490c0e5b26df",
|
||||
"669227412939",
|
||||
"af2ab3c10330"
|
||||
],
|
||||
"local_settings_preserved": true,
|
||||
"remaining": {
|
||||
"containers": [],
|
||||
"networks": [],
|
||||
"volumes": []
|
||||
},
|
||||
"application_images_remaining": [],
|
||||
"result": "PASS",
|
||||
"verified": {
|
||||
"containers_remaining": 0,
|
||||
"volumes_remaining": 0,
|
||||
"application_images_remaining": 0,
|
||||
"local_settings_preserved": true
|
||||
}
|
||||
},
|
||||
"finished_at_utc": "2026-11-14T01:56:33.228789+00:00",
|
||||
"source": {
|
||||
"base_commit": "498ce1e0d20c7ffc45ef71b81f5ce3cfa56208ec",
|
||||
"working_tree_modified": true
|
||||
},
|
||||
"runtime": {
|
||||
"python": "3.12.14",
|
||||
"docker_engine": "29.9.3",
|
||||
"compose": "5.7.0"
|
||||
},
|
||||
"container_lifecycle": [
|
||||
{
|
||||
"time_unix": 1794621212,
|
||||
"action": "stop",
|
||||
"service": "redis"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621212,
|
||||
"action": "start",
|
||||
"service": "redis"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621251,
|
||||
"action": "stop",
|
||||
"service": "postgres"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621251,
|
||||
"action": "start",
|
||||
"service": "publisher"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621254,
|
||||
"action": "start",
|
||||
"service": "postgres"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621255,
|
||||
"action": "stop",
|
||||
"service": "worker"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621256,
|
||||
"action": "start",
|
||||
"service": "worker"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621267,
|
||||
"action": "start",
|
||||
"service": "worker"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621269,
|
||||
"action": "start",
|
||||
"service": "worker"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621271,
|
||||
"action": "start",
|
||||
"service": "minio-bootstrap"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621272,
|
||||
"action": "start",
|
||||
"service": "migrate"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621275,
|
||||
"action": "start",
|
||||
"service": "worker"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621281,
|
||||
"action": "start",
|
||||
"service": "worker"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621284,
|
||||
"action": "start",
|
||||
"service": "worker"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621292,
|
||||
"action": "start",
|
||||
"service": "worker"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621295,
|
||||
"action": "stop",
|
||||
"service": "prometheus"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621295,
|
||||
"action": "stop",
|
||||
"service": "grafana"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621295,
|
||||
"action": "start",
|
||||
"service": "prometheus"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621295,
|
||||
"action": "start",
|
||||
"service": "grafana"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621295,
|
||||
"action": "stop",
|
||||
"service": "loki"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621296,
|
||||
"action": "start",
|
||||
"service": "loki"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621305,
|
||||
"action": "stop",
|
||||
"service": "tempo"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621305,
|
||||
"action": "start",
|
||||
"service": "tempo"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621314,
|
||||
"action": "stop",
|
||||
"service": "worker"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621314,
|
||||
"action": "stop",
|
||||
"service": "publisher"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621324,
|
||||
"action": "stop",
|
||||
"service": "cleanup"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621324,
|
||||
"action": "stop",
|
||||
"service": "otel-collector"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621325,
|
||||
"action": "stop",
|
||||
"service": "minio"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621325,
|
||||
"action": "stop",
|
||||
"service": "prometheus"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621325,
|
||||
"action": "stop",
|
||||
"service": "grafana"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621325,
|
||||
"action": "stop",
|
||||
"service": "broker"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621325,
|
||||
"action": "stop",
|
||||
"service": "redis"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621325,
|
||||
"action": "stop",
|
||||
"service": "postgres"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621325,
|
||||
"action": "stop",
|
||||
"service": "loki"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621325,
|
||||
"action": "start",
|
||||
"service": "minio"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621325,
|
||||
"action": "start",
|
||||
"service": "otel-collector"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621325,
|
||||
"action": "start",
|
||||
"service": "prometheus"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621325,
|
||||
"action": "start",
|
||||
"service": "grafana"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621325,
|
||||
"action": "start",
|
||||
"service": "broker"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621325,
|
||||
"action": "start",
|
||||
"service": "redis"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621325,
|
||||
"action": "start",
|
||||
"service": "postgres"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621325,
|
||||
"action": "start",
|
||||
"service": "loki"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621334,
|
||||
"action": "stop",
|
||||
"service": "tempo"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621335,
|
||||
"action": "start",
|
||||
"service": "tempo"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621335,
|
||||
"action": "stop",
|
||||
"service": "nginx"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621336,
|
||||
"action": "start",
|
||||
"service": "nginx"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621337,
|
||||
"action": "stop",
|
||||
"service": "api"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621337,
|
||||
"action": "stop",
|
||||
"service": "api"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621337,
|
||||
"action": "start",
|
||||
"service": "api"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621337,
|
||||
"action": "start",
|
||||
"service": "api"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621344,
|
||||
"action": "start",
|
||||
"service": "cleanup"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621344,
|
||||
"action": "start",
|
||||
"service": "publisher"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621345,
|
||||
"action": "start",
|
||||
"service": "worker"
|
||||
},
|
||||
{
|
||||
"time_unix": 1794621377,
|
||||
"action": "stop",
|
||||
"service": "api"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user