container-test-run-iets-cachetest
checks.x86_64-linux.cachetest
· build #39
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.02 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 # [1341291.374163] machine systemd-journald[57]: Journal started21machine # [1341291.374237] machine systemd-journald[57]: Runtime Journal (/run/log/journal/1d5676ad9a7f46f693c987be1961ec22) is 8M, max 2.5G, 2.5G free.22machine # [1341291.376614] machine systemd[1]: Listening on Journal Log Access Socket.23machine # [1341291.377188] machine systemd[1]: Finished Apply Kernel Variables.24machine # [1341291.401706] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.25machine # [1341291.421348] machine systemd[1]: Starting Flush Journal to Persistent Storage...26machine # [1341291.424113] machine systemd[1]: Starting Create Static Device Nodes in /dev...27machine # [1341291.485979] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/1d5676ad9a7f46f693c987be1961ec22 is 1.586ms for 7 entries.28machine # [1341291.485979] machine systemd-journald[57]: System Journal (/var/log/journal/1d5676ad9a7f46f693c987be1961ec22) is 512B, max 4G, 3.9G free.29machine # [1341291.486335] machine systemd[1]: Finished Create Static Device Nodes in /dev.30machine # [1341291.503565] machine systemd[1]: Reached target Preparation for Local File Systems.31machine # [1341291.505932] machine systemd[1]: Mounting /run/wrappers...32machine # [1341291.505963] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys33machine # [1341291.537156] machine systemd[1]: Mounted /run/wrappers.34machine # [1341291.538135] machine systemd[1]: Finished Flush Journal to Persistent Storage.35machine # [1341291.540560] machine systemd[1]: Reached target Local File Systems.36machine # [1341291.541678] machine systemd[1]: Listening on Boot Loader Control Service Socket.37machine # [1341291.543688] machine systemd[1]: Starting Create SUID/SGID Wrappers...38machine # [1341291.543718] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container39machine # [1341291.548377] machine systemd[1]: Starting Save Transient machine-id to Disk...40machine # [1341291.550540] machine systemd[1]: Starting Create System Files and Directories...41machine # [1341291.593371] machine systemd-tmpfiles[132]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted42machine # [1341291.593532] machine systemd-tmpfiles[132]: fchmod() of /var/log/journal failed: Operation not permitted43machine # [1341291.593625] machine systemd-tmpfiles[132]: fchmod() of /var/log/journal/1d5676ad9a7f46f693c987be1961ec22 failed: Operation not permitted44machine # [1341291.593779] machine systemd-tmpfiles[132]: fchmod() of /run/log/journal failed: Operation not permitted45machine # [1341291.602646] machine suid-sgid-wrappers-start[146]: chmod: changing permissions of '/run/wrappers/wrappers.ArbBhGXyCQ/chsh': Operation not permitted46machine # [1341291.605937] machine systemd[1]: Finished Create System Files and Directories.47machine # [1341291.606894] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE48machine # [1341291.606987] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.49machine # [1341291.607193] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.50machine # [1341291.610623] machine systemd[1]: Starting Rebuild Journal Catalog...51machine # [1341291.612360] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...52machine # [1341291.696565] machine systemd[1]: Finished Rebuild Journal Catalog.53machine # [1341291.698208] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.54machine # [1341291.700592] machine systemd[1]: Starting Update is Completed...55machine # [1341291.700838] machine systemd[1]: Finished Firewall.56machine # [1341291.712610] machine systemd[1]: Finished Save Transient machine-id to Disk.57machine # [1341291.724537] machine systemd[1]: Finished Update is Completed.58machine # [1341291.724644] machine systemd[1]: Reached target System Initialization.59machine # [1341291.725084] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container60machine # [1341291.725112] machine systemd[1]: Started Daily Cleanup of Temporary Directories.61machine # [1341291.725124] machine systemd[1]: Reached target Timer Units.62machine # [1341291.725208] machine systemd[1]: Listening on D-Bus System Message Bus Socket.63machine # [1341291.725280] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.64machine # [1341291.725295] machine systemd[1]: Reached target Socket Units.65machine # [1341291.725478] machine systemd[1]: Reached target Basic System.66machine # [1341291.727760] machine systemd[1]: Starting Import lastlog data into lastlog2 database...67machine # [1341291.729381] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...68machine # [1341291.735454] machine systemd[1]: Starting resolvconf update...69machine # [1341291.756420] machine systemd[1]: Finished Import lastlog data into lastlog2 database.70machine # [1341291.873004] machine systemd[1]: nscd.service: Deactivated successfully.71machine # [1341291.873168] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).72machine # [1341291.878013] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...73machine # [1341291.896646] machine resolvconf-start[235]: setfacl: /run/resolvconf: Operation not supported74machine # [1341291.898374] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE75machine # [1341291.898467] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.76machine # [1341291.912198] machine systemd[1]: Failed to start resolvconf update.77machine # [1341291.913039] machine systemd[1]: Reached target Preparation for Network.78machine # [1341291.914116] machine systemd[1]: Starting Address configuration of eth1...79machine # [1341291.914879] machine systemd[1]: Starting Extra networking commands....80machine # [1341291.941923] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done81machine # [1341291.945127] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done82machine # [1341291.952372] machine systemd[1]: Finished Address configuration of eth1.83machine # [1341292.019235] machine systemd[1]: Finished Extra networking commands..84machine # [1341292.019343] machine systemd[1]: Reached target Network.85machine # [1341292.102228] machine systemd[1]: Started Name Service Cache Daemon (nsncd).86machine # [1341292.102298] machine systemd[1]: Reached target Host and Network Name Lookups.87machine # [1341292.102346] machine systemd[1]: Reached target User and Group Name Lookups.88machine # [1341292.104046] machine nsncd[225]: Oct 10 11:34:22.834 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"89machine # [1341292.106487] machine systemd[1]: Starting User Login Management...90machine # [1341292.109446] machine systemd[1]: Starting Permit User Sessions...91machine # [1341292.165015] machine systemd[1]: Finished Permit User Sessions.92machine # [1341292.166850] machine systemd[1]: Started Console Getty.93machine # [1341292.166886] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty094machine # [1341292.166903] machine systemd[1]: Reached target Login Prompts.95machine # [1341292.372562] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.96machine # [1341293.349524] machine systemd-logind[302]: New seat seat0.97machine # [1341293.349967] machine systemd[1]: Starting D-Bus System Message Bus...98machine # [1341293.350080] machine systemd[1]: Started User Login Management.99machine # [1341293.351041] machine systemd[1]: Starting linger-users.service...100machine # [1341293.373426] machine systemd[1]: linger-users.service: Deactivated successfully.101machine # [1341293.373694] machine systemd[1]: Finished linger-users.service.102machine # [1341293.373862] machine systemd[1]: Reached target Multi-User System.103machine: (finished: waiting for unit multi-user.target, in 4.16 seconds)104machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/5mi34v0b4rfg0kqj60vgrdlw04nnv7sa-closure-info105machine # [1341293.729966] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...106machine # [1341293.730744] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'107machine # [1341293.730744] machine dbus-broker-launch[316]: Invalid user-name in /nix/store/z441alblwy32lyxiy8466qf85iyi2sdj-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"108machine # [1341293.731090] machine systemd[1]: Started D-Bus System Message Bus.109machine # [1341293.731925] machine systemd[1]: Startup finished in 3.027s.110machine # [1341293.739570] machine dbus-broker-launch[316]: Ready111warning: '--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/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/5mi34v0b4rfg0kqj60vgrdlw04nnv7sa-closure-info, in 12.59 seconds)113machine: must succeed: systemctl start nix-daemon.socket114machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.02 seconds)115machine: must succeed: cp -r /nix/store/8a3rc1qww3wvfg56bhzdvgssvc8k96rs-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets116machine: (finished: must succeed: cp -r /nix/store/8a3rc1qww3wvfg56bhzdvgssvc8k96rs-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.17 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 # [1341306.452882] machine systemd[1]: Listening on Nix Daemon Socket.119machine # [1341306.630110] machine runuser[4868]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)120machine # [1341306.808165] machine runuser[4868]: pam_unix(runuser-l:session): session closed for user alice121machine: (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)122machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/y2qw3j8b4vhwwm9fc7763m7vg6sxcakk-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2123ok first run misses and writes124ok a cold run reports no invalidation125ok second run hits with identical output126ok a hit reports no invalidation127ok editing an imported file misses128ok the invalidation names the changed file129machine # [1341306.818857] machine runuser[4881]: 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/y2qw3j8b4vhwwm9fc7763m7vg6sxcakk-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2, in 7.78 seconds)179(finished: run the VM test script, in 24.91 seconds)180test script finished in 24.93s181cleanup182kill NspawnMachine (pid 50)183Container machine terminated by signal KILL.184(finished: cleanup, in 0.17 seconds)