Machine state will be reset. To keep it, pass --keep-machine-state start all VLans (finished: start all VLans, in 0.00 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 # [145595.342967] machine systemd-journald[57]: Journal started machine # [145595.343018] machine systemd-journald[57]: Runtime Journal (/run/log/journal/7741960d35ee4402ba241f1ad3c8718f) is 8M, max 2.5G, 2.5G free. machine # [145595.363169] machine systemd[1]: Finished Apply Kernel Variables. machine # [145595.381131] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [145595.400857] machine systemd[1]: Starting Flush Journal to Persistent Storage... machine # [145595.401545] machine systemd[1]: Starting Create Static Device Nodes in /dev... machine # [145595.428157] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/7741960d35ee4402ba241f1ad3c8718f is 1.258ms for 6 entries. machine # [145595.428157] machine systemd-journald[57]: System Journal (/var/log/journal/7741960d35ee4402ba241f1ad3c8718f) is 512B, max 4G, 3.9G free. machine # [145595.440396] machine systemd[1]: Finished Firewall. machine # [145595.440628] machine systemd[1]: Finished Create Static Device Nodes in /dev. machine # [145595.441847] machine systemd[1]: Reached target Preparation for Local File Systems. machine # [145595.441933] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys machine # [145595.446727] machine systemd[1]: Finished Flush Journal to Persistent Storage. machine # [145596.348411] machine systemd[1]: Mounting /run/wrappers... machine # [145596.392547] machine systemd[1]: Mounted /run/wrappers. machine # [145596.393312] machine systemd[1]: Reached target Local File Systems. machine # [145596.394287] machine systemd[1]: Listening on Boot Loader Control Service Socket. machine # [145596.395127] machine systemd[1]: Starting Create SUID/SGID Wrappers... machine # [145596.395160] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container machine # [145596.395928] machine systemd[1]: Starting Save Transient machine-id to Disk... machine # [145596.396485] machine systemd[1]: Starting Create System Files and Directories... machine # [145596.422085] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted machine # [145596.422213] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted machine # [145596.422301] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/7741960d35ee4402ba241f1ad3c8718f failed: Operation not permitted machine # [145596.422420] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted machine # [145596.423946] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.Lne5ZSq8tm/chsh': Operation not permitted machine # [145596.427398] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE machine # [145596.427463] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. machine # [145596.427636] machine systemd[1]: Failed to start Create SUID/SGID Wrappers. machine # [145596.427901] machine systemd[1]: Finished Create System Files and Directories. machine # [145596.445188] machine systemd[1]: Starting Rebuild Journal Catalog... machine # [145596.445757] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [145596.467882] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. machine # [145596.468630] machine systemd[1]: Finished Save Transient machine-id to Disk. machine # [145596.468742] machine systemd[1]: Finished Rebuild Journal Catalog. machine # [145596.470135] machine systemd[1]: Starting Update is Completed... machine # [145596.470287] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. machine # [145596.479445] machine systemd[1]: Finished Update is Completed. machine # [145596.479543] machine systemd[1]: Reached target System Initialization. machine # [145596.479588] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container machine # [145596.479614] machine systemd[1]: Started Daily Cleanup of Temporary Directories. machine # [145596.479629] machine systemd[1]: Reached target Timer Units. machine # [145596.479698] machine systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [145596.479747] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. machine # [145596.479907] machine systemd[1]: Reached target Socket Units. machine # [145596.479928] machine systemd[1]: Reached target Basic System. machine # [145596.480611] machine systemd[1]: Starting Import lastlog data into lastlog2 database... machine # [145596.481606] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [145596.482347] machine systemd[1]: Starting resolvconf update... machine # [145596.493505] machine systemd[1]: Finished Import lastlog data into lastlog2 database. machine # [145596.523299] machine systemd[1]: nscd.service: Deactivated successfully. machine # [145596.523425] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd). machine # [145596.525085] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [145596.529712] machine resolvconf-start[235]: setfacl: /run/resolvconf: Operation not supported machine # [145596.530950] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE machine # [145596.531024] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'. machine # [145596.548296] machine systemd[1]: Failed to start resolvconf update. machine # [145596.548703] machine systemd[1]: Reached target Preparation for Network. machine # [145596.549813] machine systemd[1]: Starting Address configuration of eth1... machine # [145596.550614] machine systemd[1]: Starting Extra networking commands.... machine # [145596.562028] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done machine # [145596.563685] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done machine # [145596.566215] machine systemd[1]: Finished Address configuration of eth1. machine # [145596.595187] machine systemd[1]: Finished Extra networking commands.. machine # [145596.595309] machine systemd[1]: Reached target Network. machine # [145596.680634] machine nsncd[230]: Oct 17 13:19:17.703 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [145596.680635] machine systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [145596.680692] machine systemd[1]: Reached target Host and Network Name Lookups. machine # [145596.680736] machine systemd[1]: Reached target User and Group Name Lookups. machine # [145596.681592] machine systemd[1]: Starting User Login Management... machine # [145596.682393] machine systemd[1]: Starting Permit User Sessions... machine # [145596.703804] machine systemd[1]: Finished Permit User Sessions. machine # [145596.704620] machine systemd[1]: Started Console Getty. machine # [145596.704646] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 machine # [145596.704659] machine systemd[1]: Reached target Login Prompts. machine # [145597.907368] machine systemd-logind[306]: New seat seat0. machine # [145597.908381] machine systemd[1]: Starting D-Bus System Message Bus... machine # [145597.908496] machine systemd[1]: Started User Login Management. machine # [145597.909316] machine systemd[1]: Starting linger-users.service... machine # [145597.945621] machine systemd[1]: linger-users.service: Deactivated successfully. machine # [145597.945832] machine systemd[1]: Finished linger-users.service. machine # [145597.945959] machine systemd[1]: Reached target Multi-User System. machine: (finished: waiting for unit multi-user.target, in 4.14 seconds) machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/zdqfw38g6rzd3sv16zrbs75052vmrc9b-closure-info machine # [145598.521498] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'... machine # [145598.522165] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync' machine # [145598.522165] machine dbus-broker-launch[316]: Invalid user-name in /nix/store/jlg1ir1z4dfm81ya2kccdm1fv06giam6-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" machine # [145598.522706] machine systemd[1]: Started D-Bus System Message Bus. machine # [145598.522993] machine systemd[1]: Startup finished in 3.511s. machine # [145598.529685] 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/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/zdqfw38g6rzd3sv16zrbs75052vmrc9b-closure-info, in 17.92 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/gxgw42dihsa3b545yzh4jk4vxj87xfyk-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/gxgw42dihsa3b545yzh4jk4vxj87xfyk-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.13 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 # [145616.738743] machine systemd[1]: Listening on Nix Daemon Socket. machine # [145616.877681] machine runuser[4907]: 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.18 seconds) machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/20y7xsdw03wcnz0xcq86njawc2a3bfd6-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/flaketest.nu' >&2 machine # [145617.047192] machine runuser[4907]: pam_unix(runuser-l:session): session closed for user alice machine # [145617.058603] machine runuser[4920]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0) machine # [145617.219169] machine systemd[1]: Started Nix Daemon. machine # [145617.281525] machine nix-daemon[5010]: accepted connection from pid 4990, user alice (trusted) machine # [145621.046448] machine nix-daemon[5010]: accepted connection from pid 5031, user alice (trusted) ok repo packages.default machine # [145622.842684] machine nix-daemon[5010]: accepted connection from pid 5047, user alice (trusted) machine # [145623.087534] machine nix-daemon[5010]: accepted connection from pid 5080, user alice (trusted) machine # [145623.240407] machine nix-daemon[5010]: accepted connection from pid 5103, user alice (trusted) ok big: devShell machine # [145633.688407] machine nix-daemon[5010]: accepted connection from pid 5125, user alice (trusted) machine # [145633.899172] machine nix-daemon[5010]: accepted connection from pid 5135, user alice (trusted) ok big: devShell, IETS_WORKERS=8 machine # [145643.102964] machine nix-daemon[5010]: accepted connection from pid 5157, user alice (trusted) machine # [145643.341297] machine nix-daemon[5010]: accepted connection from pid 5171, user alice (trusted) ok big: nixosConfigurations.scratch toplevel machine # [145664.647839] machine nix-daemon[5010]: accepted connection from pid 5201, 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 # [145665.966252] machine nix-daemon[5010]: accepted connection from pid 5211, user alice (trusted) machine # [145666.176509] machine nix-daemon[5010]: accepted connection from pid 5229, user alice (trusted) ok worktree: clean tree nix never saw, nothing fetched machine # [145666.389366] machine nix-daemon[5010]: accepted connection from pid 5275, user alice (trusted) machine # [145666.529975] machine nix-daemon[5010]: accepted connection from pid 5299, user alice (trusted) ok worktree: pinned by rev, drvPath ok worktree: dirty tree nix never saw, nothing fetched machine # [145666.657973] machine nix-daemon[5010]: accepted connection from pid 5321, user alice (trusted) machine # [145666.827308] machine nix-daemon[5010]: accepted connection from pid 5349, user alice (trusted) machine # [145666.963762] machine nix-daemon[5010]: accepted connection from pid 5371, user alice (trusted) ok worktree: dirty tree, pinned rev is still the commit machine # [145667.110293] machine nix-daemon[5010]: accepted connection from pid 5393, user alice (trusted) machine # [145667.430768] machine nix-daemon[5010]: accepted connection from pid 5414, user alice (trusted) machine # [145671.631133] machine nix-daemon[5010]: accepted connection from pid 5430, user alice (trusted) ok worktree: this repo's packages.default, nothing fetched machine # [145673.618333] machine nix-daemon[5010]: accepted connection from pid 5454, user alice (trusted) ok scratch: clean tree machine # [145674.653952] machine nix-daemon[5010]: accepted connection from pid 5489, user alice (trusted) ok scratch: a string of the tree metadata has no context machine # [145675.657689] machine nix-daemon[5010]: accepted connection from pid 5523, user alice (trusted) ok scratch: --raw on a derivation prints its outPath machine # [145676.502960] machine nix-daemon[5010]: accepted connection from pid 5558, user alice (trusted) ok scratch: untracked file is ignored machine # [145677.564585] machine nix-daemon[5010]: accepted connection from pid 5597, user alice (trusted) ok git: reading an untracked file is Nix's error, the hint is the git add machine # [145678.141286] machine nix-daemon[5010]: accepted connection from pid 5630, user alice (trusted) ok scratch: dirty tree (modified tracked file) ok scratch: tree-meta-in-drv names the metadata of a dirty tree machine # [145680.459121] machine nix-daemon[5010]: accepted connection from pid 5676, user alice (trusted) ok scratch: dirty tree (deleted tracked file) machine # [145681.626464] machine nix-daemon[5010]: accepted connection from pid 5712, user alice (trusted) ok scratch: dirty tree (staged new file) ok scratch: clean again after commit machine # [145682.616439] machine nix-daemon[5010]: accepted connection from pid 5750, user alice (trusted) ok scratch: tree-meta-in-drv names the metadata of a clean tree machine # [145683.194989] machine nix-daemon[5010]: accepted connection from pid 5798, user alice (trusted) ok scratch: subdirectory flake ref machine # [145683.675508] machine nix-daemon[5010]: accepted connection from pid 5833, user alice (trusted) ok scratch: path: ref copies the whole tree machine # [145684.511766] machine nix-daemon[5010]: accepted connection from pid 5863, 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 # [145687.339191] machine nix-daemon[5010]: accepted connection from pid 5973, user alice (trusted) machine # [145687.654777] machine nix-daemon[5010]: accepted connection from pid 6007, user alice (trusted) ok revCount: clean tree machine # [145690.251444] machine nix-daemon[5010]: accepted connection from pid 6050, 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 # [145713.723023] machine nix-daemon[5010]: accepted connection from pid 6361, user alice (trusted) ok revCount: each spelling gives the value of Nix machine # [145715.214618] machine nix-daemon[5010]: accepted connection from pid 6404, user alice (trusted) machine # [145715.454650] machine nix-daemon[5010]: accepted connection from pid 6426, user alice (trusted) ok revCount: locked input machine # [145716.211953] machine nix-daemon[5010]: accepted connection from pid 6448, user alice (trusted) machine # [145716.930338] machine nix-daemon[5010]: accepted connection from pid 6458, user alice (trusted) ok rev-count: an input is silent without [lint.inputs.lib] machine # [145717.523324] machine nix-daemon[5010]: accepted connection from pid 6468, user alice (trusted) machine # [145717.787674] machine nix-daemon[5010]: accepted connection from pid 6478, user alice (trusted) ok revCount: dirty tree machine # [145719.097953] machine nix-daemon[5010]: accepted connection from pid 6519, user alice (trusted) machine # [145719.297853] machine nix-daemon[5010]: accepted connection from pid 6548, user alice (trusted) machine # [145719.470845] machine nix-daemon[5010]: accepted connection from pid 6570, user alice (trusted) machine # [145719.639257] machine nix-daemon[5010]: accepted connection from pid 6592, user alice (trusted) machine # [145729.778600] machine nix-daemon[5010]: accepted connection from pid 6615, 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 # [145735.500106] machine nix-daemon[5010]: accepted connection from pid 6653, user alice (trusted) machine # [145735.989060] machine nix-daemon[5010]: accepted connection from pid 6653, user alice (trusted) machine # [145737.711413] machine nix-daemon[5010]: accepted connection from pid 6670, user alice (trusted) machine # [145738.573628] machine nix-daemon[5010]: accepted connection from pid 6680, user alice (trusted) ok build --no-build sends the input's NAR out of the input store and the daemon holds it machine # [145739.845864] machine nix-daemon[5010]: accepted connection from pid 6725, user alice (trusted) ok build --no-build uploads a filtered copy of an input member machine # [145740.451504] machine nix-daemon[5010]: accepted connection from pid 6725, 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 # [145753.952498] machine nix-daemon[5010]: accepted connection from pid 6840, user alice (trusted) machine # [145758.892920] machine nix-daemon[5010]: accepted connection from pid 6866, 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 # [145759.843699] machine nix-daemon[5010]: accepted connection from pid 6880, user alice (trusted) machine # [145760.242406] machine nix-daemon[5010]: accepted connection from pid 6902, user alice (trusted) machine # [145760.582362] machine nix-daemon[5010]: accepted connection from pid 6924, user alice (trusted) machine # [145760.891113] machine nix-daemon[5010]: accepted connection from pid 6946, user alice (trusted) machine # [145763.944678] machine nix-daemon[5010]: accepted connection from pid 6969, user alice (trusted) ok git: a missing git input still goes through nix machine # [145765.384194] machine nix-daemon[5010]: accepted connection from pid 6979, user alice (trusted) machine # [145765.510216] machine nix-daemon[5010]: accepted connection from pid 7000, user alice (trusted) ok git: without nix the error names the input machine # [145766.615023] machine nix-daemon[5010]: accepted connection from pid 7023, user alice (trusted) machine # [145767.074784] machine nix-daemon[5010]: accepted connection from pid 7033, user alice (trusted) machine # [145767.334817] machine nix-daemon[5010]: accepted connection from pid 7042, 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 # [145768.779216] machine nix-daemon[5010]: accepted connection from pid 7075, user alice (trusted) ok no lock, no inputs: sourceInfo machine # [145771.405556] machine nix-daemon[5010]: accepted connection from pid 7105, 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 # [145784.544634] machine nix-daemon[5010]: accepted connection from pid 7169, user alice (trusted) machine # [145784.753038] machine nix-daemon[5010]: accepted connection from pid 7191, 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 ok unfetchable input: both messages name it, the failed fetch was iets's own machine # [145791.394757] machine nix-daemon[5010]: accepted connection from pid 7229, user alice (trusted) 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 # [145793.331357] machine nix-daemon[5010]: accepted connection from pid 7248, user alice (trusted) machine # [145793.691058] machine nix-daemon[5010]: accepted connection from pid 7274, user alice (trusted) ok sym: a link out of the tree is refused machine # [145794.556363] machine nix-daemon[5010]: accepted connection from pid 7308, user alice (trusted) ok sym: an absolute link is refused machine # [145795.500701] machine nix-daemon[5010]: accepted connection from pid 7342, user alice (trusted) ok sym: a link to an untracked file is Nix's git error machine # [145796.279025] machine nix-daemon[5010]: accepted connection from pid 7377, user alice (trusted) ok sym: readFile through a tracked link to a tracked directory machine # [145797.517793] machine nix-daemon[5010]: accepted connection from pid 7411, user alice (trusted) ok sym: readDir of a tracked link to a tracked directory machine # [145799.235756] machine nix-daemon[5010]: accepted connection from pid 7445, user alice (trusted) ok sym: pathExists of a tracked link to a tracked directory machine # [145800.875485] machine nix-daemon[5010]: accepted connection from pid 7481, user alice (trusted) ok sym: a flake directory that is a link is the working tree machine # [145801.881069] machine nix-daemon[5010]: accepted connection from pid 7523, user alice (trusted) ok sparse: the whole tree is clean machine # [145802.759219] machine nix-daemon[5010]: accepted connection from pid 7560, 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/20y7xsdw03wcnz0xcq86njawc2a3bfd6-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/flaketest.nu' >&2, in 189.28 seconds) (finished: run the VM test script, in 211.68 seconds) machine # [145806.324958] machine runuser[4920]: pam_unix(runuser-l:session): session closed for user alice test script finished in 212.59s cleanup kill NspawnMachine (pid 50) Container machine terminated by signal KILL. (finished: cleanup, in 0.22 seconds)