Machine state will be reset. To keep it, pass --keep-machine-state start all VLans (finished: start all VLans, in 0.01 seconds) 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 # No journal files were found. machine # No journal boot entry found for the specified boot (+0). machine # No journal files were found. machine # No journal boot entry found for the specified boot (+0). machine # [1333474.922663] machine systemd-journald[57]: Journal started machine # [1333474.922741] machine systemd-journald[57]: Runtime Journal (/run/log/journal/2255fd2eaf004e53baeaf587b25f5a23) is 8M, max 2.5G, 2.5G free. machine # [1333474.955257] machine systemd[1]: Finished Apply Kernel Variables. machine # [1333474.977934] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [1333475.026159] machine systemd[1]: Starting Flush Journal to Persistent Storage... machine # [1333475.033294] machine systemd[1]: Starting Create Static Device Nodes in /dev... machine # [1333475.065667] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/2255fd2eaf004e53baeaf587b25f5a23 is 2.110ms for 6 entries. machine # [1333475.065667] machine systemd-journald[57]: System Journal (/var/log/journal/2255fd2eaf004e53baeaf587b25f5a23) is 512B, max 4G, 3.9G free. machine # [1333475.085234] machine systemd[1]: Finished Create Static Device Nodes in /dev. machine # [1333475.087859] machine systemd[1]: Reached target Preparation for Local File Systems. machine # [1333475.088167] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys machine # [1333475.098634] machine systemd[1]: Finished Flush Journal to Persistent Storage. machine # [1333475.411964] machine systemd[1]: Finished Firewall. machine # [1333476.043630] machine systemd[1]: Mounting /run/wrappers... machine # [1333476.162103] machine systemd[1]: Mounted /run/wrappers. machine # [1333476.167348] machine systemd[1]: Reached target Local File Systems. machine # [1333476.168562] machine systemd[1]: Listening on Boot Loader Control Service Socket. machine # [1333476.174164] machine systemd[1]: Starting Create SUID/SGID Wrappers... machine # [1333476.174226] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container machine # [1333476.178148] machine systemd[1]: Starting Save Transient machine-id to Disk... machine # [1333476.207308] machine systemd[1]: Starting Create System Files and Directories... machine # [1333476.258276] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted machine # [1333476.258482] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted machine # [1333476.258599] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/2255fd2eaf004e53baeaf587b25f5a23 failed: Operation not permitted machine # [1333476.258753] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted machine # [1333476.262047] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.V1hJI9uMr5/chsh': Operation not permitted machine # [1333476.269184] machine systemd[1]: Finished Create System Files and Directories. machine # [1333476.387768] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE machine # [1333476.387871] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. machine # [1333476.388092] machine systemd[1]: Failed to start Create SUID/SGID Wrappers. machine # [1333476.407166] machine systemd[1]: Starting Rebuild Journal Catalog... machine # [1333476.415133] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [1333476.461047] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. machine # [1333476.501263] machine systemd[1]: Finished Rebuild Journal Catalog. machine # [1333476.506065] machine systemd[1]: Starting Update is Completed... machine # [1333476.577495] machine systemd[1]: Finished Update is Completed. machine # [1333476.577617] machine systemd[1]: Reached target System Initialization. machine # [1333476.577702] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container machine # [1333476.577735] machine systemd[1]: Started Daily Cleanup of Temporary Directories. machine # [1333476.577756] machine systemd[1]: Reached target Timer Units. machine # [1333476.577870] machine systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [1333476.577952] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. machine # [1333476.577977] machine systemd[1]: Reached target Socket Units. machine # [1333476.578217] machine systemd[1]: Reached target Basic System. machine # [1333476.587977] machine systemd[1]: Starting Import lastlog data into lastlog2 database... machine # [1333476.610186] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [1333476.614116] machine systemd[1]: Starting resolvconf update... machine # [1333476.660239] machine systemd[1]: Finished Import lastlog data into lastlog2 database. machine # [1333477.141440] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. machine # [1333477.155745] machine systemd[1]: Finished Save Transient machine-id to Disk. machine # [1333477.229564] machine systemd[1]: nscd.service: Deactivated successfully. machine # [1333477.229736] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd). machine # [1333477.232761] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [1333477.305031] machine resolvconf-start[236]: setfacl: /run/resolvconf: Operation not supported machine # [1333477.306137] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE machine # [1333477.306218] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'. machine # [1333477.306364] machine systemd[1]: Failed to start resolvconf update. machine # [1333477.306989] machine systemd[1]: Reached target Preparation for Network. machine # [1333477.312131] machine systemd[1]: Starting Address configuration of eth1... machine # [1333477.322097] machine systemd[1]: Starting Extra networking commands.... machine # [1333477.384448] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done machine # [1333477.394468] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done machine # [1333477.408658] machine systemd[1]: Finished Address configuration of eth1. machine # [1333477.593416] machine systemd[1]: Finished Extra networking commands.. machine # [1333477.594041] machine systemd[1]: Reached target Network. machine # [1333478.120671] machine systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [1333478.122023] machine nsncd[227]: Oct 10 09:24:08.851 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [1333478.120742] machine systemd[1]: Reached target Host and Network Name Lookups. machine # [1333478.120784] machine systemd[1]: Reached target User and Group Name Lookups. machine # [1333478.127169] machine systemd[1]: Starting User Login Management... machine # [1333478.132133] machine systemd[1]: Starting Permit User Sessions... machine # [1333478.168985] machine systemd[1]: Finished Permit User Sessions. machine # [1333478.175150] machine systemd[1]: Started Console Getty. machine # [1333478.175221] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 machine # [1333478.175247] machine systemd[1]: Reached target Login Prompts. machine: still waiting for container 'machine' to reach ready state... machine # [1333486.950915] machine systemd-logind[306]: New seat seat0. machine # [1333486.951209] machine systemd[1]: Started User Login Management. machine # [1333486.959188] machine systemd[1]: Starting D-Bus System Message Bus... machine # [1333486.994644] machine systemd[1]: Starting linger-users.service... machine # [1333487.055943] machine systemd[1]: linger-users.service: Deactivated successfully. machine # [1333487.056200] machine systemd[1]: Finished linger-users.service. machine # [1333487.056352] machine systemd[1]: Reached target Multi-User System. machine: (finished: waiting for unit multi-user.target, in 17.24 seconds) machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/wh8sy7f4y14qzfjx617mickkbdpym4lm-closure-info machine # [1333489.764396] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'... machine # [1333489.770888] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync' machine # [1333489.770888] machine dbus-broker-launch[316]: Invalid user-name in /nix/store/z441alblwy32lyxiy8466qf85iyi2sdj-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" machine # [1333489.770367] machine systemd[1]: Started D-Bus System Message Bus. machine # [1333489.771432] machine systemd[1]: Startup finished in 15.928s. machine # [1333489.796400] 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/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/wh8sy7f4y14qzfjx617mickkbdpym4lm-closure-info, in 50.47 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/w09z2iqjk8pxm8ynidpsd9zm697qp7xc-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/w09z2iqjk8pxm8ynidpsd9zm697qp7xc-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.27 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 # [1333540.553056] machine systemd[1]: Listening on Nix Daemon Socket. machine # [1333540.847810] machine runuser[4868]: 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.40 seconds) machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/8cn03yqlc49fzd06hnpl7gajggjkaj8b-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/flaketest.nu' >&2 machine # [1333541.226471] machine runuser[4868]: pam_unix(runuser-l:session): session closed for user alice machine # [1333541.256016] machine runuser[4881]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0) machine # [1333541.658224] machine systemd[1]: Started Nix Daemon. machine # [1333541.782050] machine nix-daemon[4969]: accepted connection from pid 4949, user alice (trusted) FAIL repo packages.default nix: (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: Failed to open archive (Source threw exception: error: unable to download 'https://github.com/ipetkov/crane/archive/47b6b27ed9a3a9181415e4367d0c30ab2a0e0250.tar.gz': Could not resolve hostname (6) Could not resolve host: github.com) iets: … while calling 'f'' at /nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source/lib/customisation.nix:159:9 … from call site at /nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source/lib/customisation.nix:365:36 … while calling anonymous lambda at /nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source/lib/customisation.nix:365:33 machine # [1333554.917332] machine nix-daemon[4969]: accepted connection from pid 4995, user alice (trusted) machine # [1333555.112466] machine nix-daemon[4969]: accepted connection from pid 5013, user alice (trusted) machine # [1333555.674264] machine nix-daemon[4969]: accepted connection from pid 5046, user alice (trusted) machine # [1333555.879503] machine nix-daemon[4969]: accepted connection from pid 5069, user alice (trusted) ok big: devShell machine # [1333580.327593] machine nix-daemon[4969]: accepted connection from pid 5099, user alice (trusted) ok big: devShell, IETS_WORKERS=8 machine # [1333604.027871] machine nix-daemon[4969]: accepted connection from pid 5133, user alice (trusted) ok big: nixosConfigurations.scratch toplevel ok big: tree-meta-in-drv reports an input's metadata under [lint.inputs.lib] machine # [1333752.192220] machine nix-daemon[4969]: accepted connection from pid 5201, 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 # [1333753.952645] machine nix-daemon[4969]: accepted connection from pid 5247, user alice (trusted) machine # [1333754.879086] machine nix-daemon[4969]: accepted connection from pid 5281, user alice (trusted) ok worktree: dirty tree nix never saw, nothing fetched machine # [1333758.388688] machine nix-daemon[4969]: accepted connection from pid 5308, user alice (trusted) machine # [1333758.980516] machine nix-daemon[4969]: accepted connection from pid 5326, user alice (trusted) FAIL worktree: this repo's packages.default, nothing fetched nix: iets: … while calling 'f'' at /nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source/lib/customisation.nix:159:9 … from call site at /nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source/lib/customisation.nix:365:36 … while calling anonymous lambda at /nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source/lib/customisation.nix:365:33 machine # [1333763.791201] machine nix-daemon[4969]: accepted connection from pid 5355, user alice (trusted) ok scratch: clean tree machine # [1333765.204424] machine nix-daemon[4969]: accepted connection from pid 5390, user alice (trusted) ok scratch: a string of the tree metadata has no context machine # [1333767.997580] machine nix-daemon[4969]: accepted connection from pid 5424, user alice (trusted) ok scratch: --raw on a derivation prints its outPath machine # [1333770.948127] machine nix-daemon[4969]: accepted connection from pid 5459, user alice (trusted) ok scratch: untracked file is ignored machine # [1333775.284557] machine nix-daemon[4969]: accepted connection from pid 5499, user alice (trusted) ok git: reading an untracked file is Nix's error, the hint is the git add machine # [1333778.212062] machine nix-daemon[4969]: accepted connection from pid 5532, user alice (trusted) ok scratch: dirty tree (modified tracked file) ok scratch: tree-meta-in-drv names the metadata of a dirty tree machine # [1333783.028124] machine nix-daemon[4969]: accepted connection from pid 5578, user alice (trusted) ok scratch: dirty tree (deleted tracked file) machine # [1333787.144035] machine nix-daemon[4969]: accepted connection from pid 5614, user alice (trusted) ok scratch: dirty tree (staged new file) machine # [1333792.706976] machine nix-daemon[4969]: accepted connection from pid 5652, user alice (trusted) ok scratch: clean again after commit ok scratch: tree-meta-in-drv names the metadata of a clean tree machine # [1333803.453299] machine nix-daemon[4969]: accepted connection from pid 5700, user alice (trusted) ok scratch: subdirectory flake ref machine # [1333806.341890] machine nix-daemon[4969]: accepted connection from pid 5735, user alice (trusted) ok scratch: path: ref copies the whole tree machine # [1333808.199902] machine nix-daemon[4969]: accepted connection from pid 5765, 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 # [1333818.479602] machine nix-daemon[4969]: accepted connection from pid 5875, user alice (trusted) machine # [1333819.163625] machine nix-daemon[4969]: accepted connection from pid 5909, user alice (trusted) ok revCount: clean tree machine # [1333824.524060] machine nix-daemon[4969]: accepted connection from pid 5952, 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 # [1333849.098573] machine nix-daemon[4969]: accepted connection from pid 6263, user alice (trusted) ok revCount: each spelling gives the value of Nix machine # [1333852.644598] machine nix-daemon[4969]: accepted connection from pid 6306, user alice (trusted) machine # [1333853.005773] machine nix-daemon[4969]: accepted connection from pid 6328, user alice (trusted) ok revCount: locked input ok rev-count: an input is silent without [lint.inputs.lib] machine # [1333854.793022] machine nix-daemon[4969]: accepted connection from pid 6374, user alice (trusted) ok revCount: dirty tree machine # [1333855.528783] machine nix-daemon[4969]: accepted connection from pid 6415, user alice (trusted) machine # [1333855.983671] machine nix-daemon[4969]: accepted connection from pid 6444, user alice (trusted) machine # [1333856.216635] machine nix-daemon[4969]: accepted connection from pid 6466, user alice (trusted) machine # [1333856.846271] machine nix-daemon[4969]: accepted connection from pid 6488, user alice (trusted) machine # [1333857.411224] machine nix-daemon[4969]: accepted connection from pid 6511, 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 # [1333858.975766] machine nix-daemon[4969]: accepted connection from pid 6549, user alice (trusted) machine # [1333859.373627] machine nix-daemon[4969]: accepted connection from pid 6549, user alice (trusted) machine # [1333859.669830] machine nix-daemon[4969]: accepted connection from pid 6574, user alice (trusted) ok build --no-build sends the input's NAR out of the input store and the daemon holds it machine # [1333860.490094] machine nix-daemon[4969]: accepted connection from pid 6619, user alice (trusted) machine # [1333860.817725] machine nix-daemon[4969]: accepted connection from pid 6619, 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 # [1333862.837983] machine nix-daemon[4969]: accepted connection from pid 6749, 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 # [1333864.466167] machine nix-daemon[4969]: accepted connection from pid 6775, user alice (trusted) machine # [1333864.743445] machine nix-daemon[4969]: accepted connection from pid 6789, user alice (trusted) machine # [1333865.547321] machine nix-daemon[4969]: accepted connection from pid 6811, user alice (trusted) machine # [1333866.051370] machine nix-daemon[4969]: accepted connection from pid 6833, user alice (trusted) machine # [1333866.465166] machine nix-daemon[4969]: accepted connection from pid 6855, user alice (trusted) machine # [1333867.227104] machine nix-daemon[4969]: accepted connection from pid 6878, user alice (trusted) machine # [1333867.652666] machine nix-daemon[4969]: accepted connection from pid 6888, user alice (trusted) ok git: a missing git input still goes through nix machine # [1333867.840249] machine nix-daemon[4969]: accepted connection from pid 6909, user alice (trusted) machine # [1333868.377027] machine nix-daemon[4969]: accepted connection from pid 6932, user alice (trusted) ok git: without nix the error names the input machine # [1333868.886748] machine nix-daemon[4969]: accepted connection from pid 6942, user alice (trusted) machine # [1333869.195853] machine nix-daemon[4969]: accepted connection from pid 6951, 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 # [1333869.799108] machine nix-daemon[4969]: accepted connection from pid 6980, user alice (trusted) ok unfetchable input: both messages name it, the failed fetch was iets's own ok lock: an entry without narHash has a hint that names the input ok prefetch-inputs: an unfetchable input is an error that names it, exit 1 machine # [1333871.147291] machine nix-daemon[4969]: accepted connection from pid 6999, user alice (trusted) machine # [1333871.622910] machine nix-daemon[4969]: accepted connection from pid 7025, user alice (trusted) ok sym: a link out of the tree is refused machine # [1333872.280362] machine nix-daemon[4969]: accepted connection from pid 7059, user alice (trusted) ok sym: an absolute link is refused machine # [1333873.367909] machine nix-daemon[4969]: accepted connection from pid 7093, user alice (trusted) ok sym: a link to an untracked file is Nix's git error machine # [1333874.645454] machine nix-daemon[4969]: accepted connection from pid 7128, user alice (trusted) ok sym: readFile through a tracked link to a tracked directory machine # [1333875.495904] machine nix-daemon[4969]: accepted connection from pid 7162, user alice (trusted) ok sym: readDir of a tracked link to a tracked directory machine # [1333876.227491] machine nix-daemon[4969]: accepted connection from pid 7196, user alice (trusted) ok sym: pathExists of a tracked link to a tracked directory machine # [1333877.582874] machine nix-daemon[4969]: accepted connection from pid 7232, user alice (trusted) ok sym: a flake directory that is a link is the working tree machine # [1333878.155356] machine nix-daemon[4969]: accepted connection from pid 7274, user alice (trusted) ok sparse: the whole tree is clean machine # [1333879.022858] machine nix-daemon[4969]: accepted connection from pid 7311, 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=60 fail=2 machine: output: !!! Traceback (most recent call last): !!! File "", line 8, in !!! machine.succeed("runuser -l alice -c 'cd iets && IETS=/nix/store/8cn03yqlc49fzd06hnpl7gajggjkaj8b-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/flaketest.nu' >&2") !!! !!! RequestedAssertionFailed: command `runuser -l alice -c 'cd iets && IETS=/nix/store/8cn03yqlc49fzd06hnpl7gajggjkaj8b-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/flaketest.nu' >&2` failed (exit code 1) cleanup kill NspawnMachine (pid 50) Container machine terminated by signal KILL. (finished: cleanup, in 0.34 seconds)