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 # [133148.941830] machine systemd-journald[57]: Journal started machine # [133148.941871] machine systemd-journald[57]: Runtime Journal (/run/log/journal/22dabae0fb7a4650a80c6f8f1faac913) is 8M, max 2.5G, 2.5G free. machine # [133148.963302] machine systemd[1]: Finished Apply Kernel Variables. machine # [133148.982052] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [133148.998945] machine systemd[1]: Starting Flush Journal to Persistent Storage... machine # [133148.999488] machine systemd[1]: Starting Create Static Device Nodes in /dev... machine # [133149.019957] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/22dabae0fb7a4650a80c6f8f1faac913 is 800us for 6 entries. machine # [133149.019957] machine systemd-journald[57]: System Journal (/var/log/journal/22dabae0fb7a4650a80c6f8f1faac913) is 512B, max 4G, 3.9G free. machine # [133149.038279] machine systemd[1]: Finished Flush Journal to Persistent Storage. machine # [133149.038515] machine systemd[1]: Finished Create Static Device Nodes in /dev. machine # [133149.039308] machine systemd[1]: Reached target Preparation for Local File Systems. machine # [133149.039402] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys machine # [133149.053491] machine systemd[1]: Finished Firewall. machine # [133149.962237] machine systemd[1]: Mounting /run/wrappers... machine # [133149.986066] machine systemd[1]: Mounted /run/wrappers. machine # [133149.986534] machine systemd[1]: Reached target Local File Systems. machine # [133149.987329] machine systemd[1]: Listening on Boot Loader Control Service Socket. machine # [133149.987942] machine systemd[1]: Starting Create SUID/SGID Wrappers... machine # [133149.987969] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container machine # [133149.988458] machine systemd[1]: Starting Save Transient machine-id to Disk... machine # [133149.988834] machine systemd[1]: Starting Create System Files and Directories... machine # [133150.015807] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted machine # [133150.015916] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted machine # [133150.015987] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/22dabae0fb7a4650a80c6f8f1faac913 failed: Operation not permitted machine # [133150.016097] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted machine # [133150.020116] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.gw9O9Bcptz/chsh': Operation not permitted machine # [133150.065986] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. machine # [133150.066779] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE machine # [133150.066849] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. machine # [133150.066964] machine systemd[1]: Failed to start Create SUID/SGID Wrappers. machine # [133150.067140] machine systemd[1]: Finished Save Transient machine-id to Disk. machine # [133150.067402] machine systemd[1]: Finished Create System Files and Directories. machine # [133150.110393] machine systemd[1]: Starting Rebuild Journal Catalog... machine # [133150.111145] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [133150.138096] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. machine # [133150.146502] machine systemd[1]: Finished Rebuild Journal Catalog. machine # [133150.147984] machine systemd[1]: Starting Update is Completed... machine # [133150.154609] machine systemd[1]: Finished Update is Completed. machine # [133150.154983] machine systemd[1]: Reached target System Initialization. machine # [133150.155089] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container machine # [133150.155131] machine systemd[1]: Started Daily Cleanup of Temporary Directories. machine # [133150.155153] machine systemd[1]: Reached target Timer Units. machine # [133150.155269] machine systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [133150.155377] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. machine # [133150.155575] machine systemd[1]: Reached target Socket Units. machine # [133150.155604] machine systemd[1]: Reached target Basic System. machine # [133150.156544] machine systemd[1]: Starting Import lastlog data into lastlog2 database... machine # [133150.157492] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [133150.158378] machine systemd[1]: Starting resolvconf update... machine # [133150.173421] machine systemd[1]: Finished Import lastlog data into lastlog2 database. machine # [133150.208873] machine resolvconf-start[231]: setfacl: /run/resolvconf: Operation not supported machine # [133150.210325] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE machine # [133150.210430] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'. machine # [133150.210600] machine systemd[1]: Failed to start resolvconf update. machine # [133150.211188] machine systemd[1]: Reached target Preparation for Network. machine # [133150.212059] machine systemd[1]: Starting Address configuration of eth1... machine # [133150.212653] machine systemd[1]: Starting Extra networking commands.... machine # [133150.220457] machine systemd[1]: nscd.service: Deactivated successfully. machine # [133150.236275] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd). machine # [133150.238255] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [133150.249097] machine network-addresses-eth1-start[233]: adding address 192.168.1.1/24... done machine # [133150.251172] machine network-addresses-eth1-start[233]: adding address 2001:db8:1::1/64... done machine # [133150.254310] machine systemd[1]: Finished Address configuration of eth1. machine # [133150.281034] machine systemd[1]: Finished Extra networking commands.. machine # [133150.281155] machine systemd[1]: Reached target Network. machine # [133150.578479] machine nsncd[238]: Oct 17 09:51:51.601 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [133150.578537] machine systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [133150.578627] machine systemd[1]: Reached target Host and Network Name Lookups. machine # [133150.578709] machine systemd[1]: Reached target User and Group Name Lookups. machine # [133150.580041] machine systemd[1]: Starting User Login Management... machine # [133150.581268] machine systemd[1]: Starting Permit User Sessions... machine # [133150.608043] machine systemd[1]: Finished Permit User Sessions. machine # [133150.609346] machine systemd[1]: Started Console Getty. machine # [133150.609438] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 machine # [133150.609466] machine systemd[1]: Reached target Login Prompts. machine # [133155.561194] machine systemd-logind[306]: New seat seat0. machine # [133155.563117] machine systemd[1]: Starting D-Bus System Message Bus... machine # [133155.563308] machine systemd[1]: Started User Login Management. machine # [133155.564349] machine systemd[1]: Starting linger-users.service... machine # [133155.616196] machine systemd[1]: linger-users.service: Deactivated successfully. machine # [133155.616814] machine systemd[1]: Finished linger-users.service. machine # [133155.616936] machine systemd[1]: Reached target Multi-User System. machine # [133156.906742] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'... machine # [133156.907567] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync' machine # [133156.907567] 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 # [133156.907940] machine systemd[1]: Started D-Bus System Message Bus. machine # [133156.908159] machine systemd[1]: Startup finished in 8.323s. machine # [133156.916542] machine dbus-broker-launch[316]: Ready machine: (finished: waiting for unit multi-user.target, in 9.15 seconds) machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/mzz1qklf8bmdzxqp64vhhz5g1ypqj8p1-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/mzz1qklf8bmdzxqp64vhhz5g1ypqj8p1-closure-info, in 12.02 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/r1nd5i56ycwbghj4n6j1fb32h223zjdr-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/r1nd5i56ycwbghj4n6j1fb32h223zjdr-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.08 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 # [133169.335816] machine systemd[1]: Listening on Nix Daemon Socket. machine # [133169.430766] 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.21 seconds) machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/qy65sqz5kv7y3g4znlyaffhf5lm5a7d2-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/flaketest.nu' >&2 machine # [133169.625053] machine runuser[4907]: pam_unix(runuser-l:session): session closed for user alice machine # [133169.635594] machine runuser[4920]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0) machine # [133169.773386] machine systemd[1]: Started Nix Daemon. machine # [133169.836334] machine nix-daemon[5010]: accepted connection from pid 4990, user alice (trusted) machine # [133172.442426] machine nix-daemon[5010]: accepted connection from pid 5031, user alice (trusted) ok repo packages.default machine # [133173.508384] machine nix-daemon[5010]: accepted connection from pid 5047, user alice (trusted) machine # [133173.708443] machine nix-daemon[5010]: accepted connection from pid 5080, user alice (trusted) machine # [133173.841559] machine nix-daemon[5010]: accepted connection from pid 5103, user alice (trusted) ok big: devShell machine # [133180.581241] machine nix-daemon[5010]: accepted connection from pid 5125, user alice (trusted) machine # [133180.727669] machine nix-daemon[5010]: accepted connection from pid 5135, user alice (trusted) ok big: devShell, IETS_WORKERS=8 machine # [133188.747158] machine nix-daemon[5010]: accepted connection from pid 5157, user alice (trusted) machine # [133188.960246] machine nix-daemon[5010]: accepted connection from pid 5171, user alice (trusted) ok big: nixosConfigurations.scratch toplevel machine # [133205.418429] 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 # [133207.084161] machine nix-daemon[5010]: accepted connection from pid 5211, user alice (trusted) machine # [133207.282143] machine nix-daemon[5010]: accepted connection from pid 5229, user alice (trusted) ok worktree: clean tree nix never saw, nothing fetched machine # [133207.732081] machine nix-daemon[5010]: accepted connection from pid 5275, user alice (trusted) machine # [133207.909419] machine nix-daemon[5010]: accepted connection from pid 5299, user alice (trusted) machine # [133208.042270] 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 # [133208.483121] machine nix-daemon[5010]: accepted connection from pid 5349, user alice (trusted) machine # [133208.640778] machine nix-daemon[5010]: accepted connection from pid 5371, user alice (trusted) ok worktree: dirty tree, pinned rev is still the commit machine # [133208.803315] machine nix-daemon[5010]: accepted connection from pid 5393, user alice (trusted) machine # [133209.303254] machine nix-daemon[5010]: accepted connection from pid 5414, user alice (trusted) machine # [133209.731183] 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 ok scratch: a string of the tree metadata has no context machine # [133210.861767] machine nix-daemon[5010]: accepted connection from pid 5454, user alice (trusted) machine # [133211.064646] machine nix-daemon[5010]: accepted connection from pid 5489, user alice (trusted) ok scratch: --raw on a derivation prints its outPath machine # [133211.263546] machine nix-daemon[5010]: accepted connection from pid 5523, user alice (trusted) machine # [133211.459767] 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 # [133211.637680] machine nix-daemon[5010]: accepted connection from pid 5597, user alice (trusted) machine # [133211.842166] machine nix-daemon[5010]: accepted connection from pid 5630, user alice (trusted) ok scratch: dirty tree (deleted tracked file) machine # [133212.034927] machine nix-daemon[5010]: accepted connection from pid 5676, user alice (trusted) machine # [133212.233265] 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 ok scratch: tree-meta-in-drv names the metadata of a clean tree machine # [133212.444849] machine nix-daemon[5010]: accepted connection from pid 5750, user alice (trusted) machine # [133212.675785] 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 # [133212.851498] machine nix-daemon[5010]: accepted connection from pid 5833, user alice (trusted) machine # [133213.045678] 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 # [133213.341326] machine nix-daemon[5010]: accepted connection from pid 5973, user alice (trusted) machine # [133213.531505] machine nix-daemon[5010]: accepted connection from pid 6007, user alice (trusted) machine # [133213.759255] 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 # [133214.606307] machine nix-daemon[5010]: accepted connection from pid 6361, user alice (trusted) machine # [133214.796727] machine nix-daemon[5010]: accepted connection from pid 6404, user alice (trusted) machine # [133214.964479] machine nix-daemon[5010]: accepted connection from pid 6426, user alice (trusted) ok revCount: locked input machine # [133215.120992] machine nix-daemon[5010]: accepted connection from pid 6448, user alice (trusted) ok rev-count: an input is silent without [lint.inputs.lib] machine # [133215.253026] machine nix-daemon[5010]: accepted connection from pid 6458, user alice (trusted) machine # [133215.380734] machine nix-daemon[5010]: accepted connection from pid 6468, user alice (trusted) machine # [133215.542458] machine nix-daemon[5010]: accepted connection from pid 6478, user alice (trusted) ok revCount: dirty tree machine # [133215.728437] machine nix-daemon[5010]: accepted connection from pid 6519, user alice (trusted) machine # [133215.872098] machine nix-daemon[5010]: accepted connection from pid 6545, user alice (trusted) machine # [133216.021068] machine nix-daemon[5010]: accepted connection from pid 6567, user alice (trusted) machine # [133216.169329] machine nix-daemon[5010]: accepted connection from pid 6589, 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 # [133216.311856] machine nix-daemon[5010]: accepted connection from pid 6612, user alice (trusted) machine # [133216.479120] machine nix-daemon[5010]: accepted connection from pid 6650, user alice (trusted) machine # [133216.594967] machine nix-daemon[5010]: accepted connection from pid 6650, user alice (trusted) machine # [133216.619307] machine nix-daemon[5010]: accepted connection from pid 6667, user alice (trusted) ok build --no-build sends the input's NAR out of the input store and the daemon holds it machine # [133216.760154] machine nix-daemon[5010]: accepted connection from pid 6677, user alice (trusted) machine # [133216.928644] machine nix-daemon[5010]: accepted connection from pid 6722, user alice (trusted) machine # [133217.047200] machine nix-daemon[5010]: accepted connection from pid 6722, 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 # [133217.291244] machine nix-daemon[5010]: accepted connection from pid 6834, 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 # [133217.441647] machine nix-daemon[5010]: accepted connection from pid 6860, user alice (trusted) machine # [133217.590611] machine nix-daemon[5010]: accepted connection from pid 6874, user alice (trusted) machine # [133217.765519] machine nix-daemon[5010]: accepted connection from pid 6896, user alice (trusted) machine # [133217.933034] machine nix-daemon[5010]: accepted connection from pid 6918, user alice (trusted) machine # [133218.101229] machine nix-daemon[5010]: accepted connection from pid 6940, user alice (trusted) machine # [133218.241928] machine nix-daemon[5010]: accepted connection from pid 6963, user alice (trusted) ok git: a missing git input still goes through nix ok git: without nix the error names the input machine # [133218.402916] machine nix-daemon[5010]: accepted connection from pid 6973, user alice (trusted) machine # [133218.440956] machine nix-daemon[5010]: accepted connection from pid 6994, user alice (trusted) machine # [133218.576921] machine nix-daemon[5010]: accepted connection from pid 7017, user alice (trusted) machine # [133218.706874] machine nix-daemon[5010]: accepted connection from pid 7027, 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 # [133218.863477] machine nix-daemon[5010]: accepted connection from pid 7036, user alice (trusted) machine # [133218.927983] machine nix-daemon[5010]: accepted connection from pid 7069, user alice (trusted) ok no lock, no inputs: sourceInfo 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 # [133219.087816] machine nix-daemon[5010]: accepted connection from pid 7099, user alice (trusted) machine # [133219.293907] machine nix-daemon[5010]: accepted connection from pid 7163, user alice (trusted) machine # [133219.413291] machine nix-daemon[5010]: accepted connection from pid 7185, 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 # [133219.581038] machine nix-daemon[5010]: accepted connection from pid 7223, user alice (trusted) machine # [133219.725841] machine nix-daemon[5010]: accepted connection from pid 7242, user alice (trusted) ok prefetch-inputs: an unfetchable input is an error that names it, exit 1 machine # [133219.914575] machine nix-daemon[5010]: accepted connection from pid 7268, user alice (trusted) ok sym: a link out of the tree is refused ok sym: an absolute link is refused ok sym: a link to an untracked file is Nix's git error machine # [133220.110373] machine nix-daemon[5010]: accepted connection from pid 7302, user alice (trusted) machine # [133220.306961] machine nix-daemon[5010]: accepted connection from pid 7336, user alice (trusted) machine # [133220.471153] machine nix-daemon[5010]: accepted connection from pid 7371, user alice (trusted) ok sym: readFile through a tracked link to a tracked directory machine # [133220.659528] machine nix-daemon[5010]: accepted connection from pid 7405, user alice (trusted) ok sym: readDir of a tracked link to a tracked directory 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 # [133220.850738] machine nix-daemon[5010]: accepted connection from pid 7439, user alice (trusted) machine # [133221.044232] machine nix-daemon[5010]: accepted connection from pid 7475, user alice (trusted) ok sparse: the whole tree is clean machine # [133221.242158] machine nix-daemon[5010]: accepted connection from pid 7517, user alice (trusted) machine # [133221.439758] machine nix-daemon[5010]: accepted connection from pid 7554, 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/qy65sqz5kv7y3g4znlyaffhf5lm5a7d2-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/flaketest.nu' >&2, in 52.13 seconds) (finished: run the VM test script, in 73.60 seconds) test script finished in 73.63s cleanup kill NspawnMachine (pid 50) (finished: cleanup, in 0.11 seconds) Container machine terminated by signal KILL.