| 18 Dec 2023 |
Julia DeMille | time to try that | 17:26:09 |
matthewcroughan | In reply to @matthewcroughan:defenestrate.it
- clone disko
- modify
example/btrfs-subvolumes.nix
nix build -f tests/btrfs-subvolumes.nix
by following this | 17:26:16 |
Julia DeMille | will try | 17:26:33 |
Julia DeMille | just adding the @s without changing anything else breaks it | 17:29:53 |
Julia DeMille | actually, even just the config from the repo hangs on booted_machine: starting vm | 17:34:40 |
Julia DeMille | * actually, even just the base example config from the repo hangs on booted_machine: starting vm | 17:34:48 |
matthewcroughan | okay.. weird | 17:43:18 |
matthewcroughan | now let's address the only other input, that would make it disagree with DIsko's CI, nixpkgs itself | 17:43:29 |
matthewcroughan | since when you're running the tests it's impure | 17:43:37 |
matthewcroughan | looks like disko is on aa9d4729cbc99dabacb50e3994dcefb3ea0f7447 of nixpkgs | 17:45:28 |
matthewcroughan | nix build --impure --expr '(import (builtins.getFlake "github:nixos/nixpkgs/aa9d4729cbc99dabacb50e3994dcefb3ea0f7447") {}).pkgs.callPackage ./tests/btrfs-subvolumes.nix {}' | 17:47:18 |
Julia DeMille | says it's waiting for lock? | 17:51:02 |
matthewcroughan | cos I'm building it :P | 17:51:08 |
matthewcroughan | yeah, it does seem to stall | 17:51:23 |
matthewcroughan | do these tests only get ran on x86 perhaps? | 17:51:41 |
matthewcroughan | I'm trying on an x86 box now | 17:52:20 |
Julia DeMille | i guess i've found a unicorn of an issue lol | 17:52:48 |
matthewcroughan | yeah, it seems to work on x86 | 17:53:03 |
matthewcroughan | awesome, so it doesn't boot on arm64 | 17:53:09 |
matthewcroughan | systemd-boot, arm64, btrfs | 17:53:22 |
matthewcroughan | Mic92 | Unable to decrypt message: can the disko tests be ran on arm64 too? | 17:54:07 |
matthewcroughan | * Mic92 | Unable to decrypt message: can the disko tests be ran on arm64 too, as part of ci? | 17:54:11 |
matthewcroughan | the tl;dr of the conversation above is that the tests/btrfs-subvolumes.nix hangs at booted-machine on arm64 | 17:55:10 |
Mic92 | Disko works on aarch64 but something is broken with the nixos test | 17:55:38 |
matthewcroughan | ah okay, red herring then | 17:55:47 |
matthewcroughan | Julia DeMille: clone disko and modify the btrfs-subvolumes test to replicate your runtime issue on an x86 machine, aarch64 is bad atm :D | 17:56:14 |
Julia DeMille | wonderful, okay | 17:56:45 |
Julia DeMille | the issue doesn't seem to be recreated on x86_64 | 18:03:31 |
matthewcroughan | oh really? interesting | 18:08:24 |
matthewcroughan | what if you change the system argument of your nixosConfiguration from aarch64-linux to x86_64-linux? | 18:08:47 |