Files
mtusi2026lab3-implementaion/evidence/persistence.txt
T

26 lines
1.2 KiB
Plaintext

$ containers before
messenger-lab3_postgres_1 8c509b4f5143 Up About a minute (healthy)
messenger-lab3_redis_1 b5db2a433051 Up About a minute (healthy)
messenger-lab3_migrate_1 9fa71320cdba Exited (0) About a minute ago
messenger-lab3_api_1 0405cf8a4a54 Up About a minute
messenger-lab3_api_2 2751ae93e6d1 Up About a minute
messenger-lab3_lb_1 d3a35fe2295d Up About a minute
$ make test-persistence ACTION_SCRIPT=scripts/restart.sh
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://localhost:8080"
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
exit=0
$ containers after (same IDs, fresh Up time = restarted, volumes kept)
messenger-lab3_postgres_1 8c509b4f5143 Up 1 second (healthy)
messenger-lab3_redis_1 b5db2a433051 Up 1 second (healthy)
messenger-lab3_migrate_1 9fa71320cdba Exited (0) Less than a second ago
messenger-lab3_api_1 0405cf8a4a54 Up Less than a second
messenger-lab3_api_2 2751ae93e6d1 Up Less than a second
messenger-lab3_lb_1 d3a35fe2295d Up Less than a second
$ podman volume ls
messenger-lab3_pgdata
messenger-lab3_redisdata