diff options
| author | Craig Jennings <c@cjennings.net> | 2026-08-02 22:20:55 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-08-02 22:20:55 -0500 |
| commit | 1da64394f637347414ffc4954daf9c72d180e2d0 (patch) | |
| tree | acc72a41405b564f776a4b3eeaacc884b711d65f /installer/velox-btrfs.conf.example | |
| parent | d9594265b6706cba2b9655f1a2bd54c782f2841b (diff) | |
| download | archangel-1da64394f637347414ffc4954daf9c72d180e2d0.tar.gz archangel-1da64394f637347414ffc4954daf9c72d180e2d0.zip | |
fix(test): stop one failed scenario from failing every scenario after it
run_test exported INSTALLED_PASSWORD after the reboot step but cleared it only on the success path. Any failure after that point leaked the installed system's password into the next scenario, where ssh_cmd offered it to the live ISO and every call failed instantly. Six ZFS scenarios died that way behind one flaky check. I made it a local, so bash clears it on every return path.
Install logs were written after stop_vm, so the fetch always reached a stopped guest. Every *-install.log this harness produced was empty, which is why the April mirror failure went 96 days undiagnosed. I write the captured log first now, then stop the VM.
verify_rollback rolls back the mounted root underneath the running system. The wrapper check that ran next inherited the damage and failed at random. I put the fatal check first on a clean guest and left the destabilising one last, where it can only warn. Rebooting between them is the real fix. It needs the encrypted-pool passphrase re-sent through the QEMU monitor, so it stays filed.
Both installer pushes in run_install are checked now. An unreported failure left the guest with no installer. The run then died at exit 127 with no output, which reads exactly like a real regression.
Diffstat (limited to 'installer/velox-btrfs.conf.example')
0 files changed, 0 insertions, 0 deletions
