these 6 derivations will be built: /nix/store/p2hnlsi6hnqlj3pi8kdy86c2c0rj01lm-iets-0.1.0.drv /nix/store/c8q420pdzw4vczdpba0yifxgjbbh65ha-closure-info.drv /nix/store/rv66ak7fq34750k8ckq4ymlv59rsnv8v-test-script.drv /nix/store/w3v6n6xrr2j7kb1zf8qz46vz85h6yax4-driverConfiguration.json.drv /nix/store/kyhh352rvazjfdagb6k5yvvi2yp2zym7-nixos-test-driver-iets-cachetest.drv /nix/store/vcslv4s3sgijl43whmyh8sa8x11rbgnv-container-test-run-iets-cachetest.drv building '/nix/store/c8q420pdzw4vczdpba0yifxgjbbh65ha-closure-info.drv' closure-info> structuredAttrs is enabled building '/nix/store/rv66ak7fq34750k8ckq4ymlv59rsnv8v-test-script.drv' test-script> structuredAttrs is enabled building '/nix/store/w3v6n6xrr2j7kb1zf8qz46vz85h6yax4-driverConfiguration.json.drv' driverConfiguration.json> structuredAttrs is enabled building '/nix/store/kyhh352rvazjfdagb6k5yvvi2yp2zym7-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/vcslv4s3sgijl43whmyh8sa8x11rbgnv-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.03 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 # 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 # 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 # 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 # 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 # 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 # [143691.877944] machine systemd-journald[57]: Journal started container-test-run-iets-cachetest> machine # [143691.878045] machine systemd-journald[57]: Runtime Journal (/run/log/journal/7d4bba00a9e245108629b166098a0ffc) is 8M, max 2.5G, 2.5G free. container-test-run-iets-cachetest> machine # [143692.226136] machine systemd[1]: Finished Apply Kernel Variables. container-test-run-iets-cachetest> machine # [143692.379700] machine systemd[1]: Finished Firewall. container-test-run-iets-cachetest> machine # [143692.435753] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully. container-test-run-iets-cachetest> machine # [143692.945964] machine systemd[1]: Starting Flush Journal to Persistent Storage... container-test-run-iets-cachetest> machine # [143692.947330] machine systemd[1]: Starting Create Static Device Nodes in /dev... container-test-run-iets-cachetest> machine # [143692.999489] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/7d4bba00a9e245108629b166098a0ffc is 4.926ms for 7 entries. container-test-run-iets-cachetest> machine # [143692.999489] machine systemd-journald[57]: System Journal (/var/log/journal/7d4bba00a9e245108629b166098a0ffc) is 512B, max 4G, 3.9G free. container-test-run-iets-cachetest> machine # [143693.023741] machine systemd[1]: Finished Flush Journal to Persistent Storage. container-test-run-iets-cachetest> machine # [143693.219217] machine systemd[1]: Finished Create Static Device Nodes in /dev. container-test-run-iets-cachetest> machine # [143693.388443] machine systemd[1]: Reached target Preparation for Local File Systems. container-test-run-iets-cachetest> machine # [143693.393880] machine systemd[1]: Mounting /run/wrappers... container-test-run-iets-cachetest> machine # [143693.393943] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys container-test-run-iets-cachetest> machine # [143693.712922] machine systemd[1]: Mounted /run/wrappers. container-test-run-iets-cachetest> machine # [143693.713972] machine systemd[1]: Reached target Local File Systems. container-test-run-iets-cachetest> machine # [143693.715260] machine systemd[1]: Listening on Boot Loader Control Service Socket. container-test-run-iets-cachetest> machine # [143693.725513] machine systemd[1]: Starting Create SUID/SGID Wrappers... container-test-run-iets-cachetest> machine # [143693.725584] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container container-test-run-iets-cachetest> machine # [143693.728662] machine systemd[1]: Starting Save Transient machine-id to Disk... container-test-run-iets-cachetest> machine # [143693.754438] machine systemd[1]: Starting Create System Files and Directories... container-test-run-iets-cachetest> machine # [143693.825238] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.KmzLkhLOWU/chsh': Operation not permitted container-test-run-iets-cachetest> machine # [143693.826834] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE container-test-run-iets-cachetest> machine # [143693.826935] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. container-test-run-iets-cachetest> machine # [143693.827250] machine systemd[1]: Failed to start Create SUID/SGID Wrappers. container-test-run-iets-cachetest> machine # [143693.875259] 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 # [143693.875499] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted container-test-run-iets-cachetest> machine # [143693.875615] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/7d4bba00a9e245108629b166098a0ffc failed: Operation not permitted container-test-run-iets-cachetest> machine # [143693.875780] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted container-test-run-iets-cachetest> machine # [143694.530961] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. container-test-run-iets-cachetest> machine # [143695.036562] machine systemd[1]: Finished Save Transient machine-id to Disk. container-test-run-iets-cachetest> machine # [143695.058065] machine systemd[1]: Finished Create System Files and Directories. container-test-run-iets-cachetest> machine # [143695.606220] machine systemd[1]: Starting Rebuild Journal Catalog... container-test-run-iets-cachetest> machine # [143695.616627] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... container-test-run-iets-cachetest> machine # [143695.651592] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. container-test-run-iets-cachetest> machine # [143695.701475] machine systemd[1]: Finished Rebuild Journal Catalog. container-test-run-iets-cachetest> machine # [143695.721876] machine systemd[1]: Starting Update is Completed... container-test-run-iets-cachetest> machine # [143695.781260] machine systemd[1]: Finished Update is Completed. container-test-run-iets-cachetest> machine # [143695.782019] machine systemd[1]: Reached target System Initialization. container-test-run-iets-cachetest> machine # [143695.782175] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container container-test-run-iets-cachetest> machine # [143695.782225] machine systemd[1]: Started Daily Cleanup of Temporary Directories. container-test-run-iets-cachetest> machine # [143695.782257] machine systemd[1]: Reached target Timer Units. container-test-run-iets-cachetest> machine # [143695.782428] machine systemd[1]: Listening on D-Bus System Message Bus Socket. container-test-run-iets-cachetest> machine # [143695.782800] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. container-test-run-iets-cachetest> machine # [143695.782828] machine systemd[1]: Reached target Socket Units. container-test-run-iets-cachetest> machine # [143695.782865] machine systemd[1]: Reached target Basic System. container-test-run-iets-cachetest> machine # [143695.788025] machine systemd[1]: Starting Import lastlog data into lastlog2 database... container-test-run-iets-cachetest> machine # [143695.796165] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... container-test-run-iets-cachetest> machine # [143695.810426] machine systemd[1]: Starting resolvconf update... container-test-run-iets-cachetest> machine # [143695.874900] machine systemd[1]: Finished Import lastlog data into lastlog2 database. container-test-run-iets-cachetest> machine # [143696.119038] machine resolvconf-start[231]: setfacl: /run/resolvconf: Operation not supported container-test-run-iets-cachetest> machine # [143696.119893] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE container-test-run-iets-cachetest> machine # [143696.120146] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'. container-test-run-iets-cachetest> machine # [143696.125103] machine systemd[1]: Failed to start resolvconf update. container-test-run-iets-cachetest> machine # [143696.126050] machine systemd[1]: Reached target Preparation for Network. container-test-run-iets-cachetest> machine # [143696.137249] machine systemd[1]: Starting Address configuration of eth1... container-test-run-iets-cachetest> machine # [143696.141308] machine systemd[1]: Starting Extra networking commands.... container-test-run-iets-cachetest> machine # [143696.141819] machine systemd[1]: nscd.service: Deactivated successfully. container-test-run-iets-cachetest> machine # [143696.142060] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd). container-test-run-iets-cachetest> machine # [143696.176228] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... container-test-run-iets-cachetest> machine # [143696.213036] machine network-addresses-eth1-start[233]: adding address 192.168.1.1/24... done container-test-run-iets-cachetest> machine # [143696.222035] machine network-addresses-eth1-start[233]: adding address 2001:db8:1::1/64... done container-test-run-iets-cachetest> machine # [143696.232897] machine systemd[1]: Finished Address configuration of eth1. container-test-run-iets-cachetest> machine # [143696.374445] machine systemd[1]: Finished Extra networking commands.. container-test-run-iets-cachetest> machine # [143696.374580] machine systemd[1]: Reached target Network. container-test-run-iets-cachetest> machine: still waiting for container 'machine' to reach ready state... container-test-run-iets-cachetest> machine # [143699.278871] machine systemd[1]: Started Name Service Cache Daemon (nsncd). container-test-run-iets-cachetest> machine # [143699.278976] machine systemd[1]: Reached target Host and Network Name Lookups. container-test-run-iets-cachetest> machine # [143699.279060] machine systemd[1]: Reached target User and Group Name Lookups. container-test-run-iets-cachetest> machine # [143699.280272] machine nsncd[238]: Oct 17 12:47:40.303 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" container-test-run-iets-cachetest> machine # [143699.284174] machine systemd[1]: Starting User Login Management... container-test-run-iets-cachetest> machine # [143699.312723] machine systemd[1]: Starting Permit User Sessions... container-test-run-iets-cachetest> machine # [143699.353201] machine systemd[1]: Finished Permit User Sessions. container-test-run-iets-cachetest> machine # [143699.355416] machine systemd[1]: Started Console Getty. container-test-run-iets-cachetest> machine # [143699.355472] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 container-test-run-iets-cachetest> machine # [143699.355496] machine systemd[1]: Reached target Login Prompts. container-test-run-iets-cachetest> machine: still waiting for container 'machine' to reach ready state... container-test-run-iets-cachetest> machine # [143716.099599] machine systemd-logind[306]: New seat seat0. container-test-run-iets-cachetest> machine # [143716.101664] machine systemd[1]: Started User Login Management. container-test-run-iets-cachetest> machine # [143716.108133] machine systemd[1]: Starting D-Bus System Message Bus... container-test-run-iets-cachetest> machine # [143716.112220] machine systemd[1]: Starting linger-users.service... container-test-run-iets-cachetest> machine # [143716.152547] machine systemd[1]: linger-users.service: Deactivated successfully. container-test-run-iets-cachetest> machine # [143716.152712] machine systemd[1]: Finished linger-users.service. container-test-run-iets-cachetest> machine # [143716.152853] machine systemd[1]: Reached target Multi-User System. container-test-run-iets-cachetest> machine: still waiting for container 'machine' to reach ready state... container-test-run-iets-cachetest> machine: (finished: waiting for unit multi-user.target, in 35.25 seconds) container-test-run-iets-cachetest> machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/dqfx4wz0c4ap3nzyj7knkbmpxr3pyi81-closure-info container-test-run-iets-cachetest> machine # [143722.342649] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'... container-test-run-iets-cachetest> machine # [143722.348150] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync' container-test-run-iets-cachetest> machine # [143722.348150] 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 # [143722.348481] machine systemd[1]: Started D-Bus System Message Bus. container-test-run-iets-cachetest> machine # [143722.350119] machine systemd[1]: Startup finished in 33.098s. container-test-run-iets-cachetest> machine # [143722.364672] machine dbus-broker-launch[316]: Ready 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/dqfx4wz0c4ap3nzyj7knkbmpxr3pyi81-closure-info, in 25.79 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/f9jfvr9kkdr8r3kmhiwy2vrqk49s5isb-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/f9jfvr9kkdr8r3kmhiwy2vrqk49s5isb-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.08 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 # [143748.547660] machine systemd[1]: Listening on Nix Daemon Socket. container-test-run-iets-cachetest> machine # [143748.640225] machine runuser[4909]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0) container-test-run-iets-cachetest> machine # [143748.822303] machine runuser[4909]: 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.19 seconds) container-test-run-iets-cachetest> machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/fx4grarygdzvq3g8nf303mh8g7mqxcpv-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2 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> machine # [143748.830829] machine runuser[4922]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0) 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/fx4grarygdzvq3g8nf303mh8g7mqxcpv-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2, in 7.18 seconds) container-test-run-iets-cachetest> (finished: run the VM test script, in 68.50 seconds) container-test-run-iets-cachetest> test script finished in 68.57s 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