these 5 derivations will be built: /nix/store/w2q0jziddinqf7pfkr0wkjn8apj9b5vd-closure-info.drv /nix/store/i513qchm6pfg57vrh93by5gq5w84jni5-test-script.drv /nix/store/wniyrznvvj2fgjlx55mgg7ah4raik6zy-driverConfiguration.json.drv /nix/store/v5bljsm5lfgr7vdrg26qq826l494i6ym-nixos-test-driver-iets-cachetest.drv /nix/store/aiwicy04ilr7sg3s9anw49ah5gn79jm0-container-test-run-iets-cachetest.drv building '/nix/store/i513qchm6pfg57vrh93by5gq5w84jni5-test-script.drv' test-script> structuredAttrs is enabled building '/nix/store/wniyrznvvj2fgjlx55mgg7ah4raik6zy-driverConfiguration.json.drv' driverConfiguration.json> structuredAttrs is enabled building '/nix/store/v5bljsm5lfgr7vdrg26qq826l494i6ym-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/aiwicy04ilr7sg3s9anw49ah5gn79jm0-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> 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 # No journal files were found. container-test-run-iets-cachetest> machine # No journal boot entry found for the specified boot (+0). container-test-run-iets-cachetest> machine # [1681680.773757] machine systemd-journald[57]: Journal started container-test-run-iets-cachetest> machine # [1681680.773810] machine systemd-journald[57]: Runtime Journal (/run/log/journal/735706c1ef394148b31d80479f6d9e37) is 8M, max 2.5G, 2.5G free. container-test-run-iets-cachetest> machine # [1681680.832136] machine systemd[1]: Finished Apply Kernel Variables. container-test-run-iets-cachetest> machine # [1681680.887172] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully. container-test-run-iets-cachetest> machine # [1681680.919805] machine systemd[1]: Finished Firewall. container-test-run-iets-cachetest> machine # [1681680.922902] machine systemd[1]: Starting Flush Journal to Persistent Storage... container-test-run-iets-cachetest> machine # [1681680.924803] machine systemd[1]: Starting Create Static Device Nodes in /dev... container-test-run-iets-cachetest> machine # [1681680.950405] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/735706c1ef394148b31d80479f6d9e37 is 1.383ms for 7 entries. container-test-run-iets-cachetest> machine # [1681680.950405] machine systemd-journald[57]: System Journal (/var/log/journal/735706c1ef394148b31d80479f6d9e37) is 512B, max 4G, 3.9G free. container-test-run-iets-cachetest> machine # [1681680.974382] machine systemd[1]: Finished Create Static Device Nodes in /dev. container-test-run-iets-cachetest> machine # [1681680.975236] machine systemd[1]: Reached target Preparation for Local File Systems. container-test-run-iets-cachetest> machine # [1681680.975336] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys container-test-run-iets-cachetest> machine # [1681680.975607] machine systemd[1]: Finished Flush Journal to Persistent Storage. container-test-run-iets-cachetest> machine # [1681681.793271] machine systemd[1]: Mounting /run/wrappers... container-test-run-iets-cachetest> machine # [1681681.815171] machine systemd[1]: Mounted /run/wrappers. container-test-run-iets-cachetest> machine # [1681681.816272] machine systemd[1]: Reached target Local File Systems. container-test-run-iets-cachetest> machine # [1681681.817016] machine systemd[1]: Listening on Boot Loader Control Service Socket. container-test-run-iets-cachetest> machine # [1681681.817675] machine systemd[1]: Starting Create SUID/SGID Wrappers... container-test-run-iets-cachetest> machine # [1681681.817705] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container container-test-run-iets-cachetest> machine # [1681681.818279] machine systemd[1]: Starting Save Transient machine-id to Disk... container-test-run-iets-cachetest> machine # [1681681.818768] machine systemd[1]: Starting Create System Files and Directories... container-test-run-iets-cachetest> machine # [1681681.839869] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.cIdwN58F47/chsh': Operation not permitted container-test-run-iets-cachetest> machine # [1681681.840966] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE container-test-run-iets-cachetest> machine # [1681681.841067] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. container-test-run-iets-cachetest> machine # [1681681.841236] machine systemd[1]: Failed to start Create SUID/SGID Wrappers. container-test-run-iets-cachetest> machine # [1681681.862066] 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 # [1681681.862290] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted container-test-run-iets-cachetest> machine # [1681681.862435] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/735706c1ef394148b31d80479f6d9e37 failed: Operation not permitted container-test-run-iets-cachetest> machine # [1681681.862646] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted container-test-run-iets-cachetest> machine # [1681681.887861] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. container-test-run-iets-cachetest> machine # [1681681.953159] machine systemd[1]: Finished Save Transient machine-id to Disk. container-test-run-iets-cachetest> machine # [1681681.958466] machine systemd[1]: Finished Create System Files and Directories. container-test-run-iets-cachetest> machine # [1681682.008367] machine systemd[1]: Starting Rebuild Journal Catalog... container-test-run-iets-cachetest> machine # [1681682.008861] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... container-test-run-iets-cachetest> machine # [1681682.055702] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. container-test-run-iets-cachetest> machine # [1681682.060160] machine systemd[1]: Finished Rebuild Journal Catalog. container-test-run-iets-cachetest> machine # [1681682.061250] machine systemd[1]: Starting Update is Completed... container-test-run-iets-cachetest> machine # [1681682.069959] machine systemd[1]: Finished Update is Completed. container-test-run-iets-cachetest> machine # [1681682.070089] machine systemd[1]: Reached target System Initialization. container-test-run-iets-cachetest> machine # [1681682.070157] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container container-test-run-iets-cachetest> machine # [1681682.070207] machine systemd[1]: Started Daily Cleanup of Temporary Directories. container-test-run-iets-cachetest> machine # [1681682.070231] machine systemd[1]: Reached target Timer Units. container-test-run-iets-cachetest> machine # [1681682.070357] machine systemd[1]: Listening on D-Bus System Message Bus Socket. container-test-run-iets-cachetest> machine # [1681682.070448] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. container-test-run-iets-cachetest> machine # [1681682.070467] machine systemd[1]: Reached target Socket Units. container-test-run-iets-cachetest> machine # [1681682.070496] machine systemd[1]: Reached target Basic System. container-test-run-iets-cachetest> machine # [1681682.071686] machine systemd[1]: Starting Import lastlog data into lastlog2 database... container-test-run-iets-cachetest> machine # [1681682.072691] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... container-test-run-iets-cachetest> machine # [1681682.073978] machine systemd[1]: Starting resolvconf update... container-test-run-iets-cachetest> machine # [1681682.091211] machine systemd[1]: Finished Import lastlog data into lastlog2 database. container-test-run-iets-cachetest> machine # [1681682.126243] machine systemd[1]: nscd.service: Deactivated successfully. container-test-run-iets-cachetest> machine # [1681682.142377] machine resolvconf-start[232]: setfacl: /run/resolvconf: Operation not supported container-test-run-iets-cachetest> machine # [1681682.158203] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd). container-test-run-iets-cachetest> machine # [1681682.159622] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE container-test-run-iets-cachetest> machine # [1681682.159701] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'. container-test-run-iets-cachetest> machine # [1681682.159853] machine systemd[1]: Failed to start resolvconf update. container-test-run-iets-cachetest> machine # [1681682.160483] machine systemd[1]: Reached target Preparation for Network. container-test-run-iets-cachetest> machine # [1681682.161496] machine systemd[1]: Starting Address configuration of eth1... container-test-run-iets-cachetest> machine # [1681682.162345] machine systemd[1]: Starting Extra networking commands.... container-test-run-iets-cachetest> machine # [1681682.163214] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... container-test-run-iets-cachetest> machine # [1681682.178594] machine network-addresses-eth1-start[236]: adding address 192.168.1.1/24... done container-test-run-iets-cachetest> machine # [1681682.181106] machine network-addresses-eth1-start[236]: adding address 2001:db8:1::1/64... done container-test-run-iets-cachetest> machine # [1681682.186984] machine systemd[1]: Finished Address configuration of eth1. container-test-run-iets-cachetest> machine # [1681682.221049] machine systemd[1]: Finished Extra networking commands.. container-test-run-iets-cachetest> machine # [1681682.221205] machine systemd[1]: Reached target Network. container-test-run-iets-cachetest> machine # [1681682.786152] machine systemd[1]: Started Name Service Cache Daemon (nsncd). container-test-run-iets-cachetest> machine # [1681682.786225] machine systemd[1]: Reached target Host and Network Name Lookups. container-test-run-iets-cachetest> machine # [1681682.786278] machine systemd[1]: Reached target User and Group Name Lookups. container-test-run-iets-cachetest> machine # [1681682.786817] machine nsncd[238]: Oct 14 10:07:33.517 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" container-test-run-iets-cachetest> machine # [1681682.787948] machine systemd[1]: Starting User Login Management... container-test-run-iets-cachetest> machine # [1681682.789049] machine systemd[1]: Starting Permit User Sessions... container-test-run-iets-cachetest> machine # [1681682.832975] machine systemd[1]: Finished Permit User Sessions. container-test-run-iets-cachetest> machine # [1681682.834105] machine systemd[1]: Started Console Getty. container-test-run-iets-cachetest> machine # [1681682.834142] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 container-test-run-iets-cachetest> machine # [1681682.834161] machine systemd[1]: Reached target Login Prompts. container-test-run-iets-cachetest> machine # [1681685.632378] machine systemd-logind[305]: New seat seat0. container-test-run-iets-cachetest> machine # [1681685.633321] machine systemd[1]: Starting D-Bus System Message Bus... container-test-run-iets-cachetest> machine # [1681685.633425] machine systemd[1]: Started User Login Management. container-test-run-iets-cachetest> machine # [1681685.634205] machine systemd[1]: Starting linger-users.service... container-test-run-iets-cachetest> machine # [1681685.646387] machine systemd[1]: linger-users.service: Deactivated successfully. container-test-run-iets-cachetest> machine # [1681685.646600] machine systemd[1]: Finished linger-users.service. container-test-run-iets-cachetest> machine # [1681685.646880] machine systemd[1]: Reached target Multi-User System. container-test-run-iets-cachetest> machine # [1681686.241446] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'... container-test-run-iets-cachetest> machine # [1681686.242668] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync' container-test-run-iets-cachetest> machine # [1681686.242668] 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" container-test-run-iets-cachetest> machine # [1681686.242837] machine systemd[1]: Started D-Bus System Message Bus. container-test-run-iets-cachetest> machine # [1681686.244057] machine systemd[1]: Startup finished in 6.107s. container-test-run-iets-cachetest> machine # [1681686.250429] machine dbus-broker-launch[316]: Ready container-test-run-iets-cachetest> machine: (finished: waiting for unit multi-user.target, in 7.16 seconds) container-test-run-iets-cachetest> machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/5kssi42fw8spj3qm2cj97ibyz5iaqq2v-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/5kssi42fw8spj3qm2cj97ibyz5iaqq2v-closure-info, in 25.51 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.02 seconds) container-test-run-iets-cachetest> machine: must succeed: cp -r /nix/store/2nrj4r7wrc6xhlz3apd8jv44f7bhd3bz-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/2nrj4r7wrc6xhlz3apd8jv44f7bhd3bz-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.20 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 # [1681712.146693] machine systemd[1]: Listening on Nix Daemon Socket. container-test-run-iets-cachetest> machine # [1681712.405922] machine runuser[4907]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0) container-test-run-iets-cachetest> machine # [1681712.745396] machine runuser[4907]: pam_unix(runuser-l:session): session closed for user alice 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.39 seconds) container-test-run-iets-cachetest> machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/z3hs4zlpcrn19p6w6i4x9vnsas6j8vxa-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2 container-test-run-iets-cachetest> machine # [1681712.757711] machine runuser[4920]: 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/z3hs4zlpcrn19p6w6i4x9vnsas6j8vxa-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2, in 59.99 seconds) container-test-run-iets-cachetest> (finished: run the VM test script, in 93.29 seconds) container-test-run-iets-cachetest> machine # [1681772.722829] machine runuser[4920]: pam_unix(runuser-l:session): session closed for user alice container-test-run-iets-cachetest> test script finished in 93.71s 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.27 seconds) warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy upload niks3: ok