diff options
| author | Tomas Volf <~@wolfsden.cz> | 2024-01-11 18:35:44 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2024-01-14 23:00:03 +0100 |
| commit | 0aec4e7b70cc1ae18b17522eb04ad40468984e6e (patch) | |
| tree | 9b35b10347c7f72b4a1c748fa1746661695fd8a3 /gnu/tests | |
| parent | 2bfff0da33b41d8cb74dd054a1eadcf342545b7b (diff) | |
tests: install: Fix encrypted-home-os, encrypted-home-os-key-file tests.
The installation no longer fits into the 1.6G, leading to a warning while
running the test:
guix system: warning: at least 1526.8 MB needed but only 1408.4 MB available in /mnt
Followed by a failure:
93% [#################################################################### ]note: build failure may have been caused by lack of free disk space
builder for `/gnu/store/8wl8q8nc1za0vlyv21jpzwgml45njgk2-module-import-compiled.drv' failed with exit code 1
This commit increases the root partition to 2G, making the test pass again.
* gnu/tests/install.scm (%encrypted-root-installation-script): Increase the
root partition to 2G.
(%test-encrypted-home-os), (%test-encrypted-home-os-key-file): Increase the
target size to 3G to accommodate for the larger root partition.
Change-Id: I0f7092f7b7fc9992d3f895a1eaecf1f2065b7360
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/tests')
| -rw-r--r-- | gnu/tests/install.scm | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/gnu/tests/install.scm b/gnu/tests/install.scm index f553eeaa3e7..f9e766e5327 100644 --- a/gnu/tests/install.scm +++ b/gnu/tests/install.scm | |||
| @@ -964,8 +964,8 @@ guix --version | |||
| 964 | export GUIX_BUILD_OPTIONS=--no-grafts | 964 | export GUIX_BUILD_OPTIONS=--no-grafts |
| 965 | parted --script /dev/vdb mklabel gpt \\ | 965 | parted --script /dev/vdb mklabel gpt \\ |
| 966 | mkpart primary ext2 1M 3M \\ | 966 | mkpart primary ext2 1M 3M \\ |
| 967 | mkpart primary ext2 3M 1.6G \\ | 967 | mkpart primary ext2 3M 2G \\ |
| 968 | mkpart primary 1.6G 2.0G \\ | 968 | mkpart primary 2G 2.4G \\ |
| 969 | set 1 boot on \\ | 969 | set 1 boot on \\ |
| 970 | set 1 bios_grub on | 970 | set 1 bios_grub on |
| 971 | 971 | ||
| @@ -1033,7 +1033,9 @@ launched as a shepherd service." | |||
| 1033 | %encrypted-home-os-source | 1033 | %encrypted-home-os-source |
| 1034 | #:script | 1034 | #:script |
| 1035 | %encrypted-home-installation-script | 1035 | %encrypted-home-installation-script |
| 1036 | #:packages (list cpio))) | 1036 | #:packages (list cpio) |
| 1037 | #:target-size | ||
| 1038 | (* 3000 MiB))) | ||
| 1037 | (command (qemu-command* images))) | 1039 | (command (qemu-command* images))) |
| 1038 | (run-basic-test %encrypted-home-os command "encrypted-home-os" | 1040 | (run-basic-test %encrypted-home-os command "encrypted-home-os" |
| 1039 | #:initialization enter-luks-passphrase-for-home))))) | 1041 | #:initialization enter-luks-passphrase-for-home))))) |
| @@ -1090,7 +1092,9 @@ unlock done using a key file") | |||
| 1090 | %encrypted-home-os-key-file-source | 1092 | %encrypted-home-os-key-file-source |
| 1091 | #:script | 1093 | #:script |
| 1092 | %encrypted-home-installation-script | 1094 | %encrypted-home-installation-script |
| 1093 | #:packages (list cpio))) | 1095 | #:packages (list cpio) |
| 1096 | #:target-size | ||
| 1097 | (* 3000 MiB))) | ||
| 1094 | (command (qemu-command* images))) | 1098 | (command (qemu-command* images))) |
| 1095 | (run-basic-test %encrypted-home-os-key-file | 1099 | (run-basic-test %encrypted-home-os-key-file |
| 1096 | command "encrypted-home-os-key-file"))))) | 1100 | command "encrypted-home-os-key-file"))))) |
