these 4 derivations will be built: /nix/store/15053s8s647j8ni9dnh8fzh2zcvkv4vm-test-script.drv /nix/store/gzdi7jig7rbn2dvwracihga3p8b05mx6-driverConfiguration.json.drv /nix/store/k5qb4bnkacf3prj7jy975jbiiaynkzsd-nixos-test-driver-iets-cachetest.drv /nix/store/7r5ywsn0fzi20sykvf8ghhcmv9jqxzpq-container-test-run-iets-cachetest.drv building '/nix/store/15053s8s647j8ni9dnh8fzh2zcvkv4vm-test-script.drv' test-script> structuredAttrs is enabled building '/nix/store/gzdi7jig7rbn2dvwracihga3p8b05mx6-driverConfiguration.json.drv' driverConfiguration.json> structuredAttrs is enabled building '/nix/store/k5qb4bnkacf3prj7jy975jbiiaynkzsd-nixos-test-driver-iets-cachetest.drv' nixos-test-driver-iets-cachetest> Running type check (enable/disable: config.skipTypeCheck) nixos-test-driver-iets-cachetest> See https://nixos.org/manual/nixos/stable/#test-opt-skipTypeCheck nixos-test-driver-iets-cachetest> All checks passed! nixos-test-driver-iets-cachetest> Linting test script (enable/disable: config.skipLint) nixos-test-driver-iets-cachetest> See https://nixos.org/manual/nixos/stable/#test-opt-skipLint nixos-test-driver-iets-cachetest> All checks passed! building '/nix/store/7r5ywsn0fzi20sykvf8ghhcmv9jqxzpq-container-test-run-iets-cachetest.drv' container-test-run-iets-cachetest> Machine state will be reset. To keep it, pass --keep-machine-state container-test-run-iets-cachetest> start all VLans container-test-run-iets-cachetest> (finished: start all VLans, in 0.00 seconds) container-test-run-iets-cachetest> Initializing machine ID from random generator. container-test-run-iets-cachetest> Test will time out and terminate in 3600.0 seconds container-test-run-iets-cachetest> run the VM test script container-test-run-iets-cachetest> additionally exposed symbols: container-test-run-iets-cachetest> machine, container-test-run-iets-cachetest> vlan1, container-test-run-iets-cachetest> 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 container-test-run-iets-cachetest> machine: waiting for unit multi-user.target container-test-run-iets-cachetest> machine: systemd-nspawn running (pid 50) container-test-run-iets-cachetest> machine: Waiting for journal at /build/vm-state-machine/var/log/journal... container-test-run-iets-cachetest> nixos-nspawn(machine): TAP vde-tap1 not found; container will be isolated from VDE container-test-run-iets-cachetest> 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. container-test-run-iets-cachetest> 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. container-test-run-iets-cachetest> ░ Spawning container machine on /build/vm-state-machine. container-test-run-iets-cachetest> machine # [397123.754561] machine systemd-journald[57]: Journal started container-test-run-iets-cachetest> machine # [397123.754640] machine systemd-journald[57]: Runtime Journal (/run/log/journal/16705f3c73de439396dcd793cc063e75) is 8M, max 2.5G, 2.5G free. container-test-run-iets-cachetest> machine # [397123.769301] machine systemd[1]: Finished Apply Kernel Variables. container-test-run-iets-cachetest> machine # [397123.784835] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully. container-test-run-iets-cachetest> machine # [397123.799246] machine systemd[1]: Starting Flush Journal to Persistent Storage... container-test-run-iets-cachetest> machine # [397123.799974] machine systemd[1]: Starting Create Static Device Nodes in /dev... container-test-run-iets-cachetest> machine # [397123.823597] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/16705f3c73de439396dcd793cc063e75 is 1.864ms for 6 entries. container-test-run-iets-cachetest> machine # [397123.823597] machine systemd-journald[57]: System Journal (/var/log/journal/16705f3c73de439396dcd793cc063e75) is 512B, max 4G, 3.9G free. container-test-run-iets-cachetest> machine # [397123.838373] machine systemd[1]: Finished Create Static Device Nodes in /dev. container-test-run-iets-cachetest> machine # [397123.839454] machine systemd[1]: Reached target Preparation for Local File Systems. container-test-run-iets-cachetest> machine # [397123.839525] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys container-test-run-iets-cachetest> machine # [397123.862616] machine systemd[1]: Finished Flush Journal to Persistent Storage. container-test-run-iets-cachetest> machine # [397123.887333] machine systemd[1]: Finished Firewall. container-test-run-iets-cachetest> machine # [397124.760280] machine systemd[1]: Mounting /run/wrappers... container-test-run-iets-cachetest> machine # [397124.805454] machine systemd[1]: Mounted /run/wrappers. container-test-run-iets-cachetest> machine # [397124.805985] machine systemd[1]: Reached target Local File Systems. container-test-run-iets-cachetest> machine # [397124.806657] machine systemd[1]: Listening on Boot Loader Control Service Socket. container-test-run-iets-cachetest> machine # [397124.807326] machine systemd[1]: Starting Create SUID/SGID Wrappers... container-test-run-iets-cachetest> machine # [397124.807358] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container container-test-run-iets-cachetest> machine # [397124.808121] machine systemd[1]: Starting Save Transient machine-id to Disk... container-test-run-iets-cachetest> machine # [397124.808805] machine systemd[1]: Starting Create System Files and Directories... container-test-run-iets-cachetest> machine # [397124.838910] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted container-test-run-iets-cachetest> machine # [397124.839085] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted container-test-run-iets-cachetest> machine # [397124.839190] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/16705f3c73de439396dcd793cc063e75 failed: Operation not permitted container-test-run-iets-cachetest> machine # [397124.839331] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted container-test-run-iets-cachetest> machine # [397124.840379] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.sGVVm4rv85/chsh': Operation not permitted container-test-run-iets-cachetest> machine # [397124.847641] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE container-test-run-iets-cachetest> machine # [397124.847729] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. container-test-run-iets-cachetest> machine # [397124.847966] machine systemd[1]: Failed to start Create SUID/SGID Wrappers. container-test-run-iets-cachetest> machine # [397124.848324] machine systemd[1]: Finished Create System Files and Directories. container-test-run-iets-cachetest> machine # [397124.869356] machine systemd[1]: Starting Rebuild Journal Catalog... container-test-run-iets-cachetest> machine # [397124.870155] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... container-test-run-iets-cachetest> machine # [397124.903450] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. container-test-run-iets-cachetest> machine # [397124.909211] machine systemd[1]: Finished Rebuild Journal Catalog. container-test-run-iets-cachetest> machine # [397124.910408] machine systemd[1]: Starting Update is Completed... container-test-run-iets-cachetest> machine # [397124.919564] machine systemd[1]: Finished Update is Completed. container-test-run-iets-cachetest> machine # [397124.919714] machine systemd[1]: Reached target System Initialization. container-test-run-iets-cachetest> machine # [397124.919786] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container container-test-run-iets-cachetest> machine # [397124.919829] machine systemd[1]: Started Daily Cleanup of Temporary Directories. container-test-run-iets-cachetest> machine # [397124.919846] machine systemd[1]: Reached target Timer Units. container-test-run-iets-cachetest> machine # [397124.920165] machine systemd[1]: Listening on D-Bus System Message Bus Socket. container-test-run-iets-cachetest> machine # [397124.920252] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. container-test-run-iets-cachetest> machine # [397124.920272] machine systemd[1]: Reached target Socket Units. container-test-run-iets-cachetest> machine # [397124.920305] machine systemd[1]: Reached target Basic System. container-test-run-iets-cachetest> machine # [397124.921409] machine systemd[1]: Starting Import lastlog data into lastlog2 database... container-test-run-iets-cachetest> machine # [397124.922372] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... container-test-run-iets-cachetest> machine # [397124.923552] machine systemd[1]: Starting resolvconf update... container-test-run-iets-cachetest> machine # [397124.942704] machine systemd[1]: Finished Import lastlog data into lastlog2 database. container-test-run-iets-cachetest> machine # [397124.973972] machine systemd[1]: nscd.service: Deactivated successfully. container-test-run-iets-cachetest> machine # [397124.974159] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd). container-test-run-iets-cachetest> machine # [397124.976492] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... container-test-run-iets-cachetest> machine # [397124.982734] machine resolvconf-start[235]: setfacl: /run/resolvconf: Operation not supported container-test-run-iets-cachetest> machine # [397124.983560] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE container-test-run-iets-cachetest> machine # [397124.983630] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'. container-test-run-iets-cachetest> machine # [397124.983756] machine systemd[1]: Failed to start resolvconf update. container-test-run-iets-cachetest> machine # [397124.983902] machine systemd[1]: Reached target Preparation for Network. container-test-run-iets-cachetest> machine # [397124.984624] machine systemd[1]: Starting Address configuration of eth1... container-test-run-iets-cachetest> machine # [397124.985142] machine systemd[1]: Starting Extra networking commands.... container-test-run-iets-cachetest> machine # [397124.998350] machine network-addresses-eth1-start[237]: adding address 192.168.1.1/24... done container-test-run-iets-cachetest> machine # [397125.000413] machine network-addresses-eth1-start[237]: adding address 2001:db8:1::1/64... done container-test-run-iets-cachetest> machine # [397125.004181] machine systemd[1]: Finished Address configuration of eth1. container-test-run-iets-cachetest> machine # [397125.031540] machine systemd[1]: Finished Extra networking commands.. container-test-run-iets-cachetest> machine # [397125.031648] machine systemd[1]: Reached target Network. container-test-run-iets-cachetest> machine # [397125.127657] machine nsncd[229]: Oct 20 11:11:26.150 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" container-test-run-iets-cachetest> machine # [397125.127727] machine systemd[1]: Started Name Service Cache Daemon (nsncd). container-test-run-iets-cachetest> machine # [397125.127786] machine systemd[1]: Reached target Host and Network Name Lookups. container-test-run-iets-cachetest> machine # [397125.127827] machine systemd[1]: Reached target User and Group Name Lookups. container-test-run-iets-cachetest> machine # [397125.128723] machine systemd[1]: Starting User Login Management... container-test-run-iets-cachetest> machine # [397125.129211] machine systemd[1]: Starting Permit User Sessions... container-test-run-iets-cachetest> machine # [397125.155424] machine systemd[1]: Finished Permit User Sessions. container-test-run-iets-cachetest> machine # [397125.156221] machine systemd[1]: Started Console Getty. container-test-run-iets-cachetest> machine # [397125.156248] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 container-test-run-iets-cachetest> machine # [397125.156262] machine systemd[1]: Reached target Login Prompts. container-test-run-iets-cachetest> machine # [397125.322813] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. container-test-run-iets-cachetest> machine # [397125.323702] machine systemd[1]: Finished Save Transient machine-id to Disk. container-test-run-iets-cachetest> machine # [397126.352391] machine systemd-logind[305]: New seat seat0. container-test-run-iets-cachetest> machine # [397126.353657] machine systemd[1]: Starting D-Bus System Message Bus... container-test-run-iets-cachetest> machine # [397126.353772] machine systemd[1]: Started User Login Management. container-test-run-iets-cachetest> machine # [397126.354620] machine systemd[1]: Starting linger-users.service... container-test-run-iets-cachetest> machine # [397126.388316] machine systemd[1]: linger-users.service: Deactivated successfully. container-test-run-iets-cachetest> machine # [397126.388558] machine systemd[1]: Finished linger-users.service. container-test-run-iets-cachetest> machine # [397126.388746] machine systemd[1]: Reached target Multi-User System. container-test-run-iets-cachetest> machine # [397126.664677] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'... container-test-run-iets-cachetest> machine # [397126.665368] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync' container-test-run-iets-cachetest> machine # [397126.665368] machine dbus-broker-launch[316]: Invalid user-name in /nix/store/mls2pyi9qfvid69xpgavmjnhiab7y5im-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" container-test-run-iets-cachetest> machine # [397126.665765] machine systemd[1]: Started D-Bus System Message Bus. container-test-run-iets-cachetest> machine # [397126.666007] machine systemd[1]: Startup finished in 3.281s. container-test-run-iets-cachetest> machine # [397126.673071] machine dbus-broker-launch[316]: Ready container-test-run-iets-cachetest> machine: (finished: waiting for unit multi-user.target, in 4.15 seconds) container-test-run-iets-cachetest> machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/p3iwm3a6xfd1dszkdmk51nvyjq7aqiqp-closure-info container-test-run-iets-cachetest> 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. container-test-run-iets-cachetest> machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/p3iwm3a6xfd1dszkdmk51nvyjq7aqiqp-closure-info, in 9.94 seconds) container-test-run-iets-cachetest> machine: must succeed: systemctl start nix-daemon.socket container-test-run-iets-cachetest> machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.01 seconds) container-test-run-iets-cachetest> machine: must succeed: cp -r /nix/store/kdf21saqlhnxf40p1d3p1sgighxh2xnl-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets container-test-run-iets-cachetest> machine: (finished: must succeed: cp -r /nix/store/kdf21saqlhnxf40p1d3p1sgighxh2xnl-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.11 seconds) container-test-run-iets-cachetest> 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' container-test-run-iets-cachetest> machine # [397137.085218] machine systemd[1]: Listening on Nix Daemon Socket. container-test-run-iets-cachetest> machine # [397137.208206] machine runuser[4926]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0) container-test-run-iets-cachetest> 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.35 seconds) container-test-run-iets-cachetest> machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/xhvdp7283nkrv85fqs4ylgy6wsjlzhi5-iets-0.1.0/bin/iets NIXPKGS=/nix/store/r5l65vg4gi4dnx54zkwagfb8jmlqniy5-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2 container-test-run-iets-cachetest> machine # [397137.545333] machine runuser[4926]: pam_unix(runuser-l:session): session closed for user alice container-test-run-iets-cachetest> machine # [397137.554923] machine runuser[4939]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0) container-test-run-iets-cachetest> ok first run misses and writes container-test-run-iets-cachetest> ok a cold run reports no invalidation container-test-run-iets-cachetest> ok second run hits with identical output container-test-run-iets-cachetest> ok a hit reports no invalidation container-test-run-iets-cachetest> ok editing an imported file misses container-test-run-iets-cachetest> ok the invalidation names the changed file container-test-run-iets-cachetest> ok the same change always names the same file container-test-run-iets-cachetest> ok touch on an imported file hits after one rehash container-test-run-iets-cachetest> ok refreshed stat fields skip the rehash next time container-test-run-iets-cachetest> ok a copy in place that keeps size, mtime and inode still misses container-test-run-iets-cachetest> ok adding a file to a readDir'd directory misses container-test-run-iets-cachetest> ok the invalidation names the listed directory container-test-run-iets-cachetest> ok changing a getEnv variable misses container-test-run-iets-cachetest> ok the invalidation names the environment variable container-test-run-iets-cachetest> ok changing it back misses again (one entry per key) container-test-run-iets-cachetest> ok -I change misses (new key) container-test-run-iets-cachetest> ok a pure run never reads an entry an impure one compiled container-test-run-iets-cachetest> ok currentTime never caches container-test-run-iets-cachetest> ok currentTime: still no entry on the second run container-test-run-iets-cachetest> ok a fetcher call fails and never caches container-test-run-iets-cachetest> ok --no-tracing-cache prints no cache line container-test-run-iets-cachetest> ok --no-tracing-cache never reads or writes the tracing store container-test-run-iets-cachetest> ok IETS_CACHE=0 disables the cache container-test-run-iets-cachetest> ok a failed evaluation writes nothing container-test-run-iets-cachetest> ok after the failure the fixed file misses, not a stale hit container-test-run-iets-cachetest> ok a result that holds an error placeholder is never cached container-test-run-iets-cachetest> ok a lint warning is replayed on a hit container-test-run-iets-cachetest> ok a file nothing ran before is a silent cold run container-test-run-iets-cachetest> ok the file argument hits container-test-run-iets-cachetest> ok editing the file argument names it container-test-run-iets-cachetest> ok and the edited file hits next time container-test-run-iets-cachetest> ok one command keeps one entry across edits container-test-run-iets-cachetest> ok a removed file argument says it is gone container-test-run-iets-cachetest> ok a flake nothing ran before is a silent cold run container-test-run-iets-cachetest> ok the flake hits container-test-run-iets-cachetest> ok editing flake.nix names the flake's tree container-test-run-iets-cachetest> ok editing flake.lock names it container-test-run-iets-cachetest> ok one flake command keeps one entry across edits container-test-run-iets-cachetest> ok a path: flake with the same bytes and a newer date evaluates again container-test-run-iets-cachetest> ok --cache-dir keeps a file it did not create container-test-run-iets-cachetest> ok --cache-dir holds the stores in subdirectories container-test-run-iets-cachetest> ok no cache flag: tracing=true ir=true container-test-run-iets-cachetest> ok --no-tracing-cache: tracing=false ir=true container-test-run-iets-cachetest> ok --no-ir-cache: tracing=true ir=false container-test-run-iets-cachetest> ok --no-cache: tracing=false ir=false container-test-run-iets-cachetest> ok a foreign store directory is refused, not wiped container-test-run-iets-cachetest> ok a --ttl whose seconds overflow is refused container-test-run-iets-cachetest> ok lang test hit prints identical output container-test-run-iets-cachetest> ok search --cache-dir: the index misses then hits there container-test-run-iets-cachetest> ok search --no-tracing-cache: no cache line, nothing read or written container-test-run-iets-cachetest> ok search --no-ir-cache: no compiled-file cache container-test-run-iets-cachetest> ok search --workers N: the same results container-test-run-iets-cachetest> ok search --workers 0 is a usage error container-test-run-iets-cachetest> pass=53 fail=0 container-test-run-iets-cachetest> machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/xhvdp7283nkrv85fqs4ylgy6wsjlzhi5-iets-0.1.0/bin/iets NIXPKGS=/nix/store/r5l65vg4gi4dnx54zkwagfb8jmlqniy5-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2, in 16.15 seconds) container-test-run-iets-cachetest> (finished: run the VM test script, in 30.71 seconds) container-test-run-iets-cachetest> test script finished in 30.75s container-test-run-iets-cachetest> cleanup container-test-run-iets-cachetest> kill NspawnMachine (pid 50) container-test-run-iets-cachetest> Container machine terminated by signal KILL. container-test-run-iets-cachetest> (finished: cleanup, in 0.11 seconds) upload niks3: ok