From f93738dc49b309d981fd3ff6109dcdb619f9a949 Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Sun, 4 Oct 2026 14:51:35 +0200 Subject: [PATCH] =?UTF-8?q?golden=200.292.0:=20bake=20+=20publish=20eviden?= =?UTF-8?q?ce=20(RUNBOOK-manual-build=20=C2=A74.0/=C2=A74.1=20steps=201-4;?= =?UTF-8?q?=20not=20vouched,=20no=20floor=20change)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GOLDEN_SHA256=d6cf8b33ad58e5cfbf9566558044b2e1df692ef29d5353a40e39117794d16671, round trip MATCH; drill VM 9100 destroyed, VM reverted to virgin. Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS --- .../02-round-trip.txt | 6 + .../tests/golden-0.292.0-2026-10-04/README.md | 58 +++ .../tests/golden-0.292.0-2026-10-04/bake.log | 332 ++++++++++++++++++ 3 files changed, 396 insertions(+) create mode 100644 documentation/tests/golden-0.292.0-2026-10-04/02-round-trip.txt create mode 100644 documentation/tests/golden-0.292.0-2026-10-04/README.md create mode 100644 documentation/tests/golden-0.292.0-2026-10-04/bake.log diff --git a/documentation/tests/golden-0.292.0-2026-10-04/02-round-trip.txt b/documentation/tests/golden-0.292.0-2026-10-04/02-round-trip.txt new file mode 100644 index 00000000..8958a058 --- /dev/null +++ b/documentation/tests/golden-0.292.0-2026-10-04/02-round-trip.txt @@ -0,0 +1,6 @@ +Round-trip of the published golden 0.292.0 (2026-10-04, from DooPlex, anonymous GET) +URL: https://gitea.dooplex.hu/api/packages/admin/generic/felhom-golden/0.292.0/golden.tar.zst +HTTP: 200, size_download=648187281 bytes +sha256 (downloaded): d6cf8b33ad58e5cfbf9566558044b2e1df692ef29d5353a40e39117794d16671 +GOLDEN_SHA256 (bake.log line 330): d6cf8b33ad58e5cfbf9566558044b2e1df692ef29d5353a40e39117794d16671 +Result: MATCH diff --git a/documentation/tests/golden-0.292.0-2026-10-04/README.md b/documentation/tests/golden-0.292.0-2026-10-04/README.md new file mode 100644 index 00000000..7d746e26 --- /dev/null +++ b/documentation/tests/golden-0.292.0-2026-10-04/README.md @@ -0,0 +1,58 @@ +# Golden 0.292.0 — bake + publish, 2026-10-04 + +Procedure: `documentation/runbooks/RUNBOOK-manual-build.md` §4.0 and §4.1 steps 1–4, in the drill VM +on DooPlex, repeating the 0.291.0 bake of the same day. Step 5 (vouching in the hub) and any floor +change were **not** done here; they are the main session's / operator's act. + +- Controller image: `gitea.dooplex.hu/admin/felhom-controller:0.292.0` (manifest present in the + registry before the bake). Controller CHANGELOG header: **MinAgent 0.131.0** (unchanged). +- Build script: `felhom-agent/configs/build-golden.sh` v3.0.0, agent repo `main` = `2e2e8f56b843` + (tree clean, HEAD == origin/main after `git fetch`); sha256 of the copy in the VM matched the repo + file (`e4c9ede772e7…`, the same script bytes as the 0.291.0 bake). +- Drill VM: reverted to `virgin`, cold-booted per §4.0; `pveversion` = `pve-manager/9.2.2`. +- Step 2: `pveam update` → `update successful`; template `debian-13-standard_13.6-1_amd64.tar.zst` + (the only `_amd64` debian-13 entry), downloaded with checksum verified. +- Pre-gate: `GET …/generic/felhom-golden/0.292.0/golden.tar.zst` → **404** before the bake. +- Token: copied file → file (`scp`); launched via the in-VM runner script as transient unit + `golden-bake`. `systemctl show golden-bake -p Environment -p ExecStart | grep -c -F ` = **0** + (control: same output with the token appended = **1**). + +## Result + +``` +GOLDEN_VERSION=0.292.0 +GOLDEN_SHA256=d6cf8b33ad58e5cfbf9566558044b2e1df692ef29d5353a40e39117794d16671 +``` + +## Pass markers (quoted verbatim from `bake.log`) + +``` +82: docker OK (overlay2; data-root /var/lib/docker) +321:INFO: including mount point rootfs ('/') in backup +322:INFO: including mount point mp0 ('/var/lib/felhom') in backup +327:[golden] pre-delete existing: HTTP 404 (404/204 expected) +328:[golden] upload OK (HTTP 201) +``` + +`grep -E 'excluding|FATAL' bake.log` → no matches. + +## Token-leak grep + +On the copy in this directory (the one that would be committed): +`grep -c -F "$(cat ~/.gitea-token)" bake.log` = **0**. +Positive control: a throwaway copy with the token appended → **1**; the copy was `shred -u`'d. + +## Round trip + +See `02-round-trip.txt`: the published package downloaded anonymously (HTTP 200, 648187281 bytes) +hashes to `d6cf8b33ad58e5cfbf9566558044b2e1df692ef29d5353a40e39117794d16671` — **matches** +GOLDEN_SHA256. + +## Teardown state + +- `pct destroy 9100 --purge` → rc 0 (both LVs removed); `pct list` empty. +- `/root/.gitea-token`, `/root/bake-run.sh`, `/root/bake.log` in the VM: `shred -u`, confirmed absent. +- VM powered off; no `qemu-system-x86` process remained. +- `qemu-img snapshot -a virgin drill.qcow2` → OK; snapshot list shows only `virgin`. +- Hub, k3s, demo boxes, ep0, PBS, Storage Box: not touched. No vouch, no floor change. +- `df -h`: `/mnt/5_hdd` 37 %, `/` 53 % (before and after). diff --git a/documentation/tests/golden-0.292.0-2026-10-04/bake.log b/documentation/tests/golden-0.292.0-2026-10-04/bake.log new file mode 100644 index 00000000..f4ebd72c --- /dev/null +++ b/documentation/tests/golden-0.292.0-2026-10-04/bake.log @@ -0,0 +1,332 @@ +[golden] build-golden.sh v3.0.0 — baking controller gitea.dooplex.hu/admin/felhom-controller:0.292.0 +[golden] creating build LXC 9100 (nesting=1,keyctl=1, unprivileged; rootfs 32G + ONE data volume 24G @ /var/lib/felhom, backup=1) … + Logical volume "vm-9100-disk-0" created. + Logical volume pve/vm-9100-disk-0 changed. +Creating filesystem with 8388608 4k blocks and 2097152 inodes +Filesystem UUID: ee10caa7-62bc-4823-bf01-46c748aba438 +Superblock backups stored on blocks: + 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, + 4096000, 7962624 + Logical volume "vm-9100-disk-1" created. + Logical volume pve/vm-9100-disk-1 changed. +Creating filesystem with 6291456 4k blocks and 1572864 inodes +Filesystem UUID: 12e49ecb-9bb4-4ed2-b683-af524596d39d +Superblock backups stored on blocks: + 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, +extracting archive '/var/lib/vz/template/cache/debian-13-standard_13.6-1_amd64.tar.zst' +Total bytes read: 553512960 (528MiB, 85MiB/s) +Detected container architecture: amd64 +Creating SSH host key 'ssh_host_ecdsa_key' - this may take some time ... +done: SHA256:rT71+drE5xLgt0z+VBJdRXkzzAoBDb/W7Z/Oo5BSKL4 root@felhom-golden +Creating SSH host key 'ssh_host_ed25519_key' - this may take some time ... +done: SHA256:CY8izmf9ITP+UYfZqagSY7jdfdpbQNEsCqxWlh/dnIE root@felhom-golden +Creating SSH host key 'ssh_host_rsa_key' - this may take some time ... +done: SHA256:Y803IwFKaZqnVekwTKvvKkC9v+OdYjpnfZyV9ysEnL8 root@felhom-golden +[golden] starting + installing Docker (official repo, trixie channel) … +apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct! +perl: warning: Setting locale failed. +perl: warning: Please check that your locale settings: + LANGUAGE = (unset), + LC_ALL = (unset), + LC_CTYPE = (unset), + LC_NUMERIC = (unset), + LC_COLLATE = (unset), + LC_TIME = (unset), + LC_MESSAGES = (unset), + LC_MONETARY = (unset), + LC_ADDRESS = (unset), + LC_IDENTIFICATION = (unset), + LC_MEASUREMENT = (unset), + LC_PAPER = (unset), + LC_TELEPHONE = (unset), + LC_NAME = (unset), + LANG = "en_US.UTF-8" + are supported and installed on your system. +perl: warning: Falling back to the standard locale ("C"). +locale: Cannot set LC_CTYPE to default locale: No such file or directory +locale: Cannot set LC_MESSAGES to default locale: No such file or directory +locale: Cannot set LC_ALL to default locale: No such file or directory +apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct! +perl: warning: Setting locale failed. +perl: warning: Please check that your locale settings: + LANGUAGE = (unset), + LC_ALL = (unset), + LC_CTYPE = (unset), + LC_NUMERIC = (unset), + LC_COLLATE = (unset), + LC_TIME = (unset), + LC_MESSAGES = (unset), + LC_MONETARY = (unset), + LC_ADDRESS = (unset), + LC_IDENTIFICATION = (unset), + LC_MEASUREMENT = (unset), + LC_PAPER = (unset), + LC_TELEPHONE = (unset), + LC_NAME = (unset), + LANG = "en_US.UTF-8" + are supported and installed on your system. +perl: warning: Falling back to the standard locale ("C"). +locale: Cannot set LC_CTYPE to default locale: No such file or directory +locale: Cannot set LC_MESSAGES to default locale: No such file or directory +locale: Cannot set LC_ALL to default locale: No such file or directory +[golden] baking daemon.json: classic overlay2 driver (containerd-snapshotter OFF) + log rotation … +[golden] wiring the single data volume (R-165 variant V-c): /var/lib/felhom/{docker,sys_drive} -> binds … +[golden] verifying Docker works in the build guest (storage driver should be overlay2 on the ext4 data volume) … +Unable to find image 'hello-world:latest' locally +latest: Pulling from library/hello-world +4f55086f7dd0: Pulling fs layer +4f55086f7dd0: Download complete +4f55086f7dd0: Pull complete +Digest: sha256:5e23090353324d887c48ad5e5c56d294eab81588df9605b07d1afe895f9cc8f8 +Status: Downloaded newer image for hello-world:latest + docker OK (overlay2; data-root /var/lib/docker) + /var/lib/docker is a real mount: /dev/mapper/pve-vm--9100--disk--1[/docker] ext4 + /mnt/sys_drive is a real mount: /dev/mapper/pve-vm--9100--disk--1[/sys_drive] ext4 + both paths are ONE filesystem: /dev/mapper/pve-vm--9100--disk--1 23317576 +[golden] baking the in-guest controller image gitea.dooplex.hu/admin/felhom-controller:0.292.0 (no registry cred at deploy) … + +WARNING! Your credentials are stored unencrypted in '/root/.docker/config.json'. +Configure a credential helper to remove this warning. See +https://docs.docker.com/go/credential-store/ + +0.292.0: Pulling from admin/felhom-controller +774043ccc8cc: Pulling fs layer +ab6b448d4be9: Pulling fs layer +23a5bfa58353: Pulling fs layer +862a57157567: Pulling fs layer +64582d7d505d: Pulling fs layer +5ddfd5d2a997: Pulling fs layer +862a57157567: Waiting +64582d7d505d: Waiting +5ddfd5d2a997: Waiting +23a5bfa58353: Verifying Checksum +23a5bfa58353: Download complete +774043ccc8cc: Verifying Checksum +774043ccc8cc: Download complete +862a57157567: Verifying Checksum +862a57157567: Download complete +64582d7d505d: Verifying Checksum +64582d7d505d: Download complete +5ddfd5d2a997: Verifying Checksum +5ddfd5d2a997: Download complete +ab6b448d4be9: Verifying Checksum +ab6b448d4be9: Download complete +774043ccc8cc: Pull complete +ab6b448d4be9: Pull complete +23a5bfa58353: Pull complete +862a57157567: Pull complete +64582d7d505d: Pull complete +5ddfd5d2a997: Pull complete +Digest: sha256:e5a4ff89a6e701c491252668969979c0c200a98b3748767eead587729dd9f112 +Status: Downloaded newer image for gitea.dooplex.hu/admin/felhom-controller:0.292.0 +gitea.dooplex.hu/admin/felhom-controller:0.292.0 +[golden] asking the controller which infra images it manages … +[golden] baking infra images (4): traefik:v3.7.13 cloudflare/cloudflared:2026.9.3 gtstef/filebrowser:1.5.6-stable gitea.dooplex.hu/admin/felhom-samba:1.1.0 … +v3.7.13: Pulling from library/traefik +e2de96513ba9: Pulling fs layer +b686a4f73445: Pulling fs layer +78cb21c375ca: Pulling fs layer +acb2f33459b1: Pulling fs layer +acb2f33459b1: Waiting +e2de96513ba9: Verifying Checksum +e2de96513ba9: Download complete +b686a4f73445: Verifying Checksum +b686a4f73445: Download complete +acb2f33459b1: Verifying Checksum +acb2f33459b1: Download complete +e2de96513ba9: Pull complete +78cb21c375ca: Verifying Checksum +78cb21c375ca: Download complete +b686a4f73445: Pull complete +78cb21c375ca: Pull complete +acb2f33459b1: Pull complete +Digest: sha256:24841fe2de7304c149343d877d2923b4c8800a38ba015dea9174c23b20e344a0 +Status: Downloaded newer image for traefik:v3.7.13 +docker.io/library/traefik:v3.7.13 +2026.9.3: Pulling from cloudflare/cloudflared +2cc7ee286bf3: Pulling fs layer +c172f21841df: Pulling fs layer +218cf840d0d9: Pulling fs layer +f6069939f718: Pulling fs layer +d6b1b89eccac: Pulling fs layer +2780920e5dbf: Pulling fs layer +7c12895b777b: Pulling fs layer +3214acf345c0: Pulling fs layer +52630fc75a18: Pulling fs layer +dd64bf2dd177: Pulling fs layer +b839dfae01f6: Pulling fs layer +ebddc55facdc: Pulling fs layer +c4bc6f35ff5e: Pulling fs layer +b96fe2995f90: Pulling fs layer +58c0c263dc73: Pulling fs layer +bd8962e29291: Pulling fs layer +cac2ae0193cb: Pulling fs layer +f0383d5ebc47: Pulling fs layer +2780920e5dbf: Waiting +7c12895b777b: Waiting +3214acf345c0: Waiting +52630fc75a18: Waiting +dd64bf2dd177: Waiting +b839dfae01f6: Waiting +ebddc55facdc: Waiting +f6069939f718: Waiting +d6b1b89eccac: Waiting +c4bc6f35ff5e: Waiting +b96fe2995f90: Waiting +58c0c263dc73: Waiting +bd8962e29291: Waiting +cac2ae0193cb: Waiting +f0383d5ebc47: Waiting +2cc7ee286bf3: Download complete +218cf840d0d9: Verifying Checksum +218cf840d0d9: Download complete +2cc7ee286bf3: Pull complete +c172f21841df: Verifying Checksum +c172f21841df: Download complete +f6069939f718: Verifying Checksum +f6069939f718: Download complete +d6b1b89eccac: Verifying Checksum +d6b1b89eccac: Download complete +2780920e5dbf: Verifying Checksum +2780920e5dbf: Download complete +7c12895b777b: Verifying Checksum +7c12895b777b: Download complete +3214acf345c0: Verifying Checksum +3214acf345c0: Download complete +52630fc75a18: Verifying Checksum +52630fc75a18: Download complete +dd64bf2dd177: Verifying Checksum +dd64bf2dd177: Download complete +b839dfae01f6: Verifying Checksum +b839dfae01f6: Download complete +ebddc55facdc: Verifying Checksum +ebddc55facdc: Download complete +c4bc6f35ff5e: Verifying Checksum +c4bc6f35ff5e: Download complete +c172f21841df: Pull complete +b96fe2995f90: Verifying Checksum +b96fe2995f90: Download complete +58c0c263dc73: Verifying Checksum +58c0c263dc73: Download complete +bd8962e29291: Verifying Checksum +bd8962e29291: Download complete +cac2ae0193cb: Verifying Checksum +cac2ae0193cb: Download complete +f0383d5ebc47: Verifying Checksum +f0383d5ebc47: Download complete +218cf840d0d9: Pull complete +f6069939f718: Pull complete +d6b1b89eccac: Pull complete +2780920e5dbf: Pull complete +7c12895b777b: Pull complete +3214acf345c0: Pull complete +52630fc75a18: Pull complete +dd64bf2dd177: Pull complete +b839dfae01f6: Pull complete +ebddc55facdc: Pull complete +c4bc6f35ff5e: Pull complete +b96fe2995f90: Pull complete +58c0c263dc73: Pull complete +bd8962e29291: Pull complete +cac2ae0193cb: Pull complete +f0383d5ebc47: Pull complete +Digest: sha256:072c067d25ccbe61d46e18f0d0723255f2bb5304f7317caa95b27031520ff92c +Status: Downloaded newer image for cloudflare/cloudflared:2026.9.3 +docker.io/cloudflare/cloudflared:2026.9.3 +1.5.6-stable: Pulling from gtstef/filebrowser +55afa1ecc21d: Pulling fs layer +8ed8f35f8d4f: Pulling fs layer +989b226a579c: Pulling fs layer +660aeead31d5: Pulling fs layer +4f4fb700ef54: Pulling fs layer +adce24567e4c: Pulling fs layer +f17ea56b313b: Pulling fs layer +6b6f3b3efe88: Pulling fs layer +4ed1ca4f3fce: Pulling fs layer +e6fc9c6a5757: Pulling fs layer +d47782d1182a: Pulling fs layer +660aeead31d5: Waiting +6b6f3b3efe88: Waiting +4ed1ca4f3fce: Waiting +e6fc9c6a5757: Waiting +d47782d1182a: Waiting +4f4fb700ef54: Waiting +adce24567e4c: Waiting +f17ea56b313b: Waiting +55afa1ecc21d: Verifying Checksum +55afa1ecc21d: Download complete +660aeead31d5: Verifying Checksum +660aeead31d5: Download complete +4f4fb700ef54: Verifying Checksum +4f4fb700ef54: Download complete +8ed8f35f8d4f: Verifying Checksum +989b226a579c: Verifying Checksum +989b226a579c: Download complete +8ed8f35f8d4f: Download complete +55afa1ecc21d: Pull complete +6b6f3b3efe88: Verifying Checksum +6b6f3b3efe88: Download complete +f17ea56b313b: Verifying Checksum +f17ea56b313b: Download complete +4ed1ca4f3fce: Verifying Checksum +4ed1ca4f3fce: Download complete +e6fc9c6a5757: Verifying Checksum +e6fc9c6a5757: Download complete +adce24567e4c: Verifying Checksum +adce24567e4c: Download complete +d47782d1182a: Verifying Checksum +d47782d1182a: Download complete +8ed8f35f8d4f: Pull complete +989b226a579c: Pull complete +660aeead31d5: Pull complete +4f4fb700ef54: Pull complete +adce24567e4c: Pull complete +f17ea56b313b: Pull complete +6b6f3b3efe88: Pull complete +4ed1ca4f3fce: Pull complete +e6fc9c6a5757: Pull complete +d47782d1182a: Pull complete +Digest: sha256:7c5d7ac8ffda31294d278063cf9d2e04303b39e6dce1f4c691342240ca7703b8 +Status: Downloaded newer image for gtstef/filebrowser:1.5.6-stable +docker.io/gtstef/filebrowser:1.5.6-stable +1.1.0: Pulling from admin/felhom-samba +897d797d2723: Pulling fs layer +3051591aa250: Pulling fs layer +ce57a3f93416: Pulling fs layer +fb94eeec2fe1: Pulling fs layer +fb94eeec2fe1: Waiting +897d797d2723: Verifying Checksum +897d797d2723: Download complete +ce57a3f93416: Verifying Checksum +ce57a3f93416: Download complete +fb94eeec2fe1: Verifying Checksum +fb94eeec2fe1: Download complete +3051591aa250: Verifying Checksum +3051591aa250: Download complete +897d797d2723: Pull complete +3051591aa250: Pull complete +ce57a3f93416: Pull complete +fb94eeec2fe1: Pull complete +Digest: sha256:1c17c09422bec0366d7cf0e0fcfc1486ba6c90334a0a5d5c851073a9342f8f10 +Status: Downloaded newer image for gitea.dooplex.hu/admin/felhom-samba:1.1.0 +gitea.dooplex.hu/admin/felhom-samba:1.1.0 +[golden] baking the controller-bootstrap unit (deploys the BAKED controller from the config mount) … +Created symlink '/etc/systemd/system/multi-user.target.wants/felhom-controller-bootstrap.service' → '/etc/systemd/system/felhom-controller-bootstrap.service'. +[golden] baking the controller-bootstrap PATH unit (starts the service on bootstrap-mount hot-plug — B1) … +Created symlink '/etc/systemd/system/multi-user.target.wants/felhom-controller-bootstrap.path' → '/etc/systemd/system/felhom-controller-bootstrap.path'. +[golden] baking the first-boot SSH host-key regeneration unit (F3) … +Created symlink '/etc/systemd/system/multi-user.target.wants/felhom-regen-hostkeys.service' → '/etc/systemd/system/felhom-regen-hostkeys.service'. +[golden] identity-clean + minimize … +[golden] stop + archive … +INFO: including mount point rootfs ('/') in backup +INFO: including mount point mp0 ('/var/lib/felhom') in backup +INFO: archive file size: 618MB +INFO: Finished Backup of VM 9100 (00:00:40) +[golden] DONE. golden archive volid: local:backup/vzdump-lxc-9100-2026_10_04-14_48_57.tar.zst (rootfs 32G + ONE data volume 24G @ /var/lib/felhom, all in the archive) +[golden] publishing golden (648187281 bytes, sha256 d6cf8b33ad58e5cf…) → https://gitea.dooplex.hu/api/packages/admin/generic/felhom-golden/0.292.0/golden.tar.zst +[golden] pre-delete existing: HTTP 404 (404/204 expected) +[golden] upload OK (HTTP 201) +GOLDEN_VERSION=0.292.0 +GOLDEN_SHA256=d6cf8b33ad58e5cfbf9566558044b2e1df692ef29d5353a40e39117794d16671 +[golden] Record in the hub operator UI (Configs → Day-0 artifacts): golden 0.292.0 / d6cf8b33ad58e5cfbf9566558044b2e1df692ef29d5353a40e39117794d16671 +[golden] (the build guest 9100 is stopped; destroy it with: pct destroy 9100 --purge)