container-test-run-iets-cachetest
checks.x86_64-linux.cachetest
· build #356
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.00 seconds)45Test will time out and terminate in 3600.0 seconds6run the VM test script7additionally exposed symbols:8 machine,9 vlan1,10 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_ssh11machine: waiting for unit multi-user.target12machine: systemd-nspawn running (pid 50)13machine: Waiting for journal at /build/vm-state-machine/var/log/journal...14nixos-nspawn(machine): TAP vde-tap1 not found; container will be isolated from VDE15nixos-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.16Note: 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.17░ Spawning container machine on /build/vm-state-machine.18machine # No journal files were found.19machine # No journal boot entry found for the specified boot (+0).20machine # [1757034.177283] machine systemd-journald[57]: Journal started21machine # [1757034.177333] machine systemd-journald[57]: Runtime Journal (/run/log/journal/0d3d9b45767a4752b3c3249b21e936a8) is 8M, max 2.5G, 2.5G free.22machine # [1757034.194328] machine systemd[1]: Finished Apply Kernel Variables.23machine # [1757034.211357] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.24machine # [1757034.234962] machine systemd[1]: Starting Flush Journal to Persistent Storage...25machine # [1757034.235592] machine systemd[1]: Starting Create Static Device Nodes in /dev...26machine # [1757034.264250] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/0d3d9b45767a4752b3c3249b21e936a8 is 1.726ms for 6 entries.27machine # [1757034.264250] machine systemd-journald[57]: System Journal (/var/log/journal/0d3d9b45767a4752b3c3249b21e936a8) is 512B, max 4G, 3.9G free.28machine # [1757034.270651] machine systemd[1]: Finished Create Static Device Nodes in /dev.29machine # [1757034.271312] machine systemd[1]: Reached target Preparation for Local File Systems.30machine # [1757034.271437] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys31machine # [1757034.296239] machine systemd[1]: Finished Flush Journal to Persistent Storage.32machine # [1757034.363450] machine systemd[1]: Finished Firewall.33machine # [1757035.179044] machine systemd[1]: Mounting /run/wrappers...34machine # [1757035.226955] machine systemd[1]: Mounted /run/wrappers.35machine # [1757035.227814] machine systemd[1]: Reached target Local File Systems.36machine # [1757035.228685] machine systemd[1]: Listening on Boot Loader Control Service Socket.37machine # [1757035.229450] machine systemd[1]: Starting Create SUID/SGID Wrappers...38machine # [1757035.229473] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container39machine # [1757035.229992] machine systemd[1]: Starting Save Transient machine-id to Disk...40machine # [1757035.230448] machine systemd[1]: Starting Create System Files and Directories...41machine # [1757035.266463] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted42machine # [1757035.266581] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted43machine # [1757035.266656] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/0d3d9b45767a4752b3c3249b21e936a8 failed: Operation not permitted44machine # [1757035.266758] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted45machine # [1757035.274394] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.XLYRWzJ5yB/chsh': Operation not permitted46machine # [1757035.277339] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE47machine # [1757035.277430] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.48machine # [1757035.277688] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.49machine # [1757035.277967] machine systemd[1]: Finished Create System Files and Directories.50machine # [1757035.302165] machine systemd[1]: Starting Rebuild Journal Catalog...51machine # [1757035.303977] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...52machine # [1757035.347265] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.53machine # [1757035.348492] machine systemd[1]: Finished Save Transient machine-id to Disk.54machine # [1757035.352959] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.55machine # [1757035.353613] machine systemd[1]: Finished Rebuild Journal Catalog.56machine # [1757035.355101] machine systemd[1]: Starting Update is Completed...57machine # [1757035.364186] machine systemd[1]: Finished Update is Completed.58machine # [1757035.364322] machine systemd[1]: Reached target System Initialization.59machine # [1757035.364395] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container60machine # [1757035.364423] machine systemd[1]: Started Daily Cleanup of Temporary Directories.61machine # [1757035.364443] machine systemd[1]: Reached target Timer Units.62machine # [1757035.364541] machine systemd[1]: Listening on D-Bus System Message Bus Socket.63machine # [1757035.364617] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.64machine # [1757035.364634] machine systemd[1]: Reached target Socket Units.65machine # [1757035.364666] machine systemd[1]: Reached target Basic System.66machine # [1757035.365728] machine systemd[1]: Starting Import lastlog data into lastlog2 database...67machine # [1757035.367624] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...68machine # [1757035.368653] machine systemd[1]: Starting resolvconf update...69machine # [1757035.385726] machine systemd[1]: Finished Import lastlog data into lastlog2 database.70machine # [1757035.430531] machine systemd[1]: nscd.service: Deactivated successfully.71machine # [1757035.430688] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).72machine # [1757035.433489] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...73machine # [1757035.448136] machine resolvconf-start[235]: setfacl: /run/resolvconf: Operation not supported74machine # [1757035.449631] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE75machine # [1757035.449721] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.76machine # [1757035.454247] machine systemd[1]: Failed to start resolvconf update.77machine # [1757035.454475] machine systemd[1]: Reached target Preparation for Network.78machine # [1757035.455567] machine systemd[1]: Starting Address configuration of eth1...79machine # [1757035.456367] machine systemd[1]: Starting Extra networking commands....80machine # [1757035.471770] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done81machine # [1757035.473758] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done82machine # [1757035.477078] machine systemd[1]: Finished Address configuration of eth1.83machine # [1757035.513907] machine systemd[1]: Finished Extra networking commands..84machine # [1757035.514026] machine systemd[1]: Reached target Network.85machine # [1757035.641231] machine systemd[1]: Started Name Service Cache Daemon (nsncd).86machine # [1757035.641805] machine nsncd[226]: Oct 15 07:03:26.371 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"87machine # [1757035.641306] machine systemd[1]: Reached target Host and Network Name Lookups.88machine # [1757035.641358] machine systemd[1]: Reached target User and Group Name Lookups.89machine # [1757035.647172] machine systemd[1]: Starting User Login Management...90machine # [1757035.649733] machine systemd[1]: Starting Permit User Sessions...91machine # [1757035.700586] machine systemd[1]: Finished Permit User Sessions.92machine # [1757035.702215] machine systemd[1]: Started Console Getty.93machine # [1757035.702264] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty094machine # [1757035.702283] machine systemd[1]: Reached target Login Prompts.95machine # [1757036.744009] machine systemd-logind[306]: New seat seat0.96machine # [1757036.745121] machine systemd[1]: Starting D-Bus System Message Bus...97machine # [1757036.745215] machine systemd[1]: Started User Login Management.98machine # [1757036.746323] machine systemd[1]: Starting linger-users.service...99machine # [1757036.772609] machine systemd[1]: linger-users.service: Deactivated successfully.100machine # [1757036.772849] machine systemd[1]: Finished linger-users.service.101machine # [1757036.773022] machine systemd[1]: Reached target Multi-User System.102machine: (finished: waiting for unit multi-user.target, in 4.17 seconds)103machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/pxk1l34vki14672qb08hczz02fcyyczs-closure-info104machine # [1757037.233074] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...105machine # [1757037.235246] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'106machine # [1757037.235246] 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"107machine # [1757037.246742] machine systemd[1]: Started D-Bus System Message Bus.108machine # [1757037.247015] machine systemd[1]: Startup finished in 3.489s.109machine # [1757037.255389] machine dbus-broker-launch[316]: Ready110warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.111machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/pxk1l34vki14672qb08hczz02fcyyczs-closure-info, in 12.39 seconds)112machine: must succeed: systemctl start nix-daemon.socket113machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.04 seconds)114machine: must succeed: cp -r /nix/store/2mahdbx3ipcjy8rimxd6c8zfzhi39jfz-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets115machine # [1757049.770041] machine systemd[1]: Listening on Nix Daemon Socket.116machine: (finished: must succeed: cp -r /nix/store/2mahdbx3ipcjy8rimxd6c8zfzhi39jfz-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.47 seconds)117machine: 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'118machine # [1757050.253965] machine runuser[4907]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)119machine: (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.45 seconds)120machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/nc8d47d3fd9q7688lw2ciajh5z7cb9c3-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2121ok first run misses and writes122ok a cold run reports no invalidation123ok second run hits with identical output124ok a hit reports no invalidation125ok editing an imported file misses126ok the invalidation names the changed file127machine # [1757050.689887] machine runuser[4907]: pam_unix(runuser-l:session): session closed for user alice128machine # [1757050.702451] machine runuser[4920]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)129ok the same change always names the same file130ok touch on an imported file hits after one rehash131ok refreshed stat fields skip the rehash next time132ok a copy in place that keeps size, mtime and inode still misses133ok adding a file to a readDir'd directory misses134ok the invalidation names the listed directory135ok changing a getEnv variable misses136ok the invalidation names the environment variable137ok changing it back misses again (one entry per key)138ok -I change misses (new key)139ok a pure run never reads an entry an impure one compiled140ok currentTime never caches141ok currentTime: still no entry on the second run142ok a fetcher call fails and never caches143ok --no-tracing-cache prints no cache line144ok --no-tracing-cache never reads or writes the tracing store145ok IETS_CACHE=0 disables the cache146ok a failed evaluation writes nothing147ok after the failure the fixed file misses, not a stale hit148ok a result that holds an error placeholder is never cached149ok a lint warning is replayed on a hit150ok a file nothing ran before is a silent cold run151ok the file argument hits152ok editing the file argument names it153ok and the edited file hits next time154ok one command keeps one entry across edits155ok a removed file argument says it is gone156ok a flake nothing ran before is a silent cold run157ok the flake hits158ok editing flake.nix names the flake's tree159ok editing flake.lock names it160ok one flake command keeps one entry across edits161ok a path: flake with the same bytes and a newer date evaluates again162ok --cache-dir keeps a file it did not create163ok --cache-dir holds the stores in subdirectories164ok no cache flag: tracing=true ir=true165ok --no-tracing-cache: tracing=false ir=true166ok --no-ir-cache: tracing=true ir=false167ok --no-cache: tracing=false ir=false168ok a foreign store directory is refused, not wiped169ok a --ttl whose seconds overflow is refused170ok lang test hit prints identical output171ok search --cache-dir: the index misses then hits there172ok search --no-tracing-cache: no cache line, nothing read or written173ok search --no-ir-cache: no compiled-file cache174ok search --workers N: the same results175ok search --workers 0 is a usage error176pass=53 fail=0177machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/nc8d47d3fd9q7688lw2ciajh5z7cb9c3-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2, in 10.52 seconds)178(finished: run the VM test script, in 28.03 seconds)179test script finished in 28.23s180cleanup181kill NspawnMachine (pid 50)182Container machine terminated by signal KILL.183(finished: cleanup, in 0.17 seconds)