lib/test-driver: fix reading command output for other distros #382260
Unexpected error: command failed with exit code 1
Attempted: nixosTests.nfs3.simple, nixosTests.php.fpm, nixosTests.fontconfig-default-fonts, nixosTests.networking.scripted.bond, nixosTests.keymap.dvorak, nixosTests.networking.scripted.bridge, nixosTests.docker, nixosTests.simple, nixosTests.chromium, nixosTests.networking.scripted.dhcpOneIf, nixosTests.networking.networkd.bond, nixosTests.php.pcre, nixosTests.nat.standalone, nixosTests.openssh, nixosTests.networking.scripted.vlan, nixosTests.ipv6, nixosTests.misc, nixosTests.predictable-interface-names.predictableNetworkd, nixosTests.networking.scripted.loopback, nixosTests.keymap.colemak
The following builds were skipped because they don't evaluate on aarch64-linux: nixosTests.nano, nixosTests.installer.luksroot, nixosTests.installer.separateBoot, nixosTests.installer.btrfsSubvolDefault
Details
Partial log
> machine # [ 935.674883] su[1377]: pam_unix(su:session): session closed for user alice
> (finished: must succeed: su - alice -c 'ulimit -c unlimited; chromium file:///nix/store/hsk27qcdmygjaamww6x17jjqnqxh5gnz-chromium-startup.html >&2 & disown', in 7.62 seconds)
> machine: waiting for startup done to appear on screen
> machine # [ 2231.523069] hrtimer: interrupt took 9431130 ns
> timeout reached; test terminating...
> kill machine (pid 11)
> qemu-system-aarch64: terminating on signal 15 from pid 8 (/nix/store/rfm2viz8cpyahnmraaayhmki7v9767gg-python3-3.12.8/bin/python3.12)
> Terminated
For full logs, run 'nix log /nix/store/8k5icjzx3z93akz5079pr4xdzbj9g9zi-vm-test-run-chromium-stable.drv'.
error: build of '/nix/store/4fba0i0y4nbxwcxxbsrnwk87gy9p7hf1-vm-test-run-nfs.drv', '/nix/store/66gkmlzj2hfg2myv6p1blghcd6qi43mk-vm-test-run-openssh.drv', '/nix/store/8k5icjzx3z93akz5079pr4xdzbj9g9zi-vm-test-run-chromium-stable.drv', '/nix/store/9ml01i67w67081gw4cf79gbz41hr97p9-vm-test-run-natStandalone.drv', '/nix/store/fccdlb09afz8gcri2rdgbjsdcqwb95zs-vm-test-run-keymap-dvorak.drv', '/nix/store/mx2gndgyi19s31zc4clxcqgk8jfgcd22-vm-test-run-misc.drv' failed