From 34f26e6948b7001ede8ca19f23b67a02082e6a9a Mon Sep 17 00:00:00 2001 From: Vincent Date: Sun, 15 Nov 2026 21:54:21 -0500 Subject: [PATCH 1/2] Allow constrained pricing health checks to complete --- delivery/EVIDENCE.md | 12 +- delivery/PR.md | 32 +++-- delivery/README.md | 31 ++-- delivery/RUNBOOKS.md | 19 ++- delivery/app/Dockerfile | 3 +- .../health-timeout-trial-20261115.json | 133 ++++++++++++++++++ .../evidence/health-timeout-trial-20261115.py | 51 +++++++ .../evidence/release-attempt-4-20261115.md | 74 ++++++++++ manual/latex/abstract.tex | 10 +- manual/latex/devopsAIPromptLog.tex | 36 +++++ manual/latex/devopsAssignment.tex | 2 +- manual/latex/devopsDocumentHistory.tex | 1 + manual/latex/devopsHostsPasswords.tex | 18 ++- manual/latex/devopsSecureDelivery.tex | 105 +++++++++++--- .../assignment8-staging-gate-4-20261115.jpg | Bin 0 -> 32067 bytes 15 files changed, 460 insertions(+), 67 deletions(-) create mode 100644 delivery/evidence/health-timeout-trial-20261115.json create mode 100644 delivery/evidence/health-timeout-trial-20261115.py create mode 100644 delivery/evidence/release-attempt-4-20261115.md create mode 100644 manual/latex/images/assignment8-staging-gate-4-20261115.jpg diff --git a/delivery/EVIDENCE.md b/delivery/EVIDENCE.md index 3e0c802..0b5a104 100644 --- a/delivery/EVIDENCE.md +++ b/delivery/EVIDENCE.md @@ -2,12 +2,14 @@ ## Reviewed Jenkins execution, 15 November 2026 -PR 24 is merged. The actual [test/secret gate demonstrations](evidence/gates-20261115.md) +PRs 24 and 25 are merged. The actual [test/secret gate demonstrations](evidence/gates-20261115.md) blocked as intended. [Release attempt 3](evidence/release-attempt-3-20261115.md) -passed scans and published v1, then stopped before any app change at the -Ansible PTY request. The noninteractive SSH correction was verified in -agent-preflight build 3 but awaits source review/merge. No successful promotion, -production approval or recovery has occurred. +published v1 and stopped at the Ansible PTY request. After that correction +merged, [release attempt 4](evidence/release-attempt-4-20261115.md) passed initial +staging checks but its unchanged rerun stopped at Docker's health timeout. +Eight isolated diagnostic probes passed with ten seconds instead of three. +That correction and the separate v2 source/test change await review. No passed +idempotence gate, production approval, promotion or recovery is claimed. ## Preparation evidence — historical baseline diff --git a/delivery/PR.md b/delivery/PR.md index 5be5262..1c2de3d 100644 --- a/delivery/PR.md +++ b/delivery/PR.md @@ -1,15 +1,23 @@ -# Fix noninteractive Ansible deployment over the restricted SSH key +# Fix constrained health checks and add pricing v2 -The first reviewed v1 release passed its tests and security gates and published -an image, but stopped during Ansible Gathering Facts: Ansible forced a PTY -that the dedicated deploy key forbids. Set `ansible_ssh_use_tty=false` in the -delivery inventory and extend the administrator preflight to exercise Ansible's -actual SSH/sudo path. Keep the key restriction and pinned host verification. +Pricing build 4 passed tests/scans and deployed v1 staging with correct HTTPS, +source identity and total 30. Its unchanged rerun stopped because Docker's +three-second health deadline was too short for Python startup under the +0.25 CPU cap. Keep the two-second HTTP timeout and all security/resource limits; +extend only Docker's overall health timeout to ten seconds. -Record the actual Jenkins test/secret blocks, passing image scans and publication, -zero-change staging connection failure, and successful connection preflight. -No app deployment or production approval is claimed. Retry v1 after merge; -v2 promotion, both recoveries and monitoring evidence still remain. +An isolated trial of the same reviewed image passed eight consecutive checks +in 2.817–5.660 seconds under identical limits. The temporary container had no +network, published port or proxy alias and was removed afterward. Preserve the +actual failed gate and diagnostic evidence; no production approval is claimed. -Validation: credential-bound Jenkins agent-preflight build 3 passed and returned -root UID 0 through Ansible without a PTY; twelve release-control tests passed. +Also prepare the required v2 source/tests: version v2, unit price 12, total 36. +Keep two commits: first the health fix with v1 source, then the v2 app/test +change. Review both and merge with a merge commit, preserving both SHAs. +Jenkins will release the first commit as v1, then the second as v2, each with +staging/idempotence checks and separate human production approval. Recovery +records will be saved from actual successful builds and reviewed afterward. + +Validation: eight constrained diagnostic probes passed; three local functional +tests and twelve control tests passed. Local functional tests used Flask 3.1.3 +and Werkzeug 3.1.8; assessed Jenkins runs retain the exact 3.1.9 dependency lock. diff --git a/delivery/README.md b/delivery/README.md index 2270736..9826610 100644 --- a/delivery/README.md +++ b/delivery/README.md @@ -1,7 +1,7 @@ # Secure Delivery and Rollback — Assignment 8 -The active application starts with the instructor's Startup Pricing Service -v1 from `Examples.zip`, `Examples/dosSecureDelivery/v1/`. The deployment +The application is adapted from the instructor's Startup Pricing Service +v1 in `Examples.zip`, `Examples/dosSecureDelivery/v1/`. The deployment starters come from that bundle's `ansible/` directory. The task follows Chapter 6 of instructor manual version 1.43. @@ -13,16 +13,19 @@ generated by Jenkins from reviewed source. Current execution status, 15 November: PR 24 is merged and the delivery job is enabled. Real Jenkins test/secret demonstrations blocked as intended. The -first v1 image was scanned and published, but staging stopped before any app -change because Ansible requested a PTY forbidden by the deploy key. The -noninteractive inventory correction and expanded, passing Ansible preflight -await review/merge. See [gate evidence](evidence/gates-20261115.md) and -[release attempt 3](evidence/release-attempt-3-20261115.md). +first v1 image was scanned and published, but staging stopped at a PTY request. +PR 25's noninteractive correction is now merged. Build 4 passed initial staging +health/identity/price checks, then the unchanged rerun blocked on the three-second +Docker health deadline. Eight diagnostic probes passed at ten seconds under the +same limits. This health correction and a separate v2 source/test change await +review. See [build 4 and the trial](evidence/release-attempt-4-20261115.md). Run the tests from `app/` after installing its requirements into the selected Linux test environment. The expected v1 result for three units is USD 30. -The later v2 source/test change will be a separate reviewed commit and will -return USD 36. The source commit must be baked into each built image. +The prepared v2 source/test change returns USD 36 and must be committed +separately after the v1 health correction. Review both in one PR and use a +merge commit, preserving both SHAs: select the first for v1, then the second +for v2. The source commit must be baked into each built image. Deployment work uses a dedicated trusted Jenkins agent, immutable images in the existing Gitea registry, and separate Ansible-managed staging and @@ -107,13 +110,15 @@ controller's declarative parser checks passed. These are preparation checks; ## Remaining checkpoints Vincent merged PR #24, including runner migration and HTTPS, after Billy's -latest review. Review/merge the noninteractive Ansible correction before -retrying v1. Create the assignment issue if still absent. Keep main protection. +latest review; PR 25's SSH correction is also merged. Review/merge the health +correction and separate v2 commit before retrying v1. Preserve their history +with a merge commit. Create the assignment issue if still absent. Keep main protection. Billy added the A records; Google and Cloudflare now resolve both names to `147.182.178.136`. On 15 November Caddy's prepared routes were validated and gracefully reloaded; -both names have trusted HTTPS and HTTP redirects. They currently return 502 -because the app containers are not deployed. See `evidence/https-20261115.md`. +both names have trusted HTTPS and HTTP redirects. Staging v1 now exists and +passed its first HTTPS checks; production still returns 502. The original TLS +readiness snapshot is `evidence/https-20261115.md`. The release job is enabled; follow `RUNBOOKS.md` after the corrected source reaches main. Keep Jenkins and the remote delivery node available. Production approval requires an authorized human; an agent must not approve unattended. diff --git a/delivery/RUNBOOKS.md b/delivery/RUNBOOKS.md index 4807f78..683f9fb 100644 --- a/delivery/RUNBOOKS.md +++ b/delivery/RUNBOOKS.md @@ -4,13 +4,17 @@ These are execution instructions, not completed release evidence. Current status, 15 November 2026: Billy's DNS records resolve correctly and the two Caddy routes are active with trusted certificates and HTTP-to-HTTPS redirects. -502 is expected while the app backends are absent. The one-time HTTPS helper +502 is expected for production while its backend is absent. The one-time HTTPS helper has already run; use the normal validate/reload procedure for later changes. The reviewed preparation is merged, the release job is enabled, and real Jenkins test/secret blocks are recorded. Release build 3 published v1 but -stopped at Ansible's PTY request before any app change. Review/merge the -noninteractive inventory correction and retry from the corrected main SHA. -The expanded Ansible/sudo preflight passed; full deployment remains unverified. +stopped at Ansible's PTY request before any app change. PR 25's SSH correction +is merged; build 4 passed initial staging checks, but its unchanged rerun was +blocked by Docker's three-second health timeout. The ten-second diagnostic +passed eight checks under identical limits. Review the health correction and +separate v2 source/test change as two commits in one PR; use a merge commit +to retain both SHAs. Select the first for v1 and the second for v2. Neither +version is approved for production yet. Monitoring additions and successful releases remain pending. ## Authority and preparation @@ -61,6 +65,13 @@ procedure. The temporary candidate checks already passed without a reload. VERSION=v2, UNIT_PRICE=12, expected total=36. Repeat the complete release and real approval. Preserve v1 images/configuration/records; save v2 records. +The v1 health correction and v2 source/test change may be reviewed together +in one PR while remaining separate commits. Do not squash them: the delivery +job requires both selected source commits to remain ancestors of protected +main. Start with the full v1 health-fix SHA, then use the full v2 SHA only after +v1 production verification. Actual successful records still need review before +rollback. Never substitute a failed attempt's generated record for that evidence. + ## Healthy production rollback Record the detection/decision UTC and reason. Before approval, start the HTTPS diff --git a/delivery/app/Dockerfile b/delivery/app/Dockerfile index 5c1cccd..abb07d9 100644 --- a/delivery/app/Dockerfile +++ b/delivery/app/Dockerfile @@ -9,5 +9,6 @@ RUN pip install --no-cache-dir -r requirements.txt \ COPY app.py . USER 10001:10001 EXPOSE 8000 -HEALTHCHECK --interval=10s --timeout=3s --start-period=10s --retries=3 CMD python -c "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health', timeout=2)" +# Allow Python startup under the 0.25 CPU cap; the HTTP timeout remains 2s. +HEALTHCHECK --interval=10s --timeout=10s --start-period=10s --retries=3 CMD python -c "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health', timeout=2)" CMD ["gunicorn", "--bind", "0.0.0.0:8000", "--workers", "1", "--worker-tmp-dir", "/tmp", "app:app"] diff --git a/delivery/evidence/health-timeout-trial-20261115.json b/delivery/evidence/health-timeout-trial-20261115.json new file mode 100644 index 0000000..f2a6237 --- /dev/null +++ b/delivery/evidence/health-timeout-trial-20261115.json @@ -0,0 +1,133 @@ +{ + "started": "2026-11-16T02:06:37.133690+00:00", + "image": "git.yebilly.me/ssw590-group1/pricing@sha256:63e2e3d49a5119b1064868b0b15b39a1719a60a632ff0ecdc3f676fcdc55de3b", + "existing_staging_health": { + "Status": "healthy", + "FailingStreak": 0, + "Log": [ + { + "Start": "2026-11-16T02:05:39.379167981Z", + "End": "2026-11-16T02:05:42.481797619Z", + "ExitCode": -1, + "Output": "Health check exceeded timeout (3s)" + }, + { + "Start": "2026-11-16T02:05:52.483085766Z", + "End": "2026-11-16T02:05:55.560331159Z", + "ExitCode": 0, + "Output": "" + }, + { + "Start": "2026-11-16T02:06:05.56119162Z", + "End": "2026-11-16T02:06:08.689713122Z", + "ExitCode": -1, + "Output": "Health check exceeded timeout (3s)" + }, + { + "Start": "2026-11-16T02:06:18.690913613Z", + "End": "2026-11-16T02:06:21.782465826Z", + "ExitCode": 0, + "Output": "" + }, + { + "Start": "2026-11-16T02:06:31.784224739Z", + "End": "2026-11-16T02:06:34.780482181Z", + "ExitCode": 0, + "Output": "" + } + ] + }, + "existing_staging_memory_events": "low 0\nhigh 0\nmax 29\noom 0\noom_kill 0\noom_group_kill 0", + "candidate_timeout_seconds": 10, + "samples": [ + { + "Start": "2026-11-16T02:06:42.778495877Z", + "End": "2026-11-16T02:06:48.438554619Z", + "ExitCode": 0, + "Output": "" + }, + { + "Start": "2026-11-16T02:06:58.439880386Z", + "End": "2026-11-16T02:07:01.623272338Z", + "ExitCode": 0, + "Output": "" + }, + { + "Start": "2026-11-16T02:07:11.624979767Z", + "End": "2026-11-16T02:07:14.734453351Z", + "ExitCode": 0, + "Output": "" + }, + { + "Start": "2026-11-16T02:07:24.735921433Z", + "End": "2026-11-16T02:07:27.640717567Z", + "ExitCode": 0, + "Output": "" + }, + { + "Start": "2026-11-16T02:07:37.641388311Z", + "End": "2026-11-16T02:07:40.639898244Z", + "ExitCode": 0, + "Output": "" + }, + { + "Start": "2026-11-16T02:07:50.64115933Z", + "End": "2026-11-16T02:07:53.824315905Z", + "ExitCode": 0, + "Output": "" + }, + { + "Start": "2026-11-16T02:08:03.825342377Z", + "End": "2026-11-16T02:08:07.523556252Z", + "ExitCode": 0, + "Output": "" + }, + { + "Start": "2026-11-16T02:08:17.525594582Z", + "End": "2026-11-16T02:08:20.342264608Z", + "ExitCode": 0, + "Output": "" + } + ], + "final_health": { + "Status": "healthy", + "FailingStreak": 0, + "Log": [ + { + "Start": "2026-11-16T02:07:24.735921433Z", + "End": "2026-11-16T02:07:27.640717567Z", + "ExitCode": 0, + "Output": "" + }, + { + "Start": "2026-11-16T02:07:37.641388311Z", + "End": "2026-11-16T02:07:40.639898244Z", + "ExitCode": 0, + "Output": "" + }, + { + "Start": "2026-11-16T02:07:50.64115933Z", + "End": "2026-11-16T02:07:53.824315905Z", + "ExitCode": 0, + "Output": "" + }, + { + "Start": "2026-11-16T02:08:03.825342377Z", + "End": "2026-11-16T02:08:07.523556252Z", + "ExitCode": 0, + "Output": "" + }, + { + "Start": "2026-11-16T02:08:17.525594582Z", + "End": "2026-11-16T02:08:20.342264608Z", + "ExitCode": 0, + "Output": "" + } + ] + }, + "memory_events": "low 0\nhigh 0\nmax 0\noom 0\noom_kill 0\noom_group_kill 0", + "cpu_stat": "usage_usec 8426586\nuser_usec 6475439\nsystem_usec 1951147\ncore_sched.force_idle_usec 0\nnr_periods 372\nnr_throttled 327\nthrottled_usec 23409965\nnr_bursts 0\nburst_usec 0", + "passed": true, + "completed": "2026-11-16T02:08:24.345181+00:00", + "temporary_container_removed": true +} diff --git a/delivery/evidence/health-timeout-trial-20261115.py b/delivery/evidence/health-timeout-trial-20261115.py new file mode 100644 index 0000000..765efb6 --- /dev/null +++ b/delivery/evidence/health-timeout-trial-20261115.py @@ -0,0 +1,51 @@ +"""Administrator-only diagnostic; never deploys a pricing environment.""" +import json +import subprocess +import time +from datetime import datetime, timezone + +IMAGE = 'git.yebilly.me/ssw590-group1/pricing@sha256:63e2e3d49a5119b1064868b0b15b39a1719a60a632ff0ecdc3f676fcdc55de3b' +NAME = 'ssw590-pricing-health-trial' + +def command(*args): + return subprocess.check_output(args, text=True).strip() + +def health(container): + return json.loads(command('docker', 'inspect', '--format', '{{json .State.Health}}', container)) + +def now(): + return datetime.now(timezone.utc).isoformat() + +existing = subprocess.run(['docker','container','inspect',NAME],capture_output=True) +assert existing.returncode != 0, 'Existing diagnostic container must be reviewed' +report = {'started':now(), 'image':IMAGE, 'existing_staging_health':health('pricing-staging-app-1'), + 'existing_staging_memory_events':command('docker','exec','pricing-staging-app-1','cat','/sys/fs/cgroup/memory.events'), + 'candidate_timeout_seconds':10, 'samples':[]} +container = command('docker','run','-d','--pull','never','--name',NAME, + '--network','none','--read-only','--tmpfs','/tmp:size=16m,mode=1777', + '--cap-drop','ALL','--security-opt','no-new-privileges:true','--user','10001:10001', + '--memory','64m','--memory-swap','96m','--cpus','0.25','--pids-limit','64', + '--health-timeout','10s',IMAGE) +assert len(container) == 64 and all(c in '0123456789abcdef' for c in container) +seen = set() +try: + deadline = time.monotonic() + 170 + while time.monotonic() < deadline: + state = health(container) + for sample in state.get('Log',[]): + if sample['Start'] not in seen: + seen.add(sample['Start']) + report['samples'].append(sample) + if len(report['samples']) >= 8: + break + time.sleep(5) + report['final_health'] = health(container) + report['memory_events'] = command('docker','exec',container,'cat','/sys/fs/cgroup/memory.events') + report['cpu_stat'] = command('docker','exec',container,'cat','/sys/fs/cgroup/cpu.stat') + report['passed'] = len(report['samples']) >= 8 and all(s['ExitCode'] == 0 for s in report['samples']) and report['final_health']['Status'] == 'healthy' +finally: + subprocess.run(['docker','rm','-f',container],check=True,capture_output=True) + report['completed'] = now() + report['temporary_container_removed'] = True + print(json.dumps(report,indent=2)) +assert report['passed'], 'Health trial did not pass' diff --git a/delivery/evidence/release-attempt-4-20261115.md b/delivery/evidence/release-attempt-4-20261115.md new file mode 100644 index 0000000..cee2850 --- /dev/null +++ b/delivery/evidence/release-attempt-4-20261115.md @@ -0,0 +1,74 @@ +# Staging deployment, blocked rerun and health-timeout trial + +Client date: 15 November 2026 (Eastern). Execution timestamps below are +16 November UTC. Billy approved PR 25 at 01:46:19 UTC; Vincent merged it at +01:51:04 as `a19fab34e39420811e73f91fcfbb82ee598bd74a`. + +[Pricing build 4](https://ci.yebilly.me/job/secure-delivery/job/pricing/4/) +selected that full source/configuration commit. It began 02:00:09.554 UTC, +took 198.101 seconds and finished FAILURE. Twelve control tests, three app +tests, source/dependency gates and both image gates passed. The published image was: + +```text +git.yebilly.me/ssw590-group1/pricing@sha256:63e2e3d49a5119b1064868b0b15b39a1719a60a632ff0ecdc3f676fcdc55de3b +``` + +The noninteractive SSH correction worked. Initial staging deployment ran +02:01:48.628–02:02:58.341 UTC (69.713 seconds) and passed all HTTPS health, +version, source-SHA and quantity=3 total=30 assertions. Its recap was +`ok=10 changed=4 unreachable=0 failed=0`. + +The unchanged rerun ran 02:03:01.314–02:03:25.201 UTC (23.887 seconds). +Directory/template checks were unchanged, but Compose stopped because the +existing container was unhealthy: `ok=4 changed=0 unreachable=0 failed=1`. +This is **not** a passed idempotence gate. Jenkins skipped production approval +and deployment. All reports are archived in build 4 and copied to ignored +`build/evidence/assignment8-execution/jenkins-4/`. These records are not +known-good rollback selections in `delivery/releases/`. + +## Diagnosis + +Docker reported `Health check exceeded timeout (3s)`. Its recorded probe +durations were near three seconds, including successful probes. The staging +container later recovered without a restart; an HTTPS health request returned +`{"status":"ok","version":"v1"}`. Gunicorn remained running. The observed +container had no OOM kill, about 48.56 MiB usage against 64 MiB, and memory-limit +events without OOM events. CPU quota is 0.25. This supports a probe deadline +problem under these constraints; it does not establish that every later health +failure has that cause. + +## Bounded diagnostic of the correction + +At 02:06:37–02:08:24 UTC a temporary container ran the **same reviewed image** +with the same UID, read-only filesystem, capability restrictions, 64/96 MiB +RAM/RAM+swap, 0.25 CPU and 64 PID cap. It had no Docker network, published port, +proxy alias, deployment directory or app data volume. Only Docker's overall +health timeout was overridden to ten seconds. The HTTP request timeout remained +two seconds. Existing staging and shared services were unchanged. + +Eight consecutive probes passed, taking 5.660, 3.183, 3.109, 2.905, 2.999, +3.183, 3.698 and 2.817 seconds. The final state was healthy; memory events +showed no limit hit or OOM. CPU throttling was observed. The temporary container +was removed by its exact newly created ID in a finally block. The +[exact diagnostic script](health-timeout-trial-20261115.py) and +[raw JSON](health-timeout-trial-20261115.json) preserve the experiment. + +The Dockerfile correction changes only the overall health-check timeout from +three to ten seconds. It keeps the endpoint, request timeout, retry count, +cadence, startup period and all resource/security limits. It still needs review +and a successful assessed release; this diagnostic did not deploy production. + +## v1 and v2 review sequence + +The branch also prepares the required v2 source/test change: VERSION=v2, +UNIT_PRICE=12, quantity 3 total=36. Three local functional tests and twelve +control tests passed. The Windows functional environment used Flask 3.1.3 and +Werkzeug 3.1.8; deployment remains locked to Werkzeug 3.1.9 and must pass the +real Jenkins gates. Docker Desktop was not running; the remote runners remain +independent of it. + +Keep two commits: first the health fix with v1 source, then the v2 app/test +change. Review both in one PR and merge with a merge commit, preserving their +SHAs. Run v1 with the first reviewed commit and v2 with the second; each still +requires staging/idempotence and real human production approval. Save and +review the actual successful release records before either recovery exercise. diff --git a/manual/latex/abstract.tex b/manual/latex/abstract.tex index f5e75f2..c41883b 100644 --- a/manual/latex/abstract.tex +++ b/manual/latex/abstract.tex @@ -3,10 +3,12 @@ commands, designs, and evidence. Assignment 8 implements secure delivery with a trusted Jenkins agent, locked Flask/Gunicorn service, security gates, Ansible, scoped deployment credentials and recovery runbooks. The prerequisite jobs, DNS/TLS and deliberate Jenkins test/secret blocks passed. The reviewed v1 -image was published with passing scans, but staging stopped at a terminal -request incompatible with the restricted deploy key. A noninteractive Ansible -preflight passed; its inventory correction awaits review/merge. Successful -v1/v2 deployment, approvals, rollback and staging recovery remain pending. +image was published with passing scans. After the noninteractive SSH correction +merged, staging passed health, identity and price checks, but its unchanged +rerun was blocked by a three-second Docker health deadline. Eight constrained +diagnostic probes passed with a ten-second deadline. That correction and the +required v2 source/test change await review as separate commits. Complete +v1/v2 promotions, approvals, rollback and staging recovery remain pending. This draft is not ready for submission. Assignment 7 introduced site reliability engineering: Prometheus, Grafana OSS, Node Exporter, and Blackbox Exporter diff --git a/manual/latex/devopsAIPromptLog.tex b/manual/latex/devopsAIPromptLog.tex index 245b18d..efa5a1b 100644 --- a/manual/latex/devopsAIPromptLog.tex +++ b/manual/latex/devopsAIPromptLog.tex @@ -971,3 +971,39 @@ source correction must be committed, reviewed and merged before a new v1 run. Published-but-undeployed attempt records are not presented as known-good rollback records. Successful promotions, human approvals, both recoveries and monitoring correlation remain unexecuted. + +\section{Pricing Health Deadline and v2 Preparation} +Date: November 15, 2026 Eastern (November 16 UTC); Tool: OpenAI Codex; +Human: Vincent Sun. After Vincent reported the fix merged, Codex checked the +repository requirements/status, verified Billy's PR~\#25 approval and merge +\texttt{a19fab3}, synchronized a clean branch and ran pricing build 4. Tests, +scans, publication and initial staging verification passed. The unchanged +rerun stopped because Docker reported the container unhealthy; no production +approval or deployment occurred. The noninteractive SSH correction worked. + +Codex inspected only the staging container's health/state, logs, resource +counters and public health endpoint. Probes near three seconds sometimes hit +the three-second deadline; the app later recovered without restart and no OOM +kill was recorded. Codex tested a ten-second overall deadline in an isolated +temporary container using the same reviewed image and constraints, with no +network, published port or proxy alias. Eight checks passed in 2.817--5.660 +seconds; CPU throttling occurred, but no diagnostic memory-limit/OOM event. +The diagnostic container was removed by its exact created ID. Its code/raw +JSON and actual build-4 reports were preserved. Existing staging was unchanged. + +Codex changed only the image's overall health deadline, retaining the two-second +HTTP request timeout and other health/security/resource settings. It prepared +the required v2 source/test change locally; three functional and twelve control +tests passed. Docker Desktop was unavailable, so the functional tests used the +existing Windows Flask installation (Werkzeug 3.1.8 rather than the deployment +lock's 3.1.9); this was not represented as a passed locked Jenkins release. +Both remote runners remain independent of the laptop Docker daemon. + +To reduce review cycles, Codex prepared instructions for two commits in one PR: +v1 health correction first, then v2 app/tests. A merge commit must preserve +both reviewed source SHAs for explicit Jenkins selection. No commit, push, +review or production approval was performed by Codex. It updated current +staging inventory, architecture, evidence, runbooks, history and this log, +and rebuilt/visually reviewed the ignored local PDF. Successful releases, +unchanged reruns, human approvals, known-good records and both recovery +exercises remain pending. diff --git a/manual/latex/devopsAssignment.tex b/manual/latex/devopsAssignment.tex index 7e96f56..7beca4a 100644 --- a/manual/latex/devopsAssignment.tex +++ b/manual/latex/devopsAssignment.tex @@ -36,7 +36,7 @@ % Replace these values for each assignment. \newcommand{\AssignmentTitle}{Secure Delivery and Rollback -- Group} \newcommand{\AssignmentNumber}{8} -\newcommand{\DocumentVersion}{6.1} +\newcommand{\DocumentVersion}{6.2} \newcommand{\DocumentStatus}{Draft} \newcommand{\CourseNumber}{SSW 590} \newcommand{\CourseName}{DevOps} diff --git a/manual/latex/devopsDocumentHistory.tex b/manual/latex/devopsDocumentHistory.tex index 5deeefc..be3c10c 100644 --- a/manual/latex/devopsDocumentHistory.tex +++ b/manual/latex/devopsDocumentHistory.tex @@ -12,6 +12,7 @@ link each entry to the changed chapter, table, figure, or controlled artifact. \multicolumn{4}{l}{\small\itshape Document Update History (continued)}\\ \toprule \textbf{Date / Version} & \textbf{Author Initials} & \textbf{Change} & \textbf{Changed At}\\ \midrule \endhead \bottomrule \endlastfoot +November 15, 2026 / 6.2 & VS, CDX & Verified PR~\#25's review/merge and ran pricing build 4: scans/publication and initial staging checks passed; the unchanged rerun blocked at the three-second Docker health deadline. Tested ten seconds under identical limits in an isolated temporary container: eight checks passed, then the container was removed. Prepared the health correction and separate v2 source/test change for one review preserving both commits. Updated staging inventory, diagram and actual evidence; Passwords hints are unchanged. No production approval or completed release is claimed. & \ChapterRef{SecureDelivery}, \ChapterRef{HostsPasswords}, \ChapterRef{AIPromptLog}\\ November 15, 2026 / 6.1 & VS, CDX & Verified Billy's latest review and Vincent's merge of PR~\#24; enabled delivery and recorded real blocked-test/secret runs and the first scanned, published v1 image. Preserved the staging SSH failure before any app change. Set Ansible to avoid PTY allocation and verified its credential-bound connection/sudo path in preflight build 3; the correction awaits review/merge before a release retry. Updated current evidence and retained the incomplete-submission status. Hosts and Passwords tables are unchanged: no service, account, credential or permission was added. & \ChapterRef{SecureDelivery}, \ChapterRef{AIPromptLog}\\ November 15, 2026 / 6.0 DNS and TLS readiness & BY, VS, CDX & Billy added staging/app DNS. Codex validated and gracefully applied the prepared Caddy routes, preserving prior services and storage; verified public DNS, trusted TLS and HTTP redirects. Recorded expected 502 responses while app backends remain undeployed. Updated current DNS/HTTPS inventory and the verified vsun1 Gitea administrator role. No passwords, permissions or releases changed. & \ChapterRef{SecureDelivery}, \ChapterRef{HostsPasswords}, \ChapterRef{AIPromptLog}\\ November 14, 2026 / 6.0 Actions runner migration & VS, CDX & Moved the existing manual runner and compiler image to The-Ocean without re-registration. Corrected an initial low-memory failure, verified reviewed-main run 12 attempt 3, artifact checksum/title and idle restart. Added daemon/job caps, admission checks and fallback guards; updated current host/credential hints and retained October evidence. Both active runners now use the droplet. & \ChapterRef{AutomatedManualBuild}, \ChapterRef{HostsPasswords}, \ChapterRef{AIPromptLog}\\ diff --git a/manual/latex/devopsHostsPasswords.tex b/manual/latex/devopsHostsPasswords.tex index 365a268..90e8a68 100644 --- a/manual/latex/devopsHostsPasswords.tex +++ b/manual/latex/devopsHostsPasswords.tex @@ -26,7 +26,10 @@ The-Ocean to avoid campus SSH restrictions. Vincent then requested migrating the original Actions runner too; both laptop daemons are now stopped, with their protected fallback state retained. On November 15 Billy added the pricing DNS records and Codex enabled Caddy HTTPS; certificates and redirects passed, -while the undeployed application backends return 502. +while the undeployed application backends returned 502. Later that evening +(November 16 UTC), build 4 deployed staging v1 and verified its HTTPS identity +and price; its unchanged rerun stopped on a Docker health timeout. Production +is still absent. No credential or permission changed during these runs. \section{Hosts} \small @@ -50,8 +53,8 @@ Private WebSocket to Jenkins and SSH through Docker host gateway with pinned public-IP host-key alias. Docker socket control grants host administration. Named identity/workspace and BuildKit cache volumes stay outside Git; configuration under \path{/opt/ssw590-delivery-agent/}; restart unless stopped. -Prerequisite build 2 and bounded build/scan/smoke trial passed; campus browser -rehearsal and assessed delivery remain pending.\\ +Prerequisite builds 2/3 and preparation trials passed; build 4 reached staging +but its health rerun blocked. Campus rehearsal and completed promotion remain pending.\\ Environment & Course production (team use)\\ Provider & DigitalOcean, NYC1; Ubuntu 24.04 LTS; 1 vCPU; resized from 512\,MB to 1\,GiB in October, then to 2\,GiB on November 14, 2026 @@ -73,6 +76,11 @@ each; Blackbox runs as \texttt{nobody}) on network \texttt{monitoring\_monitorin \texttt{gitea\_probe} (172.30.90.0/28); volumes \texttt{monitoring\_prometheus\_data} (7\,d / 500\,MB) and \texttt{monitoring\_grafana\_data}\\ +Staging application & Compose project \texttt{pricing-staging}, v1 on private +port 8000 with alias \texttt{pricing-staging}; 64/96 MiB RAM/RAM+swap, 0.25 CPU, +64 PIDs, UID 10001, read-only root and no published port. Configuration and +release metadata in \path{/opt/startup/pricing-staging}; no app data volume. +Initial HTTPS assertions passed; unchanged-rerun health gate blocked.\\ Exposed ports & 443/TCP and 80/TCP to all; 22/TCP to approved team addresses only (Cloud Firewall \texttt{gitea-fw}); \texttt{ci.yebilly.me} and \texttt{metrics.yebilly.me} answer only Stevens 155.246.0.0/16 and team @@ -81,8 +89,8 @@ otherwise; monitoring ports 9090, 9100, 9115 not reachable\\ Owner & BY (server administration); VS (review)\\ HTTPS URLs & \url{https://git.yebilly.me}, \url{https://ci.yebilly.me/login}, \url{https://metrics.yebilly.me/login}; \url{https://staging.yebilly.me} and -\url{https://app.yebilly.me} have trusted certificates but return 502 until -application deployment\\ +\url{https://app.yebilly.me} have trusted certificates. Staging v1 passed +initial HTTPS checks; production still returns 502 before deployment\\ Backup status & No scheduled backup job; manual Gitea SQLite and Jenkins-home backups saved in a protected root directory before the November 14 delivery bootstrap. Container-replacement persistence verified for diff --git a/manual/latex/devopsSecureDelivery.tex b/manual/latex/devopsSecureDelivery.tex index be7e265..7a7cb07 100644 --- a/manual/latex/devopsSecureDelivery.tex +++ b/manual/latex/devopsSecureDelivery.tex @@ -8,9 +8,11 @@ Startup Pricing Service and the existing Gitea, Jenkins, Caddy and monitoring foundation. The Canvas page lists November 13, 2026 at 11:59pm; Vincent reports an extension. Preparation began November 14; DNS/TLS and the first reviewed Jenkins gate runs were verified November 15. PR~\#24 is merged, the delivery -job is enabled, and the first reviewed v1 image is published. Its staging -deployment stopped at SSH before creating an application container. -\textbf{It is not ready for submission.} Successful v1/v2 staging and production, +job is enabled, and reviewed v1 images are published. After the SSH correction +merged, staging passed its initial HTTPS, identity and price checks. Its +unchanged rerun stopped at Docker's health deadline. A bounded timeout +diagnostic passed; the correction and v2 source/test change await review. +\textbf{It is not ready for submission.} Complete v1/v2 promotion, production rollback, staging failure/recovery and monitoring correlation remain pending. Published image metadata is not evidence of a successful deployment. @@ -18,8 +20,8 @@ The instructor's v1 source and tests were copied from \path{Examples/dosSecureDelivery/v1/} to \path{delivery/app/}. Flask validates requests and calculates the price; Gunicorn serves it with one worker on private port 8000. There is no payment processing, customer data or application volume. -For three units v1 returns USD 30; the separate v2 source/test change must return -USD 36. The image embeds its actual source commit during the build. Health, +For three units v1 returns USD 30; the prepared separate v2 source/test change +returns USD 36 in local tests. It has not been released. The image embeds its actual source commit during the build. Health, identity and pricing are verified separately. \section{Deployment and Trust Boundaries} @@ -41,7 +43,7 @@ identity and pricing are verified separately. \node[box] (host) at (9.6,0) {The-Ocean host\\\texttt{deploy} SSH account\\Python, Docker/Compose}; \node[box] (monitor) at (0,-2.8) {Prometheus, Grafana,\\Blackbox and Node Exporter\\Private metrics ports}; \node[box] (proxy) at (4.8,-2.8) {Caddy TLS proxy\\Public 80/443\\Private \texttt{gitea\_web} network}; -\node[planned] (stage) at (9.6,-2.8) {Planned staging app\\\texttt{staging.yebilly.me}\\{\scriptsize\texttt{pricing-staging:8000}}}; +\node[box] (stage) at (9.6,-2.8) {Staging v1 (gate blocked)\\\texttt{staging.yebilly.me}\\{\scriptsize\texttt{pricing-staging:8000}}}; \node[planned] (prod) at (9.6,-5.2) {Production app (planned)\\\texttt{app.yebilly.me}\\{\scriptsize\texttt{pricing-production:8000}}}; \node[data,text width=12.9cm,align=left] (storage) at (4.8,-8.45) { \textbf{Persistent state and read-only mounts on The-Ocean}\\[3pt] @@ -54,7 +56,7 @@ Prometheus & \texttt{monitoring\_prometheus\_data} $\rightarrow$ \texttt{/promet Grafana & \texttt{monitoring\_grafana\_data} $\rightarrow$ \texttt{/var/lib/grafana}\\ Proxy bind mount & \texttt{/root/gitea/Caddyfile} $\rightarrow$ \texttt{/etc/caddy/Caddyfile} (ro)\\ Monitoring mounts & \texttt{/root/monitoring/}: configuration (ro); host \texttt{/} $\rightarrow$ \texttt{/host} (ro)\\ -Planned app config & \texttt{/opt/startup/pricing-\{staging,production\}}; no app data volume +Staging app config & \texttt{/opt/startup/pricing-staging}; production pending; no app data volume \end{tabular}}; \node[draw,dashed,rounded corners,fit=(agent)(local)(builder)(git)(host)(monitor)(prod)(storage), inner sep=0.55cm,label={[font=\small]below:Existing droplet: 1 vCPU, 2 GiB RAM, 25 GB plan disk}] {}; @@ -64,14 +66,14 @@ Planned app config & \texttt{/opt/startup/pricing-\{staging,production\}}; no ap \draw[flow] (agent.south west)--node[note,above,sloped]{Git / OCI}(git.north east); \draw[flow] (agent.south east)--node[note,above,sloped]{SSH}(host.north west); \draw[flow] (git)--node[note,above]{hook}(jenkins); -\draw[flow,dashed] (host)--node[note,right]{apply}(stage); +\draw[flow] (host)--node[note,right]{apply}(stage); \draw[flow,dashed] (host.east)--++(0.35,0)|-(prod.east); \draw[flow,dashed] (monitor)--node[note,above]{probe}(proxy); -\draw[flow,dashed] (proxy)--node[note,above]{HTTP}(stage); +\draw[flow] (proxy)--node[note,above]{HTTP}(stage); \draw[flow,dashed] (proxy.south east)--node[note,above,sloped]{HTTP}(prod.north west); \end{tikzpicture}} -\caption{Preparation architecture. Solid boxes are installed; dashed blue boxes -and connections are planned application work. Gray boxes identify durable state +\caption{Current architecture. Solid boxes are installed, including staging; +production and its monitoring connection remain planned. Gray boxes identify durable state or read-only mounts. Pricing is stateless; each environment retains only its Compose and release files on the host. The agent and builder now share the droplet; deployment SSH uses Docker's host gateway with the original pinned @@ -217,9 +219,9 @@ timing and makes a nonzero changed count on the unchanged rerun a blocking error \small \begin{tabularx}{\linewidth}{L{2.1cm}Y Y} \toprule Traceability field & v1 & v2\\\midrule -Source / config commits & Reviewed merge \texttt{09731ac}; SSH fix awaits review & Separate change pending\\ -Registry digest / Jenkins release build & Published in build 3; full digest below & Not published / not run\\ -Staging + unchanged rerun & SSH blocked before deployment; rerun not reached & Pending\\ +Source / config commits & Reviewed \texttt{a19fab3}; health fix awaits review & Separate source/test change prepared\\ +Registry digest / Jenkins release build & Published in builds 3 and 4; identifiers below & Not published / not run\\ +Staging + unchanged rerun & Build 4: initial deploy passed, rerun blocked & Pending\\ Production approval / result & No approval or promotion yet & No approval or promotion yet\\ Recovery evidence & Healthy rollback pending & Staging failure/recovery pending\\ \bottomrule @@ -249,6 +251,7 @@ HIGH/CRITICAL findings. The image was published and pulled back by exact digest. \end{itemize} Build 3 recorded these exact source/configuration and image identifiers: +\par\noindent\begin{minipage}{\linewidth} \begin{Verbatim}[fontsize=\footnotesize,frame=single] Source/configuration: 09731acb0370566471dd4e401e59bafe55e927dc @@ -256,6 +259,7 @@ Image repository: git.yebilly.me/ssw590-group1/pricing Registry digest: sha256:cccd47f112f839f3443c88c4d16fd7a1ed0fec2100a26464156526d53ccc2695 \end{Verbatim} +\end{minipage}\par\smallskip Staging failed at 22:26:39 UTC during Gathering Facts: \texttt{PTY allocation request failed on channel 0}. The recap was \texttt{ok=0 changed=0 unreachable=1 failed=0}, Ansible exit code 4. No app @@ -272,8 +276,8 @@ exercises Ansible's actual connection/become path as well as plain SSH. passed in 17 seconds at 22:50 UTC: Ansible ran \texttt{id -u} as root and returned 0 without a terminal. Its \texttt{CHANGED} label describes the command module's default reporting, not a pricing deployment or idempotence test. -This validates connection prerequisites only; the corrected configuration must -be reviewed and merged before the assessed release is retried. +This validated connection prerequisites only. Billy subsequently approved +PR~\#25 and Vincent merged it before pricing build 4, recorded below. \begin{figure}[htbp] \centering @@ -295,12 +299,68 @@ Jenkins archives the complete reports. The ignored local evidence directory is: \path{build/evidence/assignment8-execution/} \end{quote} +\section{Staging Rerun and Health Deadline} +On November 16 at 01:46:19 UTC (November 15 Eastern), Billy approved PR~\#25; +Vincent merged it at 01:51:04 as \texttt{a19fab3}. +\href{https://ci.yebilly.me/job/secure-delivery/job/pricing/4/}{Pricing build 4} +ran from that reviewed source/configuration and took 198.101 seconds. Tests, +source/dependency gates and both image gates passed. Its exact identifiers are: +\par\noindent\begin{minipage}{\linewidth} +\begin{Verbatim}[fontsize=\footnotesize,frame=single] +Source/configuration: +a19fab34e39420811e73f91fcfbb82ee598bd74a +Image repository: git.yebilly.me/ssw590-group1/pricing +Registry digest: +sha256:63e2e3d49a5119b1064868b0b15b39a1719a60a632ff0ecdc3f676fcdc55de3b +\end{Verbatim} +\end{minipage}\par\smallskip + +Initial staging deployment ran 02:01:48.628--02:02:58.341 UTC (69.713 seconds). +All health, version, source-SHA and quantity=3 total=30 checks passed: +\texttt{ok=10 changed=4 unreachable=0 failed=0}. The unchanged rerun ran +02:03:01.314--02:03:25.201 UTC (23.887 seconds) and stopped at Compose health: +\texttt{ok=4 changed=0 unreachable=0 failed=1}. Zero changes with a failed task +is not a passed idempotence gate. Production approval/deployment were skipped. + +Docker reported \texttt{Health check exceeded timeout (3s)}. Completed probes +were near the same deadline. Gunicorn remained running, no OOM kill was +recorded, and staging later became healthy without a restart. A sampled +48.56 MiB usage was below the 64 MiB cap; memory-limit events occurred without +OOM events. This supports a deadline problem under the 0.25 CPU constraint, +not a general explanation for every possible health failure. + +At 02:06:37--02:08:24 UTC, an isolated diagnostic ran the same reviewed v1 image +with identical UID, resource and filesystem restrictions, no Docker network, +no published port or proxy alias, and a ten-second overall health timeout. +The HTTP request retained its two-second timeout. Eight consecutive checks +passed in 2.817--5.660 seconds; CPU throttling was observed, with no memory-limit +or OOM events in the diagnostic container. Its exact newly created container ID +was removed in a finally block. Existing staging and shared services were +unchanged. The script and raw JSON are versioned beside the dated build-4 +evidence under \path{delivery/evidence/}. This is a prerequisite experiment, +not a production release or a substitute for the unchanged-rerun gate. + +The Dockerfile correction changes only the overall health timeout from three +to ten seconds. Endpoint, HTTP timeout, cadence, retries, startup period and +all resource/security limits remain unchanged. The branch also prepares v2 +(version v2, unit price 12, total 36); three local functional tests and twelve +control tests passed. The local Windows functional environment used Flask 3.1.3 +and Werkzeug 3.1.8; assessed Jenkins deployment remains locked to Werkzeug +3.1.9. Neither the candidate image nor v2 has been released. + +Keep the v1 health fix and v2 application/test change in separate reviewed +commits, which may share one PR. Merge with a merge commit, preserving both +SHAs. Select the first commit for v1 and the second for v2. Each must pass the +full release path and its own real human approval; save and review actual +successful release records before recovery. No commit SHA is invented here. + \section{Release, Recovery and Monitoring Runbooks} The versioned \path{delivery/RUNBOOKS.md} gives the executable sequence. Vincent handles commits/pushes; Billy reviews repository changes. The v1 preparation is now on main, DNS/TLS are ready, and the two deliberate gate -demonstrations have run. Review/merge the noninteractive SSH correction, then -retry \texttt{release} using the corrected full main commit. +demonstrations have run. The SSH correction is merged. Review/merge the v1 +health-timeout fix and separate v2 source/test commit, then retry +\texttt{release} with the reviewed v1 commit first. Verify staging and changed=0 before a real human approval promotes v1. Save and review its generated staging/production records. Apply the supplied v2 source and test changes in another reviewed commit and repeat, expecting 36. @@ -342,15 +402,16 @@ with no AAAA answer. Codex validated the prepared Caddy additions, saved the previous configuration and gracefully reloaded it while preserving the earlier routes, allowlists, volumes and bind-mounted inode. Normal curl and Python TLS checks confirmed trusted hostname-matching certificates, TLS 1.3 and HTTP 308 -redirects. HTTPS currently returns 502 because the pricing backends have not -been deployed; this is not evidence of application health. Certificate and DNS +redirects. Initially both backends returned 502. Build 4 subsequently deployed +staging v1, whose first HTTPS checks passed before the health rerun blocked; +production remains undeployed. Certificate and DNS details are recorded in \path{delivery/evidence/https-20261115.md}. Existing Gitea/Jenkins/Grafana checks still passed. The public application port is HTTPS 443, with internal port 8000 remaining private. Distinct DNS hostnames satisfy -the planned routing boundary; successful application deployment remains outstanding. +the planned routing boundary; completed application promotion remains outstanding. PR~\#24 now includes the runner migration and HTTPS changes and is merged. -Issue creation, review/merge of the SSH correction, successful v1/v2 releases, production approvals, +Issue creation, review/merge of the health fix and v2, complete v1/v2 releases, production approvals, both recovery demonstrations, final traceability and monitoring evidence, and the final submission review remain outstanding. Local checks are not a replacement for those executions. diff --git a/manual/latex/images/assignment8-staging-gate-4-20261115.jpg b/manual/latex/images/assignment8-staging-gate-4-20261115.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3df4363bc39eb943a9484b2e6fcd56e54afae4fa GIT bin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2 at twelve dollars per unit --- delivery/app/app.py | 4 ++-- delivery/app/test_app.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/delivery/app/app.py b/delivery/app/app.py index 1ea1194..a6dd3f0 100644 --- a/delivery/app/app.py +++ b/delivery/app/app.py @@ -2,8 +2,8 @@ import os from flask import Flask, jsonify, request app = Flask(__name__) -VERSION = "v1" -UNIT_PRICE = 10 +VERSION = "v2" +UNIT_PRICE = 12 COMMIT = os.environ.get("APP_COMMIT", "development") diff --git a/delivery/app/test_app.py b/delivery/app/test_app.py index 40b4207..669294b 100644 --- a/delivery/app/test_app.py +++ b/delivery/app/test_app.py @@ -7,17 +7,17 @@ class PricingTests(unittest.TestCase): self.client = app.test_client() def test_price(self): - self.assertEqual(total_price(3), 30) + self.assertEqual(total_price(3), 36) response = self.client.get("/price?quantity=3") self.assertEqual(response.status_code, 200) - self.assertEqual(response.json["total"], 30) + self.assertEqual(response.json["total"], 36) def test_invalid_quantity(self): for value in ["0", "-1", "1001", "abc", "1.5"]: self.assertEqual(self.client.get("/price?quantity=" + value).status_code, 400) def test_release_identity(self): - self.assertEqual(self.client.get("/").json["version"], "v1") + self.assertEqual(self.client.get("/").json["version"], "v2") self.assertEqual(self.client.get("/health").json["status"], "ok")