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 # [1341003.887469] machine systemd-journald[57]: Journal started machine # [1341003.887526] machine systemd-journald[57]: Runtime Journal (/run/log/journal/9259d0a528e04531a5b0fd79ff14ed8c) is 8M, max 2.5G, 2.5G free. machine # [1341004.107286] machine systemd[1]: Finished Firewall. machine # [1341004.109027] machine systemd[1]: Finished Apply Kernel Variables. machine # [1341004.206813] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [1341004.266924] machine systemd[1]: Starting Flush Journal to Persistent Storage... machine # [1341004.267567] machine systemd[1]: Starting Create Static Device Nodes in /dev... machine # [1341004.298370] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/9259d0a528e04531a5b0fd79ff14ed8c is 1.919ms for 7 entries. machine # [1341004.298370] machine systemd-journald[57]: System Journal (/var/log/journal/9259d0a528e04531a5b0fd79ff14ed8c) is 512B, max 4G, 3.9G free. machine # [1341004.382211] machine systemd[1]: Finished Flush Journal to Persistent Storage. machine # [1341004.399344] machine systemd[1]: Finished Create Static Device Nodes in /dev. machine # [1341004.400679] machine systemd[1]: Reached target Preparation for Local File Systems. machine # [1341004.400790] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys machine # [1341004.956225] machine systemd[1]: Mounting /run/wrappers... machine # [1341005.045800] machine systemd[1]: Mounted /run/wrappers. machine # [1341005.046498] machine systemd[1]: Reached target Local File Systems. machine # [1341005.047144] machine systemd[1]: Listening on Boot Loader Control Service Socket. machine # [1341005.047850] machine systemd[1]: Starting Create SUID/SGID Wrappers... machine # [1341005.047878] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container machine # [1341005.048530] machine systemd[1]: Starting Save Transient machine-id to Disk... machine # [1341005.049052] machine systemd[1]: Starting Create System Files and Directories... machine # [1341005.075925] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted machine # [1341005.076119] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted machine # [1341005.076247] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/9259d0a528e04531a5b0fd79ff14ed8c failed: Operation not permitted machine # [1341005.076420] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted machine # [1341005.078832] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.g7U9NZvij2/chsh': Operation not permitted machine # [1341005.202659] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. machine # [1341005.489960] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE machine # [1341005.490037] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. machine # [1341005.490448] machine systemd[1]: Failed to start Create SUID/SGID Wrappers. machine # [1341005.490625] machine systemd[1]: Finished Save Transient machine-id to Disk. machine # [1341005.501763] machine systemd[1]: Finished Create System Files and Directories. machine # [1341005.577824] machine systemd[1]: Starting Rebuild Journal Catalog... machine # [1341005.578483] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [1341005.612703] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. machine # [1341005.619762] machine systemd[1]: Finished Rebuild Journal Catalog. machine # [1341005.620832] machine systemd[1]: Starting Update is Completed... machine # [1341005.630186] machine systemd[1]: Finished Update is Completed. machine # [1341005.630322] machine systemd[1]: Reached target System Initialization. machine # [1341005.630385] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container machine # [1341005.630414] machine systemd[1]: Started Daily Cleanup of Temporary Directories. machine # [1341005.630434] machine systemd[1]: Reached target Timer Units. machine # [1341005.630553] machine systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [1341005.630662] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. machine # [1341005.630683] machine systemd[1]: Reached target Socket Units. machine # [1341005.630710] machine systemd[1]: Reached target Basic System. machine # [1341005.632369] machine systemd[1]: Starting Import lastlog data into lastlog2 database... machine # [1341005.634314] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [1341005.634886] machine systemd[1]: Starting resolvconf update... machine # [1341005.653141] machine systemd[1]: Finished Import lastlog data into lastlog2 database. machine # [1341005.698562] machine resolvconf-start[231]: setfacl: /run/resolvconf: Operation not supported machine # [1341005.700212] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE machine # [1341005.700283] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'. machine # [1341005.700429] machine systemd[1]: Failed to start resolvconf update. machine # [1341005.700571] machine systemd[1]: Reached target Preparation for Network. machine # [1341005.701389] machine systemd[1]: Starting Address configuration of eth1... machine # [1341005.702180] machine systemd[1]: Starting Extra networking commands.... machine # [1341005.725981] machine systemd[1]: nscd.service: Deactivated successfully. machine # [1341005.732128] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd). machine # [1341005.733715] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [1341005.743583] machine network-addresses-eth1-start[233]: adding address 192.168.1.1/24... done machine # [1341005.745568] machine network-addresses-eth1-start[233]: adding address 2001:db8:1::1/64... done machine # [1341005.751262] machine systemd[1]: Finished Address configuration of eth1. machine # [1341005.796768] machine systemd[1]: Finished Extra networking commands.. machine # [1341005.796873] machine systemd[1]: Reached target Network. machine # [1341008.191124] machine nsncd[238]: Oct 10 11:29:38.921 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [1341008.191202] machine systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [1341008.191249] machine systemd[1]: Reached target Host and Network Name Lookups. machine # [1341008.191292] machine systemd[1]: Reached target User and Group Name Lookups. machine # [1341008.192157] machine systemd[1]: Starting User Login Management... machine # [1341008.192643] machine systemd[1]: Starting Permit User Sessions... machine # [1341008.229969] machine systemd[1]: Finished Permit User Sessions. machine # [1341008.231067] machine systemd[1]: Started Console Getty. machine # [1341008.231106] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 machine # [1341008.231130] machine systemd[1]: Reached target Login Prompts. machine: still waiting for container 'machine' to reach ready state... machine # [1341020.265991] machine systemd-logind[306]: New seat seat0. machine # [1341020.267966] machine systemd[1]: Starting D-Bus System Message Bus... machine # [1341020.268076] machine systemd[1]: Started User Login Management. machine # [1341020.268786] machine systemd[1]: Starting linger-users.service... machine # [1341020.356757] machine systemd[1]: linger-users.service: Deactivated successfully. machine # [1341020.357487] machine systemd[1]: Finished linger-users.service. machine # [1341020.357681] machine systemd[1]: Reached target Multi-User System. machine: (finished: waiting for unit multi-user.target, in 20.16 seconds) machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/h7cx75ijwzg7qxzyv7mqdz0jmn3gx8b1-closure-info machine # [1341022.597788] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'... machine # [1341022.598812] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync' machine # [1341022.598812] 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 # [1341022.599667] machine systemd[1]: Started D-Bus System Message Bus. machine # [1341022.600204] machine systemd[1]: Startup finished in 19.302s. machine # [1341022.607286] 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/h7cx75ijwzg7qxzyv7mqdz0jmn3gx8b1-closure-info, in 19.00 seconds) machine: must succeed: systemctl start nix-daemon.socket machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.02 seconds) machine: must succeed: cp -r /nix/store/n6zcwn7v1g1j9zwlq5f62hzsj8hhwg81-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets machine # [1341041.712776] machine systemd[1]: Listening on Nix Daemon Socket. machine: (finished: must succeed: cp -r /nix/store/n6zcwn7v1g1j9zwlq5f62hzsj8hhwg81-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.86 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: (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.24 seconds) machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/y2qw3j8b4vhwwm9fc7763m7vg6sxcakk-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/flaketest.nu' >&2 machine # [1341042.591594] machine runuser[4868]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0) machine # [1341042.806532] machine runuser[4868]: pam_unix(runuser-l:session): session closed for user alice machine # [1341042.824504] machine runuser[4881]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0) machine # [1341043.008238] machine systemd[1]: Started Nix Daemon. machine # [1341043.108334] 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 anonymous lambda at «call-flake»:67:37 … while calling 'iets' at /home/alice/iets/flake.nix:26:14 … from call site at /home/alice/iets/flake.nix:65:19 machine # [1341052.708318] machine nix-daemon[4969]: accepted connection from pid 4999, user alice (trusted) machine # [1341052.788216] machine nix-daemon[4969]: accepted connection from pid 5017, user alice (trusted) machine # [1341052.978393] machine nix-daemon[4969]: accepted connection from pid 5050, user alice (trusted) machine # [1341053.062998] machine nix-daemon[4969]: accepted connection from pid 5073, user alice (trusted) ok big: devShell machine # [1341064.807177] machine nix-daemon[4969]: accepted connection from pid 5103, user alice (trusted) ok big: devShell, IETS_WORKERS=8 machine # [1341074.743642] machine nix-daemon[4969]: accepted connection from pid 5137, user alice (trusted) ok big: nixosConfigurations.scratch toplevel ok big: tree-meta-in-drv reports an input's metadata under [lint.inputs.lib] ok lock: relative path input has no narHash, as nix writes it machine # [1341101.546580] machine nix-daemon[4969]: accepted connection from pid 5205, user alice (trusted) ok worktree: clean tree nix never saw, nothing fetched machine # [1341102.133641] machine nix-daemon[4969]: accepted connection from pid 5251, user alice (trusted) ok worktree: dirty tree nix never saw, nothing fetched machine # [1341103.059596] machine nix-daemon[4969]: accepted connection from pid 5285, user alice (trusted) machine # [1341104.013532] machine nix-daemon[4969]: accepted connection from pid 5312, user alice (trusted) machine # [1341104.194871] machine nix-daemon[4969]: accepted connection from pid 5330, user alice (trusted) FAIL worktree: this repo's packages.default, nothing fetched nix: iets: … while calling anonymous lambda at «call-flake»:67:37 … while calling 'iets' at /tmp/iets-flaketest.mfpk9J/iets-fresh/flake.nix:26:14 … from call site at /tmp/iets-flaketest.mfpk9J/iets-fresh/flake.nix:65:19 ok scratch: clean tree machine # [1341109.068222] machine nix-daemon[4969]: accepted connection from pid 5359, user alice (trusted) ok scratch: a string of the tree metadata has no context machine # [1341109.339719] machine nix-daemon[4969]: accepted connection from pid 5394, user alice (trusted) ok scratch: --raw on a derivation prints its outPath machine # [1341109.682133] machine nix-daemon[4969]: accepted connection from pid 5428, user alice (trusted) ok scratch: untracked file is ignored machine # [1341109.974859] machine nix-daemon[4969]: accepted connection from pid 5463, user alice (trusted) ok git: reading an untracked file is Nix's error, the hint is the git add machine # [1341110.300816] machine nix-daemon[4969]: accepted connection from pid 5502, user alice (trusted) ok scratch: dirty tree (modified tracked file) ok scratch: tree-meta-in-drv names the metadata of a dirty tree machine # [1341110.552467] machine nix-daemon[4969]: accepted connection from pid 5535, user alice (trusted) ok scratch: dirty tree (deleted tracked file) ok scratch: dirty tree (staged new file) machine # [1341110.957324] machine nix-daemon[4969]: accepted connection from pid 5581, user alice (trusted) machine # [1341111.199100] machine nix-daemon[4969]: accepted connection from pid 5617, user alice (trusted) ok scratch: clean again after commit ok scratch: tree-meta-in-drv names the metadata of a clean tree machine # [1341111.465614] machine nix-daemon[4969]: accepted connection from pid 5655, user alice (trusted) machine # [1341111.915026] machine nix-daemon[4969]: accepted connection from pid 5703, user alice (trusted) ok scratch: subdirectory flake ref machine # [1341112.212836] machine nix-daemon[4969]: accepted connection from pid 5738, user alice (trusted) ok scratch: path: ref copies the whole tree machine # [1341112.960979] machine nix-daemon[4969]: accepted connection from pid 5768, user alice (trusted) ok scratch: --json 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 # [1341116.496164] machine nix-daemon[4969]: accepted connection from pid 5878, user alice (trusted) machine # [1341116.676198] machine nix-daemon[4969]: accepted connection from pid 5912, user alice (trusted) ok revCount: clean tree ok revCount: shallow clone machine # [1341117.231298] machine nix-daemon[4969]: accepted connection from pid 5955, user alice (trusted) 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 ok revCount: each spelling gives the value of Nix machine # [1341120.497858] machine nix-daemon[4969]: accepted connection from pid 6266, user alice (trusted) machine # [1341120.906265] machine nix-daemon[4969]: accepted connection from pid 6309, user alice (trusted) machine # [1341121.047946] machine nix-daemon[4969]: accepted connection from pid 6331, user alice (trusted) ok revCount: locked input ok rev-count: an input is silent without [lint.inputs.lib] ok revCount: dirty tree machine # [1341121.647902] machine nix-daemon[4969]: accepted connection from pid 6377, user alice (trusted) machine # [1341121.890969] machine nix-daemon[4969]: accepted connection from pid 6418, user alice (trusted) machine # [1341122.037845] machine nix-daemon[4969]: accepted connection from pid 6447, user alice (trusted) machine # [1341122.166242] machine nix-daemon[4969]: accepted connection from pid 6469, user alice (trusted) machine # [1341122.278405] machine nix-daemon[4969]: accepted connection from pid 6491, 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 # [1341122.489492] machine nix-daemon[4969]: accepted connection from pid 6514, user alice (trusted) machine # [1341122.709343] machine nix-daemon[4969]: accepted connection from pid 6552, user alice (trusted) machine # [1341122.809846] machine nix-daemon[4969]: accepted connection from pid 6552, user alice (trusted) ok build --no-build sends the input's NAR out of the input store and the daemon holds it machine # [1341122.952291] machine nix-daemon[4969]: accepted connection from pid 6577, user alice (trusted) ok build --no-build uploads a filtered copy of an input member machine # [1341123.164380] machine nix-daemon[4969]: accepted connection from pid 6622, user alice (trusted) machine # [1341123.276123] machine nix-daemon[4969]: accepted connection from pid 6622, 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 ok tarball: a changed tarball is refused, not registered skip a github input, the standalone fetch, a substituted input: no network machine # [1341123.965726] machine nix-daemon[4969]: accepted connection from pid 6738, user alice (trusted) machine # [1341124.161242] machine nix-daemon[4969]: accepted connection from pid 6764, user alice (trusted) machine # [1341124.270427] machine nix-daemon[4969]: accepted connection from pid 6778, user alice (trusted) machine # [1341124.400984] machine nix-daemon[4969]: accepted connection from pid 6800, user alice (trusted) machine # [1341124.535028] machine nix-daemon[4969]: accepted connection from pid 6822, user alice (trusted) machine # [1341124.664412] machine nix-daemon[4969]: accepted connection from pid 6844, user alice (trusted) ok git: a missing git input still goes through nix machine # [1341124.847185] machine nix-daemon[4969]: accepted connection from pid 6867, user alice (trusted) machine # [1341124.970277] machine nix-daemon[4969]: accepted connection from pid 6877, user alice (trusted) machine # [1341125.013636] machine nix-daemon[4969]: accepted connection from pid 6898, user alice (trusted) ok git: without nix the error names the input machine # [1341125.199525] machine nix-daemon[4969]: accepted connection from pid 6921, user alice (trusted) machine # [1341125.388250] machine nix-daemon[4969]: accepted connection from pid 6931, user alice (trusted) machine # [1341125.549089] machine nix-daemon[4969]: accepted connection from pid 6940, 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 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 # [1341125.748451] machine nix-daemon[4969]: accepted connection from pid 6969, user alice (trusted) ok prefetch-inputs: an unfetchable input is an error that names it, exit 1 ok sym: a link out of the tree is refused machine # [1341126.041073] machine nix-daemon[4969]: accepted connection from pid 6988, user alice (trusted) machine # [1341126.199582] machine nix-daemon[4969]: accepted connection from pid 7014, user alice (trusted) ok sym: an absolute link is refused ok sym: a link to an untracked file is Nix's git error machine # [1341126.454784] machine nix-daemon[4969]: accepted connection from pid 7048, user alice (trusted) machine # [1341126.687271] machine nix-daemon[4969]: accepted connection from pid 7082, user alice (trusted) ok sym: readFile through a tracked link to a tracked directory machine # [1341126.972597] machine nix-daemon[4969]: accepted connection from pid 7117, user alice (trusted) ok sym: readDir of a tracked link to a tracked directory machine # [1341127.445644] machine nix-daemon[4969]: accepted connection from pid 7151, user alice (trusted) ok sym: pathExists of a tracked link to a tracked directory machine # [1341127.944742] machine nix-daemon[4969]: accepted connection from pid 7185, user alice (trusted) ok sym: a flake directory that is a link is the working tree machine # [1341128.454860] machine nix-daemon[4969]: accepted connection from pid 7221, user alice (trusted) machine # [1341128.788832] machine nix-daemon[4969]: accepted connection from pid 7263, user alice (trusted) ok sparse: the whole tree is clean ok sparse: an index entry that is not on disk makes it dirty machine # [1341129.199163] machine nix-daemon[4969]: accepted connection from pid 7300, 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/y2qw3j8b4vhwwm9fc7763m7vg6sxcakk-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/y2qw3j8b4vhwwm9fc7763m7vg6sxcakk-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.17 seconds)