container-test-run-iets-cachetest
checks.x86_64-linux.cachetest
· build #357
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.01 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 # [1757281.012646] machine systemd-journald[57]: Journal started21machine # [1757281.012695] machine systemd-journald[57]: Runtime Journal (/run/log/journal/9e45d9ff3152476a87db45a61259ca9e) is 8M, max 2.5G, 2.5G free.22machine # [1757281.033234] machine systemd[1]: Listening on Journal Log Access Socket.23machine # [1757281.033716] machine systemd[1]: Finished Apply Kernel Variables.24machine # [1757281.053274] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.25machine # [1757281.076412] machine systemd[1]: Starting Flush Journal to Persistent Storage...26machine # [1757281.078872] machine systemd[1]: Starting Create Static Device Nodes in /dev...27machine # [1757281.113211] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/9e45d9ff3152476a87db45a61259ca9e is 1.320ms for 7 entries.28machine # [1757281.113211] machine systemd-journald[57]: System Journal (/var/log/journal/9e45d9ff3152476a87db45a61259ca9e) is 512B, max 4G, 3.9G free.29machine # [1757281.144120] machine systemd[1]: Finished Flush Journal to Persistent Storage.30machine # [1757281.144544] machine systemd[1]: Finished Create Static Device Nodes in /dev.31machine # [1757281.146344] machine systemd[1]: Reached target Preparation for Local File Systems.32machine # [1757281.146468] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys33machine # [1757281.202113] machine systemd[1]: Finished Firewall.34machine # [1757282.011811] machine systemd[1]: Mounting /run/wrappers...35machine # [1757282.093802] machine systemd[1]: Mounted /run/wrappers.36machine # [1757282.094309] machine systemd[1]: Reached target Local File Systems.37machine # [1757282.095500] machine systemd[1]: Listening on Boot Loader Control Service Socket.38machine # [1757282.096339] machine systemd[1]: Starting Create SUID/SGID Wrappers...39machine # [1757282.096369] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container40machine # [1757282.097074] machine systemd[1]: Starting Save Transient machine-id to Disk...41machine # [1757282.097646] machine systemd[1]: Starting Create System Files and Directories...42machine # [1757282.124588] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted43machine # [1757282.124778] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted44machine # [1757282.124864] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/9e45d9ff3152476a87db45a61259ca9e failed: Operation not permitted45machine # [1757282.124973] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted46machine # [1757282.135676] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.qa1datpq3B/chsh': Operation not permitted47machine # [1757282.137577] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE48machine # [1757282.137638] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.49machine # [1757282.137882] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.50machine # [1757282.138343] machine systemd[1]: Finished Create System Files and Directories.51machine # [1757282.152883] machine systemd[1]: Starting Rebuild Journal Catalog...52machine # [1757282.153695] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...53machine # [1757282.210982] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.54machine # [1757282.221888] machine systemd[1]: Finished Rebuild Journal Catalog.55machine # [1757282.222970] machine systemd[1]: Starting Update is Completed...56machine # [1757282.232426] machine systemd[1]: Finished Update is Completed.57machine # [1757282.232528] machine systemd[1]: Reached target System Initialization.58machine # [1757282.232580] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container59machine # [1757282.232705] machine systemd[1]: Started Daily Cleanup of Temporary Directories.60machine # [1757282.232721] machine systemd[1]: Reached target Timer Units.61machine # [1757282.232802] machine systemd[1]: Listening on D-Bus System Message Bus Socket.62machine # [1757282.232856] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.63machine # [1757282.232868] machine systemd[1]: Reached target Socket Units.64machine # [1757282.232886] machine systemd[1]: Reached target Basic System.65machine # [1757282.234067] machine systemd[1]: Starting Import lastlog data into lastlog2 database...66machine # [1757282.235134] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...67machine # [1757282.235955] machine systemd[1]: Starting resolvconf update...68machine # [1757282.258295] machine systemd[1]: Finished Import lastlog data into lastlog2 database.69machine # [1757282.299733] machine systemd[1]: nscd.service: Deactivated successfully.70machine # [1757282.299909] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).71machine # [1757282.301857] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...72machine # [1757282.321811] machine resolvconf-start[234]: setfacl: /run/resolvconf: Operation not supported73machine # [1757282.322572] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE74machine # [1757282.322639] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.75machine # [1757282.354196] machine systemd[1]: Failed to start resolvconf update.76machine # [1757282.354485] machine systemd[1]: Reached target Preparation for Network.77machine # [1757282.355844] machine systemd[1]: Starting Address configuration of eth1...78machine # [1757282.357047] machine systemd[1]: Starting Extra networking commands....79machine # [1757282.378210] machine network-addresses-eth1-start[237]: adding address 192.168.1.1/24... done80machine # [1757282.380936] machine network-addresses-eth1-start[237]: adding address 2001:db8:1::1/64... done81machine # [1757282.384956] machine systemd[1]: Finished Address configuration of eth1.82machine # [1757282.495451] machine systemd[1]: Finished Extra networking commands..83machine # [1757282.496039] machine systemd[1]: Reached target Network.84machine # [1757282.618444] machine nsncd[223]: Oct 15 07:07:33.348 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"85machine # [1757282.618500] machine systemd[1]: Started Name Service Cache Daemon (nsncd).86machine # [1757282.618578] machine systemd[1]: Reached target Host and Network Name Lookups.87machine # [1757282.618634] machine systemd[1]: Reached target User and Group Name Lookups.88machine # [1757282.620050] machine systemd[1]: Starting User Login Management...89machine # [1757282.622695] machine systemd[1]: Starting Permit User Sessions...90machine # [1757282.669586] machine systemd[1]: Finished Permit User Sessions.91machine # [1757282.675121] machine systemd[1]: Started Console Getty.92machine # [1757282.675189] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty093machine # [1757282.675212] machine systemd[1]: Reached target Login Prompts.94machine # [1757282.925919] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.95machine # [1757282.927311] machine systemd[1]: Finished Save Transient machine-id to Disk.96machine # [1757285.538467] machine systemd[1]: Starting D-Bus System Message Bus...97machine # [1757285.538797] machine systemd-logind[298]: New seat seat0.98machine # [1757285.539661] machine systemd[1]: Started User Login Management.99machine # [1757285.569126] machine systemd[1]: Starting linger-users.service...100machine # [1757285.587945] machine systemd[1]: linger-users.service: Deactivated successfully.101machine # [1757285.588259] machine systemd[1]: Finished linger-users.service.102machine # [1757285.590759] machine systemd[1]: Reached target Multi-User System.103machine # [1757286.123942] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...104machine # [1757286.130692] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'105machine # [1757286.130692] 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"106machine # [1757286.133737] machine systemd[1]: Started D-Bus System Message Bus.107machine # [1757286.134206] machine systemd[1]: Startup finished in 5.623s.108machine # [1757286.146046] machine dbus-broker-launch[316]: Ready109machine: (finished: waiting for unit multi-user.target, in 6.67 seconds)110machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/n4y989li5ri58n7l1xg3554hyjj0y9d5-closure-info111warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.112machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/n4y989li5ri58n7l1xg3554hyjj0y9d5-closure-info, in 11.99 seconds)113machine: must succeed: systemctl start nix-daemon.socket114machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.01 seconds)115machine: must succeed: cp -r /nix/store/8as20qr7840f1wk7y2d0phhydcjm7qlg-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets116machine: (finished: must succeed: cp -r /nix/store/8as20qr7840f1wk7y2d0phhydcjm7qlg-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.28 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 # [1757298.622433] machine systemd[1]: Listening on Nix Daemon Socket.119machine # [1757298.918601] machine runuser[4907]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)120machine: (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.42 seconds)121machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/hwkg0qlh65jcaqhzzm9ys8llnhxpc3s7-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2122ok first run misses and writes123ok a cold run reports no invalidation124ok second run hits with identical output125ok a hit reports no invalidation126ok editing an imported file misses127ok the invalidation names the changed file128machine # [1757299.326942] machine runuser[4907]: pam_unix(runuser-l:session): session closed for user alice129machine # [1757299.339168] machine runuser[4920]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)130ok the same change always names the same file131ok touch on an imported file hits after one rehash132ok refreshed stat fields skip the rehash next time133ok a copy in place that keeps size, mtime and inode still misses134ok adding a file to a readDir'd directory misses135ok the invalidation names the listed directory136ok changing a getEnv variable misses137ok the invalidation names the environment variable138ok changing it back misses again (one entry per key)139ok -I change misses (new key)140ok a pure run never reads an entry an impure one compiled141ok currentTime never caches142ok currentTime: still no entry on the second run143ok a fetcher call fails and never caches144ok --no-tracing-cache prints no cache line145ok --no-tracing-cache never reads or writes the tracing store146ok IETS_CACHE=0 disables the cache147ok a failed evaluation writes nothing148ok after the failure the fixed file misses, not a stale hit149ok a result that holds an error placeholder is never cached150ok a lint warning is replayed on a hit151ok a file nothing ran before is a silent cold run152ok the file argument hits153ok editing the file argument names it154ok and the edited file hits next time155ok one command keeps one entry across edits156ok a removed file argument says it is gone157ok a flake nothing ran before is a silent cold run158ok the flake hits159ok editing flake.nix names the flake's tree160ok editing flake.lock names it161ok one flake command keeps one entry across edits162ok a path: flake with the same bytes and a newer date evaluates again163ok --cache-dir keeps a file it did not create164ok --cache-dir holds the stores in subdirectories165ok no cache flag: tracing=true ir=true166ok --no-tracing-cache: tracing=false ir=true167ok --no-ir-cache: tracing=true ir=false168ok --no-cache: tracing=false ir=false169ok a foreign store directory is refused, not wiped170ok a --ttl whose seconds overflow is refused171ok lang test hit prints identical output172ok search --cache-dir: the index misses then hits there173ok search --no-tracing-cache: no cache line, nothing read or written174ok search --no-ir-cache: no compiled-file cache175ok search --workers N: the same results176ok search --workers 0 is a usage error177pass=53 fail=0178machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/hwkg0qlh65jcaqhzzm9ys8llnhxpc3s7-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2, in 8.30 seconds)179(finished: run the VM test script, in 27.69 seconds)180machine # [1757307.625315] machine runuser[4920]: pam_unix(runuser-l:session): session closed for user alice181test script finished in 28.32s182cleanup183kill NspawnMachine (pid 50)184Container machine terminated by signal KILL.185(finished: cleanup, in 0.17 seconds)