Files
vsun1 f3a80a284f
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
Patch Jenkins and verify cloud CI host maintenance
2026-11-26 23:23:44 -05:00
..

TikZRefinery Jenkins job

Use the separate tikzrefinery-demo job. 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 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.

After PR #32 merged, the controller was separately patched to 2.580.2 for the October 28 security advisory. The fixed Java runtime remains 21.0.13.1+2. See the maintenance and recovery record.

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 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 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.

Verified rerun

Build 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.

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 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.

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.