Machine state will be reset. To keep it, pass --keep-machine-state start all VLans (finished: start all VLans, in 0.01 seconds) Initializing machine ID from random generator. 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 # [399418.556581] machine systemd-journald[57]: Journal started machine # [399418.556625] machine systemd-journald[57]: Runtime Journal (/run/log/journal/463e2a2dacd84c42b064fe7010c53cd3) is 8M, max 2.5G, 2.5G free. machine # [399418.570734] machine systemd[1]: Finished Apply Kernel Variables. machine # [399418.582402] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [399418.595206] machine systemd[1]: Starting Flush Journal to Persistent Storage... machine # [399418.595577] machine systemd[1]: Starting Create Static Device Nodes in /dev... machine # [399418.627847] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/463e2a2dacd84c42b064fe7010c53cd3 is 904us for 6 entries. machine # [399418.627847] machine systemd-journald[57]: System Journal (/var/log/journal/463e2a2dacd84c42b064fe7010c53cd3) is 512B, max 4G, 3.9G free. machine # [399418.635439] machine systemd[1]: Finished Create Static Device Nodes in /dev. machine # [399418.635894] machine systemd[1]: Reached target Preparation for Local File Systems. machine # [399418.635973] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys machine # [399418.643564] machine systemd[1]: Finished Flush Journal to Persistent Storage. machine # [399418.657050] machine systemd[1]: Finished Firewall. machine # [399419.560567] machine systemd[1]: Mounting /run/wrappers... machine # [399419.593933] machine systemd[1]: Mounted /run/wrappers. machine # [399419.594443] machine systemd[1]: Reached target Local File Systems. machine # [399419.595106] machine systemd[1]: Listening on Boot Loader Control Service Socket. machine # [399419.595693] machine systemd[1]: Starting Create SUID/SGID Wrappers... machine # [399419.595714] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container machine # [399419.596133] machine systemd[1]: Starting Save Transient machine-id to Disk... machine # [399419.596691] machine systemd[1]: Starting Create System Files and Directories... machine # [399419.622306] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted machine # [399419.622410] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted machine # [399419.622482] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/463e2a2dacd84c42b064fe7010c53cd3 failed: Operation not permitted machine # [399419.622577] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted machine # [399419.625871] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.jHiPkFunWa/chsh': Operation not permitted machine # [399419.628190] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE machine # [399419.628252] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. machine # [399419.628409] machine systemd[1]: Failed to start Create SUID/SGID Wrappers. machine # [399419.628641] machine systemd[1]: Finished Create System Files and Directories. machine # [399419.642302] machine systemd[1]: Starting Rebuild Journal Catalog... machine # [399419.642962] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [399419.654335] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. machine # [399419.659685] machine systemd[1]: Finished Rebuild Journal Catalog. machine # [399419.660506] machine systemd[1]: Starting Update is Completed... machine # [399419.672263] machine systemd[1]: Finished Update is Completed. machine # [399419.672412] machine systemd[1]: Reached target System Initialization. machine # [399419.672487] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container machine # [399419.672520] machine systemd[1]: Started Daily Cleanup of Temporary Directories. machine # [399419.672538] machine systemd[1]: Reached target Timer Units. machine # [399419.673370] machine systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [399419.673514] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. machine # [399419.673537] machine systemd[1]: Reached target Socket Units. machine # [399419.673575] machine systemd[1]: Reached target Basic System. machine # [399419.674854] machine systemd[1]: Starting Import lastlog data into lastlog2 database... machine # [399419.675878] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [399419.676611] machine systemd[1]: Starting resolvconf update... machine # [399419.689228] machine systemd[1]: Finished Import lastlog data into lastlog2 database. machine # [399419.724411] machine systemd[1]: nscd.service: Deactivated successfully. machine # [399419.724573] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd). machine # [399419.727125] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [399419.735473] machine resolvconf-start[234]: setfacl: /run/resolvconf: Operation not supported machine # [399419.746970] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. machine # [399419.750612] machine systemd[1]: Finished Save Transient machine-id to Disk. machine # [399419.751222] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE machine # [399419.751277] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'. machine # [399419.751354] machine systemd[1]: Failed to start resolvconf update. machine # [399419.752069] machine systemd[1]: Reached target Preparation for Network. machine # [399419.752656] machine systemd[1]: Starting Address configuration of eth1... machine # [399419.753116] machine systemd[1]: Starting Extra networking commands.... machine # [399419.768456] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done machine # [399419.770183] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done machine # [399419.773156] machine systemd[1]: Finished Address configuration of eth1. machine # [399419.800224] machine systemd[1]: Finished Extra networking commands.. machine # [399419.800356] machine systemd[1]: Reached target Network. machine # [399419.914525] machine nsncd[227]: Oct 20 11:49:40.937 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [399419.914655] machine systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [399419.914719] machine systemd[1]: Reached target Host and Network Name Lookups. machine # [399419.914762] machine systemd[1]: Reached target User and Group Name Lookups. machine # [399419.916156] machine systemd[1]: Starting User Login Management... machine # [399419.916868] machine systemd[1]: Starting Permit User Sessions... machine # [399419.943582] machine systemd[1]: Finished Permit User Sessions. machine # [399419.944322] machine systemd[1]: Started Console Getty. machine # [399419.944348] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 machine # [399419.944363] machine systemd[1]: Reached target Login Prompts. machine # [399420.738850] machine systemd-logind[302]: New seat seat0. machine # [399420.739767] machine systemd[1]: Starting D-Bus System Message Bus... machine # [399420.739875] machine systemd[1]: Started User Login Management. machine # [399420.740701] machine systemd[1]: Starting linger-users.service... machine # [399420.765235] machine systemd[1]: linger-users.service: Deactivated successfully. machine # [399420.765456] machine systemd[1]: Finished linger-users.service. machine # [399420.765644] machine systemd[1]: Reached target Multi-User System. machine # [399421.034177] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'... machine # [399421.034856] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync' machine # [399421.034856] machine dbus-broker-launch[316]: Invalid user-name in /nix/store/mls2pyi9qfvid69xpgavmjnhiab7y5im-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" machine # [399421.035310] machine systemd[1]: Started D-Bus System Message Bus. machine # [399421.035518] machine systemd[1]: Startup finished in 2.810s. machine # [399421.040474] machine dbus-broker-launch[316]: Ready machine: (finished: waiting for unit multi-user.target, in 3.65 seconds) machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/6d3p550n5yg6f0n0czx9yy722ix2zfj4-closure-info 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/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/6d3p550n5yg6f0n0czx9yy722ix2zfj4-closure-info, in 8.57 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/9ysjg61j08r6bnv5y17jl6n6rcs3l68b-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/9ysjg61j08r6bnv5y17jl6n6rcs3l68b-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.09 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 # [399430.107270] machine systemd[1]: Listening on Nix Daemon Socket. machine # [399430.211654] machine runuser[4926]: 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 0.17 seconds) machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/irj7l31fnyf3cxy30rh6i8am68vi23zz-iets-0.1.0/bin/iets NIXPKGS=/nix/store/r5l65vg4gi4dnx54zkwagfb8jmlqniy5-source E2E_OFFLINE=1 nu scripts/flaketest.nu' >&2 machine # [399430.373427] machine runuser[4926]: pam_unix(runuser-l:session): session closed for user alice machine # [399430.384956] machine runuser[4939]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0) machine # [399430.525594] machine systemd[1]: Started Nix Daemon. machine # [399430.575030] machine nix-daemon[5030]: accepted connection from pid 5010, user alice (trusted) machine # [399433.431279] machine nix-daemon[5030]: accepted connection from pid 5051, user alice (trusted) ok repo packages.default machine # [399434.866707] machine nix-daemon[5030]: accepted connection from pid 5067, user alice (trusted) machine # [399435.062283] machine nix-daemon[5030]: accepted connection from pid 5100, user alice (trusted) machine # [399435.189057] machine nix-daemon[5030]: accepted connection from pid 5123, user alice (trusted) machine # [399443.806518] machine nix-daemon[5030]: accepted connection from pid 5145, user alice (trusted) ok big: devShell machine # [399444.276035] machine nix-daemon[5030]: accepted connection from pid 5155, user alice (trusted) machine # [399453.675355] machine nix-daemon[5030]: accepted connection from pid 5177, user alice (trusted) ok big: devShell, IETS_WORKERS=8 machine # [399453.985685] machine nix-daemon[5030]: accepted connection from pid 5191, user alice (trusted) ok big: nixosConfigurations.scratch toplevel machine # [399473.750307] machine nix-daemon[5030]: accepted connection from pid 5221, user alice (trusted) machine # [399476.947989] machine nix-daemon[5030]: accepted connection from pid 5231, user alice (trusted) 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 # [399477.492403] machine nix-daemon[5030]: accepted connection from pid 5249, user alice (trusted) ok worktree: clean tree nix never saw, nothing fetched machine # [399478.125879] machine nix-daemon[5030]: accepted connection from pid 5295, user alice (trusted) machine # [399478.275783] machine nix-daemon[5030]: accepted connection from pid 5319, user alice (trusted) machine # [399478.613859] machine nix-daemon[5030]: accepted connection from pid 5341, user alice (trusted) ok worktree: pinned by rev, drvPath ok worktree: dirty tree nix never saw, nothing fetched machine # [399479.546186] machine nix-daemon[5030]: accepted connection from pid 5369, user alice (trusted) machine # [399479.686544] machine nix-daemon[5030]: accepted connection from pid 5391, user alice (trusted) machine # [399480.096974] machine nix-daemon[5030]: accepted connection from pid 5413, user alice (trusted) ok worktree: dirty tree, pinned rev is still the commit machine # [399481.314568] machine nix-daemon[5030]: accepted connection from pid 5434, user alice (trusted) machine # [399483.429698] machine nix-daemon[5030]: accepted connection from pid 5450, user alice (trusted) ok worktree: this repo's packages.default, nothing fetched machine # [399484.527860] machine nix-daemon[5030]: accepted connection from pid 5474, user alice (trusted) ok scratch: clean tree machine # [399485.189511] machine nix-daemon[5030]: accepted connection from pid 5509, user alice (trusted) ok scratch: a string of the tree metadata has no context machine # [399485.889340] machine nix-daemon[5030]: accepted connection from pid 5543, user alice (trusted) ok scratch: --raw on a derivation prints its outPath ok scratch: untracked file is ignored machine # [399486.276067] machine nix-daemon[5030]: accepted connection from pid 5578, user alice (trusted) machine # [399486.483604] machine nix-daemon[5030]: accepted connection from pid 5617, user alice (trusted) ok git: reading an untracked file is Nix's error, the hint is the git add ok scratch: dirty tree (modified tracked file) machine # [399486.795821] machine nix-daemon[5030]: accepted connection from pid 5650, user alice (trusted) ok scratch: tree-meta-in-drv names the metadata of a dirty tree ok scratch: dirty tree (deleted tracked file) machine # [399487.615245] machine nix-daemon[5030]: accepted connection from pid 5696, user alice (trusted) machine # [399487.941336] machine nix-daemon[5030]: accepted connection from pid 5732, user alice (trusted) ok scratch: dirty tree (staged new file) ok scratch: clean again after commit machine # [399488.736952] machine nix-daemon[5030]: accepted connection from pid 5770, user alice (trusted) ok scratch: tree-meta-in-drv names the metadata of a clean tree ok scratch: subdirectory flake ref machine # [399489.736452] machine nix-daemon[5030]: accepted connection from pid 5818, user alice (trusted) machine # [399490.172550] machine nix-daemon[5030]: accepted connection from pid 5853, user alice (trusted) ok scratch: path: ref copies the whole tree machine # [399490.852353] machine nix-daemon[5030]: accepted connection from pid 5883, 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 # [399492.871049] machine nix-daemon[5030]: accepted connection from pid 5992, user alice (trusted) machine # [399493.024483] machine nix-daemon[5030]: accepted connection from pid 6026, user alice (trusted) ok revCount: clean tree machine # [399493.763708] machine nix-daemon[5030]: accepted connection from pid 6069, 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 # [399509.451127] machine nix-daemon[5030]: accepted connection from pid 6380, user alice (trusted) ok revCount: each spelling gives the value of Nix machine # [399510.957862] machine nix-daemon[5030]: accepted connection from pid 6423, user alice (trusted) machine # [399511.288634] machine nix-daemon[5030]: accepted connection from pid 6445, user alice (trusted) ok revCount: locked input machine # [399511.928151] machine nix-daemon[5030]: accepted connection from pid 6467, user alice (trusted) machine # [399512.423225] machine nix-daemon[5030]: accepted connection from pid 6477, user alice (trusted) ok rev-count: an input is silent without [lint.inputs.lib] machine # [399512.984922] machine nix-daemon[5030]: accepted connection from pid 6487, user alice (trusted) machine # [399513.245449] machine nix-daemon[5030]: accepted connection from pid 6497, user alice (trusted) ok revCount: dirty tree machine # [399514.040141] machine nix-daemon[5030]: accepted connection from pid 6538, user alice (trusted) machine # [399514.326022] machine nix-daemon[5030]: accepted connection from pid 6564, user alice (trusted) machine # [399514.721048] machine nix-daemon[5030]: accepted connection from pid 6586, user alice (trusted) machine # [399515.047195] machine nix-daemon[5030]: accepted connection from pid 6608, 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 # [399516.466725] machine nix-daemon[5030]: accepted connection from pid 6631, user alice (trusted) machine # [399517.561818] machine nix-daemon[5030]: accepted connection from pid 6669, user alice (trusted) machine # [399518.250107] machine nix-daemon[5030]: accepted connection from pid 6669, user alice (trusted) machine # [399520.958398] machine nix-daemon[5030]: accepted connection from pid 6687, user alice (trusted) machine # [399521.217019] machine nix-daemon[5030]: accepted connection from pid 6697, user alice (trusted) ok build --no-build sends the input's NAR out of the input store and the daemon holds it ok build --no-build uploads a filtered copy of an input member machine # [399522.318282] machine nix-daemon[5030]: accepted connection from pid 6742, user alice (trusted) machine # [399522.545056] machine nix-daemon[5030]: accepted connection from pid 6742, 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 # [399525.651513] machine nix-daemon[5030]: accepted connection from pid 6870, 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 # [399526.366460] machine nix-daemon[5030]: accepted connection from pid 6896, user alice (trusted) machine # [399526.532602] machine nix-daemon[5030]: accepted connection from pid 6910, user alice (trusted) machine # [399526.719680] machine nix-daemon[5030]: accepted connection from pid 6932, user alice (trusted) machine # [399526.887296] machine nix-daemon[5030]: accepted connection from pid 6954, user alice (trusted) machine # [399527.050292] machine nix-daemon[5030]: accepted connection from pid 6976, user alice (trusted) machine # [399527.802517] machine nix-daemon[5030]: accepted connection from pid 6999, user alice (trusted) ok git: a missing git input still goes through nix machine # [399528.186802] machine nix-daemon[5030]: accepted connection from pid 7009, user alice (trusted) machine # [399528.233595] machine nix-daemon[5030]: accepted connection from pid 7030, user alice (trusted) ok git: without nix the error names the input machine # [399529.324676] machine nix-daemon[5030]: accepted connection from pid 7053, user alice (trusted) ok git: a NAR hash mismatch is hash-mismatch, and the hint names filters, export-subst, submodules machine # [399530.397171] machine nix-daemon[5030]: accepted connection from pid 7063, user alice (trusted) machine # [399530.586075] machine nix-daemon[5030]: accepted connection from pid 7072, user alice (trusted) ok missing flake.lock is an error machine # [399531.052217] machine nix-daemon[5030]: accepted connection from pid 7105, user alice (trusted) ok no lock, no inputs: sourceInfo machine # [399531.569258] machine nix-daemon[5030]: accepted connection from pid 7135, user alice (trusted) ok no lock, no inputs: drvPath ok no lock, no inputs: neither side writes flake.lock ok no lock, no inputs: second run hits ok no lock, no inputs: a flake.lock that appears misses the cache ok no lock, a declared input: an error that names it ok no lock, a declared input: nix flake lock writes flake.lock machine # [399533.899590] machine nix-daemon[5030]: accepted connection from pid 7199, user alice (trusted) machine # [399534.108410] machine nix-daemon[5030]: accepted connection from pid 7221, user alice (trusted) ok no lock, a declared input: evaluates after nix flake lock ok no lock, an argument of outputs: an error that names it machine # [399536.677315] machine nix-daemon[5030]: accepted connection from pid 7259, 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 ok prefetch-inputs: an unfetchable input is an error that names it, exit 1 machine # [399538.242864] machine nix-daemon[5030]: accepted connection from pid 7278, user alice (trusted) machine # [399538.479794] machine nix-daemon[5030]: accepted connection from pid 7304, user alice (trusted) ok sym: a link out of the tree is refused machine # [399539.827993] machine nix-daemon[5030]: accepted connection from pid 7338, user alice (trusted) ok sym: an absolute link is refused machine # [399540.395843] machine nix-daemon[5030]: accepted connection from pid 7372, 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 # [399540.815203] machine nix-daemon[5030]: accepted connection from pid 7407, user alice (trusted) ok sym: readDir of a tracked link to a tracked directory machine # [399541.224346] machine nix-daemon[5030]: accepted connection from pid 7441, user alice (trusted) machine # [399541.673323] machine nix-daemon[5030]: accepted connection from pid 7475, 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 # [399542.144371] machine nix-daemon[5030]: accepted connection from pid 7511, user alice (trusted) ok sparse: the whole tree is clean machine # [399542.460572] machine nix-daemon[5030]: accepted connection from pid 7553, user alice (trusted) machine # [399542.749097] machine nix-daemon[5030]: accepted connection from pid 7590, 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=73 fail=0 machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/irj7l31fnyf3cxy30rh6i8am68vi23zz-iets-0.1.0/bin/iets NIXPKGS=/nix/store/r5l65vg4gi4dnx54zkwagfb8jmlqniy5-source E2E_OFFLINE=1 nu scripts/flaketest.nu' >&2, in 113.29 seconds) (finished: run the VM test script, in 125.79 seconds) test script finished in 125.89s cleanup kill NspawnMachine (pid 50) Container machine terminated by signal KILL. (finished: cleanup, in 0.17 seconds)