container-test-run-iets-cachetest
checks.x86_64-linux.cachetest
· build #466
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.02 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 # [506649.375862] machine systemd-journald[57]: Journal started23machine # [506649.375950] machine systemd-journald[57]: Runtime Journal (/run/log/journal/8d732b85d2c8480d9e182f1ab27f1d79) is 8M, max 2.5G, 2.5G free.24machine # [506649.395639] machine systemd[1]: Listening on Journal Log Access Socket.25machine # [506649.413228] machine systemd[1]: Finished Apply Kernel Variables.26machine # [506649.518211] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.27machine # [506649.680233] machine systemd[1]: Starting Flush Journal to Persistent Storage...28machine # [506649.830193] machine systemd[1]: Starting Create Static Device Nodes in /dev...29machine # [506649.834263] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/8d732b85d2c8480d9e182f1ab27f1d79 is 1.653ms for 7 entries.30machine # [506649.834263] machine systemd-journald[57]: System Journal (/var/log/journal/8d732b85d2c8480d9e182f1ab27f1d79) is 512B, max 4G, 3.9G free.31machine # [506649.830705] machine systemd[1]: Finished Firewall.32machine # [506650.004828] machine systemd[1]: Finished Flush Journal to Persistent Storage.33machine # [506650.010536] machine systemd[1]: Finished Create Static Device Nodes in /dev.34machine # [506650.014192] machine systemd[1]: Reached target Preparation for Local File Systems.35machine # [506650.014377] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys36machine # [506650.326182] machine systemd[1]: Mounting /run/wrappers...37machine # [506650.371617] machine systemd[1]: Mounted /run/wrappers.38machine # [506650.372540] machine systemd[1]: Reached target Local File Systems.39machine # [506650.374350] machine systemd[1]: Listening on Boot Loader Control Service Socket.40machine # [506650.379169] machine systemd[1]: Starting Create SUID/SGID Wrappers...41machine # [506650.379230] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container42machine # [506650.385173] machine systemd[1]: Starting Save Transient machine-id to Disk...43machine # [506650.391332] machine systemd[1]: Starting Create System Files and Directories...44machine # [506650.430802] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted45machine # [506650.430984] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted46machine # [506650.431100] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/8d732b85d2c8480d9e182f1ab27f1d79 failed: Operation not permitted47machine # [506650.431267] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted48machine # [506650.439595] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.FlZX5S9ujz/chsh': Operation not permitted49machine # [506650.440673] machine systemd[1]: Finished Create System Files and Directories.50machine # [506650.506339] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE51machine # [506650.509200] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.52machine # [506650.509473] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.53machine # [506650.518180] machine systemd[1]: Starting Rebuild Journal Catalog...54machine # [506650.522382] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...55machine # [506650.573129] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.56machine # [506650.587253] machine systemd[1]: Finished Rebuild Journal Catalog.57machine # [506650.594343] machine systemd[1]: Starting Update is Completed...58machine # [506650.644459] machine systemd[1]: Finished Update is Completed.59machine # [506650.644637] machine systemd[1]: Reached target System Initialization.60machine # [506650.644730] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container61machine # [506650.644770] machine systemd[1]: Started Daily Cleanup of Temporary Directories.62machine # [506650.644792] machine systemd[1]: Reached target Timer Units.63machine # [506650.645135] machine systemd[1]: Listening on D-Bus System Message Bus Socket.64machine # [506650.645220] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.65machine # [506650.645239] machine systemd[1]: Reached target Socket Units.66machine # [506650.645265] machine systemd[1]: Reached target Basic System.67machine # [506650.650161] machine systemd[1]: Starting Import lastlog data into lastlog2 database...68machine # [506650.657542] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...69machine # [506650.686274] machine systemd[1]: Starting resolvconf update...70machine # [506650.721509] machine systemd[1]: Finished Import lastlog data into lastlog2 database.71machine # [506650.912377] machine systemd[1]: nscd.service: Deactivated successfully.72machine # [506650.912540] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).73machine # [506650.921176] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...74machine # [506650.963027] machine resolvconf-start[235]: setfacl: /run/resolvconf: Operation not supported75machine # [506650.963489] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE76machine # [506650.963575] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.77machine # [506650.963896] machine systemd[1]: Failed to start resolvconf update.78machine # [506650.964780] machine systemd[1]: Reached target Preparation for Network.79machine # [506650.972173] machine systemd[1]: Starting Address configuration of eth1...80machine # [506650.976261] machine systemd[1]: Starting Extra networking commands....81machine # [506651.040092] machine network-addresses-eth1-start[237]: adding address 192.168.1.1/24... done82machine # [506651.046025] machine network-addresses-eth1-start[237]: adding address 2001:db8:1::1/64... done83machine # [506651.057530] machine systemd[1]: Finished Address configuration of eth1.84machine # [506651.191195] machine systemd[1]: Started Name Service Cache Daemon (nsncd).85machine # [506651.192095] machine nsncd[223]: Oct 21 17:36:52.214 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"86machine # [506651.191299] machine systemd[1]: Reached target Host and Network Name Lookups.87machine # [506651.191363] machine systemd[1]: Reached target User and Group Name Lookups.88machine # [506651.221563] machine systemd[1]: Starting User Login Management...89machine # [506651.418239] machine systemd[1]: Finished Extra networking commands..90machine # [506651.418835] machine systemd[1]: Reached target Network.91machine # [506651.420361] machine systemd[1]: Starting Permit User Sessions...92machine # [506651.506045] machine systemd[1]: Finished Permit User Sessions.93machine # [506651.514208] machine systemd[1]: Started Console Getty.94machine # [506651.514295] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty095machine # [506651.514326] machine systemd[1]: Reached target Login Prompts.96machine # [506652.205222] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.97machine # [506652.209424] machine systemd[1]: Finished Save Transient machine-id to Disk.98machine # [506655.268619] machine systemd-logind[272]: New seat seat0.99machine # [506655.272236] machine systemd[1]: Starting D-Bus System Message Bus...100machine # [506655.272441] machine systemd[1]: Started User Login Management.101machine # [506655.276043] machine systemd[1]: Starting linger-users.service...102machine # [506655.403200] machine systemd[1]: linger-users.service: Deactivated successfully.103machine # [506655.403416] machine systemd[1]: Finished linger-users.service.104machine # [506655.403648] machine systemd[1]: Reached target Multi-User System.105machine # [506657.057497] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...106machine # [506657.060803] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'107machine # [506657.060803] machine dbus-broker-launch[316]: Invalid user-name in /nix/store/mls2pyi9qfvid69xpgavmjnhiab7y5im-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"108machine # [506657.061114] machine systemd[1]: Started D-Bus System Message Bus.109machine # [506657.067152] machine systemd[1]: Startup finished in 8.673s.110machine # [506657.086400] machine dbus-broker-launch[316]: Ready111machine: (finished: waiting for unit multi-user.target, in 10.22 seconds)112machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/q7ixaykm01clmk6ljinxdgc2mp8nfk24-closure-info113warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.114machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/q7ixaykm01clmk6ljinxdgc2mp8nfk24-closure-info, in 48.61 seconds)115machine: must succeed: systemctl start nix-daemon.socket116machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.05 seconds)117machine: must succeed: cp -r /nix/store/wij2ykrf13s73diqcn4p0zawmg3yrlv6-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets118machine: (finished: must succeed: cp -r /nix/store/wij2ykrf13s73diqcn4p0zawmg3yrlv6-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.39 seconds)119machine: 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'120machine # [506706.214489] machine systemd[1]: Listening on Nix Daemon Socket.121machine # [506706.634106] machine runuser[4926]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)122machine: (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 1.53 seconds)123machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/6sxjja4cw51z5xisy3f5na1mz18xiin0-iets-0.1.0/bin/iets NIXPKGS=/nix/store/r5l65vg4gi4dnx54zkwagfb8jmlqniy5-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2124machine # [506708.133244] machine runuser[4926]: pam_unix(runuser-l:session): session closed for user alice125machine # [506708.200877] machine runuser[4939]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)126ok first run misses and writes127ok a cold run reports no invalidation128ok second run hits with identical output129ok a hit reports no invalidation130ok editing an imported file misses131ok the invalidation names the changed file132ok the same change always names the same file133ok touch on an imported file hits after one rehash134ok refreshed stat fields skip the rehash next time135ok a copy in place that keeps size, mtime and inode still misses136ok adding a file to a readDir'd directory misses137ok the invalidation names the listed directory138ok changing a getEnv variable misses139ok the invalidation names the environment variable140ok changing it back misses again (one entry per key)141ok -I change misses (new key)142ok a pure run never reads an entry an impure one compiled143ok currentTime never caches144ok currentTime: still no entry on the second run145ok a fetcher call fails and never caches146ok --no-tracing-cache prints no cache line147ok --no-tracing-cache never reads or writes the tracing store148ok IETS_CACHE=0 disables the cache149ok a failed evaluation writes nothing150ok after the failure the fixed file misses, not a stale hit151ok a result that holds an error placeholder is never cached152ok a lint warning is replayed on a hit153ok a file nothing ran before is a silent cold run154ok the file argument hits155ok editing the file argument names it156ok and the edited file hits next time157ok one command keeps one entry across edits158ok a removed file argument says it is gone159ok a flake nothing ran before is a silent cold run160ok the flake hits161ok editing flake.nix names the flake's tree162ok editing flake.lock names it163ok one flake command keeps one entry across edits164ok a path: flake with the same bytes and a newer date evaluates again165ok --cache-dir keeps a file it did not create166ok --cache-dir holds the stores in subdirectories167ok no cache flag: tracing=true ir=true168ok --no-tracing-cache: tracing=false ir=true169ok --no-ir-cache: tracing=true ir=false170ok --no-cache: tracing=false ir=false171ok a foreign store directory is refused, not wiped172ok a --ttl whose seconds overflow is refused173ok lang test hit prints identical output174ok search --cache-dir: the index misses then hits there175ok search --no-tracing-cache: no cache line, nothing read or written176ok search --no-ir-cache: no compiled-file cache177ok search --workers N: the same results178ok search --workers 0 is a usage error179pass=53 fail=0180machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/6sxjja4cw51z5xisy3f5na1mz18xiin0-iets-0.1.0/bin/iets NIXPKGS=/nix/store/r5l65vg4gi4dnx54zkwagfb8jmlqniy5-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2, in 99.50 seconds)181(finished: run the VM test script, in 160.29 seconds)182machine # [506807.629176] machine runuser[4939]: pam_unix(runuser-l:session): session closed for user alice183test script finished in 161.04s184cleanup185kill NspawnMachine (pid 50)186Container machine terminated by signal KILL.187(finished: cleanup, in 0.23 seconds)