Machine state will be reset. To keep it, pass --keep-machine-state start all VLans (finished: start all VLans, in 0.00 seconds) Test will time out and terminate in 3600.0 seconds run the VM test script additionally exposed symbols: machine, vlan1, start_all, test_script, machines, machines_qemu, machines_nspawn, vlans, driver, log, os, create_machine, subtest, run_tests, join_all, retry, serial_stdout_off, serial_stdout_on, polling_condition, BaseMachine, QemuMachine, NspawnMachine, t, debug, dump_machine_ssh machine: waiting for unit multi-user.target machine: systemd-nspawn running (pid 50) machine: Waiting for journal at /build/vm-state-machine/var/log/journal... nixos-nspawn(machine): TAP vde-tap1 not found; container will be isolated from VDE nixos-nspawn(machine): A common reason for this is that /dev/net is not available in the Nix sandbox. Try adding /dev/net to extra-sandbox-paths. Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. ░ Spawning container machine on /build/vm-state-machine. machine # No journal files were found. machine # No journal boot entry found for the specified boot (+0). machine # No journal files were found. machine # No journal boot entry found for the specified boot (+0). machine # [1341460.778440] machine systemd-journald[57]: Journal started machine # [1341460.778518] machine systemd-journald[57]: Runtime Journal (/run/log/journal/1c689717082e43f7b831a129b53d2a1f) is 8M, max 2.5G, 2.5G free. machine # [1341461.029824] machine systemd[1]: Finished Firewall. machine # [1341461.059674] machine systemd[1]: Finished Apply Kernel Variables. machine # [1341461.140012] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [1341461.192622] machine systemd[1]: Starting Flush Journal to Persistent Storage... machine # [1341461.193220] machine systemd[1]: Starting Create Static Device Nodes in /dev... machine # [1341461.238252] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/1c689717082e43f7b831a129b53d2a1f is 1.628ms for 7 entries. machine # [1341461.238252] machine systemd-journald[57]: System Journal (/var/log/journal/1c689717082e43f7b831a129b53d2a1f) is 512B, max 4G, 3.9G free. machine # [1341461.256191] machine systemd[1]: Finished Create Static Device Nodes in /dev. machine # [1341461.257481] machine systemd[1]: Reached target Preparation for Local File Systems. machine # [1341461.257629] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys machine # [1341461.265054] machine systemd[1]: Finished Flush Journal to Persistent Storage. machine # [1341461.995517] machine systemd[1]: Mounting /run/wrappers... machine # [1341462.093487] machine systemd[1]: Mounted /run/wrappers. machine # [1341462.094345] machine systemd[1]: Reached target Local File Systems. machine # [1341462.095559] machine systemd[1]: Listening on Boot Loader Control Service Socket. machine # [1341462.096601] machine systemd[1]: Starting Create SUID/SGID Wrappers... machine # [1341462.096627] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container machine # [1341462.097197] machine systemd[1]: Starting Save Transient machine-id to Disk... machine # [1341462.097712] machine systemd[1]: Starting Create System Files and Directories... machine # [1341462.161792] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.te4utMsqc4/chsh': Operation not permitted machine # [1341462.167117] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted machine # [1341462.167292] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted machine # [1341462.167318] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE machine # [1341462.167405] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. machine # [1341462.167409] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/1c689717082e43f7b831a129b53d2a1f failed: Operation not permitted machine # [1341462.167563] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted machine # [1341462.167631] machine systemd[1]: Failed to start Create SUID/SGID Wrappers. machine # [1341462.172201] machine systemd[1]: Finished Create System Files and Directories. machine # [1341462.258065] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. machine # [1341462.315244] machine systemd[1]: Finished Save Transient machine-id to Disk. machine # [1341462.318115] machine systemd[1]: Starting Rebuild Journal Catalog... machine # [1341462.319038] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [1341462.352006] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. machine # [1341462.360366] machine systemd[1]: Finished Rebuild Journal Catalog. machine # [1341462.361560] machine systemd[1]: Starting Update is Completed... machine # [1341462.376797] machine systemd[1]: Finished Update is Completed. machine # [1341462.376903] machine systemd[1]: Reached target System Initialization. machine # [1341462.376962] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container machine # [1341462.376985] machine systemd[1]: Started Daily Cleanup of Temporary Directories. machine # [1341462.376998] machine systemd[1]: Reached target Timer Units. machine # [1341462.377083] machine systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [1341462.377170] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. machine # [1341462.377194] machine systemd[1]: Reached target Socket Units. machine # [1341462.377224] machine systemd[1]: Reached target Basic System. machine # [1341462.378552] machine systemd[1]: Starting Import lastlog data into lastlog2 database... machine # [1341462.379366] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [1341462.380068] machine systemd[1]: Starting resolvconf update... machine # [1341462.395678] machine systemd[1]: Finished Import lastlog data into lastlog2 database. machine # [1341462.443194] machine resolvconf-start[231]: setfacl: /run/resolvconf: Operation not supported machine # [1341462.445038] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE machine # [1341462.445118] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'. machine # [1341462.445290] machine systemd[1]: Failed to start resolvconf update. machine # [1341462.445430] machine systemd[1]: Reached target Preparation for Network. machine # [1341462.446114] machine systemd[1]: Starting Address configuration of eth1... machine # [1341462.447137] machine systemd[1]: Starting Extra networking commands.... machine # [1341462.476807] machine systemd[1]: nscd.service: Deactivated successfully. machine # [1341462.477015] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd). machine # [1341462.480480] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [1341462.484885] machine network-addresses-eth1-start[233]: adding address 192.168.1.1/24... done machine # [1341462.487885] machine network-addresses-eth1-start[233]: adding address 2001:db8:1::1/64... done machine # [1341462.493071] machine systemd[1]: Finished Address configuration of eth1. machine # [1341462.534430] machine systemd[1]: Finished Extra networking commands.. machine # [1341462.534574] machine systemd[1]: Reached target Network. machine # [1341463.178397] machine systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [1341463.178476] machine systemd[1]: Reached target Host and Network Name Lookups. machine # [1341463.178517] machine systemd[1]: Reached target User and Group Name Lookups. machine # [1341463.180399] machine nsncd[242]: Oct 10 11:37:13.910 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [1341463.180670] machine systemd[1]: Starting User Login Management... machine # [1341463.183076] machine systemd[1]: Starting Permit User Sessions... machine # [1341463.225630] machine systemd[1]: Finished Permit User Sessions. machine # [1341463.226850] machine systemd[1]: Started Console Getty. machine # [1341463.226895] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 machine # [1341463.226911] machine systemd[1]: Reached target Login Prompts. machine # [1341467.417726] machine systemd-logind[301]: New seat seat0. machine # [1341467.418007] machine systemd[1]: Started User Login Management. machine # [1341467.422476] machine systemd[1]: Starting D-Bus System Message Bus... machine # [1341467.436127] machine systemd[1]: Starting linger-users.service... machine # [1341467.456429] machine systemd[1]: linger-users.service: Deactivated successfully. machine # [1341467.456751] machine systemd[1]: Finished linger-users.service. machine # [1341467.456883] machine systemd[1]: Reached target Multi-User System. machine: (finished: waiting for unit multi-user.target, in 9.66 seconds) machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/znv68yj6x700992ikvdify8ji6r5wk1g-closure-info machine # [1341468.585702] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'... machine # [1341468.586684] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync' machine # [1341468.586684] machine dbus-broker-launch[316]: Invalid user-name in /nix/store/z441alblwy32lyxiy8466qf85iyi2sdj-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" machine # [1341468.587239] machine systemd[1]: Started D-Bus System Message Bus. machine # [1341468.588094] machine systemd[1]: Startup finished in 8.742s. machine # [1341468.595372] machine dbus-broker-launch[316]: Ready warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release. machine: (finished: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/znv68yj6x700992ikvdify8ji6r5wk1g-closure-info, in 21.00 seconds) machine: must succeed: systemctl start nix-daemon.socket machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.01 seconds) machine: must succeed: cp -r /nix/store/pq463yqndixb046vk565591rfwkwzp21-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets machine: (finished: must succeed: cp -r /nix/store/pq463yqndixb046vk565591rfwkwzp21-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.25 seconds) machine: must succeed: runuser -l alice -c 'cd iets && git init -q && git add -A && git -c user.name=e2e -c user.email=e2e@example.com commit -q -m e2e' machine # [1341489.755139] machine systemd[1]: Listening on Nix Daemon Socket. machine # [1341490.032991] machine runuser[4868]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0) machine # [1341490.325128] machine runuser[4868]: pam_unix(runuser-l:session): session closed for user alice machine: (finished: must succeed: runuser -l alice -c 'cd iets && git init -q && git add -A && git -c user.name=e2e -c user.email=e2e@example.com commit -q -m e2e', in 0.32 seconds) machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/zzr80zc313zd33fwcnxgi67mdgp9446g-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/flaketest.nu' >&2 machine # [1341490.370836] machine runuser[4881]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0) machine # [1341490.624883] machine systemd[1]: Started Nix Daemon. machine # [1341490.739310] machine nix-daemon[4969]: accepted connection from pid 4949, user alice (trusted) FAIL repo packages.default nix: (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: Failed to open archive (Source threw exception: error: unable to download 'https://github.com/ipetkov/crane/archive/47b6b27ed9a3a9181415e4367d0c30ab2a0e0250.tar.gz': Could not resolve hostname (6) Could not resolve host: github.com) iets: … while calling 'f'' at /nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source/lib/customisation.nix:159:9 … from call site at /nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source/lib/customisation.nix:365:36 … while calling anonymous lambda at /nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source/lib/customisation.nix:365:33 machine # [1341497.540966] machine nix-daemon[4969]: accepted connection from pid 4996, user alice (trusted) machine # [1341497.644606] machine nix-daemon[4969]: accepted connection from pid 5014, user alice (trusted) machine # [1341497.882530] machine nix-daemon[4969]: accepted connection from pid 5047, user alice (trusted) machine # [1341497.977203] machine nix-daemon[4969]: accepted connection from pid 5070, user alice (trusted) ok big: devShell machine # [1341514.018648] machine nix-daemon[4969]: accepted connection from pid 5100, user alice (trusted) ok big: devShell, IETS_WORKERS=8 machine # [1341530.633192] machine nix-daemon[4969]: accepted connection from pid 5134, user alice (trusted) ok big: nixosConfigurations.scratch toplevel ok big: tree-meta-in-drv reports an input's metadata under [lint.inputs.lib] machine # [1341562.958277] machine nix-daemon[4969]: accepted connection from pid 5201, user alice (trusted) ok lock: relative path input has no narHash, as nix writes it ok worktree: clean tree nix never saw, nothing fetched machine # [1341564.049717] machine nix-daemon[4969]: accepted connection from pid 5247, user alice (trusted) ok worktree: dirty tree nix never saw, nothing fetched machine # [1341565.853884] machine nix-daemon[4969]: accepted connection from pid 5281, user alice (trusted) machine # [1341568.631200] machine nix-daemon[4969]: accepted connection from pid 5308, user alice (trusted) machine # [1341569.086039] machine nix-daemon[4969]: accepted connection from pid 5326, user alice (trusted) FAIL worktree: this repo's packages.default, nothing fetched nix: iets: … while calling 'f'' at /nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source/lib/customisation.nix:159:9 … from call site at /nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source/lib/customisation.nix:365:36 … while calling anonymous lambda at /nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source/lib/customisation.nix:365:33 machine # [1341574.342015] machine nix-daemon[4969]: accepted connection from pid 5355, user alice (trusted) ok scratch: clean tree machine # [1341575.281960] machine nix-daemon[4969]: accepted connection from pid 5390, user alice (trusted) ok scratch: a string of the tree metadata has no context machine # [1341576.722846] machine nix-daemon[4969]: accepted connection from pid 5424, user alice (trusted) ok scratch: --raw on a derivation prints its outPath machine # [1341578.153339] machine nix-daemon[4969]: accepted connection from pid 5459, user alice (trusted) ok scratch: untracked file is ignored machine # [1341578.894133] machine nix-daemon[4969]: accepted connection from pid 5498, user alice (trusted) ok git: reading an untracked file is Nix's error, the hint is the git add machine # [1341579.425961] machine nix-daemon[4969]: accepted connection from pid 5531, user alice (trusted) ok scratch: dirty tree (modified tracked file) ok scratch: tree-meta-in-drv names the metadata of a dirty tree machine # [1341580.948220] machine nix-daemon[4969]: accepted connection from pid 5577, user alice (trusted) ok scratch: dirty tree (deleted tracked file) machine # [1341581.510049] machine nix-daemon[4969]: accepted connection from pid 5613, user alice (trusted) ok scratch: dirty tree (staged new file) machine # [1341582.397925] machine nix-daemon[4969]: accepted connection from pid 5651, user alice (trusted) ok scratch: clean again after commit ok scratch: tree-meta-in-drv names the metadata of a clean tree machine # [1341584.770941] machine nix-daemon[4969]: accepted connection from pid 5699, user alice (trusted) ok scratch: subdirectory flake ref machine # [1341585.843469] machine nix-daemon[4969]: accepted connection from pid 5734, user alice (trusted) ok scratch: path: ref copies the whole tree ok scratch: --json machine # [1341586.289158] machine nix-daemon[4969]: accepted connection from pid 5764, user alice (trusted) ok cache: second run hits ok cache: the git observations are ls-files, status and rev-parse ok cache: editing a tracked file misses ok cache: a commit misses on a git command machine # [1341587.324667] machine nix-daemon[4969]: accepted connection from pid 5874, user alice (trusted) machine # [1341587.509928] machine nix-daemon[4969]: accepted connection from pid 5908, user alice (trusted) ok revCount: clean tree machine # [1341587.903910] machine nix-daemon[4969]: accepted connection from pid 5951, user alice (trusted) ok revCount: shallow clone ok revCount: lazy, and kept by revision ok rev-count: one finding for a tree, on a cache hit too, none for the names ok rev-count: --lint sets the level ok rev-count: a selection is the site, a read without one has none machine # [1341603.944950] machine nix-daemon[4969]: accepted connection from pid 6262, user alice (trusted) ok revCount: each spelling gives the value of Nix machine # [1341604.894956] machine nix-daemon[4969]: accepted connection from pid 6305, user alice (trusted) machine # [1341605.024897] machine nix-daemon[4969]: accepted connection from pid 6327, user alice (trusted) ok revCount: locked input ok rev-count: an input is silent without [lint.inputs.lib] machine # [1341607.093306] machine nix-daemon[4969]: accepted connection from pid 6373, user alice (trusted) ok revCount: dirty tree machine # [1341607.875772] machine nix-daemon[4969]: accepted connection from pid 6414, user alice (trusted) machine # [1341608.049404] machine nix-daemon[4969]: accepted connection from pid 6441, user alice (trusted) machine # [1341608.202908] machine nix-daemon[4969]: accepted connection from pid 6463, user alice (trusted) machine # [1341608.336413] machine nix-daemon[4969]: accepted connection from pid 6485, user alice (trusted) ok tarball: file:// input indexed into iets's input store ok tarball: the fetch wrote the input store, not /nix/store machine # [1341609.286879] machine nix-daemon[4969]: accepted connection from pid 6508, user alice (trusted) machine # [1341610.070020] machine nix-daemon[4969]: accepted connection from pid 6546, user alice (trusted) machine # [1341610.215137] machine nix-daemon[4969]: accepted connection from pid 6546, user alice (trusted) ok build --no-build sends the input's NAR out of the input store and the daemon holds it machine # [1341611.048786] machine nix-daemon[4969]: accepted connection from pid 6571, user alice (trusted) ok build --no-build uploads a filtered copy of an input member machine # [1341611.963891] machine nix-daemon[4969]: accepted connection from pid 6616, user alice (trusted) machine # [1341612.069485] machine nix-daemon[4969]: accepted connection from pid 6616, user alice (trusted) ok tarball: a second process waits for the first one's download and reads its entry ok prefetch-inputs: fetches every input, then an offline eval downloads nothing machine # [1341617.914928] machine nix-daemon[4969]: accepted connection from pid 6783, user alice (trusted) ok tarball: a changed tarball is refused, not registered skip a github input, the standalone fetch, a substituted input: no network machine # [1341619.312749] machine nix-daemon[4969]: accepted connection from pid 6809, user alice (trusted) machine # [1341619.459235] machine nix-daemon[4969]: accepted connection from pid 6823, user alice (trusted) machine # [1341619.603483] machine nix-daemon[4969]: accepted connection from pid 6845, user alice (trusted) machine # [1341619.762842] machine nix-daemon[4969]: accepted connection from pid 6867, user alice (trusted) machine # [1341619.944208] machine nix-daemon[4969]: accepted connection from pid 6889, user alice (trusted) ok git: a missing git input still goes through nix machine # [1341620.556054] machine nix-daemon[4969]: accepted connection from pid 6912, user alice (trusted) machine # [1341620.741836] machine nix-daemon[4969]: accepted connection from pid 6922, user alice (trusted) machine # [1341620.805562] machine nix-daemon[4969]: accepted connection from pid 6943, user alice (trusted) ok git: without nix the error names the input machine # [1341621.456456] machine nix-daemon[4969]: accepted connection from pid 6966, user alice (trusted) ok git: a NAR hash mismatch is hash-mismatch, and the hint names filters, export-subst, submodules ok missing flake.lock is an error machine # [1341622.134041] machine nix-daemon[4969]: accepted connection from pid 6976, user alice (trusted) machine # [1341622.275463] machine nix-daemon[4969]: accepted connection from pid 6985, user alice (trusted) ok unfetchable input: both messages name it, the failed fetch was iets's own ok lock: an entry without narHash has a hint that names the input machine # [1341623.100730] machine nix-daemon[4969]: accepted connection from pid 7014, user alice (trusted) ok prefetch-inputs: an unfetchable input is an error that names it, exit 1 machine # [1341623.593337] machine nix-daemon[4969]: accepted connection from pid 7033, user alice (trusted) machine # [1341623.861399] machine nix-daemon[4969]: accepted connection from pid 7059, user alice (trusted) ok sym: a link out of the tree is refused ok sym: an absolute link is refused machine # [1341624.607782] machine nix-daemon[4969]: accepted connection from pid 7093, user alice (trusted) machine # [1341624.904872] machine nix-daemon[4969]: accepted connection from pid 7127, user alice (trusted) ok sym: a link to an untracked file is Nix's git error ok sym: readFile through a tracked link to a tracked directory machine # [1341625.348936] machine nix-daemon[4969]: accepted connection from pid 7162, user alice (trusted) machine # [1341625.702718] machine nix-daemon[4969]: accepted connection from pid 7196, user alice (trusted) ok sym: readDir of a tracked link to a tracked directory machine # [1341626.196266] machine nix-daemon[4969]: accepted connection from pid 7230, user alice (trusted) ok sym: pathExists of a tracked link to a tracked directory ok sym: a flake directory that is a link is the working tree machine # [1341626.548205] machine nix-daemon[4969]: accepted connection from pid 7266, user alice (trusted) ok sparse: the whole tree is clean machine # [1341627.036913] machine nix-daemon[4969]: accepted connection from pid 7308, user alice (trusted) ok sparse: an index entry that is not on disk makes it dirty machine # [1341627.379213] machine nix-daemon[4969]: accepted connection from pid 7345, user alice (trusted) ok git: a working tree evaluation is cacheable ok above: git init above a cached path flake invalidates the entry pass=60 fail=2 machine: output: !!! Traceback (most recent call last): !!! File "", line 8, in !!! machine.succeed("runuser -l alice -c 'cd iets && IETS=/nix/store/zzr80zc313zd33fwcnxgi67mdgp9446g-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/flaketest.nu' >&2") !!! !!! RequestedAssertionFailed: command `runuser -l alice -c 'cd iets && IETS=/nix/store/zzr80zc313zd33fwcnxgi67mdgp9446g-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/flaketest.nu' >&2` failed (exit code 1) cleanup kill NspawnMachine (pid 50) Container machine terminated by signal KILL. (finished: cleanup, in 0.22 seconds)