Machine state will be reset. To keep it, pass --keep-machine-state start all VLans (finished: start all VLans, in 0.03 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 # No journal files were found. machine # No journal boot entry found for the specified boot (+0). machine # [1332921.833402] machine systemd-journald[57]: Journal started machine # [1332921.833460] machine systemd-journald[57]: Runtime Journal (/run/log/journal/6c580b37871f437d8465a4bb9df52f61) is 8M, max 2.5G, 2.5G free. machine # [1332922.188605] machine systemd[1]: Finished Apply Kernel Variables. machine # [1332922.256648] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [1332922.647062] machine systemd[1]: Finished Firewall. machine # [1332922.662974] machine systemd[1]: Starting Flush Journal to Persistent Storage... machine # [1332922.707329] machine systemd[1]: Starting Create Static Device Nodes in /dev... machine # [1332922.714979] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/6c580b37871f437d8465a4bb9df52f61 is 4.460ms for 7 entries. machine # [1332922.714979] machine systemd-journald[57]: System Journal (/var/log/journal/6c580b37871f437d8465a4bb9df52f61) is 512B, max 4G, 3.9G free. machine # [1332922.966529] machine systemd[1]: Finished Flush Journal to Persistent Storage. machine # [1332922.989170] machine systemd[1]: Finished Create Static Device Nodes in /dev. machine # [1332923.339919] machine systemd[1]: Reached target Preparation for Local File Systems. machine # [1332923.344140] machine systemd[1]: Mounting /run/wrappers... machine # [1332923.344189] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys machine # [1332923.874665] machine systemd[1]: Mounted /run/wrappers. machine # [1332923.879187] machine systemd[1]: Reached target Local File Systems. machine # [1332923.880211] machine systemd[1]: Listening on Boot Loader Control Service Socket. machine # [1332923.906169] machine systemd[1]: Starting Create SUID/SGID Wrappers... machine # [1332923.906223] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container machine # [1332923.909379] machine systemd[1]: Starting Save Transient machine-id to Disk... machine # [1332923.911287] machine systemd[1]: Starting Create System Files and Directories... machine # [1332923.969562] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.8GQOVKZSpq/chsh': Operation not permitted machine # [1332923.973846] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE machine # [1332923.973944] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. machine # [1332923.974155] machine systemd[1]: Failed to start Create SUID/SGID Wrappers. machine # [1332924.036433] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted machine # [1332924.036608] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted machine # [1332924.036720] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/6c580b37871f437d8465a4bb9df52f61 failed: Operation not permitted machine # [1332924.036869] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted machine # [1332924.492317] machine systemd[1]: Finished Create System Files and Directories. machine # [1332924.521794] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. machine # [1332924.523383] machine systemd[1]: Finished Save Transient machine-id to Disk. machine # [1332924.528149] machine systemd[1]: Starting Rebuild Journal Catalog... machine # [1332924.534392] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [1332924.564111] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. machine # [1332924.579969] machine systemd[1]: Finished Rebuild Journal Catalog. machine # [1332924.607195] machine systemd[1]: Starting Update is Completed... machine # [1332924.634448] machine systemd[1]: Finished Update is Completed. machine # [1332924.634569] machine systemd[1]: Reached target System Initialization. machine # [1332924.636121] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container machine # [1332924.636176] machine systemd[1]: Started Daily Cleanup of Temporary Directories. machine # [1332924.636206] machine systemd[1]: Reached target Timer Units. machine # [1332924.637281] machine systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [1332924.637385] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. machine # [1332924.637410] machine systemd[1]: Reached target Socket Units. machine # [1332924.637455] machine systemd[1]: Reached target Basic System. machine # [1332924.645545] machine systemd[1]: Starting Import lastlog data into lastlog2 database... machine # [1332924.655191] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [1332924.658432] machine systemd[1]: Starting resolvconf update... machine # [1332924.720750] machine systemd[1]: Finished Import lastlog data into lastlog2 database. machine # [1332924.890450] machine systemd[1]: nscd.service: Deactivated successfully. machine # [1332924.890628] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd). machine # [1332924.897230] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [1332924.979023] machine resolvconf-start[236]: setfacl: /run/resolvconf: Operation not supported machine # [1332924.982515] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE machine # [1332924.982611] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'. machine # [1332924.983289] machine systemd[1]: Failed to start resolvconf update. machine # [1332924.983966] machine systemd[1]: Reached target Preparation for Network. machine # [1332925.010183] machine systemd[1]: Starting Address configuration of eth1... machine # [1332925.015150] machine systemd[1]: Starting Extra networking commands.... machine # [1332925.076072] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done machine # [1332925.081260] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done machine # [1332925.109714] machine systemd[1]: Finished Address configuration of eth1. machine # [1332925.322203] machine systemd[1]: Finished Extra networking commands.. machine # [1332925.322845] machine systemd[1]: Reached target Network. machine: still waiting for container 'machine' to reach ready state... machine # [1332929.093746] machine nsncd[224]: Oct 10 09:14:59.824 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [1332929.093924] machine systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [1332929.094017] machine systemd[1]: Reached target Host and Network Name Lookups. machine # [1332929.094080] machine systemd[1]: Reached target User and Group Name Lookups. machine # [1332929.098686] machine systemd[1]: Starting User Login Management... machine # [1332929.103117] machine systemd[1]: Starting Permit User Sessions... machine # [1332929.135592] machine systemd[1]: Finished Permit User Sessions. machine # [1332929.141149] machine systemd[1]: Started Console Getty. machine # [1332929.141221] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 machine # [1332929.141247] machine systemd[1]: Reached target Login Prompts. machine: still waiting for container 'machine' to reach ready state... machine # [1332942.268170] machine systemd-logind[306]: New seat seat0. machine # [1332942.269251] machine systemd[1]: Starting D-Bus System Message Bus... machine # [1332942.269407] machine systemd[1]: Started User Login Management. machine # [1332942.273140] machine systemd[1]: Starting linger-users.service... machine # [1332942.346696] machine systemd[1]: linger-users.service: Deactivated successfully. machine # [1332942.347014] machine systemd[1]: Finished linger-users.service. machine # [1332942.347953] machine systemd[1]: Reached target Multi-User System. machine # [1332944.891770] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'... machine # [1332944.893282] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync' machine # [1332944.893282] 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 # [1332944.893902] machine systemd[1]: Started D-Bus System Message Bus. machine # [1332944.895200] machine systemd[1]: Startup finished in 24.368s. machine # [1332944.903384] machine dbus-broker-launch[316]: Ready machine: (finished: waiting for unit multi-user.target, in 26.23 seconds) machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/dvl2bmzr7bv3qdfirin9kwq25g30ndj3-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/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/dvl2bmzr7bv3qdfirin9kwq25g30ndj3-closure-info, in 77.13 seconds) machine: must succeed: systemctl start nix-daemon.socket machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.05 seconds) machine: must succeed: cp -r /nix/store/p8cscs56p6603rhnigmirb92n1swsrak-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets machine # [1333022.523494] machine systemd[1]: Listening on Nix Daemon Socket. machine: (finished: must succeed: cp -r /nix/store/p8cscs56p6603rhnigmirb92n1swsrak-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.62 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 # [1333023.232880] 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.56 seconds) machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/djlbargwnhm5z3wddlwvdv5j8ndb3zil-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/flaketest.nu' >&2 machine # [1333023.720484] machine runuser[4868]: pam_unix(runuser-l:session): session closed for user alice machine # [1333023.767913] machine runuser[4881]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0) machine # [1333024.171443] machine systemd[1]: Started Nix Daemon. machine # [1333024.392372] 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 # [1333030.345034] machine nix-daemon[4969]: accepted connection from pid 4995, user alice (trusted) machine # [1333030.612665] machine nix-daemon[4969]: accepted connection from pid 5013, user alice (trusted) machine # [1333031.059135] machine nix-daemon[4969]: accepted connection from pid 5046, user alice (trusted) machine # [1333031.230892] machine nix-daemon[4969]: accepted connection from pid 5069, user alice (trusted) ok big: devShell machine # [1333059.431718] machine nix-daemon[4969]: accepted connection from pid 5099, user alice (trusted) ok big: devShell, IETS_WORKERS=8 machine # [1333072.331972] 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 # [1333116.402531] 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 # [1333117.248149] machine nix-daemon[4969]: accepted connection from pid 5247, user alice (trusted) ok worktree: dirty tree nix never saw, nothing fetched machine # [1333117.524226] machine nix-daemon[4969]: accepted connection from pid 5281, user alice (trusted) machine # [1333118.063544] machine nix-daemon[4969]: accepted connection from pid 5308, user alice (trusted) machine # [1333118.243715] 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 ok scratch: clean tree machine # [1333123.505599] machine nix-daemon[4969]: accepted connection from pid 5355, user alice (trusted) ok scratch: a string of the tree metadata has no context machine # [1333123.766381] machine nix-daemon[4969]: accepted connection from pid 5390, user alice (trusted) ok scratch: --raw on a derivation prints its outPath machine # [1333124.093337] machine nix-daemon[4969]: accepted connection from pid 5424, user alice (trusted) ok scratch: untracked file is ignored machine # [1333124.397787] machine nix-daemon[4969]: accepted connection from pid 5459, user alice (trusted) machine # [1333124.645731] machine nix-daemon[4969]: accepted connection from pid 5498, 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) ok scratch: tree-meta-in-drv names the metadata of a dirty tree machine # [1333124.909397] machine nix-daemon[4969]: accepted connection from pid 5531, user alice (trusted) ok scratch: dirty tree (deleted tracked file) machine # [1333125.260476] machine nix-daemon[4969]: accepted connection from pid 5577, user alice (trusted) machine # [1333125.490430] machine nix-daemon[4969]: accepted connection from pid 5613, user alice (trusted) ok scratch: dirty tree (staged new file) ok scratch: clean again after commit machine # [1333125.739950] machine nix-daemon[4969]: accepted connection from pid 5651, user alice (trusted) ok scratch: tree-meta-in-drv names the metadata of a clean tree ok scratch: subdirectory flake ref machine # [1333126.218374] machine nix-daemon[4969]: accepted connection from pid 5699, user alice (trusted) ok scratch: path: ref copies the whole tree machine # [1333126.515565] machine nix-daemon[4969]: accepted connection from pid 5734, user alice (trusted) ok scratch: --json machine # [1333126.786437] machine nix-daemon[4969]: accepted connection from pid 5764, 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 # [1333127.659033] machine nix-daemon[4969]: accepted connection from pid 5874, user alice (trusted) machine # [1333127.831178] machine nix-daemon[4969]: accepted connection from pid 5908, user alice (trusted) ok revCount: clean tree ok revCount: shallow clone machine # [1333128.233432] machine nix-daemon[4969]: accepted connection from pid 5951, 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 machine # [1333131.047312] machine nix-daemon[4969]: accepted connection from pid 6262, user alice (trusted) ok revCount: each spelling gives the value of Nix ok revCount: locked input machine # [1333131.392903] machine nix-daemon[4969]: accepted connection from pid 6305, user alice (trusted) machine # [1333131.552015] machine nix-daemon[4969]: accepted connection from pid 6327, user alice (trusted) ok rev-count: an input is silent without [lint.inputs.lib] ok revCount: dirty tree machine # [1333131.987382] machine nix-daemon[4969]: accepted connection from pid 6373, user alice (trusted) machine # [1333132.191886] machine nix-daemon[4969]: accepted connection from pid 6414, user alice (trusted) machine # [1333132.375957] machine nix-daemon[4969]: accepted connection from pid 6441, user alice (trusted) machine # [1333132.502033] machine nix-daemon[4969]: accepted connection from pid 6463, 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 # [1333132.639335] machine nix-daemon[4969]: accepted connection from pid 6485, user alice (trusted) machine # [1333132.870134] machine nix-daemon[4969]: accepted connection from pid 6508, user alice (trusted) machine # [1333133.136913] machine nix-daemon[4969]: accepted connection from pid 6546, user alice (trusted) machine # [1333133.247900] machine nix-daemon[4969]: accepted connection from pid 6546, user alice (trusted) ok build --no-build sends the input's NAR out of the input store and the daemon holds it machine # [1333133.513845] machine nix-daemon[4969]: accepted connection from pid 6571, user alice (trusted) machine # [1333133.790473] machine nix-daemon[4969]: accepted connection from pid 6616, user alice (trusted) ok build --no-build uploads a filtered copy of an input member machine # [1333133.925468] machine nix-daemon[4969]: accepted connection from pid 6616, user alice (trusted) ok tarball: a second process waits for the first one's download and reads its entry ok prefetch-inputs: fetches every input, then an offline eval downloads nothing machine # [1333134.651925] machine nix-daemon[4969]: accepted connection from pid 6732, 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 # [1333134.914276] machine nix-daemon[4969]: accepted connection from pid 6758, user alice (trusted) machine # [1333135.040143] machine nix-daemon[4969]: accepted connection from pid 6772, user alice (trusted) machine # [1333135.204911] machine nix-daemon[4969]: accepted connection from pid 6794, user alice (trusted) machine # [1333135.355267] machine nix-daemon[4969]: accepted connection from pid 6816, user alice (trusted) machine # [1333135.492962] machine nix-daemon[4969]: accepted connection from pid 6838, user alice (trusted) machine # [1333135.668496] machine nix-daemon[4969]: accepted connection from pid 6861, user alice (trusted) ok git: a missing git input still goes through nix machine # [1333135.832821] machine nix-daemon[4969]: accepted connection from pid 6871, user alice (trusted) machine # [1333135.902036] machine nix-daemon[4969]: accepted connection from pid 6892, user alice (trusted) ok git: without nix the error names the input machine # [1333136.151787] machine nix-daemon[4969]: accepted connection from pid 6915, user alice (trusted) machine # [1333136.358298] machine nix-daemon[4969]: accepted connection from pid 6925, 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 unfetchable input: both messages name it, the failed fetch was iets's own machine # [1333136.488532] machine nix-daemon[4969]: accepted connection from pid 6934, user alice (trusted) machine # [1333136.629009] machine nix-daemon[4969]: accepted connection from pid 6963, user alice (trusted) ok lock: an entry without narHash has a hint that names the input ok prefetch-inputs: an unfetchable input is an error that names it, exit 1 ok sym: a link out of the tree is refused machine # [1333136.861328] machine nix-daemon[4969]: accepted connection from pid 6982, user alice (trusted) machine # [1333137.023439] machine nix-daemon[4969]: accepted connection from pid 7008, user alice (trusted) ok sym: an absolute link is refused machine # [1333137.253907] machine nix-daemon[4969]: accepted connection from pid 7042, user alice (trusted) machine # [1333137.595126] machine nix-daemon[4969]: accepted connection from pid 7076, user alice (trusted) ok sym: a link to an untracked file is Nix's git error machine # [1333139.056555] machine nix-daemon[4969]: accepted connection from pid 7111, user alice (trusted) ok sym: readFile through a tracked link to a tracked directory machine # [1333139.991718] machine nix-daemon[4969]: accepted connection from pid 7145, 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 machine # [1333140.393420] machine nix-daemon[4969]: accepted connection from pid 7179, user alice (trusted) ok sym: a flake directory that is a link is the working tree machine # [1333140.745242] machine nix-daemon[4969]: accepted connection from pid 7215, user alice (trusted) ok sparse: the whole tree is clean ok sparse: an index entry that is not on disk makes it dirty machine # [1333141.078902] machine nix-daemon[4969]: accepted connection from pid 7257, user alice (trusted) machine # [1333141.319589] machine nix-daemon[4969]: accepted connection from pid 7294, user alice (trusted) 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/djlbargwnhm5z3wddlwvdv5j8ndb3zil-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/djlbargwnhm5z3wddlwvdv5j8ndb3zil-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.17 seconds)