commit=170a76a6cece9296aa626363cd59c273a96ad0f0 project=lab7-clean-20261113205811
uv sync --group dev
Using CPython 3.14.5
Creating virtual environment at: .venv
Resolved 100 packages in 4ms
   Building mtusi-messenger @ file:///private/tmp/lab7-clean.LvEpBA
      Built mtusi-messenger @ file:///private/tmp/lab7-clean.LvEpBA
Prepared 1 package in 720ms
Installed 99 packages in 284ms
 + aio-pika==10.2.1
 + aiobotocore==3.10.0
 + aiohappyeyeballs==2.7.1
 + aiohttp==3.14.5
 + aioitertools==0.13.0
 + aiormq==7.2.4
 + aiosignal==1.4.0
 + alembic==1.16.5
 + annotated-doc==0.0.5
 + annotated-types==0.8.0
 + anyio==4.15.1
 + argon2-cffi==25.1.0
 + argon2-cffi-bindings==26.1.0
 + asgiref==3.13.0
 + asyncpg==0.32.0
 + attrs==26.1.0
 + botocore==1.43.117
 + certifi==2026.10.23
 + cffi==2.1.1
 + charset-normalizer==3.5.2
 + click==8.5.0
 + dishka==1.10.1
 + dishka-faststream==0.7.0
 + fast-depends==3.0.10
 + fastapi==0.141.1
 + faststream==0.7.8
 + frozenlist==1.8.0
 + googleapis-common-protos==1.76.0
 + greenlet==3.5.6
 + gunicorn==26.2.0
 + h11==0.16.0
 + httpcore==1.0.9
 + httptools==0.8.0
 + httpx==0.28.1
 + idna==3.20
 + iniconfig==2.3.0
 + jmespath==1.1.0
 + jsonschema==4.26.0
 + jsonschema-path==0.3.4
 + jsonschema-specifications==2025.9.1
 + lazy-object-proxy==1.13.0
 + mako==1.4.3
 + markupsafe==3.0.4
 + mtusi-messenger==1.7.0 (from file:///private/tmp/lab7-clean.LvEpBA)
 + multidict==7.2.1
 + openapi-schema-validator==0.6.3
 + openapi-spec-validator==0.7.2
 + opentelemetry-api==1.45.1
 + opentelemetry-exporter-http-transport==0.66b1
 + opentelemetry-exporter-otlp-common==0.66b1
 + opentelemetry-exporter-otlp-proto-common==1.45.1
 + opentelemetry-exporter-otlp-proto-http==1.45.1
 + opentelemetry-instrumentation==0.66b1
 + opentelemetry-instrumentation-asgi==0.66b1
 + opentelemetry-instrumentation-asyncpg==0.66b1
 + opentelemetry-instrumentation-fastapi==0.66b1
 + opentelemetry-proto==1.45.1
 + opentelemetry-sdk==1.45.1
 + opentelemetry-semantic-conventions==0.66b1
 + opentelemetry-util-http==0.66b1
 + orjson==3.12.0
 + packaging==26.3
 + pamqp==4.0.1
 + pathable==0.4.4
 + pillow==13.0.0
 + pluggy==1.6.0
 + propcache==0.5.4
 + protobuf==7.36.2
 + pycparser==3.12
 + pydantic==2.13.5
 + pydantic-core==2.46.5
 + pydantic-settings==2.15.0
 + pygments==2.21.0
 + pytest==9.1.1
 + pytest-asyncio==1.4.0
 + python-dateutil==2.9.0.post0
 + python-dotenv==1.2.3
 + pyyaml==6.0.3
 + redis==8.1.0
 + referencing==0.36.2
 + requests==2.34.2
 + rfc3339-validator==0.1.4
 + rpds-py==2026.9.1
 + ruff==0.16.9
 + six==1.17.0
 + sqlalchemy==2.0.45
 + starlette==1.7.0
 + structlog==26.1.0
 + ty==0.0.84
 + typing-extensions==4.16.0
 + typing-inspection==0.4.4
 + urllib3==2.8.0
 + uvicorn==0.54.0
 + uvicorn-worker==0.4.0
 + uvloop==0.22.1
 + watchfiles==1.3.0
 + websockets==17.1
 + wrapt==2.5.1
 + yarl==1.25.1
python3 scripts/check_contract.py
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
.venv/bin/python scripts/validate_openapi.py
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
.venv/bin/ruff check src student-tests scripts/security_lifecycle.py scripts/security_inventory.py scripts/security_evidence.py scripts/privilege_compare.py scripts/security_failover.py scripts/security_probe.py scripts/worker_compromise.py scripts/security_benchmark.py scripts/pki.py scripts/security_operator.py scripts/secure_runtime.py scripts/obs_cost_summary.py scripts/obs_cost.py scripts/obs_incidents.py scripts/obs_recovery.py scripts/capture_evidence.py alembic scripts/scaling.py tools scripts/probe.py scripts/limits.py scripts/lab4_scenarios.py scripts/lab4_seed.py scripts/upload_memory.py scripts/reconcile_check.py scripts/reconcile_track.py scripts/make_images.py scripts/pipeline_suite.py scripts/pipeline_evidence.py
All checks passed!
.venv/bin/ruff format --check src student-tests scripts/security_lifecycle.py scripts/security_inventory.py scripts/security_evidence.py scripts/privilege_compare.py scripts/security_failover.py scripts/security_probe.py scripts/worker_compromise.py scripts/security_benchmark.py scripts/pki.py scripts/security_operator.py scripts/secure_runtime.py scripts/obs_cost_summary.py scripts/obs_cost.py scripts/obs_incidents.py scripts/obs_recovery.py scripts/capture_evidence.py alembic scripts/scaling.py tools scripts/probe.py scripts/limits.py scripts/lab4_scenarios.py scripts/lab4_seed.py scripts/upload_memory.py scripts/reconcile_check.py scripts/reconcile_track.py scripts/make_images.py scripts/pipeline_suite.py scripts/pipeline_evidence.py
230 files already formatted
.venv/bin/ty check src student-tests alembic
All checks passed!
sh scripts/secure-up.sh
/Applications/Xcode.app/Contents/Developer/usr/bin/make secrets
sh scripts/secrets.sh
создан secrets/postgres_password
создан secrets/database_url
создан secrets/cursor_secret
создан secrets/valkey_password
создан secrets/valkey.conf
создан secrets/cache_url
создан secrets/s3_root_user
создан secrets/s3_root_password
создан secrets/s3_access_key_id
создан secrets/s3_secret_access_key
создан secrets/s3_reconciler_access_key_id
создан secrets/s3_reconciler_secret_access_key
sh scripts/broker-secrets.sh
broker and S3 worker secrets ready in secrets/ (values not printed)
sh scripts/secrets-lab6.sh
secrets/grafana_admin_password is ready (value not printed)
python3 scripts/pki.py bootstrap
PKI operation completed; private material not displayed.
python3 scripts/security_operator.py passwords
#1 [internal] load local bake definitions
#1 reading from stdin 376B done
#1 DONE 0.0s

#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 1.95kB done
#2 DONE 0.0s

#3 [internal] load metadata for ghcr.io/astral-sh/uv:0.9.7@sha256:ba4857bf2a068e9bc0e64eed8563b065908a4cd6bfb66b531a9c424c8e25e142
#3 DONE 0.0s

#4 [internal] load metadata for docker.io/library/python:3.14-slim-trixie@sha256:51dafde81dbdb6ebde285137a295cf18a47ca95234fe388a343719cb97305b3d
#4 DONE 1.6s

#5 [internal] load .dockerignore
#5 transferring context: 196B done
#5 DONE 0.0s

#6 FROM ghcr.io/astral-sh/uv:0.9.7@sha256:ba4857bf2a068e9bc0e64eed8563b065908a4cd6bfb66b531a9c424c8e25e142
#6 resolve ghcr.io/astral-sh/uv:0.9.7@sha256:ba4857bf2a068e9bc0e64eed8563b065908a4cd6bfb66b531a9c424c8e25e142 0.0s done
#6 DONE 0.0s

#7 [builder 1/7] FROM docker.io/library/python:3.14-slim-trixie@sha256:51dafde81dbdb6ebde285137a295cf18a47ca95234fe388a343719cb97305b3d
#7 resolve docker.io/library/python:3.14-slim-trixie@sha256:51dafde81dbdb6ebde285137a295cf18a47ca95234fe388a343719cb97305b3d 0.0s done
#7 DONE 0.0s

#8 [internal] load build context
#8 transferring context: 636.02kB 0.0s done
#8 DONE 0.0s

#9 [builder 2/7] COPY --from=ghcr.io/astral-sh/uv:0.9.7@sha256:ba4857bf2a068e9bc0e64eed8563b065908a4cd6bfb66b531a9c424c8e25e142 /uv /usr/local/bin/uv
#9 CACHED

#10 [builder 3/7] WORKDIR /build
#10 CACHED

#11 [builder 4/7] COPY pyproject.toml uv.lock README.md ./
#11 CACHED

#12 [builder 5/7] RUN uv sync --locked --no-dev --no-install-project --no-editable
#12 CACHED

#13 [builder 6/7] COPY src ./src
#13 DONE 0.0s

#14 [builder 7/7] RUN uv sync --locked --no-dev --no-editable
#14 0.200 Resolved 100 packages in 9ms
#14 0.217    Building mtusi-messenger @ file:///build
#14 1.676       Built mtusi-messenger @ file:///build
#14 1.680 Prepared 1 package in 1.46s
#14 1.684 Installed 1 package in 3ms
#14 1.919 Bytecode compiled 2807 files in 235ms
#14 1.919  + mtusi-messenger==1.7.0 (from file:///build)
#14 DONE 2.0s

#15 [runtime 2/9] RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends haproxy && rm -rf /var/lib/apt/lists/*
#15 CACHED

#16 [runtime 3/9] RUN python -m pip uninstall -y pip setuptools
#16 CACHED

#17 [runtime 4/9] RUN groupadd --system --gid 10001 messenger     && useradd --system --uid 10001 --gid messenger --no-create-home --shell /usr/sbin/nologin messenger
#17 CACHED

#18 [runtime 5/9] COPY --from=builder --chown=root:root /opt/venv /opt/venv
#18 DONE 0.5s

#19 [runtime 6/9] WORKDIR /app
#19 DONE 0.0s

#20 [runtime 7/9] COPY --chown=root:root alembic.ini ./
#20 DONE 0.0s

#21 [runtime 8/9] COPY --chown=root:root alembic ./alembic
#21 DONE 0.0s

#22 [runtime 9/9] COPY --chown=root:root scripts/secure_runtime.py /app/secure_runtime.py
#22 DONE 0.0s

#23 exporting to image
#23 exporting layers
#23 exporting layers 3.0s done
#23 exporting manifest sha256:859ce72a5217d774bd6011437ecdcfe48c81d1359556303575265ed8dd2a6892
#23 exporting manifest sha256:859ce72a5217d774bd6011437ecdcfe48c81d1359556303575265ed8dd2a6892 done
#23 exporting config sha256:6b2cb24caed4b3b3b5e0f1aff6efd90b1cb13ec987222d233e2954da227db1c7 done
#23 exporting attestation manifest sha256:bebb74c0a3b1246c97c3f7a7f592f276841b59201470cfb21b0f22a75b2a8f8e done
#23 exporting manifest list sha256:02606ec19977fed07a3ac3b3c175e5aeb693d11d96d81dd162414a60d17fbf41 done
#23 naming to docker.io/library/mtusi-messenger:lab7-clean-20261113205811 done
#23 unpacking to docker.io/library/mtusi-messenger:lab7-clean-20261113205811
#23 unpacking to docker.io/library/mtusi-messenger:lab7-clean-20261113205811 0.7s done
#23 DONE 3.7s

#24 resolving provenance for metadata file
#24 DONE 0.0s
 api  Built
 Network lab7-clean-20261113205811_edge  Creating
 Network lab7-clean-20261113205811_edge  Created
 Network lab7-clean-20261113205811_backend  Creating
 Network lab7-clean-20261113205811_backend  Created
 Volume "lab7-clean-20261113205811_bao-data"  Creating
 Volume "lab7-clean-20261113205811_bao-data"  Created
 Volume "lab7-clean-20261113205811_healthtools"  Creating
 Volume "lab7-clean-20261113205811_healthtools"  Created
 Volume "lab7-clean-20261113205811_tempo-data"  Creating
 Volume "lab7-clean-20261113205811_tempo-data"  Created
 Volume "lab7-clean-20261113205811_prometheus-data"  Creating
 Volume "lab7-clean-20261113205811_prometheus-data"  Created
 Volume "lab7-clean-20261113205811_broker-data"  Creating
 Volume "lab7-clean-20261113205811_broker-data"  Created
 Volume "lab7-clean-20261113205811_s3data"  Creating
 Volume "lab7-clean-20261113205811_s3data"  Created
 Volume "lab7-clean-20261113205811_pgdata"  Creating
 Volume "lab7-clean-20261113205811_pgdata"  Created
 Volume "lab7-clean-20261113205811_loki-data"  Creating
 Volume "lab7-clean-20261113205811_loki-data"  Created
 Volume "lab7-clean-20261113205811_valkeydata"  Creating
 Volume "lab7-clean-20261113205811_valkeydata"  Created
 Volume "lab7-clean-20261113205811_grafana-data"  Creating
 Volume "lab7-clean-20261113205811_grafana-data"  Created
 Container lab7-clean-20261113205811-healthtools-1  Creating
 Container lab7-clean-20261113205811-bao-init-1  Creating
 Container lab7-clean-20261113205811-broker-1  Creating
 Container lab7-clean-20261113205811-valkey-1  Creating
 Container lab7-clean-20261113205811-s3-1  Creating
 Container lab7-clean-20261113205811-prometheus-1  Creating
 Container lab7-clean-20261113205811-postgres-1  Creating
 Container lab7-clean-20261113205811-s3-1  Created
 Container lab7-clean-20261113205811-postgres-1  Created
 Container lab7-clean-20261113205811-valkey-1  Created
 Container lab7-clean-20261113205811-bao-init-1  Created
 Container lab7-clean-20261113205811-openbao-1  Creating
 Container lab7-clean-20261113205811-healthtools-1  Created
 Container lab7-clean-20261113205811-tempo-1  Creating
 Container lab7-clean-20261113205811-loki-1  Creating
 Container lab7-clean-20261113205811-otel-collector-1  Creating
 Container lab7-clean-20261113205811-broker-1  Created
 Container lab7-clean-20261113205811-prometheus-1  Created
 Container lab7-clean-20261113205811-otel-collector-1  Created
 Container lab7-clean-20261113205811-tempo-1  Created
 Container lab7-clean-20261113205811-openbao-1  Created
 Container lab7-clean-20261113205811-loki-1  Created
 Container lab7-clean-20261113205811-grafana-1  Creating
 Container lab7-clean-20261113205811-grafana-1  Created
 Container lab7-clean-20261113205811-s3-1  Starting
 Container lab7-clean-20261113205811-valkey-1  Starting
 Container lab7-clean-20261113205811-healthtools-1  Starting
 Container lab7-clean-20261113205811-postgres-1  Starting
 Container lab7-clean-20261113205811-bao-init-1  Starting
 Container lab7-clean-20261113205811-broker-1  Starting
 Container lab7-clean-20261113205811-prometheus-1  Starting
 Container lab7-clean-20261113205811-healthtools-1  Started
 Container lab7-clean-20261113205811-healthtools-1  Waiting
 Container lab7-clean-20261113205811-healthtools-1  Waiting
 Container lab7-clean-20261113205811-healthtools-1  Waiting
 Container lab7-clean-20261113205811-valkey-1  Started
 Container lab7-clean-20261113205811-prometheus-1  Started
 Container lab7-clean-20261113205811-postgres-1  Started
 Container lab7-clean-20261113205811-s3-1  Started
 Container lab7-clean-20261113205811-broker-1  Started
 Container lab7-clean-20261113205811-bao-init-1  Started
 Container lab7-clean-20261113205811-bao-init-1  Waiting
 Container lab7-clean-20261113205811-healthtools-1  Exited
 Container lab7-clean-20261113205811-otel-collector-1  Starting
 Container lab7-clean-20261113205811-healthtools-1  Exited
 Container lab7-clean-20261113205811-tempo-1  Starting
 Container lab7-clean-20261113205811-healthtools-1  Exited
 Container lab7-clean-20261113205811-loki-1  Starting
 Container lab7-clean-20261113205811-tempo-1  Started
 Container lab7-clean-20261113205811-loki-1  Started
 Container lab7-clean-20261113205811-grafana-1  Starting
 Container lab7-clean-20261113205811-bao-init-1  Exited
 Container lab7-clean-20261113205811-openbao-1  Starting
 Container lab7-clean-20261113205811-otel-collector-1  Started
 Container lab7-clean-20261113205811-grafana-1  Started
 Container lab7-clean-20261113205811-openbao-1  Started
 Container lab7-clean-20261113205811-s3-1  Running
 Container lab7-clean-20261113205811-tempo-1  Running
 Container lab7-clean-20261113205811-valkey-1  Running
 Container lab7-clean-20261113205811-s3-tls-1  Creating
 Container lab7-clean-20261113205811-broker-1  Running
 Container lab7-clean-20261113205811-valkey-tls-1  Creating
 Container lab7-clean-20261113205811-broker-tls-1  Creating
 Container lab7-clean-20261113205811-otel-collector-1  Running
 Container lab7-clean-20261113205811-tempo-tls-1  Creating
 Container lab7-clean-20261113205811-otel-collector-tls-1  Creating
 Container lab7-clean-20261113205811-loki-1  Running
 Container lab7-clean-20261113205811-prometheus-1  Running
 Container lab7-clean-20261113205811-loki-tls-1  Creating
 Container lab7-clean-20261113205811-prometheus-tls-1  Creating
 Container lab7-clean-20261113205811-grafana-1  Running
 Container lab7-clean-20261113205811-grafana-tls-1  Creating
 Container lab7-clean-20261113205811-s3-tls-1  Created
 Container lab7-clean-20261113205811-prometheus-tls-1  Created
 Container lab7-clean-20261113205811-loki-tls-1  Created
 Container lab7-clean-20261113205811-valkey-tls-1  Created
 Container lab7-clean-20261113205811-tempo-tls-1  Created
 Container lab7-clean-20261113205811-grafana-tls-1  Created
 Container lab7-clean-20261113205811-broker-tls-1  Created
 Container lab7-clean-20261113205811-otel-collector-tls-1  Created
 Container lab7-clean-20261113205811-healthtools-1  Starting
 Container lab7-clean-20261113205811-broker-tls-1  Starting
 Container lab7-clean-20261113205811-s3-tls-1  Starting
 Container lab7-clean-20261113205811-prometheus-tls-1  Starting
 Container lab7-clean-20261113205811-valkey-tls-1  Starting
 Container lab7-clean-20261113205811-healthtools-1  Started
 Container lab7-clean-20261113205811-healthtools-1  Waiting
 Container lab7-clean-20261113205811-healthtools-1  Waiting
 Container lab7-clean-20261113205811-healthtools-1  Waiting
 Container lab7-clean-20261113205811-prometheus-tls-1  Started
 Container lab7-clean-20261113205811-broker-tls-1  Started
 Container lab7-clean-20261113205811-s3-tls-1  Started
 Container lab7-clean-20261113205811-valkey-tls-1  Started
 Container lab7-clean-20261113205811-healthtools-1  Exited
 Container lab7-clean-20261113205811-healthtools-1  Exited
 Container lab7-clean-20261113205811-otel-collector-tls-1  Starting
 Container lab7-clean-20261113205811-tempo-tls-1  Starting
 Container lab7-clean-20261113205811-healthtools-1  Exited
 Container lab7-clean-20261113205811-loki-tls-1  Starting
 Container lab7-clean-20261113205811-grafana-tls-1  Starting
 Container lab7-clean-20261113205811-loki-tls-1  Started
 Container lab7-clean-20261113205811-tempo-tls-1  Started
 Container lab7-clean-20261113205811-grafana-tls-1  Started
 Container lab7-clean-20261113205811-otel-collector-tls-1  Started
OpenBao unsealed by operator; shares not displayed.
security.configuration.accepted
Scoped database roles applied.
s3-init: bucket=messenger-attachments anonymous=private policies=messenger-api,messenger-reconciler lifecycle=abort-incomplete-uploads
 Container lab7-clean-20261113205811-api-2  Creating
 Container lab7-clean-20261113205811-relay-1  Creating
 Container lab7-clean-20261113205811-worker-1  Creating
 Container lab7-clean-20261113205811-api-1  Creating
 Container lab7-clean-20261113205811-lb-1  Creating
 Container lab7-clean-20261113205811-api-2  Created
 Container lab7-clean-20261113205811-api-1  Created
 Container lab7-clean-20261113205811-lb-1  Created
 Container lab7-clean-20261113205811-relay-1  Created
 Container lab7-clean-20261113205811-worker-1  Created
 Container lab7-clean-20261113205811-worker-1  Starting
 Container lab7-clean-20261113205811-api-1  Starting
 Container lab7-clean-20261113205811-lb-1  Starting
 Container lab7-clean-20261113205811-relay-1  Starting
 Container lab7-clean-20261113205811-relay-1  Started
 Container lab7-clean-20261113205811-api-1  Started
 Container lab7-clean-20261113205811-api-2  Starting
 Container lab7-clean-20261113205811-worker-1  Started
 Container lab7-clean-20261113205811-lb-1  Started
 Container lab7-clean-20261113205811-api-2  Started
python3 tests/smoke.py --base-url "https://localhost:19443" --ca-file "/tmp/lab7-clean.LvEpBA/secrets/pki/operator/ca.crt"
PASS: lab7 public API scenario; infrastructure and grading evidence remain separate.
python3 tests/security.py --base-url "https://localhost:19443" --ca-file "/tmp/lab7-clean.LvEpBA/secrets/pki/operator/ca.crt"
PASS: trusted HTTPS works; untrusted CA rejected. This does NOT verify internal mTLS, OpenBao or hardening.
{
  "checks": [
    {
      "test": "mtls:api:8443:lb",
      "passed": true
    },
    {
      "test": "mtls:api:8443:None",
      "passed": true
    },
    {
      "test": "mtls:api:8443:outsider",
      "passed": true
    },
    {
      "test": "mtls:api:8443:foreign",
      "passed": true
    },
    {
      "test": "hostname:api:8443",
      "passed": true
    },
    {
      "test": "mtls:s3:9443:api",
      "passed": true
    },
    {
      "test": "mtls:s3:9443:None",
      "passed": true
    },
    {
      "test": "mtls:s3:9443:outsider",
      "passed": true
    },
    {
      "test": "mtls:s3:9443:foreign",
      "passed": true
    },
    {
      "test": "hostname:s3:9443",
      "passed": true
    },
    {
      "test": "mtls:broker:5671:worker",
      "passed": true
    },
    {
      "test": "mtls:broker:5671:None",
      "passed": true
    },
    {
      "test": "mtls:broker:5671:outsider",
      "passed": true
    },
    {
      "test": "mtls:broker:5671:foreign",
      "passed": true
    },
    {
      "test": "hostname:broker:5671",
      "passed": true
    },
    {
      "test": "mtls:otel-collector:44318:api",
      "passed": true
    },
    {
      "test": "mtls:otel-collector:44318:None",
      "passed": true
    },
    {
      "test": "mtls:otel-collector:44318:outsider",
      "passed": true
    },
    {
      "test": "mtls:otel-collector:44318:foreign",
      "passed": true
    },
    {
      "test": "hostname:otel-collector:44318",
      "passed": true
    },
    {
      "test": "mtls:prometheus:9443:grafana",
      "passed": true
    },
    {
      "test": "mtls:prometheus:9443:None",
      "passed": true
    },
    {
      "test": "mtls:prometheus:9443:outsider",
      "passed": true
    },
    {
      "test": "mtls:prometheus:9443:foreign",
      "passed": true
    },
    {
      "test": "hostname:prometheus:9443",
      "passed": true
    },
    {
      "test": "mtls:loki:9443:grafana",
      "passed": true
    },
    {
      "test": "mtls:loki:9443:None",
      "passed": true
    },
    {
      "test": "mtls:loki:9443:outsider",
      "passed": true
    },
    {
      "test": "mtls:loki:9443:foreign",
      "passed": true
    },
    {
      "test": "hostname:loki:9443",
      "passed": true
    },
    {
      "test": "mtls:tempo:9443:grafana",
      "passed": true
    },
    {
      "test": "mtls:tempo:9443:None",
      "passed": true
    },
    {
      "test": "mtls:tempo:9443:outsider",
      "passed": true
    },
    {
      "test": "mtls:tempo:9443:foreign",
      "passed": true
    },
    {
      "test": "hostname:tempo:9443",
      "passed": true
    },
    {
      "test": "mtls:tempo:44318:otel-collector",
      "passed": true
    },
    {
      "test": "mtls:tempo:44318:None",
      "passed": true
    },
    {
      "test": "mtls:tempo:44318:outsider",
      "passed": true
    },
    {
      "test": "mtls:tempo:44318:foreign",
      "passed": true
    },
    {
      "test": "hostname:tempo:44318",
      "passed": true
    },
    {
      "test": "mtls:grafana:9443:operator",
      "passed": true
    },
    {
      "test": "mtls:grafana:9443:None",
      "passed": true
    },
    {
      "test": "mtls:grafana:9443:outsider",
      "passed": true
    },
    {
      "test": "mtls:grafana:9443:foreign",
      "passed": true
    },
    {
      "test": "hostname:grafana:9443",
      "passed": true
    },
    {
      "test": "mtls:valkey:6380:api",
      "passed": true
    },
    {
      "test": "mtls:valkey:6380:None",
      "passed": true
    },
    {
      "test": "mtls:valkey:6380:outsider",
      "passed": true
    },
    {
      "test": "mtls:valkey:6380:foreign",
      "passed": true
    },
    {
      "test": "hostname:valkey:6380",
      "passed": true
    },
    {
      "test": "plaintext-closed:api:8080",
      "passed": true
    },
    {
      "test": "plaintext-closed:s3:9000",
      "passed": true
    },
    {
      "test": "plaintext-closed:broker:5672",
      "passed": true
    },
    {
      "test": "plaintext-closed:broker:15672",
      "passed": true
    },
    {
      "test": "plaintext-closed:broker:15692",
      "passed": true
    },
    {
      "test": "plaintext-closed:broker:25672",
      "passed": true
    },
    {
      "test": "plaintext-closed:broker:4369",
      "passed": true
    },
    {
      "test": "plaintext-closed:valkey:6379",
      "passed": true
    },
    {
      "test": "plaintext-closed:otel-collector:4318",
      "passed": true
    },
    {
      "test": "plaintext-closed:otel-collector:8888",
      "passed": true
    },
    {
      "test": "plaintext-closed:otel-collector:13133",
      "passed": true
    },
    {
      "test": "plaintext-closed:prometheus:9090",
      "passed": true
    },
    {
      "test": "plaintext-closed:loki:3100",
      "passed": true
    },
    {
      "test": "plaintext-closed:loki:9096",
      "passed": true
    },
    {
      "test": "plaintext-closed:tempo:3200",
      "passed": true
    },
    {
      "test": "plaintext-closed:tempo:4318",
      "passed": true
    },
    {
      "test": "plaintext-closed:tempo:9095",
      "passed": true
    },
    {
      "test": "plaintext-closed:grafana:3000",
      "passed": true
    },
    {
      "test": "bao-scope:api",
      "passed": true,
      "own": 200,
      "foreign": 403,
      "admin": 403
    },
    {
      "test": "bao-scope:worker",
      "passed": true,
      "own": 200,
      "foreign": 403,
      "admin": 403
    },
    {
      "test": "bao-scope:relay",
      "passed": true,
      "own": 200,
      "foreign": 403,
      "admin": 403
    },
    {
      "test": "telemetry-query:prometheus",
      "passed": true,
      "bytes": 572
    },
    {
      "test": "telemetry-query:loki",
      "passed": true,
      "bytes": 75
    },
    {
      "test": "telemetry-query:tempo",
      "passed": true,
      "bytes": 57
    },
    {
      "test": "collector-read-denied:prometheus",
      "passed": true
    },
    {
      "test": "collector-read-denied:loki",
      "passed": true
    },
    {
      "test": "grafana-write-denied:prometheus",
      "passed": true
    },
    {
      "test": "grafana-write-denied:loki",
      "passed": true
    },
    {
      "test": "api-replica:172.27.0.10:lb",
      "passed": true
    },
    {
      "test": "api-replica:172.27.0.10:None",
      "passed": true
    },
    {
      "test": "api-replica:172.27.0.10:outsider",
      "passed": true
    },
    {
      "test": "api-replica:172.27.0.10:foreign",
      "passed": true
    },
    {
      "test": "api-replica:172.27.0.13:lb",
      "passed": true
    },
    {
      "test": "api-replica:172.27.0.13:None",
      "passed": true
    },
    {
      "test": "api-replica:172.27.0.13:outsider",
      "passed": true
    },
    {
      "test": "api-replica:172.27.0.13:foreign",
      "passed": true
    },
    {
      "test": "worker-db:jobs-readable",
      "passed": true
    },
    {
      "test": "worker-db:users-denied",
      "passed": true
    },
    {
      "test": "worker-db:sessions-denied",
      "passed": true
    },
    {
      "test": "worker-db:ddl-denied",
      "passed": true
    },
    {
      "test": "worker-s3:PUT:variants/security-probe",
      "passed": true,
      "status": 200
    },
    {
      "test": "worker-s3:GET:variants/security-probe",
      "passed": true,
      "status": 200
    },
    {
      "test": "worker-s3:PUT:staging/security-probe",
      "passed": true,
      "status": 403
    },
    {
      "test": "worker-s3:GET:private/security-probe",
      "passed": true,
      "status": 403
    },
    {
      "test": "worker-s3:DELETE:variants/security-probe",
      "passed": true,
      "status": 403
    },
    {
      "test": "worker-queue:consume",
      "passed": true
    },
    {
      "test": "worker-queue:publish-denied",
      "passed": true
    },
    {
      "test": "worker-queue:configure-denied",
      "passed": true
    },
    {
      "test": "valkey:own-prefix",
      "passed": true
    },
    {
      "test": "valkey:foreign-prefix-denied",
      "passed": true
    },
    {
      "test": "valkey:admin-denied",
      "passed": true
    },
    {
      "test": "postgres:plaintext-denied",
      "passed": true
    },
    {
      "test": "postgres:untrusted-ca-denied",
      "passed": true
    }
  ],
  "passed": true
}
{
  "containers": [
    {
      "service": "api",
      "user": "10001:10001",
      "readonly": true,
      "memory_bytes": 536870912,
      "cpu_quota": 1.0,
      "only_own_keys": true,
      "passed": true
    },
    {
      "service": "api",
      "user": "10001:10001",
      "readonly": true,
      "memory_bytes": 536870912,
      "cpu_quota": 1.0,
      "only_own_keys": true,
      "passed": true
    },
    {
      "service": "broker",
      "user": "100:101",
      "readonly": true,
      "memory_bytes": 536870912,
      "cpu_quota": 1.0,
      "only_own_keys": true,
      "passed": true
    },
    {
      "service": "broker-tls",
      "user": "haproxy",
      "readonly": true,
      "memory_bytes": 67108864,
      "cpu_quota": 0.25,
      "only_own_keys": true,
      "passed": true
    },
    {
      "service": "grafana",
      "user": "472",
      "readonly": false,
      "memory_bytes": 402653184,
      "cpu_quota": 0.5,
      "only_own_keys": true,
      "passed": true
    },
    {
      "service": "grafana-tls",
      "user": "haproxy",
      "readonly": true,
      "memory_bytes": 67108864,
      "cpu_quota": 0.25,
      "only_own_keys": true,
      "passed": true
    },
    {
      "service": "lb",
      "user": "haproxy",
      "readonly": true,
      "memory_bytes": 134217728,
      "cpu_quota": 1.0,
      "only_own_keys": true,
      "passed": true
    },
    {
      "service": "loki",
      "user": "10001",
      "readonly": false,
      "memory_bytes": 402653184,
      "cpu_quota": 0.5,
      "only_own_keys": true,
      "passed": true
    },
    {
      "service": "loki-tls",
      "user": "haproxy",
      "readonly": true,
      "memory_bytes": 67108864,
      "cpu_quota": 0.25,
      "only_own_keys": true,
      "passed": true
    },
    {
      "service": "openbao",
      "user": "100:1000",
      "readonly": true,
      "memory_bytes": 268435456,
      "cpu_quota": 0.5,
      "only_own_keys": true,
      "passed": true
    },
    {
      "service": "otel-collector",
      "user": "10001:10001",
      "readonly": false,
      "memory_bytes": 402653184,
      "cpu_quota": 0.5,
      "only_own_keys": true,
      "passed": true
    },
    {
      "service": "otel-collector-tls",
      "user": "haproxy",
      "readonly": true,
      "memory_bytes": 67108864,
      "cpu_quota": 0.25,
      "only_own_keys": true,
      "passed": true
    },
    {
      "service": "postgres",
      "user": "70:70",
      "readonly": false,
      "memory_bytes": 1073741824,
      "cpu_quota": 2.0,
      "only_own_keys": true,
      "passed": true
    },
    {
      "service": "prometheus",
      "user": "nobody",
      "readonly": false,
      "memory_bytes": 536870912,
      "cpu_quota": 0.5,
      "only_own_keys": true,
      "passed": true
    },
    {
      "service": "prometheus-tls",
      "user": "haproxy",
      "readonly": true,
      "memory_bytes": 67108864,
      "cpu_quota": 0.25,
      "only_own_keys": true,
      "passed": true
    },
    {
      "service": "relay",
      "user": "10001:10001",
      "readonly": true,
      "memory_bytes": 201326592,
      "cpu_quota": 0.5,
      "only_own_keys": true,
      "passed": true
    },
    {
      "service": "s3",
      "user": "rustfs",
      "readonly": true,
      "memory_bytes": 536870912,
      "cpu_quota": 1.0,
      "only_own_keys": true,
      "passed": true
    },
    {
      "service": "s3-tls",
      "user": "haproxy",
      "readonly": true,
      "memory_bytes": 67108864,
      "cpu_quota": 0.25,
      "only_own_keys": true,
      "passed": true
    },
    {
      "service": "tempo",
      "user": "10001:10001",
      "readonly": false,
      "memory_bytes": 402653184,
      "cpu_quota": 0.5,
      "only_own_keys": true,
      "passed": true
    },
    {
      "service": "tempo-tls",
      "user": "haproxy",
      "readonly": true,
      "memory_bytes": 67108864,
      "cpu_quota": 0.25,
      "only_own_keys": true,
      "passed": true
    },
    {
      "service": "valkey",
      "user": "999:1000",
      "readonly": false,
      "memory_bytes": 134217728,
      "cpu_quota": 0.5,
      "only_own_keys": true,
      "passed": true
    },
    {
      "service": "valkey-tls",
      "user": "haproxy",
      "readonly": true,
      "memory_bytes": 67108864,
      "cpu_quota": 0.25,
      "only_own_keys": true,
      "passed": true
    },
    {
      "service": "worker",
      "user": "10001:10001",
      "readonly": true,
      "memory_bytes": 1073741824,
      "cpu_quota": 2.0,
      "only_own_keys": true,
      "passed": true
    }
  ],
  "passed": true
}
PASS clean clone with fresh CA, operator state and persistent volumes
 Container lab7-clean-20261113205811-relay-1  Stopping
 Container lab7-clean-20261113205811-tempo-tls-1  Stopping
 Container lab7-clean-20261113205811-worker-1  Stopping
 Container lab7-clean-20261113205811-grafana-tls-1  Stopping
 Container lab7-clean-20261113205811-postgres-1  Stopping
 Container lab7-clean-20261113205811-broker-tls-1  Stopping
 Container lab7-clean-20261113205811-otel-collector-tls-1  Stopping
 Container lab7-clean-20261113205811-api-2  Stopping
 Container lab7-clean-20261113205811-api-1  Stopping
 Container lab7-clean-20261113205811-valkey-tls-1  Stopping
 Container lab7-clean-20261113205811-loki-tls-1  Stopping
 Container lab7-clean-20261113205811-prometheus-tls-1  Stopping
 Container lab7-clean-20261113205811-lb-1  Stopping
 Container lab7-clean-20261113205811-prometheus-tls-1  Stopped
 Container lab7-clean-20261113205811-prometheus-tls-1  Removing
 Container lab7-clean-20261113205811-prometheus-tls-1  Removed
 Container lab7-clean-20261113205811-postgres-1  Stopped
 Container lab7-clean-20261113205811-postgres-1  Removing
 Container lab7-clean-20261113205811-postgres-1  Removed
 Container lab7-clean-20261113205811-lb-1  Stopped
 Container lab7-clean-20261113205811-lb-1  Removing
 Container lab7-clean-20261113205811-lb-1  Removed
 Container lab7-clean-20261113205811-broker-tls-1  Stopped
 Container lab7-clean-20261113205811-broker-tls-1  Removing
 Container lab7-clean-20261113205811-broker-tls-1  Removed
 Container lab7-clean-20261113205811-broker-1  Stopping
 Container lab7-clean-20261113205811-broker-1  Stopped
 Container lab7-clean-20261113205811-broker-1  Removing
 Container lab7-clean-20261113205811-broker-1  Removed
 Container lab7-clean-20261113205811-valkey-tls-1  Stopped
 Container lab7-clean-20261113205811-valkey-tls-1  Removing
 Container lab7-clean-20261113205811-worker-1  Stopped
 Container lab7-clean-20261113205811-worker-1  Removing
 Container lab7-clean-20261113205811-valkey-tls-1  Removed
 Container lab7-clean-20261113205811-valkey-1  Stopping
 Container lab7-clean-20261113205811-worker-1  Removed
 Container lab7-clean-20261113205811-valkey-1  Stopped
 Container lab7-clean-20261113205811-valkey-1  Removing
 Container lab7-clean-20261113205811-valkey-1  Removed
 Container lab7-clean-20261113205811-relay-1  Stopped
 Container lab7-clean-20261113205811-relay-1  Removing
 Container lab7-clean-20261113205811-relay-1  Removed
 Container lab7-clean-20261113205811-api-2  Stopped
 Container lab7-clean-20261113205811-api-2  Removing
 Container lab7-clean-20261113205811-api-2  Removed
 Container lab7-clean-20261113205811-api-1  Stopped
 Container lab7-clean-20261113205811-api-1  Removing
 Container lab7-clean-20261113205811-api-1  Removed
 Container lab7-clean-20261113205811-openbao-1  Stopping
 Container lab7-clean-20261113205811-s3-tls-1  Stopping
 Container lab7-clean-20261113205811-s3-tls-1  Stopped
 Container lab7-clean-20261113205811-s3-tls-1  Removing
 Container lab7-clean-20261113205811-s3-tls-1  Removed
 Container lab7-clean-20261113205811-s3-1  Stopping
 Container lab7-clean-20261113205811-s3-1  Stopped
 Container lab7-clean-20261113205811-s3-1  Removing
 Container lab7-clean-20261113205811-s3-1  Removed
 Container lab7-clean-20261113205811-openbao-1  Stopped
 Container lab7-clean-20261113205811-openbao-1  Removing
 Container lab7-clean-20261113205811-openbao-1  Removed
 Container lab7-clean-20261113205811-bao-init-1  Stopping
 Container lab7-clean-20261113205811-bao-init-1  Stopped
 Container lab7-clean-20261113205811-bao-init-1  Removing
 Container lab7-clean-20261113205811-bao-init-1  Removed
 Container lab7-clean-20261113205811-grafana-tls-1  Stopped
 Container lab7-clean-20261113205811-grafana-tls-1  Removing
 Container lab7-clean-20261113205811-otel-collector-tls-1  Stopped
 Container lab7-clean-20261113205811-otel-collector-tls-1  Removing
 Container lab7-clean-20261113205811-tempo-tls-1  Stopped
 Container lab7-clean-20261113205811-tempo-tls-1  Removing
 Container lab7-clean-20261113205811-loki-tls-1  Stopped
 Container lab7-clean-20261113205811-loki-tls-1  Removing
 Container lab7-clean-20261113205811-grafana-tls-1  Removed
 Container lab7-clean-20261113205811-grafana-1  Stopping
 Container lab7-clean-20261113205811-otel-collector-tls-1  Removed
 Container lab7-clean-20261113205811-otel-collector-1  Stopping
 Container lab7-clean-20261113205811-tempo-tls-1  Removed
 Container lab7-clean-20261113205811-loki-tls-1  Removed
 Container lab7-clean-20261113205811-grafana-1  Stopped
 Container lab7-clean-20261113205811-grafana-1  Removing
 Container lab7-clean-20261113205811-grafana-1  Removed
 Container lab7-clean-20261113205811-tempo-1  Stopping
 Container lab7-clean-20261113205811-prometheus-1  Stopping
 Container lab7-clean-20261113205811-loki-1  Stopping
 Container lab7-clean-20261113205811-otel-collector-1  Stopped
 Container lab7-clean-20261113205811-otel-collector-1  Removing
 Container lab7-clean-20261113205811-otel-collector-1  Removed
 Container lab7-clean-20261113205811-prometheus-1  Stopped
 Container lab7-clean-20261113205811-prometheus-1  Removing
 Container lab7-clean-20261113205811-prometheus-1  Removed
 Container lab7-clean-20261113205811-tempo-1  Stopped
 Container lab7-clean-20261113205811-tempo-1  Removing
 Container lab7-clean-20261113205811-tempo-1  Removed
 Container lab7-clean-20261113205811-loki-1  Stopped
 Container lab7-clean-20261113205811-loki-1  Removing
 Container lab7-clean-20261113205811-loki-1  Removed
 Container lab7-clean-20261113205811-healthtools-1  Stopping
 Container lab7-clean-20261113205811-healthtools-1  Stopped
 Container lab7-clean-20261113205811-healthtools-1  Removing
 Container lab7-clean-20261113205811-healthtools-1  Removed
 Network lab7-clean-20261113205811_edge  Removing
 Network lab7-clean-20261113205811_backend  Removing
 Network lab7-clean-20261113205811_edge  Removed
 Network lab7-clean-20261113205811_backend  Removed
exit_code=0 clone=/tmp/lab7-clean.LvEpBA project=lab7-clean-20261113205811 volumes retained
