From 40aae7ad16f2e941cade045463d7ddb9e4c8f5a3 Mon Sep 17 00:00:00 2001 From: Simone Date: Sat, 23 May 2026 23:03:52 +0200 Subject: [PATCH] fix(plans): add -BuildCommand to B7 burn-in commands Without an explicit build command, job.py runs dotnet build (which fails on nsis-plugin-ns7zip in a fresh VM) and expects bin\CIOutput as artifact source. With a trivial BuildCommand, artifact_source defaults to "dist" and the lightweight command always succeeds. Also documents one-time simone group/keyring prerequisites for running the burn-in as simone with ci-runner group access. Co-Authored-By: Claude Sonnet 4.6 --- plans/PhaseB-user-checklist.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/plans/PhaseB-user-checklist.md b/plans/PhaseB-user-checklist.md index e26aef9..d9c966f 100644 --- a/plans/PhaseB-user-checklist.md +++ b/plans/PhaseB-user-checklist.md @@ -456,26 +456,32 @@ baseline Windows (entro ±20%). I due burn-in sono sequenziali `WinBuild2025`: ```bash - sudo -u ci-runner pwsh /opt/ci/local-ci-cd-system/scripts/Test-CapacityBurnIn.ps1 \ + pwsh /opt/ci/local-ci-cd-system/scripts/Test-CapacityBurnIn.ps1 \ -Parallelism 4 -Rounds 10 \ -TemplatePath /var/lib/ci/templates/WinBuild2025/WinBuild2025.vmx \ -RepoUrl 'http://10.10.20.11:3100/Simone/nsis-plugin-ns7zip.git' \ -CloneBaseDir /var/lib/ci/build-vms/ \ -ArtifactBaseDir /var/lib/ci/artifacts/ \ - -VmrunPath /usr/bin/vmrun + -VmrunPath /usr/bin/vmrun \ + -BuildCommand 'New-Item -ItemType Directory -Force dist | Out-Null; Set-Content -Path dist\build-info.txt -Value build-ok' ``` + > **Prerequisiti** (una-tantum, come `simone`): + > `sudo usermod -a -G ci-runner simone && sudo chmod g+w /var/lib/ci/artifacts/ /var/lib/ci/build-vms/` + > Poi copia il keyring: `mkdir -p ~/.local/share/python_keyring && sudo cp /home/ci-runner/.local/share/python_keyring/keyring_pass.cfg ~/.local/share/python_keyring/ && sudo chown simone: ~/.local/share/python_keyring/keyring_pass.cfg && chmod 600 ~/.local/share/python_keyring/keyring_pass.cfg` + - [ ] **Avviato in Linux** — burn-in 4 × 10 su `LinuxBuild2404`: ```bash - sudo -u ci-runner pwsh /opt/ci/local-ci-cd-system/scripts/Test-CapacityBurnIn.ps1 \ + pwsh /opt/ci/local-ci-cd-system/scripts/Test-CapacityBurnIn.ps1 \ -Parallelism 4 -Rounds 10 \ -TemplatePath /var/lib/ci/templates/LinuxBuild2404/LinuxBuild2404.vmx \ -RepoUrl 'http://10.10.20.11:3100/Simone/nsis-plugin-ns7zip.git' \ -CloneBaseDir /var/lib/ci/build-vms/ \ -ArtifactBaseDir /var/lib/ci/artifacts/ \ -VmrunPath /usr/bin/vmrun \ - -GuestOS Linux + -GuestOS Linux \ + -BuildCommand 'mkdir -p dist && echo build-ok > dist/build-info.txt' ``` - [ ] Misurare: - [ ] Tempo medio per job, confronto con baseline A5