Files
vpn-dns-gateway/demo/jenkins/README.md
vsun1 3cb1201b32
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
Repair frozen demo checkout and Jenkins reporting readiness
2026-11-26 00:35:16 -05:00

6.0 KiB

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.

The controller separately advertises a core update to 2.580.2 for the October 28 security advisory. 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 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.

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.