Patch Jenkins and verify cloud CI host maintenance
This commit is contained in:
+20
-12
@@ -7,8 +7,10 @@ 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.
|
||||
This is a rehearsal plan. The reviewed baseline passed in
|
||||
[Jenkins build 2](https://ci.yebilly.me/job/tikzrefinery-demo/2/) at main `d65d1fd`,
|
||||
producing verified version 1.0.2. Before the final rehearsal, record the separate
|
||||
live issue, change and subsequent 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.
|
||||
@@ -22,13 +24,14 @@ 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.
|
||||
- Completed: reviewed [security PR 30](https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/pulls/30),
|
||||
[baseline PR 31](https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/pulls/31)
|
||||
and [repair PR 32](https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/pulls/32)
|
||||
merged, preserving their manual records. Jenkins core maintenance is applied.
|
||||
- Completed: the separate artifact job loads `demo/Jenkinsfile` from reviewed
|
||||
`main`; build 2 proved SCM checkout, stages, eight passing JUnit results,
|
||||
archiving, authenticated HTTPS download and local provenance/checksum checks.
|
||||
The existing PR check and artifact job remain 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.
|
||||
@@ -36,8 +39,9 @@ Complete these steps before calling the walkthrough ready:
|
||||
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.
|
||||
- Record the real demo issue URL, branch and expected behavior; those are pending.
|
||||
Baseline/fallback is build 2, version 1.0.2, at the job linked above. Retain its
|
||||
downloaded artifacts and [success record](evidence/jenkins-baseline-success-20261126.json).
|
||||
- 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
|
||||
@@ -53,7 +57,11 @@ Complete these steps before calling the walkthrough ready:
|
||||
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.
|
||||
The real November 26 Jenkins baseline took **7 min 41 sec** (461,895 ms),
|
||||
including checkout and artifact/report publication. Existing images/caches were
|
||||
reused. Begin the build promptly and use its running time for the configuration
|
||||
and SWOT explanations; rehearse the issue/review sequence against the 20-minute
|
||||
limit before accepting this schedule.
|
||||
|
||||
## Timed walkthrough
|
||||
|
||||
|
||||
+13
-2
@@ -146,10 +146,21 @@ and the remaining checks for the reviewed rerun.
|
||||
|
||||
## Demonstration and ownership
|
||||
|
||||
The reviewed repair PR #32 merged at `d65d1fd`. Real
|
||||
[Jenkins build 2](https://ci.yebilly.me/job/tikzrefinery-demo/2/) subsequently
|
||||
passed all stages in 7 min 41 sec, including all 435 indexed upstream files,
|
||||
eight tests, both report editions, 25 source graphs and package version 1.0.2.
|
||||
Its authenticated HTTPS archive downloaded successfully after FDM Restart
|
||||
(the generated ZIP did not support resume). Local checksum/OCI-chain checks
|
||||
passed. See [the success evidence](evidence/jenkins-baseline-success-20261126.json)
|
||||
and [job runbook](jenkins/README.md). Jenkins core is now patched to 2.580.2,
|
||||
with fixed Java 21.0.13.1+2 retained. The baseline is verified; the separate
|
||||
issue-linked product increment and final classroom rehearsal remain pending.
|
||||
|
||||
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)
|
||||
Finalize its live issue/change references and use build 2 as the verified
|
||||
baseline/fallback. 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
|
||||
|
||||
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"observed_utc": "2026-11-26T06:42:29.131031+00:00",
|
||||
"build_url": "https://ci.yebilly.me/job/tikzrefinery-demo/2/",
|
||||
"result": "SUCCESS",
|
||||
"duration_ms": 461895,
|
||||
"downstream_commit": "d65d1fdf5ce4d91b437a43c5355b29abfb2858bd",
|
||||
"upstream_commit": "f4e3193d49a98efcf2f16c2aa22d6085ebe70f36",
|
||||
"delivery_version": "1.0.2",
|
||||
"execution": "Jenkins",
|
||||
"downstream_modified": false,
|
||||
"indexed_upstream_files": 435,
|
||||
"test_cases": 8,
|
||||
"failures": 0,
|
||||
"skipped": 0,
|
||||
"source_graphs": 25,
|
||||
"report_editions": [
|
||||
"submission",
|
||||
"developer"
|
||||
],
|
||||
"artifact_verification": "PASS: version 1.0.2, artifact checksums, OCI manifest/config/8 layers and architecture ZIP",
|
||||
"application_image": "ssw590-tikzrefinery:1.0.2",
|
||||
"application_image_id": "sha256:17e6fb0f9fc52be6930653bf86e3128b38dbfc3ca4a49f92b0df35908c94d703",
|
||||
"image_archive_sha256": "4f45f238b7349d3a435e2ae6c122a70b5034325bd3e62cfa372dc627a3e1bf6a",
|
||||
"download": {
|
||||
"method": "Authenticated Jenkins HTTPS archive link; FDM Restart from byte zero",
|
||||
"name": "archive.zip",
|
||||
"bytes": 180060666,
|
||||
"sha256": "be0f221d660d918bc2ec2b8e3696c770a246cf71366aaa61fb20440db783b9b8",
|
||||
"zip_members": 14,
|
||||
"crc_check": "passed",
|
||||
"limitation": "Generated archive did not support FDM resume; restart completed"
|
||||
},
|
||||
"browser_checks": {
|
||||
"tests": "8 passed, 0 failed, 0 skipped",
|
||||
"stages": "All seven stages green, including Post Actions",
|
||||
"worker": "ssw590-vince-delivery shown in Post Actions",
|
||||
"core": "2.580.2"
|
||||
},
|
||||
"load_samples": {
|
||||
"architecture-load": {
|
||||
"samples": 11,
|
||||
"start_utc": "2026-11-26T06:17:44.320358+00:00",
|
||||
"end_utc": "2026-11-26T06:17:54.333729+00:00",
|
||||
"sampled_span_seconds": 10.013,
|
||||
"max_host_cpu_percent": 100.0,
|
||||
"min_host_memory_available_kib": 643992,
|
||||
"min_workspace_filesystem_free_bytes": 4641353728
|
||||
},
|
||||
"native-load": {
|
||||
"samples": 185,
|
||||
"start_utc": "2026-11-26T06:13:08.472260+00:00",
|
||||
"end_utc": "2026-11-26T06:16:12.704995+00:00",
|
||||
"sampled_span_seconds": 184.233,
|
||||
"max_host_cpu_percent": 100.0,
|
||||
"min_host_memory_available_kib": 375456,
|
||||
"min_workspace_filesystem_free_bytes": 4665290752
|
||||
},
|
||||
"package-load": {
|
||||
"samples": 63,
|
||||
"start_utc": "2026-11-26T06:17:56.792778+00:00",
|
||||
"end_utc": "2026-11-26T06:18:58.978338+00:00",
|
||||
"sampled_span_seconds": 62.186,
|
||||
"max_host_cpu_percent": 100.0,
|
||||
"min_host_memory_available_kib": 673948,
|
||||
"min_workspace_filesystem_free_bytes": 4461142016
|
||||
},
|
||||
"report-load": {
|
||||
"samples": 87,
|
||||
"start_utc": "2026-11-26T06:16:15.484131+00:00",
|
||||
"end_utc": "2026-11-26T06:17:41.573055+00:00",
|
||||
"sampled_span_seconds": 86.089,
|
||||
"max_host_cpu_percent": 100.0,
|
||||
"min_host_memory_available_kib": 573072,
|
||||
"min_workspace_filesystem_free_bytes": 4646625280
|
||||
}
|
||||
},
|
||||
"limitations": [
|
||||
"Host samples are shared-host observations, not exclusive job attribution",
|
||||
"Sample spans are not Jenkins stage durations",
|
||||
"Existing toolchain images/caches reused; this is not a cold build",
|
||||
"Offscreen Qt smoke and eight suites do not replace interactive product acceptance"
|
||||
]
|
||||
}
|
||||
+42
-4
@@ -41,9 +41,10 @@ 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
|
||||
After PR #32 merged, the controller was separately patched 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 fixed Java runtime remains 21.0.13.1+2. See the
|
||||
[maintenance and recovery record](../../security/jenkins/README.md).
|
||||
|
||||
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
|
||||
@@ -98,7 +99,44 @@ before the next baseline run from `main`.
|
||||
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
|
||||
### Verified rerun
|
||||
|
||||
[Build 2](https://ci.yebilly.me/job/tikzrefinery-demo/2/) passed on reviewed main
|
||||
`d65d1fdf5ce4d91b437a43c5355b29abfb2858bd` after repair PR #32. It verified all
|
||||
435 indexed upstream files, ran eight passing test cases (zero failed/skipped),
|
||||
compiled both report editions, generated 25 source class/collaboration graphs
|
||||
and packaged `ssw590-tikzrefinery:1.0.2`. All seven displayed pipeline stages
|
||||
were green; Jenkins reported 7 min 41 sec (461,895 ms). The Post Actions view
|
||||
identified worker `ssw590-vince-delivery`; the summary's built-in label is not
|
||||
evidence that the compiler stages ran on the controller.
|
||||
|
||||
The authenticated Jenkins archive downloaded through FDM after using **Restart**
|
||||
from byte zero: this generated ZIP did not support resuming a partial transfer.
|
||||
All 14 entries passed ZIP CRC checks. Local `verify-artifacts.py` passed the
|
||||
checksums, OCI manifest/configuration/eight layers and architecture ZIP. The
|
||||
provenance identifies this build, reviewed commit and unchanged upstream
|
||||
`f4e3193`; the report and source-provider graph were visually checked. Original
|
||||
CSV samples and test XML remain with the ignored downloaded artifacts. Selected
|
||||
results are in [the success record](../evidence/jenkins-baseline-success-20261126.json).
|
||||
|
||||
Existing images/caches were reused. CSV spans are sampled phase observations,
|
||||
not Jenkins stage durations; host CPU/memory are shared, not attributable solely
|
||||
to this job. Offscreen smoke/tests do not replace an interactive GUI rehearsal.
|
||||
Keep the failed first build and its earlier evidence unchanged.
|
||||
|
||||
### Host-maintenance regression check
|
||||
|
||||
Following the November 26 host updates, kernel reboot, agent init repair and
|
||||
two compatible sandbox-plugin security fixes,
|
||||
[build 3](https://ci.yebilly.me/job/tikzrefinery-demo/3/) passed on the same
|
||||
reviewed `d65d1fd` in 223.843 seconds, producing version 1.0.3. All eight tests,
|
||||
both report builds, 25 source graphs and the pipeline's checksum/OCI-chain check
|
||||
passed. No zombies remained after the full workload. Its archive was not
|
||||
downloaded locally again. Keep build 2 as the original downloaded baseline and
|
||||
build 3 as the post-maintenance runtime check; see
|
||||
[the host-maintenance record](../../security/host/README.md).
|
||||
|
||||
Now that the baseline passes, the separate issue-linked product
|
||||
increment can 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.
|
||||
|
||||
Reference in New Issue
Block a user