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 # [258837.252214] machine systemd-journald[57]: Journal started machine # [258837.252297] machine systemd-journald[57]: Runtime Journal (/run/log/journal/73c7031838864ae8a0917ab79af21285) is 8M, max 2.5G, 2.5G free. machine # [258837.270384] machine systemd[1]: Finished Apply Kernel Variables. machine # [258837.285632] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [258837.301344] machine systemd[1]: Starting Flush Journal to Persistent Storage... machine # [258837.301775] machine systemd[1]: Starting Create Static Device Nodes in /dev... machine # [258837.332680] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/73c7031838864ae8a0917ab79af21285 is 1.349ms for 6 entries. machine # [258837.332680] machine systemd-journald[57]: System Journal (/var/log/journal/73c7031838864ae8a0917ab79af21285) is 512B, max 4G, 3.9G free. machine # [258837.340367] machine systemd[1]: Finished Create Static Device Nodes in /dev. machine # [258837.340819] machine systemd[1]: Reached target Preparation for Local File Systems. machine # [258837.340901] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys machine # [258837.350910] machine systemd[1]: Finished Flush Journal to Persistent Storage. machine # [258837.374107] machine systemd[1]: Finished Firewall. machine # [258838.251669] machine systemd[1]: Mounting /run/wrappers... machine # [258838.301465] machine systemd[1]: Mounted /run/wrappers. machine # [258838.301886] machine systemd[1]: Reached target Local File Systems. machine # [258838.302703] machine systemd[1]: Listening on Boot Loader Control Service Socket. machine # [258838.303298] machine systemd[1]: Starting Create SUID/SGID Wrappers... machine # [258838.303322] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container machine # [258838.303987] machine systemd[1]: Starting Save Transient machine-id to Disk... machine # [258838.304397] machine systemd[1]: Starting Create System Files and Directories... machine # [258838.317439] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted machine # [258838.317602] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted machine # [258838.317699] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/73c7031838864ae8a0917ab79af21285 failed: Operation not permitted machine # [258838.317828] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted machine # [258838.323132] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.OQh9zlotgR/chsh': Operation not permitted machine # [258838.323522] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE machine # [258838.323594] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. machine # [258838.323731] machine systemd[1]: Failed to start Create SUID/SGID Wrappers. machine # [258838.323952] machine systemd[1]: Finished Create System Files and Directories. machine # [258838.339377] machine systemd[1]: Starting Rebuild Journal Catalog... machine # [258838.339870] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [258838.377218] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. machine # [258838.384390] machine systemd[1]: Finished Rebuild Journal Catalog. machine # [258838.385215] machine systemd[1]: Starting Update is Completed... machine # [258838.393412] machine systemd[1]: Finished Update is Completed. machine # [258838.393524] machine systemd[1]: Reached target System Initialization. machine # [258838.393589] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container machine # [258838.393625] machine systemd[1]: Started Daily Cleanup of Temporary Directories. machine # [258838.393648] machine systemd[1]: Reached target Timer Units. machine # [258838.393943] machine systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [258838.394026] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. machine # [258838.394042] machine systemd[1]: Reached target Socket Units. machine # [258838.394067] machine systemd[1]: Reached target Basic System. machine # [258838.395074] machine systemd[1]: Starting Import lastlog data into lastlog2 database... machine # [258838.395947] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [258838.396472] machine systemd[1]: Starting resolvconf update... machine # [258838.411234] machine systemd[1]: Finished Import lastlog data into lastlog2 database. machine # [258838.457374] machine resolvconf-start[230]: setfacl: /run/resolvconf: Operation not supported machine # [258838.473141] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. machine # [258838.474203] machine systemd[1]: Finished Save Transient machine-id to Disk. machine # [258838.474361] machine systemd[1]: nscd.service: Deactivated successfully. machine # [258838.474528] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd). machine # [258838.475614] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE machine # [258838.475704] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'. machine # [258838.475841] machine systemd[1]: Failed to start resolvconf update. machine # [258838.477219] machine systemd[1]: Reached target Preparation for Network. machine # [258838.477864] machine systemd[1]: Starting Address configuration of eth1... machine # [258838.502076] machine systemd[1]: Starting Extra networking commands.... machine # [258838.503317] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [258838.519167] machine network-addresses-eth1-start[236]: adding address 192.168.1.1/24... done machine # [258838.521343] machine network-addresses-eth1-start[236]: adding address 2001:db8:1::1/64... done machine # [258838.524852] machine systemd[1]: Finished Address configuration of eth1. machine # [258838.550156] machine systemd[1]: Finished Extra networking commands.. machine # [258838.550307] machine systemd[1]: Reached target Network. machine # [258838.665398] machine systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [258838.665476] machine systemd[1]: Reached target Host and Network Name Lookups. machine # [258838.665525] machine systemd[1]: Reached target User and Group Name Lookups. machine # [258838.666457] machine nsncd[238]: Oct 18 20:46:39.689 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [258838.666875] machine systemd[1]: Starting User Login Management... machine # [258838.667611] machine systemd[1]: Starting Permit User Sessions... machine # [258838.694897] machine systemd[1]: Finished Permit User Sessions. machine # [258838.696063] machine systemd[1]: Started Console Getty. machine # [258838.696105] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 machine # [258838.696132] machine systemd[1]: Reached target Login Prompts. machine # [258839.866148] machine systemd-logind[306]: New seat seat0. machine # [258839.866669] machine systemd[1]: Started User Login Management. machine # [258839.870023] machine systemd[1]: Starting D-Bus System Message Bus... machine # [258839.870668] machine systemd[1]: Starting linger-users.service... machine # [258839.897271] machine systemd[1]: linger-users.service: Deactivated successfully. machine # [258839.897614] machine systemd[1]: Finished linger-users.service. machine # [258839.898026] machine systemd[1]: Reached target Multi-User System. machine: (finished: waiting for unit multi-user.target, in 4.15 seconds) machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/bbhlnil104ilibzwmjqbb1g4jjd6c7hw-closure-info machine # [258840.283639] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'... machine # [258840.284246] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync' machine # [258840.284246] 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 # [258840.284649] machine systemd[1]: Started D-Bus System Message Bus. machine # [258840.284863] machine systemd[1]: Startup finished in 3.393s. machine # [258840.292652] 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/bbhlnil104ilibzwmjqbb1g4jjd6c7hw-closure-info, in 14.08 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/95w8qvd5haqbm4012jdqn9g3lai9qldk-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/95w8qvd5haqbm4012jdqn9g3lai9qldk-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 # [258854.659580] machine systemd[1]: Listening on Nix Daemon Socket. machine # [258854.766982] 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.27 seconds) machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/rbmlq4l7ysyw01wr8c6w5r9xbfa3diq9-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/flaketest.nu' >&2 machine # [258855.022145] machine runuser[4926]: pam_unix(runuser-l:session): session closed for user alice machine # [258855.035416] machine runuser[4939]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0) machine # [258855.191104] machine systemd[1]: Started Nix Daemon. machine # [258855.257961] machine nix-daemon[5029]: accepted connection from pid 5009, user alice (trusted) machine # [258858.478679] machine nix-daemon[5029]: accepted connection from pid 5050, user alice (trusted) ok repo packages.default machine # [258859.490721] machine nix-daemon[5029]: accepted connection from pid 5066, user alice (trusted) machine # [258859.735214] machine nix-daemon[5029]: accepted connection from pid 5099, user alice (trusted) machine # [258859.872331] machine nix-daemon[5029]: accepted connection from pid 5122, user alice (trusted) ok big: devShell machine # [258879.517933] machine nix-daemon[5029]: accepted connection from pid 5144, user alice (trusted) machine # [258879.730562] machine nix-daemon[5029]: accepted connection from pid 5154, user alice (trusted) ok big: devShell, IETS_WORKERS=8 machine # [258887.083135] machine nix-daemon[5029]: accepted connection from pid 5176, user alice (trusted) ok big: nixosConfigurations.scratch toplevel machine # [258887.354501] machine nix-daemon[5029]: accepted connection from pid 5190, user alice (trusted) machine # [258903.922843] machine nix-daemon[5029]: accepted connection from pid 5220, user alice (trusted) ok big: tree-meta-in-drv reports an input's metadata under [lint.inputs.lib] machine # [258906.247050] machine nix-daemon[5029]: accepted connection from pid 5230, user alice (trusted) machine # [258906.504532] machine nix-daemon[5029]: accepted connection from pid 5248, user alice (trusted) ok lock: relative path input has no narHash, as nix writes it ok worktree: clean tree nix never saw, nothing fetched machine # [258907.032185] machine nix-daemon[5029]: accepted connection from pid 5294, user alice (trusted) machine # [258907.230950] machine nix-daemon[5029]: accepted connection from pid 5318, user alice (trusted) ok worktree: pinned by rev, drvPath machine # [258907.823904] machine nix-daemon[5029]: accepted connection from pid 5340, user alice (trusted) ok worktree: dirty tree nix never saw, nothing fetched machine # [258908.427315] machine nix-daemon[5029]: accepted connection from pid 5368, user alice (trusted) machine # [258908.638635] machine nix-daemon[5029]: accepted connection from pid 5390, user alice (trusted) machine # [258908.921256] machine nix-daemon[5029]: accepted connection from pid 5412, user alice (trusted) ok worktree: dirty tree, pinned rev is still the commit machine # [258910.073781] machine nix-daemon[5029]: accepted connection from pid 5433, user alice (trusted) machine # [258911.803847] machine nix-daemon[5029]: accepted connection from pid 5449, user alice (trusted) ok worktree: this repo's packages.default, nothing fetched ok scratch: clean tree machine # [258913.167598] machine nix-daemon[5029]: accepted connection from pid 5473, user alice (trusted) ok scratch: a string of the tree metadata has no context machine # [258913.479282] machine nix-daemon[5029]: accepted connection from pid 5508, user alice (trusted) machine # [258913.966929] machine nix-daemon[5029]: accepted connection from pid 5542, user alice (trusted) ok scratch: --raw on a derivation prints its outPath machine # [258914.833599] machine nix-daemon[5029]: accepted connection from pid 5577, user alice (trusted) ok scratch: untracked file is ignored machine # [258915.323504] machine nix-daemon[5029]: accepted connection from pid 5616, 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 # [258916.086289] machine nix-daemon[5029]: accepted connection from pid 5649, user alice (trusted) ok scratch: tree-meta-in-drv names the metadata of a dirty tree machine # [258916.917928] machine nix-daemon[5029]: accepted connection from pid 5695, user alice (trusted) ok scratch: dirty tree (deleted tracked file) ok scratch: dirty tree (staged new file) machine # [258917.303422] machine nix-daemon[5029]: accepted connection from pid 5731, user alice (trusted) ok scratch: clean again after commit ok scratch: tree-meta-in-drv names the metadata of a clean tree ok scratch: subdirectory flake ref machine # [258917.609524] machine nix-daemon[5029]: accepted connection from pid 5769, user alice (trusted) machine # [258918.328566] machine nix-daemon[5029]: accepted connection from pid 5817, user alice (trusted) ok scratch: path: ref copies the whole tree machine # [258918.749082] machine nix-daemon[5029]: accepted connection from pid 5852, user alice (trusted) ok scratch: --json machine # [258919.111773] machine nix-daemon[5029]: accepted connection from pid 5882, user alice (trusted) ok cache: second run hits ok cache: the git observations are ls-files, status and rev-parse ok cache: editing a tracked file misses ok cache: a commit misses on a git command machine # [258919.877054] machine nix-daemon[5029]: accepted connection from pid 5992, user alice (trusted) machine # [258920.064262] machine nix-daemon[5029]: accepted connection from pid 6026, user alice (trusted) ok revCount: clean tree ok revCount: shallow clone machine # [258920.448886] machine nix-daemon[5029]: accepted connection from pid 6069, 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 # [258923.039500] machine nix-daemon[5029]: accepted connection from pid 6380, user alice (trusted) machine # [258923.285232] machine nix-daemon[5029]: accepted connection from pid 6423, user alice (trusted) machine # [258923.454653] machine nix-daemon[5029]: accepted connection from pid 6445, user alice (trusted) machine # [258923.654713] machine nix-daemon[5029]: accepted connection from pid 6467, user alice (trusted) ok revCount: locked input ok rev-count: an input is silent without [lint.inputs.lib] machine # [258923.818904] machine nix-daemon[5029]: accepted connection from pid 6477, user alice (trusted) machine # [258924.002231] machine nix-daemon[5029]: accepted connection from pid 6487, user alice (trusted) ok revCount: dirty tree machine # [258924.175299] machine nix-daemon[5029]: accepted connection from pid 6497, user alice (trusted) machine # [258924.417821] machine nix-daemon[5029]: accepted connection from pid 6538, user alice (trusted) machine # [258924.593927] machine nix-daemon[5029]: accepted connection from pid 6565, user alice (trusted) machine # [258924.747593] machine nix-daemon[5029]: accepted connection from pid 6587, user alice (trusted) machine # [258924.897415] machine nix-daemon[5029]: accepted connection from pid 6609, 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 # [258925.090971] machine nix-daemon[5029]: accepted connection from pid 6632, user alice (trusted) machine # [258925.316347] machine nix-daemon[5029]: accepted connection from pid 6670, user alice (trusted) machine # [258925.437886] machine nix-daemon[5029]: accepted connection from pid 6670, user alice (trusted) machine # [258925.512058] machine nix-daemon[5029]: accepted connection from pid 6687, user alice (trusted) machine # [258925.663078] machine nix-daemon[5029]: 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 machine # [258925.894753] machine nix-daemon[5029]: accepted connection from pid 6742, user alice (trusted) ok build --no-build uploads a filtered copy of an input member 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 # [258926.014278] machine nix-daemon[5029]: accepted connection from pid 6742, user alice (trusted) machine # [258926.456663] machine nix-daemon[5029]: accepted connection from pid 6856, user alice (trusted) machine # [258926.635642] machine nix-daemon[5029]: accepted connection from pid 6882, 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 # [258926.787067] machine nix-daemon[5029]: accepted connection from pid 6896, user alice (trusted) machine # [258926.958193] machine nix-daemon[5029]: accepted connection from pid 6918, user alice (trusted) machine # [258927.124191] machine nix-daemon[5029]: accepted connection from pid 6940, user alice (trusted) machine # [258927.317974] machine nix-daemon[5029]: accepted connection from pid 6962, user alice (trusted) ok git: a missing git input still goes through nix machine # [258927.550808] machine nix-daemon[5029]: accepted connection from pid 6985, user alice (trusted) machine # [258927.713328] machine nix-daemon[5029]: accepted connection from pid 6995, user alice (trusted) machine # [258927.761558] machine nix-daemon[5029]: accepted connection from pid 7016, user alice (trusted) ok git: without nix the error names the input machine # [258927.943993] machine nix-daemon[5029]: accepted connection from pid 7039, user alice (trusted) machine # [258928.112855] machine nix-daemon[5029]: accepted connection from pid 7049, 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 no lock, no inputs: sourceInfo machine # [258928.273598] machine nix-daemon[5029]: accepted connection from pid 7058, user alice (trusted) machine # [258928.399651] machine nix-daemon[5029]: accepted connection from pid 7091, 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 machine # [258928.607115] machine nix-daemon[5029]: accepted connection from pid 7121, user alice (trusted) ok no lock, a declared input: nix flake lock writes flake.lock ok no lock, a declared input: evaluates after nix flake lock ok no lock, an argument of outputs: an error that names it machine # [258928.990976] machine nix-daemon[5029]: accepted connection from pid 7185, user alice (trusted) machine # [258929.142282] machine nix-daemon[5029]: accepted connection from pid 7207, 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 # [258929.436429] machine nix-daemon[5029]: accepted connection from pid 7245, user alice (trusted) machine # [258929.638445] machine nix-daemon[5029]: accepted connection from pid 7264, 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 # [258929.838852] machine nix-daemon[5029]: accepted connection from pid 7290, user alice (trusted) machine # [258930.083743] machine nix-daemon[5029]: accepted connection from pid 7324, user alice (trusted) ok sym: an absolute link is refused ok sym: a link to an untracked file is Nix's git error machine # [258930.310036] machine nix-daemon[5029]: accepted connection from pid 7358, user alice (trusted) machine # [258930.546370] machine nix-daemon[5029]: accepted connection from pid 7393, user alice (trusted) ok sym: readFile through a tracked link to a tracked directory ok sym: readDir of a tracked link to a tracked directory ok sym: pathExists of a tracked link to a tracked directory machine # [258930.773172] machine nix-daemon[5029]: accepted connection from pid 7427, user alice (trusted) machine # [258931.008653] machine nix-daemon[5029]: accepted connection from pid 7461, user alice (trusted) ok sym: a flake directory that is a link is the working tree machine # [258931.256252] machine nix-daemon[5029]: accepted connection from pid 7497, user alice (trusted) machine # [258931.507680] machine nix-daemon[5029]: accepted connection from pid 7539, user alice (trusted) ok sparse: the whole tree is clean ok sparse: an index entry that is not on disk makes it dirty machine # [258931.736944] machine nix-daemon[5029]: accepted connection from pid 7576, user alice (trusted) 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/rbmlq4l7ysyw01wr8c6w5r9xbfa3diq9-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/flaketest.nu' >&2, in 77.20 seconds) (finished: run the VM test script, in 95.80 seconds) test script finished in 95.84s cleanup kill NspawnMachine (pid 50) Container machine terminated by signal KILL. (finished: cleanup, in 0.12 seconds)