diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-25 08:34:47 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-25 08:34:47 -0600 |
| commit | fea9a9f1476e0fbc04ee879df8a4a64813acaa01 (patch) | |
| tree | 5dd35699af00e8ade7fe27cc0581b4cfb8c42594 | |
| parent | d3d0e8ef4035b7a397ed623a97604679bfd00c47 (diff) | |
| download | archangel-fea9a9f1476e0fbc04ee879df8a4a64813acaa01.tar.gz archangel-fea9a9f1476e0fbc04ee879df8a4a64813acaa01.zip | |
Phase 4.3 complete: btrfs validation testing
- Non-LUKS tests all pass (single, mirror, stripe)
- LUKS reboot automation attempted but blocked (encrypt hook limitation)
- Added manual LUKS verification task to todo.org
- Session notes updated
| -rw-r--r-- | docs/NOTES.org | 42 | ||||
| -rw-r--r-- | todo.org | 16 |
2 files changed, 58 insertions, 0 deletions
diff --git a/docs/NOTES.org b/docs/NOTES.org index 60c0a54..92e4f34 100644 --- a/docs/NOTES.org +++ b/docs/NOTES.org @@ -329,6 +329,48 @@ Each entry should use this format: ** Session Entries +*** 2026-01-25 Sun @ 00:15-08:34 -0600 + +*Status:* COMPLETE + +*What We Completed:* +- Phase 4.3 validation testing for btrfs installations +- Non-LUKS btrfs tests all PASS: btrfs-single, btrfs-mirror, btrfs-stripe +- Attempted LUKS automated reboot testing (sendkey + keyfile hybrid approach) +- GRUB passphrase via sendkey WORKS (Slot 0 opened) +- Initramfs encrypt hook does NOT receive sendkey - accepted as limitation +- Fixed configure_btrfs_initramfs() - was overwriting HOOKS and removing encrypt hook +- Added setup_luks_testing_keyfile() function for keyfile-based testing +- Created TESTING-STRATEGY.org documenting the LUKS automation limitation +- Copied ISO to Ventoy flash drive +- Added manual LUKS verification task to todo.org (priority A) + +*Key Decisions:* +- LUKS reboot automation is a known limitation - installation tests pass, reboot verification requires manual testing +- Hybrid approach (sendkey for GRUB, keyfile for initramfs) was correct direction but initramfs encrypt hook reads input differently than GRUB +- Documented in TESTING-STRATEGY.org for future reference + +*Files Modified:* +- [[file:../custom/lib/btrfs.sh][custom/lib/btrfs.sh]] - LUKS keyfile support, encrypt hook fix +- [[file:../custom/archangel][custom/archangel]] - Integrated keyfile setup call +- [[file:../scripts/test-configs/btrfs-luks.conf][scripts/test-configs/btrfs-luks.conf]] - Added TESTING=yes +- [[file:../scripts/test-configs/btrfs-mirror-luks.conf][scripts/test-configs/btrfs-mirror-luks.conf]] - Added TESTING=yes +- [[file:TESTING-STRATEGY.org][docs/TESTING-STRATEGY.org]] - New file documenting approach +- [[file:../todo.org][todo.org]] - Added manual LUKS verification task + +*Test Results:* +| Config | Installation | Reboot | +|--------+--------------+--------| +| btrfs-single | PASS | PASS | +| btrfs-mirror | PASS | PASS | +| btrfs-stripe | PASS | PASS | +| btrfs-luks | PASS | MANUAL | +| btrfs-mirror-luks | PASS | MANUAL | + +*Next Steps:* +- Review Phase 5 (CLI tools: archangel-snapshot, archangel-rollback, archangel-list) +- Manual LUKS reboot verification when hardware available + *** 2026-01-23 Fri @ 02:12 -0600 *Status:* COMPLETE @@ -24,6 +24,22 @@ New format: archzfs-2026-01-24-vmlinuz-6.12.66-lts-x86_64.iso Date should come right after project name for easier sorting and identification. Update build.sh ISO_NAME variable. +** TODO [#A] Manually verify LUKS btrfs installations boot correctly +Automated reboot testing for LUKS configs is blocked - can't send passphrase to +initramfs encrypt hook via QEMU. Installation tests pass, but need manual verification +that systems actually boot and decrypt correctly. + +Test on physical hardware or VM with manual interaction: +1. Boot from archzfs ISO +2. Run: archangel --config-file with LUKS config +3. Reboot, enter passphrase at GRUB prompt +4. Enter passphrase at initramfs prompt +5. Verify system boots to login + +Configs to test: btrfs-luks (single disk), btrfs-mirror-luks (2-disk RAID1) + +See [[file:docs/TESTING-STRATEGY.org][TESTING-STRATEGY.org]] for background on automation limitations. + ** TODO [#A] Fix mkinitcpio configuration in install-archzfs (causes boot failure) After kernel updates or mkinitcpio regeneration, systems fail to boot because install-archzfs leaves incorrect mkinitcpio configuration from the live ISO environment. |
