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 # [296219.748333] machine systemd-journald[57]: Journal started machine # [296219.748383] machine systemd-journald[57]: Runtime Journal (/run/log/journal/2b31f86b2bb146c3a608d4d1d848c476) is 8M, max 2.5G, 2.5G free. machine # [296219.759792] machine systemd[1]: Finished Apply Kernel Variables. machine # [296219.773190] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [296219.787895] machine systemd[1]: Starting Flush Journal to Persistent Storage... machine # [296219.788349] machine systemd[1]: Starting Create Static Device Nodes in /dev... machine # [296219.814859] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/2b31f86b2bb146c3a608d4d1d848c476 is 1.476ms for 6 entries. machine # [296219.814859] machine systemd-journald[57]: System Journal (/var/log/journal/2b31f86b2bb146c3a608d4d1d848c476) is 512B, max 4G, 3.9G free. machine # [296219.825293] machine systemd[1]: Finished Create Static Device Nodes in /dev. machine # [296219.825722] machine systemd[1]: Reached target Preparation for Local File Systems. machine # [296219.825802] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys machine # [296219.832758] machine systemd[1]: Finished Flush Journal to Persistent Storage. machine # [296219.862369] machine systemd[1]: Finished Firewall. machine # [296220.749247] machine systemd[1]: Mounting /run/wrappers... machine # [296220.794930] machine systemd[1]: Mounted /run/wrappers. machine # [296220.795364] machine systemd[1]: Reached target Local File Systems. machine # [296220.796191] machine systemd[1]: Listening on Boot Loader Control Service Socket. machine # [296220.796866] machine systemd[1]: Starting Create SUID/SGID Wrappers... machine # [296220.796892] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container machine # [296220.797451] machine systemd[1]: Starting Save Transient machine-id to Disk... machine # [296220.797955] machine systemd[1]: Starting Create System Files and Directories... machine # [296220.823679] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted machine # [296220.823822] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted machine # [296220.823914] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/2b31f86b2bb146c3a608d4d1d848c476 failed: Operation not permitted machine # [296220.824044] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted machine # [296220.829411] machine systemd[1]: Finished Create System Files and Directories. machine # [296220.831039] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.bscOM7NAtX/chsh': Operation not permitted machine # [296220.842822] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE machine # [296220.842892] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. machine # [296220.842990] machine systemd[1]: Failed to start Create SUID/SGID Wrappers. machine # [296220.844373] machine systemd[1]: Starting Rebuild Journal Catalog... machine # [296220.844898] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [296220.866239] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. machine # [296220.888320] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. machine # [296220.889048] machine systemd[1]: Finished Save Transient machine-id to Disk. machine # [296220.889174] machine systemd[1]: Finished Rebuild Journal Catalog. machine # [296220.890639] machine systemd[1]: Starting Update is Completed... machine # [296220.918258] machine systemd[1]: Finished Update is Completed. machine # [296220.918501] machine systemd[1]: Reached target System Initialization. machine # [296220.918623] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container machine # [296220.918687] machine systemd[1]: Started Daily Cleanup of Temporary Directories. machine # [296220.918730] machine systemd[1]: Reached target Timer Units. machine # [296220.918917] machine systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [296220.919084] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. machine # [296220.919427] machine systemd[1]: Reached target Socket Units. machine # [296220.919487] machine systemd[1]: Reached target Basic System. machine # [296220.920558] machine systemd[1]: Starting Import lastlog data into lastlog2 database... machine # [296220.921377] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [296220.921842] machine systemd[1]: Starting resolvconf update... machine # [296220.939160] machine systemd[1]: Finished Import lastlog data into lastlog2 database. machine # [296220.974692] machine systemd[1]: nscd.service: Deactivated successfully. machine # [296220.974820] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd). machine # [296220.976307] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [296220.987582] machine resolvconf-start[236]: setfacl: /run/resolvconf: Operation not supported machine # [296220.988451] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE machine # [296220.988576] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'. machine # [296220.988788] machine systemd[1]: Failed to start resolvconf update. machine # [296220.988977] machine systemd[1]: Reached target Preparation for Network. machine # [296220.989794] machine systemd[1]: Starting Address configuration of eth1... machine # [296220.990523] machine systemd[1]: Starting Extra networking commands.... machine # [296221.007508] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done machine # [296221.011136] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done machine # [296221.014327] machine systemd[1]: Finished Address configuration of eth1. machine # [296221.047417] machine systemd[1]: Finished Extra networking commands.. machine # [296221.047530] machine systemd[1]: Reached target Network. machine # [296221.129402] machine systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [296221.129456] machine systemd[1]: Reached target Host and Network Name Lookups. machine # [296221.129497] machine systemd[1]: Reached target User and Group Name Lookups. machine # [296221.129639] machine nsncd[225]: Oct 19 07:09:42.152 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [296221.130486] machine systemd[1]: Starting User Login Management... machine # [296221.131014] machine systemd[1]: Starting Permit User Sessions... machine # [296221.154970] machine systemd[1]: Finished Permit User Sessions. machine # [296221.156472] machine systemd[1]: Started Console Getty. machine # [296221.156537] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 machine # [296221.156579] machine systemd[1]: Reached target Login Prompts. machine # [296222.182586] machine systemd-logind[306]: New seat seat0. machine # [296222.182850] machine systemd[1]: Started User Login Management. machine # [296222.195167] machine systemd[1]: Starting D-Bus System Message Bus... machine # [296222.196290] machine systemd[1]: Starting linger-users.service... machine # [296222.208492] machine systemd[1]: linger-users.service: Deactivated successfully. machine # [296222.208720] machine systemd[1]: Finished linger-users.service. machine # [296222.208931] machine systemd[1]: Reached target Multi-User System. machine # [296222.643055] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'... machine # [296222.643778] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync' machine # [296222.643778] 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 # [296222.644236] machine systemd[1]: Started D-Bus System Message Bus. machine # [296222.647057] machine systemd[1]: Startup finished in 3.261s. machine # [296222.651792] machine dbus-broker-launch[316]: Ready machine: (finished: waiting for unit multi-user.target, in 4.15 seconds) machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/zmnjnjlss75wk645fjz6c8brxrk57h3a-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/zmnjnjlss75wk645fjz6c8brxrk57h3a-closure-info, in 11.17 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/yk8iwm6lhgpxffrrbcrqlangihnawxl0-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/yk8iwm6lhgpxffrrbcrqlangihnawxl0-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.10 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 # [296234.266906] machine systemd[1]: Listening on Nix Daemon Socket. machine # [296234.375868] machine runuser[4907]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0) machine # [296234.577374] machine runuser[4907]: pam_unix(runuser-l:session): session closed for user alice 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/s1knhqmd8dk0g9aah2mwhggr2537dkms-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2 ok first run misses and writes ok a cold run reports no invalidation machine # [296234.588092] machine runuser[4920]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0) ok second run hits with identical output ok a hit reports no invalidation ok editing an imported file misses ok the invalidation names the changed file ok the same change always names the same file ok touch on an imported file hits after one rehash ok refreshed stat fields skip the rehash next time ok a copy in place that keeps size, mtime and inode still misses ok adding a file to a readDir'd directory misses ok the invalidation names the listed directory ok changing a getEnv variable misses ok the invalidation names the environment variable ok changing it back misses again (one entry per key) ok -I change misses (new key) ok a pure run never reads an entry an impure one compiled ok currentTime never caches ok currentTime: still no entry on the second run ok a fetcher call fails and never caches ok --no-tracing-cache prints no cache line ok --no-tracing-cache never reads or writes the tracing store ok IETS_CACHE=0 disables the cache ok a failed evaluation writes nothing ok after the failure the fixed file misses, not a stale hit ok a result that holds an error placeholder is never cached ok a lint warning is replayed on a hit ok a file nothing ran before is a silent cold run ok the file argument hits ok editing the file argument names it ok and the edited file hits next time ok one command keeps one entry across edits ok a removed file argument says it is gone ok a flake nothing ran before is a silent cold run ok the flake hits ok editing flake.nix names the flake's tree ok editing flake.lock names it ok one flake command keeps one entry across edits ok a path: flake with the same bytes and a newer date evaluates again ok --cache-dir keeps a file it did not create ok --cache-dir holds the stores in subdirectories ok no cache flag: tracing=true ir=true ok --no-tracing-cache: tracing=false ir=true ok --no-ir-cache: tracing=true ir=false ok --no-cache: tracing=false ir=false ok a foreign store directory is refused, not wiped ok a --ttl whose seconds overflow is refused ok lang test hit prints identical output ok search --cache-dir: the index misses then hits there ok search --no-tracing-cache: no cache line, nothing read or written ok search --no-ir-cache: no compiled-file cache ok search --workers N: the same results ok search --workers 0 is a usage error pass=53 fail=0 machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/s1knhqmd8dk0g9aah2mwhggr2537dkms-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2, in 7.40 seconds) (finished: run the VM test script, in 23.04 seconds) test script finished in 23.11s cleanup kill NspawnMachine (pid 50) Container machine terminated by signal KILL. (finished: cleanup, in 0.16 seconds)