Machine state will be reset. To keep it, pass --keep-machine-state start all VLans (finished: start all VLans, in 0.02 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 # 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 # [1288031.004949] machine systemd-journald[57]: Journal started machine # [1288031.005030] machine systemd-journald[57]: Runtime Journal (/run/log/journal/88efaa713f574f53bb6656ba91f9c01b) is 8M, max 2.5G, 2.5G free. machine # [1288031.507238] machine systemd[1]: Listening on Journal Log Access Socket. machine # [1288031.534690] machine systemd[1]: Finished Apply Kernel Variables. machine # [1288031.736674] machine systemd[1]: Finished Firewall. machine # [1288031.743188] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [1288031.873395] machine systemd[1]: Starting Flush Journal to Persistent Storage... machine # [1288031.879567] machine systemd[1]: Starting Create Static Device Nodes in /dev... machine # [1288032.028046] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/88efaa713f574f53bb6656ba91f9c01b is 1.206ms for 8 entries. machine # [1288032.028046] machine systemd-journald[57]: System Journal (/var/log/journal/88efaa713f574f53bb6656ba91f9c01b) is 512B, max 4G, 3.9G free. machine # [1288032.130032] machine systemd[1]: Finished Create Static Device Nodes in /dev. machine # [1288032.217152] machine systemd[1]: Reached target Preparation for Local File Systems. machine # [1288032.229222] machine systemd[1]: Mounting /run/wrappers... machine # [1288032.229275] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys machine # [1288032.428231] machine systemd[1]: Finished Flush Journal to Persistent Storage. machine # [1288032.428465] machine systemd[1]: Mounted /run/wrappers. machine # [1288032.430453] machine systemd[1]: Reached target Local File Systems. machine # [1288032.433981] machine systemd[1]: Listening on Boot Loader Control Service Socket. machine # [1288032.436576] machine systemd[1]: Starting Create SUID/SGID Wrappers... machine # [1288032.436632] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container machine # [1288032.443160] machine systemd[1]: Starting Save Transient machine-id to Disk... machine # [1288032.473329] machine systemd[1]: Starting Create System Files and Directories... machine # [1288032.492607] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted machine # [1288032.492819] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted machine # [1288032.492938] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/88efaa713f574f53bb6656ba91f9c01b failed: Operation not permitted machine # [1288032.493114] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted machine # [1288032.512528] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.PkHOdInMRA/chsh': Operation not permitted machine # [1288032.576739] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE machine # [1288032.576828] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. machine # [1288032.576988] machine systemd[1]: Failed to start Create SUID/SGID Wrappers. machine # [1288032.582092] machine systemd[1]: Finished Create System Files and Directories. machine # [1288032.648136] machine systemd[1]: Starting Rebuild Journal Catalog... machine # [1288032.655623] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [1288032.744865] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. machine # [1288032.792735] machine systemd[1]: Finished Rebuild Journal Catalog. machine # [1288032.900147] machine systemd[1]: Starting Update is Completed... machine # [1288032.953426] machine systemd[1]: Finished Update is Completed. machine # [1288032.953586] machine systemd[1]: Reached target System Initialization. machine # [1288032.953677] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container machine # [1288032.953714] machine systemd[1]: Started Daily Cleanup of Temporary Directories. machine # [1288032.953734] machine systemd[1]: Reached target Timer Units. machine # [1288032.953851] machine systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [1288032.953932] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. machine # [1288032.953957] machine systemd[1]: Reached target Socket Units. machine # [1288032.954226] machine systemd[1]: Reached target Basic System. machine # [1288032.959170] machine systemd[1]: Starting Import lastlog data into lastlog2 database... machine # [1288032.967105] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [1288032.968706] machine systemd[1]: Starting resolvconf update... machine # [1288033.006795] machine systemd[1]: Finished Import lastlog data into lastlog2 database. machine # [1288033.152819] machine systemd[1]: nscd.service: Deactivated successfully. machine # [1288033.162596] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd). machine # [1288033.189350] machine resolvconf-start[233]: setfacl: /run/resolvconf: Operation not supported machine # [1288033.201175] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [1288033.201363] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE machine # [1288033.201439] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'. machine # [1288033.212551] machine systemd[1]: Failed to start resolvconf update. machine # [1288033.213418] machine systemd[1]: Reached target Preparation for Network. machine # [1288033.248594] machine systemd[1]: Starting Address configuration of eth1... machine # [1288033.276558] machine systemd[1]: Starting Extra networking commands.... machine # [1288033.308858] machine network-addresses-eth1-start[237]: adding address 192.168.1.1/24... done machine # [1288033.315619] machine network-addresses-eth1-start[237]: adding address 2001:db8:1::1/64... done machine # [1288033.323585] machine systemd[1]: Finished Address configuration of eth1. machine # [1288033.421748] machine systemd[1]: Finished Extra networking commands.. machine # [1288033.422340] machine systemd[1]: Reached target Network. machine # [1288036.121563] machine systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [1288036.121655] machine systemd[1]: Reached target Host and Network Name Lookups. machine # [1288036.121716] machine systemd[1]: Reached target User and Group Name Lookups. machine # [1288036.123447] machine nsncd[234]: Oct 09 20:46:46.853 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [1288036.125787] machine systemd[1]: Starting User Login Management... machine # [1288036.181590] machine systemd[1]: Starting Permit User Sessions... machine # [1288036.432676] machine systemd[1]: Finished Permit User Sessions. machine # [1288036.466896] machine systemd[1]: Started Console Getty. machine # [1288036.466976] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 machine # [1288036.467010] machine systemd[1]: Reached target Login Prompts. machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine # [1288050.298288] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. machine # [1288050.306822] machine systemd[1]: Finished Save Transient machine-id to Disk. machine # [1288056.097731] machine systemd-logind[305]: New seat seat0. machine # [1288056.101671] machine systemd[1]: Started User Login Management. machine # [1288056.107680] machine systemd[1]: Starting D-Bus System Message Bus... machine # [1288056.244094] machine systemd[1]: Starting linger-users.service... machine # [1288056.381569] machine systemd[1]: linger-users.service: Deactivated successfully. machine # [1288056.381839] machine systemd[1]: Finished linger-users.service. machine # [1288056.382035] machine systemd[1]: Reached target Multi-User System. machine: still waiting for container 'machine' to reach ready state... machine: (finished: waiting for unit multi-user.target, in 35.30 seconds) machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/2n4bmv48m8xpjhj4kkwykfz88ib2gc71-closure-info machine # [1288062.678543] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'... machine # [1288062.690924] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync' machine # [1288062.690924] 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 # [1288062.695290] machine systemd[1]: Started D-Bus System Message Bus. machine # [1288062.714443] machine dbus-broker-launch[316]: Ready machine # [1288062.770117] machine systemd[1]: Startup finished in 33.429s. 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/2n4bmv48m8xpjhj4kkwykfz88ib2gc71-closure-info, in 110.09 seconds) machine: must succeed: systemctl start nix-daemon.socket machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.06 seconds) machine: must succeed: cp -r /nix/store/mcpzf9099fy1825abgklv0qchy1kjch1-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/mcpzf9099fy1825abgklv0qchy1kjch1-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.28 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 # [1288173.146529] machine systemd[1]: Listening on Nix Daemon Socket. machine # [1288173.481618] machine runuser[4868]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0) 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 1.48 seconds) machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/31m979179p72sca7jnyi70fk1rglbc1x-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/flaketest.nu' >&2 machine # [1288174.913799] machine runuser[4868]: pam_unix(runuser-l:session): session closed for user alice machine # [1288175.061683] machine runuser[4881]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0) machine # [1288175.756310] machine systemd[1]: Started Nix Daemon. machine # [1288175.918761] machine nix-daemon[4972]: accepted connection from pid 4950, user alice (trusted) ok repo packages.default machine # [1288210.649191] machine nix-daemon[4972]: accepted connection from pid 5005, user alice (trusted) machine # [1288212.330912] machine nix-daemon[4972]: accepted connection from pid 5038, user alice (trusted) machine # [1288212.775147] machine nix-daemon[4972]: accepted connection from pid 5061, user alice (trusted) ok big: devShell machine # [1288299.710209] machine nix-daemon[4972]: accepted connection from pid 5091, user alice (trusted) ok big: devShell, IETS_WORKERS=8 machine # [1288358.168403] machine nix-daemon[4972]: accepted connection from pid 5126, user alice (trusted) ok big: nixosConfigurations.scratch toplevel machine # [1288931.668707] machine systemd[1]: Starting Cleanup of Temporary Directories... machine # [1288932.371898] machine systemd[1]: systemd-tmpfiles-clean.service: Deactivated successfully. machine # [1288932.372852] machine systemd[1]: Finished Cleanup of Temporary Directories. ok big: tree-meta-in-drv reports an input's metadata under [lint.inputs.lib] machine # [1288972.573826] machine nix-daemon[4972]: accepted connection from pid 5196, user alice (trusted) ok lock: relative path input has no narHash, as nix writes it machine # [1288977.979597] machine nix-daemon[4972]: accepted connection from pid 5242, user alice (trusted) ok worktree: clean tree nix never saw, nothing fetched machine # [1288979.217431] machine nix-daemon[4972]: accepted connection from pid 5276, user alice (trusted) ok worktree: dirty tree nix never saw, nothing fetched machine # [1288996.708898] machine nix-daemon[4972]: accepted connection from pid 5317, user alice (trusted) ok worktree: this repo's packages.default, nothing fetched machine # [1289004.546468] machine nix-daemon[4972]: accepted connection from pid 5341, user alice (trusted) ok scratch: clean tree machine # [1289011.913338] machine nix-daemon[4972]: accepted connection from pid 5376, user alice (trusted) ok scratch: a string of the tree metadata has no context machine # [1289014.002253] machine nix-daemon[4972]: accepted connection from pid 5410, user alice (trusted) ok scratch: --raw on a derivation prints its outPath machine # [1289015.978126] machine nix-daemon[4972]: accepted connection from pid 5445, user alice (trusted) ok scratch: untracked file is ignored machine # [1289017.589830] machine nix-daemon[4972]: accepted connection from pid 5484, user alice (trusted) ok git: reading an untracked file is Nix's error, the hint is the git add machine # [1289018.434043] machine nix-daemon[4972]: accepted connection from pid 5517, user alice (trusted) ok scratch: dirty tree (modified tracked file) ok scratch: tree-meta-in-drv names the metadata of a dirty tree machine # [1289019.459854] machine nix-daemon[4972]: accepted connection from pid 5563, user alice (trusted) ok scratch: dirty tree (deleted tracked file) machine # [1289021.113103] machine nix-daemon[4972]: accepted connection from pid 5599, user alice (trusted) ok scratch: dirty tree (staged new file) ok scratch: clean again after commit machine # [1289023.586378] machine nix-daemon[4972]: accepted connection from pid 5637, user alice (trusted) ok scratch: tree-meta-in-drv names the metadata of a clean tree machine # [1289024.411320] machine nix-daemon[4972]: accepted connection from pid 5685, user alice (trusted) ok scratch: subdirectory flake ref machine # [1289025.183481] machine nix-daemon[4972]: accepted connection from pid 5720, user alice (trusted) ok scratch: path: ref copies the whole tree machine # [1289026.686271] machine nix-daemon[4972]: accepted connection from pid 5750, 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 # [1289029.833616] machine nix-daemon[4972]: accepted connection from pid 5860, user alice (trusted) machine # [1289030.761572] machine nix-daemon[4972]: accepted connection from pid 5894, user alice (trusted) ok revCount: clean tree machine # [1289033.645485] machine nix-daemon[4972]: accepted connection from pid 5937, 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 # [1289043.725344] machine nix-daemon[4972]: accepted connection from pid 6248, user alice (trusted) ok revCount: each spelling gives the value of Nix machine # [1289045.171027] machine nix-daemon[4972]: accepted connection from pid 6291, user alice (trusted) machine # [1289045.596226] machine nix-daemon[4972]: accepted connection from pid 6313, user alice (trusted) ok revCount: locked input ok rev-count: an input is silent without [lint.inputs.lib] machine # [1289047.417091] machine nix-daemon[4972]: accepted connection from pid 6359, user alice (trusted) ok revCount: dirty tree machine # [1289049.322358] machine nix-daemon[4972]: accepted connection from pid 6400, user alice (trusted) machine # [1289049.921890] machine nix-daemon[4972]: accepted connection from pid 6429, user alice (trusted) machine # [1289050.493561] machine nix-daemon[4972]: accepted connection from pid 6451, user alice (trusted) machine # [1289050.874039] machine nix-daemon[4972]: accepted connection from pid 6473, 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 # [1289051.720786] machine nix-daemon[4972]: accepted connection from pid 6496, user alice (trusted) machine # [1289052.786661] machine nix-daemon[4972]: accepted connection from pid 6534, user alice (trusted) machine # [1289052.986875] machine nix-daemon[4972]: accepted connection from pid 6534, user alice (trusted) ok build --no-build sends the input's NAR out of the input store and the daemon holds it machine # [1289053.616994] machine nix-daemon[4972]: accepted connection from pid 6559, user alice (trusted) machine # [1289057.579878] machine nix-daemon[4972]: accepted connection from pid 6604, user alice (trusted) machine # [1289057.843113] machine nix-daemon[4972]: accepted connection from pid 6604, user alice (trusted) ok build --no-build uploads a filtered copy of an input member FAIL fetch lock (exit 0/0): hello5 /tmp/iets-flaketest.fzlcff ok prefetch-inputs: fetches every input, then an offline eval downloads nothing machine # [1289068.609027] machine nix-daemon[4972]: accepted connection from pid 6712, user alice (trusted) machine # [1289070.863942] machine nix-daemon[4972]: accepted connection from pid 6738, 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 # [1289072.566851] machine nix-daemon[4972]: accepted connection from pid 6752, user alice (trusted) machine # [1289073.691589] machine nix-daemon[4972]: accepted connection from pid 6774, user alice (trusted) machine # [1289074.317149] machine nix-daemon[4972]: accepted connection from pid 6796, user alice (trusted) machine # [1289074.971379] machine nix-daemon[4972]: accepted connection from pid 6818, user alice (trusted) machine # [1289075.734237] machine nix-daemon[4972]: accepted connection from pid 6841, user alice (trusted) ok git: a missing git input still goes through nix machine # [1289077.439638] machine nix-daemon[4972]: accepted connection from pid 6851, user alice (trusted) machine # [1289078.009071] machine nix-daemon[4972]: accepted connection from pid 6872, user alice (trusted) machine # [1289084.750104] machine nix-daemon[4972]: accepted connection from pid 6895, user alice (trusted) ok git: without nix the error names the input machine # [1289090.652727] machine nix-daemon[4972]: accepted connection from pid 6905, user alice (trusted) ok git: a NAR hash mismatch is hash-mismatch, and the hint names filters, export-subst, submodules machine # [1289091.592942] machine nix-daemon[4972]: accepted connection from pid 6914, user alice (trusted) ok missing flake.lock is an error machine # [1289099.035167] machine nix-daemon[4972]: accepted connection from pid 6943, 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 # [1289108.506248] machine nix-daemon[4972]: accepted connection from pid 6962, user alice (trusted) ok prefetch-inputs: an unfetchable input is an error that names it, exit 1 machine # [1289110.128744] machine nix-daemon[4972]: accepted connection from pid 6988, user alice (trusted) ok sym: a link out of the tree is refused machine # [1289116.416937] machine nix-daemon[4972]: accepted connection from pid 7022, user alice (trusted) ok sym: an absolute link is refused machine # [1289123.864023] machine nix-daemon[4972]: accepted connection from pid 7056, user alice (trusted) ok sym: a link to an untracked file is Nix's git error machine # [1289136.413027] machine nix-daemon[4972]: accepted connection from pid 7091, user alice (trusted) ok sym: readFile through a tracked link to a tracked directory machine # [1289140.398679] machine nix-daemon[4972]: accepted connection from pid 7125, user alice (trusted) ok sym: readDir of a tracked link to a tracked directory machine # [1289141.314762] machine nix-daemon[4972]: accepted connection from pid 7159, user alice (trusted) ok sym: pathExists of a tracked link to a tracked directory machine # [1289142.493763] machine nix-daemon[4972]: accepted connection from pid 7195, user alice (trusted) ok sym: a flake directory that is a link is the working tree machine # [1289143.370943] machine nix-daemon[4972]: accepted connection from pid 7237, user alice (trusted) ok sparse: the whole tree is clean machine # [1289144.699189] machine nix-daemon[4972]: accepted connection from pid 7274, user alice (trusted) ok sparse: an index entry that is not on disk makes it dirty ok git: a working tree evaluation is cacheable ok above: git init above a cached path flake invalidates the entry pass=61 fail=1 machine: output: !!! Traceback (most recent call last): !!! File "", line 8, in !!! machine.succeed("runuser -l alice -c 'cd iets && IETS=/nix/store/31m979179p72sca7jnyi70fk1rglbc1x-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/31m979179p72sca7jnyi70fk1rglbc1x-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.63 seconds)