container-test-run-iets-cachetest
checks.x86_64-linux.cachetest
· build #405
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.03 seconds)4Initializing machine ID from random generator.5Test 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 # No journal files were found.21machine # No journal boot entry found for the specified boot (+0).22machine # No journal files were found.23machine # No journal boot entry found for the specified boot (+0).24machine # No journal files were found.25machine # No journal boot entry found for the specified boot (+0).26machine # No journal files were found.27machine # No journal boot entry found for the specified boot (+0).28machine # [143691.877944] machine systemd-journald[57]: Journal started29machine # [143691.878045] machine systemd-journald[57]: Runtime Journal (/run/log/journal/7d4bba00a9e245108629b166098a0ffc) is 8M, max 2.5G, 2.5G free.30machine # [143692.226136] machine systemd[1]: Finished Apply Kernel Variables.31machine # [143692.379700] machine systemd[1]: Finished Firewall.32machine # [143692.435753] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.33machine # [143692.945964] machine systemd[1]: Starting Flush Journal to Persistent Storage...34machine # [143692.947330] machine systemd[1]: Starting Create Static Device Nodes in /dev...35machine # [143692.999489] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/7d4bba00a9e245108629b166098a0ffc is 4.926ms for 7 entries.36machine # [143692.999489] machine systemd-journald[57]: System Journal (/var/log/journal/7d4bba00a9e245108629b166098a0ffc) is 512B, max 4G, 3.9G free.37machine # [143693.023741] machine systemd[1]: Finished Flush Journal to Persistent Storage.38machine # [143693.219217] machine systemd[1]: Finished Create Static Device Nodes in /dev.39machine # [143693.388443] machine systemd[1]: Reached target Preparation for Local File Systems.40machine # [143693.393880] machine systemd[1]: Mounting /run/wrappers...41machine # [143693.393943] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys42machine # [143693.712922] machine systemd[1]: Mounted /run/wrappers.43machine # [143693.713972] machine systemd[1]: Reached target Local File Systems.44machine # [143693.715260] machine systemd[1]: Listening on Boot Loader Control Service Socket.45machine # [143693.725513] machine systemd[1]: Starting Create SUID/SGID Wrappers...46machine # [143693.725584] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container47machine # [143693.728662] machine systemd[1]: Starting Save Transient machine-id to Disk...48machine # [143693.754438] machine systemd[1]: Starting Create System Files and Directories...49machine # [143693.825238] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.KmzLkhLOWU/chsh': Operation not permitted50machine # [143693.826834] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE51machine # [143693.826935] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.52machine # [143693.827250] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.53machine # [143693.875259] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted54machine # [143693.875499] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted55machine # [143693.875615] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/7d4bba00a9e245108629b166098a0ffc failed: Operation not permitted56machine # [143693.875780] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted57machine # [143694.530961] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.58machine # [143695.036562] machine systemd[1]: Finished Save Transient machine-id to Disk.59machine # [143695.058065] machine systemd[1]: Finished Create System Files and Directories.60machine # [143695.606220] machine systemd[1]: Starting Rebuild Journal Catalog...61machine # [143695.616627] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...62machine # [143695.651592] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.63machine # [143695.701475] machine systemd[1]: Finished Rebuild Journal Catalog.64machine # [143695.721876] machine systemd[1]: Starting Update is Completed...65machine # [143695.781260] machine systemd[1]: Finished Update is Completed.66machine # [143695.782019] machine systemd[1]: Reached target System Initialization.67machine # [143695.782175] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container68machine # [143695.782225] machine systemd[1]: Started Daily Cleanup of Temporary Directories.69machine # [143695.782257] machine systemd[1]: Reached target Timer Units.70machine # [143695.782428] machine systemd[1]: Listening on D-Bus System Message Bus Socket.71machine # [143695.782800] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.72machine # [143695.782828] machine systemd[1]: Reached target Socket Units.73machine # [143695.782865] machine systemd[1]: Reached target Basic System.74machine # [143695.788025] machine systemd[1]: Starting Import lastlog data into lastlog2 database...75machine # [143695.796165] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...76machine # [143695.810426] machine systemd[1]: Starting resolvconf update...77machine # [143695.874900] machine systemd[1]: Finished Import lastlog data into lastlog2 database.78machine # [143696.119038] machine resolvconf-start[231]: setfacl: /run/resolvconf: Operation not supported79machine # [143696.119893] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE80machine # [143696.120146] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.81machine # [143696.125103] machine systemd[1]: Failed to start resolvconf update.82machine # [143696.126050] machine systemd[1]: Reached target Preparation for Network.83machine # [143696.137249] machine systemd[1]: Starting Address configuration of eth1...84machine # [143696.141308] machine systemd[1]: Starting Extra networking commands....85machine # [143696.141819] machine systemd[1]: nscd.service: Deactivated successfully.86machine # [143696.142060] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).87machine # [143696.176228] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...88machine # [143696.213036] machine network-addresses-eth1-start[233]: adding address 192.168.1.1/24... done89machine # [143696.222035] machine network-addresses-eth1-start[233]: adding address 2001:db8:1::1/64... done90machine # [143696.232897] machine systemd[1]: Finished Address configuration of eth1.91machine # [143696.374445] machine systemd[1]: Finished Extra networking commands..92machine # [143696.374580] machine systemd[1]: Reached target Network.93machine: still waiting for container 'machine' to reach ready state...94machine # [143699.278871] machine systemd[1]: Started Name Service Cache Daemon (nsncd).95machine # [143699.278976] machine systemd[1]: Reached target Host and Network Name Lookups.96machine # [143699.279060] machine systemd[1]: Reached target User and Group Name Lookups.97machine # [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"98machine # [143699.284174] machine systemd[1]: Starting User Login Management...99machine # [143699.312723] machine systemd[1]: Starting Permit User Sessions...100machine # [143699.353201] machine systemd[1]: Finished Permit User Sessions.101machine # [143699.355416] machine systemd[1]: Started Console Getty.102machine # [143699.355472] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0103machine # [143699.355496] machine systemd[1]: Reached target Login Prompts.104machine: still waiting for container 'machine' to reach ready state...105machine # [143716.099599] machine systemd-logind[306]: New seat seat0.106machine # [143716.101664] machine systemd[1]: Started User Login Management.107machine # [143716.108133] machine systemd[1]: Starting D-Bus System Message Bus...108machine # [143716.112220] machine systemd[1]: Starting linger-users.service...109machine # [143716.152547] machine systemd[1]: linger-users.service: Deactivated successfully.110machine # [143716.152712] machine systemd[1]: Finished linger-users.service.111machine # [143716.152853] machine systemd[1]: Reached target Multi-User System.112machine: still waiting for container 'machine' to reach ready state...113machine: (finished: waiting for unit multi-user.target, in 35.25 seconds)114machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/dqfx4wz0c4ap3nzyj7knkbmpxr3pyi81-closure-info115machine # [143722.342649] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...116machine # [143722.348150] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'117machine # [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"118machine # [143722.348481] machine systemd[1]: Started D-Bus System Message Bus.119machine # [143722.350119] machine systemd[1]: Startup finished in 33.098s.120machine # [143722.364672] machine dbus-broker-launch[316]: Ready121warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.122machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/dqfx4wz0c4ap3nzyj7knkbmpxr3pyi81-closure-info, in 25.79 seconds)123machine: must succeed: systemctl start nix-daemon.socket124machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.01 seconds)125machine: must succeed: cp -r /nix/store/f9jfvr9kkdr8r3kmhiwy2vrqk49s5isb-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets126machine: (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)127machine: 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'128machine # [143748.547660] machine systemd[1]: Listening on Nix Daemon Socket.129machine # [143748.640225] machine runuser[4909]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)130machine # [143748.822303] machine runuser[4909]: pam_unix(runuser-l:session): session closed for user alice131machine: (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)132machine: 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' >&2133ok first run misses and writes134ok a cold run reports no invalidation135ok second run hits with identical output136ok a hit reports no invalidation137ok editing an imported file misses138ok the invalidation names the changed file139machine # [143748.830829] machine runuser[4922]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)140ok the same change always names the same file141ok touch on an imported file hits after one rehash142ok refreshed stat fields skip the rehash next time143ok a copy in place that keeps size, mtime and inode still misses144ok adding a file to a readDir'd directory misses145ok the invalidation names the listed directory146ok changing a getEnv variable misses147ok the invalidation names the environment variable148ok changing it back misses again (one entry per key)149ok -I change misses (new key)150ok a pure run never reads an entry an impure one compiled151ok currentTime never caches152ok currentTime: still no entry on the second run153ok a fetcher call fails and never caches154ok --no-tracing-cache prints no cache line155ok --no-tracing-cache never reads or writes the tracing store156ok IETS_CACHE=0 disables the cache157ok a failed evaluation writes nothing158ok after the failure the fixed file misses, not a stale hit159ok a result that holds an error placeholder is never cached160ok a lint warning is replayed on a hit161ok a file nothing ran before is a silent cold run162ok the file argument hits163ok editing the file argument names it164ok and the edited file hits next time165ok one command keeps one entry across edits166ok a removed file argument says it is gone167ok a flake nothing ran before is a silent cold run168ok the flake hits169ok editing flake.nix names the flake's tree170ok editing flake.lock names it171ok one flake command keeps one entry across edits172ok a path: flake with the same bytes and a newer date evaluates again173ok --cache-dir keeps a file it did not create174ok --cache-dir holds the stores in subdirectories175ok no cache flag: tracing=true ir=true176ok --no-tracing-cache: tracing=false ir=true177ok --no-ir-cache: tracing=true ir=false178ok --no-cache: tracing=false ir=false179ok a foreign store directory is refused, not wiped180ok a --ttl whose seconds overflow is refused181ok lang test hit prints identical output182ok search --cache-dir: the index misses then hits there183ok search --no-tracing-cache: no cache line, nothing read or written184ok search --no-ir-cache: no compiled-file cache185ok search --workers N: the same results186ok search --workers 0 is a usage error187pass=53 fail=0188machine: (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)189(finished: run the VM test script, in 68.50 seconds)190test script finished in 68.57s191cleanup192kill NspawnMachine (pid 50)193Container machine terminated by signal KILL.194(finished: cleanup, in 0.11 seconds)