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 # [182597.874633] machine systemd-journald[57]: Journal started machine # [182597.874690] machine systemd-journald[57]: Runtime Journal (/run/log/journal/72d3aca73da540ce9b679c46aa259034) is 8M, max 2.5G, 2.5G free. machine # [182597.891591] machine systemd[1]: Finished Apply Kernel Variables. machine # [182597.916881] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [182597.938097] machine systemd[1]: Starting Flush Journal to Persistent Storage... machine # [182597.938560] machine systemd[1]: Starting Create Static Device Nodes in /dev... machine # [182597.945386] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/72d3aca73da540ce9b679c46aa259034 is 1.030ms for 6 entries. machine # [182597.945386] machine systemd-journald[57]: System Journal (/var/log/journal/72d3aca73da540ce9b679c46aa259034) is 512B, max 4G, 3.9G free. machine # [182597.958771] machine systemd[1]: Finished Flush Journal to Persistent Storage. machine # [182597.959606] machine systemd[1]: Finished Create Static Device Nodes in /dev. machine # [182597.960443] machine systemd[1]: Reached target Preparation for Local File Systems. machine # [182597.960521] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys machine # [182597.978511] machine systemd[1]: Finished Firewall. machine # [182598.874675] machine systemd[1]: Mounting /run/wrappers... machine # [182598.919235] machine systemd[1]: Mounted /run/wrappers. machine # [182598.919730] machine systemd[1]: Reached target Local File Systems. machine # [182598.920540] machine systemd[1]: Listening on Boot Loader Control Service Socket. machine # [182598.921307] machine systemd[1]: Starting Create SUID/SGID Wrappers... machine # [182598.921334] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container machine # [182598.921838] machine systemd[1]: Starting Save Transient machine-id to Disk... machine # [182598.922279] machine systemd[1]: Starting Create System Files and Directories... machine # [182598.954537] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted machine # [182598.954679] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted machine # [182598.954775] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/72d3aca73da540ce9b679c46aa259034 failed: Operation not permitted machine # [182598.954905] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted machine # [182598.960366] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.3WnyHVpvIk/chsh': Operation not permitted machine # [182598.961422] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE machine # [182598.961494] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. machine # [182598.961666] machine systemd[1]: Failed to start Create SUID/SGID Wrappers. machine # [182598.961904] machine systemd[1]: Finished Create System Files and Directories. machine # [182598.979567] machine systemd[1]: Starting Rebuild Journal Catalog... machine # [182598.980091] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [182598.995809] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. machine # [182599.003352] machine systemd[1]: Finished Save Transient machine-id to Disk. machine # [182599.010848] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. machine # [182599.020065] machine systemd[1]: Finished Rebuild Journal Catalog. machine # [182599.020850] machine systemd[1]: Starting Update is Completed... machine # [182599.028980] machine systemd[1]: Finished Update is Completed. machine # [182599.029102] machine systemd[1]: Reached target System Initialization. machine # [182599.029156] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container machine # [182599.029183] machine systemd[1]: Started Daily Cleanup of Temporary Directories. machine # [182599.029200] machine systemd[1]: Reached target Timer Units. machine # [182599.029284] machine systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [182599.029357] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. machine # [182599.029554] machine systemd[1]: Reached target Socket Units. machine # [182599.029651] machine systemd[1]: Reached target Basic System. machine # [182599.030446] machine systemd[1]: Starting Import lastlog data into lastlog2 database... machine # [182599.031107] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [182599.031530] machine systemd[1]: Starting resolvconf update... machine # [182599.042942] machine systemd[1]: Finished Import lastlog data into lastlog2 database. machine # [182599.078552] machine systemd[1]: nscd.service: Deactivated successfully. machine # [182599.078692] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd). machine # [182599.080328] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [182599.086711] machine resolvconf-start[235]: setfacl: /run/resolvconf: Operation not supported machine # [182599.087365] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE machine # [182599.087440] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'. machine # [182599.101204] machine systemd[1]: Failed to start resolvconf update. machine # [182599.101652] machine systemd[1]: Reached target Preparation for Network. machine # [182599.103044] machine systemd[1]: Starting Address configuration of eth1... machine # [182599.104320] machine systemd[1]: Starting Extra networking commands.... machine # [182599.121034] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done machine # [182599.123223] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done machine # [182599.126055] machine systemd[1]: Finished Address configuration of eth1. machine # [182599.155380] machine systemd[1]: Finished Extra networking commands.. machine # [182599.155505] machine systemd[1]: Reached target Network. machine # [182599.265109] machine nsncd[231]: Oct 17 23:36:00.287 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [182599.265193] machine systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [182599.265248] machine systemd[1]: Reached target Host and Network Name Lookups. machine # [182599.265292] machine systemd[1]: Reached target User and Group Name Lookups. machine # [182599.266390] machine systemd[1]: Starting User Login Management... machine # [182599.267067] machine systemd[1]: Starting Permit User Sessions... machine # [182599.295625] machine systemd[1]: Finished Permit User Sessions. machine # [182599.296395] machine systemd[1]: Started Console Getty. machine # [182599.296417] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 machine # [182599.296430] machine systemd[1]: Reached target Login Prompts. machine # [182600.272279] machine systemd-logind[306]: New seat seat0. machine # [182600.273206] machine systemd[1]: Starting D-Bus System Message Bus... machine # [182600.273297] machine systemd[1]: Started User Login Management. machine # [182600.273965] machine systemd[1]: Starting linger-users.service... machine # [182600.309935] machine systemd[1]: linger-users.service: Deactivated successfully. machine # [182600.310093] machine systemd[1]: Finished linger-users.service. machine # [182600.310481] machine systemd[1]: Reached target Multi-User System. machine: (finished: waiting for unit multi-user.target, in 3.65 seconds) machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/yw5xj2nnilmbnnlq8gii7g367rr079j8-closure-info machine # [182600.684637] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'... machine # [182600.685194] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync' machine # [182600.685194] 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 # [182600.685555] machine systemd[1]: Started D-Bus System Message Bus. machine # [182600.685854] machine systemd[1]: Startup finished in 3.159s. machine # [182600.691224] 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/yw5xj2nnilmbnnlq8gii7g367rr079j8-closure-info, in 12.20 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/gqhniw35hfcrvmy9rwivyl20a72d40n0-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/gqhniw35hfcrvmy9rwivyl20a72d40n0-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 # [182612.941109] machine systemd[1]: Listening on Nix Daemon Socket. machine # [182613.046745] 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.17 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 # [182613.203898] machine runuser[4907]: pam_unix(runuser-l:session): session closed for user alice machine # [182613.216670] machine runuser[4920]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0) machine # [182613.333206] machine systemd[1]: Started Nix Daemon. machine # [182613.395651] machine nix-daemon[5010]: accepted connection from pid 4990, user alice (trusted) machine # [182616.604195] machine nix-daemon[5010]: accepted connection from pid 5031, user alice (trusted) ok repo packages.default machine # [182618.444194] machine nix-daemon[5010]: accepted connection from pid 5047, user alice (trusted) machine # [182618.688603] machine nix-daemon[5010]: accepted connection from pid 5080, user alice (trusted) machine # [182618.805786] machine nix-daemon[5010]: accepted connection from pid 5103, user alice (trusted) ok big: devShell machine # [182627.380358] machine nix-daemon[5010]: accepted connection from pid 5125, user alice (trusted) machine # [182627.749694] machine nix-daemon[5010]: accepted connection from pid 5135, user alice (trusted) ok big: devShell, IETS_WORKERS=8 machine # [182634.787668] machine nix-daemon[5010]: accepted connection from pid 5157, user alice (trusted) machine # [182635.024671] machine nix-daemon[5010]: accepted connection from pid 5171, user alice (trusted) ok big: nixosConfigurations.scratch toplevel machine # [182651.068620] 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 # [182653.164754] machine nix-daemon[5010]: accepted connection from pid 5211, user alice (trusted) machine # [182653.402172] machine nix-daemon[5010]: accepted connection from pid 5229, user alice (trusted) ok worktree: clean tree nix never saw, nothing fetched machine # [182653.607712] machine nix-daemon[5010]: accepted connection from pid 5275, user alice (trusted) machine # [182653.795027] machine nix-daemon[5010]: accepted connection from pid 5299, user alice (trusted) machine # [182653.958888] machine nix-daemon[5010]: accepted connection from pid 5321, user alice (trusted) ok worktree: pinned by rev, drvPath ok worktree: dirty tree nix never saw, nothing fetched machine # [182654.207490] machine nix-daemon[5010]: accepted connection from pid 5349, user alice (trusted) machine # [182654.360894] machine nix-daemon[5010]: accepted connection from pid 5371, user alice (trusted) machine # [182654.511016] machine nix-daemon[5010]: accepted connection from pid 5393, user alice (trusted) ok worktree: dirty tree, pinned rev is still the commit machine # [182655.046176] machine nix-daemon[5010]: accepted connection from pid 5414, user alice (trusted) machine # [182656.465072] machine nix-daemon[5010]: accepted connection from pid 5430, user alice (trusted) ok worktree: this repo's packages.default, nothing fetched ok scratch: clean tree machine # [182657.580679] machine nix-daemon[5010]: accepted connection from pid 5454, user alice (trusted) ok scratch: a string of the tree metadata has no context ok scratch: --raw on a derivation prints its outPath machine # [182658.037184] machine nix-daemon[5010]: accepted connection from pid 5489, user alice (trusted) machine # [182658.778558] machine nix-daemon[5010]: accepted connection from pid 5523, user alice (trusted) machine # [182658.944590] machine nix-daemon[5010]: accepted connection from pid 5558, user alice (trusted) ok scratch: untracked file is ignored ok git: reading an untracked file is Nix's error, the hint is the git add ok scratch: dirty tree (modified tracked file) ok scratch: tree-meta-in-drv names the metadata of a dirty tree machine # [182659.144228] machine nix-daemon[5010]: accepted connection from pid 5597, user alice (trusted) machine # [182659.341618] machine nix-daemon[5010]: accepted connection from pid 5630, user alice (trusted) ok scratch: dirty tree (deleted tracked file) ok scratch: dirty tree (staged new file) machine # [182659.570983] machine nix-daemon[5010]: accepted connection from pid 5676, user alice (trusted) machine # [182659.741061] machine nix-daemon[5010]: accepted connection from pid 5712, user alice (trusted) ok scratch: clean again after commit ok scratch: tree-meta-in-drv names the metadata of a clean tree machine # [182659.947960] machine nix-daemon[5010]: accepted connection from pid 5750, user alice (trusted) machine # [182660.179251] machine nix-daemon[5010]: accepted connection from pid 5798, user alice (trusted) ok scratch: subdirectory flake ref ok scratch: path: ref copies the whole tree 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 machine # [182660.357113] machine nix-daemon[5010]: accepted connection from pid 5833, user alice (trusted) machine # [182660.551643] machine nix-daemon[5010]: accepted connection from pid 5863, user alice (trusted) ok cache: a commit misses on a git command ok revCount: clean tree machine # [182660.847518] machine nix-daemon[5010]: accepted connection from pid 5973, user alice (trusted) machine # [182661.041325] machine nix-daemon[5010]: accepted connection from pid 6007, user alice (trusted) machine # [182661.266701] 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 ok revCount: each spelling gives the value of Nix machine # [182662.172080] machine nix-daemon[5010]: accepted connection from pid 6361, user alice (trusted) machine # [182662.354246] machine nix-daemon[5010]: accepted connection from pid 6404, user alice (trusted) machine # [182662.523338] machine nix-daemon[5010]: accepted connection from pid 6426, user alice (trusted) ok revCount: locked input machine # [182662.679258] machine nix-daemon[5010]: accepted connection from pid 6448, user alice (trusted) machine # [182662.811126] machine nix-daemon[5010]: accepted connection from pid 6458, user alice (trusted) ok rev-count: an input is silent without [lint.inputs.lib] machine # [182662.943090] machine nix-daemon[5010]: accepted connection from pid 6468, user alice (trusted) ok revCount: dirty tree machine # [182663.108283] machine nix-daemon[5010]: accepted connection from pid 6478, user alice (trusted) machine # [182663.296607] machine nix-daemon[5010]: accepted connection from pid 6519, user alice (trusted) machine # [182663.469668] machine nix-daemon[5010]: accepted connection from pid 6546, user alice (trusted) machine # [182663.619421] machine nix-daemon[5010]: accepted connection from pid 6568, user alice (trusted) machine # [182663.770781] machine nix-daemon[5010]: accepted connection from pid 6590, 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 # [182663.914202] machine nix-daemon[5010]: accepted connection from pid 6613, user alice (trusted) machine # [182664.085717] machine nix-daemon[5010]: accepted connection from pid 6651, user alice (trusted) machine # [182664.203341] machine nix-daemon[5010]: accepted connection from pid 6651, user alice (trusted) machine # [182664.229260] machine nix-daemon[5010]: accepted connection from pid 6668, user alice (trusted) ok build --no-build sends the input's NAR out of the input store and the daemon holds it machine # [182664.375072] machine nix-daemon[5010]: accepted connection from pid 6678, user alice (trusted) machine # [182664.543676] machine nix-daemon[5010]: accepted connection from pid 6723, user alice (trusted) machine # [182664.659732] machine nix-daemon[5010]: accepted connection from pid 6723, 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 # [182664.904920] machine nix-daemon[5010]: accepted connection from pid 6835, 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 # [182665.054439] machine nix-daemon[5010]: accepted connection from pid 6861, user alice (trusted) machine # [182665.203347] machine nix-daemon[5010]: accepted connection from pid 6875, user alice (trusted) machine # [182665.371023] machine nix-daemon[5010]: accepted connection from pid 6897, user alice (trusted) machine # [182665.539654] machine nix-daemon[5010]: accepted connection from pid 6919, user alice (trusted) machine # [182665.707655] machine nix-daemon[5010]: accepted connection from pid 6941, user alice (trusted) machine # [182665.852017] machine nix-daemon[5010]: accepted connection from pid 6964, user alice (trusted) machine # [182666.015701] machine nix-daemon[5010]: accepted connection from pid 6974, user alice (trusted) ok git: a missing git input still goes through nix ok git: without nix the error names the input machine # [182666.054605] machine nix-daemon[5010]: accepted connection from pid 6995, user alice (trusted) machine # [182666.197057] machine nix-daemon[5010]: accepted connection from pid 7018, 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 # [182666.329871] machine nix-daemon[5010]: accepted connection from pid 7028, user alice (trusted) machine # [182666.491610] machine nix-daemon[5010]: accepted connection from pid 7037, user alice (trusted) machine # [182666.562547] machine nix-daemon[5010]: accepted connection from pid 7070, 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 # [182666.724547] machine nix-daemon[5010]: accepted connection from pid 7100, user alice (trusted) machine # [182666.940565] machine nix-daemon[5010]: accepted connection from pid 7164, 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 ok lock: an entry without narHash has a hint that names the input machine # [182667.091678] machine nix-daemon[5010]: accepted connection from pid 7186, user alice (trusted) machine # [182667.256290] machine nix-daemon[5010]: accepted connection from pid 7224, user alice (trusted) machine # [182667.399053] machine nix-daemon[5010]: accepted connection from pid 7243, 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 # [182667.585017] machine nix-daemon[5010]: accepted connection from pid 7269, user alice (trusted) machine # [182667.789108] machine nix-daemon[5010]: accepted connection from pid 7303, user alice (trusted) ok sym: an absolute link is refused machine # [182667.985092] machine nix-daemon[5010]: accepted connection from pid 7337, 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 ok sym: readDir of a tracked link to a tracked directory machine # [182668.183730] machine nix-daemon[5010]: accepted connection from pid 7372, user alice (trusted) machine # [182668.378671] machine nix-daemon[5010]: accepted connection from pid 7406, 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 # [182668.575084] machine nix-daemon[5010]: accepted connection from pid 7440, user alice (trusted) machine # [182668.771892] machine nix-daemon[5010]: accepted connection from pid 7476, user alice (trusted) machine # [182668.977777] machine nix-daemon[5010]: accepted connection from pid 7518, user alice (trusted) ok sparse: the whole tree is clean machine # [182669.176561] machine nix-daemon[5010]: accepted connection from pid 7555, 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/rbmlq4l7ysyw01wr8c6w5r9xbfa3diq9-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/flaketest.nu' >&2, in 56.29 seconds) (finished: run the VM test script, in 72.41 seconds) test script finished in 72.46s cleanup kill NspawnMachine (pid 50) Container machine terminated by signal KILL. (finished: cleanup, in 0.12 seconds)