Compare commits
22
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3cb1201b32 | ||
|
|
d37297b889 | ||
|
|
d9a616cdfb | ||
|
|
8e06815bc9 | ||
|
|
27b82c169e | ||
|
|
85f81d8e0a | ||
|
|
6064cce05e | ||
|
|
fbda9516fe | ||
|
|
72bf10dcec | ||
|
|
29e580c461 | ||
|
|
1e23001e73 | ||
|
|
6c5342219a | ||
|
|
231d11528a | ||
|
|
6bddbfba5a | ||
|
|
34f26e6948 | ||
|
|
a19fab34e3 | ||
|
|
5b703edc79 | ||
|
|
09731acb03 | ||
|
|
ed0a862657 | ||
|
|
bf28adc7fb | ||
|
|
8beefde2a4 | ||
|
|
4d1996c0ab |
@@ -0,0 +1,16 @@
|
||||
# Docker/Jenkins shell scripts require Unix line endings on Windows checkouts.
|
||||
delivery/**/*.sh text eol=lf
|
||||
delivery/agent/ssh_config.droplet text eol=lf
|
||||
gitea/droplet-runner/*.sh text eol=lf
|
||||
|
||||
# Preserve spaces emitted by tools in captured evidence.
|
||||
delivery/evidence/*.txt -whitespace
|
||||
|
||||
# Keep captured observer CSV bytes and public runtime hashes reproducible.
|
||||
delivery/evidence/recovery-*.csv -text
|
||||
delivery/evidence/recovery-*.json text eol=lf
|
||||
|
||||
# Keep the frozen upstream blobs and their provenance byte-identical on checkout.
|
||||
demo/tikzrefinery/** -text -whitespace
|
||||
demo/snapshot.json -text
|
||||
demo/ci/*.sh text eol=lf
|
||||
+12
-2
@@ -14,6 +14,8 @@
|
||||
|
||||
# Intermediate documents and automatic conversions
|
||||
*.dvi
|
||||
# This exact upstream asset is part of the frozen, hash-verified demo input.
|
||||
!/demo/tikzrefinery/documents/assets/loop-example/loop-boxes.dvi
|
||||
*.xdv
|
||||
*-converted-to.*
|
||||
|
||||
@@ -91,5 +93,13 @@ Thumbs.db
|
||||
*.key
|
||||
secrets.*
|
||||
|
||||
# Source images, the reference template, and the reviewed root submission PDF
|
||||
# are intentionally not ignored.
|
||||
# Source images and the reference template remain versioned.
|
||||
# Local manual builds replace one deliverable; do not commit generated PDFs.
|
||||
/manual/2026F-SSW-590-DevOps-Group-1.pdf
|
||||
/manual/latex/devopsAssignment.pdf
|
||||
|
||||
# Python test environments and bytecode
|
||||
.venv/
|
||||
.ansible-venv/
|
||||
__pycache__/
|
||||
*.pyc
|
||||
|
||||
Vendored
+14
-2
@@ -6,10 +6,22 @@ pipeline {
|
||||
steps { checkout scm }
|
||||
}
|
||||
stage('Syntax check') {
|
||||
steps { sh 'python3 -m py_compile pricing.py' }
|
||||
steps {
|
||||
sh 'python3 -m py_compile pricing.py'
|
||||
sh '''python3 -B - <<'PY'
|
||||
import ast
|
||||
from pathlib import Path
|
||||
for source in Path('delivery').rglob('*.py'):
|
||||
ast.parse(source.read_text(), filename=str(source))
|
||||
print('Delivery Python syntax: passed')
|
||||
PY'''
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
steps { sh 'python3 -m unittest discover -s tests -v' }
|
||||
steps {
|
||||
sh 'python3 -m unittest discover -s tests -v'
|
||||
sh 'python3 -B -m unittest discover -s delivery/ci -p "test_controls.py" -v'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
# Manual compiler and Gitea workflow
|
||||
|
||||
## Current runner placement
|
||||
|
||||
On 14 November 2026 Vincent requested moving the active Actions runner onto
|
||||
The-Ocean. Its historical name/label remain `ssw590-vince-local` / `latex-local`;
|
||||
the same tested compiler image below was transferred with checksum verification.
|
||||
The laptop daemon is stopped. Remote jobs are capped at 512 MiB RAM / 768 MiB
|
||||
RAM+swap and 0.5 CPU. Run them sequentially with Jenkins delivery work.
|
||||
See [remote runner operations](../../gitea/droplet-runner/README.md).
|
||||
The Docker Desktop instructions below remain useful for image reproduction
|
||||
and an explicitly selected fallback, not for starting a second live runner.
|
||||
|
||||
## Local runner preparation
|
||||
|
||||
Build the job image on the runner's Docker Desktop engine from repository root:
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
**/__pycache__
|
||||
**/.venv
|
||||
**/*.pyc
|
||||
agent/.env
|
||||
@@ -0,0 +1,178 @@
|
||||
# Billy / Claude handoff: Assignment 8 DNS
|
||||
|
||||
**Completed update, 15 November 2026:** Billy added both A records. Google and
|
||||
Cloudflare resolve them to `147.182.178.136`; Caddy now serves trusted HTTPS and
|
||||
redirects HTTP for both names. The app backends are still absent (HTTP 502).
|
||||
Do not repeat DNS setup. The original handoff below is retained as the dated
|
||||
November 14 preparation record; reviewed application releases remain pending.
|
||||
|
||||
Prepared for Billy Ye at Vincent Sun's request on **14 November 2026**.
|
||||
This file is context and a proposed procedure. Billy must authorize changes
|
||||
in his own session; it does not grant Claude account access or override its
|
||||
active instructions. Billy handles login and MFA privately.
|
||||
|
||||
## Quick start for Claude
|
||||
|
||||
Help Billy add the two A records below to the existing `yebilly.me` DNS zone,
|
||||
verify public resolution, and return a short evidence summary to Vincent.
|
||||
Recheck existing records first. Preserve earlier services and stop after DNS
|
||||
verification. SSH, Docker, Jenkins and application deployment are outside this
|
||||
DNS task. Do not rerun the deployment bootstrap; it is already complete.
|
||||
|
||||
```yaml
|
||||
task: assignment_8_dns_setup
|
||||
scope: two_A_records_and_verification
|
||||
domain: yebilly.me
|
||||
expected_provider: Namecheap
|
||||
droplet_name: The-Ocean
|
||||
droplet_ipv4: 147.182.178.136
|
||||
repository: https://git.yebilly.me/ssw590-group1/vpn-dns-gateway
|
||||
prepared_branch: codex/assignment8-secure-delivery
|
||||
prepared_commit: bf28adc7fb03fe25c5cc939599e34427a61ad2fc
|
||||
records_to_add:
|
||||
- type: A
|
||||
host: staging
|
||||
fqdn: staging.yebilly.me
|
||||
value: 147.182.178.136
|
||||
ttl: Automatic
|
||||
- type: A
|
||||
host: app
|
||||
fqdn: app.yebilly.me
|
||||
value: 147.182.178.136
|
||||
ttl: Automatic
|
||||
success_condition: both_names_resolve_to_the_expected_IPv4_and_existing_records_are_preserved
|
||||
next_owner: Vincent_and_Codex_for_Caddy_TLS_and_reviewed_release_execution
|
||||
```
|
||||
|
||||
## Why these records are needed
|
||||
|
||||
Assignment 8 follows **Chapter 6, Secure Delivery and Rollback**, in instructor
|
||||
manual `dosManual-V1.43.pdf`. It requires distinct staging and production HTTPS
|
||||
hostnames. Both applications will run on the same existing droplet, in separate
|
||||
Docker Compose projects. Caddy selects the private application by hostname:
|
||||
|
||||
| Public hostname | Intended destination behind Caddy |
|
||||
|---|---|
|
||||
| `staging.yebilly.me` | `pricing-staging:8000` |
|
||||
| `app.yebilly.me` | `pricing-production:8000` |
|
||||
|
||||
An A record maps a name to the droplet's IPv4 address. It does not contain a
|
||||
port, URL scheme, or application path. Caddy will handle HTTPS certificates.
|
||||
This task uses the existing domain and droplet; no purchase is part of it.
|
||||
|
||||
Preparation already completed: locked v1 pricing service, Ansible, release and
|
||||
security gates, a trusted Jenkins agent now on The-Ocean (migrated from Vincent's
|
||||
laptop to avoid campus SSH restrictions), dedicated deployment
|
||||
access and scoped credentials. The prerequisite Jenkins job passed. The
|
||||
prepared branch was pushed and its ordinary Jenkins branch check passed.
|
||||
Peer review/merge, assessed releases and recovery exercises remain outstanding.
|
||||
The release job is disabled pending reviewed source. The new Caddy routes and
|
||||
production monitoring additions are prepared in Git but have not been applied.
|
||||
|
||||
## Observed baseline: recheck before making changes
|
||||
|
||||
Public Cloudflare DNS-over-HTTPS queries were checked on
|
||||
**14 November 2026, about 20:35 America/New_York**
|
||||
(15 November, about 01:35 UTC). These are observations, not a guarantee that
|
||||
the zone will remain unchanged when Billy opens it.
|
||||
|
||||
| Query | Observed answer |
|
||||
|---|---|
|
||||
| `yebilly.me` NS | `dns1.registrar-servers.com`, `dns2.registrar-servers.com` |
|
||||
| `staging.yebilly.me` A | NXDOMAIN: name did not exist |
|
||||
| `app.yebilly.me` A | NXDOMAIN: name did not exist |
|
||||
| `git.yebilly.me` A | `147.182.178.136` |
|
||||
| `ci.yebilly.me` A | `147.182.178.136` |
|
||||
| `metrics.yebilly.me` A | `147.182.178.136` |
|
||||
|
||||
The existing services are Gitea (`git`), Jenkins (`ci`) and Grafana (`metrics`).
|
||||
Other zone records may also exist, including the retired Color Buttons name,
|
||||
mail and verification records. Preserve them. The droplet has been resized to
|
||||
2 GiB RAM with its 25 GB plan disk retained; no address change was observed.
|
||||
|
||||
## Namecheap procedure
|
||||
|
||||
1. Billy signs in to the account managing `yebilly.me`.
|
||||
2. Open **Domain List > Manage** beside that domain, then **Advanced DNS**.
|
||||
3. In **Host Records**, add the two rows from the YAML/table. Enter only
|
||||
`staging` or `app` in the Host field. Use **A Record**, the exact IPv4 value,
|
||||
and **Automatic** TTL. Save the two additions.
|
||||
4. Inspect the saved rows and retain a cropped screenshot showing those rows,
|
||||
with account, billing, login and secret information excluded.
|
||||
|
||||
If a requested record already has the correct value, reuse it. If an existing
|
||||
`staging` or `app` record conflicts (including a CNAME/redirect), explain the
|
||||
conflict to Billy before changing it; do not delete unrelated records. This
|
||||
request is for IPv4 A records, not additional AAAA, wildcard or redirect records.
|
||||
|
||||
If Host Records is unavailable or nameservers differ from the baseline, identify
|
||||
the active DNS provider and edit the existing zone there. Keep nameserver
|
||||
delegation unchanged. Namecheap documents this distinction in its host-record
|
||||
guide linked below.
|
||||
|
||||
## Verify and capture evidence
|
||||
|
||||
From PowerShell, record the actual UTC time and check public resolution:
|
||||
|
||||
```powershell
|
||||
[DateTime]::UtcNow.ToString('o')
|
||||
Resolve-DnsName staging.yebilly.me -Type A -Server 1.1.1.1 -DnsOnly
|
||||
Resolve-DnsName app.yebilly.me -Type A -Server 1.1.1.1 -DnsOnly
|
||||
Resolve-DnsName staging.yebilly.me -Type A -Server 8.8.8.8 -DnsOnly
|
||||
Resolve-DnsName app.yebilly.me -Type A -Server 8.8.8.8 -DnsOnly
|
||||
```
|
||||
|
||||
Expected A answer for both names: **147.182.178.136**. A resolver may briefly
|
||||
retain the earlier negative answer; allow caches to expire and repeat. A lookup
|
||||
that times out on a restricted network is inconclusive. Do not report success
|
||||
from the saved dashboard rows alone.
|
||||
|
||||
Recheck the earlier names as well:
|
||||
|
||||
```powershell
|
||||
Resolve-DnsName git.yebilly.me -Type A -Server 1.1.1.1 -DnsOnly
|
||||
Resolve-DnsName ci.yebilly.me -Type A -Server 1.1.1.1 -DnsOnly
|
||||
Resolve-DnsName metrics.yebilly.me -Type A -Server 1.1.1.1 -DnsOnly
|
||||
```
|
||||
|
||||
If direct public-resolver queries are blocked, use an available DNS lookup
|
||||
method and record which resolver/method was actually used. Authoritative checks
|
||||
can help distinguish an unsaved record from resolver caching; document the
|
||||
actual results and any disagreement rather than assuming propagation completed.
|
||||
|
||||
**DNS success is not application success.** HTTPS may still be unavailable,
|
||||
show a certificate problem, or return an upstream error before Vincent applies
|
||||
Caddy routes and deploys the applications. Do not weaken TLS checks or alter
|
||||
firewall rules to make a DNS-only check appear successful.
|
||||
|
||||
## Return to Vincent
|
||||
|
||||
Report:
|
||||
|
||||
- The two saved record types, hostnames, values and actual TTL selection.
|
||||
- Verification UTC time, resolver(s), actual answers and any pending cache result.
|
||||
- Confirmation that existing records were preserved, with the earlier-name checks.
|
||||
- A cropped screenshot or text evidence containing no credentials/account details.
|
||||
- Any blocker, conflicting record, or unverified assumption.
|
||||
|
||||
Then Vincent/Codex can finish Caddy HTTPS setup and the reviewed release tests.
|
||||
Billy's separate code-review task remains: review/approve the preparation PR
|
||||
if satisfied, and later review v2 and the staging failure configuration. DNS
|
||||
completion does not approve code or authorize a production promotion.
|
||||
|
||||
For repository work, read `AGENTS.md`,
|
||||
`manual/latex/devopsAIAgentRequirements.tex` and
|
||||
`manual/latex/devopsAIAgentGuide.tex` first. Useful context is in
|
||||
`delivery/README.md`, `delivery/RUNBOOKS.md`, `delivery/SECURITY.md`,
|
||||
`deploy/Caddyfile` and `delivery/evidence/agent-preflight-1.txt`.
|
||||
|
||||
## Official references and provenance
|
||||
|
||||
- [Namecheap: add an A record](https://www.namecheap.com/support/knowledgebase/article.aspx/319/2237/how-can-i-set-up-an-a-address-record-for-my-domain/).
|
||||
- [Namecheap: host records, provider selection and TTL](https://www.namecheap.com/support/knowledgebase/article.aspx/434/2237/how-do-i-set-up-host-records-for-a-domain/).
|
||||
|
||||
Codex prepared this handoff at Vincent's explicit request, using the repository's
|
||||
prepared configuration, current public DNS observations and those official
|
||||
Namecheap guides. No DNS account was opened or modified during its preparation.
|
||||
The original instructor manual defines the assignment; the names/IP above are
|
||||
the team's selected deployment values.
|
||||
@@ -0,0 +1,80 @@
|
||||
# Assignment 8 evidence
|
||||
|
||||
## Completed Jenkins execution, 15 November Eastern / 16 November UTC
|
||||
|
||||
PRs 24–26 are merged. The actual [test/secret gate demonstrations](evidence/gates-20261115.md)
|
||||
blocked as intended. [Release attempt 3](evidence/release-attempt-3-20261115.md)
|
||||
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.
|
||||
After review, [builds 5 and 6](evidence/releases-20261115.md) completed v1/v2
|
||||
promotions, zero-change reruns and actual human approvals. Production monitoring
|
||||
is live; one HTTP 502 sample during v2 replacement is preserved. The exact
|
||||
successful records and staging-only fault/revert history were reviewed in PR 27.
|
||||
[Completed recovery evidence](evidence/recovery-20261115.md) records build 7's
|
||||
pre-deployment runner error, human-approved rollback 8, blocked staging fault 9,
|
||||
and original-configuration recovery 10 with changed=0. Final production is
|
||||
healthy v1/total 30 and staging v2/total 36. Original CSVs, hashes, runtime
|
||||
checks and monitoring correlation preserve observed interruptions and limits.
|
||||
[Issue 28](https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/issues/28) was
|
||||
created during finalization with Vincent's authorization; final group review
|
||||
and submission remain.
|
||||
|
||||
## Preparation evidence — historical baseline
|
||||
|
||||
All timestamps below are UTC on 14 November 2026. No assessed application
|
||||
release, image publication, production approval or rollback has occurred yet.
|
||||
|
||||
| Check | Actual result |
|
||||
|---|---|
|
||||
| 19:50 user-run original target baseline | 961 MiB RAM, 126 MiB available, 752 MiB swap used; deploy account absent |
|
||||
| 20:15 post-resize SSH check | 1,967 MiB RAM, 1,008 MiB available, 101 MiB swap used; disk unchanged; seven containers up; zero failed systemd units |
|
||||
| Post-maintenance external HTTPS | Gitea, Jenkins and Grafana login routes each returned HTTP 200 from laptop |
|
||||
| 20:04 local runtime smoke | Gunicorn, UID 10001, read-only root/capability drops, 64 MiB cap; health v1, explicit `uncommitted-preflight` identity, total 30, invalid input HTTP 400 |
|
||||
| 19:55 synthetic secret gate | Blocked; actual scanner detected the generated fixture; exit status 1 |
|
||||
| 20:27 controlled wrong-price test | Three original tests passed; extra expected=-1 assertion failed; exit status 1 |
|
||||
| 20:40 restored local app baseline | Three tests passed; exit status 0 |
|
||||
| 20:32 full runtime image gate | Passed, zero HIGH/CRITICAL findings; full JSON and tool/database metadata retained |
|
||||
| 21:00–21:01 final source/dependency gate | Passed; source scanner and pip-audit exit status 0 |
|
||||
| Linux regression/syntax checks | Existing two tests and 12 delivery-control tests passed; Ansible syntax passed |
|
||||
| Jenkins/Compose validation | Dedicated delivery pipeline validated using installed declarative parser; final agent Compose configuration validated |
|
||||
| Proxy/monitoring candidates | Installed Caddy validation and Prometheus promtool syntax checks passed; candidates were not reloaded or applied |
|
||||
| 20:40:49 Jenkins bootstrap | Exclusive node and folder-scoped credentials created; pricing release job disabled; earlier jobs retained |
|
||||
| 20:42:28 agent connection | WebSocket opened; agent connected; no agent host port published |
|
||||
| 20:46 agent prerequisite build 1 | SUCCESS; real Jenkins credential binding, pinned SSH host key, deploy login, sudo, Python/Docker/Compose prerequisites |
|
||||
|
||||
The final preflight image was local only, tagged
|
||||
`ssw590-pricing:preflight-v1-runtime`. It is not a reviewed source release or
|
||||
published registry RepoDigest. Earlier Debian and installer-containing Alpine
|
||||
image scans were blocked and retained; no security exception was added.
|
||||
|
||||
Raw local reports: ignored `build/evidence/assignment8-local/`. Publicly
|
||||
versioned prerequisite inventory: `evidence/agent-preflight-1.txt`.
|
||||
Jenkins evidence: [build 1](https://ci.yebilly.me/job/secure-delivery/job/agent-preflight/1/)
|
||||
and its [tool inventory artifact](https://ci.yebilly.me/job/secure-delivery/job/agent-preflight/1/artifact/build/preflight/tools-and-target.txt).
|
||||
Jenkins requires existing approved-network access and login as applicable.
|
||||
|
||||
Remaining assessed evidence must come from actual reviewed v1/v2 pipeline
|
||||
runs, not these local checks. See `ISSUE.md` and `RUNBOOKS.md`.
|
||||
|
||||
## Later agent migration
|
||||
|
||||
The agent subsequently moved to The-Ocean at Vincent's direction to remove
|
||||
campus SSH dependence. [Migration record](evidence/agent-migration-20261114.md)
|
||||
distinguishes the actual remote prerequisite build 2 and bounded capacity trial
|
||||
from the initial laptop checks above. UTC dates cross into November 15 while
|
||||
the client's Eastern date is still November 14. At that point the PDF runner
|
||||
was unchanged. It subsequently moved too; see the
|
||||
[manual runner migration record](../gitea/droplet-runner/EVIDENCE.md).
|
||||
At that migration snapshot, assessed releases and recovery were still pending;
|
||||
the completed results are linked above.
|
||||
|
||||
## DNS and TLS readiness
|
||||
|
||||
On 15 November Billy's two DNS records were verified and Caddy's prepared
|
||||
routes applied. Both names have trusted TLS and HTTP 308 redirects; HTTPS
|
||||
returned 502 while pricing backends were absent. See the
|
||||
[dated HTTPS evidence](evidence/https-20261115.md). Application deployment,
|
||||
production monitoring and recovery were pending at that readiness snapshot;
|
||||
their subsequent completed results are linked above.
|
||||
@@ -0,0 +1,34 @@
|
||||
# Implement Assignment 8 secure delivery and rollback
|
||||
|
||||
Use instructor manual 1.43 Chapter 6 and its Startup Pricing Service on the
|
||||
existing Gitea/Jenkins/Caddy/monitoring foundation.
|
||||
|
||||
- [x] Prepare exact dependencies, base digest, trusted agent and Ansible.
|
||||
- [x] Verify deploy SSH, host-key pinning, sudo and target prerequisites.
|
||||
- [x] Prepare gates, pipeline, approval and recovery automation.
|
||||
- [x] Review/merge v1 source; configure staging/app DNS and TLS routes.
|
||||
- [x] Show blocked unit-test and synthetic-secret Jenkins runs, then repair.
|
||||
- [x] Publish v1; deploy staging; prove changed=0; approve production.
|
||||
- [x] Preserve v1 records; review/merge v2; promote the same v2 digest.
|
||||
- [x] Roll production back to matching v1 image/config; measure interruption.
|
||||
- [x] Review staging-only bad command; show failed wait and recovery.
|
||||
- [x] Add production monitoring and correlate actual samples/timestamps.
|
||||
- [ ] Review/merge final traceability, runbooks, history, AI log and PDF; submit.
|
||||
|
||||
Actual execution, 15 November Eastern / 16 November UTC:
|
||||
|
||||
- Reviewed implementation and corrections: PRs [24](https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/pulls/24), [25](https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/pulls/25), [26](https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/pulls/26), and [27](https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/pulls/27).
|
||||
- [Build 5](https://ci.yebilly.me/job/secure-delivery/job/pricing/5/) and [build 6](https://ci.yebilly.me/job/secure-delivery/job/pricing/6/): v1/v2 promotions, exact digests, passing gates, changed=0, and real Vincent approvals.
|
||||
- [Build 8](https://ci.yebilly.me/job/secure-delivery/job/pricing/8/): healthy production rollback passed with original v1 image/configuration, source 34f26e6 and total 30. Vincent approved at 04:23:36 UTC. Nine failed HTTPS samples were observed; zero downtime is not claimed.
|
||||
- [Build 9](https://ci.yebilly.me/job/secure-delivery/job/pricing/9/): the reviewed staging-only port mismatch failed Compose wait and blocked production.
|
||||
- [Build 10](https://ci.yebilly.me/job/secure-delivery/job/pricing/10/): restored the original v2 staging configuration/digest, source 6bddbfb, total 36, then changed=0 on rerun.
|
||||
- Final verified state at 04:32 UTC: production v1, staging v2; both healthy. Six monitoring targets were up. Prometheus's 30-second samples missed the brief rollback interruption that the one-second observer captured. Staging had 169 failed samples during the deliberate fault/recovery.
|
||||
|
||||
This tracking issue was created during finalization, after the implementation
|
||||
PRs and operational exercises; it is not a claimed pre-implementation issue.
|
||||
The final evidence PR should close it after peer review. A first rollback
|
||||
attempt (build 7) stopped before deployment with a runner process-limit error;
|
||||
the idle runner was restarted without changing its limits before build 8.
|
||||
|
||||
Local preparation is not assessed release evidence. Preserve branch protection
|
||||
and earlier services/data; keep credentials out of Git and reports.
|
||||
Vendored
+146
@@ -0,0 +1,146 @@
|
||||
// A separate trusted delivery job loads this file from protected main.
|
||||
// The existing multibranch PR job keeps its ordinary test-only Jenkinsfile.
|
||||
pipeline {
|
||||
agent { label 'delivery-trusted' }
|
||||
options {
|
||||
skipDefaultCheckout()
|
||||
disableConcurrentBuilds()
|
||||
timeout(time: 60, unit: 'MINUTES')
|
||||
buildDiscarder(logRotator(numToKeepStr: '20'))
|
||||
}
|
||||
parameters {
|
||||
choice(name: 'MODE', choices: ['release', 'blocked-test', 'blocked-secret', 'rollback-production', 'staging-failure', 'recover-staging'], description: 'Reviewed release or recovery operation')
|
||||
string(name: 'SOURCE_COMMIT', defaultValue: '', description: 'Optional full reviewed source commit already on main')
|
||||
string(name: 'RELEASE_RECORD', defaultValue: '', description: 'Reviewed delivery/releases/*.json for rollback or recovery')
|
||||
string(name: 'STAGING_FAILURE_CONFIG', defaultValue: '', description: 'Only for staging-failure. Full reviewed commit of the staging-only bad command template')
|
||||
}
|
||||
environment {
|
||||
PYTHONDONTWRITEBYTECODE = '1'
|
||||
TRIVY_CACHE_DIR = '/home/jenkins/agent/.cache/trivy'
|
||||
}
|
||||
stages {
|
||||
stage('Reviewed checkout') {
|
||||
steps {
|
||||
deleteDir()
|
||||
checkout scm
|
||||
script {
|
||||
if (params.SOURCE_COMMIT) {
|
||||
if (!(params.SOURCE_COMMIT ==~ /[0-9a-f]{40}/)) {
|
||||
error('SOURCE_COMMIT must be a full Git commit')
|
||||
}
|
||||
withEnv(["RELEASE_SOURCE=${params.SOURCE_COMMIT}"]) {
|
||||
sh 'git merge-base --is-ancestor "$RELEASE_SOURCE" origin/main && git checkout --detach "$RELEASE_SOURCE"'
|
||||
}
|
||||
}
|
||||
}
|
||||
sh 'git merge-base --is-ancestor HEAD origin/main'
|
||||
sh 'mkdir -p build/delivery/reports && git rev-parse HEAD > build/delivery/reports/source-commit.txt'
|
||||
}
|
||||
}
|
||||
stage('Unit tests') {
|
||||
steps {
|
||||
sh 'python3 -B -m unittest discover -s delivery/ci -p "test_controls.py" -v'
|
||||
script {
|
||||
withEnv(["TEST_FAILURE=${params.MODE == 'blocked-test'}"]) {
|
||||
sh 'sh delivery/ci/test-app.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Source security gates') {
|
||||
steps {
|
||||
script {
|
||||
def fixture = params.MODE == 'blocked-secret' ? ' --fixture' : ''
|
||||
sh "python3 delivery/ci/security.py source${fixture}"
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Build, scan, publish') {
|
||||
when { expression { params.MODE == 'release' } }
|
||||
steps {
|
||||
withCredentials([usernamePassword(credentialsId: 'delivery-registry-write', usernameVariable: 'REGISTRY_USER', passwordVariable: 'REGISTRY_TOKEN')]) {
|
||||
sh 'sh delivery/ci/publish.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Select release record') {
|
||||
steps {
|
||||
script {
|
||||
if (params.MODE == 'release') {
|
||||
env.SELECTED_RECORD = sh(script: "find build/delivery/releases -name '*-staging.json'", returnStdout: true).trim()
|
||||
} else {
|
||||
if (!(params.RELEASE_RECORD ==~ /delivery\/releases\/[a-zA-Z0-9._-]+\.json/)) {
|
||||
error('Choose a committed delivery/releases/*.json record')
|
||||
}
|
||||
env.SELECTED_RECORD = params.RELEASE_RECORD
|
||||
if (params.MODE == 'staging-failure') {
|
||||
if (!(params.STAGING_FAILURE_CONFIG ==~ /[0-9a-f]{40}/)) {
|
||||
error('Choose the full reviewed staging failure configuration commit')
|
||||
}
|
||||
withEnv(["FAILURE_CONFIG=${params.STAGING_FAILURE_CONFIG}"]) {
|
||||
sh '''mkdir -p build/delivery/releases
|
||||
python3 - <<'PY'
|
||||
import json, os
|
||||
from pathlib import Path
|
||||
record = json.loads(Path(os.environ['SELECTED_RECORD']).read_text())
|
||||
assert record['target_env'] == 'staging', 'Failure exercise requires staging'
|
||||
record['configuration_commit'] = os.environ['FAILURE_CONFIG']
|
||||
Path('build/delivery/releases/failure-staging.json').write_text(json.dumps(record, indent=2))
|
||||
PY'''
|
||||
}
|
||||
env.SELECTED_RECORD = 'build/delivery/releases/failure-staging.json'
|
||||
}
|
||||
}
|
||||
}
|
||||
sh 'python3 delivery/ci/release.py verify "$SELECTED_RECORD"'
|
||||
}
|
||||
}
|
||||
stage('Staging deploy and unchanged rerun') {
|
||||
when { expression { params.MODE == 'release' || params.MODE == 'recover-staging' || params.MODE == 'staging-failure' } }
|
||||
steps {
|
||||
withCredentials([
|
||||
sshUserPrivateKey(credentialsId: 'delivery-deploy-ssh', keyFileVariable: 'DEPLOY_KEY'),
|
||||
file(credentialsId: 'delivery-known-hosts', variable: 'DEPLOY_KNOWN_HOSTS')
|
||||
]) {
|
||||
sh 'sh delivery/ci/deploy.sh "$SELECTED_RECORD" staging'
|
||||
sh 'sh delivery/ci/deploy.sh "$SELECTED_RECORD" staging rerun'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Production approval') {
|
||||
when { expression { params.MODE == 'release' || params.MODE == 'rollback-production' } }
|
||||
steps {
|
||||
archiveArtifacts(artifacts: 'build/delivery/reports/**,build/delivery/releases/**', allowEmptyArchive: false)
|
||||
script {
|
||||
if (params.MODE == 'release') {
|
||||
env.SELECTED_RECORD = env.SELECTED_RECORD.replace('-staging.json', '-production.json')
|
||||
}
|
||||
sh 'python3 delivery/ci/release.py verify "$SELECTED_RECORD" --environment production'
|
||||
def record = readFile(env.SELECTED_RECORD)
|
||||
def approver
|
||||
timeout(time: 20, unit: 'MINUTES') {
|
||||
approver = input(message: "Approve production? Source, digest and target below. Review archived scan reports and staging console results.\n${record}", ok: 'Approve production', submitter: 'billy,vsun1', submitterParameter: 'APPROVER')
|
||||
}
|
||||
def approvedAt = sh(script: 'date -u +%Y-%m-%dT%H:%M:%SZ', returnStdout: true).trim()
|
||||
writeFile(file: 'build/delivery/reports/production-approval.txt', text: "Approver=${approver}\nDecision=approved\nUTC=${approvedAt}\n${record}\n")
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Production deploy and verification') {
|
||||
when { expression { params.MODE == 'release' || params.MODE == 'rollback-production' } }
|
||||
steps {
|
||||
withCredentials([
|
||||
sshUserPrivateKey(credentialsId: 'delivery-deploy-ssh', keyFileVariable: 'DEPLOY_KEY'),
|
||||
file(credentialsId: 'delivery-known-hosts', variable: 'DEPLOY_KNOWN_HOSTS')
|
||||
]) {
|
||||
sh 'sh delivery/ci/deploy.sh "$SELECTED_RECORD" production'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
archiveArtifacts(artifacts: 'build/delivery/reports/**,build/delivery/releases/**', excludes: '**/test-venv/**', allowEmptyArchive: true)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
# Record completed rollback and staging recovery (closes #28)
|
||||
|
||||
Record build 8's human-approved production rollback to the original v1
|
||||
image/configuration, build 9's staging bind-mismatch block, and build 10's
|
||||
restored v2 staging deployment with changed=0 on rerun. Final production is
|
||||
healthy v1/total 30 and staging v2/total 36. No app, pipeline, deployment-template,
|
||||
credential or resource/security-limit change is included.
|
||||
|
||||
Preserve actual decisions, approval, timings, report hashes, runtime checks and
|
||||
original HTTPS CSVs. Nine production requests failed during rollback although
|
||||
the 30-second probe missed it; staging recorded 169 failures during the
|
||||
deliberate fault/recovery. Retain build 7's pre-deployment process-limit error
|
||||
and unchanged-limit runner restart. Document sampling and single-Droplet limits.
|
||||
|
||||
Update the manual, diagram, inventory, source/access links, runbooks, history
|
||||
and AI log. Issue 28 was created during finalization with Vincent's approval;
|
||||
it is not represented as a pre-implementation issue. Preserve CSV bytes and
|
||||
JSON line endings for reproducible evidence hashes.
|
||||
|
||||
Validation: actual Jenkins 8 SUCCESS, 9 expected FAILURE before production,
|
||||
10 SUCCESS; 12 control/3 app tests and source/dependency gates in each;
|
||||
matching historical selectors; final HTTPS health/source/price/400 checks and
|
||||
six monitoring targets up. Full manual build and affected-page visual review.
|
||||
Existing coursework, earlier services and grading evidence retained.
|
||||
|
||||
Closes #28.
|
||||
@@ -0,0 +1,138 @@
|
||||
# Secure Delivery and Rollback — Assignment 8
|
||||
|
||||
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.
|
||||
|
||||
`app/` contains the Flask/Gunicorn service, nine exact direct/transitive
|
||||
dependencies, and a pinned Python 3.13 Alpine base digest for Linux/amd64.
|
||||
The inventory selects The-Ocean's dedicated deploy account. The example
|
||||
release record remains explicitly an example; real registry digests are
|
||||
generated by Jenkins from reviewed source.
|
||||
|
||||
Current execution status, 15 November Eastern / 16 November UTC: PRs 24–27
|
||||
are merged, preserving the separate v1/v2 commits. Real Jenkins test/secret
|
||||
demonstrations blocked as intended. Builds 5 and 6 then completed both releases,
|
||||
with zero-change staging reruns, passing gates and actual human production
|
||||
approvals. PR 27 reviewed the successful records and fault/revert history.
|
||||
Build 8 passed production rollback to v1; build 9 blocked the staging fault;
|
||||
build 10 restored staging v2 with changed=0. Production is v1/total 30 and
|
||||
staging v2/total 36, both healthy; production monitoring is live.
|
||||
See [releases](evidence/releases-20261115.md) and
|
||||
[completed recoveries](evidence/recovery-20261115.md), including interruption,
|
||||
sampling limits and build 7's pre-deployment runner error. Final review/merge
|
||||
and submission remain.
|
||||
|
||||
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 reviewed v2 source/test change returns USD 36. PR 26 preserved the separate
|
||||
v1 and v2 SHAs, selected explicitly by builds 5 and 6 and baked into each image.
|
||||
|
||||
Deployment work uses a dedicated trusted Jenkins agent, immutable images
|
||||
in the existing Gitea registry, and separate Ansible-managed staging and
|
||||
production Compose projects. The agent requires Docker build capability,
|
||||
Python, Ansible, the Docker collection, and the selected security scanners.
|
||||
Registry publication, staging deployment, approval, production promotion,
|
||||
and both recovery exercises require dated execution evidence.
|
||||
|
||||
## Attribution and preparation record
|
||||
|
||||
The 23 November [Java security update](../security/java/README.md) replaces the
|
||||
trusted agent's Java runtime with pinned Temurin 21.0.13.1+2. Its current image
|
||||
is `ssw590-delivery-agent:20261114-java21.0.13.1-2`; historical execution evidence
|
||||
below retains the original versions actually used.
|
||||
|
||||
On 14 November 2026 Vincent asked Codex to review the assignment and begin
|
||||
preparation while he started Docker Desktop. Codex checked the repository's
|
||||
AI requirements and usage guide, read Chapter 6 and the example sources,
|
||||
verified remote main `8beefde`, and created branch
|
||||
`codex/assignment8-secure-delivery`. It copied the v1 and Ansible starters
|
||||
without changing their contents and checked Python syntax. This preparation
|
||||
record will be consolidated into the manual's AI assistance log when the
|
||||
assignment chapter is authored. The instructor retains authorship of the
|
||||
starter application and playbook.
|
||||
|
||||
## Verified preparation, 14 November 2026
|
||||
|
||||
The existing two pricing tests, three new Flask tests and twelve release/control
|
||||
tests passed. The deliberate wrong-price assertion failed as intended; the
|
||||
synthetic secret fixture blocked its gate. Pip-audit passed for the nine locked
|
||||
application dependencies. The full Trivy runtime-image gate reported no HIGH
|
||||
or CRITICAL findings. Earlier failed scans remain in ignored local evidence;
|
||||
no scanner exception was introduced. A non-root Gunicorn container passed
|
||||
health, identity, pricing and invalid-input checks with a 64 MiB memory cap.
|
||||
|
||||
The droplet now has 2 GiB RAM and its original 25 GB plan disk. Vincent resized
|
||||
it and installed package updates. The existing seven service containers and
|
||||
their HTTPS routes were verified after maintenance.
|
||||
|
||||
The trusted node `ssw590-vince-delivery` now runs on The-Ocean, with one
|
||||
exclusive executor and label `delivery-trusted`. Its name is retained from
|
||||
the initial laptop installation. The laptop copy is stopped. The remote
|
||||
agent uses private HTTP/WebSocket to `jenkins:8080`; its SSH configuration
|
||||
routes the existing deployment inventory address through Docker's host gateway,
|
||||
retaining `HostKeyAlias 147.182.178.136` and the pinned Jenkins known-hosts file.
|
||||
No campus SSH connection is needed to run a delivery job from the browser.
|
||||
[Agent prerequisite build 1](https://ci.yebilly.me/job/secure-delivery/job/agent-preflight/1/)
|
||||
passed using the dedicated deploy key, pinned host key and root sudo. Its
|
||||
non-secret tool inventory is versioned in `evidence/agent-preflight-1.txt`.
|
||||
The `secure-delivery/pricing` job loads `delivery/Jenkinsfile` from protected
|
||||
main and was enabled after PR 24 merged. Release credentials are scoped
|
||||
to that Jenkins folder; the PR job does not bind them or the Docker socket.
|
||||
|
||||
The original inventory above is historical. [Remote prerequisite build 2](https://ci.yebilly.me/job/secure-delivery/job/agent-preflight/2/)
|
||||
passed after migration; `evidence/agent-preflight-2.txt` records the tools and
|
||||
target. A separate bounded capacity trial passed control/app tests, source and
|
||||
dependency checks, a limited image build, image scan and temporary HTTP smoke.
|
||||
It used a preparation snapshot, not a reviewed release, and published nothing.
|
||||
|
||||
The deployment account has root-only passwordless sudo: effective host
|
||||
administration privileges, restricted to reviewed delivery code. Distinct
|
||||
package-write and package-read tokens under `vsun1` are stored in Jenkins and
|
||||
root's target Docker configuration respectively. No values are in Git.
|
||||
Remote agent identity and workspace live in named Docker volumes outside Git.
|
||||
The agent has administrative access to the same Docker host as Jenkins and
|
||||
Gitea; a container is not a security boundary against malicious trusted jobs.
|
||||
Use only reviewed delivery code. `agent/compose.droplet.yaml` caps the agent
|
||||
at 512 MiB RAM / 768 MiB RAM+swap and 0.5 CPU; a dedicated pinned BuildKit
|
||||
builder has 256 MiB / 384 MiB and 0.5 CPU. Builds select that builder explicitly.
|
||||
Agent and builder restart unless stopped. `bootstrap/start-droplet-agent.sh`
|
||||
is the root-operated installation/reconnect helper in
|
||||
`/opt/ssw590-delivery-agent`; it detects the Docker socket group (987 on this host).
|
||||
No public agent, Docker API or app port is added.
|
||||
|
||||
`bootstrap/start-agent.ps1` refuses to start the laptop copy by default.
|
||||
For an intentional fallback, first stop the remote agent and builder, then use
|
||||
`-AllowLaptopFallback`. Never connect both copies of the same node. Preserve
|
||||
their volumes. The Gitea Actions manual-build runner subsequently moved to
|
||||
The-Ocean too; see `../gitea/droplet-runner/README.md`. Neither active runner
|
||||
now depends on Docker Desktop. Run manual builds and delivery releases sequentially.
|
||||
See `RUNBOOKS.md`.
|
||||
|
||||
Ansible syntax, agent Compose configuration, and the installed Jenkins
|
||||
controller's declarative parser checks passed. Those were preparation checks;
|
||||
the subsequent assessed releases and both recovery cases are linked above.
|
||||
|
||||
## Remaining checkpoints
|
||||
|
||||
PRs 24–27 preserve the implementation, corrections, separate v1/v2 source
|
||||
commits and recovery configuration history. The technical demonstrations are
|
||||
complete. [Issue 28](https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/issues/28)
|
||||
was created with Vincent's authorization during finalization, after execution;
|
||||
the final evidence PR should close it following Billy's review. Vincent handles
|
||||
commits, pushes and PDF submission. No further intentional failure is needed.
|
||||
Main and live staging have the good template. Keep branch protection and
|
||||
earlier services. Both names retain trusted HTTPS and redirects; the initial
|
||||
TLS snapshot remains `evidence/https-20261115.md`.
|
||||
Use `RUNBOOKS.md` for later authorized operations.
|
||||
Keep Jenkins and the remote delivery node available. Production approval requires an authorized
|
||||
human; an agent must not approve unattended.
|
||||
|
||||
`SECURITY.md` defines the gate policy. `bootstrap/` makes administrator setup
|
||||
reviewable; its one-time script refuses to overwrite existing deployment state.
|
||||
Raw local reports remain under ignored `build/evidence/assignment8-local/`.
|
||||
The manual records actual outcomes, access instructions, limitations and AI
|
||||
assistance. Raw assessed reports are in ignored
|
||||
`build/evidence/assignment8-execution/` and Jenkins artifacts; non-secret
|
||||
summaries, hashes and original observer CSVs are versioned under `evidence/`.
|
||||
@@ -0,0 +1,186 @@
|
||||
# Release, recovery and cleanup
|
||||
|
||||
These are repeatable instructions. Completed results are recorded in
|
||||
`evidence/releases-20261115.md` and `evidence/recovery-20261115.md`.
|
||||
|
||||
Current status, 15 November 2026 Eastern / 16 November UTC: Billy's DNS records resolve correctly and the
|
||||
two Caddy routes are active with trusted certificates and HTTP-to-HTTPS redirects.
|
||||
The one-time HTTPS helper has already run; use the normal validate/reload
|
||||
procedure for later changes. PRs 24–27 are merged. Actual builds 5/6 passed
|
||||
v1/v2 promotions, zero-change reruns and real vsun1 approvals. Both environments
|
||||
passed both promotions. Build 8 restored production v1 with human approval;
|
||||
build 9 blocked the reviewed staging fault; build 10 restored staging v2 and
|
||||
passed changed=0. Production is v1/total 30, staging v2/total 36. The production
|
||||
probe/panel is live. Actual interruption and sampling limits are preserved.
|
||||
The successful records and fault/revert are reviewed main ancestors; no repeat
|
||||
exercise is required for the completed evidence.
|
||||
|
||||
## Authority and preparation
|
||||
|
||||
Billy reviews code; Vincent commits/pushes. Jenkins users `billy` or `vsun1`
|
||||
may approve production interactively; administrators retain override authority.
|
||||
The Droplet delivery agent must be online and source/configuration commits reviewed and
|
||||
merged into protected main. Do not run untrusted PR/fork code with its Docker
|
||||
socket or the delivery folder's credentials. Exclusive scheduling alone does
|
||||
not prevent someone authorized to alter jobs from selecting the node.
|
||||
|
||||
Confirm A records `staging` and `app` point to The-Ocean. Validate and reload
|
||||
the prepared additions to `/root/gitea/Caddyfile`, preserving the earlier file,
|
||||
allowlist environment and volumes. Publish no application host port. The
|
||||
applications join the existing `gitea_web` network with different aliases.
|
||||
Enable `secure-delivery/pricing` after reviewed source reaches main.
|
||||
|
||||
The installed-binary validation commands are:
|
||||
|
||||
```text
|
||||
docker exec gitea-caddy-1 caddy validate --config /etc/caddy/Caddyfile --adapter caddyfile
|
||||
docker exec gitea-caddy-1 caddy reload --config /etc/caddy/Caddyfile --adapter caddyfile
|
||||
docker exec monitoring-prometheus-1 promtool check config /etc/prometheus/prometheus.yml
|
||||
```
|
||||
|
||||
Preserve bind-mounted file inodes when copying new contents. Monitoring was
|
||||
applied only after healthy v1 production, using the guarded one-time
|
||||
`bootstrap/enable-production-monitoring.py`. It compares prior probes/panels,
|
||||
validates with promtool, backs up and reloads Prometheus via SIGHUP. Do not
|
||||
rerun its one-time application over the already changed state. The protected
|
||||
backup is `/root/ssw590-delivery-bootstrap/monitoring-20261116/`. Actual targets,
|
||||
reload metric and the provisioned Grafana panel were verified separately.
|
||||
|
||||
## v1 and v2
|
||||
|
||||
1. Run MODE `blocked-test`: the wrong-price fixture must fail and prevent
|
||||
publication/deployment. Run MODE `blocked-secret`: the generated synthetic
|
||||
fixture must block the scanner gate. Fixtures exist only during those runs.
|
||||
2. Run MODE `release` with the full reviewed v1 SOURCE_COMMIT if needed. Tests,
|
||||
dependency/secret checks and image gates must pass. The commit-tagged image
|
||||
is built once, scanned, pushed/pulled, and selected by exact registry digest.
|
||||
Existing commit tags are reused, not overwritten. Full reports are archived.
|
||||
3. Staging checks health, version, source SHA and total 30. Its unchanged rerun
|
||||
must report changed=0; the pipeline blocks otherwise.
|
||||
4. Review the presented release metadata, archived scans and staging results.
|
||||
An authorized human approves within 20 minutes. Rejection/timeout stops
|
||||
production. The actual approval identity/UTC is archived. Production uses
|
||||
the same digest and verifies all three endpoints; it does not rebuild.
|
||||
5. Save both generated v1 JSON records from Jenkins into `delivery/releases/`
|
||||
and review/commit them before recovery. Never invent a digest or commit SHA.
|
||||
6. Apply the supplied v2 application/test changes in a separate reviewed commit:
|
||||
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. The actual successful records were reviewed in PR 27;
|
||||
review any replacement records before later 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
|
||||
observer on an available client or the remote agent, for example:
|
||||
|
||||
```text
|
||||
python delivery/ci/observe.py --url https://app.yebilly.me --seconds 600 --output build/evidence/assignment8/rollback-health.csv
|
||||
```
|
||||
|
||||
Run MODE `rollback-production` with committed
|
||||
`delivery/releases/v1-production.json`. SOURCE_COMMIT can stay on main: the
|
||||
record selects the exact historical image and configuration. Review/approve
|
||||
the input. Ansible restores playbook/template using `git archive` of the
|
||||
configuration commit, then verifies v1, its original SHA and total 30.
|
||||
Archive decision, approval, deployment start/completion/elapsed time and the
|
||||
observer CSV. Report failed samples and gaps; no failed samples does not prove
|
||||
zero interruption between requests. Correlate the 30-second monitoring samples.
|
||||
|
||||
## Failed staging deployment and recovery
|
||||
|
||||
After v2 succeeds, add this staging-only override to the app service in
|
||||
`ansible/templates/compose.yaml.j2` in a separate reviewed configuration commit:
|
||||
|
||||
```jinja2
|
||||
{% if target_env == 'staging' %}
|
||||
command: ["gunicorn", "--bind", "0.0.0.0:8001", "--workers", "1", "--worker-tmp-dir", "/tmp", "app:app"]
|
||||
{% endif %}
|
||||
```
|
||||
|
||||
The image's healthcheck still probes 8000. Select MODE `staging-failure`, the
|
||||
committed good v2 staging record, and full STAGING_FAILURE_CONFIG SHA. Compose
|
||||
wait must fail within its 90-second bound and stop Jenkins before production.
|
||||
Do not use MODE `release` to build an image for this configuration exercise.
|
||||
Restore/review the correct template, then use MODE `recover-staging` with the
|
||||
original good v2 staging record and matching configuration commit. Verify
|
||||
health, exact source SHA, total 36 and changed=0. Retain failure, restoration,
|
||||
recovery reports and observer timing. Do not alter earlier infrastructure to
|
||||
manufacture a failure.
|
||||
|
||||
## Monitoring and limits
|
||||
|
||||
After production is healthy, add `https://app.yebilly.me/health` to the existing
|
||||
Prometheus `https` job and display it in Grafana. Keep Gitea/Jenkins probes and
|
||||
host metrics. Validate configuration before reload. Record actual samples and
|
||||
alerts around releases/recovery; a short failure can fall between scrapes or
|
||||
below the alert duration. HTTP status cannot validate the expected price.
|
||||
|
||||
Each stateless app is capped at 64 MiB RAM, 96 MiB RAM+swap, 0.25 CPU and 64
|
||||
PIDs, with a read-only root filesystem, 16 MiB /tmp tmpfs, UID 10001 and all
|
||||
capabilities dropped. The remote agent is capped at 512 MiB RAM / 768 MiB
|
||||
RAM+swap and 0.5 CPU; its pinned BuildKit builder at 256 MiB / 384 MiB and
|
||||
0.5 CPU. The preparation trial passed but used swap and is not a full release
|
||||
load test. Keep one exclusive executor and serialized delivery. One droplet
|
||||
and a shared proxy network provide neither high availability nor strong lateral
|
||||
isolation. A real database migration or external payment can invalidate image
|
||||
rollback; use compatible expand/migrate/contract changes and tested backups.
|
||||
|
||||
## After grading, only when instructed
|
||||
|
||||
Archive required evidence first. Remove only the two pricing Compose projects,
|
||||
their routes, monitoring additions and test DNS names. Revoke the two named
|
||||
Assignment 8 package tokens, then remove the deploy key/sudo grant and its
|
||||
Jenkins folder/node when no longer needed. Preserve required job history before
|
||||
removing configuration. Stop the remote agent and dedicated builder; remove only their identity/workspace
|
||||
volumes after approval. Preserve Gitea, Jenkins home, proxy storage, monitoring
|
||||
volumes and earlier assignments. Never system-prune or use `down -v` here.
|
||||
|
||||
## Bootstrap recovery
|
||||
|
||||
The protected `/root/ssw590-delivery-bootstrap/` directory contains metadata,
|
||||
a consistent Jenkins-home archive and a Gitea SQLite backup taken before token
|
||||
creation. Metadata records token names, not values. Transient private inputs
|
||||
are erased after Jenkins encrypts them. If setup fails partway, inspect its
|
||||
marker/logs and existing state rather than rerunning or rotating credentials.
|
||||
Do not restore entire volumes/databases over later work without a reviewed plan.
|
||||
|
||||
## Agent placement and campus demonstration
|
||||
|
||||
The node name `ssw590-vince-delivery` is historical; it now runs on The-Ocean.
|
||||
Deployment SSH goes to `host.docker.internal` through the mounted SSH config,
|
||||
with the original public-IP host-key alias and strict verification. The Jenkins
|
||||
connection is private HTTP/WebSocket on `gitea_web`; public browser access
|
||||
continues through Caddy HTTPS and its existing allowlist. No campus SSH is
|
||||
needed for this delivery path. Rehearse campus browser access before presenting.
|
||||
The Gitea Actions PDF runner now also runs on The-Ocean. Its existing label
|
||||
`latex-local` is historical. Both laptop copies are stopped; run manual builds
|
||||
and delivery releases sequentially. See `../gitea/droplet-runner/README.md`.
|
||||
|
||||
To stop the remote agent from an authorized administrator shell:
|
||||
|
||||
```sh
|
||||
cd /opt/ssw590-delivery-agent
|
||||
docker compose -f compose.droplet.yaml stop
|
||||
docker stop buildx_buildkit_ssw590-delivery-limited0
|
||||
```
|
||||
|
||||
To reconnect, run `bash /opt/ssw590-delivery-agent/start-droplet-agent.sh`.
|
||||
It reuses protected identity and workspace volumes; do not rerun the original
|
||||
host/account bootstrap. Agent recreation reuses the node identity. The verified
|
||||
tool image was transferred from Docker Desktop and checked by archive SHA-256
|
||||
and image ID before loading. It can be rebuilt from `agent/Dockerfile` on a
|
||||
build-capable machine and transferred again if required.
|
||||
|
||||
For a laptop fallback, stop the remote copy first, load the administrator key
|
||||
into Windows ssh-agent, then run
|
||||
`./delivery/bootstrap/start-agent.ps1 -AllowLaptopFallback`.
|
||||
Stop the laptop copy before starting the remote one again.
|
||||
No new cloud instance or plan change was made; existing Droplet billing applies.
|
||||
VS maintains this agent and BY retains server administration ownership.
|
||||
@@ -0,0 +1,39 @@
|
||||
# Release security policy
|
||||
|
||||
Policy selected before the assessed scans on 14 November 2026.
|
||||
|
||||
- Block every detected repository secret. Use Trivy's built-in rules together
|
||||
with the course synthetic-fixture rule in `trivy-secret.yaml`.
|
||||
- Block HIGH and CRITICAL image vulnerabilities, including issues without a
|
||||
published fix. Retain the full report, including lower severities, for review.
|
||||
- Block every Python dependency advisory reported by pip-audit. Review direct
|
||||
and transitive dependencies and update the exact lock before rebuilding.
|
||||
- A scanner execution error, unavailable advisory service, unavailable
|
||||
vulnerability database, malformed report, or missing report fails the gate.
|
||||
- No exceptions are currently approved. An exception requires instructor
|
||||
acceptance, an advisory identifier, owner, rationale, compensating controls,
|
||||
and expiry recorded with the release. Findings must never be silently ignored.
|
||||
- For a suspected false positive, retain the report and record the evidence
|
||||
used for triage. Keep the release blocked until the finding is resolved or
|
||||
an instructor-approved exception is recorded.
|
||||
|
||||
Each release archives UTC scan times, tool versions, Trivy database metadata,
|
||||
commands, exit codes, reports, source commit, and the selected image digest.
|
||||
Rebuild and rescan after changing a dependency or base image.
|
||||
|
||||
The synthetic fixture is generated only for a deliberate blocked-gate run.
|
||||
Its label identifies course test data and has no credential authority. Remove
|
||||
the fixture and repeat the gate before a release can proceed.
|
||||
|
||||
The deployment agent now has administrative Docker access on The-Ocean,
|
||||
including the host running the controller, registry and monitoring, as well as
|
||||
deployment privileges. Co-location reduces isolation: the agent's container
|
||||
and resource caps do not prevent a malicious Docker-authorized job from
|
||||
accessing other containers or host files. This is a documented course-lab
|
||||
trade-off to avoid campus SSH restrictions, not a hardened production design.
|
||||
Run reviewed delivery code on
|
||||
this agent. Pull-request jobs must not receive its Docker socket or release
|
||||
credentials. The remote agent connects over private HTTP/WebSocket on the
|
||||
existing Docker network; browser access remains HTTPS through Caddy. Strict
|
||||
SSH verification retains the public-IP host-key alias while transport stays
|
||||
on Docker's host gateway. No firewall, TLS, approval or credential scope was relaxed.
|
||||
@@ -0,0 +1,29 @@
|
||||
FROM eclipse-temurin:21.0.13.1_2-jdk-jammy@sha256:4b3d0998ee65462bd86ff060c87119b3575294cb3d0927372afa6f3708b0c8db AS patched_java
|
||||
FROM docker:29-cli@sha256:5a7af0dcb0e46c803efe9b45371dd21cb500e5b4453250394ac6f06d49b6e6f1 AS dockercli
|
||||
FROM aquasec/trivy:0.76.2@sha256:8f6bb947dbc528902e11f2f5be52f7b519f6a39d5d148f41166f2040499768fb AS scanner
|
||||
FROM jenkins/inbound-agent:jdk21@sha256:25a3704f7de4d3d0becc441f5683a227556658df1473865ee94c5232355678ab
|
||||
|
||||
USER root
|
||||
RUN rm -rf /opt/java/openjdk
|
||||
COPY --from=patched_java /opt/java/openjdk /opt/java/openjdk
|
||||
ENV JAVA_VERSION=jdk-21.0.13.1+2
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends python3 python3-venv git openssh-client ca-certificates curl \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
COPY --from=dockercli /usr/local/bin/docker /usr/local/bin/docker
|
||||
COPY --from=dockercli /usr/local/libexec/docker/cli-plugins/ /usr/local/libexec/docker/cli-plugins/
|
||||
COPY --from=scanner /usr/local/bin/trivy /usr/local/bin/trivy
|
||||
COPY agent/requirements.txt /tmp/requirements.txt
|
||||
RUN python3 -m venv /opt/delivery-tools \
|
||||
&& /opt/delivery-tools/bin/pip install --no-cache-dir -r /tmp/requirements.txt
|
||||
ENV PATH="/opt/delivery-tools/bin:${PATH}" \
|
||||
ANSIBLE_COLLECTIONS_PATH=/opt/ansible-collections \
|
||||
PYTHONDONTWRITEBYTECODE=1 \
|
||||
PIP_DISABLE_PIP_VERSION_CHECK=1
|
||||
COPY ansible/requirements.yml /tmp/collections.yml
|
||||
RUN ansible-galaxy collection install -r /tmp/collections.yml -p /opt/ansible-collections \
|
||||
&& chmod -R a+rX /opt/ansible-collections \
|
||||
&& mkdir -p /opt/delivery-tools/inventory \
|
||||
&& dpkg-query -W > /opt/delivery-tools/inventory/debian-packages.txt \
|
||||
&& pip freeze > /opt/delivery-tools/inventory/python-packages.txt
|
||||
USER jenkins
|
||||
@@ -0,0 +1,54 @@
|
||||
name: ssw590-delivery
|
||||
services:
|
||||
agent:
|
||||
image: ssw590-delivery-agent:20261114-java21.0.13.1-2
|
||||
restart: unless-stopped
|
||||
entrypoint: ["java", "-jar", "/usr/share/jenkins/agent.jar"]
|
||||
command:
|
||||
- -url
|
||||
- http://jenkins:8080/
|
||||
- -name
|
||||
- ssw590-vince-delivery
|
||||
- -secret
|
||||
- "@/run/delivery-identity/agent-secret"
|
||||
- -webSocket
|
||||
- -workDir
|
||||
- /home/jenkins/agent
|
||||
environment:
|
||||
JAVA_TOOL_OPTIONS: "-Xms32m -Xmx96m -XX:+UseSerialGC -XX:MaxMetaspaceSize=96m"
|
||||
GOMEMLIMIT: 192MiB
|
||||
TRIVY_PARALLEL: "1"
|
||||
BUILDX_CONFIG: /home/jenkins/agent/.buildx
|
||||
DELIVERY_BUILDER: ssw590-delivery-limited
|
||||
# Docker membership is host administration, including controller access.
|
||||
# Only reviewed delivery jobs may select this exclusive one-executor node.
|
||||
group_add: ["${DOCKER_GID:?set to the host Docker socket group}"]
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
networks: [web]
|
||||
volumes:
|
||||
- workspace:/home/jenkins/agent
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- identity:/run/delivery-identity:ro
|
||||
- ./ssh_config.droplet:/etc/ssh/ssh_config.d/90-delivery-target.conf:ro
|
||||
mem_limit: 512m
|
||||
memswap_limit: 768m
|
||||
cpus: 0.5
|
||||
pids_limit: 128
|
||||
security_opt: ["no-new-privileges:true"]
|
||||
cap_drop: ["ALL"]
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 10m
|
||||
max-file: "3"
|
||||
networks:
|
||||
web:
|
||||
external: true
|
||||
name: gitea_web
|
||||
volumes:
|
||||
identity:
|
||||
external: true
|
||||
name: ssw590-delivery-identity
|
||||
workspace:
|
||||
name: ssw590-delivery-workspace
|
||||
@@ -0,0 +1,33 @@
|
||||
name: ssw590-delivery
|
||||
services:
|
||||
agent:
|
||||
image: ssw590-delivery-agent:20261114-java21.0.13.1-2
|
||||
restart: "no"
|
||||
entrypoint: ["java", "-jar", "/usr/share/jenkins/agent.jar"]
|
||||
command:
|
||||
- -url
|
||||
- https://ci.yebilly.me/
|
||||
- -name
|
||||
- ssw590-vince-delivery
|
||||
- -secret
|
||||
- "@/run/delivery-identity/agent-secret"
|
||||
- -webSocket
|
||||
- -workDir
|
||||
- /home/jenkins/agent
|
||||
# Docker's Linux VM socket is owned by group 0. Membership grants Docker
|
||||
# administration privileges. Use this node exclusively for trusted jobs.
|
||||
group_add: ["0"]
|
||||
volumes:
|
||||
- workspace:/home/jenkins/agent
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- identity:/run/delivery-identity:ro
|
||||
mem_limit: 2g
|
||||
cpus: 2
|
||||
security_opt: ["no-new-privileges:true"]
|
||||
cap_drop: ["ALL"]
|
||||
volumes:
|
||||
identity:
|
||||
external: true
|
||||
name: ssw590-delivery-identity
|
||||
workspace:
|
||||
name: ssw590-delivery-workspace
|
||||
@@ -0,0 +1,2 @@
|
||||
ansible-core==2.21.6
|
||||
pip-audit==2.10.1
|
||||
@@ -0,0 +1,35 @@
|
||||
ansible-core==2.21.6
|
||||
boolean.py==5.0
|
||||
CacheControl==0.14.4
|
||||
certifi==2026.10.23
|
||||
cffi==2.1.1
|
||||
charset-normalizer==3.5.2
|
||||
cryptography==50.0.2
|
||||
cyclonedx-python-lib==11.12.0
|
||||
defusedxml==0.7.1
|
||||
filelock==4.2.10
|
||||
idna==3.20
|
||||
Jinja2==3.1.6
|
||||
license-expression==30.4.4
|
||||
markdown-it-py==4.3.0
|
||||
MarkupSafe==3.0.4
|
||||
mdurl==0.1.2
|
||||
msgpack==1.2.4
|
||||
packageurl-python==0.17.6
|
||||
packaging==26.3
|
||||
pip-requirements-parser==32.0.1
|
||||
pip_api==0.0.35
|
||||
pip_audit==2.10.1
|
||||
platformdirs==4.14.5
|
||||
py-serializable==2.2.0
|
||||
pycparser==3.12
|
||||
Pygments==2.21.0
|
||||
pyparsing==3.3.3
|
||||
PyYAML==6.0.3
|
||||
requests==2.34.2
|
||||
resolvelib==1.2.1
|
||||
rich==15.0.0
|
||||
sortedcontainers==2.4.0
|
||||
tomli==2.5.0
|
||||
tomli_w==1.2.0
|
||||
urllib3==2.8.0
|
||||
@@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
python -m venv /tmp/tools
|
||||
/tmp/tools/bin/python -m pip install --disable-pip-version-check -r /workspace/delivery/agent/requirements.in
|
||||
/tmp/tools/bin/python -m pip freeze > /workspace/delivery/agent/requirements.txt
|
||||
/tmp/tools/bin/ansible-galaxy collection install -r /workspace/delivery/ansible/requirements.yml -p /tmp/collections
|
||||
/tmp/tools/bin/ansible-galaxy collection list -p /tmp/collections --format json > /tmp/collections.json
|
||||
/tmp/tools/bin/python - <<'PY'
|
||||
import json
|
||||
from pathlib import Path
|
||||
data = json.loads(Path('/tmp/collections.json').read_text())
|
||||
versions = {
|
||||
name: metadata['version']
|
||||
for collections in data.values()
|
||||
for name, metadata in collections.items()
|
||||
if name.startswith('community.')
|
||||
}
|
||||
assert 'community.docker' in versions, versions
|
||||
Path('/workspace/delivery/ansible/requirements.yml').write_text(
|
||||
'collections:\n' + ''.join(
|
||||
f' - name: {name}\n version: "{version}"\n'
|
||||
for name, version in sorted(versions.items())
|
||||
)
|
||||
)
|
||||
print(f'Pinned collections: {versions}')
|
||||
PY
|
||||
@@ -0,0 +1,6 @@
|
||||
# On The-Ocean only: keep the inventory and pinned public-key identity, but
|
||||
# send deployment SSH to this Docker host's gateway, never across campus Wi-Fi.
|
||||
Host 147.182.178.136
|
||||
HostName host.docker.internal
|
||||
HostKeyAlias 147.182.178.136
|
||||
ConnectTimeout 10
|
||||
@@ -0,0 +1,74 @@
|
||||
- name: Deploy a selected immutable pricing release
|
||||
hosts: delivery
|
||||
become: true
|
||||
vars:
|
||||
project_dir: "/opt/startup/pricing-{{ target_env }}"
|
||||
tasks:
|
||||
- name: Validate release selection
|
||||
ansible.builtin.assert:
|
||||
that:
|
||||
- target_env in ['staging', 'production']
|
||||
- "'@sha256:' in release_image"
|
||||
- expected_version in ['v1', 'v2']
|
||||
- expected_total | int > 0
|
||||
- public_url.startswith('https://')
|
||||
- proxy_network | length > 0
|
||||
- expected_commit is match('^[0-9a-f]{40}$')
|
||||
- configuration_commit is match('^[0-9a-f]{40}$')
|
||||
- release_image is match('^git[.]yebilly[.]me/ssw590-group1/pricing@sha256:[0-9a-f]{64}$')
|
||||
- proxy_network == 'gitea_web'
|
||||
- public_url == ('https://staging.yebilly.me' if target_env == 'staging' else 'https://app.yebilly.me')
|
||||
- expected_total | int == (30 if expected_version == 'v1' else 36)
|
||||
- name: Create deployment directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ project_dir }}"
|
||||
state: directory
|
||||
mode: '0750'
|
||||
- name: Render selected Compose configuration
|
||||
ansible.builtin.template:
|
||||
src: compose.yaml.j2
|
||||
dest: "{{ project_dir }}/compose.yaml"
|
||||
mode: '0640'
|
||||
- name: Converge application without rebuilding
|
||||
community.docker.docker_compose_v2:
|
||||
project_src: "{{ project_dir }}"
|
||||
project_name: "pricing-{{ target_env }}"
|
||||
state: present
|
||||
build: never
|
||||
pull: missing
|
||||
wait: true
|
||||
wait_timeout: 90
|
||||
- name: Verify health through public TLS endpoint
|
||||
ansible.builtin.uri:
|
||||
url: "{{ public_url }}/health"
|
||||
return_content: true
|
||||
validate_certs: true
|
||||
register: health
|
||||
until: health.status == 200 and health.json.status == 'ok'
|
||||
retries: 12
|
||||
delay: 5
|
||||
changed_when: false
|
||||
- name: Read release identity
|
||||
ansible.builtin.uri:
|
||||
url: "{{ public_url }}/"
|
||||
return_content: true
|
||||
register: identity
|
||||
changed_when: false
|
||||
- name: Exercise business behavior
|
||||
ansible.builtin.uri:
|
||||
url: "{{ public_url }}/price?quantity=3"
|
||||
return_content: true
|
||||
register: price
|
||||
changed_when: false
|
||||
- name: Check release identity and calculation
|
||||
ansible.builtin.assert:
|
||||
that:
|
||||
- identity.json.version == expected_version
|
||||
- health.json.version == expected_version
|
||||
- identity.json.commit == expected_commit
|
||||
- price.json.total | int == expected_total | int
|
||||
- name: Preserve the selected non-secret release metadata
|
||||
ansible.builtin.copy:
|
||||
dest: "{{ project_dir }}/release.json"
|
||||
mode: '0640'
|
||||
content: "{{ {'release_image': release_image, 'source_commit': expected_commit, 'configuration_commit': configuration_commit, 'version': expected_version, 'expected_total': expected_total, 'public_url': public_url} | to_nice_json }}\n"
|
||||
@@ -0,0 +1,7 @@
|
||||
[delivery]
|
||||
# The SSH host key must be verified and supplied by the trusted delivery job.
|
||||
startup ansible_host=147.182.178.136 ansible_user=deploy ansible_python_interpreter=/usr/bin/python3
|
||||
|
||||
[delivery:vars]
|
||||
# The dedicated deploy key forbids PTY allocation; sudo is noninteractive.
|
||||
ansible_ssh_use_tty=false
|
||||
@@ -0,0 +1,9 @@
|
||||
# Copy to a release-specific file and replace EVERY placeholder.
|
||||
target_env: staging
|
||||
release_image: git.yebilly.me/ssw590-group1/pricing@sha256:REPLACE_DIGEST
|
||||
expected_version: v1
|
||||
expected_commit: REPLACE_FULL_GIT_COMMIT
|
||||
configuration_commit: REPLACE_FULL_REVIEWED_CONFIGURATION_COMMIT
|
||||
expected_total: 30
|
||||
public_url: https://staging.yebilly.me
|
||||
proxy_network: gitea_web
|
||||
@@ -0,0 +1,5 @@
|
||||
collections:
|
||||
- name: community.docker
|
||||
version: "5.4.0"
|
||||
- name: community.library_inventory_filtering_v1
|
||||
version: "1.1.5"
|
||||
@@ -0,0 +1,23 @@
|
||||
services:
|
||||
app:
|
||||
image: "{{ release_image }}"
|
||||
restart: unless-stopped
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- /tmp:size=16m,mode=1777
|
||||
cap_drop:
|
||||
- ALL
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
mem_limit: 64m
|
||||
memswap_limit: 96m
|
||||
cpus: 0.25
|
||||
pids_limit: 64
|
||||
networks:
|
||||
edge:
|
||||
aliases:
|
||||
- "pricing-{{ target_env }}"
|
||||
networks:
|
||||
edge:
|
||||
external: true
|
||||
name: "{{ proxy_network }}"
|
||||
@@ -0,0 +1,4 @@
|
||||
__pycache__
|
||||
.venv
|
||||
.git
|
||||
*.pyc
|
||||
@@ -0,0 +1,14 @@
|
||||
FROM python:3.13-alpine@sha256:9ef1a599f863231c3d91e941389bfdc4a2d6070557243d54df1a4e57015b960e
|
||||
ARG APP_COMMIT=development
|
||||
ENV APP_COMMIT=$APP_COMMIT PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1
|
||||
WORKDIR /app
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt \
|
||||
&& python -m pip uninstall -y pip \
|
||||
&& rm -rf /usr/local/lib/python3.13/ensurepip
|
||||
COPY app.py .
|
||||
USER 10001:10001
|
||||
EXPOSE 8000
|
||||
# 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"]
|
||||
@@ -0,0 +1,33 @@
|
||||
import os
|
||||
from flask import Flask, jsonify, request
|
||||
|
||||
app = Flask(__name__)
|
||||
VERSION = "v2"
|
||||
UNIT_PRICE = 12
|
||||
COMMIT = os.environ.get("APP_COMMIT", "development")
|
||||
|
||||
|
||||
def total_price(quantity):
|
||||
if quantity < 1 or quantity > 1000:
|
||||
raise ValueError("quantity must be between 1 and 1000")
|
||||
return UNIT_PRICE * quantity
|
||||
|
||||
|
||||
@app.get("/")
|
||||
def index():
|
||||
return jsonify(service="Startup Pricing", version=VERSION, commit=COMMIT)
|
||||
|
||||
|
||||
@app.get("/health")
|
||||
def health():
|
||||
return jsonify(status="ok", version=VERSION)
|
||||
|
||||
|
||||
@app.get("/price")
|
||||
def price():
|
||||
try:
|
||||
quantity = int(request.args.get("quantity", "1"))
|
||||
total = total_price(quantity)
|
||||
except ValueError as error:
|
||||
return jsonify(error=str(error)), 400
|
||||
return jsonify(quantity=quantity, total=total, currency="USD")
|
||||
@@ -0,0 +1,3 @@
|
||||
# Instructor compatibility ranges. requirements.txt locks the assessed versions.
|
||||
Flask>=3.1,<3.2
|
||||
gunicorn>=23,<24
|
||||
@@ -0,0 +1,9 @@
|
||||
blinker==1.9.0
|
||||
click==8.5.1
|
||||
Flask==3.1.3
|
||||
gunicorn==23.0.0
|
||||
itsdangerous==2.2.0
|
||||
Jinja2==3.1.6
|
||||
MarkupSafe==3.0.4
|
||||
packaging==26.3
|
||||
Werkzeug==3.1.9
|
||||
@@ -0,0 +1,25 @@
|
||||
import unittest
|
||||
from app import app, total_price
|
||||
|
||||
|
||||
class PricingTests(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.client = app.test_client()
|
||||
|
||||
def test_price(self):
|
||||
self.assertEqual(total_price(3), 36)
|
||||
response = self.client.get("/price?quantity=3")
|
||||
self.assertEqual(response.status_code, 200)
|
||||
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"], "v2")
|
||||
self.assertEqual(self.client.get("/health").json["status"], "ok")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
@@ -0,0 +1,57 @@
|
||||
#!/bin/sh
|
||||
# Run inside the idle trusted agent from a non-secret preparation snapshot.
|
||||
# This is a capacity/tool trial, never a reviewed release or registry push.
|
||||
set -eu
|
||||
export TRIVY_CACHE_DIR=/home/jenkins/agent/.cache/trivy
|
||||
mkdir -p build/delivery/reports
|
||||
date -u
|
||||
python3 -B -m unittest discover -s delivery/ci -p 'test_controls.py' -v
|
||||
sh delivery/ci/test-app.sh
|
||||
python3 delivery/ci/security.py source
|
||||
: "${DELIVERY_BUILDER:?use the limited remote builder}"
|
||||
docker buildx build --builder "$DELIVERY_BUILDER" --load --platform linux/amd64 \
|
||||
--build-arg APP_COMMIT=uncommitted-remote-preflight \
|
||||
-t ssw590-pricing:remote-preflight-v1 delivery/app
|
||||
python3 delivery/ci/security.py image --image ssw590-pricing:remote-preflight-v1
|
||||
name=ssw590-delivery-capacity-smoke
|
||||
cleanup() { docker rm -f "$name" >/dev/null 2>&1 || true; }
|
||||
# Refuse to replace any existing container, even one from an interrupted trial.
|
||||
if docker container inspect "$name" >/dev/null 2>&1; then
|
||||
echo 'Inspect the existing trial container before retrying' >&2
|
||||
exit 1
|
||||
fi
|
||||
trap cleanup EXIT
|
||||
docker run -d --name "$name" --network gitea_web --read-only \
|
||||
--tmpfs /tmp:rw,nosuid,noexec,size=16m --memory 64m --memory-swap 96m \
|
||||
--cpus .25 --pids-limit 64 --cap-drop ALL --security-opt no-new-privileges \
|
||||
ssw590-pricing:remote-preflight-v1
|
||||
python3 - <<'PY'
|
||||
import json, time, urllib.request, urllib.error
|
||||
url = 'http://ssw590-delivery-capacity-smoke:8000'
|
||||
for attempt in range(30):
|
||||
try:
|
||||
with urllib.request.urlopen(url + '/health', timeout=2) as response:
|
||||
health = json.load(response)
|
||||
break
|
||||
except (OSError, ValueError):
|
||||
time.sleep(1)
|
||||
else:
|
||||
raise RuntimeError('Application failed to start')
|
||||
def get(path):
|
||||
with urllib.request.urlopen(url + path, timeout=5) as response:
|
||||
return json.load(response)
|
||||
identity, price = get('/'), get('/price?quantity=3')
|
||||
assert health['status'] == 'ok' and health['version'] == 'v1', health
|
||||
assert identity['commit'] == 'uncommitted-remote-preflight', identity
|
||||
assert price['total'] == 30, price
|
||||
try:
|
||||
get('/price?quantity=-1')
|
||||
raise AssertionError('Invalid quantity accepted')
|
||||
except urllib.error.HTTPError as error:
|
||||
assert error.code == 400, error.code
|
||||
print(json.dumps({'health': health, 'identity': identity, 'price': price,
|
||||
'invalid_quantity_status': 400}, indent=2))
|
||||
PY
|
||||
docker inspect "$name" --format 'smoke OOMKilled={{.State.OOMKilled}} memory={{.HostConfig.Memory}}'
|
||||
date -u
|
||||
echo 'PASS: remote capacity preparation; no image published or assessed environment deployed'
|
||||
@@ -0,0 +1,79 @@
|
||||
// One-time bootstrap loaded from Jenkins home after an authorized host setup.
|
||||
// Never print secret values. Scope release credentials to the delivery folder.
|
||||
import jenkins.model.Jenkins
|
||||
import hudson.model.Node
|
||||
import hudson.slaves.DumbSlave
|
||||
import hudson.slaves.JNLPLauncher
|
||||
import hudson.slaves.RetentionStrategy
|
||||
import com.cloudbees.hudson.plugins.folder.Folder
|
||||
import com.cloudbees.plugins.credentials.CredentialsProvider
|
||||
import com.cloudbees.plugins.credentials.CredentialsScope
|
||||
import com.cloudbees.plugins.credentials.SecretBytes
|
||||
import com.cloudbees.plugins.credentials.domains.Domain
|
||||
import com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl
|
||||
import com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey
|
||||
import org.jenkinsci.plugins.plaincredentials.impl.FileCredentialsImpl
|
||||
import org.jenkinsci.plugins.workflow.job.WorkflowJob
|
||||
import org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition
|
||||
import hudson.plugins.git.GitSCM
|
||||
import hudson.plugins.git.UserRemoteConfig
|
||||
import hudson.plugins.git.BranchSpec
|
||||
import groovy.json.JsonOutput
|
||||
|
||||
def j = Jenkins.get()
|
||||
def inputs = new File(j.rootDir, 'delivery-bootstrap')
|
||||
def done = new File(inputs, 'configured.json')
|
||||
if (done.exists()) return
|
||||
assert j.getItem('secure-delivery') == null : 'Existing folder requires review'
|
||||
assert j.getNode('ssw590-vince-delivery') == null : 'Existing node requires review'
|
||||
def folder = j.createProject(Folder, 'secure-delivery')
|
||||
folder.description = 'Assignment 8: reviewed releases only; folder-scoped deployment credentials.'
|
||||
folder.save()
|
||||
def store = CredentialsProvider.lookupStores(folder).find { it.context == folder }
|
||||
assert store != null : 'Folder credential store unavailable'
|
||||
def scope = CredentialsScope.GLOBAL
|
||||
def credential = new UsernamePasswordCredentialsImpl(scope, 'delivery-registry-write',
|
||||
'Assignment 8 package-write only; vsun1; revoke after grading', 'vsun1',
|
||||
new File(inputs, 'registry-write').text.trim())
|
||||
assert store.addCredentials(Domain.global(), credential)
|
||||
def key = new BasicSSHUserPrivateKey(scope, 'delivery-deploy-ssh', 'deploy',
|
||||
new BasicSSHUserPrivateKey.DirectEntryPrivateKeySource(new File(inputs, 'deploy_ed25519').text),
|
||||
'', 'Assignment 8 deploy account; root sudo; reviewed releases only')
|
||||
assert store.addCredentials(Domain.global(), key)
|
||||
def knownHosts = new FileCredentialsImpl(scope, 'delivery-known-hosts',
|
||||
'The-Ocean ED25519 host key verified through existing pinned administrator SSH',
|
||||
'known_hosts', SecretBytes.fromBytes(new File(inputs, 'known_hosts').bytes))
|
||||
assert store.addCredentials(Domain.global(), knownHosts)
|
||||
def launcher = new JNLPLauncher()
|
||||
launcher.setWebSocket(true)
|
||||
def node = new DumbSlave('ssw590-vince-delivery', 'Trusted The-Ocean Docker/Ansible delivery agent (legacy node name)',
|
||||
'/home/jenkins/agent', '1', Node.Mode.EXCLUSIVE, 'delivery-trusted', launcher,
|
||||
new RetentionStrategy.Always(), [])
|
||||
j.addNode(node)
|
||||
def secret = new File(inputs, 'agent-secret')
|
||||
secret.text = node.toComputer().getJnlpMac() + '\n'
|
||||
secret.setReadable(false, false)
|
||||
secret.setWritable(false, false)
|
||||
secret.setReadable(true, true)
|
||||
secret.setWritable(true, true)
|
||||
def job = folder.createProject(WorkflowJob, 'pricing')
|
||||
def scm = new GitSCM(
|
||||
[new UserRemoteConfig('https://git.yebilly.me/ssw590-group1/vpn-dns-gateway.git', null, null, 'gitea-jenkins-bot')],
|
||||
[new BranchSpec('*/main')], false, [], null, null, [])
|
||||
def definition = new CpsScmFlowDefinition(scm, 'delivery/Jenkinsfile')
|
||||
definition.lightweight = true
|
||||
job.definition = definition
|
||||
job.description = 'Reviewed protected-main code only. Enable after the Assignment 8 source is reviewed and merged.'
|
||||
job.disabled = true
|
||||
job.save()
|
||||
done.text = JsonOutput.prettyPrint(JsonOutput.toJson([
|
||||
configured_at: new Date().format("yyyy-MM-dd'T'HH:mm:ssXXX", TimeZone.getTimeZone('UTC')),
|
||||
node: node.nodeName, label: 'delivery-trusted', executors: 1, exclusive: true,
|
||||
job: job.fullName, disabled: true, credential_scope: folder.fullName,
|
||||
credential_ids: ['delivery-registry-write', 'delivery-deploy-ssh', 'delivery-known-hosts']
|
||||
])) + '\n'
|
||||
['registry-write', 'deploy_ed25519', 'known_hosts'].each { name ->
|
||||
assert new File(inputs, name).delete() : "Could not remove transient bootstrap input ${name}"
|
||||
}
|
||||
assert new File(j.rootDir, 'init.groovy.d/ssw590-delivery.groovy').delete()
|
||||
println('Assignment 8 delivery configuration complete; secret values were not printed; job is disabled.')
|
||||
@@ -0,0 +1,72 @@
|
||||
"""Apply only the prepared Assignment 8 proxy additions, preserving the bind inode."""
|
||||
import argparse
|
||||
import hashlib
|
||||
import json
|
||||
import os
|
||||
import shutil
|
||||
import socket
|
||||
import subprocess
|
||||
from datetime import datetime, timezone
|
||||
from pathlib import Path
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('--candidate', required=True, type=Path)
|
||||
parser.add_argument('--backup', required=True, type=Path)
|
||||
parser.add_argument('--apply', action='store_true')
|
||||
args = parser.parse_args()
|
||||
live = Path('/root/gitea/Caddyfile')
|
||||
marker = '# Assignment 8: apply after both DNS names resolve to The-Ocean.'
|
||||
candidate = args.candidate.read_text()
|
||||
before = live.read_bytes()
|
||||
prefix, additions = candidate.split(marker, 1)
|
||||
expected = '''# Assignment 8: apply after both DNS names resolve to The-Ocean. Containers
|
||||
# publish no host ports; the existing proxy reaches their private aliases.
|
||||
staging.yebilly.me {
|
||||
\treverse_proxy pricing-staging:8000
|
||||
}
|
||||
|
||||
app.yebilly.me {
|
||||
\treverse_proxy pricing-production:8000
|
||||
}'''
|
||||
assert (marker + additions).strip() == expected, 'Unexpected proxy additions'
|
||||
assert prefix.strip() == before.decode().replace('\r\n', '\n').strip(), 'Live earlier routes differ; inspect instead of overwriting'
|
||||
for host in ('staging.yebilly.me', 'app.yebilly.me'):
|
||||
addresses = {item[4][0] for item in socket.getaddrinfo(host, 443, socket.AF_INET)}
|
||||
assert addresses == {'147.182.178.136'}, (host, addresses)
|
||||
temp = '/tmp/ssw590-assignment8-https.Caddyfile'
|
||||
subprocess.run(['docker', 'cp', str(args.candidate), 'gitea-caddy-1:' + temp], check=True)
|
||||
try:
|
||||
subprocess.run(['docker', 'exec', 'gitea-caddy-1', 'caddy', 'validate', '--config', temp, '--adapter', 'caddyfile'], check=True)
|
||||
if not args.apply:
|
||||
print('Candidate validated; no active configuration changed.')
|
||||
raise SystemExit(0)
|
||||
args.backup.mkdir(mode=0o700, parents=True, exist_ok=True)
|
||||
backup = args.backup / 'Caddyfile.before'
|
||||
assert not backup.exists(), 'Existing backup: inspect state before retrying'
|
||||
shutil.copy2(live, backup)
|
||||
prior_stat = live.stat()
|
||||
try:
|
||||
with live.open('wb') as stream:
|
||||
stream.write(candidate.encode())
|
||||
stream.flush()
|
||||
os.fsync(stream.fileno())
|
||||
assert live.stat().st_ino == prior_stat.st_ino, 'Bind-mounted inode changed'
|
||||
subprocess.run(['docker', 'exec', 'gitea-caddy-1', 'caddy', 'reload', '--config', '/etc/caddy/Caddyfile', '--adapter', 'caddyfile'], check=True)
|
||||
except Exception:
|
||||
with live.open('wb') as stream:
|
||||
stream.write(before)
|
||||
stream.flush()
|
||||
os.fsync(stream.fileno())
|
||||
subprocess.run(['docker', 'exec', 'gitea-caddy-1', 'caddy', 'reload', '--config', '/etc/caddy/Caddyfile', '--adapter', 'caddyfile'], check=True)
|
||||
raise
|
||||
report = {'applied_at': datetime.now(timezone.utc).isoformat(),
|
||||
'before_sha256': hashlib.sha256(before).hexdigest(),
|
||||
'after_sha256': hashlib.sha256(live.read_bytes()).hexdigest(),
|
||||
'inode_preserved': live.stat().st_ino == prior_stat.st_ino,
|
||||
'prior_routes_preserved': True, 'applications_deployed': False,
|
||||
'new_hosts': ['staging.yebilly.me', 'app.yebilly.me'],
|
||||
'backup': str(backup), 'result': 'reloaded; certificate verification pending'}
|
||||
(args.backup / 'applied.json').write_text(json.dumps(report, indent=2))
|
||||
print(json.dumps(report, indent=2))
|
||||
finally:
|
||||
subprocess.run(['docker', 'exec', 'gitea-caddy-1', 'rm', '-f', temp], check=True)
|
||||
@@ -0,0 +1,79 @@
|
||||
"""Apply the reviewed production probe/panel only after production is healthy."""
|
||||
import argparse
|
||||
from datetime import datetime, timezone
|
||||
import hashlib
|
||||
import json
|
||||
import os
|
||||
from pathlib import Path
|
||||
import shutil
|
||||
import subprocess
|
||||
import urllib.request
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('--prometheus', required=True, type=Path)
|
||||
parser.add_argument('--dashboard', required=True, type=Path)
|
||||
parser.add_argument('--backup', required=True, type=Path)
|
||||
parser.add_argument('--apply', action='store_true')
|
||||
args = parser.parse_args()
|
||||
live_prom = Path('/root/monitoring/prometheus/prometheus.yml')
|
||||
live_dashboard = Path('/root/monitoring/grafana/dashboards/sre.json')
|
||||
before = {live_prom:live_prom.read_bytes(), live_dashboard:live_dashboard.read_bytes()}
|
||||
candidate_prom = args.prometheus.read_text().replace('\r\n','\n')
|
||||
candidate_dashboard = args.dashboard.read_bytes()
|
||||
addition = ' # Apply this addition only after Assignment 8 production is healthy.\n - https://app.yebilly.me/health\n'
|
||||
assert candidate_prom.count(addition) == 1, 'Unexpected production probe'
|
||||
assert candidate_prom.replace(addition,'').strip() == before[live_prom].decode().replace('\r\n','\n').strip(), 'Existing probes differ; inspect before changing'
|
||||
old = json.loads(before[live_dashboard])
|
||||
new = json.loads(candidate_dashboard)
|
||||
assert old['uid'] == new['uid'] == 'group1-sre'
|
||||
assert old['version'] == 1 and new['version'] == 2
|
||||
panel = new['panels'][-1]
|
||||
assert panel['id'] == 8 and panel['type'] == 'timeseries'
|
||||
assert panel['targets'][0]['expr'] == 'probe_success{job="https",instance="https://app.yebilly.me/health"}'
|
||||
comparison = dict(new, version=old['version'], panels=new['panels'][:-1])
|
||||
assert comparison == old, 'Existing dashboard differs; inspect before changing'
|
||||
with urllib.request.urlopen('https://app.yebilly.me/health',timeout=10) as response:
|
||||
health = json.load(response)
|
||||
assert response.status == 200 and health['status'] == 'ok' and health['version'] in {'v1','v2'}, 'Production must be healthy first'
|
||||
|
||||
stamp = datetime.now(timezone.utc).strftime('%Y%m%dT%H%M%S%fZ')
|
||||
temporary = '/tmp/ssw590-production-probe-' + stamp + '.yml'
|
||||
subprocess.run(['docker','cp',str(args.prometheus),'monitoring-prometheus-1:'+temporary],check=True,capture_output=True)
|
||||
try:
|
||||
validation = subprocess.check_output(['docker','exec','monitoring-prometheus-1','promtool','check','config',temporary],text=True)
|
||||
if not args.apply:
|
||||
print(validation + 'Validated only; no active file changed.')
|
||||
raise SystemExit(0)
|
||||
args.backup.mkdir(parents=True,mode=0o700,exist_ok=False)
|
||||
for path in before:
|
||||
shutil.copy2(path,args.backup / (path.name + '.before'))
|
||||
inodes = {p:p.stat().st_ino for p in before}
|
||||
|
||||
def write(path,content):
|
||||
with path.open('wb') as stream:
|
||||
stream.write(content)
|
||||
stream.flush()
|
||||
os.fsync(stream.fileno())
|
||||
assert path.stat().st_ino == inodes[path], 'Bind inode changed'
|
||||
|
||||
try:
|
||||
write(live_prom,candidate_prom.encode())
|
||||
write(live_dashboard,candidate_dashboard)
|
||||
subprocess.run(['docker','kill','--signal','HUP','monitoring-prometheus-1'],check=True,capture_output=True)
|
||||
except Exception:
|
||||
for path,content in before.items():
|
||||
write(path,content)
|
||||
subprocess.run(['docker','kill','--signal','HUP','monitoring-prometheus-1'],check=True,capture_output=True)
|
||||
raise
|
||||
report = {'applied_at':datetime.now(timezone.utc).isoformat(),'production_health':health,
|
||||
'validation':validation,'prior_probes_and_panels_preserved':True,
|
||||
'files':[{'path':str(p),'before_sha256':hashlib.sha256(before[p]).hexdigest(),
|
||||
'after_sha256':hashlib.sha256(p.read_bytes()).hexdigest(),
|
||||
'inode_preserved':p.stat().st_ino == inodes[p]} for p in before],
|
||||
'backup':str(args.backup),'reload':'Prometheus SIGHUP; Grafana file provisioning',
|
||||
'result':'applied; runtime probe and panel verification still required'}
|
||||
(args.backup / 'applied.json').write_text(json.dumps(report,indent=2))
|
||||
print(json.dumps(report,indent=2))
|
||||
finally:
|
||||
# docker cp creates a root-owned file; the Prometheus service runs as nobody.
|
||||
subprocess.run(['docker','exec','--user','0','monitoring-prometheus-1','rm','-f',temporary],check=True,capture_output=True)
|
||||
@@ -0,0 +1,42 @@
|
||||
// Administrator preparation only: no checkout, image publication or deployment.
|
||||
pipeline {
|
||||
agent { label 'delivery-trusted' }
|
||||
options { disableConcurrentBuilds(); timeout(time: 5, unit: 'MINUTES') }
|
||||
stages {
|
||||
stage('Tool and target prerequisites') {
|
||||
steps {
|
||||
withCredentials([
|
||||
sshUserPrivateKey(credentialsId: 'delivery-deploy-ssh', keyFileVariable: 'DEPLOY_KEY'),
|
||||
file(credentialsId: 'delivery-known-hosts', variable: 'DEPLOY_KNOWN_HOSTS')
|
||||
]) {
|
||||
sh '''set -eu
|
||||
set +x
|
||||
mkdir -p build/preflight
|
||||
{
|
||||
date -u
|
||||
id
|
||||
python3 --version
|
||||
ansible --version
|
||||
ansible-galaxy collection list
|
||||
docker --version
|
||||
docker compose version
|
||||
trivy --version
|
||||
pip-audit --version
|
||||
ssh -i "$DEPLOY_KEY" -o BatchMode=yes -o IdentitiesOnly=yes -o StrictHostKeyChecking=yes -o "UserKnownHostsFile=$DEPLOY_KNOWN_HOSTS" deploy@147.182.178.136 'id; sudo -n true; python3 --version; sudo -n docker --version; sudo -n docker compose version; free -m; nproc; df -h /'
|
||||
# Exercise Ansible's own SSH/become path as well as plain SSH. Its default
|
||||
# PTY request is incompatible with the intentionally restricted deploy key.
|
||||
export ANSIBLE_HOST_KEY_CHECKING=True
|
||||
export ANSIBLE_PRIVATE_KEY_FILE="$DEPLOY_KEY"
|
||||
export ANSIBLE_SSH_ARGS="-o BatchMode=yes -o IdentitiesOnly=yes -o StrictHostKeyChecking=yes -o UserKnownHostsFile=$DEPLOY_KNOWN_HOSTS"
|
||||
ansible all -i '147.182.178.136,' -u deploy --become \
|
||||
-e '{"ansible_ssh_use_tty":false,"ansible_python_interpreter":"/usr/bin/python3"}' \
|
||||
-m ansible.builtin.command -a 'id -u'
|
||||
} > build/preflight/tools-and-target.txt
|
||||
cat build/preflight/tools-and-target.txt
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
post { always { archiveArtifacts(artifacts: 'build/preflight/**', allowEmptyArchive: true) } }
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
"""One-time administrator bootstrap; run only on the authorized droplet.
|
||||
|
||||
Secrets stay in protected host/Jenkins storage and are never printed. This
|
||||
does not deploy an application, enable the release job, commit, or push.
|
||||
"""
|
||||
|
||||
import argparse
|
||||
import json
|
||||
import os
|
||||
from pathlib import Path
|
||||
import shutil
|
||||
import sqlite3
|
||||
import subprocess
|
||||
from datetime import datetime, timezone
|
||||
|
||||
HOME = Path('/var/lib/docker/volumes/gitea_jenkins-home/_data')
|
||||
STATE = Path('/root/ssw590-delivery-bootstrap')
|
||||
SCRIPTS = Path(__file__).resolve().parent
|
||||
|
||||
|
||||
def run(args, **kwargs):
|
||||
return subprocess.run(args, check=True, **kwargs)
|
||||
|
||||
|
||||
def private_file(path, content, owner=None):
|
||||
path.write_text(content)
|
||||
path.chmod(0o600)
|
||||
if owner is not None:
|
||||
os.chown(path, owner, owner)
|
||||
|
||||
|
||||
def registry_token(name, scope):
|
||||
result = subprocess.run([
|
||||
'docker', 'exec', '-u', 'git', 'gitea-gitea-1', 'gitea',
|
||||
'--config', '/data/gitea/conf/app.ini', 'admin', 'user',
|
||||
'generate-access-token', '--username', 'vsun1', '--token-name', name,
|
||||
'--scopes', scope, '--raw',
|
||||
], text=True, capture_output=True)
|
||||
value = result.stdout.strip()
|
||||
if result.returncode or len(value) != 40 or not all(c in '0123456789abcdef' for c in value):
|
||||
raise RuntimeError('Token creation did not return the expected format; no secret output emitted')
|
||||
return value
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('--apply', action='store_true')
|
||||
args = parser.parse_args()
|
||||
if not args.apply:
|
||||
print('Plan: back up Jenkins/Gitea; create deploy SSH/sudo access; create package-only tokens;')
|
||||
print('configure folder-scoped Jenkins credentials, an exclusive agent and a DISABLED release job; restart Jenkins.')
|
||||
return
|
||||
if os.geteuid() != 0 or not HOME.is_dir():
|
||||
raise RuntimeError('Run as root on the existing The-Ocean droplet')
|
||||
if STATE.exists() or (HOME / 'delivery-bootstrap').exists():
|
||||
raise RuntimeError('Bootstrap state already exists: inspect it rather than rotating or overwriting access')
|
||||
if subprocess.run(['id', 'deploy'], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL).returncode == 0:
|
||||
raise RuntimeError('An existing deploy account requires review before modification')
|
||||
run(['docker', 'exec', 'gitea-jenkins-1', 'test', '-e', '/var/jenkins_home/plugins/cloudbees-folder.jpi'])
|
||||
STATE.mkdir(mode=0o700)
|
||||
stamp = datetime.now(timezone.utc).strftime('%Y%m%dT%H%M%SZ')
|
||||
backup = STATE / ('backup-' + stamp)
|
||||
backup.mkdir(mode=0o700)
|
||||
database = Path('/var/lib/docker/volumes/gitea_gitea-data/_data/gitea/gitea.db')
|
||||
with sqlite3.connect(f'file:{database}?mode=ro', uri=True) as source:
|
||||
with sqlite3.connect(backup / 'gitea.db') as target:
|
||||
source.backup(target)
|
||||
(backup / 'gitea.db').chmod(0o600)
|
||||
run(['docker', 'stop', 'gitea-jenkins-1'], stdout=subprocess.DEVNULL)
|
||||
try:
|
||||
run(['tar', '-czf', str(backup / 'jenkins-home.tgz'), '-C', str(HOME), '.'])
|
||||
finally:
|
||||
run(['docker', 'start', 'gitea-jenkins-1'], stdout=subprocess.DEVNULL)
|
||||
(backup / 'jenkins-home.tgz').chmod(0o600)
|
||||
if Path('/root/.docker/config.json').exists():
|
||||
shutil.copy2('/root/.docker/config.json', backup / 'docker-config.json')
|
||||
(backup / 'docker-config.json').chmod(0o600)
|
||||
key = STATE / 'deploy_ed25519'
|
||||
run(['ssh-keygen', '-q', '-t', 'ed25519', '-N', '', '-C', 'ssw590-jenkins-delivery', '-f', str(key)])
|
||||
run(['useradd', '--create-home', '--shell', '/bin/bash', '--comment', 'SSW590 trusted Ansible deployment', 'deploy'])
|
||||
sshdir = Path('/home/deploy/.ssh')
|
||||
sshdir.mkdir(mode=0o700)
|
||||
run(['chown', 'deploy:deploy', str(sshdir)])
|
||||
public_key = key.with_suffix('.pub').read_text().strip()
|
||||
private_file(sshdir / 'authorized_keys', 'restrict ' + public_key + '\n')
|
||||
run(['chown', 'deploy:deploy', str(sshdir / 'authorized_keys')])
|
||||
sudoers = Path('/etc/sudoers.d/ssw590-delivery')
|
||||
private_file(sudoers, '# Trusted Ansible release account: effective host administrator.\ndeploy ALL=(root) NOPASSWD: ALL\n')
|
||||
sudoers.chmod(0o440)
|
||||
run(['visudo', '-cf', str(sudoers)])
|
||||
write_token = registry_token('ssw590-delivery-agent-' + stamp, 'write:package')
|
||||
read_token = registry_token('ssw590-delivery-target-' + stamp, 'read:package')
|
||||
result = subprocess.run([
|
||||
'docker', 'login', '--username', 'vsun1', '--password-stdin', 'git.yebilly.me'
|
||||
], input=read_token + '\n', text=True, capture_output=True)
|
||||
if result.returncode:
|
||||
raise RuntimeError('Target registry login failed; no secret output emitted')
|
||||
inputs = HOME / 'delivery-bootstrap'
|
||||
inputs.mkdir(mode=0o700)
|
||||
os.chown(inputs, 1000, 1000)
|
||||
private_file(inputs / 'deploy_ed25519', key.read_text(), 1000)
|
||||
private_file(inputs / 'registry-write', write_token, 1000)
|
||||
public_host_key = Path('/etc/ssh/ssh_host_ed25519_key.pub').read_text().split()
|
||||
private_file(inputs / 'known_hosts', '147.182.178.136 ' + ' '.join(public_host_key[:2]) + '\n', 1000)
|
||||
init = HOME / 'init.groovy.d'
|
||||
init.mkdir(exist_ok=True)
|
||||
os.chown(init, 1000, 1000)
|
||||
script = init / 'ssw590-delivery.groovy'
|
||||
shutil.copyfile(SCRIPTS / 'configure_jenkins.groovy', script)
|
||||
script.chmod(0o600)
|
||||
os.chown(script, 1000, 1000)
|
||||
private_file(STATE / 'metadata.json', json.dumps({
|
||||
'started': stamp, 'registry_user': 'vsun1',
|
||||
'agent_token_name': 'ssw590-delivery-agent-' + stamp,
|
||||
'target_token_name': 'ssw590-delivery-target-' + stamp,
|
||||
'agent_scope': 'write:package', 'target_scope': 'read:package',
|
||||
'backup_directory': str(backup),
|
||||
'deploy_sudo_scope': 'root commands without a password; trusted code only',
|
||||
}, indent=2))
|
||||
run(['docker', 'restart', 'gitea-jenkins-1'], stdout=subprocess.DEVNULL)
|
||||
# The private key is now the Jenkins bootstrap input; remove the duplicate.
|
||||
key.unlink()
|
||||
key.with_suffix('.pub').unlink()
|
||||
print('Host bootstrap applied. Jenkins is restarting; verify its completion marker before starting the agent.')
|
||||
print('Existing Gitea, proxy and monitoring configuration was preserved. Release job remains disabled.')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
@@ -0,0 +1,28 @@
|
||||
param(
|
||||
[switch]$AllowLaptopFallback,
|
||||
[string]$Droplet = '147.182.178.136',
|
||||
[string]$IdentityFile = (Join-Path $env:USERPROFILE '.ssh/digitalocean')
|
||||
)
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$PSNativeCommandUseErrorActionPreference = $true
|
||||
if (-not $AllowLaptopFallback) {
|
||||
throw 'The delivery node now runs on The-Ocean. Start a laptop fallback only after stopping the remote copy, then pass -AllowLaptopFallback. Never connect both copies of the same node.'
|
||||
}
|
||||
$repoPath = (Resolve-Path (Join-Path $PSScriptRoot '../..')).Path
|
||||
$sshArguments = @('-i', $IdentityFile, '-o', 'IdentitiesOnly=yes', '-o', 'BatchMode=yes',
|
||||
'-o', 'StrictHostKeyChecking=yes', '-o', 'ConnectTimeout=10', "root@$Droplet")
|
||||
& ssh @sshArguments 'docker exec -u jenkins gitea-jenkins-1 test -f /var/jenkins_home/delivery-bootstrap/configured.json'
|
||||
& docker volume create ssw590-delivery-identity | Out-Null
|
||||
# The generated identity flows directly from pinned administrator SSH into a
|
||||
# protected Docker volume. No secret enters command arguments, output or Git.
|
||||
& ssh @sshArguments 'docker exec -u jenkins gitea-jenkins-1 cat /var/jenkins_home/delivery-bootstrap/agent-secret' |
|
||||
& docker run --rm -i --network none --user 0:0 --entrypoint sh `
|
||||
--mount 'type=volume,source=ssw590-delivery-identity,target=/identity' `
|
||||
ssw590-delivery-agent:20261114-java21.0.13.1-2 -c 'set -eu; umask 077; cat > /identity/agent-secret; test -s /identity/agent-secret; chown 1000:1000 /identity /identity/agent-secret; chmod 700 /identity; chmod 400 /identity/agent-secret'
|
||||
Push-Location $repoPath
|
||||
try {
|
||||
& docker compose -f delivery/agent/compose.yaml up -d
|
||||
& docker compose -f delivery/agent/compose.yaml ps
|
||||
} finally {
|
||||
Pop-Location
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
# Run as root from /opt/ssw590-delivery-agent after stopping the laptop copy.
|
||||
# Copy compose.droplet.yaml and ssh_config.droplet here first; load the verified
|
||||
# agent image. Never copy any identity file into this directory or into Git.
|
||||
set -euo pipefail
|
||||
test "$(id -u)" = 0
|
||||
cd /opt/ssw590-delivery-agent
|
||||
export DOCKER_GID
|
||||
DOCKER_GID=$(stat -c '%g' /var/run/docker.sock)
|
||||
# Numeric group only, not a credential. Keep it available for later Compose use.
|
||||
printf 'DOCKER_GID=%s\n' "$DOCKER_GID" > .env
|
||||
chmod 644 .env
|
||||
docker image inspect ssw590-delivery-agent:20261114-java21.0.13.1-2 >/dev/null
|
||||
docker compose -f compose.droplet.yaml config --quiet
|
||||
docker exec -u jenkins gitea-jenkins-1 test -s /var/jenkins_home/delivery-bootstrap/agent-secret
|
||||
docker volume create ssw590-delivery-identity >/dev/null
|
||||
docker exec -u jenkins gitea-jenkins-1 cat /var/jenkins_home/delivery-bootstrap/agent-secret |
|
||||
docker run --rm -i --network none --user 0:0 --entrypoint sh \
|
||||
--mount type=volume,source=ssw590-delivery-identity,target=/identity \
|
||||
ssw590-delivery-agent:20261114-java21.0.13.1-2 -c \
|
||||
'set -eu; umask 077; cat > /identity/agent-secret; test -s /identity/agent-secret; chown 1000:1000 /identity /identity/agent-secret; chmod 700 /identity; chmod 400 /identity/agent-secret'
|
||||
docker compose -f compose.droplet.yaml up -d --pull never
|
||||
agent=ssw590-delivery-agent-1
|
||||
# BuildKit's own container must be limited too: the socket mount does not make
|
||||
# child build containers inherit the agent's resource caps.
|
||||
if ! docker exec "$agent" docker buildx inspect ssw590-delivery-limited >/dev/null 2>&1; then
|
||||
docker exec "$agent" docker buildx create --name ssw590-delivery-limited \
|
||||
--driver docker-container \
|
||||
--driver-opt image=moby/buildkit@sha256:c5f8862f52499773af85bc07695b2379ef08e8002352b0df2c4864c91d78dabe,memory=256m,memory-swap=384m,cpu-period=100000,cpu-quota=50000,restart-policy=unless-stopped
|
||||
fi
|
||||
docker exec "$agent" docker buildx inspect ssw590-delivery-limited --bootstrap
|
||||
docker compose -f compose.droplet.yaml ps
|
||||
@@ -0,0 +1,41 @@
|
||||
"""Read-only, non-secret runtime checks; run as root on The-Ocean."""
|
||||
import json
|
||||
import subprocess
|
||||
from datetime import datetime, timezone
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def run(*args):
|
||||
return subprocess.check_output(args, text=True).strip()
|
||||
|
||||
|
||||
report = {"observed_at": datetime.now(timezone.utc).isoformat(), "containers": []}
|
||||
names = ["ssw590-delivery-agent-1", "buildx_buildkit_ssw590-delivery-limited0"]
|
||||
for name in names:
|
||||
info = json.loads(run("docker", "inspect", name))[0]
|
||||
config, state = info["HostConfig"], info["State"]
|
||||
events = Path("/sys/fs/cgroup/system.slice", "docker-" + info["Id"] + ".scope", "memory.events")
|
||||
report["containers"].append({
|
||||
"name": name, "running": state["Running"], "oom_killed": state["OOMKilled"],
|
||||
"restart_count": info["RestartCount"], "restart_policy": config["RestartPolicy"]["Name"],
|
||||
"memory_bytes": config["Memory"], "memory_swap_bytes": config["MemorySwap"],
|
||||
"nano_cpus": config["NanoCpus"], "cpu_quota": config["CpuQuota"],
|
||||
"cpu_period": config["CpuPeriod"], "port_bindings": config["PortBindings"],
|
||||
"memory_events": events.read_text().strip() if events.exists() else "unavailable",
|
||||
})
|
||||
assert state["Running"] and not state["OOMKilled"], name
|
||||
report["private_http"] = {}
|
||||
for url in ["http://jenkins:8080/login", "http://gitea:3000/", "http://monitoring-grafana-1:3000/login"]:
|
||||
code = run("docker", "exec", names[0], "curl", "--silent", "--show-error", "--max-time", "15",
|
||||
"-o", "/dev/null", "-w", "%{http_code}", url)
|
||||
report["private_http"][url] = code
|
||||
assert code == "200", (url, code)
|
||||
ssh = run("docker", "exec", names[0], "ssh", "-G", "147.182.178.136")
|
||||
report["deployment_ssh_route"] = [line for line in ssh.splitlines() if line.startswith(("hostname ", "hostkeyalias "))]
|
||||
assert "hostname host.docker.internal" in ssh.splitlines()
|
||||
assert "hostkeyalias 147.182.178.136" in ssh.splitlines()
|
||||
report["memory"] = run("free", "-m")
|
||||
report["disk"] = run("df", "-h", "/")
|
||||
report["running_containers"] = run("docker", "ps", "--format", "{{.Names}} {{.Status}}")
|
||||
report["result"] = "passed"
|
||||
print(json.dumps(report, indent=2))
|
||||
@@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
record=$1
|
||||
environment=$2
|
||||
operation=${3:-deploy}
|
||||
case "$record" in
|
||||
build/delivery/releases/*.json|delivery/releases/*.json) ;;
|
||||
*) echo 'Release record must be in the release metadata directory' >&2; exit 1 ;;
|
||||
esac
|
||||
python3 delivery/ci/release.py verify "$record" --environment "$environment"
|
||||
config=$(python3 -c 'import json,sys; print(json.load(open(sys.argv[1]))["configuration_commit"])' "$record")
|
||||
scratch=$(mktemp -d)
|
||||
trap 'rm -rf "$scratch"' EXIT
|
||||
# Recover both playbook and template from the configuration recorded with this image.
|
||||
git archive "$config" delivery/ansible | tar -x -C "$scratch"
|
||||
: "${DEPLOY_KEY:?bind the deployment SSH key as a Jenkins file credential}"
|
||||
: "${DEPLOY_KNOWN_HOSTS:?bind the verified known_hosts as a Jenkins file credential}"
|
||||
export ANSIBLE_HOST_KEY_CHECKING=True
|
||||
export ANSIBLE_SSH_ARGS="-o BatchMode=yes -o IdentitiesOnly=yes -o StrictHostKeyChecking=yes -o UserKnownHostsFile=$DEPLOY_KNOWN_HOSTS"
|
||||
export ANSIBLE_PRIVATE_KEY_FILE="$DEPLOY_KEY"
|
||||
ansible-playbook -i "$scratch/delivery/ansible/inventory.ini" \
|
||||
"$scratch/delivery/ansible/deploy.yml" --syntax-check -e "@$record"
|
||||
python3 delivery/ci/run-ansible.py "$record" "$operation" \
|
||||
-i "$scratch/delivery/ansible/inventory.ini" \
|
||||
"$scratch/delivery/ansible/deploy.yml" -e "@$record"
|
||||
@@ -0,0 +1,48 @@
|
||||
"""Sample public HTTPS health during release/recovery; failures are evidence."""
|
||||
|
||||
import argparse
|
||||
import csv
|
||||
from datetime import datetime, timezone
|
||||
import json
|
||||
from pathlib import Path
|
||||
import time
|
||||
import urllib.error
|
||||
import urllib.request
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('--url', choices=['https://app.yebilly.me', 'https://staging.yebilly.me'], required=True)
|
||||
parser.add_argument('--seconds', type=int, default=600)
|
||||
parser.add_argument('--interval', type=float, default=1)
|
||||
parser.add_argument('--output', required=True)
|
||||
args = parser.parse_args()
|
||||
if not 1 <= args.seconds <= 1800 or args.interval < 0.5:
|
||||
parser.error('Use 1-1800 seconds and at least 0.5 seconds between samples')
|
||||
output = Path(args.output)
|
||||
output.parent.mkdir(parents=True, exist_ok=True)
|
||||
deadline = time.monotonic() + args.seconds
|
||||
with output.open('w', newline='') as stream:
|
||||
writer = csv.writer(stream)
|
||||
writer.writerow(['started_utc', 'elapsed_seconds', 'http_status', 'status', 'version', 'error'])
|
||||
while time.monotonic() < deadline:
|
||||
started = datetime.now(timezone.utc).isoformat()
|
||||
clock = time.monotonic()
|
||||
code, status, version, error = '', '', '', ''
|
||||
try:
|
||||
with urllib.request.urlopen(args.url + '/health', timeout=2) as response:
|
||||
code = response.status
|
||||
body = json.load(response)
|
||||
status, version = body.get('status', ''), body.get('version', '')
|
||||
except urllib.error.HTTPError as failure:
|
||||
code, error = failure.code, type(failure).__name__
|
||||
except (OSError, ValueError, urllib.error.URLError) as failure:
|
||||
error = type(failure).__name__
|
||||
writer.writerow([started, round(time.monotonic() - clock, 3), code, status, version, error])
|
||||
stream.flush()
|
||||
time.sleep(max(0, args.interval - (time.monotonic() - clock)))
|
||||
print(f'Saved samples to {output}; inspect failed samples and gaps, not just the exit status')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
@@ -0,0 +1,35 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
set +x
|
||||
: "${REGISTRY_USER:?bind registry credentials}"
|
||||
: "${REGISTRY_TOKEN:?bind registry credentials}"
|
||||
image=git.yebilly.me/ssw590-group1/pricing
|
||||
commit=$(git rev-parse HEAD)
|
||||
reports=build/delivery/reports
|
||||
mkdir -p "$reports" build/delivery/releases
|
||||
export DOCKER_CONFIG
|
||||
DOCKER_CONFIG=$(mktemp -d)
|
||||
trap 'rm -rf "$DOCKER_CONFIG"' EXIT
|
||||
printf '%s' "$REGISTRY_TOKEN" | docker login --username "$REGISTRY_USER" --password-stdin git.yebilly.me
|
||||
# Never overwrite a source-commit tag during a retry.
|
||||
if docker manifest inspect "$image:$commit" > "$reports/existing-manifest.json" 2> "$reports/manifest-check.log"; then
|
||||
docker pull "$image:$commit"
|
||||
else
|
||||
if ! grep -Eqi 'manifest unknown|no such manifest|not found' "$reports/manifest-check.log"; then
|
||||
cat "$reports/manifest-check.log" >&2
|
||||
exit 1
|
||||
fi
|
||||
if [ -n "${DELIVERY_BUILDER:-}" ]; then
|
||||
docker buildx build --builder "$DELIVERY_BUILDER" --load --platform linux/amd64 \
|
||||
--build-arg "APP_COMMIT=$commit" -t "$image:$commit" delivery/app
|
||||
else
|
||||
docker build --platform linux/amd64 --build-arg "APP_COMMIT=$commit" -t "$image:$commit" delivery/app
|
||||
fi
|
||||
python3 delivery/ci/security.py image --image "$image:$commit" --reports "$reports/image-gate"
|
||||
docker push "$image:$commit"
|
||||
docker pull "$image:$commit"
|
||||
fi
|
||||
digest=$(docker image inspect "$image:$commit" --format '{{index .RepoDigests 0}}')
|
||||
python3 delivery/ci/security.py image --image "$digest" --reports "$reports/published-image-gate"
|
||||
printf '%s\n' "$digest" > "$reports/published-digest.txt"
|
||||
python3 delivery/ci/release.py create --image "$digest" --build-url "$BUILD_URL" --output build/delivery/releases
|
||||
@@ -0,0 +1,77 @@
|
||||
"""Create and verify non-secret release records used by Ansible."""
|
||||
|
||||
import argparse
|
||||
import ast
|
||||
import json
|
||||
import re
|
||||
import subprocess
|
||||
from datetime import datetime, timezone
|
||||
from pathlib import Path
|
||||
|
||||
URLS = {"staging": "https://staging.yebilly.me", "production": "https://app.yebilly.me"}
|
||||
IMAGE = re.compile(r"git\.yebilly\.me/ssw590-group1/pricing@sha256:[0-9a-f]{64}")
|
||||
COMMIT = re.compile(r"[0-9a-f]{40}")
|
||||
|
||||
|
||||
def verify(record):
|
||||
required = {"release_image", "expected_commit", "configuration_commit",
|
||||
"expected_version", "expected_total", "proxy_network", "target_env", "public_url"}
|
||||
if not required <= record.keys() or record.keys() - required - {"build_url", "created_at"}:
|
||||
raise ValueError("Missing or unexpected release fields")
|
||||
if not IMAGE.fullmatch(record["release_image"]):
|
||||
raise ValueError("Release requires the team registry image and exact digest")
|
||||
for name in ("expected_commit", "configuration_commit"):
|
||||
value = record[name]
|
||||
if not COMMIT.fullmatch(value):
|
||||
raise ValueError(f"Invalid {name}")
|
||||
subprocess.run(["git", "merge-base", "--is-ancestor", value, "origin/main"], check=True)
|
||||
version = record["expected_version"]
|
||||
if version not in {"v1", "v2"}:
|
||||
raise ValueError("Unsupported application release")
|
||||
if record["expected_total"] != {"v1": 30, "v2": 36}[version]:
|
||||
raise ValueError("Unexpected business result")
|
||||
environment = record["target_env"]
|
||||
if record["public_url"] != URLS[environment] or record["proxy_network"] != "gitea_web":
|
||||
raise ValueError("Unexpected deployment target")
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser()
|
||||
commands = parser.add_subparsers(dest="action", required=True)
|
||||
create = commands.add_parser("create")
|
||||
create.add_argument("--image", required=True)
|
||||
create.add_argument("--build-url", required=True)
|
||||
create.add_argument("--output", required=True)
|
||||
check = commands.add_parser("verify")
|
||||
check.add_argument("record")
|
||||
check.add_argument("--environment", choices=["staging", "production"])
|
||||
args = parser.parse_args()
|
||||
if args.action == "verify":
|
||||
record = json.loads(Path(args.record).read_text())
|
||||
verify(record)
|
||||
if args.environment and record["target_env"] != args.environment:
|
||||
raise ValueError("Release environment does not match the authorized pipeline stage")
|
||||
return
|
||||
values = {}
|
||||
for node in ast.parse(Path("delivery/app/app.py").read_text()).body:
|
||||
if isinstance(node, ast.Assign):
|
||||
for target in node.targets:
|
||||
if isinstance(target, ast.Name) and target.id in {"VERSION", "UNIT_PRICE"}:
|
||||
values[target.id] = ast.literal_eval(node.value)
|
||||
commit = subprocess.check_output(["git", "rev-parse", "HEAD"], text=True).strip()
|
||||
record = {
|
||||
"release_image": args.image, "expected_commit": commit,
|
||||
"configuration_commit": commit, "expected_version": values["VERSION"],
|
||||
"expected_total": values["UNIT_PRICE"] * 3, "proxy_network": "gitea_web",
|
||||
"build_url": args.build_url, "created_at": datetime.now(timezone.utc).isoformat(),
|
||||
}
|
||||
output = Path(args.output)
|
||||
output.mkdir(parents=True, exist_ok=True)
|
||||
for environment, url in URLS.items():
|
||||
target = dict(record, target_env=environment, public_url=url)
|
||||
verify(target)
|
||||
(output / f"{values['VERSION']}-{environment}.json").write_text(json.dumps(target, indent=2))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,62 @@
|
||||
"""Archive deployment timing/recaps and enforce the unchanged-rerun gate."""
|
||||
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
import subprocess
|
||||
import sys
|
||||
import time
|
||||
from datetime import datetime, timezone
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def main():
|
||||
record = json.loads(Path(sys.argv[1]).read_text())
|
||||
operation = sys.argv[2]
|
||||
if operation not in {"deploy", "rerun"}:
|
||||
raise ValueError("Unknown deployment operation")
|
||||
reports = Path("build/delivery/reports")
|
||||
reports.mkdir(parents=True, exist_ok=True)
|
||||
stem = f"ansible-{record['target_env']}-{operation}"
|
||||
started = datetime.now(timezone.utc).isoformat()
|
||||
clock = time.monotonic()
|
||||
process = subprocess.Popen(
|
||||
["ansible-playbook", *sys.argv[3:]], text=True,
|
||||
stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
|
||||
env=dict(os.environ, ANSIBLE_NOCOLOR="1"),
|
||||
)
|
||||
lines = []
|
||||
with (reports / f"{stem}.txt").open("w") as log:
|
||||
for line in process.stdout:
|
||||
print(line, end="", flush=True)
|
||||
log.write(line)
|
||||
lines.append(line)
|
||||
status = process.wait()
|
||||
recaps = []
|
||||
for line in lines:
|
||||
match = re.match(r"^(\S+)\s+:\s+ok=(\d+)\s+changed=(\d+)\s+unreachable=(\d+)\s+failed=(\d+)", line)
|
||||
if match:
|
||||
recaps.append(dict(zip(
|
||||
["host", "ok", "changed", "unreachable", "failed"],
|
||||
[match[1], *map(int, match.groups()[1:])],
|
||||
)))
|
||||
passed = status == 0 and bool(recaps) and all(
|
||||
row["failed"] == 0 and row["unreachable"] == 0
|
||||
and (operation != "rerun" or row["changed"] == 0)
|
||||
for row in recaps
|
||||
)
|
||||
report = {
|
||||
"started": started, "completed": datetime.now(timezone.utc).isoformat(),
|
||||
"elapsed_seconds": round(time.monotonic() - clock, 3),
|
||||
"operation": operation, "release": record,
|
||||
"ansible_exit_code": status, "recaps": recaps,
|
||||
"result": "passed" if passed else "blocked",
|
||||
}
|
||||
(reports / f"{stem}.json").write_text(json.dumps(report, indent=2))
|
||||
if not passed:
|
||||
print("Deployment gate blocked: inspect the archived Ansible recap", file=sys.stderr)
|
||||
return 0 if passed else 1
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit(main())
|
||||
@@ -0,0 +1,127 @@
|
||||
"""Run release gates and preserve reports, tool versions, and process exit codes."""
|
||||
|
||||
import argparse
|
||||
import json
|
||||
import subprocess
|
||||
import tempfile
|
||||
from datetime import datetime, timezone
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def now():
|
||||
return datetime.now(timezone.utc).isoformat()
|
||||
|
||||
|
||||
def check_report(report, kind):
|
||||
if kind == "dependencies":
|
||||
dependencies = report["dependencies"]
|
||||
if not dependencies:
|
||||
raise ValueError("Dependency audit returned no packages")
|
||||
return [v for package in dependencies for v in package["vulns"]]
|
||||
if report["SchemaVersion"] != 2 or "ArtifactName" not in report:
|
||||
raise ValueError("Unrecognized Trivy report")
|
||||
results = report["Results"]
|
||||
if not isinstance(results, list):
|
||||
raise ValueError("Trivy Results must be a list")
|
||||
if kind == "image" and not results:
|
||||
raise ValueError("Image scan returned no analyzed targets")
|
||||
if kind == "secrets":
|
||||
return [secret for result in results for secret in result.get("Secrets", [])]
|
||||
return [
|
||||
vulnerability
|
||||
for result in results
|
||||
for vulnerability in result.get("Vulnerabilities", [])
|
||||
if vulnerability["Severity"] in {"HIGH", "CRITICAL"}
|
||||
]
|
||||
|
||||
|
||||
def redact_secret_matches(report):
|
||||
for result in report.get("Results", []):
|
||||
for secret in result.get("Secrets", []):
|
||||
secret["Match"] = "[REDACTED]"
|
||||
for line in secret.get("Code", {}).get("Lines", []):
|
||||
line["Content"] = "[REDACTED]"
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument("phase", choices=["source", "image"])
|
||||
parser.add_argument("--image")
|
||||
parser.add_argument("--fixture", action="store_true")
|
||||
parser.add_argument("--reports", default="build/delivery/reports")
|
||||
args = parser.parse_args()
|
||||
reports = Path(args.reports).resolve()
|
||||
reports.mkdir(parents=True, exist_ok=True)
|
||||
execution = {"started": now(), "phase": args.phase, "steps": []}
|
||||
|
||||
def run(command, label, accepted=(0,)):
|
||||
result = subprocess.run(command, text=True, capture_output=True)
|
||||
(reports / f"{label}.log").write_text(result.stdout + result.stderr)
|
||||
execution["steps"].append({
|
||||
"label": label, "command": command, "completed": now(),
|
||||
"exit_code": result.returncode,
|
||||
})
|
||||
if result.returncode not in accepted:
|
||||
raise RuntimeError(f"{label} failed with exit code {result.returncode}")
|
||||
return result
|
||||
|
||||
def scan_secrets(target, label):
|
||||
output = reports / f"{label}.json"
|
||||
run([
|
||||
"trivy", "fs", "--scanners", "secret", "--secret-config",
|
||||
"delivery/trivy-secret.yaml", "--format", "json", "--output", str(output),
|
||||
"--skip-dirs", ".git", "--skip-dirs", "build", "--skip-dirs", "work",
|
||||
"--skip-dirs", ".venv", str(target),
|
||||
], label)
|
||||
report = json.loads(output.read_text())
|
||||
redact_secret_matches(report)
|
||||
output.write_text(json.dumps(report, indent=2))
|
||||
if check_report(report, "secrets"):
|
||||
raise RuntimeError(f"{label}: detected secrets block delivery")
|
||||
|
||||
try:
|
||||
run(["trivy", "--version"], "trivy-version")
|
||||
run(["pip-audit", "--version"], "pip-audit-version")
|
||||
if args.phase == "source":
|
||||
scan_secrets(".", "source-secrets")
|
||||
output = reports / "dependencies.json"
|
||||
result = run([
|
||||
"pip-audit", "-r", "delivery/app/requirements.txt", "--no-deps",
|
||||
"--disable-pip", "--format", "json", "--output", str(output),
|
||||
], "dependencies", accepted=(0, 1))
|
||||
findings = check_report(json.loads(output.read_text()), "dependencies")
|
||||
if result.returncode or findings:
|
||||
raise RuntimeError("Dependency findings or audit errors block delivery")
|
||||
if args.fixture:
|
||||
with tempfile.TemporaryDirectory(prefix="ssw590-scan-") as directory:
|
||||
# Construct the nonfunctional course fixture only in the test run.
|
||||
value = "SSW590_SYNTHETIC_SECRET_" + "0" * 16
|
||||
Path(directory, "fixture.txt").write_text(value)
|
||||
scan_secrets(directory, "synthetic-secret")
|
||||
raise RuntimeError("Synthetic fixture was not detected")
|
||||
else:
|
||||
if not args.image:
|
||||
raise ValueError("--image is required for the image gate")
|
||||
output = reports / "image.json"
|
||||
run([
|
||||
"trivy", "image", "--scanners", "vuln", "--format", "json",
|
||||
"--output", str(output), args.image,
|
||||
], "image")
|
||||
run(["trivy", "--version"], "trivy-database-version")
|
||||
if check_report(json.loads(output.read_text()), "image"):
|
||||
raise RuntimeError("HIGH/CRITICAL image findings block delivery")
|
||||
execution["result"] = "passed"
|
||||
print(f"{args.phase} gate passed")
|
||||
except (OSError, ValueError, KeyError, TypeError, RuntimeError) as error:
|
||||
execution["result"] = "blocked"
|
||||
execution["reason"] = str(error)
|
||||
print(f"{args.phase} gate blocked: {error}")
|
||||
return 1
|
||||
finally:
|
||||
execution["completed"] = now()
|
||||
(reports / f"{args.phase}-execution.json").write_text(json.dumps(execution, indent=2))
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit(main())
|
||||
@@ -0,0 +1,43 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
reports=${REPORTS_DIR:-build/delivery/reports}
|
||||
mkdir -p "$reports"
|
||||
reports=$(cd "$reports" && pwd)
|
||||
test_dir=$(mktemp -d)
|
||||
trap 'rm -rf "$test_dir"' EXIT
|
||||
python3 -m venv "$test_dir/venv"
|
||||
test_python="$test_dir/venv/bin/python"
|
||||
"$test_python" -m pip install -r delivery/app/requirements.txt
|
||||
cp delivery/app/app.py delivery/app/test_app.py "$test_dir/"
|
||||
if [ "${TEST_FAILURE:-false}" = true ]; then
|
||||
cat > "$test_dir/test_gate_fixture.py" <<'PY'
|
||||
import unittest
|
||||
from app import app
|
||||
|
||||
class ControlledWrongPrice(unittest.TestCase):
|
||||
def test_deliberately_wrong_expected_price(self):
|
||||
response = app.test_client().get('/price?quantity=3')
|
||||
self.assertEqual(response.json['total'], -1, 'Controlled test must block delivery')
|
||||
PY
|
||||
fi
|
||||
cd "$test_dir"
|
||||
"$test_python" -B - "$reports" <<'PY'
|
||||
import json
|
||||
import subprocess
|
||||
import sys
|
||||
from datetime import datetime, timezone
|
||||
from pathlib import Path
|
||||
|
||||
started = datetime.now(timezone.utc).isoformat()
|
||||
result = subprocess.run([sys.executable, '-B', '-m', 'unittest', '-v'], text=True, capture_output=True)
|
||||
output = result.stdout + result.stderr
|
||||
print(output, end='')
|
||||
reports = Path(sys.argv[1])
|
||||
(reports / 'unit-tests.txt').write_text(output)
|
||||
(reports / 'unit-tests.json').write_text(json.dumps({
|
||||
'started': started, 'completed': datetime.now(timezone.utc).isoformat(),
|
||||
'exit_code': result.returncode,
|
||||
'result': 'passed' if result.returncode == 0 else 'blocked',
|
||||
}, indent=2))
|
||||
raise SystemExit(result.returncode)
|
||||
PY
|
||||
@@ -0,0 +1,112 @@
|
||||
"""Regression checks for fail-closed release and scan boundaries."""
|
||||
|
||||
import importlib.util
|
||||
import io
|
||||
import json
|
||||
import os
|
||||
from pathlib import Path
|
||||
import sys
|
||||
import tempfile
|
||||
import unittest
|
||||
from unittest.mock import patch
|
||||
|
||||
import release
|
||||
import security
|
||||
|
||||
spec = importlib.util.spec_from_file_location('run_ansible', Path(__file__).with_name('run-ansible.py'))
|
||||
run_ansible = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(run_ansible)
|
||||
|
||||
|
||||
class SecurityGateTests(unittest.TestCase):
|
||||
def test_empty_dependency_audit_is_not_clean_evidence(self):
|
||||
with self.assertRaises(ValueError):
|
||||
security.check_report({"dependencies": []}, "dependencies")
|
||||
|
||||
def test_incomplete_or_unrecognized_scan_is_rejected(self):
|
||||
for report in [{}, {"SchemaVersion": 2, "ArtifactName": "."},
|
||||
{"SchemaVersion": 3, "ArtifactName": ".", "Results": []}]:
|
||||
with self.subTest(report=report), self.assertRaises((ValueError, KeyError)):
|
||||
security.check_report(report, "secrets")
|
||||
|
||||
def test_high_findings_and_secrets_block(self):
|
||||
report = {"SchemaVersion": 2, "ArtifactName": "image", "Results": [{
|
||||
"Vulnerabilities": [{"Severity": "LOW"}, {"Severity": "HIGH"}, {"Severity": "CRITICAL"}],
|
||||
"Secrets": [{"Severity": "LOW", "Match": "test-data"}],
|
||||
}]}
|
||||
self.assertEqual(len(security.check_report(report, "image")), 2)
|
||||
self.assertEqual(len(security.check_report(report, "secrets")), 1)
|
||||
security.redact_secret_matches(report)
|
||||
self.assertEqual(report["Results"][0]["Secrets"][0]["Match"], "[REDACTED]")
|
||||
|
||||
def test_image_without_analyzed_targets_is_rejected(self):
|
||||
with self.assertRaises(ValueError):
|
||||
security.check_report({"SchemaVersion": 2, "ArtifactName": "image", "Results": []}, "image")
|
||||
|
||||
|
||||
class ReleaseBoundaryTests(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.record = {
|
||||
"release_image": "git.yebilly.me/ssw590-group1/pricing@sha256:" + "a" * 64,
|
||||
"expected_commit": "b" * 40, "configuration_commit": "c" * 40,
|
||||
"expected_version": "v1", "expected_total": 30,
|
||||
"proxy_network": "gitea_web", "target_env": "staging",
|
||||
"public_url": "https://staging.yebilly.me",
|
||||
}
|
||||
|
||||
@patch("release.subprocess.run")
|
||||
def test_both_commits_must_be_reviewed_main_ancestors(self, run):
|
||||
release.verify(self.record)
|
||||
self.assertEqual([call.args[0][-2] for call in run.call_args_list], ["b" * 40, "c" * 40])
|
||||
self.assertTrue(all(call.kwargs["check"] for call in run.call_args_list))
|
||||
|
||||
@patch("release.subprocess.run")
|
||||
def test_cross_environment_url_is_rejected(self, run):
|
||||
self.record["public_url"] = "https://app.yebilly.me"
|
||||
with self.assertRaises(ValueError):
|
||||
release.verify(self.record)
|
||||
|
||||
|
||||
def test_mutable_tag_or_other_registry_is_rejected(self):
|
||||
for image in ["git.yebilly.me/ssw590-group1/pricing:latest", "example.com/pricing@sha256:" + "a" * 64]:
|
||||
self.record["release_image"] = image
|
||||
with self.assertRaises(ValueError):
|
||||
release.verify(self.record)
|
||||
|
||||
def test_unexpected_ansible_variables_are_rejected(self):
|
||||
self.record["ansible_host"] = "unapproved-host"
|
||||
with self.assertRaises(ValueError):
|
||||
release.verify(self.record)
|
||||
|
||||
|
||||
class UnchangedRerunTests(unittest.TestCase):
|
||||
def check_recap(self, text, exit_code=0):
|
||||
original = Path.cwd()
|
||||
with tempfile.TemporaryDirectory() as directory:
|
||||
try:
|
||||
os.chdir(directory)
|
||||
Path('release.json').write_text(json.dumps({'target_env': 'staging'}))
|
||||
with patch('sys.argv', ['run-ansible.py', 'release.json', 'rerun', 'playbook.yml']), \
|
||||
patch.object(run_ansible.subprocess, 'Popen') as launch, \
|
||||
patch('sys.stdout', new_callable=io.StringIO), \
|
||||
patch('sys.stderr', new_callable=io.StringIO):
|
||||
launch.return_value.stdout = io.StringIO(text)
|
||||
launch.return_value.wait.return_value = exit_code
|
||||
return run_ansible.main()
|
||||
finally:
|
||||
os.chdir(original)
|
||||
|
||||
def test_unchanged_success_passes(self):
|
||||
self.assertEqual(self.check_recap('startup : ok=9 changed=0 unreachable=0 failed=0 skipped=0\n'), 0)
|
||||
|
||||
def test_success_with_unnecessary_changes_blocks(self):
|
||||
self.assertEqual(self.check_recap('startup : ok=9 changed=1 unreachable=0 failed=0 skipped=0\n'), 1)
|
||||
|
||||
def test_missing_recap_is_not_a_success(self):
|
||||
self.assertEqual(self.check_recap('No deployment results\n'), 1)
|
||||
|
||||
def test_ansible_error_blocks_even_with_good_looking_recap(self):
|
||||
self.assertEqual(self.check_recap('startup : ok=9 changed=0 unreachable=0 failed=0\n', 1), 1)
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
@@ -0,0 +1,64 @@
|
||||
# Delivery agent migration — preparation evidence
|
||||
|
||||
Vincent selected The-Ocean instead of the laptop to avoid the previously
|
||||
observed campus SSH restriction. This work occurred on November 14 Eastern;
|
||||
the host's UTC timestamps below fall on November 15, 2026.
|
||||
|
||||
- Existing host: 1 CPU, 1,967 MiB RAM, original 25 GB plan disk, 2 GiB swap.
|
||||
At 03:29 UTC, 811 MiB RAM was available and swap used was 129 MiB.
|
||||
- Transferred the existing agent image, without rebuilding its toolchain:
|
||||
`sha256:0752666650a3afe7b61854c1df4dca21f4ef381fab1f4fb9b042adaa203c58a8`.
|
||||
Transfer archive SHA-256 matched on both machines:
|
||||
`f987fdb285757aabe91fffd21a3a58da00bec975efcce7ee8ef3f127b27d0696`.
|
||||
- Stopped the laptop container before connecting its replacement. Existing
|
||||
node name `ssw590-vince-delivery`, label `delivery-trusted`, one exclusive
|
||||
executor, folder credentials and disabled pricing job were retained.
|
||||
- Remote agent: 512 MiB RAM / 768 MiB RAM+swap, 0.5 CPU, 96 MiB JVM heap,
|
||||
no published port, existing `gitea_web` network, private WebSocket connection.
|
||||
Socket group detected as 987; initial group-0 mismatch was corrected.
|
||||
- Builder: BuildKit v0.34.2 image pinned by index digest in the start helper;
|
||||
256 MiB RAM / 384 MiB RAM+swap, CPU quota 50000/100000, no published port.
|
||||
The pipeline explicitly selects this builder when `DELIVERY_BUILDER` is set.
|
||||
- Deployment SSH: `ssh -G` reports `hostname host.docker.internal` and
|
||||
`hostkeyalias 147.182.178.136`. The existing Jenkins known-hosts credential
|
||||
remains authoritative; host verification was not bypassed.
|
||||
- [Jenkins prerequisite build 2](https://ci.yebilly.me/job/secure-delivery/job/agent-preflight/2/)
|
||||
passed at 03:47 UTC, including real credential binding, deploy login, pinned
|
||||
host key and sudo. See [inventory](agent-preflight-2.txt).
|
||||
- 03:50:16–03:51:43 UTC: the separate capacity preparation trial passed 12
|
||||
control tests and 3 app tests, source-secret/dependency gates, capped image
|
||||
build, full image gate (zero HIGH/CRITICAL), and a temporary 64 MiB app smoke.
|
||||
Health v1, identity `uncommitted-remote-preflight`, total 30 for quantity 3,
|
||||
and HTTP 400 for invalid quantity were verified. The smoke container was
|
||||
removed. No image was pushed and no assessed environment was deployed.
|
||||
- The trial used a non-secret local snapshot of `delivery/app`, `delivery/ci`,
|
||||
the scanner rule and the trial script, not a reviewed full repository checkout.
|
||||
Snapshot archive SHA-256:
|
||||
`2cd5d23062ff9904b48a23dfd5d9f2b9c67929cb86db006e7b2677060da3afa0`.
|
||||
Gate reports retain actual timestamps and tool/database metadata.
|
||||
- Observed available RAM exceeded 700 MiB; swap used increased from 263 to
|
||||
372 MiB during the sampled trial. At 03:54 UTC, 861 MiB was available, swap
|
||||
used was 370 MiB and root disk was 56% used (11 GiB available, rounded by df).
|
||||
Agent cgroup memory-limit events were nonzero; agent and builder `oom` and
|
||||
`oom_kill` counters were zero, and both reported `OOMKilled=false`.
|
||||
- Gitea, Jenkins login and Grafana login returned HTTP 200 through private
|
||||
Docker routes after the trial. Seven previous containers remained running.
|
||||
- Restarted only the agent; logs recorded a fresh WebSocket connection and
|
||||
`Connected` at 03:57:57 UTC. `unless-stopped` is configured for both agent and
|
||||
builder; an entire-host reboot was not performed as part of this migration.
|
||||
|
||||
Raw reports, partial resource-output capture, runtime JSON and screenshot:
|
||||
ignored `build/evidence/assignment8-agent-migration/`. Protected server reports:
|
||||
`/root/ssw590-delivery-bootstrap/agent-migration/`. The short trial used swap
|
||||
and does not prove full release, recovery or campus presentation performance.
|
||||
|
||||
No firewall rule, credential scope, TLS verification, peer-review requirement
|
||||
or human production approval changed. Co-located Docker authority gives trusted
|
||||
jobs administrative access to the shared host; this is an explicit course-lab
|
||||
trade-off. The older Gitea Actions PDF runner remains on the laptop. No new
|
||||
instance or cloud plan change was made. Migration changes are uncommitted;
|
||||
DNS, reviewed releases, production approvals and recovery exercises remain pending.
|
||||
|
||||
Subsequently Vincent requested moving that Actions runner too. The statement
|
||||
above describes the end of the delivery-agent migration, not current placement.
|
||||
See the [later runner record](../../gitea/droplet-runner/EVIDENCE.md).
|
||||
@@ -0,0 +1,32 @@
|
||||
Sat Nov 14 20:46:17 UTC 2026
|
||||
uid=1000(jenkins) gid=1000(jenkins) groups=1000(jenkins),0(root)
|
||||
Python 3.13.5
|
||||
ansible [core 2.21.6]
|
||||
config file = None
|
||||
configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
|
||||
ansible python module location = /opt/delivery-tools/lib/python3.13/site-packages/ansible
|
||||
ansible collection location = /opt/ansible-collections
|
||||
executable location = /opt/delivery-tools/bin/ansible
|
||||
python version = 3.13.5 (main, Aug 10 2026, 12:06:59) [GCC 14.2.0] (/opt/delivery-tools/bin/python3)
|
||||
jinja version = 3.1.6
|
||||
pyyaml version = 6.0.3 (with libyaml v0.2.5)
|
||||
|
||||
# /opt/ansible-collections/ansible_collections
|
||||
Collection Version
|
||||
---------------------------------------- -------
|
||||
community.docker 5.4.0
|
||||
community.library_inventory_filtering_v1 1.1.5
|
||||
Docker version 29.9.3, build 5457199
|
||||
Docker Compose version v5.7.1
|
||||
Version: 0.76.2
|
||||
pip-audit 2.10.1
|
||||
uid=1000(deploy) gid=1000(deploy) groups=1000(deploy)
|
||||
Python 3.12.3
|
||||
Docker version 29.9.3, build 5457199
|
||||
Docker Compose version v5.7.1
|
||||
total used free shared buff/cache available
|
||||
Mem: 1967 1089 85 4 955 878
|
||||
Swap: 2047 102 1945
|
||||
1
|
||||
Filesystem Size Used Avail Use% Mounted on
|
||||
/dev/vda1 24G 9.5G 14G 41% /
|
||||
@@ -0,0 +1,32 @@
|
||||
Sun Nov 15 03:47:13 UTC 2026
|
||||
uid=1000(jenkins) gid=1000(jenkins) groups=1000(jenkins),987
|
||||
Python 3.13.5
|
||||
ansible [core 2.21.6]
|
||||
config file = None
|
||||
configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
|
||||
ansible python module location = /opt/delivery-tools/lib/python3.13/site-packages/ansible
|
||||
ansible collection location = /opt/ansible-collections
|
||||
executable location = /opt/delivery-tools/bin/ansible
|
||||
python version = 3.13.5 (main, Aug 10 2026, 12:06:59) [GCC 14.2.0] (/opt/delivery-tools/bin/python3)
|
||||
jinja version = 3.1.6
|
||||
pyyaml version = 6.0.3 (with libyaml v0.2.5)
|
||||
|
||||
# /opt/ansible-collections/ansible_collections
|
||||
Collection Version
|
||||
---------------------------------------- -------
|
||||
community.docker 5.4.0
|
||||
community.library_inventory_filtering_v1 1.1.5
|
||||
Docker version 29.9.3, build 5457199
|
||||
Docker Compose version v5.7.1
|
||||
Version: 0.76.2
|
||||
pip-audit 2.10.1
|
||||
uid=1000(deploy) gid=1000(deploy) groups=1000(deploy)
|
||||
Python 3.12.3
|
||||
Docker version 29.9.3, build 5457199
|
||||
Docker Compose version v5.7.1
|
||||
total used free shared buff/cache available
|
||||
Mem: 1967 1205 106 3 832 762
|
||||
Swap: 2047 265 1782
|
||||
1
|
||||
Filesystem Size Used Avail Use% Mounted on
|
||||
/dev/vda1 24G 12G 13G 49% /
|
||||
@@ -0,0 +1,35 @@
|
||||
Sun Nov 15 22:50:10 UTC 2026
|
||||
uid=1000(jenkins) gid=1000(jenkins) groups=1000(jenkins),987
|
||||
Python 3.13.5
|
||||
ansible [core 2.21.6]
|
||||
config file = None
|
||||
configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
|
||||
ansible python module location = /opt/delivery-tools/lib/python3.13/site-packages/ansible
|
||||
ansible collection location = /opt/ansible-collections
|
||||
executable location = /opt/delivery-tools/bin/ansible
|
||||
python version = 3.13.5 (main, Aug 10 2026, 12:06:59) [GCC 14.2.0] (/opt/delivery-tools/bin/python3)
|
||||
jinja version = 3.1.6
|
||||
pyyaml version = 6.0.3 (with libyaml v0.2.5)
|
||||
|
||||
# /opt/ansible-collections/ansible_collections
|
||||
Collection Version
|
||||
---------------------------------------- -------
|
||||
community.docker 5.4.0
|
||||
community.library_inventory_filtering_v1 1.1.5
|
||||
Docker version 29.9.3, build 5457199
|
||||
Docker Compose version v5.7.1
|
||||
Version: 0.76.2
|
||||
pip-audit 2.10.1
|
||||
uid=1000(deploy) gid=1000(deploy) groups=1000(deploy)
|
||||
Python 3.12.3
|
||||
Docker version 29.9.3, build 5457199
|
||||
Docker Compose version v5.7.1
|
||||
total used free shared buff/cache available
|
||||
Mem: 1967 1239 86 3 817 728
|
||||
Swap: 2047 413 1634
|
||||
1
|
||||
Filesystem Size Used Avail Use% Mounted on
|
||||
/dev/vda1 24G 15G 9.2G 61% /
|
||||
147.182.178.136 | CHANGED | rc=0 >>
|
||||
0
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
# Assessed Jenkins gate demonstrations — 15 November 2026
|
||||
|
||||
Reviewed source: `09731acb0370566471dd4e401e59bafe55e927dc`, the merge of
|
||||
[PR 24](https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/pulls/24).
|
||||
Billy (`bill`) approved the latest preparation head `ed0a862` at 21:06 UTC;
|
||||
Vincent merged it at 21:59 UTC. The merge-triggered manual workflow
|
||||
[run 13](https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/actions/runs/13)
|
||||
passed in 2m25s before the delivery demonstrations began.
|
||||
|
||||
| Jenkins pricing run | Mode | Actual result |
|
||||
|---|---|---|
|
||||
| [1](https://ci.yebilly.me/job/secure-delivery/job/pricing/1/) | `blocked-test` | FAILURE as intended, 54.202 seconds. Twelve control tests and three normal Flask tests passed; the additional expected-total=-1 assertion failed against the real v1 total 30. All later security, publication, deployment and approval stages were skipped. |
|
||||
| [2](https://ci.yebilly.me/job/secure-delivery/job/pricing/2/) | `blocked-secret` | FAILURE as intended, 31.375 seconds. Twelve control tests and three Flask tests passed. Clean-source scanning and all nine locked dependency audits passed; the generated synthetic-secret fixture was detected, blocking publication, deployment and approval. |
|
||||
|
||||
Run 1 began at 22:11:34.732 UTC. Run 2 began at 22:12:51.073 UTC;
|
||||
its source gate ran from 22:13:14.233 to 22:13:20.115 UTC. The scanner itself
|
||||
returned zero after writing a valid report; the gate wrapper returned one
|
||||
because that report contained a finding. This is expected policy enforcement,
|
||||
not a scanner execution error. The synthetic fixture is nonfunctional and
|
||||
generated only in a temporary directory; captured match/code fields are redacted.
|
||||
|
||||
Jenkins archives the test and gate reports for each run. Exact local copies,
|
||||
selected build metadata and console logs are retained in ignored
|
||||
`build/evidence/assignment8-execution/jenkins-{1,2}/`. These two negative
|
||||
demonstrations do not establish a successful release or production approval.
|
||||
|
||||
The job was enabled only after the merge. A bootstrap MODE choice parameter
|
||||
allowed the first run to select `blocked-test`; the reviewed Jenkinsfile then
|
||||
installed its normal four parameter definitions and retained its approval,
|
||||
timeout, concurrency and ancestry checks. Existing credentials and access
|
||||
permissions were unchanged.
|
||||
@@ -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
|
||||
}
|
||||
@@ -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'
|
||||
@@ -0,0 +1,36 @@
|
||||
# DNS and HTTPS readiness — 15 November 2026
|
||||
|
||||
Billy added A records for `staging.yebilly.me` and `app.yebilly.me` pointing to
|
||||
`147.182.178.136`. At 06:14 UTC, Google and Cloudflare DNS-over-HTTPS both returned
|
||||
that A record and no AAAA answer for each name. No DNS account was accessed or
|
||||
changed by Codex.
|
||||
|
||||
At 06:09:34 UTC, the prepared `deploy/Caddyfile` additions were validated with
|
||||
installed Caddy 2.11.4, backed up and gracefully reloaded. The helper checked
|
||||
that earlier routes matched before changing anything and preserved the existing
|
||||
bind-mounted inode. The first comparison stopped because of CRLF versus LF;
|
||||
normalizing only that comparison allowed the matching routes to pass.
|
||||
|
||||
- Before SHA-256: `0197f100c5a1f2a21c6a293964fada27f61fe6f4ddf0b0c6d1ed6455f2cfbcc5`.
|
||||
- After SHA-256: `7adbd9469b1e0ebcb8d6b62c8576eb4fb8b51efc70409607f604f453f8ac8187`.
|
||||
- Backup: `/root/ssw590-delivery-bootstrap/https-20261115/Caddyfile.before`.
|
||||
- Existing Gitea/Jenkins/Grafana routes, allowlist placeholders, volumes and
|
||||
certificate storage were preserved. No firewall or published port changed.
|
||||
|
||||
Normal Windows curl and Ubuntu Python TLS checks passed without insecure mode.
|
||||
Both hostnames negotiated TLS 1.3 with trusted hostname-matching certificates.
|
||||
HTTP returned 308 with the corresponding HTTPS Location. HTTPS returned 502:
|
||||
the staging/production pricing containers do not exist yet. This proves DNS,
|
||||
TLS and redirects, not app health or a completed release.
|
||||
|
||||
All ten prior service/agent/builder containers remained running. Gitea, Jenkins
|
||||
login and Grafana login returned private HTTP 200 after the reload. Production
|
||||
monitoring was not enabled while the pricing service was absent.
|
||||
|
||||
Actual DNS answers, certificate issuer/SAN/validity/fingerprints and HTTP results
|
||||
are in ignored `build/evidence/assignment8-https/verification.json`; application
|
||||
and existing-service checks remain separate. No reviewed release, registry
|
||||
publication, promotion, rollback, password reset or account-permission change
|
||||
was performed during this work. The source changes remain uncommitted.
|
||||
|
||||
Caddy behavior: [Automatic HTTPS](https://caddyserver.com/docs/automatic-https).
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"applied_at": "2026-11-16T03:08:11.087796+00:00",
|
||||
"production_health": {
|
||||
"status": "ok",
|
||||
"version": "v1"
|
||||
},
|
||||
"validation": "Checking /tmp/ssw590-production-probe-20261116T030810544427Z.yml\n SUCCESS: /tmp/ssw590-production-probe-20261116T030810544427Z.yml is valid prometheus config file syntax\n\n",
|
||||
"prior_probes_and_panels_preserved": true,
|
||||
"files": [
|
||||
{
|
||||
"path": "/root/monitoring/prometheus/prometheus.yml",
|
||||
"before_sha256": "fe1d0f479d947e20ea7ebfec164689fe69ea9539ba0289adc2b7d26b8ffe62d6",
|
||||
"after_sha256": "e35bc7fb3d09f7b3442324a2af147d8f1319ae1f0631ba81ed7577bb63826edd",
|
||||
"inode_preserved": true
|
||||
},
|
||||
{
|
||||
"path": "/root/monitoring/grafana/dashboards/sre.json",
|
||||
"before_sha256": "c21fadca47ee624001133a82b788e728d08168664302666ed103113f3bec5f13",
|
||||
"after_sha256": "08f99b845e5d56b81f54bf1b386aa50a54a88296ce5caf9496c5bfbf62929ed1",
|
||||
"inode_preserved": true
|
||||
}
|
||||
],
|
||||
"backup": "/root/ssw590-delivery-bootstrap/monitoring-20261116",
|
||||
"reload": "Prometheus SIGHUP; Grafana file provisioning",
|
||||
"result": "applied; runtime probe and panel verification still required"
|
||||
}
|
||||
@@ -0,0 +1,218 @@
|
||||
{
|
||||
"observed_at": "2026-11-16T03:14:11.206493+00:00",
|
||||
"queries": {
|
||||
"probe_success{job=\"https\"}": [
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "probe_success",
|
||||
"instance": "https://ci.yebilly.me/login",
|
||||
"job": "https"
|
||||
},
|
||||
"value": [
|
||||
1794798851.242,
|
||||
"1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "probe_success",
|
||||
"instance": "https://git.yebilly.me/user/login",
|
||||
"job": "https"
|
||||
},
|
||||
"value": [
|
||||
1794798851.242,
|
||||
"1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "probe_success",
|
||||
"instance": "https://app.yebilly.me/health",
|
||||
"job": "https"
|
||||
},
|
||||
"value": [
|
||||
1794798851.242,
|
||||
"1"
|
||||
]
|
||||
}
|
||||
],
|
||||
"prometheus_config_last_reload_successful": [
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "prometheus_config_last_reload_successful",
|
||||
"instance": "prometheus:9090",
|
||||
"job": "prometheus"
|
||||
},
|
||||
"value": [
|
||||
1794798851.244,
|
||||
"1"
|
||||
]
|
||||
}
|
||||
],
|
||||
"up": [
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "up",
|
||||
"instance": "blackbox-exporter:9115",
|
||||
"job": "blackbox"
|
||||
},
|
||||
"value": [
|
||||
1794798851.245,
|
||||
"1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "up",
|
||||
"instance": "prometheus:9090",
|
||||
"job": "prometheus"
|
||||
},
|
||||
"value": [
|
||||
1794798851.245,
|
||||
"1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "up",
|
||||
"instance": "https://ci.yebilly.me/login",
|
||||
"job": "https"
|
||||
},
|
||||
"value": [
|
||||
1794798851.245,
|
||||
"1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "up",
|
||||
"instance": "https://git.yebilly.me/user/login",
|
||||
"job": "https"
|
||||
},
|
||||
"value": [
|
||||
1794798851.245,
|
||||
"1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "up",
|
||||
"instance": "node-exporter:9100",
|
||||
"job": "node"
|
||||
},
|
||||
"value": [
|
||||
1794798851.245,
|
||||
"1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "up",
|
||||
"instance": "https://app.yebilly.me/health",
|
||||
"job": "https"
|
||||
},
|
||||
"value": [
|
||||
1794798851.245,
|
||||
"1"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"targets": [
|
||||
{
|
||||
"labels": {
|
||||
"instance": "blackbox-exporter:9115",
|
||||
"job": "blackbox"
|
||||
},
|
||||
"health": "up",
|
||||
"lastError": "",
|
||||
"lastScrape": "2026-11-16T03:13:46.738098436Z"
|
||||
},
|
||||
{
|
||||
"labels": {
|
||||
"instance": "https://git.yebilly.me/user/login",
|
||||
"job": "https"
|
||||
},
|
||||
"health": "up",
|
||||
"lastError": "",
|
||||
"lastScrape": "2026-11-16T03:14:02.878212313Z"
|
||||
},
|
||||
{
|
||||
"labels": {
|
||||
"instance": "https://ci.yebilly.me/login",
|
||||
"job": "https"
|
||||
},
|
||||
"health": "up",
|
||||
"lastError": "",
|
||||
"lastScrape": "2026-11-16T03:13:50.769303819Z"
|
||||
},
|
||||
{
|
||||
"labels": {
|
||||
"instance": "https://app.yebilly.me/health",
|
||||
"job": "https"
|
||||
},
|
||||
"health": "up",
|
||||
"lastError": "",
|
||||
"lastScrape": "2026-11-16T03:13:54.602557327Z"
|
||||
},
|
||||
{
|
||||
"labels": {
|
||||
"instance": "node-exporter:9100",
|
||||
"job": "node"
|
||||
},
|
||||
"health": "up",
|
||||
"lastError": "",
|
||||
"lastScrape": "2026-11-16T03:14:06.522911829Z"
|
||||
},
|
||||
{
|
||||
"labels": {
|
||||
"instance": "prometheus:9090",
|
||||
"job": "prometheus"
|
||||
},
|
||||
"health": "up",
|
||||
"lastError": "",
|
||||
"lastScrape": "2026-11-16T03:13:47.742950331Z"
|
||||
}
|
||||
],
|
||||
"dashboard_provisioning_source": {
|
||||
"uid": "group1-sre",
|
||||
"title": "Group 1 SRE",
|
||||
"panels": [
|
||||
{
|
||||
"id": 1,
|
||||
"title": "Droplet CPU utilization (%)"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"title": "Available memory (bytes)"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"title": "Root filesystem available (%)"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"title": "Gitea HTTPS availability (probe_success)"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"title": "Jenkins HTTPS availability (probe_success)"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"title": "HTTPS probe duration (s)"
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"title": "Scrape health (up)"
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"title": "Pricing production HTTPS availability (probe_success)"
|
||||
}
|
||||
]
|
||||
},
|
||||
"production_probe_up": true,
|
||||
"pricing_panel_configured": true,
|
||||
"runtime_panel_verification": "Separate Grafana UI verification required"
|
||||
}
|
||||
@@ -0,0 +1,615 @@
|
||||
{
|
||||
"review": {
|
||||
"pr": 27,
|
||||
"url": "https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/pulls/27",
|
||||
"reviewer": "bill",
|
||||
"approved_utc": "2026-11-16T04:12:09Z",
|
||||
"merged_by": "vsun1",
|
||||
"merged_utc": "2026-11-16T04:14:30Z",
|
||||
"main_commit": "72bf10dcecc8db65dce4750c05bf841bea9b0834",
|
||||
"manual_workflow": 16,
|
||||
"manual_result": "SUCCESS",
|
||||
"manual_elapsed_seconds": 137
|
||||
},
|
||||
"staging_fault_commit": "1e23001e7303d14630cfa97c8de36f31f30b81a0",
|
||||
"staging_revert_commit": "29e580c4613f00a02f44bce0dbcee2fd8fdc83ae",
|
||||
"tracking_issue": {
|
||||
"number": 28,
|
||||
"url": "https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/issues/28",
|
||||
"created_utc": "2026-11-16T04:33:40Z",
|
||||
"timing": "Created with Vincent authorization during finalization, after implementation and exercises"
|
||||
},
|
||||
"decisions": {
|
||||
"production": {
|
||||
"decision_utc": "2026-11-16T04:17:46.307026+00:00",
|
||||
"environment": "production",
|
||||
"reason": "Planned healthy v2-to-v1 production rollback exercise; no incident claimed",
|
||||
"reviewed_main": "72bf10dcecc8db65dce4750c05bf841bea9b0834",
|
||||
"before": {
|
||||
"/health": {
|
||||
"http_status": 200,
|
||||
"body": {
|
||||
"status": "ok",
|
||||
"version": "v2"
|
||||
}
|
||||
},
|
||||
"/": {
|
||||
"http_status": 200,
|
||||
"body": {
|
||||
"commit": "6bddbfba5a36e0e397537678ffb197e101fb0670",
|
||||
"service": "Startup Pricing",
|
||||
"version": "v2"
|
||||
}
|
||||
},
|
||||
"/price?quantity=3": {
|
||||
"http_status": 200,
|
||||
"body": {
|
||||
"currency": "USD",
|
||||
"quantity": 3,
|
||||
"total": 36
|
||||
}
|
||||
}
|
||||
},
|
||||
"observer_seconds": 1800,
|
||||
"observer_interval_seconds": 1,
|
||||
"observer_pid": 99107
|
||||
},
|
||||
"staging": {
|
||||
"decision_utc": "2026-11-16T04:25:23.939561+00:00",
|
||||
"environment": "staging",
|
||||
"reason": "Planned isolated staging bind mismatch and recovery exercise",
|
||||
"reviewed_main": "72bf10dcecc8db65dce4750c05bf841bea9b0834",
|
||||
"before": {
|
||||
"/health": {
|
||||
"http_status": 200,
|
||||
"body": {
|
||||
"status": "ok",
|
||||
"version": "v2"
|
||||
}
|
||||
},
|
||||
"/": {
|
||||
"http_status": 200,
|
||||
"body": {
|
||||
"commit": "6bddbfba5a36e0e397537678ffb197e101fb0670",
|
||||
"service": "Startup Pricing",
|
||||
"version": "v2"
|
||||
}
|
||||
},
|
||||
"/price?quantity=3": {
|
||||
"http_status": 200,
|
||||
"body": {
|
||||
"currency": "USD",
|
||||
"quantity": 3,
|
||||
"total": 36
|
||||
}
|
||||
}
|
||||
},
|
||||
"observer_seconds": 1800,
|
||||
"observer_interval_seconds": 1,
|
||||
"observer_pid": 105221
|
||||
}
|
||||
},
|
||||
"builds": [
|
||||
{
|
||||
"result": "FAILURE",
|
||||
"duration": "17784",
|
||||
"startTime": "1794802675044",
|
||||
"timestamp": "1794802675036",
|
||||
"number": 7,
|
||||
"parameters": {
|
||||
"MODE": "rollback-production",
|
||||
"SOURCE_COMMIT": "",
|
||||
"RELEASE_RECORD": "delivery/releases/v1-production.json",
|
||||
"STAGING_FAILURE_CONFIG": ""
|
||||
},
|
||||
"url": "https://ci.yebilly.me/job/secure-delivery/job/pricing/7/",
|
||||
"started_utc": "2026-11-16T04:17:55.044000+00:00",
|
||||
"completed_utc": "2026-11-16T04:18:12.828000+00:00",
|
||||
"elapsed_seconds": 17.784,
|
||||
"control_commit": "72bf10dcecc8db65dce4750c05bf841bea9b0834",
|
||||
"report_sha256": {
|
||||
"reports\\source-commit.txt": "d32fa240635dc770690e10403280212691e8fff9e8e9479ed2d5382c7fa47b63"
|
||||
},
|
||||
"console_sha256": "ffb0fdf1e6a4da50eed4f10535208b6646985da94a565d543f29615b2980281b",
|
||||
"deployments": {},
|
||||
"runner_incident": {
|
||||
"failure": "Cannot fork during test-app.sh before deployment",
|
||||
"observations": "Before restart, cgroup pids.current=115/128 and pids.events max=2; Docker stats PIDS=114, memory=132.6 MiB/512 MiB; no OOM kill. Process listing showed Java only; no accumulation mechanism was established.",
|
||||
"action": "Restarted only the idle existing delivery-agent container, preserving image, identity/workspace and resource/security limits. Immediate Docker stats PIDS=13. Retried as build 8.",
|
||||
"limits_changed": false,
|
||||
"root_cause": "Process-limit pressure observed; underlying accumulation mechanism not proven"
|
||||
}
|
||||
},
|
||||
{
|
||||
"result": "SUCCESS",
|
||||
"duration": "163654",
|
||||
"startTime": "1794802924875",
|
||||
"timestamp": "1794802924865",
|
||||
"number": 8,
|
||||
"parameters": {
|
||||
"MODE": "rollback-production",
|
||||
"SOURCE_COMMIT": "",
|
||||
"RELEASE_RECORD": "delivery/releases/v1-production.json",
|
||||
"STAGING_FAILURE_CONFIG": ""
|
||||
},
|
||||
"url": "https://ci.yebilly.me/job/secure-delivery/job/pricing/8/",
|
||||
"started_utc": "2026-11-16T04:22:04.875000+00:00",
|
||||
"completed_utc": "2026-11-16T04:24:48.529000+00:00",
|
||||
"elapsed_seconds": 163.654,
|
||||
"control_commit": "72bf10dcecc8db65dce4750c05bf841bea9b0834",
|
||||
"report_sha256": {
|
||||
"reports\\ansible-production-deploy.json": "201c1a045f5fdcbcb2254a501c74a0a560dbcf091e3aadf825be59db804aea11",
|
||||
"reports\\ansible-production-deploy.txt": "ba845712187efc5fd4b6d3b757d1ea643aa399b377b3c2382e83d632171e7550",
|
||||
"reports\\dependencies.json": "efe1d4f130ea70d6fcf733a3051d05c03cd0b1e0ab25e471ac6dc62924136ff5",
|
||||
"reports\\dependencies.log": "79d30422388543b2563e1dde76bb7e7857d7ef0c6fdf05c8c71598633ca07e1e",
|
||||
"reports\\pip-audit-version.log": "70d9a63a0ea389b4992009be156f8738d7c22f2f5c049084054528ed7f9eee0c",
|
||||
"reports\\production-approval.txt": "6566df927fb18e6e297634d4dd522cf4c759c4fc008c6176d942672d5792cf95",
|
||||
"reports\\source-commit.txt": "d32fa240635dc770690e10403280212691e8fff9e8e9479ed2d5382c7fa47b63",
|
||||
"reports\\source-execution.json": "ba5b68047d9dac04089b31fb29fb40a3cb51b992c02f974444d300d504d0f5e1",
|
||||
"reports\\source-secrets.json": "72bd267761ba93c546536807f9b7e790797c38742cb36370d9679d6dcb1441b5",
|
||||
"reports\\source-secrets.log": "5a9fe951960c7abd0708e7155c0ab4729ef8f2d3edf84da7d35c8086f8dbee01",
|
||||
"reports\\trivy-version.log": "fdfa3e3b4b56139b5fe7bbecf4fe9a542298ee21bfd83d1f5e79b78f67b44c68",
|
||||
"reports\\unit-tests.json": "4e85118262b6728c253125415a37ddf3a3457abeda987bf1bcdb321cf3c57e8e",
|
||||
"reports\\unit-tests.txt": "1d86b5cda3b26f9b3b40dad45794b90949d1b1bbd12ee7520977e3654913566f"
|
||||
},
|
||||
"console_sha256": "98dde3f24af6fd114f092be6f23d288f9f61ce33bf73c51ba07935d8addba243",
|
||||
"deployments": {
|
||||
"ansible-production-deploy": {
|
||||
"started": "2026-11-16T04:23:42.801152+00:00",
|
||||
"completed": "2026-11-16T04:24:46.705083+00:00",
|
||||
"elapsed_seconds": 63.904,
|
||||
"operation": "deploy",
|
||||
"release": {
|
||||
"release_image": "git.yebilly.me/ssw590-group1/pricing@sha256:59c880b2704f91668618d9a2ff0bc8fbab0af4239ceb916de261863890ef88d8",
|
||||
"expected_commit": "34f26e6948b7001ede8ca19f23b67a02082e6a9a",
|
||||
"configuration_commit": "34f26e6948b7001ede8ca19f23b67a02082e6a9a",
|
||||
"expected_version": "v1",
|
||||
"expected_total": 30,
|
||||
"proxy_network": "gitea_web",
|
||||
"build_url": "https://ci.yebilly.me/job/secure-delivery/job/pricing/5/",
|
||||
"created_at": "2026-11-16T03:01:23.246375+00:00",
|
||||
"target_env": "production",
|
||||
"public_url": "https://app.yebilly.me"
|
||||
},
|
||||
"ansible_exit_code": 0,
|
||||
"recaps": [
|
||||
{
|
||||
"host": "startup",
|
||||
"ok": 10,
|
||||
"changed": 3,
|
||||
"unreachable": 0,
|
||||
"failed": 0
|
||||
}
|
||||
],
|
||||
"result": "passed"
|
||||
}
|
||||
},
|
||||
"gates": {
|
||||
"control_tests": 12,
|
||||
"app_tests": 3,
|
||||
"source_secrets": 0,
|
||||
"audited_dependencies": 9,
|
||||
"dependency_advisories": 0,
|
||||
"source_gate": "passed",
|
||||
"image_build_publish": "skipped: exact previously scanned release digest reused"
|
||||
},
|
||||
"approval": {
|
||||
"Approver": "vsun1",
|
||||
"Decision": "approved",
|
||||
"UTC": "2026-11-16T04:23:36Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
"result": "FAILURE",
|
||||
"duration": "128235",
|
||||
"startTime": "1794803149011",
|
||||
"timestamp": "1794803149001",
|
||||
"number": 9,
|
||||
"parameters": {
|
||||
"MODE": "staging-failure",
|
||||
"SOURCE_COMMIT": "",
|
||||
"RELEASE_RECORD": "delivery/releases/v2-staging.json",
|
||||
"STAGING_FAILURE_CONFIG": "1e23001e7303d14630cfa97c8de36f31f30b81a0"
|
||||
},
|
||||
"url": "https://ci.yebilly.me/job/secure-delivery/job/pricing/9/",
|
||||
"started_utc": "2026-11-16T04:25:49.011000+00:00",
|
||||
"completed_utc": "2026-11-16T04:27:57.246000+00:00",
|
||||
"elapsed_seconds": 128.235,
|
||||
"control_commit": "72bf10dcecc8db65dce4750c05bf841bea9b0834",
|
||||
"report_sha256": {
|
||||
"reports\\ansible-staging-deploy.json": "a3e6f2ec37c87c8989ff86d76a0d7adde4269b1ca4711252a87493b7f130eca6",
|
||||
"reports\\ansible-staging-deploy.txt": "81224e3fe7b3e2fd873fb4efccd4fcf539cefd7b5c22e2f62a380fadaf07acf5",
|
||||
"reports\\dependencies.json": "efe1d4f130ea70d6fcf733a3051d05c03cd0b1e0ab25e471ac6dc62924136ff5",
|
||||
"reports\\dependencies.log": "79d30422388543b2563e1dde76bb7e7857d7ef0c6fdf05c8c71598633ca07e1e",
|
||||
"reports\\pip-audit-version.log": "70d9a63a0ea389b4992009be156f8738d7c22f2f5c049084054528ed7f9eee0c",
|
||||
"reports\\source-commit.txt": "d32fa240635dc770690e10403280212691e8fff9e8e9479ed2d5382c7fa47b63",
|
||||
"reports\\source-execution.json": "9412c68aff2731f64d7ec8f0a5b385f06ff0cdd00695e95637bea641c27954b3",
|
||||
"reports\\source-secrets.json": "1c19587e36004d75715c36a1de0a1de995206810b4cdcc4191913cf1dddc8870",
|
||||
"reports\\source-secrets.log": "304aacf31aa559e3ebc960cdbfaacdc5acd332b02ef549767c807ad881e83d00",
|
||||
"reports\\trivy-version.log": "fdfa3e3b4b56139b5fe7bbecf4fe9a542298ee21bfd83d1f5e79b78f67b44c68",
|
||||
"reports\\unit-tests.json": "348cec2062b44e325a1ce6c8ba9f58b5138f0cdba1b99a20ffbff4b0597c12fe",
|
||||
"reports\\unit-tests.txt": "00f03324a514a809d96c5ff8c178bf619ba0c860c2b2eacf81be492ace71cf2b"
|
||||
},
|
||||
"console_sha256": "d5a3b8260c102a179b7749f1e247299e42a629b09e313ba0796b42e8c8ab8e0c",
|
||||
"deployments": {
|
||||
"ansible-staging-deploy": {
|
||||
"started": "2026-11-16T04:26:25.353545+00:00",
|
||||
"completed": "2026-11-16T04:27:52.043305+00:00",
|
||||
"elapsed_seconds": 86.69,
|
||||
"operation": "deploy",
|
||||
"release": {
|
||||
"release_image": "git.yebilly.me/ssw590-group1/pricing@sha256:efe8658a0adf0854038d58199652030cbd0ef70047a1c6ebc7b09906cf1ec88b",
|
||||
"expected_commit": "6bddbfba5a36e0e397537678ffb197e101fb0670",
|
||||
"configuration_commit": "1e23001e7303d14630cfa97c8de36f31f30b81a0",
|
||||
"expected_version": "v2",
|
||||
"expected_total": 36,
|
||||
"proxy_network": "gitea_web",
|
||||
"build_url": "https://ci.yebilly.me/job/secure-delivery/job/pricing/6/",
|
||||
"created_at": "2026-11-16T03:06:40.913173+00:00",
|
||||
"target_env": "staging",
|
||||
"public_url": "https://staging.yebilly.me"
|
||||
},
|
||||
"ansible_exit_code": 2,
|
||||
"recaps": [
|
||||
{
|
||||
"host": "startup",
|
||||
"ok": 4,
|
||||
"changed": 1,
|
||||
"unreachable": 0,
|
||||
"failed": 1
|
||||
}
|
||||
],
|
||||
"result": "blocked"
|
||||
}
|
||||
},
|
||||
"gates": {
|
||||
"control_tests": 12,
|
||||
"app_tests": 3,
|
||||
"source_secrets": 0,
|
||||
"audited_dependencies": 9,
|
||||
"dependency_advisories": 0,
|
||||
"source_gate": "passed",
|
||||
"image_build_publish": "skipped: exact previously scanned release digest reused"
|
||||
},
|
||||
"blocked_before_production": true
|
||||
},
|
||||
{
|
||||
"result": "SUCCESS",
|
||||
"duration": "141672",
|
||||
"startTime": "1794803318093",
|
||||
"timestamp": "1794803318085",
|
||||
"number": 10,
|
||||
"parameters": {
|
||||
"MODE": "recover-staging",
|
||||
"SOURCE_COMMIT": "",
|
||||
"RELEASE_RECORD": "delivery/releases/v2-staging.json",
|
||||
"STAGING_FAILURE_CONFIG": ""
|
||||
},
|
||||
"url": "https://ci.yebilly.me/job/secure-delivery/job/pricing/10/",
|
||||
"started_utc": "2026-11-16T04:28:38.093000+00:00",
|
||||
"completed_utc": "2026-11-16T04:30:59.765000+00:00",
|
||||
"elapsed_seconds": 141.672,
|
||||
"control_commit": "72bf10dcecc8db65dce4750c05bf841bea9b0834",
|
||||
"report_sha256": {
|
||||
"reports\\ansible-staging-deploy.json": "ed55e946f9e8bb13225ce0a8811024d540f9fe4294323d2ee455f3acf2845657",
|
||||
"reports\\ansible-staging-deploy.txt": "07f0481909dfde24de95ac0a1db610a094d9fffa936c3cff689fcd6c821d63fb",
|
||||
"reports\\ansible-staging-rerun.json": "26305363b025835bd3153520e70079f61a91dd23baa4e36f7222afe8f74c412d",
|
||||
"reports\\ansible-staging-rerun.txt": "911564f4c8bf57d9520a443034e0bc9de4abf7726ca0b8c2b3afa97943b4a91d",
|
||||
"reports\\dependencies.json": "efe1d4f130ea70d6fcf733a3051d05c03cd0b1e0ab25e471ac6dc62924136ff5",
|
||||
"reports\\dependencies.log": "79d30422388543b2563e1dde76bb7e7857d7ef0c6fdf05c8c71598633ca07e1e",
|
||||
"reports\\pip-audit-version.log": "70d9a63a0ea389b4992009be156f8738d7c22f2f5c049084054528ed7f9eee0c",
|
||||
"reports\\source-commit.txt": "d32fa240635dc770690e10403280212691e8fff9e8e9479ed2d5382c7fa47b63",
|
||||
"reports\\source-execution.json": "d78b9b30bba14b4f3323fb092a153056b813a06a6a8d1ebab4adfdecaeded57d",
|
||||
"reports\\source-secrets.json": "520f12af3fd8864aeb7b559e0f9c0259af1e4a82b5d2d80bcd863d80fc59c110",
|
||||
"reports\\source-secrets.log": "4a69a54407e808d23fc6ae73f37542f1e959f9556673109c59bcc7c2b968f1a9",
|
||||
"reports\\trivy-version.log": "fdfa3e3b4b56139b5fe7bbecf4fe9a542298ee21bfd83d1f5e79b78f67b44c68",
|
||||
"reports\\unit-tests.json": "98a1ea888dffc5ca4bf86099df73b5f5381f5f152e749c69ab0354e8c08d5835",
|
||||
"reports\\unit-tests.txt": "5b85444f8bb9c230b2cdaad8cc115d29731678013be9758c1a8b3aa48796bf05"
|
||||
},
|
||||
"console_sha256": "ae14281ab7598b35d44ee27fa223a6d2db95109506befefa400d5266e582f7ec",
|
||||
"deployments": {
|
||||
"ansible-staging-deploy": {
|
||||
"started": "2026-11-16T04:29:10.105956+00:00",
|
||||
"completed": "2026-11-16T04:30:06.602542+00:00",
|
||||
"elapsed_seconds": 56.497,
|
||||
"operation": "deploy",
|
||||
"release": {
|
||||
"release_image": "git.yebilly.me/ssw590-group1/pricing@sha256:efe8658a0adf0854038d58199652030cbd0ef70047a1c6ebc7b09906cf1ec88b",
|
||||
"expected_commit": "6bddbfba5a36e0e397537678ffb197e101fb0670",
|
||||
"configuration_commit": "6bddbfba5a36e0e397537678ffb197e101fb0670",
|
||||
"expected_version": "v2",
|
||||
"expected_total": 36,
|
||||
"proxy_network": "gitea_web",
|
||||
"build_url": "https://ci.yebilly.me/job/secure-delivery/job/pricing/6/",
|
||||
"created_at": "2026-11-16T03:06:40.913173+00:00",
|
||||
"target_env": "staging",
|
||||
"public_url": "https://staging.yebilly.me"
|
||||
},
|
||||
"ansible_exit_code": 0,
|
||||
"recaps": [
|
||||
{
|
||||
"host": "startup",
|
||||
"ok": 10,
|
||||
"changed": 2,
|
||||
"unreachable": 0,
|
||||
"failed": 0
|
||||
}
|
||||
],
|
||||
"result": "passed"
|
||||
},
|
||||
"ansible-staging-rerun": {
|
||||
"started": "2026-11-16T04:30:10.351831+00:00",
|
||||
"completed": "2026-11-16T04:30:58.450829+00:00",
|
||||
"elapsed_seconds": 48.099,
|
||||
"operation": "rerun",
|
||||
"release": {
|
||||
"release_image": "git.yebilly.me/ssw590-group1/pricing@sha256:efe8658a0adf0854038d58199652030cbd0ef70047a1c6ebc7b09906cf1ec88b",
|
||||
"expected_commit": "6bddbfba5a36e0e397537678ffb197e101fb0670",
|
||||
"configuration_commit": "6bddbfba5a36e0e397537678ffb197e101fb0670",
|
||||
"expected_version": "v2",
|
||||
"expected_total": 36,
|
||||
"proxy_network": "gitea_web",
|
||||
"build_url": "https://ci.yebilly.me/job/secure-delivery/job/pricing/6/",
|
||||
"created_at": "2026-11-16T03:06:40.913173+00:00",
|
||||
"target_env": "staging",
|
||||
"public_url": "https://staging.yebilly.me"
|
||||
},
|
||||
"ansible_exit_code": 0,
|
||||
"recaps": [
|
||||
{
|
||||
"host": "startup",
|
||||
"ok": 10,
|
||||
"changed": 0,
|
||||
"unreachable": 0,
|
||||
"failed": 0
|
||||
}
|
||||
],
|
||||
"result": "passed"
|
||||
}
|
||||
},
|
||||
"gates": {
|
||||
"control_tests": 12,
|
||||
"app_tests": 3,
|
||||
"source_secrets": 0,
|
||||
"audited_dependencies": 9,
|
||||
"dependency_advisories": 0,
|
||||
"source_gate": "passed",
|
||||
"image_build_publish": "skipped: exact previously scanned release digest reused"
|
||||
}
|
||||
}
|
||||
],
|
||||
"observer_analysis": {
|
||||
"production": {
|
||||
"samples": 863,
|
||||
"failed_samples": 9,
|
||||
"first": {
|
||||
"started_utc": "2026-11-16T04:17:46.446751+00:00",
|
||||
"elapsed_seconds": "0.053",
|
||||
"http_status": "200",
|
||||
"status": "ok",
|
||||
"version": "v2",
|
||||
"error": "",
|
||||
"completed_utc": "2026-11-16T04:17:46.499751+00:00"
|
||||
},
|
||||
"last": {
|
||||
"started_utc": "2026-11-16T04:32:10.607054+00:00",
|
||||
"elapsed_seconds": "0.018",
|
||||
"http_status": "200",
|
||||
"status": "ok",
|
||||
"version": "v1",
|
||||
"error": "",
|
||||
"completed_utc": "2026-11-16T04:32:10.625054+00:00"
|
||||
},
|
||||
"first_seen_versions": {
|
||||
"v2": {
|
||||
"started_utc": "2026-11-16T04:17:46.446751+00:00",
|
||||
"elapsed_seconds": "0.053",
|
||||
"http_status": "200",
|
||||
"status": "ok",
|
||||
"version": "v2",
|
||||
"error": "",
|
||||
"completed_utc": "2026-11-16T04:17:46.499751+00:00"
|
||||
},
|
||||
"v1": {
|
||||
"started_utc": "2026-11-16T04:24:23.645071+00:00",
|
||||
"elapsed_seconds": "1.668",
|
||||
"http_status": "200",
|
||||
"status": "ok",
|
||||
"version": "v1",
|
||||
"error": "",
|
||||
"completed_utc": "2026-11-16T04:24:25.313071+00:00"
|
||||
}
|
||||
},
|
||||
"failure_clusters": [
|
||||
{
|
||||
"count": 9,
|
||||
"first_failed": {
|
||||
"started_utc": "2026-11-16T04:24:13.628753+00:00",
|
||||
"elapsed_seconds": "0.034",
|
||||
"http_status": "502",
|
||||
"status": "",
|
||||
"version": "",
|
||||
"error": "HTTPError",
|
||||
"completed_utc": "2026-11-16T04:24:13.662753+00:00"
|
||||
},
|
||||
"last_failed": {
|
||||
"started_utc": "2026-11-16T04:24:21.630135+00:00",
|
||||
"elapsed_seconds": "2.015",
|
||||
"http_status": "",
|
||||
"status": "",
|
||||
"version": "",
|
||||
"error": "TimeoutError",
|
||||
"completed_utc": "2026-11-16T04:24:23.645135+00:00"
|
||||
},
|
||||
"preceding_success": {
|
||||
"started_utc": "2026-11-16T04:24:12.628587+00:00",
|
||||
"elapsed_seconds": "0.043",
|
||||
"http_status": "200",
|
||||
"status": "ok",
|
||||
"version": "v2",
|
||||
"error": "",
|
||||
"completed_utc": "2026-11-16T04:24:12.671587+00:00"
|
||||
},
|
||||
"following_success": {
|
||||
"started_utc": "2026-11-16T04:24:23.645071+00:00",
|
||||
"elapsed_seconds": "1.668",
|
||||
"http_status": "200",
|
||||
"status": "ok",
|
||||
"version": "v1",
|
||||
"error": "",
|
||||
"completed_utc": "2026-11-16T04:24:25.313071+00:00"
|
||||
}
|
||||
}
|
||||
],
|
||||
"maximum_start_gap_seconds": 2.014936,
|
||||
"csv_file": "recovery-production-20261115.csv",
|
||||
"csv_sha256": "6dbc670bd7bf32d7ee8e8c784f3af5135dc444503ae0418a4efad9075caa93b2",
|
||||
"failed_http_statuses": {
|
||||
"": 1,
|
||||
"502": 8
|
||||
}
|
||||
},
|
||||
"staging": {
|
||||
"samples": 406,
|
||||
"failed_samples": 169,
|
||||
"first": {
|
||||
"started_utc": "2026-11-16T04:25:24.077935+00:00",
|
||||
"elapsed_seconds": "0.07",
|
||||
"http_status": "200",
|
||||
"status": "ok",
|
||||
"version": "v2",
|
||||
"error": "",
|
||||
"completed_utc": "2026-11-16T04:25:24.147935+00:00"
|
||||
},
|
||||
"last": {
|
||||
"started_utc": "2026-11-16T04:32:11.031289+00:00",
|
||||
"elapsed_seconds": "0.017",
|
||||
"http_status": "200",
|
||||
"status": "ok",
|
||||
"version": "v2",
|
||||
"error": "",
|
||||
"completed_utc": "2026-11-16T04:32:11.048289+00:00"
|
||||
},
|
||||
"first_seen_versions": {
|
||||
"v2": {
|
||||
"started_utc": "2026-11-16T04:25:24.077935+00:00",
|
||||
"elapsed_seconds": "0.07",
|
||||
"http_status": "200",
|
||||
"status": "ok",
|
||||
"version": "v2",
|
||||
"error": "",
|
||||
"completed_utc": "2026-11-16T04:25:24.147935+00:00"
|
||||
}
|
||||
},
|
||||
"failure_clusters": [
|
||||
{
|
||||
"count": 169,
|
||||
"first_failed": {
|
||||
"started_utc": "2026-11-16T04:26:53.130293+00:00",
|
||||
"elapsed_seconds": "0.03",
|
||||
"http_status": "502",
|
||||
"status": "",
|
||||
"version": "",
|
||||
"error": "HTTPError",
|
||||
"completed_utc": "2026-11-16T04:26:53.160293+00:00"
|
||||
},
|
||||
"last_failed": {
|
||||
"started_utc": "2026-11-16T04:29:41.187224+00:00",
|
||||
"elapsed_seconds": "2.018",
|
||||
"http_status": "",
|
||||
"status": "",
|
||||
"version": "",
|
||||
"error": "TimeoutError",
|
||||
"completed_utc": "2026-11-16T04:29:43.205224+00:00"
|
||||
},
|
||||
"preceding_success": {
|
||||
"started_utc": "2026-11-16T04:26:52.130143+00:00",
|
||||
"elapsed_seconds": "0.143",
|
||||
"http_status": "200",
|
||||
"status": "ok",
|
||||
"version": "v2",
|
||||
"error": "",
|
||||
"completed_utc": "2026-11-16T04:26:52.273143+00:00"
|
||||
},
|
||||
"following_success": {
|
||||
"started_utc": "2026-11-16T04:29:43.205246+00:00",
|
||||
"elapsed_seconds": "1.718",
|
||||
"http_status": "200",
|
||||
"status": "ok",
|
||||
"version": "v2",
|
||||
"error": "",
|
||||
"completed_utc": "2026-11-16T04:29:44.923246+00:00"
|
||||
}
|
||||
}
|
||||
],
|
||||
"maximum_start_gap_seconds": 2.018022,
|
||||
"csv_file": "recovery-staging-20261115.csv",
|
||||
"csv_sha256": "9519837bd6a3e8b40985dba5a933119d76fcae03c9fc78bec26f1cf84c00c209",
|
||||
"failed_http_statuses": {
|
||||
"": 1,
|
||||
"502": 168
|
||||
}
|
||||
}
|
||||
},
|
||||
"observation_end": {
|
||||
"finished_at": "2026-11-16T04:32:10.987203+00:00",
|
||||
"reason": "Both recovery exercises and unchanged rerun completed; end bounded observation after post-recovery samples",
|
||||
"observers": {
|
||||
"production": {
|
||||
"pid": 99107,
|
||||
"sent_sigterm_to_verified_process": true,
|
||||
"planned_max_seconds": 1800,
|
||||
"actual_first_sample": "2026-11-16T04:17:46.446751+00:00",
|
||||
"actual_last_sample": "2026-11-16T04:32:10.607054+00:00",
|
||||
"samples": 863,
|
||||
"normalized_text_sha256_at_stop": "c7d70f56283eac8f031e61fc41ef2e8a7d34e123d1fd12936dab0e00c9addb39",
|
||||
"hash_note": "Stop helper hashed read_text-normalized LF text; original captured CSV bytes are independently verified below."
|
||||
},
|
||||
"staging": {
|
||||
"pid": 105221,
|
||||
"sent_sigterm_to_verified_process": true,
|
||||
"planned_max_seconds": 1800,
|
||||
"actual_first_sample": "2026-11-16T04:25:24.077935+00:00",
|
||||
"actual_last_sample": "2026-11-16T04:32:11.031289+00:00",
|
||||
"samples": 406,
|
||||
"normalized_text_sha256_at_stop": "02942e3f179efb5f303abe4f071de7296fbca042591379e424aa7d8d1298b8c1",
|
||||
"hash_note": "Stop helper hashed read_text-normalized LF text; original captured CSV bytes are independently verified below."
|
||||
}
|
||||
}
|
||||
},
|
||||
"original_csv_hashes": {
|
||||
"production": {
|
||||
"sha256": "6dbc670bd7bf32d7ee8e8c784f3af5135dc444503ae0418a4efad9075caa93b2"
|
||||
},
|
||||
"staging": {
|
||||
"sha256": "9519837bd6a3e8b40985dba5a933119d76fcae03c9fc78bec26f1cf84c00c209"
|
||||
}
|
||||
},
|
||||
"monitoring_correlation": {
|
||||
"production_probe_samples_since_decision": 34,
|
||||
"failed_samples_since_decision": 0,
|
||||
"cadence_seconds": 30,
|
||||
"observer_failed_production_samples": 9,
|
||||
"explanation": "Prometheus missed the short rollback interruption captured by the finer observer. The staging exercise is not a production-probe outage.",
|
||||
"alert_samples_returned_in_90m_query": 0,
|
||||
"notification_claim": "No notification claim; notification history was not collected"
|
||||
},
|
||||
"final_verified_at": "2026-11-16T04:34:28.764638+00:00",
|
||||
"final_state": {
|
||||
"production": {
|
||||
"version": "v1",
|
||||
"source": "34f26e6948b7001ede8ca19f23b67a02082e6a9a",
|
||||
"digest": "git.yebilly.me/ssw590-group1/pricing@sha256:59c880b2704f91668618d9a2ff0bc8fbab0af4239ceb916de261863890ef88d8",
|
||||
"configuration_commit": "34f26e6948b7001ede8ca19f23b67a02082e6a9a",
|
||||
"total": 30
|
||||
},
|
||||
"staging": {
|
||||
"version": "v2",
|
||||
"source": "6bddbfba5a36e0e397537678ffb197e101fb0670",
|
||||
"digest": "git.yebilly.me/ssw590-group1/pricing@sha256:efe8658a0adf0854038d58199652030cbd0ef70047a1c6ebc7b09906cf1ec88b",
|
||||
"configuration_commit": "6bddbfba5a36e0e397537678ffb197e101fb0670",
|
||||
"total": 36
|
||||
}
|
||||
},
|
||||
"runtime_sha256": "aba434191cd79cdb1a3a1cfdc1b46264a8b3fb1dfdbac059b8f66819fa23b1b9"
|
||||
}
|
||||
@@ -0,0 +1,137 @@
|
||||
# Completed production rollback and staging recovery
|
||||
|
||||
Executed 15 November 2026 Eastern / 16 November UTC. All times below are UTC.
|
||||
Primary data: [results and report hashes](recovery-20261115.json),
|
||||
[actual runtime and Prometheus responses](recovery-runtime-20261115.json),
|
||||
[original production CSV](recovery-production-20261115.csv), and
|
||||
[original staging CSV](recovery-staging-20261115.csv). CSV bytes and SHA-256
|
||||
values were verified against the remote originals.
|
||||
|
||||
## Review and baseline
|
||||
|
||||
[PR 27](https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/pulls/27) was approved
|
||||
by `bill` at 04:12:09 and merged by `vsun1` at 04:14:30 as
|
||||
`72bf10dcecc8db65dce4750c05bf841bea9b0834`. It preserves the actual successful
|
||||
release records, bad configuration `1e23001e7303d14630cfa97c8de36f31f30b81a0`
|
||||
and immediate revert `29e580c4613f00a02f44bce0dbcee2fd8fdc83ae`. Main is good.
|
||||
[Actions workflow 16](https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/actions/runs/16)
|
||||
passed in 2m17s before recovery. Jobs 7–10 used reviewed main `72bf10d` for
|
||||
control code; their release records select historical app/configuration commits.
|
||||
|
||||
## Healthy production rollback
|
||||
|
||||
This was a planned exercise on healthy v2, not an incident. Decision:
|
||||
04:17:46.307. The reviewed HTTPS observer started before approval. The original
|
||||
v1 production record selects source/configuration
|
||||
`34f26e6948b7001ede8ca19f23b67a02082e6a9a` and image:
|
||||
|
||||
```text
|
||||
git.yebilly.me/ssw590-group1/pricing@sha256:59c880b2704f91668618d9a2ff0bc8fbab0af4239ceb916de261863890ef88d8
|
||||
```
|
||||
|
||||
[Build 7](https://ci.yebilly.me/job/secure-delivery/job/pricing/7/) stopped after
|
||||
17.784 s with `Cannot fork` during test setup, before approval/deployment.
|
||||
The agent cgroup showed 115/128 tasks and two limit events; Docker stats showed
|
||||
132.6/512 MiB, PIDS=114 and no OOM kill. Its process listing showed Java only;
|
||||
the accounting/accumulation mechanism was not established. Only the idle
|
||||
delivery-agent container was restarted, preserving identity, workspace, image,
|
||||
all limits and application services. Immediate Docker stats showed PIDS=13.
|
||||
No resource/security limit was raised. Build 8 is the successful retry.
|
||||
|
||||
| Build 8 event | Actual result |
|
||||
|---|---|
|
||||
| [Jenkins run](https://ci.yebilly.me/job/secure-delivery/job/pricing/8/) | SUCCESS; 04:22:04.875–04:24:48.529; 163.654 s including approval wait |
|
||||
| Actual approval | `vsun1`, 04:23:36, archived |
|
||||
| Ansible rollback | 04:23:42.801–04:24:46.705; 63.904 s; ok=10 changed=3 unreachable=0 failed=0 |
|
||||
| First v1 health response completed | 04:24:25.313; request started 04:24:23.645 |
|
||||
| Restored behavior | HTTPS health/identity/price passed; v1, source 34f26e6, total 30 |
|
||||
|
||||
[Actual production v1 SUCCESS screenshot](../../manual/latex/images/assignment8-rollback-8-20261115.jpg):
|
||||
build 8 completed November 16 at 04:24:48 UTC; deployment recap passed.
|
||||
|
||||
Twelve control and three app tests, source-secret and nine-dependency gates
|
||||
passed. Build/publish was skipped: the original scanned digest and matching
|
||||
Ansible configuration were restored without rebuilding. Deployment-start to
|
||||
first observed v1 response completion was 42.512 s. Decision-to-recovery also
|
||||
includes the runner error, troubleshooting and actual human wait; it is not
|
||||
traffic interruption time.
|
||||
|
||||
Production: **863 requests, 9 failures** (8 HTTP 502, one timeout), sampled
|
||||
04:17:46.447–04:32:10.607. Adjacent successful response completions:
|
||||
04:24:12.672 (v2), 04:24:25.313 (v1), **12.641 s apart**. First failed request:
|
||||
04:24:13.629. This is sampled evidence, not an exact continuous outage duration
|
||||
or proof of zero interruption between requests. Maximum request-start gap:
|
||||
2.015 s; two-second timeouts delayed the nominal one-second cadence.
|
||||
|
||||
## Separate staging failure and recovery
|
||||
|
||||
[Build 9](https://ci.yebilly.me/job/secure-delivery/job/pricing/9/) selected the
|
||||
good v2 staging record and changed only its runtime configuration selection
|
||||
to the reviewed bad SHA. Its existing image remained:
|
||||
|
||||
```text
|
||||
git.yebilly.me/ssw590-group1/pricing@sha256:efe8658a0adf0854038d58199652030cbd0ef70047a1c6ebc7b09906cf1ec88b
|
||||
```
|
||||
|
||||
Gunicorn bound to 8001; image health/Caddy used 8000. Compose reported
|
||||
`container pricing-staging-app-1 is unhealthy`. The command retained
|
||||
`--wait --wait-timeout 90`; Ansible blocked after 86.690 s including earlier
|
||||
tasks: ok=4 changed=1 unreachable=0 failed=1, exit 2. No unchanged rerun,
|
||||
production approval or production deployment ran.
|
||||
|
||||
The 04:28:54.827 snapshot confirmed staging unhealthy/HTTP 502 at the same v2
|
||||
digest while production remained healthy v1/total 30. The failed run did not
|
||||
reach the final metadata-copy task: host `release.json` still described the
|
||||
last good release while Compose was bad. That file alone cannot prove health.
|
||||
|
||||
[Build 10](https://ci.yebilly.me/job/secure-delivery/job/pricing/10/) used the
|
||||
original good v2 staging record and restored playbook/template from
|
||||
`6bddbfba5a36e0e397537678ffb197e101fb0670` using `git archive`. No rebuild/push.
|
||||
|
||||
| Staging event | UTC / actual result |
|
||||
|---|---|
|
||||
| Decision / observer start | 04:25:23.940 / 04:25:24.078 |
|
||||
| Failed deployment | 04:26:25.354–04:27:52.043; 86.690 s; build 9 FAILURE |
|
||||
| First failed request | 04:26:53.130 |
|
||||
| Recovery job began | 04:28:38.093 |
|
||||
| Recovery Ansible | 04:29:10.106–04:30:06.603; 56.497 s; ok=10 changed=2 failed=0 |
|
||||
| First recovered v2 response completed | 04:29:44.923; request started 04:29:43.205 |
|
||||
| Unchanged rerun | 04:30:10.352–04:30:58.451; 48.099 s; ok=10 changed=0 failed=0 |
|
||||
| Recovery job ended | 04:30:59.765 SUCCESS; 141.672 s total |
|
||||
|
||||
Staging: **406 requests, 169 failures** (168 HTTP 502, one timeout), ending
|
||||
04:32:11.031. Adjacent successful response completions: 04:26:52.273 and
|
||||
04:29:44.923, **172.650 s apart**. This includes fault, collection/selection,
|
||||
new-job gates and restoration; it is not Ansible duration or an exact continuous
|
||||
outage. Maximum request-start gap: 2.018 s. Production had no additional failed
|
||||
observer requests during the staging exercise; its Compose hash was unchanged.
|
||||
|
||||
## Monitoring, final state and limits
|
||||
|
||||
At 04:34:28.765: production v1/source 34f26e6/total 30; staging v2/source
|
||||
6bddbfb/total 36. Both healthy, exact original digests/configuration restored,
|
||||
invalid quantity 0 returned HTTP 400, no published application host port.
|
||||
All six scrape targets were up and all three HTTPS probes were 1. The 34
|
||||
production samples since the decision were all 1: the 30-second probe missed
|
||||
the short rollback interruption captured by the finer observer. Grafana was
|
||||
flat over this exercise, unlike the earlier v2-release dip. The captured
|
||||
90-minute query returned no `ALERTS` samples; no notification history or
|
||||
Discord-notification claim is made. Staging used its own observer, not the
|
||||
production-only chart.
|
||||
|
||||
Capacity sample: 1,967 MiB RAM, 660 MiB available; swap 476/2,047 MiB;
|
||||
root space 8.9 GiB available, 62% used. Pricing used 32.53/33.68 MiB;
|
||||
agent 131.9/512 MiB and 71/128 tasks, zero new process-limit events since
|
||||
restart. Grafana used 188.4/192 MiB. These are point samples, not load/soak
|
||||
tests. Serialize jobs on the shared CPU. The same-host observer shares the
|
||||
Droplet failure domain; no off-site monitoring or high availability is claimed.
|
||||
Status-only probes cannot verify price.
|
||||
|
||||
Both bounded observers were stopped after post-recovery verification rather
|
||||
than waiting out their 1,800-second maximum. Only their verified PIDs were
|
||||
signaled. Earlier services, volumes, credentials, gates and backups remain.
|
||||
|
||||
[Issue 28](https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/issues/28) was
|
||||
created with Vincent's explicit authorization at 04:33:40 during finalization,
|
||||
after implementation and exercises. It records a late workflow correction,
|
||||
not a pre-implementation issue. Final group review/merge and submission remain.
|
||||
@@ -0,0 +1,864 @@
|
||||
started_utc,elapsed_seconds,http_status,status,version,error
|
||||
2026-11-16T04:17:46.446751+00:00,0.053,200,ok,v2,
|
||||
2026-11-16T04:17:47.447643+00:00,0.027,200,ok,v2,
|
||||
2026-11-16T04:17:48.447821+00:00,0.036,200,ok,v2,
|
||||
2026-11-16T04:17:49.448064+00:00,0.039,200,ok,v2,
|
||||
2026-11-16T04:17:50.448234+00:00,0.041,200,ok,v2,
|
||||
2026-11-16T04:17:51.448433+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:17:52.448697+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:17:53.448907+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:17:54.449062+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:17:55.449494+00:00,0.03,200,ok,v2,
|
||||
2026-11-16T04:17:56.449650+00:00,0.022,200,ok,v2,
|
||||
2026-11-16T04:17:57.449871+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:17:58.450040+00:00,0.021,200,ok,v2,
|
||||
2026-11-16T04:17:59.450175+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:18:00.451897+00:00,0.027,200,ok,v2,
|
||||
2026-11-16T04:18:01.452072+00:00,0.053,200,ok,v2,
|
||||
2026-11-16T04:18:02.453528+00:00,0.046,200,ok,v2,
|
||||
2026-11-16T04:18:03.454671+00:00,0.049,200,ok,v2,
|
||||
2026-11-16T04:18:04.456958+00:00,0.05,200,ok,v2,
|
||||
2026-11-16T04:18:05.457115+00:00,0.036,200,ok,v2,
|
||||
2026-11-16T04:18:06.457304+00:00,0.034,200,ok,v2,
|
||||
2026-11-16T04:18:07.457542+00:00,0.033,200,ok,v2,
|
||||
2026-11-16T04:18:08.457704+00:00,0.027,200,ok,v2,
|
||||
2026-11-16T04:18:09.457900+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:18:10.458901+00:00,0.023,200,ok,v2,
|
||||
2026-11-16T04:18:11.459038+00:00,0.025,200,ok,v2,
|
||||
2026-11-16T04:18:12.459471+00:00,0.025,200,ok,v2,
|
||||
2026-11-16T04:18:13.459761+00:00,0.013,200,ok,v2,
|
||||
2026-11-16T04:18:14.459931+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:18:15.460081+00:00,0.024,200,ok,v2,
|
||||
2026-11-16T04:18:16.460265+00:00,0.054,200,ok,v2,
|
||||
2026-11-16T04:18:17.460471+00:00,0.029,200,ok,v2,
|
||||
2026-11-16T04:18:18.460663+00:00,0.026,200,ok,v2,
|
||||
2026-11-16T04:18:19.460871+00:00,0.013,200,ok,v2,
|
||||
2026-11-16T04:18:20.461012+00:00,0.022,200,ok,v2,
|
||||
2026-11-16T04:18:21.461147+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:18:22.462927+00:00,0.028,200,ok,v2,
|
||||
2026-11-16T04:18:23.463092+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:18:24.463273+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:18:25.463503+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:18:26.463691+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:18:27.463899+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:18:28.464103+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:18:29.464316+00:00,0.032,200,ok,v2,
|
||||
2026-11-16T04:18:30.464494+00:00,0.031,200,ok,v2,
|
||||
2026-11-16T04:18:31.464694+00:00,0.036,200,ok,v2,
|
||||
2026-11-16T04:18:32.464915+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:18:33.465086+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:18:34.465426+00:00,0.021,200,ok,v2,
|
||||
2026-11-16T04:18:35.465650+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:18:36.465831+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:18:37.466093+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:18:38.466335+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:18:39.466527+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:18:40.466734+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:18:41.466975+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:18:42.468028+00:00,0.035,200,ok,v2,
|
||||
2026-11-16T04:18:43.468912+00:00,0.036,200,ok,v2,
|
||||
2026-11-16T04:18:44.469066+00:00,0.04,200,ok,v2,
|
||||
2026-11-16T04:18:45.469346+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:18:46.469555+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:18:47.469716+00:00,0.033,200,ok,v2,
|
||||
2026-11-16T04:18:48.469898+00:00,0.023,200,ok,v2,
|
||||
2026-11-16T04:18:49.470147+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:18:50.470367+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:18:51.470535+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:18:52.475231+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:18:53.475455+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:18:54.475676+00:00,0.036,200,ok,v2,
|
||||
2026-11-16T04:18:55.476911+00:00,0.035,200,ok,v2,
|
||||
2026-11-16T04:18:56.477920+00:00,0.033,200,ok,v2,
|
||||
2026-11-16T04:18:57.478076+00:00,0.032,200,ok,v2,
|
||||
2026-11-16T04:18:58.478940+00:00,0.032,200,ok,v2,
|
||||
2026-11-16T04:18:59.479170+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:19:00.479347+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:19:01.479589+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:19:02.479816+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:19:03.480065+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:19:04.480333+00:00,0.021,200,ok,v2,
|
||||
2026-11-16T04:19:05.480498+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:19:06.480716+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:19:07.481908+00:00,0.042,200,ok,v2,
|
||||
2026-11-16T04:19:08.482917+00:00,0.03,200,ok,v2,
|
||||
2026-11-16T04:19:09.484435+00:00,0.061,200,ok,v2,
|
||||
2026-11-16T04:19:10.484906+00:00,0.032,200,ok,v2,
|
||||
2026-11-16T04:19:11.485935+00:00,0.027,200,ok,v2,
|
||||
2026-11-16T04:19:12.486141+00:00,0.021,200,ok,v2,
|
||||
2026-11-16T04:19:13.486380+00:00,0.022,200,ok,v2,
|
||||
2026-11-16T04:19:14.486608+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:19:15.486810+00:00,0.023,200,ok,v2,
|
||||
2026-11-16T04:19:16.486988+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:19:17.487189+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:19:18.487422+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:19:19.487600+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:19:20.487836+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:19:21.488915+00:00,0.028,200,ok,v2,
|
||||
2026-11-16T04:19:22.489923+00:00,0.046,200,ok,v2,
|
||||
2026-11-16T04:19:23.490063+00:00,0.027,200,ok,v2,
|
||||
2026-11-16T04:19:24.490919+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:19:25.491066+00:00,0.013,200,ok,v2,
|
||||
2026-11-16T04:19:26.491251+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:19:27.491429+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:19:28.491655+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:19:29.491908+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:19:30.492227+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:19:31.492459+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:19:32.493925+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:19:33.494150+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:19:34.494460+00:00,0.09,200,ok,v2,
|
||||
2026-11-16T04:19:35.494609+00:00,0.094,200,ok,v2,
|
||||
2026-11-16T04:19:36.495921+00:00,0.028,200,ok,v2,
|
||||
2026-11-16T04:19:37.496910+00:00,0.062,200,ok,v2,
|
||||
2026-11-16T04:19:38.497100+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:19:39.497508+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:19:40.497691+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:19:41.497867+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:19:42.498063+00:00,0.036,200,ok,v2,
|
||||
2026-11-16T04:19:43.498247+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:19:44.498430+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:19:45.498636+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:19:46.498829+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:19:47.499029+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:19:48.499912+00:00,0.085,200,ok,v2,
|
||||
2026-11-16T04:19:49.500066+00:00,0.085,200,ok,v2,
|
||||
2026-11-16T04:19:50.500907+00:00,0.05,200,ok,v2,
|
||||
2026-11-16T04:19:51.501048+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:19:52.501265+00:00,0.022,200,ok,v2,
|
||||
2026-11-16T04:19:53.501774+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:19:54.501997+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:19:55.502267+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:19:56.502511+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:19:57.502710+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:19:58.502955+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:19:59.503165+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:20:00.503403+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:20:01.518818+00:00,0.069,200,ok,v2,
|
||||
2026-11-16T04:20:02.519927+00:00,0.077,200,ok,v2,
|
||||
2026-11-16T04:20:03.520123+00:00,0.067,200,ok,v2,
|
||||
2026-11-16T04:20:04.520333+00:00,0.069,200,ok,v2,
|
||||
2026-11-16T04:20:05.526734+00:00,0.092,200,ok,v2,
|
||||
2026-11-16T04:20:06.526912+00:00,0.031,200,ok,v2,
|
||||
2026-11-16T04:20:07.527159+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:20:08.527364+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:20:09.527593+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:20:10.527782+00:00,0.021,200,ok,v2,
|
||||
2026-11-16T04:20:11.530230+00:00,0.021,200,ok,v2,
|
||||
2026-11-16T04:20:12.530435+00:00,0.021,200,ok,v2,
|
||||
2026-11-16T04:20:13.530675+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:20:14.530893+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:20:15.531068+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:20:16.531267+00:00,0.052,200,ok,v2,
|
||||
2026-11-16T04:20:17.531501+00:00,0.062,200,ok,v2,
|
||||
2026-11-16T04:20:18.531666+00:00,0.059,200,ok,v2,
|
||||
2026-11-16T04:20:19.531822+00:00,0.013,200,ok,v2,
|
||||
2026-11-16T04:20:20.532046+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:20:21.532291+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:20:22.532513+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:20:23.532713+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:20:24.533533+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:20:25.533882+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:20:26.534116+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:20:27.534312+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:20:28.534505+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:20:29.534683+00:00,0.049,200,ok,v2,
|
||||
2026-11-16T04:20:30.534927+00:00,0.054,200,ok,v2,
|
||||
2026-11-16T04:20:31.535152+00:00,0.051,200,ok,v2,
|
||||
2026-11-16T04:20:32.535293+00:00,0.021,200,ok,v2,
|
||||
2026-11-16T04:20:33.535514+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:20:34.535686+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:20:35.535901+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:20:36.536158+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:20:37.536377+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:20:38.536623+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:20:39.537158+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:20:40.537421+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:20:41.537644+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:20:42.537902+00:00,0.047,200,ok,v2,
|
||||
2026-11-16T04:20:43.538914+00:00,0.051,200,ok,v2,
|
||||
2026-11-16T04:20:44.539129+00:00,0.051,200,ok,v2,
|
||||
2026-11-16T04:20:45.539316+00:00,0.047,200,ok,v2,
|
||||
2026-11-16T04:20:46.539571+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:20:47.539792+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:20:48.540007+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:20:49.540221+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:20:50.540426+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:20:51.540653+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:20:52.540928+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:20:53.541120+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:20:54.541390+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:20:55.541565+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:20:56.541768+00:00,0.042,200,ok,v2,
|
||||
2026-11-16T04:20:57.541982+00:00,0.045,200,ok,v2,
|
||||
2026-11-16T04:20:58.542144+00:00,0.048,200,ok,v2,
|
||||
2026-11-16T04:20:59.542314+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:21:00.542502+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:21:01.542702+00:00,0.022,200,ok,v2,
|
||||
2026-11-16T04:21:02.542907+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:21:03.543101+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:21:04.543328+00:00,0.023,200,ok,v2,
|
||||
2026-11-16T04:21:05.543535+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:21:06.543733+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:21:07.543931+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:21:08.544123+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:21:09.544316+00:00,0.042,200,ok,v2,
|
||||
2026-11-16T04:21:10.544522+00:00,0.045,200,ok,v2,
|
||||
2026-11-16T04:21:11.544737+00:00,0.042,200,ok,v2,
|
||||
2026-11-16T04:21:12.544929+00:00,0.022,200,ok,v2,
|
||||
2026-11-16T04:21:13.545105+00:00,0.021,200,ok,v2,
|
||||
2026-11-16T04:21:14.545423+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:21:15.545617+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:21:16.545810+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:21:17.546021+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:21:18.546227+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:21:19.546462+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:21:20.546684+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:21:21.546903+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:21:22.547075+00:00,0.038,200,ok,v2,
|
||||
2026-11-16T04:21:23.547218+00:00,0.048,200,ok,v2,
|
||||
2026-11-16T04:21:24.547452+00:00,0.04,200,ok,v2,
|
||||
2026-11-16T04:21:25.547660+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:21:26.547904+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:21:27.548119+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:21:28.548356+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:21:29.548575+00:00,0.013,200,ok,v2,
|
||||
2026-11-16T04:21:30.548796+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:21:31.549004+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:21:32.549251+00:00,0.025,200,ok,v2,
|
||||
2026-11-16T04:21:33.549497+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:21:34.549720+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:21:35.549935+00:00,0.034,200,ok,v2,
|
||||
2026-11-16T04:21:36.550143+00:00,0.038,200,ok,v2,
|
||||
2026-11-16T04:21:37.550376+00:00,0.046,200,ok,v2,
|
||||
2026-11-16T04:21:38.550613+00:00,0.038,200,ok,v2,
|
||||
2026-11-16T04:21:39.550876+00:00,0.036,200,ok,v2,
|
||||
2026-11-16T04:21:40.551099+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:21:41.551339+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:21:42.551528+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:21:43.551729+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:21:44.551915+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:21:45.552887+00:00,0.024,200,ok,v2,
|
||||
2026-11-16T04:21:46.553048+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:21:47.553245+00:00,0.022,200,ok,v2,
|
||||
2026-11-16T04:21:48.553518+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:21:49.553694+00:00,0.033,200,ok,v2,
|
||||
2026-11-16T04:21:50.554466+00:00,0.052,200,ok,v2,
|
||||
2026-11-16T04:21:51.555341+00:00,0.05,200,ok,v2,
|
||||
2026-11-16T04:21:52.556348+00:00,0.064,200,ok,v2,
|
||||
2026-11-16T04:21:53.556504+00:00,0.048,200,ok,v2,
|
||||
2026-11-16T04:21:54.556753+00:00,0.032,200,ok,v2,
|
||||
2026-11-16T04:21:55.556908+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:21:56.557913+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:21:57.558061+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:21:58.558537+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:21:59.558687+00:00,0.025,200,ok,v2,
|
||||
2026-11-16T04:22:00.558913+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:22:01.559076+00:00,0.023,200,ok,v2,
|
||||
2026-11-16T04:22:02.559243+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:22:03.559431+00:00,0.026,200,ok,v2,
|
||||
2026-11-16T04:22:04.559682+00:00,0.028,200,ok,v2,
|
||||
2026-11-16T04:22:05.560331+00:00,0.037,200,ok,v2,
|
||||
2026-11-16T04:22:06.560900+00:00,0.042,200,ok,v2,
|
||||
2026-11-16T04:22:07.561900+00:00,0.029,200,ok,v2,
|
||||
2026-11-16T04:22:08.562042+00:00,0.039,200,ok,v2,
|
||||
2026-11-16T04:22:09.563534+00:00,0.04,200,ok,v2,
|
||||
2026-11-16T04:22:10.564719+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:22:11.564933+00:00,0.022,200,ok,v2,
|
||||
2026-11-16T04:22:12.566913+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:22:13.567111+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:22:14.567277+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:22:15.568130+00:00,0.04,200,ok,v2,
|
||||
2026-11-16T04:22:16.568287+00:00,0.039,200,ok,v2,
|
||||
2026-11-16T04:22:17.568904+00:00,0.026,200,ok,v2,
|
||||
2026-11-16T04:22:18.569810+00:00,0.049,200,ok,v2,
|
||||
2026-11-16T04:22:19.570070+00:00,0.064,200,ok,v2,
|
||||
2026-11-16T04:22:20.571916+00:00,0.037,200,ok,v2,
|
||||
2026-11-16T04:22:21.572406+00:00,0.042,200,ok,v2,
|
||||
2026-11-16T04:22:22.572574+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:22:23.572794+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:22:24.573036+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:22:25.573271+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:22:26.573544+00:00,0.021,200,ok,v2,
|
||||
2026-11-16T04:22:27.573708+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:22:28.573942+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:22:29.574123+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:22:30.574331+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:22:31.574562+00:00,0.026,200,ok,v2,
|
||||
2026-11-16T04:22:32.574915+00:00,0.039,200,ok,v2,
|
||||
2026-11-16T04:22:33.575953+00:00,0.038,200,ok,v2,
|
||||
2026-11-16T04:22:34.576921+00:00,0.026,200,ok,v2,
|
||||
2026-11-16T04:22:35.577130+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:22:36.577382+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:22:37.577627+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:22:38.577841+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:22:39.578090+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:22:40.578296+00:00,0.028,200,ok,v2,
|
||||
2026-11-16T04:22:41.578483+00:00,0.021,200,ok,v2,
|
||||
2026-11-16T04:22:42.578733+00:00,0.037,200,ok,v2,
|
||||
2026-11-16T04:22:43.578899+00:00,0.022,200,ok,v2,
|
||||
2026-11-16T04:22:44.579043+00:00,0.036,200,ok,v2,
|
||||
2026-11-16T04:22:45.579783+00:00,0.047,200,ok,v2,
|
||||
2026-11-16T04:22:46.579920+00:00,0.05,200,ok,v2,
|
||||
2026-11-16T04:22:47.580071+00:00,0.036,200,ok,v2,
|
||||
2026-11-16T04:22:48.580272+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:22:49.580490+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:22:50.580674+00:00,0.036,200,ok,v2,
|
||||
2026-11-16T04:22:51.580929+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:22:52.581141+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:22:53.581323+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:22:54.581585+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:22:55.581804+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:22:56.582047+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:22:57.582966+00:00,0.031,200,ok,v2,
|
||||
2026-11-16T04:22:58.583151+00:00,0.05,200,ok,v2,
|
||||
2026-11-16T04:22:59.583910+00:00,0.045,200,ok,v2,
|
||||
2026-11-16T04:23:00.585129+00:00,0.043,200,ok,v2,
|
||||
2026-11-16T04:23:01.585929+00:00,0.026,200,ok,v2,
|
||||
2026-11-16T04:23:02.586474+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:23:03.586643+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:23:04.586882+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:23:05.587103+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:23:06.587425+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:23:07.587634+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:23:08.587906+00:00,0.023,200,ok,v2,
|
||||
2026-11-16T04:23:09.588129+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:23:10.588336+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:23:11.589915+00:00,0.026,200,ok,v2,
|
||||
2026-11-16T04:23:12.590928+00:00,0.039,200,ok,v2,
|
||||
2026-11-16T04:23:13.591083+00:00,0.035,200,ok,v2,
|
||||
2026-11-16T04:23:14.591242+00:00,0.049,200,ok,v2,
|
||||
2026-11-16T04:23:15.591407+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:23:16.591647+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:23:17.591866+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:23:18.592081+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:23:19.592316+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:23:20.592537+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:23:21.592757+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:23:22.592969+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:23:23.593240+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:23:24.593540+00:00,0.026,200,ok,v2,
|
||||
2026-11-16T04:23:25.593691+00:00,0.044,200,ok,v2,
|
||||
2026-11-16T04:23:26.593909+00:00,0.025,200,ok,v2,
|
||||
2026-11-16T04:23:27.594059+00:00,0.039,200,ok,v2,
|
||||
2026-11-16T04:23:28.594202+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:23:29.594411+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:23:30.594610+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:23:31.594824+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:23:32.595031+00:00,0.025,200,ok,v2,
|
||||
2026-11-16T04:23:33.595267+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:23:34.595511+00:00,0.029,200,ok,v2,
|
||||
2026-11-16T04:23:35.595829+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:23:36.596060+00:00,0.051,200,ok,v2,
|
||||
2026-11-16T04:23:37.596439+00:00,0.034,200,ok,v2,
|
||||
2026-11-16T04:23:38.597918+00:00,0.092,200,ok,v2,
|
||||
2026-11-16T04:23:39.598949+00:00,0.057,200,ok,v2,
|
||||
2026-11-16T04:23:40.599926+00:00,0.055,200,ok,v2,
|
||||
2026-11-16T04:23:41.600902+00:00,0.035,200,ok,v2,
|
||||
2026-11-16T04:23:42.601926+00:00,0.033,200,ok,v2,
|
||||
2026-11-16T04:23:43.602521+00:00,0.027,200,ok,v2,
|
||||
2026-11-16T04:23:44.603916+00:00,0.026,200,ok,v2,
|
||||
2026-11-16T04:23:45.604797+00:00,0.028,200,ok,v2,
|
||||
2026-11-16T04:23:46.606149+00:00,0.04,200,ok,v2,
|
||||
2026-11-16T04:23:47.606908+00:00,0.034,200,ok,v2,
|
||||
2026-11-16T04:23:48.607893+00:00,0.026,200,ok,v2,
|
||||
2026-11-16T04:23:49.609902+00:00,0.04,200,ok,v2,
|
||||
2026-11-16T04:23:50.610732+00:00,0.047,200,ok,v2,
|
||||
2026-11-16T04:23:51.613150+00:00,0.075,200,ok,v2,
|
||||
2026-11-16T04:23:52.614080+00:00,0.051,200,ok,v2,
|
||||
2026-11-16T04:23:53.615905+00:00,0.04,200,ok,v2,
|
||||
2026-11-16T04:23:54.616702+00:00,0.061,200,ok,v2,
|
||||
2026-11-16T04:23:55.616938+00:00,0.061,200,ok,v2,
|
||||
2026-11-16T04:23:56.617820+00:00,0.041,200,ok,v2,
|
||||
2026-11-16T04:23:57.618003+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:23:58.618159+00:00,0.025,200,ok,v2,
|
||||
2026-11-16T04:23:59.618902+00:00,0.033,200,ok,v2,
|
||||
2026-11-16T04:24:00.619913+00:00,0.037,200,ok,v2,
|
||||
2026-11-16T04:24:01.620903+00:00,0.04,200,ok,v2,
|
||||
2026-11-16T04:24:02.621359+00:00,0.046,200,ok,v2,
|
||||
2026-11-16T04:24:03.621533+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:24:04.622918+00:00,0.049,200,ok,v2,
|
||||
2026-11-16T04:24:05.623231+00:00,0.035,200,ok,v2,
|
||||
2026-11-16T04:24:06.623915+00:00,0.041,200,ok,v2,
|
||||
2026-11-16T04:24:07.624910+00:00,0.034,200,ok,v2,
|
||||
2026-11-16T04:24:08.625911+00:00,0.04,200,ok,v2,
|
||||
2026-11-16T04:24:09.626932+00:00,0.031,200,ok,v2,
|
||||
2026-11-16T04:24:10.627893+00:00,0.03,200,ok,v2,
|
||||
2026-11-16T04:24:11.628292+00:00,0.038,200,ok,v2,
|
||||
2026-11-16T04:24:12.628587+00:00,0.043,200,ok,v2,
|
||||
2026-11-16T04:24:13.628753+00:00,0.034,502,,,HTTPError
|
||||
2026-11-16T04:24:14.628906+00:00,0.026,502,,,HTTPError
|
||||
2026-11-16T04:24:15.629037+00:00,0.019,502,,,HTTPError
|
||||
2026-11-16T04:24:16.629305+00:00,0.017,502,,,HTTPError
|
||||
2026-11-16T04:24:17.629474+00:00,0.029,502,,,HTTPError
|
||||
2026-11-16T04:24:18.629654+00:00,0.014,502,,,HTTPError
|
||||
2026-11-16T04:24:19.629808+00:00,0.015,502,,,HTTPError
|
||||
2026-11-16T04:24:20.629968+00:00,0.023,502,,,HTTPError
|
||||
2026-11-16T04:24:21.630135+00:00,2.015,,,,TimeoutError
|
||||
2026-11-16T04:24:23.645071+00:00,1.668,200,ok,v1,
|
||||
2026-11-16T04:24:25.313178+00:00,0.079,200,ok,v1,
|
||||
2026-11-16T04:24:26.313332+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:24:27.314180+00:00,0.034,200,ok,v1,
|
||||
2026-11-16T04:24:28.315449+00:00,0.031,200,ok,v1,
|
||||
2026-11-16T04:24:29.315617+00:00,0.023,200,ok,v1,
|
||||
2026-11-16T04:24:30.319150+00:00,0.044,200,ok,v1,
|
||||
2026-11-16T04:24:31.319724+00:00,0.022,200,ok,v1,
|
||||
2026-11-16T04:24:32.319894+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:24:33.320026+00:00,0.026,200,ok,v1,
|
||||
2026-11-16T04:24:34.321573+00:00,0.045,200,ok,v1,
|
||||
2026-11-16T04:24:35.323903+00:00,0.037,200,ok,v1,
|
||||
2026-11-16T04:24:36.324973+00:00,0.041,200,ok,v1,
|
||||
2026-11-16T04:24:37.326900+00:00,0.035,200,ok,v1,
|
||||
2026-11-16T04:24:38.328808+00:00,0.064,200,ok,v1,
|
||||
2026-11-16T04:24:39.330946+00:00,0.067,200,ok,v1,
|
||||
2026-11-16T04:24:40.331604+00:00,0.028,200,ok,v1,
|
||||
2026-11-16T04:24:41.332797+00:00,0.026,200,ok,v1,
|
||||
2026-11-16T04:24:42.332944+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:24:43.334795+00:00,0.038,200,ok,v1,
|
||||
2026-11-16T04:24:44.335899+00:00,0.023,200,ok,v1,
|
||||
2026-11-16T04:24:45.337244+00:00,0.039,200,ok,v1,
|
||||
2026-11-16T04:24:46.337433+00:00,0.024,200,ok,v1,
|
||||
2026-11-16T04:24:47.337630+00:00,0.019,200,ok,v1,
|
||||
2026-11-16T04:24:48.338400+00:00,0.038,200,ok,v1,
|
||||
2026-11-16T04:24:49.338555+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:24:50.338912+00:00,0.057,200,ok,v1,
|
||||
2026-11-16T04:24:51.339135+00:00,0.05,200,ok,v1,
|
||||
2026-11-16T04:24:52.339334+00:00,0.049,200,ok,v1,
|
||||
2026-11-16T04:24:53.339524+00:00,0.022,200,ok,v1,
|
||||
2026-11-16T04:24:54.339698+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:24:55.339906+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:24:56.340113+00:00,0.019,200,ok,v1,
|
||||
2026-11-16T04:24:57.340301+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:24:58.340497+00:00,0.014,200,ok,v1,
|
||||
2026-11-16T04:24:59.340708+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:25:00.341092+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:25:01.341299+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:25:02.341729+00:00,0.05,200,ok,v1,
|
||||
2026-11-16T04:25:03.341978+00:00,0.051,200,ok,v1,
|
||||
2026-11-16T04:25:04.342222+00:00,0.055,200,ok,v1,
|
||||
2026-11-16T04:25:05.342471+00:00,0.046,200,ok,v1,
|
||||
2026-11-16T04:25:06.342696+00:00,0.046,200,ok,v1,
|
||||
2026-11-16T04:25:07.342929+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:25:08.343127+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:25:09.343328+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:25:10.343532+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:25:11.343771+00:00,0.025,200,ok,v1,
|
||||
2026-11-16T04:25:12.343977+00:00,0.019,200,ok,v1,
|
||||
2026-11-16T04:25:13.344215+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:25:14.344455+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:25:15.344723+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:25:16.344962+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:25:17.345932+00:00,0.054,200,ok,v1,
|
||||
2026-11-16T04:25:18.346138+00:00,0.045,200,ok,v1,
|
||||
2026-11-16T04:25:19.346303+00:00,0.042,200,ok,v1,
|
||||
2026-11-16T04:25:20.346522+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:25:21.346726+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:25:22.350249+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:25:23.350576+00:00,0.031,200,ok,v1,
|
||||
2026-11-16T04:25:24.350893+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:25:25.351190+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:25:26.351352+00:00,0.014,200,ok,v1,
|
||||
2026-11-16T04:25:27.351505+00:00,0.014,200,ok,v1,
|
||||
2026-11-16T04:25:28.351733+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:25:29.351903+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:25:30.352069+00:00,0.046,200,ok,v1,
|
||||
2026-11-16T04:25:31.352234+00:00,0.041,200,ok,v1,
|
||||
2026-11-16T04:25:32.352380+00:00,0.038,200,ok,v1,
|
||||
2026-11-16T04:25:33.352512+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:25:34.352708+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:25:35.352910+00:00,0.014,200,ok,v1,
|
||||
2026-11-16T04:25:36.353053+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:25:37.353207+00:00,0.014,200,ok,v1,
|
||||
2026-11-16T04:25:38.353364+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:25:39.353596+00:00,0.013,200,ok,v1,
|
||||
2026-11-16T04:25:40.353732+00:00,0.024,200,ok,v1,
|
||||
2026-11-16T04:25:41.353962+00:00,0.028,200,ok,v1,
|
||||
2026-11-16T04:25:42.354184+00:00,0.033,200,ok,v1,
|
||||
2026-11-16T04:25:43.354375+00:00,0.044,200,ok,v1,
|
||||
2026-11-16T04:25:44.354560+00:00,0.037,200,ok,v1,
|
||||
2026-11-16T04:25:45.354725+00:00,0.036,200,ok,v1,
|
||||
2026-11-16T04:25:46.354924+00:00,0.014,200,ok,v1,
|
||||
2026-11-16T04:25:47.355083+00:00,0.013,200,ok,v1,
|
||||
2026-11-16T04:25:48.355268+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:25:49.356020+00:00,0.035,200,ok,v1,
|
||||
2026-11-16T04:25:50.357474+00:00,0.039,200,ok,v1,
|
||||
2026-11-16T04:25:51.357685+00:00,0.026,200,ok,v1,
|
||||
2026-11-16T04:25:52.358904+00:00,0.037,200,ok,v1,
|
||||
2026-11-16T04:25:53.359441+00:00,0.03,200,ok,v1,
|
||||
2026-11-16T04:25:54.360501+00:00,0.023,200,ok,v1,
|
||||
2026-11-16T04:25:55.360639+00:00,0.03,200,ok,v1,
|
||||
2026-11-16T04:25:56.361318+00:00,0.035,200,ok,v1,
|
||||
2026-11-16T04:25:57.361994+00:00,0.036,200,ok,v1,
|
||||
2026-11-16T04:25:58.362157+00:00,0.026,200,ok,v1,
|
||||
2026-11-16T04:25:59.362357+00:00,0.027,200,ok,v1,
|
||||
2026-11-16T04:26:00.362517+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:26:01.362797+00:00,0.024,200,ok,v1,
|
||||
2026-11-16T04:26:02.362964+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:26:03.364772+00:00,0.059,200,ok,v1,
|
||||
2026-11-16T04:26:04.364913+00:00,0.031,200,ok,v1,
|
||||
2026-11-16T04:26:05.365102+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:26:06.365300+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:26:07.365916+00:00,0.026,200,ok,v1,
|
||||
2026-11-16T04:26:08.366083+00:00,0.034,200,ok,v1,
|
||||
2026-11-16T04:26:09.366246+00:00,0.022,200,ok,v1,
|
||||
2026-11-16T04:26:10.366998+00:00,0.057,200,ok,v1,
|
||||
2026-11-16T04:26:11.367154+00:00,0.022,200,ok,v1,
|
||||
2026-11-16T04:26:12.367796+00:00,0.036,200,ok,v1,
|
||||
2026-11-16T04:26:13.367960+00:00,0.014,200,ok,v1,
|
||||
2026-11-16T04:26:14.368126+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:26:15.368311+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:26:16.368451+00:00,0.026,200,ok,v1,
|
||||
2026-11-16T04:26:17.368611+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:26:18.368777+00:00,0.019,200,ok,v1,
|
||||
2026-11-16T04:26:19.368956+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:26:20.369905+00:00,0.029,200,ok,v1,
|
||||
2026-11-16T04:26:21.370903+00:00,0.031,200,ok,v1,
|
||||
2026-11-16T04:26:22.371921+00:00,0.029,200,ok,v1,
|
||||
2026-11-16T04:26:23.372141+00:00,0.04,200,ok,v1,
|
||||
2026-11-16T04:26:24.372916+00:00,0.047,200,ok,v1,
|
||||
2026-11-16T04:26:25.373094+00:00,0.027,200,ok,v1,
|
||||
2026-11-16T04:26:26.373315+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:26:27.374368+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:26:28.374893+00:00,0.033,200,ok,v1,
|
||||
2026-11-16T04:26:29.375047+00:00,0.013,200,ok,v1,
|
||||
2026-11-16T04:26:30.375241+00:00,0.078,200,ok,v1,
|
||||
2026-11-16T04:26:31.375372+00:00,0.032,200,ok,v1,
|
||||
2026-11-16T04:26:32.375554+00:00,0.019,200,ok,v1,
|
||||
2026-11-16T04:26:33.375707+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:26:34.376724+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:26:35.376909+00:00,0.073,200,ok,v1,
|
||||
2026-11-16T04:26:36.377017+00:00,0.039,200,ok,v1,
|
||||
2026-11-16T04:26:37.377178+00:00,0.062,200,ok,v1,
|
||||
2026-11-16T04:26:38.377909+00:00,0.033,200,ok,v1,
|
||||
2026-11-16T04:26:39.378049+00:00,0.053,200,ok,v1,
|
||||
2026-11-16T04:26:40.378245+00:00,0.019,200,ok,v1,
|
||||
2026-11-16T04:26:41.378559+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:26:42.379222+00:00,0.027,200,ok,v1,
|
||||
2026-11-16T04:26:43.380768+00:00,0.033,200,ok,v1,
|
||||
2026-11-16T04:26:44.380920+00:00,0.05,200,ok,v1,
|
||||
2026-11-16T04:26:45.381114+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:26:46.381903+00:00,0.029,200,ok,v1,
|
||||
2026-11-16T04:26:47.382647+00:00,0.042,200,ok,v1,
|
||||
2026-11-16T04:26:48.382798+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:26:49.384904+00:00,0.027,200,ok,v1,
|
||||
2026-11-16T04:26:50.385315+00:00,0.075,200,ok,v1,
|
||||
2026-11-16T04:26:51.386919+00:00,0.065,200,ok,v1,
|
||||
2026-11-16T04:26:52.389914+00:00,0.076,200,ok,v1,
|
||||
2026-11-16T04:26:53.391229+00:00,0.08,200,ok,v1,
|
||||
2026-11-16T04:26:54.392101+00:00,0.034,200,ok,v1,
|
||||
2026-11-16T04:26:55.392912+00:00,0.043,200,ok,v1,
|
||||
2026-11-16T04:26:56.393073+00:00,0.022,200,ok,v1,
|
||||
2026-11-16T04:26:57.393244+00:00,0.021,200,ok,v1,
|
||||
2026-11-16T04:26:58.393485+00:00,0.019,200,ok,v1,
|
||||
2026-11-16T04:26:59.393636+00:00,0.024,200,ok,v1,
|
||||
2026-11-16T04:27:00.394124+00:00,0.037,200,ok,v1,
|
||||
2026-11-16T04:27:01.394317+00:00,0.037,200,ok,v1,
|
||||
2026-11-16T04:27:02.394491+00:00,0.027,200,ok,v1,
|
||||
2026-11-16T04:27:03.394664+00:00,0.019,200,ok,v1,
|
||||
2026-11-16T04:27:04.394819+00:00,0.031,200,ok,v1,
|
||||
2026-11-16T04:27:05.394994+00:00,0.04,200,ok,v1,
|
||||
2026-11-16T04:27:06.395130+00:00,0.035,200,ok,v1,
|
||||
2026-11-16T04:27:07.395278+00:00,0.044,200,ok,v1,
|
||||
2026-11-16T04:27:08.395494+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:27:09.395655+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:27:10.395838+00:00,0.021,200,ok,v1,
|
||||
2026-11-16T04:27:11.396270+00:00,0.022,200,ok,v1,
|
||||
2026-11-16T04:27:12.396443+00:00,0.023,200,ok,v1,
|
||||
2026-11-16T04:27:13.396614+00:00,0.028,200,ok,v1,
|
||||
2026-11-16T04:27:14.396775+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:27:15.396977+00:00,0.019,200,ok,v1,
|
||||
2026-11-16T04:27:16.397164+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:27:17.397317+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:27:18.397435+00:00,0.047,200,ok,v1,
|
||||
2026-11-16T04:27:19.397546+00:00,0.089,200,ok,v1,
|
||||
2026-11-16T04:27:20.397686+00:00,0.034,200,ok,v1,
|
||||
2026-11-16T04:27:21.397834+00:00,0.049,200,ok,v1,
|
||||
2026-11-16T04:27:22.398137+00:00,0.021,200,ok,v1,
|
||||
2026-11-16T04:27:23.398306+00:00,0.026,200,ok,v1,
|
||||
2026-11-16T04:27:24.398462+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:27:25.398625+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:27:26.398791+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:27:27.398907+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:27:28.399087+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:27:29.399255+00:00,0.019,200,ok,v1,
|
||||
2026-11-16T04:27:30.399408+00:00,0.022,200,ok,v1,
|
||||
2026-11-16T04:27:31.399587+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:27:32.400498+00:00,0.112,200,ok,v1,
|
||||
2026-11-16T04:27:33.400683+00:00,0.061,200,ok,v1,
|
||||
2026-11-16T04:27:34.400840+00:00,0.087,200,ok,v1,
|
||||
2026-11-16T04:27:35.401043+00:00,0.088,200,ok,v1,
|
||||
2026-11-16T04:27:36.401225+00:00,0.03,200,ok,v1,
|
||||
2026-11-16T04:27:37.401513+00:00,0.021,200,ok,v1,
|
||||
2026-11-16T04:27:38.401774+00:00,0.021,200,ok,v1,
|
||||
2026-11-16T04:27:39.401921+00:00,0.027,200,ok,v1,
|
||||
2026-11-16T04:27:40.402080+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:27:41.402256+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:27:42.402434+00:00,0.025,200,ok,v1,
|
||||
2026-11-16T04:27:43.402617+00:00,0.041,200,ok,v1,
|
||||
2026-11-16T04:27:44.402816+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:27:45.403015+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:27:46.403123+00:00,0.087,200,ok,v1,
|
||||
2026-11-16T04:27:47.403273+00:00,0.084,200,ok,v1,
|
||||
2026-11-16T04:27:48.403434+00:00,0.086,200,ok,v1,
|
||||
2026-11-16T04:27:49.403592+00:00,0.03,200,ok,v1,
|
||||
2026-11-16T04:27:50.403755+00:00,0.035,200,ok,v1,
|
||||
2026-11-16T04:27:51.404900+00:00,0.058,200,ok,v1,
|
||||
2026-11-16T04:27:52.405165+00:00,0.019,200,ok,v1,
|
||||
2026-11-16T04:27:53.405403+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:27:54.405637+00:00,0.014,200,ok,v1,
|
||||
2026-11-16T04:27:55.433056+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:27:56.433921+00:00,0.03,200,ok,v1,
|
||||
2026-11-16T04:27:57.434110+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:27:58.434318+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:27:59.434615+00:00,0.025,200,ok,v1,
|
||||
2026-11-16T04:28:00.434883+00:00,0.065,200,ok,v1,
|
||||
2026-11-16T04:28:01.435917+00:00,0.052,200,ok,v1,
|
||||
2026-11-16T04:28:02.436084+00:00,0.054,200,ok,v1,
|
||||
2026-11-16T04:28:03.436241+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:28:04.436511+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:28:05.436786+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:28:06.437076+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:28:07.437298+00:00,0.014,200,ok,v1,
|
||||
2026-11-16T04:28:08.437648+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:28:09.437800+00:00,0.014,200,ok,v1,
|
||||
2026-11-16T04:28:10.437992+00:00,0.013,200,ok,v1,
|
||||
2026-11-16T04:28:11.438228+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:28:12.438490+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:28:13.444784+00:00,0.044,200,ok,v1,
|
||||
2026-11-16T04:28:14.444991+00:00,0.045,200,ok,v1,
|
||||
2026-11-16T04:28:15.445200+00:00,0.042,200,ok,v1,
|
||||
2026-11-16T04:28:16.445328+00:00,0.013,200,ok,v1,
|
||||
2026-11-16T04:28:17.445547+00:00,0.014,200,ok,v1,
|
||||
2026-11-16T04:28:18.445771+00:00,0.014,200,ok,v1,
|
||||
2026-11-16T04:28:19.446579+00:00,0.022,200,ok,v1,
|
||||
2026-11-16T04:28:20.446804+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:28:21.446903+00:00,0.014,200,ok,v1,
|
||||
2026-11-16T04:28:22.447125+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:28:23.447345+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:28:24.447486+00:00,0.013,200,ok,v1,
|
||||
2026-11-16T04:28:25.447702+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:28:26.447937+00:00,0.04,200,ok,v1,
|
||||
2026-11-16T04:28:27.448087+00:00,0.043,200,ok,v1,
|
||||
2026-11-16T04:28:28.448250+00:00,0.038,200,ok,v1,
|
||||
2026-11-16T04:28:29.448418+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:28:30.448604+00:00,0.014,200,ok,v1,
|
||||
2026-11-16T04:28:31.448750+00:00,0.014,200,ok,v1,
|
||||
2026-11-16T04:28:32.448994+00:00,0.014,200,ok,v1,
|
||||
2026-11-16T04:28:33.449135+00:00,0.019,200,ok,v1,
|
||||
2026-11-16T04:28:34.449276+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:28:35.449530+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:28:36.449683+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:28:37.449871+00:00,0.014,200,ok,v1,
|
||||
2026-11-16T04:28:38.450008+00:00,0.031,200,ok,v1,
|
||||
2026-11-16T04:28:39.450154+00:00,0.043,200,ok,v1,
|
||||
2026-11-16T04:28:40.450903+00:00,0.047,200,ok,v1,
|
||||
2026-11-16T04:28:41.451043+00:00,0.042,200,ok,v1,
|
||||
2026-11-16T04:28:42.451182+00:00,0.039,200,ok,v1,
|
||||
2026-11-16T04:28:43.451924+00:00,0.027,200,ok,v1,
|
||||
2026-11-16T04:28:44.453246+00:00,0.043,200,ok,v1,
|
||||
2026-11-16T04:28:45.453407+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:28:46.454192+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:28:47.454357+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:28:48.454511+00:00,0.013,200,ok,v1,
|
||||
2026-11-16T04:28:49.455921+00:00,0.03,200,ok,v1,
|
||||
2026-11-16T04:28:50.456919+00:00,0.044,200,ok,v1,
|
||||
2026-11-16T04:28:51.457915+00:00,0.026,200,ok,v1,
|
||||
2026-11-16T04:28:52.458091+00:00,0.057,200,ok,v1,
|
||||
2026-11-16T04:28:53.458285+00:00,0.038,200,ok,v1,
|
||||
2026-11-16T04:28:54.459911+00:00,0.081,200,ok,v1,
|
||||
2026-11-16T04:28:55.460702+00:00,0.039,200,ok,v1,
|
||||
2026-11-16T04:28:56.461744+00:00,0.041,200,ok,v1,
|
||||
2026-11-16T04:28:57.461926+00:00,0.029,200,ok,v1,
|
||||
2026-11-16T04:28:58.462931+00:00,0.03,200,ok,v1,
|
||||
2026-11-16T04:28:59.464914+00:00,0.029,200,ok,v1,
|
||||
2026-11-16T04:29:00.465068+00:00,0.034,200,ok,v1,
|
||||
2026-11-16T04:29:01.465259+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:29:02.465493+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:29:03.465667+00:00,0.014,200,ok,v1,
|
||||
2026-11-16T04:29:04.466917+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:29:05.467111+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:29:06.467327+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:29:07.467967+00:00,0.03,200,ok,v1,
|
||||
2026-11-16T04:29:08.468157+00:00,0.019,200,ok,v1,
|
||||
2026-11-16T04:29:09.469270+00:00,0.029,200,ok,v1,
|
||||
2026-11-16T04:29:10.469901+00:00,0.021,200,ok,v1,
|
||||
2026-11-16T04:29:11.470415+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:29:12.472835+00:00,0.056,200,ok,v1,
|
||||
2026-11-16T04:29:13.473411+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:29:14.473907+00:00,0.047,200,ok,v1,
|
||||
2026-11-16T04:29:15.474705+00:00,0.078,200,ok,v1,
|
||||
2026-11-16T04:29:16.474885+00:00,0.025,200,ok,v1,
|
||||
2026-11-16T04:29:17.475022+00:00,0.013,200,ok,v1,
|
||||
2026-11-16T04:29:18.475528+00:00,0.025,200,ok,v1,
|
||||
2026-11-16T04:29:19.476912+00:00,0.022,200,ok,v1,
|
||||
2026-11-16T04:29:20.477058+00:00,0.029,200,ok,v1,
|
||||
2026-11-16T04:29:21.477221+00:00,0.051,200,ok,v1,
|
||||
2026-11-16T04:29:22.477519+00:00,0.014,200,ok,v1,
|
||||
2026-11-16T04:29:23.477667+00:00,0.024,200,ok,v1,
|
||||
2026-11-16T04:29:24.477821+00:00,0.035,200,ok,v1,
|
||||
2026-11-16T04:29:25.478902+00:00,0.021,200,ok,v1,
|
||||
2026-11-16T04:29:26.479125+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:29:27.479333+00:00,0.014,200,ok,v1,
|
||||
2026-11-16T04:29:28.479493+00:00,0.033,200,ok,v1,
|
||||
2026-11-16T04:29:29.480630+00:00,0.028,200,ok,v1,
|
||||
2026-11-16T04:29:30.480788+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:29:31.481144+00:00,0.041,200,ok,v1,
|
||||
2026-11-16T04:29:32.481403+00:00,0.037,200,ok,v1,
|
||||
2026-11-16T04:29:33.482016+00:00,0.112,200,ok,v1,
|
||||
2026-11-16T04:29:34.482279+00:00,0.046,200,ok,v1,
|
||||
2026-11-16T04:29:35.482422+00:00,0.046,200,ok,v1,
|
||||
2026-11-16T04:29:36.482577+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:29:37.482738+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:29:38.482924+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:29:39.483901+00:00,0.025,200,ok,v1,
|
||||
2026-11-16T04:29:40.484088+00:00,0.037,200,ok,v1,
|
||||
2026-11-16T04:29:41.484243+00:00,0.014,200,ok,v1,
|
||||
2026-11-16T04:29:42.484396+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:29:43.484545+00:00,0.019,200,ok,v1,
|
||||
2026-11-16T04:29:44.484702+00:00,0.029,200,ok,v1,
|
||||
2026-11-16T04:29:45.484887+00:00,0.014,200,ok,v1,
|
||||
2026-11-16T04:29:46.485904+00:00,0.025,200,ok,v1,
|
||||
2026-11-16T04:29:47.487917+00:00,0.036,200,ok,v1,
|
||||
2026-11-16T04:29:48.488174+00:00,0.102,200,ok,v1,
|
||||
2026-11-16T04:29:49.488383+00:00,0.034,200,ok,v1,
|
||||
2026-11-16T04:29:50.488772+00:00,0.025,200,ok,v1,
|
||||
2026-11-16T04:29:51.489015+00:00,0.024,200,ok,v1,
|
||||
2026-11-16T04:29:52.489224+00:00,0.019,200,ok,v1,
|
||||
2026-11-16T04:29:53.489428+00:00,0.023,200,ok,v1,
|
||||
2026-11-16T04:29:54.489596+00:00,0.032,200,ok,v1,
|
||||
2026-11-16T04:29:55.489821+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:29:56.490533+00:00,0.035,200,ok,v1,
|
||||
2026-11-16T04:29:57.491894+00:00,0.035,200,ok,v1,
|
||||
2026-11-16T04:29:58.492089+00:00,0.043,200,ok,v1,
|
||||
2026-11-16T04:29:59.492940+00:00,0.035,200,ok,v1,
|
||||
2026-11-16T04:30:00.495070+00:00,0.093,200,ok,v1,
|
||||
2026-11-16T04:30:01.496802+00:00,0.061,200,ok,v1,
|
||||
2026-11-16T04:30:02.497919+00:00,0.107,200,ok,v1,
|
||||
2026-11-16T04:30:03.498102+00:00,0.042,200,ok,v1,
|
||||
2026-11-16T04:30:04.498310+00:00,0.036,200,ok,v1,
|
||||
2026-11-16T04:30:05.500708+00:00,0.045,200,ok,v1,
|
||||
2026-11-16T04:30:06.502032+00:00,0.033,200,ok,v1,
|
||||
2026-11-16T04:30:07.502911+00:00,0.034,200,ok,v1,
|
||||
2026-11-16T04:30:08.503915+00:00,0.044,200,ok,v1,
|
||||
2026-11-16T04:30:09.504905+00:00,0.039,200,ok,v1,
|
||||
2026-11-16T04:30:10.505926+00:00,0.037,200,ok,v1,
|
||||
2026-11-16T04:30:11.506085+00:00,0.045,200,ok,v1,
|
||||
2026-11-16T04:30:12.506908+00:00,0.036,200,ok,v1,
|
||||
2026-11-16T04:30:13.507652+00:00,0.055,200,ok,v1,
|
||||
2026-11-16T04:30:14.507915+00:00,0.055,200,ok,v1,
|
||||
2026-11-16T04:30:15.508922+00:00,0.076,200,ok,v1,
|
||||
2026-11-16T04:30:16.510315+00:00,0.036,200,ok,v1,
|
||||
2026-11-16T04:30:17.510506+00:00,0.035,200,ok,v1,
|
||||
2026-11-16T04:30:18.510923+00:00,0.03,200,ok,v1,
|
||||
2026-11-16T04:30:19.511903+00:00,0.029,200,ok,v1,
|
||||
2026-11-16T04:30:20.512892+00:00,0.034,200,ok,v1,
|
||||
2026-11-16T04:30:21.513037+00:00,0.036,200,ok,v1,
|
||||
2026-11-16T04:30:22.513929+00:00,0.023,200,ok,v1,
|
||||
2026-11-16T04:30:23.514074+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:30:24.514621+00:00,0.033,200,ok,v1,
|
||||
2026-11-16T04:30:25.514933+00:00,0.03,200,ok,v1,
|
||||
2026-11-16T04:30:26.515575+00:00,0.045,200,ok,v1,
|
||||
2026-11-16T04:30:27.516921+00:00,0.054,200,ok,v1,
|
||||
2026-11-16T04:30:28.519570+00:00,0.081,200,ok,v1,
|
||||
2026-11-16T04:30:29.520921+00:00,0.074,200,ok,v1,
|
||||
2026-11-16T04:30:30.522897+00:00,0.07,200,ok,v1,
|
||||
2026-11-16T04:30:31.523044+00:00,0.047,200,ok,v1,
|
||||
2026-11-16T04:30:32.523381+00:00,0.022,200,ok,v1,
|
||||
2026-11-16T04:30:33.524897+00:00,0.026,200,ok,v1,
|
||||
2026-11-16T04:30:34.525054+00:00,0.021,200,ok,v1,
|
||||
2026-11-16T04:30:35.526005+00:00,0.046,200,ok,v1,
|
||||
2026-11-16T04:30:36.526160+00:00,0.052,200,ok,v1,
|
||||
2026-11-16T04:30:37.526898+00:00,0.033,200,ok,v1,
|
||||
2026-11-16T04:30:38.528913+00:00,0.058,200,ok,v1,
|
||||
2026-11-16T04:30:39.529925+00:00,0.046,200,ok,v1,
|
||||
2026-11-16T04:30:40.531942+00:00,0.034,200,ok,v1,
|
||||
2026-11-16T04:30:41.533812+00:00,0.089,200,ok,v1,
|
||||
2026-11-16T04:30:42.536216+00:00,0.077,200,ok,v1,
|
||||
2026-11-16T04:30:43.537937+00:00,0.057,200,ok,v1,
|
||||
2026-11-16T04:30:44.539932+00:00,0.078,200,ok,v1,
|
||||
2026-11-16T04:30:45.540103+00:00,0.033,200,ok,v1,
|
||||
2026-11-16T04:30:46.542909+00:00,0.087,200,ok,v1,
|
||||
2026-11-16T04:30:47.543786+00:00,0.053,200,ok,v1,
|
||||
2026-11-16T04:30:48.545022+00:00,0.04,200,ok,v1,
|
||||
2026-11-16T04:30:49.545194+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:30:50.546952+00:00,0.032,200,ok,v1,
|
||||
2026-11-16T04:30:51.547570+00:00,0.023,200,ok,v1,
|
||||
2026-11-16T04:30:52.550196+00:00,0.06,200,ok,v1,
|
||||
2026-11-16T04:30:53.551016+00:00,0.038,200,ok,v1,
|
||||
2026-11-16T04:30:54.552907+00:00,0.043,200,ok,v1,
|
||||
2026-11-16T04:30:55.553823+00:00,0.064,200,ok,v1,
|
||||
2026-11-16T04:30:56.554279+00:00,0.038,200,ok,v1,
|
||||
2026-11-16T04:30:57.554425+00:00,0.065,200,ok,v1,
|
||||
2026-11-16T04:30:58.554625+00:00,0.036,200,ok,v1,
|
||||
2026-11-16T04:30:59.554789+00:00,0.025,200,ok,v1,
|
||||
2026-11-16T04:31:00.555029+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:31:01.555258+00:00,0.024,200,ok,v1,
|
||||
2026-11-16T04:31:02.555539+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:31:03.555782+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:31:04.555926+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:31:05.563200+00:00,0.021,200,ok,v1,
|
||||
2026-11-16T04:31:06.568068+00:00,0.031,200,ok,v1,
|
||||
2026-11-16T04:31:07.568263+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:31:08.568486+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:31:09.568705+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:31:10.568912+00:00,0.022,200,ok,v1,
|
||||
2026-11-16T04:31:11.569103+00:00,0.021,200,ok,v1,
|
||||
2026-11-16T04:31:12.569305+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:31:13.573443+00:00,0.019,200,ok,v1,
|
||||
2026-11-16T04:31:14.573618+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:31:15.573881+00:00,0.027,200,ok,v1,
|
||||
2026-11-16T04:31:16.574116+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:31:17.574279+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:31:18.574509+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:31:19.574747+00:00,0.021,200,ok,v1,
|
||||
2026-11-16T04:31:20.574968+00:00,0.014,200,ok,v1,
|
||||
2026-11-16T04:31:21.575156+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:31:22.575390+00:00,0.027,200,ok,v1,
|
||||
2026-11-16T04:31:23.575553+00:00,0.041,200,ok,v1,
|
||||
2026-11-16T04:31:24.576379+00:00,0.047,200,ok,v1,
|
||||
2026-11-16T04:31:25.576623+00:00,0.029,200,ok,v1,
|
||||
2026-11-16T04:31:26.576877+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:31:27.577125+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:31:28.577411+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:31:29.577654+00:00,0.019,200,ok,v1,
|
||||
2026-11-16T04:31:30.577878+00:00,0.022,200,ok,v1,
|
||||
2026-11-16T04:31:31.578109+00:00,0.019,200,ok,v1,
|
||||
2026-11-16T04:31:32.587819+00:00,0.018,200,ok,v1,
|
||||
2026-11-16T04:31:33.588058+00:00,0.027,200,ok,v1,
|
||||
2026-11-16T04:31:34.588310+00:00,0.028,200,ok,v1,
|
||||
2026-11-16T04:31:35.588740+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:31:36.589923+00:00,0.045,200,ok,v1,
|
||||
2026-11-16T04:31:37.590961+00:00,0.097,200,ok,v1,
|
||||
2026-11-16T04:31:38.593532+00:00,0.094,200,ok,v1,
|
||||
2026-11-16T04:31:39.593696+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:31:40.593937+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:31:41.594150+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:31:42.594428+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:31:43.594595+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:31:44.594822+00:00,0.016,200,ok,v1,
|
||||
2026-11-16T04:31:45.595087+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:31:46.595278+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:31:47.595433+00:00,0.019,200,ok,v1,
|
||||
2026-11-16T04:31:48.595649+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:31:49.597912+00:00,0.034,200,ok,v1,
|
||||
2026-11-16T04:31:50.598058+00:00,0.089,200,ok,v1,
|
||||
2026-11-16T04:31:51.598911+00:00,0.092,200,ok,v1,
|
||||
2026-11-16T04:31:52.600125+00:00,0.09,200,ok,v1,
|
||||
2026-11-16T04:31:53.600222+00:00,0.024,200,ok,v1,
|
||||
2026-11-16T04:31:54.600383+00:00,0.051,200,ok,v1,
|
||||
2026-11-16T04:31:55.600540+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:31:56.600734+00:00,0.02,200,ok,v1,
|
||||
2026-11-16T04:31:57.600942+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:31:58.601145+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:31:59.601378+00:00,0.017,200,ok,v1,
|
||||
2026-11-16T04:32:00.601589+00:00,0.023,200,ok,v1,
|
||||
2026-11-16T04:32:01.601816+00:00,0.028,200,ok,v1,
|
||||
2026-11-16T04:32:02.602053+00:00,0.031,200,ok,v1,
|
||||
2026-11-16T04:32:03.603926+00:00,0.072,200,ok,v1,
|
||||
2026-11-16T04:32:04.604911+00:00,0.085,200,ok,v1,
|
||||
2026-11-16T04:32:05.605919+00:00,0.083,200,ok,v1,
|
||||
2026-11-16T04:32:06.606150+00:00,0.022,200,ok,v1,
|
||||
2026-11-16T04:32:07.606366+00:00,0.015,200,ok,v1,
|
||||
2026-11-16T04:32:08.606630+00:00,0.019,200,ok,v1,
|
||||
2026-11-16T04:32:09.606881+00:00,0.027,200,ok,v1,
|
||||
2026-11-16T04:32:10.607054+00:00,0.018,200,ok,v1,
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,407 @@
|
||||
started_utc,elapsed_seconds,http_status,status,version,error
|
||||
2026-11-16T04:25:24.077935+00:00,0.07,200,ok,v2,
|
||||
2026-11-16T04:25:25.078146+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:25:26.078374+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:25:27.078588+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:25:28.078777+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:25:29.078945+00:00,0.091,200,ok,v2,
|
||||
2026-11-16T04:25:30.079944+00:00,0.088,200,ok,v2,
|
||||
2026-11-16T04:25:31.080929+00:00,0.029,200,ok,v2,
|
||||
2026-11-16T04:25:32.081162+00:00,0.029,200,ok,v2,
|
||||
2026-11-16T04:25:33.081359+00:00,0.029,200,ok,v2,
|
||||
2026-11-16T04:25:34.081663+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:25:35.081813+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:25:36.082041+00:00,0.013,200,ok,v2,
|
||||
2026-11-16T04:25:37.082235+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:25:38.082467+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:25:39.082684+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:25:40.082924+00:00,0.025,200,ok,v2,
|
||||
2026-11-16T04:25:41.083080+00:00,0.027,200,ok,v2,
|
||||
2026-11-16T04:25:42.084078+00:00,0.032,200,ok,v2,
|
||||
2026-11-16T04:25:43.084608+00:00,0.09,200,ok,v2,
|
||||
2026-11-16T04:25:44.084920+00:00,0.083,200,ok,v2,
|
||||
2026-11-16T04:25:45.085915+00:00,0.028,200,ok,v2,
|
||||
2026-11-16T04:25:46.086907+00:00,0.03,200,ok,v2,
|
||||
2026-11-16T04:25:47.087083+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:25:48.087246+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:25:49.087954+00:00,0.031,200,ok,v2,
|
||||
2026-11-16T04:25:50.088097+00:00,0.037,200,ok,v2,
|
||||
2026-11-16T04:25:51.088905+00:00,0.027,200,ok,v2,
|
||||
2026-11-16T04:25:52.089100+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:25:53.090189+00:00,0.033,200,ok,v2,
|
||||
2026-11-16T04:25:54.090399+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:25:55.090901+00:00,0.08,200,ok,v2,
|
||||
2026-11-16T04:25:56.091061+00:00,0.079,200,ok,v2,
|
||||
2026-11-16T04:25:57.091906+00:00,0.031,200,ok,v2,
|
||||
2026-11-16T04:25:58.092087+00:00,0.036,200,ok,v2,
|
||||
2026-11-16T04:25:59.092945+00:00,0.026,200,ok,v2,
|
||||
2026-11-16T04:26:00.093207+00:00,0.023,200,ok,v2,
|
||||
2026-11-16T04:26:01.093545+00:00,0.056,200,ok,v2,
|
||||
2026-11-16T04:26:02.093789+00:00,0.034,200,ok,v2,
|
||||
2026-11-16T04:26:03.094051+00:00,0.025,200,ok,v2,
|
||||
2026-11-16T04:26:04.094283+00:00,0.035,200,ok,v2,
|
||||
2026-11-16T04:26:05.094528+00:00,0.021,200,ok,v2,
|
||||
2026-11-16T04:26:06.094766+00:00,0.03,200,ok,v2,
|
||||
2026-11-16T04:26:07.095733+00:00,0.039,200,ok,v2,
|
||||
2026-11-16T04:26:08.095917+00:00,0.075,200,ok,v2,
|
||||
2026-11-16T04:26:09.097934+00:00,0.073,200,ok,v2,
|
||||
2026-11-16T04:26:10.098929+00:00,0.045,200,ok,v2,
|
||||
2026-11-16T04:26:11.099066+00:00,0.035,200,ok,v2,
|
||||
2026-11-16T04:26:12.100928+00:00,0.052,200,ok,v2,
|
||||
2026-11-16T04:26:13.101717+00:00,0.036,200,ok,v2,
|
||||
2026-11-16T04:26:14.102909+00:00,0.035,200,ok,v2,
|
||||
2026-11-16T04:26:15.103251+00:00,0.028,200,ok,v2,
|
||||
2026-11-16T04:26:16.103683+00:00,0.028,200,ok,v2,
|
||||
2026-11-16T04:26:17.104902+00:00,0.026,200,ok,v2,
|
||||
2026-11-16T04:26:18.105912+00:00,0.028,200,ok,v2,
|
||||
2026-11-16T04:26:19.106071+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:26:20.106914+00:00,0.045,200,ok,v2,
|
||||
2026-11-16T04:26:21.107903+00:00,0.028,200,ok,v2,
|
||||
2026-11-16T04:26:22.108904+00:00,0.063,200,ok,v2,
|
||||
2026-11-16T04:26:23.110924+00:00,0.063,200,ok,v2,
|
||||
2026-11-16T04:26:24.111911+00:00,0.058,200,ok,v2,
|
||||
2026-11-16T04:26:25.112057+00:00,0.037,200,ok,v2,
|
||||
2026-11-16T04:26:26.112807+00:00,0.04,200,ok,v2,
|
||||
2026-11-16T04:26:27.113910+00:00,0.035,200,ok,v2,
|
||||
2026-11-16T04:26:28.114070+00:00,0.058,200,ok,v2,
|
||||
2026-11-16T04:26:29.114309+00:00,0.035,200,ok,v2,
|
||||
2026-11-16T04:26:30.114638+00:00,0.044,200,ok,v2,
|
||||
2026-11-16T04:26:31.114833+00:00,0.052,200,ok,v2,
|
||||
2026-11-16T04:26:32.115700+00:00,0.031,200,ok,v2,
|
||||
2026-11-16T04:26:33.115910+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:26:34.116303+00:00,0.031,200,ok,v2,
|
||||
2026-11-16T04:26:35.116905+00:00,0.058,200,ok,v2,
|
||||
2026-11-16T04:26:36.118115+00:00,0.059,200,ok,v2,
|
||||
2026-11-16T04:26:37.119038+00:00,0.069,200,ok,v2,
|
||||
2026-11-16T04:26:38.119180+00:00,0.06,200,ok,v2,
|
||||
2026-11-16T04:26:39.120922+00:00,0.062,200,ok,v2,
|
||||
2026-11-16T04:26:40.121060+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:26:41.121767+00:00,0.06,200,ok,v2,
|
||||
2026-11-16T04:26:42.121938+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:26:43.122387+00:00,0.042,200,ok,v2,
|
||||
2026-11-16T04:26:44.122876+00:00,0.023,200,ok,v2,
|
||||
2026-11-16T04:26:45.123020+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:26:46.123362+00:00,0.036,200,ok,v2,
|
||||
2026-11-16T04:26:47.124782+00:00,0.028,200,ok,v2,
|
||||
2026-11-16T04:26:48.125797+00:00,0.03,200,ok,v2,
|
||||
2026-11-16T04:26:49.128077+00:00,0.053,200,ok,v2,
|
||||
2026-11-16T04:26:50.128314+00:00,0.096,200,ok,v2,
|
||||
2026-11-16T04:26:51.129911+00:00,0.097,200,ok,v2,
|
||||
2026-11-16T04:26:52.130143+00:00,0.143,200,ok,v2,
|
||||
2026-11-16T04:26:53.130293+00:00,0.03,502,,,HTTPError
|
||||
2026-11-16T04:26:54.130916+00:00,0.03,502,,,HTTPError
|
||||
2026-11-16T04:26:55.131055+00:00,0.026,502,,,HTTPError
|
||||
2026-11-16T04:26:56.131725+00:00,0.02,502,,,HTTPError
|
||||
2026-11-16T04:26:57.131900+00:00,0.031,502,,,HTTPError
|
||||
2026-11-16T04:26:58.132050+00:00,0.02,502,,,HTTPError
|
||||
2026-11-16T04:26:59.132208+00:00,0.026,502,,,HTTPError
|
||||
2026-11-16T04:27:00.132599+00:00,0.025,502,,,HTTPError
|
||||
2026-11-16T04:27:01.132761+00:00,0.033,502,,,HTTPError
|
||||
2026-11-16T04:27:02.132956+00:00,0.022,502,,,HTTPError
|
||||
2026-11-16T04:27:03.133105+00:00,0.022,502,,,HTTPError
|
||||
2026-11-16T04:27:04.133265+00:00,0.025,502,,,HTTPError
|
||||
2026-11-16T04:27:05.133917+00:00,0.02,502,,,HTTPError
|
||||
2026-11-16T04:27:06.134386+00:00,0.023,502,,,HTTPError
|
||||
2026-11-16T04:27:07.134733+00:00,0.022,502,,,HTTPError
|
||||
2026-11-16T04:27:08.134942+00:00,0.021,502,,,HTTPError
|
||||
2026-11-16T04:27:09.135103+00:00,0.022,502,,,HTTPError
|
||||
2026-11-16T04:27:10.135447+00:00,0.044,502,,,HTTPError
|
||||
2026-11-16T04:27:11.136362+00:00,0.022,502,,,HTTPError
|
||||
2026-11-16T04:27:12.136531+00:00,0.021,502,,,HTTPError
|
||||
2026-11-16T04:27:13.136709+00:00,0.015,502,,,HTTPError
|
||||
2026-11-16T04:27:14.136912+00:00,0.016,502,,,HTTPError
|
||||
2026-11-16T04:27:15.137083+00:00,0.018,502,,,HTTPError
|
||||
2026-11-16T04:27:16.137766+00:00,0.014,502,,,HTTPError
|
||||
2026-11-16T04:27:17.137927+00:00,0.018,502,,,HTTPError
|
||||
2026-11-16T04:27:18.138084+00:00,0.019,502,,,HTTPError
|
||||
2026-11-16T04:27:19.138904+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:27:20.139040+00:00,0.026,502,,,HTTPError
|
||||
2026-11-16T04:27:21.139230+00:00,0.029,502,,,HTTPError
|
||||
2026-11-16T04:27:22.139429+00:00,0.034,502,,,HTTPError
|
||||
2026-11-16T04:27:23.139587+00:00,0.027,502,,,HTTPError
|
||||
2026-11-16T04:27:24.139767+00:00,0.015,502,,,HTTPError
|
||||
2026-11-16T04:27:25.139948+00:00,0.023,502,,,HTTPError
|
||||
2026-11-16T04:27:26.140101+00:00,0.016,502,,,HTTPError
|
||||
2026-11-16T04:27:27.140245+00:00,0.017,502,,,HTTPError
|
||||
2026-11-16T04:27:28.140440+00:00,0.018,502,,,HTTPError
|
||||
2026-11-16T04:27:29.140639+00:00,0.014,502,,,HTTPError
|
||||
2026-11-16T04:27:30.140791+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:27:31.140900+00:00,0.019,502,,,HTTPError
|
||||
2026-11-16T04:27:32.141041+00:00,0.061,502,,,HTTPError
|
||||
2026-11-16T04:27:33.142682+00:00,0.05,502,,,HTTPError
|
||||
2026-11-16T04:27:34.142833+00:00,0.02,502,,,HTTPError
|
||||
2026-11-16T04:27:35.143010+00:00,0.012,502,,,HTTPError
|
||||
2026-11-16T04:27:36.143157+00:00,0.014,502,,,HTTPError
|
||||
2026-11-16T04:27:37.143306+00:00,0.015,502,,,HTTPError
|
||||
2026-11-16T04:27:38.143486+00:00,0.021,502,,,HTTPError
|
||||
2026-11-16T04:27:39.143641+00:00,0.015,502,,,HTTPError
|
||||
2026-11-16T04:27:40.143874+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:27:41.144021+00:00,0.017,502,,,HTTPError
|
||||
2026-11-16T04:27:42.144204+00:00,0.017,502,,,HTTPError
|
||||
2026-11-16T04:27:43.144375+00:00,0.016,502,,,HTTPError
|
||||
2026-11-16T04:27:44.144553+00:00,0.019,502,,,HTTPError
|
||||
2026-11-16T04:27:45.144709+00:00,0.017,502,,,HTTPError
|
||||
2026-11-16T04:27:46.145242+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:27:47.145402+00:00,0.019,502,,,HTTPError
|
||||
2026-11-16T04:27:48.145616+00:00,0.018,502,,,HTTPError
|
||||
2026-11-16T04:27:49.145796+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:27:50.145913+00:00,0.014,502,,,HTTPError
|
||||
2026-11-16T04:27:51.146685+00:00,0.036,502,,,HTTPError
|
||||
2026-11-16T04:27:52.146810+00:00,0.014,502,,,HTTPError
|
||||
2026-11-16T04:27:53.147072+00:00,0.014,502,,,HTTPError
|
||||
2026-11-16T04:27:54.147286+00:00,0.017,502,,,HTTPError
|
||||
2026-11-16T04:27:55.147485+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:27:56.147685+00:00,0.031,502,,,HTTPError
|
||||
2026-11-16T04:27:57.148323+00:00,0.038,502,,,HTTPError
|
||||
2026-11-16T04:27:58.148530+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:27:59.148735+00:00,0.012,502,,,HTTPError
|
||||
2026-11-16T04:28:00.148937+00:00,0.018,502,,,HTTPError
|
||||
2026-11-16T04:28:01.149163+00:00,0.012,502,,,HTTPError
|
||||
2026-11-16T04:28:02.149317+00:00,0.033,502,,,HTTPError
|
||||
2026-11-16T04:28:03.149558+00:00,0.022,502,,,HTTPError
|
||||
2026-11-16T04:28:04.149722+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:28:05.149941+00:00,0.014,502,,,HTTPError
|
||||
2026-11-16T04:28:06.150093+00:00,0.016,502,,,HTTPError
|
||||
2026-11-16T04:28:07.150315+00:00,0.014,502,,,HTTPError
|
||||
2026-11-16T04:28:08.150536+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:28:09.150760+00:00,0.014,502,,,HTTPError
|
||||
2026-11-16T04:28:10.150901+00:00,0.012,502,,,HTTPError
|
||||
2026-11-16T04:28:11.151119+00:00,0.014,502,,,HTTPError
|
||||
2026-11-16T04:28:12.151328+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:28:13.151538+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:28:14.151770+00:00,0.012,502,,,HTTPError
|
||||
2026-11-16T04:28:15.151980+00:00,0.012,502,,,HTTPError
|
||||
2026-11-16T04:28:16.152168+00:00,0.017,502,,,HTTPError
|
||||
2026-11-16T04:28:17.152759+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:28:18.152957+00:00,0.017,502,,,HTTPError
|
||||
2026-11-16T04:28:19.153184+00:00,0.012,502,,,HTTPError
|
||||
2026-11-16T04:28:20.153417+00:00,0.012,502,,,HTTPError
|
||||
2026-11-16T04:28:21.153665+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:28:22.153905+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:28:23.154099+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:28:24.154248+00:00,0.015,502,,,HTTPError
|
||||
2026-11-16T04:28:25.154405+00:00,0.012,502,,,HTTPError
|
||||
2026-11-16T04:28:26.154589+00:00,0.012,502,,,HTTPError
|
||||
2026-11-16T04:28:27.154747+00:00,0.014,502,,,HTTPError
|
||||
2026-11-16T04:28:28.154927+00:00,0.017,502,,,HTTPError
|
||||
2026-11-16T04:28:29.155137+00:00,0.012,502,,,HTTPError
|
||||
2026-11-16T04:28:30.155288+00:00,0.017,502,,,HTTPError
|
||||
2026-11-16T04:28:31.155468+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:28:32.155669+00:00,0.018,502,,,HTTPError
|
||||
2026-11-16T04:28:33.155867+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:28:34.156086+00:00,0.014,502,,,HTTPError
|
||||
2026-11-16T04:28:35.156247+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:28:36.156410+00:00,0.015,502,,,HTTPError
|
||||
2026-11-16T04:28:37.156609+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:28:38.156929+00:00,0.03,502,,,HTTPError
|
||||
2026-11-16T04:28:39.157913+00:00,0.025,502,,,HTTPError
|
||||
2026-11-16T04:28:40.158912+00:00,0.024,502,,,HTTPError
|
||||
2026-11-16T04:28:41.159054+00:00,0.033,502,,,HTTPError
|
||||
2026-11-16T04:28:42.160045+00:00,0.03,502,,,HTTPError
|
||||
2026-11-16T04:28:43.160368+00:00,0.038,502,,,HTTPError
|
||||
2026-11-16T04:28:44.160556+00:00,0.015,502,,,HTTPError
|
||||
2026-11-16T04:28:45.160776+00:00,0.017,502,,,HTTPError
|
||||
2026-11-16T04:28:46.161003+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:28:47.162156+00:00,0.025,502,,,HTTPError
|
||||
2026-11-16T04:28:48.162385+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:28:49.162579+00:00,0.012,502,,,HTTPError
|
||||
2026-11-16T04:28:50.163124+00:00,0.025,502,,,HTTPError
|
||||
2026-11-16T04:28:51.163318+00:00,0.023,502,,,HTTPError
|
||||
2026-11-16T04:28:52.164488+00:00,0.035,502,,,HTTPError
|
||||
2026-11-16T04:28:53.165348+00:00,0.026,502,,,HTTPError
|
||||
2026-11-16T04:28:54.165863+00:00,0.028,502,,,HTTPError
|
||||
2026-11-16T04:28:55.165991+00:00,0.048,502,,,HTTPError
|
||||
2026-11-16T04:28:56.166900+00:00,0.023,502,,,HTTPError
|
||||
2026-11-16T04:28:57.167057+00:00,0.025,502,,,HTTPError
|
||||
2026-11-16T04:28:58.167919+00:00,0.022,502,,,HTTPError
|
||||
2026-11-16T04:28:59.168103+00:00,0.018,502,,,HTTPError
|
||||
2026-11-16T04:29:00.169028+00:00,0.04,502,,,HTTPError
|
||||
2026-11-16T04:29:01.169191+00:00,0.012,502,,,HTTPError
|
||||
2026-11-16T04:29:02.169337+00:00,0.014,502,,,HTTPError
|
||||
2026-11-16T04:29:03.169719+00:00,0.014,502,,,HTTPError
|
||||
2026-11-16T04:29:04.169921+00:00,0.014,502,,,HTTPError
|
||||
2026-11-16T04:29:05.170115+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:29:06.170319+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:29:07.171513+00:00,0.026,502,,,HTTPError
|
||||
2026-11-16T04:29:08.171689+00:00,0.012,502,,,HTTPError
|
||||
2026-11-16T04:29:09.172906+00:00,0.02,502,,,HTTPError
|
||||
2026-11-16T04:29:10.173911+00:00,0.021,502,,,HTTPError
|
||||
2026-11-16T04:29:11.174067+00:00,0.014,502,,,HTTPError
|
||||
2026-11-16T04:29:12.174647+00:00,0.024,502,,,HTTPError
|
||||
2026-11-16T04:29:13.175115+00:00,0.023,502,,,HTTPError
|
||||
2026-11-16T04:29:14.175313+00:00,0.017,502,,,HTTPError
|
||||
2026-11-16T04:29:15.176154+00:00,0.031,502,,,HTTPError
|
||||
2026-11-16T04:29:16.176323+00:00,0.024,502,,,HTTPError
|
||||
2026-11-16T04:29:17.177942+00:00,0.022,502,,,HTTPError
|
||||
2026-11-16T04:29:18.178137+00:00,0.012,502,,,HTTPError
|
||||
2026-11-16T04:29:19.178288+00:00,0.029,502,,,HTTPError
|
||||
2026-11-16T04:29:20.178911+00:00,0.03,502,,,HTTPError
|
||||
2026-11-16T04:29:21.179309+00:00,0.068,502,,,HTTPError
|
||||
2026-11-16T04:29:22.180080+00:00,0.029,502,,,HTTPError
|
||||
2026-11-16T04:29:23.180337+00:00,0.017,502,,,HTTPError
|
||||
2026-11-16T04:29:24.180511+00:00,0.014,502,,,HTTPError
|
||||
2026-11-16T04:29:25.180987+00:00,0.018,502,,,HTTPError
|
||||
2026-11-16T04:29:26.181730+00:00,0.023,502,,,HTTPError
|
||||
2026-11-16T04:29:27.181931+00:00,0.012,502,,,HTTPError
|
||||
2026-11-16T04:29:28.182677+00:00,0.023,502,,,HTTPError
|
||||
2026-11-16T04:29:29.182841+00:00,0.012,502,,,HTTPError
|
||||
2026-11-16T04:29:30.183799+00:00,0.029,502,,,HTTPError
|
||||
2026-11-16T04:29:31.183973+00:00,0.016,502,,,HTTPError
|
||||
2026-11-16T04:29:32.184660+00:00,0.032,502,,,HTTPError
|
||||
2026-11-16T04:29:33.185920+00:00,0.05,502,,,HTTPError
|
||||
2026-11-16T04:29:34.186061+00:00,0.07,502,,,HTTPError
|
||||
2026-11-16T04:29:35.186246+00:00,0.037,502,,,HTTPError
|
||||
2026-11-16T04:29:36.186432+00:00,0.013,502,,,HTTPError
|
||||
2026-11-16T04:29:37.186616+00:00,0.015,502,,,HTTPError
|
||||
2026-11-16T04:29:38.186772+00:00,0.016,502,,,HTTPError
|
||||
2026-11-16T04:29:39.186918+00:00,0.014,502,,,HTTPError
|
||||
2026-11-16T04:29:40.187054+00:00,0.012,502,,,HTTPError
|
||||
2026-11-16T04:29:41.187224+00:00,2.018,,,,TimeoutError
|
||||
2026-11-16T04:29:43.205246+00:00,1.718,200,ok,v2,
|
||||
2026-11-16T04:29:44.924453+00:00,0.028,200,ok,v2,
|
||||
2026-11-16T04:29:45.924601+00:00,0.033,200,ok,v2,
|
||||
2026-11-16T04:29:46.924917+00:00,0.039,200,ok,v2,
|
||||
2026-11-16T04:29:47.925891+00:00,0.023,200,ok,v2,
|
||||
2026-11-16T04:29:48.927611+00:00,0.026,200,ok,v2,
|
||||
2026-11-16T04:29:49.927750+00:00,0.035,200,ok,v2,
|
||||
2026-11-16T04:29:50.928213+00:00,0.029,200,ok,v2,
|
||||
2026-11-16T04:29:51.928341+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:29:52.928956+00:00,0.024,200,ok,v2,
|
||||
2026-11-16T04:29:53.929395+00:00,0.047,200,ok,v2,
|
||||
2026-11-16T04:29:54.931730+00:00,0.025,200,ok,v2,
|
||||
2026-11-16T04:29:55.932346+00:00,0.032,200,ok,v2,
|
||||
2026-11-16T04:29:56.933925+00:00,0.087,200,ok,v2,
|
||||
2026-11-16T04:29:57.934953+00:00,0.09,200,ok,v2,
|
||||
2026-11-16T04:29:58.935909+00:00,0.033,200,ok,v2,
|
||||
2026-11-16T04:29:59.937797+00:00,0.03,200,ok,v2,
|
||||
2026-11-16T04:30:00.938504+00:00,0.122,200,ok,v2,
|
||||
2026-11-16T04:30:01.939919+00:00,0.089,200,ok,v2,
|
||||
2026-11-16T04:30:02.943776+00:00,0.194,200,ok,v2,
|
||||
2026-11-16T04:30:03.944373+00:00,0.036,200,ok,v2,
|
||||
2026-11-16T04:30:04.945023+00:00,0.044,200,ok,v2,
|
||||
2026-11-16T04:30:05.945906+00:00,0.029,200,ok,v2,
|
||||
2026-11-16T04:30:06.946097+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:30:07.946917+00:00,0.022,200,ok,v2,
|
||||
2026-11-16T04:30:08.948910+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:30:09.949744+00:00,0.067,200,ok,v2,
|
||||
2026-11-16T04:30:10.950713+00:00,0.076,200,ok,v2,
|
||||
2026-11-16T04:30:11.952916+00:00,0.055,200,ok,v2,
|
||||
2026-11-16T04:30:12.953919+00:00,0.07,200,ok,v2,
|
||||
2026-11-16T04:30:13.955288+00:00,0.043,200,ok,v2,
|
||||
2026-11-16T04:30:14.955452+00:00,0.026,200,ok,v2,
|
||||
2026-11-16T04:30:15.956921+00:00,0.03,200,ok,v2,
|
||||
2026-11-16T04:30:16.957914+00:00,0.045,200,ok,v2,
|
||||
2026-11-16T04:30:17.958455+00:00,0.031,200,ok,v2,
|
||||
2026-11-16T04:30:18.958621+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:30:19.958872+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:30:20.959049+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:30:21.959206+00:00,0.021,200,ok,v2,
|
||||
2026-11-16T04:30:22.959650+00:00,0.033,200,ok,v2,
|
||||
2026-11-16T04:30:23.961158+00:00,0.064,200,ok,v2,
|
||||
2026-11-16T04:30:24.961906+00:00,0.039,200,ok,v2,
|
||||
2026-11-16T04:30:25.962841+00:00,0.099,200,ok,v2,
|
||||
2026-11-16T04:30:26.963621+00:00,0.088,200,ok,v2,
|
||||
2026-11-16T04:30:27.963785+00:00,0.077,200,ok,v2,
|
||||
2026-11-16T04:30:28.964870+00:00,0.046,200,ok,v2,
|
||||
2026-11-16T04:30:29.965618+00:00,0.037,200,ok,v2,
|
||||
2026-11-16T04:30:30.965765+00:00,0.06,200,ok,v2,
|
||||
2026-11-16T04:30:31.966719+00:00,0.042,200,ok,v2,
|
||||
2026-11-16T04:30:32.967184+00:00,0.038,200,ok,v2,
|
||||
2026-11-16T04:30:33.967429+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:30:34.975003+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:30:35.975195+00:00,0.036,200,ok,v2,
|
||||
2026-11-16T04:30:36.975368+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:30:37.975932+00:00,0.056,200,ok,v2,
|
||||
2026-11-16T04:30:38.977572+00:00,0.04,200,ok,v2,
|
||||
2026-11-16T04:30:39.978506+00:00,0.047,200,ok,v2,
|
||||
2026-11-16T04:30:40.979240+00:00,0.042,200,ok,v2,
|
||||
2026-11-16T04:30:41.979896+00:00,0.064,200,ok,v2,
|
||||
2026-11-16T04:30:42.980771+00:00,0.032,200,ok,v2,
|
||||
2026-11-16T04:30:43.980952+00:00,0.068,200,ok,v2,
|
||||
2026-11-16T04:30:44.982904+00:00,0.032,200,ok,v2,
|
||||
2026-11-16T04:30:45.983450+00:00,0.034,200,ok,v2,
|
||||
2026-11-16T04:30:46.983583+00:00,0.044,200,ok,v2,
|
||||
2026-11-16T04:30:47.983770+00:00,0.013,200,ok,v2,
|
||||
2026-11-16T04:30:48.983937+00:00,0.029,200,ok,v2,
|
||||
2026-11-16T04:30:49.984333+00:00,0.055,200,ok,v2,
|
||||
2026-11-16T04:30:50.984895+00:00,0.026,200,ok,v2,
|
||||
2026-11-16T04:30:51.986016+00:00,0.072,200,ok,v2,
|
||||
2026-11-16T04:30:52.986136+00:00,0.034,200,ok,v2,
|
||||
2026-11-16T04:30:53.986390+00:00,0.037,200,ok,v2,
|
||||
2026-11-16T04:30:54.986945+00:00,0.045,200,ok,v2,
|
||||
2026-11-16T04:30:55.988921+00:00,0.033,200,ok,v2,
|
||||
2026-11-16T04:30:56.990937+00:00,0.067,200,ok,v2,
|
||||
2026-11-16T04:30:57.991954+00:00,0.07,200,ok,v2,
|
||||
2026-11-16T04:30:58.992119+00:00,0.038,200,ok,v2,
|
||||
2026-11-16T04:30:59.992369+00:00,0.025,200,ok,v2,
|
||||
2026-11-16T04:31:00.992606+00:00,0.023,200,ok,v2,
|
||||
2026-11-16T04:31:01.992892+00:00,0.023,200,ok,v2,
|
||||
2026-11-16T04:31:02.993085+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:31:03.993542+00:00,0.025,200,ok,v2,
|
||||
2026-11-16T04:31:04.993777+00:00,0.027,200,ok,v2,
|
||||
2026-11-16T04:31:05.994843+00:00,0.024,200,ok,v2,
|
||||
2026-11-16T04:31:06.995098+00:00,0.045,200,ok,v2,
|
||||
2026-11-16T04:31:07.995323+00:00,0.026,200,ok,v2,
|
||||
2026-11-16T04:31:08.995912+00:00,0.061,200,ok,v2,
|
||||
2026-11-16T04:31:09.996925+00:00,0.046,200,ok,v2,
|
||||
2026-11-16T04:31:10.997908+00:00,0.025,200,ok,v2,
|
||||
2026-11-16T04:31:11.999900+00:00,0.039,200,ok,v2,
|
||||
2026-11-16T04:31:13.000075+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:31:14.000289+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:31:15.000530+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:31:16.000712+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:31:17.000921+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:31:18.001136+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:31:19.001404+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:31:20.001570+00:00,0.042,200,ok,v2,
|
||||
2026-11-16T04:31:21.001766+00:00,0.023,200,ok,v2,
|
||||
2026-11-16T04:31:22.001910+00:00,0.022,200,ok,v2,
|
||||
2026-11-16T04:31:23.003935+00:00,0.027,200,ok,v2,
|
||||
2026-11-16T04:31:24.004936+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:31:25.005922+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:31:26.006100+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:31:27.006440+00:00,0.022,200,ok,v2,
|
||||
2026-11-16T04:31:28.006700+00:00,0.03,200,ok,v2,
|
||||
2026-11-16T04:31:29.008091+00:00,0.022,200,ok,v2,
|
||||
2026-11-16T04:31:30.008260+00:00,0.025,200,ok,v2,
|
||||
2026-11-16T04:31:31.008483+00:00,0.028,200,ok,v2,
|
||||
2026-11-16T04:31:32.011981+00:00,0.023,200,ok,v2,
|
||||
2026-11-16T04:31:33.012937+00:00,0.049,200,ok,v2,
|
||||
2026-11-16T04:31:34.013948+00:00,0.101,200,ok,v2,
|
||||
2026-11-16T04:31:35.014924+00:00,0.039,200,ok,v2,
|
||||
2026-11-16T04:31:36.015929+00:00,0.038,200,ok,v2,
|
||||
2026-11-16T04:31:37.016084+00:00,0.037,200,ok,v2,
|
||||
2026-11-16T04:31:38.016554+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:31:39.016756+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:31:40.016993+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:31:41.017215+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:31:42.018155+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:31:43.018358+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:31:44.018534+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:31:45.018770+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:31:46.018943+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:31:47.019173+00:00,0.032,200,ok,v2,
|
||||
2026-11-16T04:31:48.020924+00:00,0.028,200,ok,v2,
|
||||
2026-11-16T04:31:49.021916+00:00,0.028,200,ok,v2,
|
||||
2026-11-16T04:31:50.022771+00:00,0.036,200,ok,v2,
|
||||
2026-11-16T04:31:51.023115+00:00,0.013,200,ok,v2,
|
||||
2026-11-16T04:31:52.023336+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:31:53.023556+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:31:54.023722+00:00,0.036,200,ok,v2,
|
||||
2026-11-16T04:31:55.024195+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:31:56.024507+00:00,0.016,200,ok,v2,
|
||||
2026-11-16T04:31:57.024694+00:00,0.018,200,ok,v2,
|
||||
2026-11-16T04:31:58.024905+00:00,0.014,200,ok,v2,
|
||||
2026-11-16T04:31:59.025118+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:32:00.025787+00:00,0.032,200,ok,v2,
|
||||
2026-11-16T04:32:01.026749+00:00,0.032,200,ok,v2,
|
||||
2026-11-16T04:32:02.027922+00:00,0.091,200,ok,v2,
|
||||
2026-11-16T04:32:03.028074+00:00,0.101,200,ok,v2,
|
||||
2026-11-16T04:32:04.029934+00:00,0.041,200,ok,v2,
|
||||
2026-11-16T04:32:05.030110+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:32:06.030283+00:00,0.015,200,ok,v2,
|
||||
2026-11-16T04:32:07.030462+00:00,0.02,200,ok,v2,
|
||||
2026-11-16T04:32:08.030648+00:00,0.017,200,ok,v2,
|
||||
2026-11-16T04:32:09.030871+00:00,0.021,200,ok,v2,
|
||||
2026-11-16T04:32:10.031072+00:00,0.019,200,ok,v2,
|
||||
2026-11-16T04:32:11.031289+00:00,0.017,200,ok,v2,
|
||||
|
@@ -0,0 +1,55 @@
|
||||
# v1 publication and blocked deployment — 15 November 2026
|
||||
|
||||
[Pricing build 3](https://ci.yebilly.me/job/secure-delivery/job/pricing/3/)
|
||||
ran in `release` mode from reviewed source/configuration commit
|
||||
`09731acb0370566471dd4e401e59bafe55e927dc`. It began at 22:25:23.584 UTC,
|
||||
took 77.799 seconds, and finished FAILURE. This was a published image followed
|
||||
by a connection failure, **not a successful staging or production release**.
|
||||
|
||||
Tests, clean-source scanning and all nine locked dependency audits passed.
|
||||
Both pre-push and registry-digest Trivy image reports analyzed two targets and
|
||||
contained zero HIGH/CRITICAL findings. The agent built the image once, pushed
|
||||
the source-SHA tag, pulled it back and verified this registry reference:
|
||||
|
||||
```text
|
||||
git.yebilly.me/ssw590-group1/pricing@sha256:cccd47f112f839f3443c88c4d16fd7a1ed0fec2100a26464156526d53ccc2695
|
||||
```
|
||||
|
||||
The generated staging/production records were timestamped 22:26:29.144 UTC.
|
||||
Staging deployment began 22:26:33.530 and stopped at 22:26:39.422 UTC
|
||||
(5.892 seconds), before any application configuration or container was created:
|
||||
|
||||
```text
|
||||
TASK [Gathering Facts]
|
||||
Failed to connect to the host via ssh: PTY allocation request failed on channel 0
|
||||
startup : ok=0 changed=0 unreachable=1 failed=0
|
||||
Ansible exit code: 4
|
||||
```
|
||||
|
||||
Jenkins skipped the unchanged rerun and production approval/deployment.
|
||||
The generated records and scans are archived in that build and copied to ignored
|
||||
`build/evidence/assignment8-execution/jenkins-3/`. They are deliberately absent
|
||||
from `delivery/releases/`: neither environment has been verified healthy.
|
||||
|
||||
## Correction and verification
|
||||
|
||||
Ansible's SSH connection plugin defaults to forcing a terminal. The deploy
|
||||
key intentionally forbids PTY allocation. The inventory now selects
|
||||
`ansible_ssh_use_tty=false` for the delivery group, matching that restriction.
|
||||
See the official [Ansible 2.21 SSH connection options](https://docs.ansible.com/projects/ansible-core/2.21/collections/ansible/builtin/ssh_connection.html#parameter-use_tty).
|
||||
Pinned host verification, key restrictions, credentials and sudo policy are unchanged.
|
||||
|
||||
The administrator-only preflight was extended to exercise Ansible's actual
|
||||
SSH/become path using the same bound credentials, rather than plain SSH alone.
|
||||
[Agent preflight build 3](https://ci.yebilly.me/job/secure-delivery/job/agent-preflight/3/)
|
||||
passed in 17 seconds at 22:50 UTC. Its `ansible.builtin.command` invocation
|
||||
of `id -u` returned `0`, proving the noninteractive module and sudo path.
|
||||
The module reports CHANGED by default for a command; this is not a pricing
|
||||
deployment or an unchanged-rerun result. Exact non-secret output is retained in
|
||||
[`agent-preflight-3.txt`](agent-preflight-3.txt).
|
||||
|
||||
The source correction awaits Vincent's commit/push and Billy's review/merge.
|
||||
Retry `release` from the corrected full main SHA; let the pipeline generate
|
||||
fresh records for that reviewed source/configuration. Do not manually change
|
||||
the failed attempt's record to imply a successful deployment or reuse it for
|
||||
rollback. Retain its published image and reports as evidence.
|
||||
@@ -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.
|
||||
@@ -0,0 +1,202 @@
|
||||
{
|
||||
"releases": [
|
||||
{
|
||||
"version": "v1",
|
||||
"build": 5,
|
||||
"url": "https://ci.yebilly.me/job/secure-delivery/job/pricing/5/",
|
||||
"result": "SUCCESS",
|
||||
"source": "34f26e6948b7001ede8ca19f23b67a02082e6a9a",
|
||||
"started": "2026-11-16T03:00:10.966000+00:00",
|
||||
"completed": "2026-11-16T03:05:08.180000+00:00",
|
||||
"total_seconds": 297.214,
|
||||
"approval": {
|
||||
"Approver": "vsun1",
|
||||
"Decision": "approved",
|
||||
"UTC": "2026-11-16T03:04:01Z"
|
||||
},
|
||||
"deployments": {
|
||||
"staging-deploy": {
|
||||
"started": "2026-11-16T03:01:27.245015+00:00",
|
||||
"completed": "2026-11-16T03:02:26.405414+00:00",
|
||||
"elapsed_seconds": 59.16,
|
||||
"operation": "deploy",
|
||||
"ansible_exit_code": 0,
|
||||
"recaps": [
|
||||
{
|
||||
"host": "startup",
|
||||
"ok": 10,
|
||||
"changed": 3,
|
||||
"unreachable": 0,
|
||||
"failed": 0
|
||||
}
|
||||
],
|
||||
"result": "passed"
|
||||
},
|
||||
"staging-rerun": {
|
||||
"started": "2026-11-16T03:02:29.440969+00:00",
|
||||
"completed": "2026-11-16T03:03:10.939985+00:00",
|
||||
"elapsed_seconds": 41.499,
|
||||
"operation": "rerun",
|
||||
"ansible_exit_code": 0,
|
||||
"recaps": [
|
||||
{
|
||||
"host": "startup",
|
||||
"ok": 10,
|
||||
"changed": 0,
|
||||
"unreachable": 0,
|
||||
"failed": 0
|
||||
}
|
||||
],
|
||||
"result": "passed"
|
||||
},
|
||||
"production-deploy": {
|
||||
"started": "2026-11-16T03:04:05.207821+00:00",
|
||||
"completed": "2026-11-16T03:05:05.610689+00:00",
|
||||
"elapsed_seconds": 60.403,
|
||||
"operation": "deploy",
|
||||
"ansible_exit_code": 0,
|
||||
"recaps": [
|
||||
{
|
||||
"host": "startup",
|
||||
"ok": 10,
|
||||
"changed": 4,
|
||||
"unreachable": 0,
|
||||
"failed": 0
|
||||
}
|
||||
],
|
||||
"result": "passed"
|
||||
}
|
||||
},
|
||||
"scans": {
|
||||
"image-gate": {
|
||||
"analyzed_targets": 2,
|
||||
"high_critical": 0,
|
||||
"report_sha256": "55ca73c4b493fa7a612671e02e6cf097c0b3fc011895712189704c8721b9028e"
|
||||
},
|
||||
"published-image-gate": {
|
||||
"analyzed_targets": 2,
|
||||
"high_critical": 0,
|
||||
"report_sha256": "f375643ae8f6888e9f5ab582342c4d11bee8563936c86a9de08e7b7b5cd52ef8"
|
||||
},
|
||||
"dependencies": {
|
||||
"packages": 9,
|
||||
"advisories": 0
|
||||
},
|
||||
"source_secrets": {
|
||||
"findings": 0
|
||||
}
|
||||
},
|
||||
"unit_tests": {
|
||||
"started": "2026-11-16T03:00:34.908112+00:00",
|
||||
"completed": "2026-11-16T03:00:35.815417+00:00",
|
||||
"exit_code": 0,
|
||||
"result": "passed"
|
||||
},
|
||||
"release_image": "git.yebilly.me/ssw590-group1/pricing@sha256:59c880b2704f91668618d9a2ff0bc8fbab0af4239ceb916de261863890ef88d8",
|
||||
"configuration_commit": "34f26e6948b7001ede8ca19f23b67a02082e6a9a",
|
||||
"records": [
|
||||
"delivery/releases/v1-staging.json",
|
||||
"delivery/releases/v1-production.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "v2",
|
||||
"build": 6,
|
||||
"url": "https://ci.yebilly.me/job/secure-delivery/job/pricing/6/",
|
||||
"result": "SUCCESS",
|
||||
"source": "6bddbfba5a36e0e397537678ffb197e101fb0670",
|
||||
"started": "2026-11-16T03:05:33.456000+00:00",
|
||||
"completed": "2026-11-16T03:12:29.163000+00:00",
|
||||
"total_seconds": 415.707,
|
||||
"approval": {
|
||||
"Approver": "vsun1",
|
||||
"Decision": "approved",
|
||||
"UTC": "2026-11-16T03:11:18Z"
|
||||
},
|
||||
"deployments": {
|
||||
"staging-deploy": {
|
||||
"started": "2026-11-16T03:06:46.416545+00:00",
|
||||
"completed": "2026-11-16T03:07:46.522813+00:00",
|
||||
"elapsed_seconds": 60.106,
|
||||
"operation": "deploy",
|
||||
"ansible_exit_code": 0,
|
||||
"recaps": [
|
||||
{
|
||||
"host": "startup",
|
||||
"ok": 10,
|
||||
"changed": 3,
|
||||
"unreachable": 0,
|
||||
"failed": 0
|
||||
}
|
||||
],
|
||||
"result": "passed"
|
||||
},
|
||||
"staging-rerun": {
|
||||
"started": "2026-11-16T03:07:49.044973+00:00",
|
||||
"completed": "2026-11-16T03:08:34.532184+00:00",
|
||||
"elapsed_seconds": 45.487,
|
||||
"operation": "rerun",
|
||||
"ansible_exit_code": 0,
|
||||
"recaps": [
|
||||
{
|
||||
"host": "startup",
|
||||
"ok": 10,
|
||||
"changed": 0,
|
||||
"unreachable": 0,
|
||||
"failed": 0
|
||||
}
|
||||
],
|
||||
"result": "passed"
|
||||
},
|
||||
"production-deploy": {
|
||||
"started": "2026-11-16T03:11:21.802336+00:00",
|
||||
"completed": "2026-11-16T03:12:28.036700+00:00",
|
||||
"elapsed_seconds": 66.234,
|
||||
"operation": "deploy",
|
||||
"ansible_exit_code": 0,
|
||||
"recaps": [
|
||||
{
|
||||
"host": "startup",
|
||||
"ok": 10,
|
||||
"changed": 3,
|
||||
"unreachable": 0,
|
||||
"failed": 0
|
||||
}
|
||||
],
|
||||
"result": "passed"
|
||||
}
|
||||
},
|
||||
"scans": {
|
||||
"image-gate": {
|
||||
"analyzed_targets": 2,
|
||||
"high_critical": 0,
|
||||
"report_sha256": "89d8912330a8fdfb0e5e8ccd1e41f971415c611ba80ee2dd6d484401ec2f6a09"
|
||||
},
|
||||
"published-image-gate": {
|
||||
"analyzed_targets": 2,
|
||||
"high_critical": 0,
|
||||
"report_sha256": "32562513adffdd78782417083b51e56fd29f758a3e050faeda147dee822bc339"
|
||||
},
|
||||
"dependencies": {
|
||||
"packages": 9,
|
||||
"advisories": 0
|
||||
},
|
||||
"source_secrets": {
|
||||
"findings": 0
|
||||
}
|
||||
},
|
||||
"unit_tests": {
|
||||
"started": "2026-11-16T03:05:54.830225+00:00",
|
||||
"completed": "2026-11-16T03:05:55.609726+00:00",
|
||||
"exit_code": 0,
|
||||
"result": "passed"
|
||||
},
|
||||
"release_image": "git.yebilly.me/ssw590-group1/pricing@sha256:efe8658a0adf0854038d58199652030cbd0ef70047a1c6ebc7b09906cf1ec88b",
|
||||
"configuration_commit": "6bddbfba5a36e0e397537678ffb197e101fb0670",
|
||||
"records": [
|
||||
"delivery/releases/v2-staging.json",
|
||||
"delivery/releases/v2-production.json"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
# Reviewed v1/v2 releases and production monitoring
|
||||
|
||||
Client date: 15 November 2026 Eastern; all times below are 16 November UTC.
|
||||
Billy approved PR 26 at 02:56:00; Vincent merged it at 02:57:42 as
|
||||
`231d11528a425114a8d3570afba56943c4d57d96`, preserving both source commits.
|
||||
The merge-triggered manual workflow 15 passed in 2m7s before delivery began.
|
||||
|
||||
| Evidence | v1 | v2 |
|
||||
|---|---|---|
|
||||
| Source and configuration | `34f26e6948b7001ede8ca19f23b67a02082e6a9a` | `6bddbfba5a36e0e397537678ffb197e101fb0670` |
|
||||
| Jenkins | [Build 5 SUCCESS](https://ci.yebilly.me/job/secure-delivery/job/pricing/5/) | [Build 6 SUCCESS](https://ci.yebilly.me/job/secure-delivery/job/pricing/6/) |
|
||||
| Full run, including human wait | 03:00:10.966–03:05:08.180; 297.214 s | 03:05:33.456–03:12:29.163; 415.707 s |
|
||||
| Initial staging | 59.160 s; ok=10, changed=3, failed=0 | 60.106 s; ok=10, changed=3, failed=0 |
|
||||
| Unchanged staging rerun | 41.499 s; ok=10, changed=0, failed=0 | 45.487 s; ok=10, changed=0, failed=0 |
|
||||
| Actual human approval | `vsun1`, 03:04:01 | `vsun1`, 03:11:18 |
|
||||
| Production deployment | 03:04:05.208–03:05:05.611; 60.403 s | 03:11:21.802–03:12:28.037; 66.234 s |
|
||||
| Verified quantity 3 total | USD 30 in both environments | USD 36 in both environments |
|
||||
|
||||
Both runs passed twelve control tests and three Flask tests, clean-source
|
||||
scanning, all nine locked dependency audits (zero advisories), and pre-push and
|
||||
registry-digest image gates (two analyzed targets, zero HIGH/CRITICAL findings).
|
||||
No exception was added. Each source-SHA image was built once, pushed, pulled
|
||||
and promoted by the same exact digest across staging and production.
|
||||
|
||||
Repository: `git.yebilly.me/ssw590-group1/pricing`
|
||||
|
||||
```text
|
||||
v1 sha256:59c880b2704f91668618d9a2ff0bc8fbab0af4239ceb916de261863890ef88d8
|
||||
v2 sha256:efe8658a0adf0854038d58199652030cbd0ef70047a1c6ebc7b09906cf1ec88b
|
||||
```
|
||||
|
||||
The four selectors in `delivery/releases/` are copied unchanged from these
|
||||
successful Jenkins builds. They include the real source/configuration SHAs,
|
||||
digest, environment, expected version/total, build URL and creation time.
|
||||
They pass `release.py verify` and need review/commit before recovery. Earlier
|
||||
failed-attempt records were not substituted. Full reports and actual approval
|
||||
records remain archived in Jenkins; exact local copies are retained in ignored
|
||||
`build/evidence/assignment8-execution/jenkins-{5,6}/`.
|
||||
[Machine-readable summary](releases-20261115.json) includes recaps, timestamps,
|
||||
scan counts and full image-report SHA-256 hashes.
|
||||
|
||||
## Production monitoring, applied only after healthy v1
|
||||
|
||||
At 03:08:11 the previously reviewed production `/health` target and panel 8
|
||||
were applied. The guarded helper required healthy production, compared earlier
|
||||
probes/panels, validated the candidate with installed promtool, saved protected
|
||||
backups and preserved both bind-mounted file inodes. Prometheus reloaded via
|
||||
SIGHUP; Grafana provisioned the changed file. No container, volume, retention,
|
||||
allowlist, credential or existing alert rule was replaced. The first dry-run
|
||||
cleanup needed root inside Prometheus because docker cp created a root-owned
|
||||
temporary file; that was corrected before active application.
|
||||
|
||||
[Applied metadata](monitoring-applied-20261115.json) records hashes and backup
|
||||
`/root/ssw590-delivery-bootstrap/monitoring-20261116/`.
|
||||
[Actual samples and targets](monitoring-runtime-20261115.json), observed at
|
||||
03:14:11, showed production, Gitea and Jenkins probe_success=1, all six scrape
|
||||
targets up and successful reload=1. The dashboard source retained its previous
|
||||
seven panels; the actual Grafana UI also displayed the new pricing panel and
|
||||
its data. A legacy SQL dashboard lookup returned no row, so it was not used
|
||||
as proof of provisioning.
|
||||
|
||||
Prometheus supports [runtime SIGHUP reload](https://prometheus.io/docs/prometheus/latest/configuration/configuration/).
|
||||
Grafana's [file provisioning](https://grafana.com/docs/grafana/latest/administration/provisioning/)
|
||||
detects dashboard changes; visible runtime verification was performed separately.
|
||||
|
||||
## Observed availability during v2 promotion
|
||||
|
||||
The [post-release capture](runtime-20261115.json) at 03:28:08 verified both
|
||||
environments as healthy v2 with the exact source SHA, HTTP 200 for identity,
|
||||
health and total 36, and HTTP 400 for quantity 0. Both containers had zero OOM
|
||||
events and no observed memory-limit events in that capture.
|
||||
|
||||
The production probe history contains one failed sample at **03:11:54.602**
|
||||
during v2's 03:11:21.802–03:12:28.037 deployment window. Adjacent successful
|
||||
samples were 03:11:24.602 and 03:12:24.602. The capture preserves exact HTTP
|
||||
status and duration samples. A single failed 30-second-cadence sample does
|
||||
not establish an exact 30-second outage or zero downtime between other samples.
|
||||
The interval is shorter than the existing one-minute alert duration; no alert
|
||||
firing or notification is claimed without separate evidence. The single-host
|
||||
Compose replacement is not blue/green or highly available deployment.
|
||||
|
||||
The Grafana screenshot is retained in the manual's image folder. Production
|
||||
rollback and deliberate staging failure/recovery remain **unexecuted** pending
|
||||
review of the successful records and preserved staging-only configuration fault.
|
||||
See [the recovery exercise instructions](../exercises/README.md).
|
||||
@@ -0,0 +1,604 @@
|
||||
{
|
||||
"observed_at": "2026-11-16T03:28:08.004273+00:00",
|
||||
"endpoints": {
|
||||
"staging": [
|
||||
{
|
||||
"path": "/",
|
||||
"http_status": 200,
|
||||
"body": {
|
||||
"commit": "6bddbfba5a36e0e397537678ffb197e101fb0670",
|
||||
"service": "Startup Pricing",
|
||||
"version": "v2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/health",
|
||||
"http_status": 200,
|
||||
"body": {
|
||||
"status": "ok",
|
||||
"version": "v2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/price?quantity=3",
|
||||
"http_status": 200,
|
||||
"body": {
|
||||
"currency": "USD",
|
||||
"quantity": 3,
|
||||
"total": 36
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/price?quantity=0",
|
||||
"http_status": 400,
|
||||
"body": {
|
||||
"error": "quantity must be between 1 and 1000"
|
||||
}
|
||||
}
|
||||
],
|
||||
"production": [
|
||||
{
|
||||
"path": "/",
|
||||
"http_status": 200,
|
||||
"body": {
|
||||
"commit": "6bddbfba5a36e0e397537678ffb197e101fb0670",
|
||||
"service": "Startup Pricing",
|
||||
"version": "v2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/health",
|
||||
"http_status": 200,
|
||||
"body": {
|
||||
"status": "ok",
|
||||
"version": "v2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/price?quantity=3",
|
||||
"http_status": 200,
|
||||
"body": {
|
||||
"currency": "USD",
|
||||
"quantity": 3,
|
||||
"total": 36
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/price?quantity=0",
|
||||
"http_status": 400,
|
||||
"body": {
|
||||
"error": "quantity must be between 1 and 1000"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"containers": {
|
||||
"staging": {
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"health": "healthy",
|
||||
"memory_events": "low 0\nhigh 0\nmax 0\noom 0\noom_kill 0\noom_group_kill 0\n"
|
||||
},
|
||||
"production": {
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"health": "healthy",
|
||||
"memory_events": "low 0\nhigh 0\nmax 0\noom 0\noom_kill 0\noom_group_kill 0\n"
|
||||
}
|
||||
},
|
||||
"monitoring_samples": {
|
||||
"probe_success": [
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "probe_success",
|
||||
"instance": "https://app.yebilly.me/health",
|
||||
"job": "https"
|
||||
},
|
||||
"values": [
|
||||
[
|
||||
1794798504.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794798534.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794798564.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794798594.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794798624.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794798654.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794798684.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794798714.602,
|
||||
"0"
|
||||
],
|
||||
[
|
||||
1794798744.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794798774.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794798804.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794798834.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794798864.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794798894.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794798924.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794798954.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794798984.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794799014.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794799044.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794799074.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794799104.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794799134.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794799164.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794799194.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794799224.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794799254.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794799284.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794799314.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794799344.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794799374.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794799404.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794799434.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794799464.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794799494.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794799524.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794799554.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794799584.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794799614.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794799644.602,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794799674.602,
|
||||
"1"
|
||||
]
|
||||
]
|
||||
}
|
||||
],
|
||||
"probe_http_status_code": [
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "probe_http_status_code",
|
||||
"instance": "https://app.yebilly.me/health",
|
||||
"job": "https"
|
||||
},
|
||||
"values": [
|
||||
[
|
||||
1794798504.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794798534.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794798564.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794798594.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794798624.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794798654.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794798684.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794798714.602,
|
||||
"502"
|
||||
],
|
||||
[
|
||||
1794798744.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794798774.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794798804.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794798834.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794798864.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794798894.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794798924.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794798954.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794798984.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794799014.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794799044.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794799074.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794799104.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794799134.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794799164.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794799194.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794799224.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794799254.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794799284.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794799314.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794799344.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794799374.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794799404.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794799434.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794799464.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794799494.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794799524.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794799554.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794799584.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794799614.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794799644.602,
|
||||
"200"
|
||||
],
|
||||
[
|
||||
1794799674.602,
|
||||
"200"
|
||||
]
|
||||
]
|
||||
}
|
||||
],
|
||||
"probe_duration_seconds": [
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "probe_duration_seconds",
|
||||
"instance": "https://app.yebilly.me/health",
|
||||
"job": "https"
|
||||
},
|
||||
"values": [
|
||||
[
|
||||
1794798504.602,
|
||||
"0.057399797"
|
||||
],
|
||||
[
|
||||
1794798534.602,
|
||||
"0.028300941"
|
||||
],
|
||||
[
|
||||
1794798564.602,
|
||||
"0.023132207"
|
||||
],
|
||||
[
|
||||
1794798594.602,
|
||||
"0.021246711"
|
||||
],
|
||||
[
|
||||
1794798624.602,
|
||||
"0.023551593"
|
||||
],
|
||||
[
|
||||
1794798654.602,
|
||||
"0.023607454"
|
||||
],
|
||||
[
|
||||
1794798684.602,
|
||||
"0.182590187"
|
||||
],
|
||||
[
|
||||
1794798714.602,
|
||||
"0.080492206"
|
||||
],
|
||||
[
|
||||
1794798744.602,
|
||||
"0.048286408"
|
||||
],
|
||||
[
|
||||
1794798774.602,
|
||||
"0.021541103"
|
||||
],
|
||||
[
|
||||
1794798804.602,
|
||||
"0.082225976"
|
||||
],
|
||||
[
|
||||
1794798834.602,
|
||||
"0.026266413"
|
||||
],
|
||||
[
|
||||
1794798864.602,
|
||||
"0.021229488"
|
||||
],
|
||||
[
|
||||
1794798894.602,
|
||||
"0.026039405"
|
||||
],
|
||||
[
|
||||
1794798924.602,
|
||||
"0.024995092"
|
||||
],
|
||||
[
|
||||
1794798954.602,
|
||||
"0.026780972"
|
||||
],
|
||||
[
|
||||
1794798984.602,
|
||||
"0.022616423"
|
||||
],
|
||||
[
|
||||
1794799014.602,
|
||||
"0.079699801"
|
||||
],
|
||||
[
|
||||
1794799044.602,
|
||||
"0.023901787"
|
||||
],
|
||||
[
|
||||
1794799074.602,
|
||||
"0.029992619"
|
||||
],
|
||||
[
|
||||
1794799104.602,
|
||||
"0.022638427"
|
||||
],
|
||||
[
|
||||
1794799134.602,
|
||||
"0.082084913"
|
||||
],
|
||||
[
|
||||
1794799164.602,
|
||||
"0.03257138"
|
||||
],
|
||||
[
|
||||
1794799194.602,
|
||||
"0.028129282"
|
||||
],
|
||||
[
|
||||
1794799224.602,
|
||||
"0.02010407"
|
||||
],
|
||||
[
|
||||
1794799254.602,
|
||||
"0.081311747"
|
||||
],
|
||||
[
|
||||
1794799284.602,
|
||||
"0.027378471"
|
||||
],
|
||||
[
|
||||
1794799314.602,
|
||||
"0.020048075"
|
||||
],
|
||||
[
|
||||
1794799344.602,
|
||||
"0.018652785"
|
||||
],
|
||||
[
|
||||
1794799374.602,
|
||||
"0.019703541"
|
||||
],
|
||||
[
|
||||
1794799404.602,
|
||||
"0.020952708"
|
||||
],
|
||||
[
|
||||
1794799434.602,
|
||||
"0.020200855"
|
||||
],
|
||||
[
|
||||
1794799464.602,
|
||||
"0.081365277"
|
||||
],
|
||||
[
|
||||
1794799494.602,
|
||||
"0.030027777"
|
||||
],
|
||||
[
|
||||
1794799524.602,
|
||||
"0.020230579"
|
||||
],
|
||||
[
|
||||
1794799554.602,
|
||||
"0.028499939"
|
||||
],
|
||||
[
|
||||
1794799584.602,
|
||||
"0.024388546"
|
||||
],
|
||||
[
|
||||
1794799614.602,
|
||||
"0.02259808"
|
||||
],
|
||||
[
|
||||
1794799644.602,
|
||||
"0.030377942"
|
||||
],
|
||||
[
|
||||
1794799674.602,
|
||||
"0.080982268"
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
# Reviewed recovery exercises
|
||||
|
||||
V1 and v2 have now completed Jenkins releases 5 and 6 with real human approvals.
|
||||
The four successful records in `../releases/` were reviewed in PR 27.
|
||||
Builds 8–10 completed both exercises; see [results](../evidence/recovery-20261115.md).
|
||||
The commands below remain the reproducible procedure, not a request to repeat
|
||||
the completed fault. Do not use failed attempts' records.
|
||||
|
||||
The patch here is a deliberate **staging-only** configuration fault: Gunicorn
|
||||
binds to 8001 while the unchanged image healthcheck probes 8000. It changes no
|
||||
image, host port, credential, shared service, production command or stored data.
|
||||
The reviewed Jenkins `staging-failure` mode requires a staging record and uses
|
||||
that record's existing v2 digest; it does not publish/rebuild an image.
|
||||
|
||||
## Commit and review sequence
|
||||
|
||||
1. Commit the actual release records, evidence, monitoring helper, manual and
|
||||
this patch while the active template remains correct.
|
||||
2. Apply this patch and commit the one changed template as
|
||||
`Exercise staging-only Gunicorn bind mismatch`.
|
||||
3. Immediately revert that second commit, creating a third commit. The final
|
||||
branch/main template must be good; the bad configuration survives only as
|
||||
a reviewed historical commit selected explicitly by SHA for the exercise.
|
||||
4. Billy reviews all three commits, including the intermediate configuration
|
||||
fault and its restoration. Use a merge commit, preserving history.
|
||||
|
||||
After the first commit, the two configuration commits can be made with:
|
||||
|
||||
```powershell
|
||||
git apply delivery/exercises/staging-bind-mismatch.patch
|
||||
git add delivery/ansible/templates/compose.yaml.j2
|
||||
git commit -m "Exercise staging-only Gunicorn bind mismatch"
|
||||
git revert --no-edit HEAD
|
||||
```
|
||||
|
||||
## Execution after review/merge
|
||||
|
||||
First record the planned healthy production rollback decision and start the
|
||||
HTTPS observer. Use `MODE=rollback-production` and
|
||||
`RELEASE_RECORD=delivery/releases/v1-production.json`. The approved operation
|
||||
must restore v1's exact image/configuration, source SHA and total 30. This is
|
||||
an exercise on healthy v2, not a claimed production incident. A real human
|
||||
must approve the Jenkins production input.
|
||||
|
||||
Then start a separate staging observer and select:
|
||||
|
||||
```text
|
||||
MODE=staging-failure
|
||||
RELEASE_RECORD=delivery/releases/v2-staging.json
|
||||
STAGING_FAILURE_CONFIG=<full SHA of the reviewed bind-mismatch commit>
|
||||
```
|
||||
|
||||
The SHA must be the actual preserved intermediate commit, not the final
|
||||
revert or an invented placeholder. Leave SOURCE_COMMIT blank so the job uses
|
||||
reviewed current main for its control code. Compose wait must block within
|
||||
its 90-second bound and stop before production. Preserve that failure.
|
||||
|
||||
Recover with `MODE=recover-staging` and the same good v2 staging record, leaving
|
||||
STAGING_FAILURE_CONFIG blank. It must restore the recorded good configuration,
|
||||
verify source/version/total 36, and pass the unchanged rerun with changed=0.
|
||||
Save decision/start/completion times, recaps, observer samples and monitoring
|
||||
correlation. Samples cannot establish zero interruption between requests.
|
||||
|
||||
Both exercises are complete. The actual fault SHA is
|
||||
`1e23001e7303d14630cfa97c8de36f31f30b81a0`, immediately reverted by
|
||||
`29e580c4613f00a02f44bce0dbcee2fd8fdc83ae`. Main and live staging are good;
|
||||
the fault is selected only by the explicit staging exercise. Production remains
|
||||
v1 after its successful rollback.
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git a/delivery/ansible/templates/compose.yaml.j2 b/delivery/ansible/templates/compose.yaml.j2
|
||||
--- a/delivery/ansible/templates/compose.yaml.j2
|
||||
+++ b/delivery/ansible/templates/compose.yaml.j2
|
||||
@@ -1,6 +1,9 @@
|
||||
services:
|
||||
app:
|
||||
image: "{{ release_image }}"
|
||||
+{% if target_env == 'staging' %}
|
||||
+ command: ["gunicorn", "--bind", "0.0.0.0:8001", "--workers", "1", "--worker-tmp-dir", "/tmp", "app:app"]
|
||||
+{% endif %}
|
||||
restart: unless-stopped
|
||||
read_only: true
|
||||
tmpfs:
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"release_image": "git.yebilly.me/ssw590-group1/pricing@sha256:59c880b2704f91668618d9a2ff0bc8fbab0af4239ceb916de261863890ef88d8",
|
||||
"expected_commit": "34f26e6948b7001ede8ca19f23b67a02082e6a9a",
|
||||
"configuration_commit": "34f26e6948b7001ede8ca19f23b67a02082e6a9a",
|
||||
"expected_version": "v1",
|
||||
"expected_total": 30,
|
||||
"proxy_network": "gitea_web",
|
||||
"build_url": "https://ci.yebilly.me/job/secure-delivery/job/pricing/5/",
|
||||
"created_at": "2026-11-16T03:01:23.246375+00:00",
|
||||
"target_env": "production",
|
||||
"public_url": "https://app.yebilly.me"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"release_image": "git.yebilly.me/ssw590-group1/pricing@sha256:59c880b2704f91668618d9a2ff0bc8fbab0af4239ceb916de261863890ef88d8",
|
||||
"expected_commit": "34f26e6948b7001ede8ca19f23b67a02082e6a9a",
|
||||
"configuration_commit": "34f26e6948b7001ede8ca19f23b67a02082e6a9a",
|
||||
"expected_version": "v1",
|
||||
"expected_total": 30,
|
||||
"proxy_network": "gitea_web",
|
||||
"build_url": "https://ci.yebilly.me/job/secure-delivery/job/pricing/5/",
|
||||
"created_at": "2026-11-16T03:01:23.246375+00:00",
|
||||
"target_env": "staging",
|
||||
"public_url": "https://staging.yebilly.me"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"release_image": "git.yebilly.me/ssw590-group1/pricing@sha256:efe8658a0adf0854038d58199652030cbd0ef70047a1c6ebc7b09906cf1ec88b",
|
||||
"expected_commit": "6bddbfba5a36e0e397537678ffb197e101fb0670",
|
||||
"configuration_commit": "6bddbfba5a36e0e397537678ffb197e101fb0670",
|
||||
"expected_version": "v2",
|
||||
"expected_total": 36,
|
||||
"proxy_network": "gitea_web",
|
||||
"build_url": "https://ci.yebilly.me/job/secure-delivery/job/pricing/6/",
|
||||
"created_at": "2026-11-16T03:06:40.913173+00:00",
|
||||
"target_env": "production",
|
||||
"public_url": "https://app.yebilly.me"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"release_image": "git.yebilly.me/ssw590-group1/pricing@sha256:efe8658a0adf0854038d58199652030cbd0ef70047a1c6ebc7b09906cf1ec88b",
|
||||
"expected_commit": "6bddbfba5a36e0e397537678ffb197e101fb0670",
|
||||
"configuration_commit": "6bddbfba5a36e0e397537678ffb197e101fb0670",
|
||||
"expected_version": "v2",
|
||||
"expected_total": 36,
|
||||
"proxy_network": "gitea_web",
|
||||
"build_url": "https://ci.yebilly.me/job/secure-delivery/job/pricing/6/",
|
||||
"created_at": "2026-11-16T03:06:40.913173+00:00",
|
||||
"target_env": "staging",
|
||||
"public_url": "https://staging.yebilly.me"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
rules:
|
||||
- id: ssw590-synthetic-secret
|
||||
category: course-test
|
||||
title: SSW590 synthetic blocked-gate fixture
|
||||
severity: HIGH
|
||||
regex: 'SSW590_SYNTHETIC_SECRET_[A-Z0-9]{16}'
|
||||
@@ -0,0 +1,28 @@
|
||||
# Add frozen TikZRefinery baseline and demo build pipeline
|
||||
|
||||
Provide a reproducible C++/Qt workload for the DevOps demonstration by importing
|
||||
TikZRefinery checkpoint `f4e3193d49a98efcf2f16c2aa22d6085ebe70f36`, baseline
|
||||
0.1.4-alpha. Preserve all 435 committed files, attribution and original byte
|
||||
identities, with a Git-blob/SHA-256 verification manifest. Keep upstream version
|
||||
and source identity separate from `1.0.<build>` delivery artifacts.
|
||||
|
||||
Add an artifact-only Jenkins definition and repeatable build helpers for native
|
||||
Qt compilation, eight CTest suites, both LaTeX report editions, Doxygen/Graphviz
|
||||
source extraction, load sampling and a versioned application image archive.
|
||||
Include a Windows packaging helper and bounded, non-root/offscreen package
|
||||
checks. Existing pricing deployments, release/recovery jobs and runner identities
|
||||
are retained. The separate provider-class naming change is not included.
|
||||
|
||||
Validation: fresh Windows and Droplet builds each passed all eight suites;
|
||||
the portable Windows package loaded its bundled provider without the development
|
||||
PATH. Both Windows report editions rebuilt and all 585 rendered pages matched
|
||||
the frozen reports. Cloud report builds resolved all 51 authored figure mappings;
|
||||
source extraction generated 25 class/collaboration graphs. Rehearsal image
|
||||
1.0.1 passed its read-only, network-isolated smoke check; downloaded archive,
|
||||
manifest, configuration and layer hashes were verified.
|
||||
|
||||
These results are command-line rehearsals. After review/merge, configure the
|
||||
separate Jenkins job from protected main with script path `demo/Jenkinsfile`
|
||||
and verify actual SCM checkout, stage/JUnit display, artifact archiving and
|
||||
download. Hold the issue-linked provider rename until that baseline run passes.
|
||||
See `demo/README.md` and `demo/evidence/baseline-20261125.json`.
|
||||
@@ -0,0 +1,295 @@
|
||||
# TikZRefinery DevOps demonstration script
|
||||
|
||||
Vincent Sun and Billy Ye | SSW 590 | December 2, 2026
|
||||
|
||||
Plan for **16 minutes of presentation and 4 minutes for questions or delays**.
|
||||
Demonstrate an issue becoming a reviewed source change, a cloud build, automated
|
||||
test results and a versioned application artifact. TikZRefinery supplies the C++/Qt
|
||||
workload; Gitea, Jenkins and Grafana supply the workflow and operational view.
|
||||
|
||||
This is a rehearsal plan. Before the final rehearsal, complete the reviewed
|
||||
baseline Jenkins run and record the actual issue, change, job URL and build number.
|
||||
The proposed provider naming refactor remains a candidate from the senior-project
|
||||
handoff. Prepare its issue/comment and patch only after that baseline succeeds.
|
||||
Zammad is a separate assignment. The unfinished VPN is outside this demonstration.
|
||||
|
||||
## Preparation before the presentation
|
||||
|
||||
Suggested roles: Vincent operates Git, Jenkins and the application; Billy explains
|
||||
configuration and the tool comparison, and performs his own peer review. Agree on
|
||||
the split together and rehearse the handovers. Approval must reflect Billy's actual
|
||||
review, even during the timed demonstration.
|
||||
|
||||
Complete these steps before calling the walkthrough ready:
|
||||
|
||||
- Merge the reviewed security and baseline PRs, preserving both manual records.
|
||||
Their current references are [security PR 30](https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/pulls/30)
|
||||
and [baseline PR 31](https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/pulls/31).
|
||||
- Configure the separate artifact job to load `demo/Jenkinsfile` from reviewed
|
||||
`main`. Run it once and verify SCM checkout, stage execution, JUnit display,
|
||||
artifact archiving, a downloaded artifact and its provenance/checksum. The
|
||||
existing PR check and the new artifact job are separate checks.
|
||||
- After that baseline passes, agree on the live issue/change and rehearse the
|
||||
feature-branch, review, merge and artifact-build sequence. Reserve the actual
|
||||
demonstration commit/push for the assessed workflow.
|
||||
- Preserve the original snapshot manifest. The current verifier deliberately
|
||||
rejects any changed imported byte. An intentional product increment needs an
|
||||
explicit, tested provenance record for its changed files; do not simply disable
|
||||
verification or continue claiming all files are unchanged from the original.
|
||||
- Record the real demo issue URL, branch, expected behavior, baseline build URL,
|
||||
artifact job URL and last successful fallback build. These values are pending.
|
||||
- Sign in to Gitea, Jenkins and Grafana privately before screen sharing. Check Git
|
||||
authentication beforehand; pause sharing if a password/token prompt appears.
|
||||
- Test HTTPS from the actual classroom network. The cloud workers avoid the
|
||||
laptop-to-Droplet SSH connection that previously failed on school Wi-Fi.
|
||||
- Ensure the trusted agent is online and idle, toolchain images are present and
|
||||
disk/memory headroom is adequate. Avoid overlapping manual and delivery builds
|
||||
on this single-CPU host. Use normal build settings; do not clear shared caches.
|
||||
- Open the issue, source diff, PR, artifact job, Grafana dashboard and artifact
|
||||
output tabs in advance. Use the same build number throughout the presentation.
|
||||
- Keep a completed Jenkins run and its downloaded artifacts available as a
|
||||
clearly labelled fallback. Earlier SSH rehearsals are not Jenkins results.
|
||||
|
||||
The November 25 cloud rehearsal sampled approximately 146 seconds for native
|
||||
build/tests, 75 seconds for reports, 10 seconds for architecture and 49 seconds for
|
||||
the final package. These are sampled phase spans, not a measured Jenkins duration.
|
||||
Measure the real job before accepting this timing plan.
|
||||
|
||||
## Timed walkthrough
|
||||
|
||||
| Time | Lead | Show and do |
|
||||
| --- | --- | --- |
|
||||
| 0:00-1:00 | Vincent | Introduce the application and the issue-to-artifact workflow. |
|
||||
| 1:00-2:00 | Vincent | Select the existing demo issue and post the planned-change comment. |
|
||||
| 2:00-4:00 | Both | Make the agreed meaningful change, inspect the diff, commit/push, then review and merge through Gitea. |
|
||||
| 4:00-4:30 | Vincent | Trigger the artifact job from the reviewed main revision. |
|
||||
| 4:30-6:45 | Billy | Explain configuration while the build runs. |
|
||||
| 6:45-8:45 | Billy | Present the two-tool SWOT chart below. |
|
||||
| 8:45-10:00 | Vincent | Show live stages and cloud CPU/memory observations. |
|
||||
| 10:00-12:00 | Vincent | Show tests, compiled report, versioned image archive and source identity. |
|
||||
| 12:00-13:15 | Billy | Open the source-generated architecture output for the bonus. |
|
||||
| 13:15-14:30 | Vincent | Illustrate the desktop workload using the verified Windows package. |
|
||||
| 14:30-16:00 | Both | Recap traceability, protections and measured limits. |
|
||||
| 16:00-20:00 | Both | Questions and timing reserve. |
|
||||
|
||||
### Opening and issue tracking
|
||||
|
||||
**Vincent:** "TikZRefinery is a desktop editor for a supported subset of TikZ. We
|
||||
use a frozen senior-project checkpoint as the application workload in our DevOps
|
||||
repository. The application's upstream baseline is 0.1.4-alpha. Our delivery
|
||||
artifact has a separate version, so we can trace a build without rewriting the
|
||||
senior project's history."
|
||||
|
||||
"We will follow one issue through a source change, Git review, cloud compilation,
|
||||
automated tests and a packaged result. This lets us explain how the tools work
|
||||
together using a real application."
|
||||
|
||||
Open the agreed existing issue. Show its acceptance criterion and submit a short
|
||||
comment describing the work about to happen and how it will be checked. Prepare
|
||||
the final wording after baseline verification, using the actual agreed change.
|
||||
Read its intent aloud rather than reading every field.
|
||||
|
||||
### Source update and review
|
||||
|
||||
Perform the rehearsed edit after the issue comment. Show the meaningful source
|
||||
diff and explain the effect in one sentence. Run these checks from the demo
|
||||
checkout, then stage only the agreed files:
|
||||
|
||||
```powershell
|
||||
git status --short --branch
|
||||
git diff --check
|
||||
git diff --stat
|
||||
```
|
||||
|
||||
Use a commit message that describes the actual change and references the real
|
||||
issue. Push the feature branch using the established Gitea login flow. Keep
|
||||
credentials off screen. Show the pushed commit and PR. Billy reviews it, checks
|
||||
the configured checks and submits his own decision. Vincent merges only after
|
||||
the required approval and successful checks.
|
||||
|
||||
**Billy:** "Gitea keeps the issue, source revision, review and merge connected.
|
||||
The required PR checks protect main. Our artifact job then builds from that
|
||||
reviewed main revision on the trusted cloud worker."
|
||||
|
||||
If review or checks take longer than rehearsed, use the explanation/SWOT slots
|
||||
while waiting. Keep their actual result visible; do not force a merge or present
|
||||
an earlier green result as the current one.
|
||||
|
||||
### Trigger and configuration explanation
|
||||
|
||||
Open the separate artifact job and trigger its normal build after main contains
|
||||
the reviewed increment. Show the build URL and checked-out revision.
|
||||
|
||||
**Vincent:** "The job checks source provenance before compiling. It runs the
|
||||
application tests, builds both LaTeX report editions, extracts diagrams from C++
|
||||
and packages an application image. A failed gate prevents a successful package."
|
||||
|
||||
**Billy:** "We keep the orchestration in source control, so a reviewer can see
|
||||
the build policy alongside the application. The job uses our existing trusted
|
||||
agent. Docker access makes that worker privileged with respect to the host, so
|
||||
unreviewed source does not belong on it."
|
||||
|
||||
Use this configuration tour; explain purpose rather than reading syntax aloud:
|
||||
|
||||
| File | Point to explain |
|
||||
| --- | --- |
|
||||
| `demo/Jenkinsfile` | Reviewed-main ancestry check, named stages, one concurrent build per job, timeout, JUnit and archived artifacts. |
|
||||
| `demo/ci/run-cloud.sh` | Agent-volume path mapping; sequential work; offline, read-only build containers with CPU, RAM and PID limits. The native/report/architecture limit is 768 MiB RAM and 0.75 CPU. |
|
||||
| `demo/toolchain.json` and `demo/ci/toolchain.Dockerfile` | Verified image IDs plus the compiler, Qt, LaTeX, Doxygen and Graphviz environment. Package inventory records what was installed. |
|
||||
| `demo/ci/build-report.sh` | Disposable report build, bibliography/index/reference work and figure-index validation. Historical canonical PDFs remain preserved. |
|
||||
| `demo/ci/package.py` and `demo/ci/application.Dockerfile` | Eight required passing suites, versioned image, real provider module, non-root runtime and bounded headless smoke check. |
|
||||
| `.gitea/workflows/manual.yml` | The existing Actions job builds the cumulative manual on main using `latex-local` and uploads its PDF and diagnostics. Its pinned action revisions make dependencies explicit. |
|
||||
|
||||
### Gitea Actions and Jenkins SWOT comparison
|
||||
|
||||
Use this as the required chart. The tradeoffs describe this group's deployment;
|
||||
they do not claim one tool is universally better.
|
||||
|
||||
| SWOT | Gitea Actions in this project | Jenkins in this project |
|
||||
| --- | --- | --- |
|
||||
| Strengths | Workflow YAML, source history and PDF artifacts are reached from the same Gitea project. The existing manual build is a compact, repeatable use case. | Named stages, test reports and artifacts make the multi-stage Qt/report/package workflow visible. The group also has established release and approval workflows. |
|
||||
| Weaknesses | The workflow depends on the runner label and compiler image being available. Our pinned legacy artifact action needs deliberate compatibility maintenance. | The controller, agents, plugins and Java runtime add maintenance work. The trusted worker's Docker access needs careful separation from unreviewed builds. |
|
||||
| Opportunities | Reuse the manual workflow for other course documents and strengthen source/artifact traceability without adding another control service. | Extend the verified baseline into rehearsed issue-linked increments and retain test, load and provenance records for each release. |
|
||||
| Threats | Runner outages or incompatible action changes can block builds. Overlapping heavy jobs compete for the same Droplet resources. | Runtime/plugin vulnerabilities, resource contention and an incorrectly scoped trusted job can affect the shared host. The team must keep review and runtime updates effective. |
|
||||
|
||||
**Billy:** "We use Actions for the cumulative manual and Jenkins for the richer
|
||||
application workflow. Both delegate work to separately operated workers, so
|
||||
availability, maintenance and trust still belong to us. We compare them using the
|
||||
work we actually operate."
|
||||
|
||||
For the tool mechanics, see the official
|
||||
[Gitea Actions overview](https://docs.gitea.com/usage/actions/overview/) and
|
||||
[Jenkins Pipeline handbook](https://www.jenkins.io/doc/book/pipeline/).
|
||||
The chart's deployment tradeoffs are the group's engineering assessment.
|
||||
|
||||
### Cloud execution and load
|
||||
|
||||
Open [the Group 1 SRE dashboard](https://metrics.yebilly.me/d/group1-sre/group-1-sre)
|
||||
with a time window covering the build. Show Jenkins' executing stage alongside
|
||||
the CPU and available-memory panels. If a panel refresh is too coarse, show the
|
||||
job's per-phase load CSV as additional evidence.
|
||||
|
||||
**Vincent:** "These processes run on The-Ocean, our 2 GiB, single-CPU Droplet.
|
||||
The stage limits bound the build containers while Gitea, Jenkins, monitoring and
|
||||
the earlier applications share the host. We observe CPU and available memory
|
||||
before and during the build, and check available disk for the output."
|
||||
|
||||
"The measurements describe the shared host. Other services and dashboard refresh
|
||||
intervals affect what we see, so we do not attribute every change solely to this
|
||||
job. We keep the actual build times and samples together."
|
||||
|
||||
Do not promise a particular peak or a cold build. Use the real chart and CSV
|
||||
values, units and timestamps; identify cache reuse if it affects the duration.
|
||||
|
||||
### Tests and deployment artifact
|
||||
|
||||
Open the current build's JUnit page. Explain the actual result. The baseline
|
||||
registers eight suites covering the provider contract, core foundations,
|
||||
rectangle/segment display, whole-element movement, rectangle resize, sidebar and
|
||||
session history. Module loading and compatibility checks exercise the real
|
||||
provider. These automated checks do not establish complete interactive acceptance.
|
||||
|
||||
Open the compiled `TikZRefinery-report.pdf` from that build. Then show:
|
||||
|
||||
- `TikZRefinery-1.0.N-linux-image.tar.gz`, using the actual Jenkins build number
|
||||
in place of `N`, and the matching `ssw590-tikzrefinery:1.0.N` image tag.
|
||||
- `delivery-info.json`: actual delivery version, upstream identity, downstream
|
||||
commit, execution kind and image ID.
|
||||
- `SHA256SUMS` and the package verification result.
|
||||
- The same build's test and load records.
|
||||
|
||||
**Vincent:** "Here major and minor identify the delivery line; the final component
|
||||
is the Jenkins build number. This is the required major.minor.changelist format.
|
||||
The metadata connects the artifact to its source and toolchain. SHA-256 checks
|
||||
detect byte changes during transfer; they do not establish authenticity by
|
||||
themselves."
|
||||
|
||||
"The image is a deployable Linux desktop application package with a headless
|
||||
runtime check. It is not a new website. The source is reviewed, the tests passed
|
||||
and the saved image's manifest, configuration and layers were verified."
|
||||
|
||||
Download the small metadata/report files live. Downloading the full image during
|
||||
the timed presentation is optional; its download/checksum procedure must already
|
||||
have passed in the baseline rehearsal. Cite the current build's real results.
|
||||
|
||||
### Source architecture bonus
|
||||
|
||||
Open the current `TikZRefinery-1.0.N-architecture.zip`, extract it and open
|
||||
`html/index.html`. Show one generated provider relationship graph and explain the
|
||||
interface/implementation relationship. The baseline rehearsal produced 25 source
|
||||
graphs; quote the current build's actual count if the increment changes it.
|
||||
|
||||
**Billy:** "Doxygen reads the C++ declarations and Graphviz draws the relationships.
|
||||
These graphs are included with the build output. The separately authored TikZ/UML
|
||||
report diagrams communicate the design; this output supplies source extraction."
|
||||
|
||||
### Windows application illustration
|
||||
|
||||
Use the verified portable Windows package to illustrate the workload. It is a
|
||||
separate Windows baseline build, not the Linux artifact just produced by Jenkins.
|
||||
Keep its `build-info.json` and source identity available if asked.
|
||||
|
||||
Before presenting, copy `demo/tikzrefinery/code/examples/explicit-coordinates/boxes-initial.tex`
|
||||
to an ignored rehearsal folder. Open that copy, move the right rectangle, resize a
|
||||
corner and use session undo/redo. Show how the source pane follows a committed
|
||||
edit. Save only the disposable copy if demonstrating Save.
|
||||
|
||||
**Vincent:** "The application edits existing supported shapes. The rectangle
|
||||
implementation is loaded as a separate module. Creation, folder browsing, plugin
|
||||
updating and an integrated LaTeX/PDF viewer remain planned. Our DevOps workflow
|
||||
builds and tests the implemented subset."
|
||||
|
||||
### Closing and questions
|
||||
|
||||
**Billy:** "We can trace the issue comment to a source change, reviewed main
|
||||
revision, cloud run, automated result and versioned artifact. The configuration
|
||||
and observed resource use explain how that workflow runs on our host."
|
||||
|
||||
**Vincent:** "We preserve failed results and prior artifacts rather than rewriting
|
||||
them. The next increments can use the same review and artifact trail. We have
|
||||
four minutes for questions."
|
||||
|
||||
Useful short answers:
|
||||
|
||||
- **Why two CI tools?** Actions builds the group manual; Jenkins orchestrates the
|
||||
application, report, tests and package with the group's established agent model.
|
||||
- **Does the laptop need Docker during the presentation?** The build workers run
|
||||
on the Droplet. The Windows GUI package runs natively on the laptop.
|
||||
- **What happens when a test fails?** The job stops before successful packaging;
|
||||
Jenkins retains available test results and diagnostics. Inspect that failure.
|
||||
- **Is the Linux GUI running in the browser?** No. The container is checked
|
||||
offscreen; the classroom GUI illustration uses the separate Windows package.
|
||||
- **Why keep two versions?** Upstream identifies the imported application
|
||||
checkpoint; the delivery version identifies an artifact produced by this job.
|
||||
|
||||
## Recovery within the time limit
|
||||
|
||||
| Observed problem | Response |
|
||||
| --- | --- |
|
||||
| Jenkins waits for the agent or another job | Show the queue/agent state, continue the explanation and retain the real timing. Do not start competing heavy jobs. |
|
||||
| Current build fails | Show the failed stage and diagnostics. Use the identified previous successful Jenkins build to explain the later stages, clearly distinguishing both runs. |
|
||||
| Classroom web request returns 403 | Check the actual source network against the approved web allowlist through the established maintenance procedure. Keep authentication and source restrictions enabled. |
|
||||
| Network or artifact download stalls | Show the completed run and pre-downloaded fallback files with their matching build/version. Do not label them as this live run. |
|
||||
| Live review takes longer than planned | Continue the configuration/SWOT explanation. Preserve the real review requirement and use the timing reserve. |
|
||||
| Time reaches 16 minutes | Stop optional GUI detail and additional graphs. Preserve time for questions. |
|
||||
|
||||
## Rubric evidence checklist
|
||||
|
||||
| Assessed area | Visible evidence |
|
||||
| --- | --- |
|
||||
| Issue tracking | Existing issue and newly posted plan comment before the edit. |
|
||||
| Version control | Meaningful diff, purpose-specific commit, push and real review/merge. |
|
||||
| Pipeline trigger | Current artifact build URL and triggering action. |
|
||||
| Build visibility | Native compilation, LaTeX and packaging stage progress. |
|
||||
| Automated tests | Current JUnit pass/fail page. |
|
||||
| Versioned deployment artifact | Current `1.0.N` image archive and provenance. |
|
||||
| Two-tool SWOT | The complete four-row comparison above. |
|
||||
| Configuration | Explain the Jenkins, workflow, Docker and build-script roles. |
|
||||
| Demo quality | Rehearsed handovers, clear source identities and timing. |
|
||||
| Cloud execution | Droplet worker, stage timing and real load observations. |
|
||||
| Architecture bonus | Source-generated graph opened from the current artifact. |
|
||||
|
||||
Assignment source: [Canvas Final Project Demo](https://sit.instructure.com/courses/188774/assignments/703597),
|
||||
checked November 25, 2026. Canvas lists December 2 at 11:59 p.m.; the demonstration
|
||||
itself has a 20-minute limit including questions. The script's speaker split and
|
||||
minute-by-minute allocation are rehearsal choices.
|
||||
Vendored
+38
@@ -0,0 +1,38 @@
|
||||
// Separate artifact-only demo job. Keep existing delivery/recovery jobs intact.
|
||||
pipeline {
|
||||
agent { label 'delivery-trusted' }
|
||||
options {
|
||||
disableConcurrentBuilds()
|
||||
timeout(time: 45, unit: 'MINUTES')
|
||||
buildDiscarder(logRotator(numToKeepStr: '10'))
|
||||
}
|
||||
environment { DELIVERY_VERSION = "1.0.${BUILD_NUMBER}" }
|
||||
stages {
|
||||
stage('Verify reviewed source and frozen baseline') {
|
||||
steps {
|
||||
sh 'python3 demo/ci/reset-output.py'
|
||||
sh 'git merge-base --is-ancestor HEAD origin/main'
|
||||
sh 'python3 demo/ci/verify-snapshot.py --require-tracked'
|
||||
}
|
||||
}
|
||||
stage('Build application and test provider') {
|
||||
steps { sh 'sh demo/ci/run-cloud.sh native' }
|
||||
}
|
||||
stage('Compile LaTeX reports') {
|
||||
steps { sh 'sh demo/ci/run-cloud.sh report' }
|
||||
}
|
||||
stage('Extract source architecture') {
|
||||
steps { sh 'sh demo/ci/run-cloud.sh architecture' }
|
||||
}
|
||||
stage('Package versioned artifact') {
|
||||
steps { sh 'sh demo/ci/run-cloud.sh package' }
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
archiveArtifacts artifacts: 'build/demo/artifacts/*,build/demo/reports/*',
|
||||
allowEmptyArchive: true, fingerprint: true
|
||||
junit testResults: 'build/demo/reports/tests.xml', allowEmptyResults: true
|
||||
}
|
||||
}
|
||||
}
|
||||
+174
@@ -0,0 +1,174 @@
|
||||
# TikZRefinery DevOps demo baseline
|
||||
|
||||
This directory imports the exact source checkpoint
|
||||
`f4e3193d49a98efcf2f16c2aa22d6085ebe70f36` from
|
||||
`https://github.com/Generic-Sun/TikZRefinery.git`. Its application/report baseline
|
||||
is **0.1.4-alpha**. The senior-design repository remains the development home.
|
||||
Its notices, author attribution and historical evidence are retained. No new
|
||||
project-wide licence is granted by this import.
|
||||
|
||||
`snapshot.json` records all 435 original Git blob IDs, SHA-256 hashes and sizes.
|
||||
`tikzrefinery/` contains raw committed blobs, not the senior checkout's untracked
|
||||
work or old package binaries. Git attributes preserve those bytes on Windows
|
||||
and Linux. Run `python demo/ci/verify-snapshot.py --require-tracked` from a Git
|
||||
checkout before and after a build. This checks the index as well as the files on
|
||||
disk, so an ignored but locally present upstream asset cannot hide an incomplete
|
||||
commit. Stage intended snapshot files before using that check. Exported SSH
|
||||
rehearsals without Git metadata can use the command without `--require-tracked`.
|
||||
Do not regenerate canonical PDFs or change product source during baseline verification.
|
||||
|
||||
The proposed provider-class naming correction remains reserved for a separate
|
||||
issue-linked demo increment after the baseline pipeline is verified. It is not
|
||||
part of this import. Keep that increment and the import distinguishable in Git.
|
||||
Neither a repository rename nor a commit/push is performed by these scripts.
|
||||
|
||||
## Build identities
|
||||
|
||||
The upstream `0.1.4-alpha` version and full source commit remain separate from
|
||||
the demo's `major.minor.changelist` delivery identifier. Jenkins uses
|
||||
`1.0.<BUILD_NUMBER>`. A command-line rehearsal defaults to `1.0.0` and explicitly
|
||||
records that it is not a Jenkins run. It uses a separate rehearsal image name.
|
||||
|
||||
Keep `build-info.json`, `delivery-info.json` and `upstream-snapshot.json` with
|
||||
the built application. BuildInfo reports the actual checkout seen by CMake;
|
||||
an exported cloud rehearsal with no Git checkout truthfully reports that identity
|
||||
as unavailable. Delivery metadata separately retains the upstream commit,
|
||||
downstream commit or parent, modified state, input hashes and execution kind.
|
||||
An old binary is never relabelled as the frozen source build.
|
||||
|
||||
## Windows application and report checks
|
||||
|
||||
Use the already-installed matching Qt kit, CMake, Ninja, MinGW and TinyTeX:
|
||||
|
||||
```powershell
|
||||
./demo/ci/build-windows.ps1 -DeliveryVersion 1.0.0
|
||||
```
|
||||
|
||||
The helper builds Release, runs all eight CTests, bundles the real rectangle DLL,
|
||||
uses `windeployqt` for compiler/Qt dependencies and includes the matching offscreen
|
||||
platform plugin for automated package checks. It refuses to overwrite a previous
|
||||
package. Override tool paths or `-OutputDirectory` for another workstation.
|
||||
The normal Windows platform plugin remains included for interactive use.
|
||||
|
||||
For a report rehearsal, copy the frozen tree into one task-local work directory
|
||||
and run its `documents/build-report.ps1` there with an explicit output directory.
|
||||
Its diagram-index generation writes to that disposable copy. Use the existing
|
||||
shared TinyTeX installation and the complete upstream sequence. Do not replace
|
||||
the imported canonical PDFs or historical index.
|
||||
|
||||
## Existing Droplet worker
|
||||
|
||||
The artifact-only `Jenkinsfile` uses the existing trusted delivery agent. It
|
||||
does not bind registry or deployment credentials and does not deploy to the
|
||||
pricing application environments. Its SCM definition must select reviewed
|
||||
`main`; its first stage verifies ancestry before executing the build scripts.
|
||||
Existing pricing release/recovery and manual-build jobs remain separate.
|
||||
|
||||
One-time administrator preparation:
|
||||
|
||||
```sh
|
||||
sh demo/ci/prepare-images.sh
|
||||
```
|
||||
|
||||
This verifies the existing manual compiler's full image ID, then builds a
|
||||
Qt/CMake/compiler/Doxygen image and a separate runtime base on the existing
|
||||
Droplet. Debian package versions are inventoried; rebuilding later may resolve
|
||||
newer packages and produce different image IDs. `toolchain.json` records the
|
||||
images actually verified for this baseline. The preparation output goes to
|
||||
`build/demo/toolchain-observed.json`; review it before updating that record.
|
||||
The ordinary pipeline refuses an unexpected local toolchain/runtime image ID.
|
||||
|
||||
Run stages sequentially from the checkout root:
|
||||
|
||||
```sh
|
||||
sh demo/ci/run-cloud.sh native
|
||||
sh demo/ci/run-cloud.sh report
|
||||
sh demo/ci/run-cloud.sh architecture
|
||||
DELIVERY_VERSION=1.0.0 sh demo/ci/run-cloud.sh package
|
||||
```
|
||||
|
||||
The wrapper accounts for the delivery agent's named-volume workspace: Docker
|
||||
bind sources must use the volume's host path, not its container-visible path.
|
||||
Application/report containers have no network, a read-only checkout/root,
|
||||
dropped capabilities, a private temporary filesystem and bounded CPU/RAM/PIDs.
|
||||
Only their dedicated output directory is writable. Each run clears its staging
|
||||
artifacts and reports, retaining compiled caches and Jenkins' archived history;
|
||||
a failure must not upload an older run's successful output. Heavy stages are sequential;
|
||||
do not overlap them with another manual or delivery build on this single-CPU host.
|
||||
|
||||
The native stage compiles the application and real provider and runs all eight
|
||||
offscreen suites, including incompatible-module rejection. The report stage
|
||||
builds both editions with latexmk's bibliography/index/reference passes and
|
||||
checks the upstream source/figure index. Architecture output comes from C++ via
|
||||
Doxygen/Graphviz, distinct from the authored TikZ diagrams.
|
||||
|
||||
Packaging requires the eight passing suites, compiled report and generated
|
||||
architecture. It builds a non-root application image, checks that its offscreen
|
||||
event loop stays running, and emits an image archive, architecture ZIP, reports,
|
||||
provenance and checksums under `build/demo/artifacts/`. Image names are immutable
|
||||
within this workflow; select a new delivery version instead of overwriting one.
|
||||
`verify-artifacts.py` checks every downloaded/staged checksum and the saved OCI
|
||||
manifest, configuration and layer digests, plus the architecture ZIP's entry point.
|
||||
It targets the existing Docker 29/containerd archive format and does not confuse
|
||||
the engine's manifest ID with the separate configuration digest.
|
||||
|
||||
The Linux image is a desktop application container, not a web service. Its
|
||||
default offscreen backend permits headless checks; displaying a real Linux GUI
|
||||
requires an appropriate display backend. Use the freshly built Windows package
|
||||
for the classroom's interactive application view. GUI-process and automated
|
||||
tests do not establish complete product acceptance.
|
||||
The application image directs its writable home/font cache into the bounded
|
||||
temporary mount; its root filesystem remains read-only during the smoke check.
|
||||
|
||||
## Verification boundary and current evidence
|
||||
|
||||
The task's ignored records are under `build/evidence/demo-baseline-20261125/`.
|
||||
Windows Release passed eight suites. The fresh portable package loaded its
|
||||
bundled Qt and rectangle module with the development toolchain absent from PATH.
|
||||
Both report editions rebuilt and all 585 rendered pages matched the frozen
|
||||
baseline at the comparison resolution. Cloud stage results are recorded as they
|
||||
actually complete; command-line execution is not labelled as a Jenkins build.
|
||||
|
||||
A real Jenkins run must additionally prove SCM checkout, stage scheduling,
|
||||
JUnit display, artifact archiving/download and the corresponding source/version
|
||||
identity. Publish the reviewed baseline before selecting it in a job. The
|
||||
provider rename remains pending until that verification succeeds.
|
||||
|
||||
The first real run, [Jenkins build 1](https://ci.yebilly.me/job/tikzrefinery-demo/1/),
|
||||
checked out merged main `d37297b` and stopped at the frozen-file gate: the global
|
||||
`*.dvi` ignore rule had excluded one original asset from the 434-file Git input,
|
||||
although the local and exported rehearsals contained all 435 files. It also
|
||||
exposed a missing JUnit reporting plugin. The correction retains the original
|
||||
1,268-byte blob, adds an exact ignore exception and checks tracked provenance.
|
||||
This failed run does not establish application compilation or artifact delivery.
|
||||
The [job setup and verification runbook](jenkins/README.md) records prerequisites
|
||||
and the remaining checks for the reviewed rerun.
|
||||
|
||||
## Demonstration and ownership
|
||||
|
||||
Use [the timed demonstration script](DEMO_SCRIPT.md) for the proposed speaker
|
||||
handoffs, configuration tour, two-tool SWOT and rubric evidence checklist.
|
||||
Finalize its live issue/change and build references after the baseline Jenkins
|
||||
run passes. The [November 25 web-access record](evidence/web-access-20261125.json)
|
||||
captures the authorized home-source addition without publishing the address.
|
||||
|
||||
The professor's stated evaluation scope is the DevOps workflow. Zammad remains
|
||||
a separate assignment and the unfinished VPN is not represented as implemented.
|
||||
The final demonstration must show an existing issue and planned-change comment,
|
||||
meaningful source change, commit/push, visible pipeline build/test/package,
|
||||
versioned output, configuration explanations and cloud load. Present a SWOT
|
||||
comparison of two tools actually used, such as Gitea Actions and Jenkins.
|
||||
Doxygen output is a candidate for the optional source-extraction bonus.
|
||||
|
||||
Per-stage CSVs sample the host CPU counters and memory available through the
|
||||
cloud agent's `/proc`, plus free space on its workspace filesystem. These are
|
||||
observations of the shared host, not proof every change was caused by this job.
|
||||
Use the existing Grafana dashboard during rehearsal to show the build window.
|
||||
Keep the complete demonstration, explanation and questions within 20 minutes.
|
||||
|
||||
No new Droplet or plan is required by this preparation; the existing paid host
|
||||
incurs transient build, storage and network use. Vincent owns the host and local
|
||||
runtime availability; Billy reviews group changes. Retain source, artifacts,
|
||||
test reports and required grading evidence. Remove only identified current-task
|
||||
build scratch after review. Never prune shared images/volumes, runner identities,
|
||||
older packages or unrelated coursework as part of demo cleanup.
|
||||
@@ -0,0 +1,5 @@
|
||||
ARG RUNTIME_IMAGE
|
||||
FROM ${RUNTIME_IMAGE}
|
||||
ENV HOME=/tmp XDG_CACHE_HOME=/tmp/.cache
|
||||
COPY --chown=1000:1000 . /opt/tikzrefinery/
|
||||
ENTRYPOINT ["/opt/tikzrefinery/TikZRefinery"]
|
||||
@@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
# Compile disposable copies; never refresh the frozen source's canonical PDFs/index.
|
||||
set -eu
|
||||
source=/workspace/demo/tikzrefinery
|
||||
out=/output/report
|
||||
mkdir -p "$out/source" "$out/results"
|
||||
cp -a "$source/." "$out/source/"
|
||||
cd "$out/source/documents/latex"
|
||||
for edition in TikZRefinerySubmission TikZRefinery; do
|
||||
folder="$out/results/$edition"
|
||||
mkdir -p "$folder"
|
||||
echo "Compiling $edition: LaTeX, bibliography, index and cross-references"
|
||||
if ! latexmk -pdf -interaction=nonstopmode -halt-on-error -file-line-error \
|
||||
-outdir="$folder" "$edition.tex" > "$folder/console.txt" 2>&1; then
|
||||
tail -60 "$folder/console.txt"; exit 1
|
||||
fi
|
||||
if grep -Eq '(^!|undefined references|undefined citations|Citation .* undefined|Reference .* undefined|Rerun to get cross-references right|Label\(s\) may have changed)' "$folder/$edition.log"; then
|
||||
echo "Unresolved report diagnostics: $edition" >&2; exit 1
|
||||
fi
|
||||
test -s "$folder/$edition.pdf"
|
||||
done
|
||||
# The upstream checker binds its index to all source inputs and final shipout maps.
|
||||
python3 ../update-diagram-index.py --build-directory "$out/results" --record-sources
|
||||
python3 ../update-diagram-index.py --build-directory "$out/results"
|
||||
cp "$out/results/TikZRefinerySubmission/TikZRefinerySubmission.pdf" /output/artifacts/TikZRefinery-report.pdf
|
||||
cp ../diagram-index.json /output/artifacts/diagram-index.json
|
||||
@@ -0,0 +1,56 @@
|
||||
[CmdletBinding()]
|
||||
param(
|
||||
[string]$QtKit = 'C:/Qt/6.12.0/mingw_64',
|
||||
[string]$CompilerBin = 'C:/Qt/Tools/mingw1310_64/bin',
|
||||
[string]$CMakeBin = 'C:/Qt/Tools/CMake_64/bin',
|
||||
[string]$NinjaBin = 'C:/Qt/Tools/Ninja',
|
||||
[string]$DeliveryVersion = '1.0.0',
|
||||
[string]$OutputDirectory = 'build/demo-windows',
|
||||
[string]$BuildDirectory,
|
||||
[string]$PythonExecutable = 'python'
|
||||
)
|
||||
Set-StrictMode -Version Latest
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$PSNativeCommandUseErrorActionPreference = $true
|
||||
$repository = (Resolve-Path (Join-Path $PSScriptRoot '../..')).Path
|
||||
if ($DeliveryVersion -notmatch '^\d+\.\d+\.\d+$') { throw 'Use major.minor.changelist' }
|
||||
Push-Location $repository
|
||||
try {
|
||||
& $PythonExecutable demo/ci/verify-snapshot.py
|
||||
$output = (New-Item -ItemType Directory -Force $OutputDirectory).FullName
|
||||
$build = if ($BuildDirectory) { [IO.Path]::GetFullPath($BuildDirectory) } else { Join-Path $output 'build' }
|
||||
$package = Join-Path $output "TikZRefinery-windows-$DeliveryVersion"
|
||||
if (Test-Path $package) { throw "Preserve existing package; choose another output directory: $package" }
|
||||
$env:Path = "$QtKit/bin;$CompilerBin;$NinjaBin;" + $env:Path
|
||||
$cmake = Join-Path $CMakeBin 'cmake.exe'
|
||||
& $cmake -S demo/tikzrefinery/code -B $build -G Ninja -DCMAKE_BUILD_TYPE=Release `
|
||||
"-DCMAKE_PREFIX_PATH=$QtKit" "-DCMAKE_CXX_COMPILER=$CompilerBin/g++.exe" `
|
||||
"-DCMAKE_MAKE_PROGRAM=$NinjaBin/ninja.exe"
|
||||
& $cmake --build $build --parallel 4
|
||||
& (Join-Path $CMakeBin 'ctest.exe') --test-dir $build --output-on-failure `
|
||||
--output-junit (Join-Path $output 'tests.xml')
|
||||
New-Item -ItemType Directory -Path "$package/shape-plugins" -Force | Out-Null
|
||||
Copy-Item "$build/TikZRefinery.exe" $package
|
||||
Copy-Item "$build/shape-plugins/tkr_rectangle.dll" "$package/shape-plugins"
|
||||
& "$QtKit/bin/windeployqt.exe" --release --compiler-runtime --no-translations `
|
||||
--no-opengl-sw --no-system-d3d-compiler "$package/TikZRefinery.exe"
|
||||
# windeployqt selects qwindows for normal desktop use. Include the matching
|
||||
# offscreen plugin as well so package smoke checks need no visible window.
|
||||
Copy-Item "$QtKit/plugins/platforms/qoffscreen.dll" "$package/platforms"
|
||||
Copy-Item "$build/build-info.json" $package
|
||||
Copy-Item demo/snapshot.json "$package/upstream-snapshot.json"
|
||||
Copy-Item demo/tikzrefinery/code/examples "$package/examples" -Recurse
|
||||
$downstream = (& git rev-parse HEAD).Trim()
|
||||
$state = (& git status --porcelain --untracked-files=normal) -join "`n"
|
||||
[ordered]@{
|
||||
delivery_version = $DeliveryVersion
|
||||
upstream_commit = 'f4e3193d49a98efcf2f16c2aa22d6085ebe70f36'
|
||||
application_baseline = '0.1.4-alpha'
|
||||
downstream_commit = $downstream
|
||||
downstream_modified = [bool]$state
|
||||
execution = 'Windows command-line rehearsal; not a Jenkins run'
|
||||
} | ConvertTo-Json | Set-Content "$package/delivery-info.json" -Encoding utf8
|
||||
& $PythonExecutable demo/ci/verify-snapshot.py
|
||||
Compress-Archive -LiteralPath $package -DestinationPath "$package.zip"
|
||||
Get-FileHash "$package.zip" -Algorithm SHA256 | Format-List
|
||||
} finally { Pop-Location }
|
||||
@@ -0,0 +1,29 @@
|
||||
"""Generate source-based diagrams, separate from the authored architecture."""
|
||||
from pathlib import Path
|
||||
import subprocess
|
||||
|
||||
output = Path('/output/architecture')
|
||||
output.mkdir(exist_ok=True)
|
||||
configuration = output / 'Doxyfile'
|
||||
configuration.write_text('''PROJECT_NAME = TikZRefinery
|
||||
OUTPUT_DIRECTORY = /output/architecture
|
||||
INPUT = /workspace/demo/tikzrefinery/code/src /workspace/demo/tikzrefinery/code/plugins /workspace/demo/tikzrefinery/code/plugin-api
|
||||
RECURSIVE = YES
|
||||
FILE_PATTERNS = *.h *.cpp
|
||||
EXTRACT_ALL = YES
|
||||
EXTRACT_PRIVATE = YES
|
||||
GENERATE_HTML = YES
|
||||
GENERATE_LATEX = NO
|
||||
HAVE_DOT = YES
|
||||
CLASS_GRAPH = YES
|
||||
COLLABORATION_GRAPH = YES
|
||||
DOT_IMAGE_FORMAT = svg
|
||||
INTERACTIVE_SVG = NO
|
||||
QUIET = YES
|
||||
WARN_IF_UNDOCUMENTED = NO
|
||||
WARN_LOGFILE = /output/reports/doxygen-warnings.txt
|
||||
''')
|
||||
subprocess.run(['doxygen', str(configuration)], check=True)
|
||||
graphs = list((output / 'html').glob('*coll*graph.svg')) + list((output / 'html').glob('*inherit*graph.svg'))
|
||||
assert graphs, 'No source-based class graph was generated'
|
||||
print(f'PASS: generated {len(graphs)} class/collaboration graphs from C++ source')
|
||||
@@ -0,0 +1,96 @@
|
||||
"""Package only successful tested builds; keep delivery and upstream identities separate."""
|
||||
import hashlib
|
||||
import json
|
||||
import os
|
||||
from pathlib import Path
|
||||
import re
|
||||
import shutil
|
||||
import subprocess
|
||||
import tarfile
|
||||
import xml.etree.ElementTree as ET
|
||||
import zipfile
|
||||
|
||||
root = Path.cwd()
|
||||
out = root / 'build/demo'
|
||||
version = os.environ.get('DELIVERY_VERSION', '1.0.0')
|
||||
assert re.fullmatch(r'\d+\.\d+\.\d+', version), 'Use major.minor.changelist'
|
||||
|
||||
def run(*args, **kwargs):
|
||||
return subprocess.check_output(args, text=True, stderr=subprocess.STDOUT, **kwargs).strip()
|
||||
|
||||
def digest(path):
|
||||
with path.open('rb') as stream:
|
||||
return hashlib.file_digest(stream, 'sha256').hexdigest()
|
||||
|
||||
tests = ET.parse(out / 'reports/tests.xml')
|
||||
cases = tests.findall('.//testcase')
|
||||
assert len(cases) == 8 and all(case.find('failure') is None and case.find('error') is None
|
||||
and case.find('skipped') is None for case in cases), 'Require all eight baseline suites'
|
||||
expected = {'rectangle_plugin_contract','core_foundations','rectangle_display',
|
||||
'segment_display','whole_element_drag','rectangle_resize','workspace_sidebar','session_history'}
|
||||
assert {case.attrib['name'] for case in cases} == expected, 'Wrong suite set'
|
||||
assert (out / 'artifacts/TikZRefinery-report.pdf').is_file()
|
||||
assert (out / 'architecture/html/index.html').is_file()
|
||||
snapshot = json.loads((root / 'demo/snapshot.json').read_text())
|
||||
jenkins = bool(os.environ.get('BUILD_URL'))
|
||||
try:
|
||||
downstream = run('git', 'rev-parse', 'HEAD')
|
||||
modified = bool(run('git', 'status', '--porcelain', '--untracked-files=normal'))
|
||||
except subprocess.CalledProcessError:
|
||||
assert not jenkins, 'Jenkins must retain its real checkout identity'
|
||||
downstream = os.environ.get('DOWNSTREAM_PARENT_COMMIT', 'unavailable')
|
||||
modified = True
|
||||
source_hashes = {p.relative_to(root / 'demo').as_posix(): hashlib.sha256(p.read_bytes()).hexdigest()
|
||||
for p in sorted((root / 'demo').rglob('*')) if p.is_file()}
|
||||
record = dict(delivery_version=version, application_baseline=snapshot['application_baseline'],
|
||||
upstream_repository=snapshot['upstream_repository'], upstream_commit=snapshot['upstream_commit'],
|
||||
downstream_commit_or_parent=downstream, downstream_modified=modified,
|
||||
execution='Jenkins' if jenkins else 'SSH command-line rehearsal; not a Jenkins run',
|
||||
build_url=os.environ.get('BUILD_URL'), source_sha256=source_hashes,
|
||||
toolchain=json.loads((root / 'demo/toolchain.json').read_text()))
|
||||
bundle = out / 'application-bundle'
|
||||
bundle.mkdir(exist_ok=True)
|
||||
(bundle / 'shape-plugins').mkdir(exist_ok=True)
|
||||
for source, destination in [(out/'native/TikZRefinery',bundle/'TikZRefinery'),
|
||||
(out/'native/shape-plugins/tkr_rectangle.so',bundle/'shape-plugins/tkr_rectangle.so'),
|
||||
(out/'native/build-info.json',bundle/'build-info.json'),
|
||||
(root/'demo/snapshot.json',bundle/'upstream-snapshot.json')]:
|
||||
shutil.copy2(source, destination)
|
||||
(bundle / 'delivery-info.json').write_text(json.dumps(record, indent=2) + '\n')
|
||||
image = ('ssw590-tikzrefinery' if jenkins else 'ssw590-tikzrefinery-rehearsal') + ':' + version
|
||||
exists = subprocess.run(['docker','image','inspect',image], stdout=subprocess.DEVNULL,stderr=subprocess.DEVNULL).returncode == 0
|
||||
assert not exists, f'Preserve existing artifact {image}; select a new delivery version'
|
||||
environment = dict(os.environ, DOCKER_BUILDKIT='0')
|
||||
subprocess.run(['docker','build','--memory=512m','--memory-swap=768m','--cpu-quota=50000',
|
||||
'--build-arg','RUNTIME_IMAGE=ssw590-demo-runtime:20261125',
|
||||
'-t',image,'-f','demo/ci/application.Dockerfile',str(bundle)],check=True,env=environment)
|
||||
record['application_image'] = image
|
||||
record['application_image_id'] = run('docker','image','inspect','-f','{{.Id}}',image)
|
||||
smoke = subprocess.run(['docker','run','--rm','--network','none','--read-only','--cap-drop','ALL',
|
||||
'--security-opt','no-new-privileges','--memory=256m','--memory-swap=384m',
|
||||
'--cpus=0.5','--pids-limit=128','--tmpfs','/tmp:rw,nosuid,nodev,size=32m',
|
||||
'--entrypoint','sh',image,'-c','timeout 5s ./TikZRefinery'],
|
||||
stdout=subprocess.PIPE,stderr=subprocess.STDOUT,text=True)
|
||||
(out/'reports/application-smoke.txt').write_text(smoke.stdout)
|
||||
assert smoke.returncode == 124, ('Expected GUI event loop to remain running offscreen',smoke.returncode,smoke.stdout)
|
||||
archive = out / 'artifacts' / f'TikZRefinery-{version}-linux-image.tar.gz'
|
||||
with subprocess.Popen(['docker','save',image],stdout=subprocess.PIPE) as process:
|
||||
import gzip
|
||||
with gzip.open(archive, 'wb') as stream:
|
||||
shutil.copyfileobj(process.stdout,stream)
|
||||
assert process.wait() == 0
|
||||
with tarfile.open(archive,'r:gz') as tar:
|
||||
manifest = json.load(tar.extractfile('manifest.json'))
|
||||
assert image in manifest[0]['RepoTags']
|
||||
record['image_archive_sha256'] = digest(archive)
|
||||
(out/'artifacts/delivery-info.json').write_text(json.dumps(record,indent=2)+'\n')
|
||||
with zipfile.ZipFile(out/'artifacts'/f'TikZRefinery-{version}-architecture.zip','w',zipfile.ZIP_DEFLATED) as archive_docs:
|
||||
for file in sorted((out/'architecture/html').rglob('*')):
|
||||
if file.is_file():
|
||||
archive_docs.write(file,file.relative_to(out/'architecture'))
|
||||
checksums = []
|
||||
for path in sorted((out/'artifacts').iterdir()):
|
||||
if path.is_file() and path.name != 'SHA256SUMS':
|
||||
checksums.append(digest(path) + ' ' + path.name)
|
||||
(out/'artifacts/SHA256SUMS').write_text('\n'.join(checksums)+'\n')
|
||||
print(json.dumps({key:record[key] for key in ['delivery_version','execution','application_image','application_image_id']},indent=2))
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
# Administrator preparation on the existing host; no application/service restart.
|
||||
set -eu
|
||||
base=ssw590-manual-ci:20261007
|
||||
expected=sha256:5d24657a4578977fc7709165b82fc869f09a654a58ab4a0c8defd9d2cd662d5d
|
||||
[ "$(docker image inspect -f '{{.Id}}' "$base")" = "$expected" ] || {
|
||||
echo 'Existing manual toolchain ID differs; investigate before building.' >&2; exit 1;
|
||||
}
|
||||
mkdir -p build/demo
|
||||
export DOCKER_BUILDKIT=0
|
||||
docker build --force-rm --memory=512m --memory-swap=768m --cpu-quota=50000 \
|
||||
-t ssw590-demo-toolchain:20261125 -f demo/ci/toolchain.Dockerfile demo/ci
|
||||
docker build --force-rm --memory=512m --memory-swap=768m --cpu-quota=50000 \
|
||||
-t ssw590-demo-runtime:20261125 -f demo/ci/runtime.Dockerfile demo/ci
|
||||
python3 - <<'PY'
|
||||
import json, subprocess
|
||||
from pathlib import Path
|
||||
def identity(name):
|
||||
return subprocess.check_output(['docker','image','inspect','-f','{{.Id}}',name],text=True).strip()
|
||||
record = {name: identity(name) for name in ['ssw590-demo-toolchain:20261125','ssw590-demo-runtime:20261125']}
|
||||
Path('build/demo/toolchain-observed.json').write_text(json.dumps(record,indent=2)+'\n')
|
||||
print(json.dumps(record,indent=2))
|
||||
PY
|
||||
@@ -0,0 +1,15 @@
|
||||
"""Clear per-run staging outputs, retaining compiler/report caches and archived runs."""
|
||||
from pathlib import Path
|
||||
import shutil
|
||||
|
||||
root = Path.cwd().resolve()
|
||||
assert (root / 'demo/snapshot.json').is_file(), 'Run from the demo repository root'
|
||||
for name in ('artifacts', 'reports'):
|
||||
target = root / 'build/demo' / name
|
||||
resolved = target.resolve()
|
||||
assert not target.is_symlink() and resolved == root / 'build/demo' / name
|
||||
assert resolved.is_relative_to(root / 'build/demo')
|
||||
if target.exists():
|
||||
shutil.rmtree(target)
|
||||
target.mkdir(parents=True)
|
||||
print('Fresh per-run artifacts/reports; build caches retained')
|
||||
@@ -0,0 +1,63 @@
|
||||
#!/bin/sh
|
||||
# The same stages are used by Jenkins and explicitly labelled SSH rehearsals.
|
||||
set -eu
|
||||
phase=${1:?choose native, report, architecture or package}
|
||||
root=$(pwd)
|
||||
out="$root/build/demo"
|
||||
if [ "$phase" = native ]; then python3 demo/ci/reset-output.py; fi
|
||||
# The Docker daemon resolves bind sources on the host. Jenkins' workspace lives
|
||||
# inside its named volume, so its container-visible path is not a host path.
|
||||
case "$root" in
|
||||
/home/jenkins/agent/*)
|
||||
volume_root=$(docker volume inspect -f '{{.Mountpoint}}' ssw590-delivery-workspace)
|
||||
host_root="$volume_root/${root#/home/jenkins/agent/}"
|
||||
;;
|
||||
*) host_root="$root";;
|
||||
esac
|
||||
mkdir -p "$out/artifacts" "$out/reports"
|
||||
python3 demo/ci/verify-snapshot.py
|
||||
test -s demo/toolchain.json || { echo 'Prepare and verify the host images before this pipeline.' >&2; exit 1; }
|
||||
python3 - <<'PY'
|
||||
import json, subprocess
|
||||
for name, expected in json.load(open('demo/toolchain.json')).items():
|
||||
actual=subprocess.check_output(['docker','image','inspect','-f','{{.Id}}',name],text=True).strip()
|
||||
assert actual==expected, (name, 'local toolchain changed')
|
||||
PY
|
||||
toolchain=ssw590-demo-toolchain:20261125
|
||||
python3 demo/ci/sample-load.py "$out/reports/$phase-load.csv" &
|
||||
sampler=$!
|
||||
trap 'kill "$sampler" 2>/dev/null || true; wait "$sampler" 2>/dev/null || true' EXIT HUP INT TERM
|
||||
run() {
|
||||
docker run --rm --network none --read-only --cap-drop ALL \
|
||||
--security-opt no-new-privileges --memory=768m --memory-swap=1536m \
|
||||
--cpus=0.75 --pids-limit=256 --user "$(id -u):$(id -g)" \
|
||||
--tmpfs /tmp:rw,nosuid,nodev,size=128m -e HOME=/tmp -e QT_QPA_PLATFORM=offscreen \
|
||||
-e GIT_CONFIG_COUNT=1 -e GIT_CONFIG_KEY_0=safe.directory -e GIT_CONFIG_VALUE_0=/workspace \
|
||||
--mount "type=bind,source=$host_root,target=/workspace,readonly" \
|
||||
--mount "type=bind,source=$host_root/build/demo,target=/output" \
|
||||
-w /workspace "$toolchain" sh -eu -c "$1"
|
||||
}
|
||||
case "$phase" in
|
||||
native)
|
||||
echo '=== Build C++/Qt application and provider; run all registered CTests ==='
|
||||
run 'cmake -S demo/tikzrefinery/code -B /output/native -G Ninja -DCMAKE_BUILD_TYPE=Release
|
||||
cmake --build /output/native --parallel 1
|
||||
ctest --test-dir /output/native --output-on-failure --output-junit /output/reports/tests.xml
|
||||
cp /opt/demo-toolchain/packages.txt /output/reports/toolchain-packages.txt'
|
||||
;;
|
||||
report)
|
||||
echo '=== Compile both authored report editions ==='
|
||||
run 'sh demo/ci/build-report.sh'
|
||||
;;
|
||||
architecture)
|
||||
echo '=== Extract architecture from the frozen C++ source ==='
|
||||
run 'python3 demo/ci/extract-architecture.py'
|
||||
;;
|
||||
package)
|
||||
echo '=== Package versioned deployable application image and reports ==='
|
||||
python3 demo/ci/package.py
|
||||
python3 demo/ci/verify-artifacts.py
|
||||
;;
|
||||
*) echo 'Unknown phase' >&2; exit 1;;
|
||||
esac
|
||||
python3 demo/ci/verify-snapshot.py
|
||||
@@ -0,0 +1,8 @@
|
||||
FROM node:22-bookworm-slim@sha256:c3de60bf2f9dd0ac6370e6117950ff62d6e339527e7472301c9c78a017978392
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
libqt6widgets6 libqt6gui6 libqt6core6 qt6-qpa-plugins fonts-dejavu-core \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
ENV QT_QPA_PLATFORM=offscreen
|
||||
USER node
|
||||
WORKDIR /opt/tikzrefinery
|
||||
@@ -0,0 +1,33 @@
|
||||
"""Read /proc host counters visible to the cloud agent; never inspect processes."""
|
||||
import csv
|
||||
from datetime import datetime, timezone
|
||||
from pathlib import Path
|
||||
import shutil
|
||||
import signal
|
||||
import sys
|
||||
import time
|
||||
|
||||
running = True
|
||||
def stop(*_):
|
||||
global running
|
||||
running = False
|
||||
signal.signal(signal.SIGTERM, stop)
|
||||
signal.signal(signal.SIGINT, stop)
|
||||
|
||||
def cpu():
|
||||
fields = [int(n) for n in Path('/proc/stat').read_text().splitlines()[0].split()[1:9]]
|
||||
return sum(fields), fields[3] + fields[4]
|
||||
|
||||
last_total, last_idle = cpu()
|
||||
with open(sys.argv[1], 'w', newline='') as stream:
|
||||
writer = csv.writer(stream)
|
||||
writer.writerow(['utc','host_cpu_percent','host_mem_available_kib','filesystem_free_bytes'])
|
||||
while running:
|
||||
time.sleep(1)
|
||||
total, idle = cpu()
|
||||
memory = dict(line.split(':', 1) for line in Path('/proc/meminfo').read_text().splitlines())
|
||||
usage = 100 * (1 - (idle-last_idle) / max(1, total-last_total))
|
||||
writer.writerow([datetime.now(timezone.utc).isoformat(),round(usage,2),
|
||||
int(memory['MemAvailable'].split()[0]),shutil.disk_usage('.').free])
|
||||
stream.flush()
|
||||
last_total, last_idle = total, idle
|
||||
@@ -0,0 +1,11 @@
|
||||
# Existing, tested TeX compiler image transferred to The-Ocean on November 14.
|
||||
# prepare-images.sh verifies its complete local image ID before this build.
|
||||
FROM ssw590-manual-ci:20261007
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
build-essential cmake ninja-build qt6-base-dev qt6-qpa-plugins \
|
||||
fonts-dejavu-core doxygen graphviz \
|
||||
&& mkdir -p /opt/demo-toolchain \
|
||||
&& dpkg-query -W -f='${Package} ${Version}\n' > /opt/demo-toolchain/packages.txt \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
WORKDIR /workspace
|
||||
@@ -0,0 +1,39 @@
|
||||
"""Check transport hashes and the saved OCI manifest/configuration/layer chain."""
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
import re
|
||||
import sys
|
||||
import tarfile
|
||||
import zipfile
|
||||
|
||||
folder = Path(sys.argv[1] if len(sys.argv) > 1 else 'build/demo/artifacts').resolve()
|
||||
for line in (folder / 'SHA256SUMS').read_text().splitlines():
|
||||
expected, name = line.split(' ', 1)
|
||||
assert Path(name).name == name and re.fullmatch(r'[0-9a-f]{64}', expected)
|
||||
with (folder / name).open('rb') as stream:
|
||||
assert hashlib.file_digest(stream, 'sha256').hexdigest() == expected, name
|
||||
record = json.loads((folder / 'delivery-info.json').read_text())
|
||||
version = record['delivery_version']
|
||||
assert re.fullmatch(r'\d+\.\d+\.\d+', version)
|
||||
with tarfile.open(folder / f'TikZRefinery-{version}-linux-image.tar.gz', 'r:gz') as archive:
|
||||
compatibility = json.load(archive.extractfile('manifest.json'))[0]
|
||||
assert record['application_image'] in compatibility['RepoTags']
|
||||
index = json.load(archive.extractfile('index.json'))
|
||||
descriptor = next(row for row in index['manifests'] if row['digest'] == record['application_image_id'])
|
||||
def blob_name(digest):
|
||||
assert re.fullmatch(r'sha256:[0-9a-f]{64}', digest)
|
||||
return 'blobs/sha256/' + digest.split(':')[1]
|
||||
manifest_bytes = archive.extractfile(blob_name(descriptor['digest'])).read()
|
||||
assert 'sha256:' + hashlib.sha256(manifest_bytes).hexdigest() == descriptor['digest']
|
||||
manifest = json.loads(manifest_bytes)
|
||||
references = [manifest['config'], *manifest['layers']]
|
||||
members = {member.name: member for member in archive.getmembers()}
|
||||
for reference in sorted(references, key=lambda row: members[blob_name(row['digest'])].offset_data):
|
||||
name = blob_name(reference['digest'])
|
||||
assert members[name].isfile(), name
|
||||
with archive.extractfile(name) as stream:
|
||||
assert 'sha256:' + hashlib.file_digest(stream, 'sha256').hexdigest() == reference['digest'], name
|
||||
with zipfile.ZipFile(folder / f'TikZRefinery-{version}-architecture.zip') as docs:
|
||||
assert 'html/index.html' in docs.namelist()
|
||||
print(f'PASS: version {version}, artifact checksums, OCI manifest/config/{len(manifest["layers"])} layers and architecture ZIP')
|
||||
@@ -0,0 +1,45 @@
|
||||
"""Verify the exact frozen source input, independent of either Git checkout."""
|
||||
import argparse
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
import subprocess
|
||||
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
parser.add_argument('--require-tracked', action='store_true',
|
||||
help='Also verify that the Git index contains every original blob.')
|
||||
args = parser.parse_args()
|
||||
|
||||
DEMO = Path(__file__).resolve().parents[1]
|
||||
SOURCE = DEMO / 'tikzrefinery'
|
||||
manifest = json.loads((DEMO / 'snapshot.json').read_text(encoding='utf-8'))
|
||||
expected = manifest['files']
|
||||
if args.require_tracked:
|
||||
index = subprocess.check_output(
|
||||
['git', 'ls-files', '--stage', '-z', '--', 'demo/tikzrefinery'], cwd=DEMO.parent)
|
||||
tracked = {}
|
||||
for row in index.decode('utf-8').split('\0'):
|
||||
if not row:
|
||||
continue
|
||||
metadata, path = row.split('\t', 1)
|
||||
mode, blob, stage = metadata.split()
|
||||
assert stage == '0', ('Unresolved snapshot index entry', path)
|
||||
tracked[path.removeprefix('demo/tikzrefinery/')] = (mode, blob)
|
||||
assert set(tracked) == set(expected), {
|
||||
'untracked_snapshot_files': sorted(set(expected) - set(tracked)),
|
||||
'unexpected_tracked_files': sorted(set(tracked) - set(expected))}
|
||||
for name, identity in expected.items():
|
||||
assert tracked[name] == (identity['mode'], identity['git_blob']), (
|
||||
'Git index differs from the frozen upstream blob', name)
|
||||
actual = {p.relative_to(SOURCE).as_posix() for p in SOURCE.rglob('*') if p.is_file()}
|
||||
assert actual == set(expected), {'missing': sorted(set(expected) - actual),
|
||||
'extra': sorted(actual - set(expected))}
|
||||
for name, identity in expected.items():
|
||||
data = (SOURCE / name).read_bytes()
|
||||
assert hashlib.sha256(data).hexdigest() == identity['sha256'], name
|
||||
git_blob = hashlib.sha1(b'blob ' + str(len(data)).encode() + b'\0' + data).hexdigest()
|
||||
assert git_blob == identity['git_blob'], name
|
||||
print(json.dumps({'result': 'passed', 'upstream_commit': manifest['upstream_commit'],
|
||||
'application_baseline': manifest['application_baseline'],
|
||||
'verified_files': len(expected),
|
||||
'git_index_verified': args.require_tracked}, indent=2))
|
||||
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"recorded_at_utc": "2026-11-26T00:35:06.371423+00:00",
|
||||
"upstream_commit": "f4e3193d49a98efcf2f16c2aa22d6085ebe70f36",
|
||||
"upstream_repository": "https://github.com/Generic-Sun/TikZRefinery.git",
|
||||
"application_baseline": "0.1.4-alpha",
|
||||
"verified_upstream_files": 435,
|
||||
"windows": {
|
||||
"tests_passed": 8,
|
||||
"portable_module_load": "passed without development PATH",
|
||||
"artifact": "TikZRefinery-windows-1.0.0.zip",
|
||||
"sha256": "f1ec99e422d960a82b341b5c5f3cbb5443208f5479c79420fe863cf9a5b169e6"
|
||||
},
|
||||
"cloud": {
|
||||
"execution": "SSH command-line rehearsal; not a Jenkins run",
|
||||
"tests_passed": 8,
|
||||
"image": "ssw590-tikzrefinery-rehearsal:1.0.1",
|
||||
"image_id": "sha256:be98447bc0128ea294e1d65467c107fe752fe15e98c9e733ff6d062b3802b6dc",
|
||||
"archive_sha256": "df81c32154fa8233d7cb78b6733525c5dce1c07662b588bd78437f4ee7969507",
|
||||
"source_graphs": 25,
|
||||
"figure_index_entries": 51,
|
||||
"loads": {
|
||||
"architecture-load": {
|
||||
"samples": 11,
|
||||
"first_utc": "2026-11-26T00:11:21.260377+00:00",
|
||||
"last_utc": "2026-11-26T00:11:31.267178+00:00",
|
||||
"sampled_span_seconds": 10.007,
|
||||
"host_cpu_peak_percent": 100.0,
|
||||
"host_mem_available_min_kib": 882268
|
||||
},
|
||||
"native-load": {
|
||||
"samples": 147,
|
||||
"first_utc": "2026-11-26T00:02:27.557402+00:00",
|
||||
"last_utc": "2026-11-26T00:04:53.692922+00:00",
|
||||
"sampled_span_seconds": 146.136,
|
||||
"host_cpu_peak_percent": 100.0,
|
||||
"host_mem_available_min_kib": 551432
|
||||
},
|
||||
"package-load": {
|
||||
"samples": 50,
|
||||
"first_utc": "2026-11-26T00:25:01.675756+00:00",
|
||||
"last_utc": "2026-11-26T00:25:50.842932+00:00",
|
||||
"sampled_span_seconds": 49.167,
|
||||
"host_cpu_peak_percent": 100.0,
|
||||
"host_mem_available_min_kib": 857376
|
||||
},
|
||||
"report-load": {
|
||||
"samples": 76,
|
||||
"first_utc": "2026-11-26T00:06:16.498330+00:00",
|
||||
"last_utc": "2026-11-26T00:07:31.564264+00:00",
|
||||
"sampled_span_seconds": 75.066,
|
||||
"host_cpu_peak_percent": 100.0,
|
||||
"host_mem_available_min_kib": 821652
|
||||
}
|
||||
}
|
||||
},
|
||||
"windows_report_render_comparison": [
|
||||
{
|
||||
"edition": "submission",
|
||||
"pages": 258,
|
||||
"render_dpi": 65,
|
||||
"identical_pages": 258,
|
||||
"differing_pages": [],
|
||||
"output_sha256": "850f98a70d286b94f2de3a857f1ed183cbce715a873f87f7c14930daa060f954"
|
||||
},
|
||||
{
|
||||
"edition": "developer",
|
||||
"pages": 327,
|
||||
"render_dpi": 65,
|
||||
"identical_pages": 327,
|
||||
"differing_pages": [],
|
||||
"output_sha256": "f002e78fa9cf6562e9ecf98cc31e3f6136a1961b8f45fb411ed262f695a9c937"
|
||||
}
|
||||
],
|
||||
"jenkins_verification": "pending reviewed baseline commit/merge, SCM run and artifact download",
|
||||
"remote_main_observed": "72bf10dcecc8db65dce4750c05bf841bea9b0834",
|
||||
"downstream_parent": "fbda9516fe384e245a311386f72c73480fafbfaa",
|
||||
"downstream_modified": true,
|
||||
"provider_rename": "not prepared or implemented; reserved until baseline Jenkins verification",
|
||||
"ownership": "Vincent handles commits/pushes; no publication performed"
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"observations_completed_utc": "2026-11-26T05:23:22Z",
|
||||
"job_url": "https://ci.yebilly.me/job/tikzrefinery-demo/",
|
||||
"settings": {
|
||||
"disabled": "false",
|
||||
"definition": "org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition",
|
||||
"url": "https://git.yebilly.me/ssw590-group1/vpn-dns-gateway.git",
|
||||
"branch": "*/main",
|
||||
"script_path": "demo/Jenkinsfile",
|
||||
"lightweight": "true",
|
||||
"trigger_count": 0
|
||||
},
|
||||
"existing_checkout_credential_reused": true,
|
||||
"readiness": {
|
||||
"observed_utc": "2026-11-26T05:23:22Z",
|
||||
"toolchain_images": {
|
||||
"ssw590-demo-toolchain:20261125": "sha256:b09f82b3ba76f4445ff596c8c9423ed97d1d4e0fb6de1a3396a43bea972a4471",
|
||||
"ssw590-demo-runtime:20261125": "sha256:ae1ded13e2320283ddc1f18892e3aebd5ce005c949bb56c62964313f37475dd9"
|
||||
},
|
||||
"memory_available_kib": 599628,
|
||||
"swap_free_kib": 1490012,
|
||||
"root_free_bytes": 5586022400,
|
||||
"agent_running": true,
|
||||
"manual_action_active": false
|
||||
},
|
||||
"first_run": {
|
||||
"build_url": "https://ci.yebilly.me/job/tikzrefinery-demo/1/",
|
||||
"revision": "d37297b88993fd8c5428c2e732f32f4c9324b51b",
|
||||
"result": "FAILURE",
|
||||
"duration_ms": 26453,
|
||||
"scm_checkout_verified": true,
|
||||
"main_ancestry_passed": true,
|
||||
"source_gate_error": "Missing original documents/assets/loop-example/loop-boxes.dvi; 434 of 435 originals tracked",
|
||||
"post_action_error": "No such DSL method junit; required plugin was absent",
|
||||
"native_report_architecture_package_stages": "skipped after source-gate failure",
|
||||
"deployable_artifact_produced": false
|
||||
},
|
||||
"reporting_plugin_preparation": {
|
||||
"observed_utc": "2026-11-26T05:21:32Z",
|
||||
"official_update_center": true,
|
||||
"plugins": {
|
||||
"junit": {
|
||||
"version": "1458.1460.vd53b_087eeb_2c",
|
||||
"required_core": "2.555.3"
|
||||
},
|
||||
"plugin-util-api": {
|
||||
"version": "7.1403.vd380b_c42e90c",
|
||||
"required_core": "2.555.3"
|
||||
},
|
||||
"font-awesome-api": {
|
||||
"version": "7.3.1-1013.v0835a_879ec6d",
|
||||
"required_core": "2.555.3"
|
||||
},
|
||||
"bootstrap5-api": {
|
||||
"version": "5.3.9-1156.va_4c7fef67c56",
|
||||
"required_core": "2.555.3"
|
||||
},
|
||||
"jquery3-api": {
|
||||
"version": "3.7.1-687.v68d468e40b_30",
|
||||
"required_core": "2.555.1"
|
||||
},
|
||||
"echarts-api": {
|
||||
"version": "6.1.0-1321.v86c4c5114494",
|
||||
"required_core": "2.555.3"
|
||||
},
|
||||
"antisamy-markup-formatter": {
|
||||
"version": "173.v680e3a_b_69ff3",
|
||||
"required_core": "2.479.1"
|
||||
},
|
||||
"prism-api": {
|
||||
"version": "1.30.0-741.v034eb_0b_0a_a_fa_",
|
||||
"required_core": "2.555.1"
|
||||
},
|
||||
"checks-api": {
|
||||
"version": "441.v54e82638ca_71",
|
||||
"required_core": "2.555.3"
|
||||
}
|
||||
},
|
||||
"installation_and_extensions_ui": "Success",
|
||||
"junit_enabled_ui": true,
|
||||
"junit_step_visible_in_snippet_generator": true,
|
||||
"controller_started_at": "2026-11-23T06:31:09.102475939Z",
|
||||
"restart_requested": false
|
||||
},
|
||||
"local_repair_validation": {
|
||||
"result": "passed",
|
||||
"indexed_snapshot": {
|
||||
"result": "passed",
|
||||
"upstream_commit": "f4e3193d49a98efcf2f16c2aa22d6085ebe70f36",
|
||||
"application_baseline": "0.1.4-alpha",
|
||||
"verified_files": 435,
|
||||
"git_index_verified": true
|
||||
},
|
||||
"missing_index_entry_rejected": true,
|
||||
"clean_index_export": {
|
||||
"result": "passed",
|
||||
"upstream_commit": "f4e3193d49a98efcf2f16c2aa22d6085ebe70f36",
|
||||
"application_baseline": "0.1.4-alpha",
|
||||
"verified_files": 435,
|
||||
"git_index_verified": false
|
||||
},
|
||||
"upstream_asset_sha256": "3e06555552c50c1f5abcac8a1d3fb2eedf7ff4a34c40d94859aa7d5082009a21",
|
||||
"clean_export_bytes": 11050972,
|
||||
"real_index_sha256_after_negative_test": "2633ae6ac5822ce1389418cf4faba97fbbfcc1eb7172c2852652f67060515000"
|
||||
},
|
||||
"monitoring_view": {
|
||||
"url": "https://metrics.yebilly.me/d/group1-sre/group-1-sre",
|
||||
"chrome_charts_rendered": [
|
||||
"CPU utilization",
|
||||
"available memory",
|
||||
"root filesystem availability",
|
||||
"HTTPS availability"
|
||||
],
|
||||
"window": "Last 30 minutes; 30-second refresh; America/New_York",
|
||||
"attribution_limit": "Shared host; build 1 did not execute application compilation"
|
||||
},
|
||||
"remaining": [
|
||||
"Human commit/push/review/merge of the asset and verifier correction",
|
||||
"Real Jenkins rerun from corrected reviewed main",
|
||||
"JUnit, stage, archive, download and source/version verification",
|
||||
"Separate Jenkins core 2.580.2 security maintenance",
|
||||
"Issue-linked product increment only after the baseline passes"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"authorized_by": "Vincent Sun",
|
||||
"event_date_eastern": "2026-11-25",
|
||||
"applied_at_utc": "2026-11-26T04:22:34.316662+00:00",
|
||||
"change": "Append current SSH connection IPv4 as /32 to existing CI_TEAM_IPS web allowlist",
|
||||
"personal_address_values_recorded": false,
|
||||
"existing_team_entries": 1,
|
||||
"new_team_entries": 2,
|
||||
"existing_entries_preserved": true,
|
||||
"compose_change_scope": "caddy environment CI_TEAM_IPS only",
|
||||
"recreated_service": "caddy",
|
||||
"validation": "passed",
|
||||
"proxy_image_and_persistent_mounts_preserved": true,
|
||||
"other_running_container_ids_preserved": true,
|
||||
"proxy_and_compose_source_files_unchanged": true,
|
||||
"root_only_rollback_directory": "/root/ssw590-web-access-20261125",
|
||||
"public_checks_at_utc": "2026-11-26T04:25:17.0999004Z",
|
||||
"home_anonymous_https": {
|
||||
"https://ci.yebilly.me/login": 200,
|
||||
"https://ci.yebilly.me/api/json": 403,
|
||||
"https://metrics.yebilly.me/login": 200,
|
||||
"https://metrics.yebilly.me/api/user": 401,
|
||||
"https://git.yebilly.me/": 200,
|
||||
"https://app.yebilly.me/health": 200,
|
||||
"https://staging.yebilly.me/health": 200
|
||||
},
|
||||
"unlisted_droplet_source_https": {
|
||||
"https://ci.yebilly.me/login": 403,
|
||||
"https://metrics.yebilly.me/login": 403
|
||||
},
|
||||
"chrome_observation": {
|
||||
"jenkins": "Sign in to Jenkins form visible",
|
||||
"grafana": "Existing authenticated session reached Grafana home"
|
||||
},
|
||||
"account_permissions_or_credentials_changed": false,
|
||||
"new_cloud_resources_or_plan_changes": false,
|
||||
"source_commit_or_push_performed_by_codex": false
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
# TikZRefinery Jenkins job
|
||||
|
||||
Use the separate [tikzrefinery-demo job](https://ci.yebilly.me/job/tikzrefinery-demo/).
|
||||
It was created after verification of baseline PR #31's merge `d37297b`.
|
||||
Existing pricing, recovery and multibranch jobs retain their configurations.
|
||||
|
||||
| Setting | Value |
|
||||
| --- | --- |
|
||||
| Item type | Pipeline |
|
||||
| Definition | Pipeline script from SCM; Git |
|
||||
| Repository | `https://git.yebilly.me/ssw590-group1/vpn-dns-gateway.git` |
|
||||
| Checkout credential | Existing `gitea-jenkins-bot`; no new credential |
|
||||
| Branch | `*/main` |
|
||||
| Script path | `demo/Jenkinsfile` |
|
||||
| Lightweight checkout | Enabled |
|
||||
| Triggers and parameters | None; trigger manually after review/merge |
|
||||
| Agent | Existing `delivery-trusted` label, one executor |
|
||||
| Concurrent builds | Disabled |
|
||||
| Pipeline timeout and retention | 45 minutes; ten builds |
|
||||
|
||||
The pipeline definition supplies the label, timeout, retention, source gates,
|
||||
stage sequence and report/artifact publishers. It binds no pricing deployment
|
||||
or registry credentials and performs no pricing promotion. Keep reviewed `main`
|
||||
as its SCM selection; do not switch it to a PR branch or use Replay to bypass
|
||||
the source gate.
|
||||
|
||||
## Controller and worker prerequisites
|
||||
|
||||
The controller must provide the JUnit Pipeline step, in addition to the existing
|
||||
Git, Declarative Pipeline and artifact archiving capabilities. Its official
|
||||
[JUnit plugin](https://plugins.jenkins.io/junit/) consumes the CTest XML report;
|
||||
it does not execute or replace the C++ tests. Use the compatible release offered
|
||||
by this controller's official update center, with its required dependencies.
|
||||
Record the actual installed version after verifying that installation completed.
|
||||
Do not install a release requiring a newer Jenkins core by forcing compatibility.
|
||||
|
||||
On November 26, the official update center installed JUnit
|
||||
`1458.1460.vd53b_087eeb_2c` and its eight required dependency plugins; installation
|
||||
and loading extensions each reported success, and the installed JUnit entry was
|
||||
enabled. The Pipeline Snippet Generator also lists the `junit` step, confirming
|
||||
that it is available to pipelines. No restart was requested. This is the compatible version offered to the
|
||||
existing Jenkins 2.580.1 controller, rather than a forced newer-core release.
|
||||
|
||||
The controller separately advertises a core update to 2.580.2 for the
|
||||
[October 28 security advisory](https://www.jenkins.io/security/advisory/2026-10-28/).
|
||||
That maintenance is still pending; installing JUnit does not apply a core update.
|
||||
|
||||
The existing worker needs Git, Python 3, Docker, its workspace volume and the two
|
||||
image identities in `demo/toolchain.json`. `demo/ci/run-cloud.sh` verifies those
|
||||
identities and maps its container workspace to the volume's actual host path.
|
||||
Do not run `prepare-images.sh` merely to check readiness; rebuilding can change
|
||||
the verified identities.
|
||||
|
||||
Before starting, confirm the agent is connected and idle, no manual Actions or
|
||||
other heavy delivery build is running, and the existing host has space for the
|
||||
new checkout, compiler outputs, image archive and Jenkins archive copy. Observe
|
||||
available RAM and swap alongside the configured stage limits. The November 26
|
||||
preflight observed 5.3 GiB available disk and about 687 MiB available RAM with
|
||||
swap after the Actions build completed; these are historical observations, not
|
||||
a permanent capacity guarantee. No new instance or plan is required.
|
||||
|
||||
The existing [Group 1 SRE dashboard](https://metrics.yebilly.me/d/group1-sre/group-1-sre?from=now-30m&to=now&refresh=30s&timezone=America%2FNew_York)
|
||||
was checked in Chrome: CPU, available-memory, root-filesystem and HTTPS charts
|
||||
rendered. Retain the 30-minute window and 30-second refresh for rehearsal, then
|
||||
adjust the window to include the real build. These charts describe the shared
|
||||
host; build 1 never reached application compilation, so its graph window must
|
||||
not be presented as successful native-build load evidence.
|
||||
|
||||
## First run and correction
|
||||
|
||||
[Build 1](https://ci.yebilly.me/job/tikzrefinery-demo/1/) used reviewed main
|
||||
`d37297b88993fd8c5428c2e732f32f4c9324b51b` and the real cloud agent. Checkout and
|
||||
main ancestry verification passed. The snapshot gate correctly rejected the
|
||||
missing `documents/assets/loop-example/loop-boxes.dvi`: the local file existed,
|
||||
but `*.dvi` excluded it from Git. Its original upstream SHA-256 is
|
||||
`3e06555552c50c1f5abcac8a1d3fb2eedf7ff4a34c40d94859aa7d5082009a21`.
|
||||
Compilation and later stages were skipped. Post-processing then reported that
|
||||
the `junit` step was unavailable. Preserve this failed build as evidence.
|
||||
|
||||
The prepared correction adds the exact upstream blob and a narrow ignore
|
||||
exception, verifies both all 435 working files and their indexed blob identities,
|
||||
and archives diagnostics before publishing test results. The original source
|
||||
manifest and product code stay unchanged. Commit/push/review the correction
|
||||
before the next baseline run from `main`.
|
||||
|
||||
## Verification after the reviewed correction
|
||||
|
||||
1. Record the triggering identity, current build URL, main revision and agent.
|
||||
2. Confirm the first stage verifies the main ancestry and all 435 indexed/raw
|
||||
upstream blobs. Observe the native, report, architecture and package stages.
|
||||
3. Check the JUnit interface shows the eight expected passing suites. Keep
|
||||
failures visible and inspect diagnostics rather than marking them successful.
|
||||
4. Download this build's image archive, architecture ZIP, report, provenance and
|
||||
`SHA256SUMS` through Jenkins. Run `demo/ci/verify-artifacts.py` against the
|
||||
downloaded artifact folder, and compare its source/build identity with the UI.
|
||||
5. Open a source-generated diagram and report. Show live shared-host monitoring
|
||||
and retain the actual per-stage load CSVs and elapsed times.
|
||||
6. Record the result, including cache reuse and shared-host limitations. A prior
|
||||
Windows/SSH rehearsal is not a substitute for this Jenkins verification.
|
||||
|
||||
Only after the baseline passes should the separate issue-linked product
|
||||
increment be prepared. Retain artifacts and required grading evidence; remove
|
||||
only reproducible scratch from the current task. Never prune shared images,
|
||||
volumes, runner identities or older evidence during preparation.
|
||||
+2619
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,267 @@
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[codz]
|
||||
*$py.class
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
||||
# Distribution / packaging
|
||||
.Python
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
eggs/
|
||||
.eggs/
|
||||
lib/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
var/
|
||||
wheels/
|
||||
share/python-wheels/
|
||||
*.egg-info/
|
||||
.installed.cfg
|
||||
*.egg
|
||||
MANIFEST
|
||||
|
||||
# PyInstaller
|
||||
# Usually these files are written by a python script from a template
|
||||
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
||||
*.manifest
|
||||
*.spec
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
pip-delete-this-directory.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
htmlcov/
|
||||
.tox/
|
||||
.nox/
|
||||
.coverage
|
||||
.coverage.*
|
||||
.cache
|
||||
nosetests.xml
|
||||
coverage.xml
|
||||
*.cover
|
||||
*.py.cover
|
||||
.hypothesis/
|
||||
.pytest_cache/
|
||||
cover/
|
||||
|
||||
# Translations
|
||||
*.mo
|
||||
*.pot
|
||||
|
||||
# Django stuff:
|
||||
*.log
|
||||
local_settings.py
|
||||
db.sqlite3
|
||||
db.sqlite3-journal
|
||||
|
||||
# Flask stuff:
|
||||
instance/
|
||||
.webassets-cache
|
||||
|
||||
# Scrapy stuff:
|
||||
.scrapy
|
||||
|
||||
# Sphinx documentation
|
||||
docs/_build/
|
||||
|
||||
# PyBuilder
|
||||
.pybuilder/
|
||||
target/
|
||||
|
||||
# Jupyter Notebook
|
||||
.ipynb_checkpoints
|
||||
|
||||
# IPython
|
||||
profile_default/
|
||||
ipython_config.py
|
||||
|
||||
# pyenv
|
||||
# For a library or package, you might want to ignore these files since the code is
|
||||
# intended to run in multiple environments; otherwise, check them in:
|
||||
# .python-version
|
||||
|
||||
# pipenv
|
||||
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
||||
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
||||
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
||||
# install all needed dependencies.
|
||||
# Pipfile.lock
|
||||
|
||||
# UV
|
||||
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
||||
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
||||
# commonly ignored for libraries.
|
||||
# uv.lock
|
||||
|
||||
# poetry
|
||||
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
||||
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
||||
# commonly ignored for libraries.
|
||||
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
||||
# poetry.lock
|
||||
# poetry.toml
|
||||
|
||||
# pdm
|
||||
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
||||
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
|
||||
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
|
||||
# pdm.lock
|
||||
# pdm.toml
|
||||
.pdm-python
|
||||
.pdm-build/
|
||||
|
||||
# pixi
|
||||
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
|
||||
# pixi.lock
|
||||
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
|
||||
# in the .venv directory. It is recommended not to include this directory in version control.
|
||||
.pixi
|
||||
|
||||
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
||||
__pypackages__/
|
||||
|
||||
# Celery stuff
|
||||
celerybeat-schedule
|
||||
celerybeat.pid
|
||||
|
||||
# Redis
|
||||
*.rdb
|
||||
*.aof
|
||||
*.pid
|
||||
|
||||
# RabbitMQ
|
||||
mnesia/
|
||||
rabbitmq/
|
||||
rabbitmq-data/
|
||||
|
||||
# ActiveMQ
|
||||
activemq-data/
|
||||
|
||||
# SageMath parsed files
|
||||
*.sage.py
|
||||
|
||||
# Environments
|
||||
.env
|
||||
.envrc
|
||||
.venv
|
||||
env/
|
||||
venv/
|
||||
ENV/
|
||||
env.bak/
|
||||
venv.bak/
|
||||
|
||||
# Spyder project settings
|
||||
.spyderproject
|
||||
.spyproject
|
||||
|
||||
# Rope project settings
|
||||
.ropeproject
|
||||
|
||||
# mkdocs documentation
|
||||
/site
|
||||
|
||||
# mypy
|
||||
.mypy_cache/
|
||||
.dmypy.json
|
||||
dmypy.json
|
||||
|
||||
# Pyre type checker
|
||||
.pyre/
|
||||
|
||||
# pytype static type analyzer
|
||||
.pytype/
|
||||
|
||||
# Cython debug symbols
|
||||
cython_debug/
|
||||
|
||||
# PyCharm
|
||||
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
||||
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
||||
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
||||
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
||||
# .idea/
|
||||
|
||||
# Abstra
|
||||
# Abstra is an AI-powered process automation framework.
|
||||
# Ignore directories containing user credentials, local state, and settings.
|
||||
# Learn more at https://abstra.io/docs
|
||||
.abstra/
|
||||
|
||||
# Visual Studio Code
|
||||
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
|
||||
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
|
||||
# and can be added to the global gitignore or merged into this file. However, if you prefer,
|
||||
# you could uncomment the following to ignore the entire vscode folder
|
||||
# .vscode/
|
||||
# Temporary file for partial code execution
|
||||
tempCodeRunnerFile.py
|
||||
|
||||
# Ruff stuff:
|
||||
.ruff_cache/
|
||||
|
||||
# PyPI configuration file
|
||||
.pypirc
|
||||
|
||||
# TikZRefinery: LaTeX-generated files
|
||||
*.aux
|
||||
*.bbl
|
||||
*.bcf
|
||||
*.blg
|
||||
*.fdb_latexmk
|
||||
*.fls
|
||||
*.glg
|
||||
*.glo
|
||||
*.gls
|
||||
*.idx
|
||||
*.ilg
|
||||
*.ind
|
||||
*.ist
|
||||
*.lof
|
||||
*.lot
|
||||
*.out
|
||||
*.run.xml
|
||||
*.synctex.gz
|
||||
*.toc
|
||||
*.xdv
|
||||
|
||||
# PDFs created beside LaTeX sources are disposable. The reviewed report at
|
||||
# documents/TikZRefinery.pdf remains tracked.
|
||||
documents/latex/*.pdf
|
||||
documents/template/SeniorDesignReportTemplate.pdf
|
||||
|
||||
# Workspace-local document tools and caches
|
||||
.tectonic-cache/
|
||||
tools/tectonic*/
|
||||
|
||||
# Qt/C++ build products and local CMake configuration
|
||||
code/build*/
|
||||
code/packages/
|
||||
code/CMakeUserPresets.json
|
||||
*.user
|
||||
|
||||
# Completed coursework, local review material and workstation settings
|
||||
/documents/submissions/
|
||||
/documents/slides/
|
||||
/code/tests/fixtures/demo2-pre-correction/
|
||||
/.vscode/
|
||||
/work/
|
||||
|
||||
# Operating-system metadata
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
Desktop.ini
|
||||
|
||||
# Marimo
|
||||
marimo/_static/
|
||||
marimo/_lsp/
|
||||
__marimo__/
|
||||
|
||||
# Streamlit
|
||||
.streamlit/secrets.toml
|
||||
@@ -0,0 +1,101 @@
|
||||
# TikZRefinery - Agent Instructions
|
||||
|
||||
## Working relationship
|
||||
- A chat may span design, implementation, documentation and review. Continue
|
||||
successive work items there; new chats and compaction-based restarts are optional.
|
||||
- Explain significant design choices clearly, one decision at a time when asked.
|
||||
Check existing decisions before reopening settled questions.
|
||||
- Distinguish discussion, approved design and authorization to implement.
|
||||
Once work is authorized, complete routine steps without repeated permission
|
||||
requests; raise material scope changes or unresolved design choices.
|
||||
|
||||
## Authority and starting context
|
||||
- Follow Vincent's current instructions and the controlled project requirements.
|
||||
- Before modifying the project, read README.md and these authoritative sources:
|
||||
- documents/latex/tkrAIAgentRequirements.tex (AI Directives; stable filename)
|
||||
- documents/latex/tkrAIAgentGuide.tex
|
||||
- documents/latex/tkrReportRoadmap.tex
|
||||
- Read the smallest sufficient set of affected sources; expand for dependencies
|
||||
or inconsistencies. Reuse current context already established and refresh it
|
||||
when sources change or the task requires it.
|
||||
- When resuming work, read HANDOFF.md and verify it against files and Git state.
|
||||
Its proposed next action is not new authorization to implement.
|
||||
- This file is the concise entry point. Detailed requirements and procedures
|
||||
remain in their controlled sources; flag conflicts rather than silently
|
||||
changing rules or maintaining contradictory copies.
|
||||
|
||||
## Preserve work and respect scope
|
||||
- Inspect Git status before editing. Preserve unrelated uncommitted changes,
|
||||
user-edited examples, submissions, evidence and designated baseline packages.
|
||||
- Commit or push only when explicitly authorized for the current work.
|
||||
- Focused audit, coursework and workflow chats stay within their assignment.
|
||||
Do not replace the main development handoff's next action merely because
|
||||
the chat was forked from it; preserve that state during authorized cleanup.
|
||||
- A review request authorizes investigation and findings, not automatic fixes.
|
||||
|
||||
## Sources, evidence and readable documentation
|
||||
- Use authored TeX for report information and generated PDFs for visual checks.
|
||||
Do not extract PDF text to look up requirements or design decisions.
|
||||
- Put settled decisions in the appropriate requirement registers, use cases,
|
||||
tests and diagrams. Preserve stable IDs and reciprocal traceability.
|
||||
- Use applicable UML notation in editable TikZ; route relationships with
|
||||
horizontal/vertical segments and elbows, preserving arrow/ownership semantics.
|
||||
- Prefer concise requirements and TikZ diagrams to duplicated narrative.
|
||||
Use linked overview/detail views when they improve understanding.
|
||||
- Separate implemented behavior, planned design and verified results. Attribute
|
||||
recollections, stakeholder statements, sources and assumptions accurately.
|
||||
AI-generated statements are not evidence.
|
||||
- Record material assistance and decisions as required by the AI guide.
|
||||
- For material design/code changes, follow its bidirectional change-impact review:
|
||||
update affected records or record unchanged reviews and reasoned deferrals.
|
||||
- Explicit design approval authorizes routine documentation updates under
|
||||
AI-REQ-017 unless narrower instructions apply. Flag unclear approval or approved
|
||||
decisions left undocumented; check linked diagram contents and status. This
|
||||
does not authorize code, commits, pushing or external publication.
|
||||
|
||||
## Implementation conventions
|
||||
- Follow code/CODING_GUIDE.md and applicable Developer Requirements: tkr class
|
||||
names, descriptive identifier prefixes, private m_ members, named numeric
|
||||
values, separate class files, inheritance limits and explicit ownership.
|
||||
- Keep responsibilities bounded. Do not add inheritance or abstractions solely
|
||||
to satisfy a naming pattern or arbitrary class/file size.
|
||||
- Keep code and architectural documentation aligned. Identify which side needs
|
||||
correction rather than assuming either is always current.
|
||||
|
||||
## Builds, checks and versions
|
||||
- Use existing local toolchains before downloading or installing software.
|
||||
- Configure the Qt/MinGW environment as described in code/README.md, then run:
|
||||
- Build: cmake --build code/build --parallel 4
|
||||
- Test: ctest --test-dir code/build --output-on-failure
|
||||
- Use shared TinyTeX: C:\Users\vince\Documents\Projects\Tools\LaTeX\TinyTeX
|
||||
- Report build from the repository root: ./documents/build-report.ps1
|
||||
- For diagram lookup use documents/DIAGRAM_INDEX.md (generated source/status/
|
||||
page index); classify new figures in documents/diagram-manifest.json. An index
|
||||
does not replace whole-document review for material design changes/additions.
|
||||
- After material report changes, build both editions, inspect diagnostics,
|
||||
render affected pages and verify layout and navigation.
|
||||
- Run checks appropriate to the change; report actual results and limitations.
|
||||
- For visible application increments, refresh and launch a runnable package for
|
||||
Vincent's review, following current package/baseline instructions.
|
||||
- After Windows computer use, send the required completion summary and reset
|
||||
the CUA session to release capture bindings. Do not recapture to check the border.
|
||||
- Follow the version policy in Document History and the AI guide. Read current
|
||||
metadata; do not hard-code the current version or test count here.
|
||||
|
||||
## Reviews and continuity
|
||||
- Code reviews examine defects and regressions in a defined change. Architecture
|
||||
audits compare requirements, diagrams, code and test evidence in both directions;
|
||||
planned features are not automatically defects.
|
||||
- Report actionable findings with references, evidence and unresolved questions.
|
||||
- Refresh HANDOFF.md at meaningful stopping points and before transferring
|
||||
unfinished work. Include date, branch/commit, uncommitted work, verified results,
|
||||
limits, open decisions and the next proposed or authorized action.
|
||||
- Keep that file a concise checkpoint. Put durable decisions and historical
|
||||
evidence in their authoritative records; retain a dated snapshot when stale.
|
||||
|
||||
## Workspace cleanup
|
||||
- Keep reproducible scratch in a clearly named task-local work directory.
|
||||
- Remove only verified, reproducible scratch created for the current work;
|
||||
validate absolute cleanup paths and preserve anything awaiting review.
|
||||
- Retain deliverables, editable sources and required evidence. Report cleanup
|
||||
and intentionally retained temporary material.
|
||||
@@ -0,0 +1,99 @@
|
||||
# Changelog
|
||||
|
||||
Notable project changes are recorded here, newest first. Entries distinguish
|
||||
implemented application behavior from reviewed designs and documentation changes.
|
||||
Detailed report revisions remain in
|
||||
[Document History](documents/latex/tkrDocumentHistory.tex).
|
||||
|
||||
## 0.1.4-alpha - November 24, 2026
|
||||
|
||||
Documentation audit (version retained at Vincent's request):
|
||||
|
||||
- Matched the reviewed course template's front-matter order: contents, generated
|
||||
List of Tables, then List of Figures; refreshed both editions and diagram pages.
|
||||
- Reconciled all active report figures with current code and reviewed design;
|
||||
replaced the active frozen deployment with current 3D physical/module views.
|
||||
- Added the current Undo/Redo candidate sequence and corrected edit/Open/Save
|
||||
history boundaries, typed lifelines, planned labels and connector spacing.
|
||||
- Added a List of Figures and a build-generated source/status/page index, with
|
||||
an explicit manifest for new diagrams. Whole-document design review remains
|
||||
required; the application, packages and historical evidence are unchanged.
|
||||
|
||||
Implementation follow-up against the agreed report baseline:
|
||||
|
||||
- Refreshed Demo 3 for the working Alpha; moved the live demonstration directly
|
||||
after progress. Moved full Document History to Appendix A with a separate
|
||||
front-matter version paragraph/link, and recorded Milestone 3 coverage.
|
||||
|
||||
- Added document-owned session undo/redo for completed moves and rectangle
|
||||
resizing, exact source snapshots, atomic acceptance and standard Edit shortcuts.
|
||||
- Save retains history; successful Open clears it; changed edits after Undo drop
|
||||
the abandoned redo branch. No automatic eviction yet, as approved.
|
||||
- Passed eight Debug and eight Release suites; built the matching runnable
|
||||
package. Added a viewport repaint to clear stale selection handles after restoration.
|
||||
- Updated current architecture/evidence while retaining generic transactions and
|
||||
file-store extraction as planned. Preserved prior packages and report baselines.
|
||||
|
||||
Earlier documentation-only reconciliation:
|
||||
|
||||
- Reconciled agreed undo/redo architecture with planned class, activity and
|
||||
separate new-edit and history-restoration sequence views.
|
||||
- Corrected stale class labels/counts, provider/source boundaries and the future
|
||||
compile-on-save path. Clarified that implementation details remain open.
|
||||
- Strengthened AI-REQ-017 and AGENTS.md: approved designs trigger routine report
|
||||
updates; unclear approval or missing documentation must be flagged.
|
||||
- Preserved the 0.1.3-alpha app, Demo 3 and matching reports. Documentation only;
|
||||
no undo/redo implementation, package rebuild or new application test results.
|
||||
|
||||
## 0.1.3-alpha — November 23, 2026 implementation follow-up
|
||||
|
||||
- Implemented the collapsible Shapes/Files sidebar shell with Qt standard icons,
|
||||
retained session page/width, rectangle-provider status and guarded Open.
|
||||
- Kept creation disabled and folder browsing as an explicit placeholder.
|
||||
Catalogue/creation and shared-service ownership remain planned.
|
||||
- Passed all seven Debug and Release suites; checked the running package,
|
||||
collapse/reopen, page switching, unsaved-work guard and About identity.
|
||||
- Refreshed current architecture/UI views, both report editions and local Demo 3
|
||||
material. Preserved the prior reports and identity-only demo binary evidence,
|
||||
older packages and edited examples. No commit/push/upload in this follow-up.
|
||||
|
||||
## 0.1.3-alpha — November 22, 2026
|
||||
|
||||
Documentation release, completed November 23. The application and its packages
|
||||
remain at 0.1.2-alpha; the frozen 0.10.3 demonstration package is preserved.
|
||||
|
||||
### Added
|
||||
|
||||
- Reviewed designs for a collapsible Shapes/Files sidebar, shape catalogue,
|
||||
click/drag creation, cancellation, boundary fitting and rejection/retry.
|
||||
- Planned shared-service ownership, class responsibilities, MVC allocation,
|
||||
catalogue data records and creation activity, with editable UML and UI sketches.
|
||||
- Seven product requirements, linked planned checks and reciprocal traceability.
|
||||
- AI directive AI-REQ-017 and a bidirectional change-impact review checklist.
|
||||
|
||||
### Changed
|
||||
|
||||
- Renamed the displayed AI requirements appendix and register to AI Directives,
|
||||
preserving existing identifiers and references.
|
||||
- Updated architecture, use cases, validation plans, roadmap, glossary and project
|
||||
guidance; rebuilt both architectural report editions.
|
||||
- Recorded default Qt styling, deferred Qlementine and kept icon selection open.
|
||||
|
||||
The sidebar and creation workflow are planned, not implemented. New-document
|
||||
behavior, insertion contexts, folder interactions and API/construction details
|
||||
remain open. The original documentation pass changed no application source or
|
||||
package.
|
||||
|
||||
### Demo preparation — November 23, 2026
|
||||
|
||||
- Updated Demo 3 around the required diagrams and a live Alpha showcase, opening
|
||||
with progress since Demo 2. Retained the earlier demo sources and packages.
|
||||
- Preserved vector diagrams in the demo PDF and live slide assets to improve
|
||||
clarity when enlarged, without changing the presentation content.
|
||||
- Built a fresh 0.1.3-alpha Windows package from the unchanged feature source at
|
||||
checkpoint `7a2965a`, matching the architectural baseline. Sidebar and creation
|
||||
remain planned. Six Release test suites and a bounded native edit/save/reopen
|
||||
check passed. This rebuild adds no application feature implementation.
|
||||
|
||||
This changelog begins with 0.1.3-alpha. Earlier changes remain in Document History
|
||||
and Git history; historical versions have not been renumbered.
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user