container-test-run-iets-cachetest
checks.x86_64-linux.cachetest
· build #354
· 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 # [1756941.578987] machine systemd-journald[57]: Journal started21machine # [1756941.579040] machine systemd-journald[57]: Runtime Journal (/run/log/journal/d19187ec1ab847059db93b81bef8b41c) is 8M, max 2.5G, 2.5G free.22machine # [1756941.656536] machine systemd[1]: Finished Apply Kernel Variables.23machine # [1756941.759541] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.24machine # [1756941.799620] machine systemd[1]: Finished Firewall.25machine # [1756941.802388] machine systemd[1]: Starting Flush Journal to Persistent Storage...26machine # [1756941.802996] machine systemd[1]: Starting Create Static Device Nodes in /dev...27machine # [1756941.849048] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/d19187ec1ab847059db93b81bef8b41c is 1.601ms for 7 entries.28machine # [1756941.849048] machine systemd-journald[57]: System Journal (/var/log/journal/d19187ec1ab847059db93b81bef8b41c) is 512B, max 4G, 3.9G free.29machine # [1756941.894195] machine systemd[1]: Finished Flush Journal to Persistent Storage.30machine # [1756941.908612] machine systemd[1]: Finished Create Static Device Nodes in /dev.31machine # [1756941.909953] machine systemd[1]: Reached target Preparation for Local File Systems.32machine # [1756941.910062] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys33machine # [1756942.645020] machine systemd[1]: Mounting /run/wrappers...34machine # [1756942.706236] machine systemd[1]: Mounted /run/wrappers.35machine # [1756942.707935] machine systemd[1]: Reached target Local File Systems.36machine # [1756942.708944] machine systemd[1]: Listening on Boot Loader Control Service Socket.37machine # [1756942.710454] machine systemd[1]: Starting Create SUID/SGID Wrappers...38machine # [1756942.710488] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container39machine # [1756942.712070] machine systemd[1]: Starting Save Transient machine-id to Disk...40machine # [1756942.712922] machine systemd[1]: Starting Create System Files and Directories...41machine # [1756942.768084] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.k2u1eEuFzz/chsh': Operation not permitted42machine # [1756942.775711] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted43machine # [1756942.775820] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted44machine # [1756942.775893] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/d19187ec1ab847059db93b81bef8b41c failed: Operation not permitted45machine # [1756942.775996] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted46machine # [1756942.809853] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE47machine # [1756942.809944] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.48machine # [1756942.810245] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.49machine # [1756942.822700] machine systemd[1]: Finished Create System Files and Directories.50machine # [1756942.901274] machine systemd[1]: Starting Rebuild Journal Catalog...51machine # [1756942.901936] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...52machine # [1756942.938315] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.53machine # [1756942.952150] machine systemd[1]: Finished Rebuild Journal Catalog.54machine # [1756942.953320] machine systemd[1]: Starting Update is Completed...55machine # [1756942.967032] machine systemd[1]: Finished Update is Completed.56machine # [1756942.967154] machine systemd[1]: Reached target System Initialization.57machine # [1756942.967204] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container58machine # [1756942.967228] machine systemd[1]: Started Daily Cleanup of Temporary Directories.59machine # [1756942.967241] machine systemd[1]: Reached target Timer Units.60machine # [1756942.967323] machine systemd[1]: Listening on D-Bus System Message Bus Socket.61machine # [1756942.967385] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.62machine # [1756942.967399] machine systemd[1]: Reached target Socket Units.63machine # [1756942.967415] machine systemd[1]: Reached target Basic System.64machine # [1756942.968335] machine systemd[1]: Starting Import lastlog data into lastlog2 database...65machine # [1756942.969017] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...66machine # [1756942.969626] machine systemd[1]: Starting resolvconf update...67machine # [1756942.992751] machine systemd[1]: Finished Import lastlog data into lastlog2 database.68machine # [1756943.058861] machine resolvconf-start[230]: setfacl: /run/resolvconf: Operation not supported69machine # [1756943.059889] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE70machine # [1756943.059971] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.71machine # [1756943.060111] machine systemd[1]: Failed to start resolvconf update.72machine # [1756943.060254] machine systemd[1]: Reached target Preparation for Network.73machine # [1756943.060931] machine systemd[1]: Starting Address configuration of eth1...74machine # [1756943.062364] machine systemd[1]: Starting Extra networking commands....75machine # [1756943.066693] machine systemd[1]: nscd.service: Deactivated successfully.76machine # [1756943.084250] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).77machine # [1756943.090413] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...78machine # [1756943.108061] machine network-addresses-eth1-start[232]: adding address 192.168.1.1/24... done79machine # [1756943.109976] machine network-addresses-eth1-start[232]: adding address 2001:db8:1::1/64... done80machine # [1756943.114499] machine systemd[1]: Finished Address configuration of eth1.81machine # [1756943.158647] machine systemd[1]: Finished Extra networking commands..82machine # [1756943.158819] machine systemd[1]: Reached target Network.83machine # [1756943.521519] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.84machine # [1756943.522402] machine systemd[1]: Finished Save Transient machine-id to Disk.85machine # [1756943.845101] machine nsncd[237]: Oct 15 07:01:54.575 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"86machine # [1756943.845194] machine systemd[1]: Started Name Service Cache Daemon (nsncd).87machine # [1756943.845267] machine systemd[1]: Reached target Host and Network Name Lookups.88machine # [1756943.845321] machine systemd[1]: Reached target User and Group Name Lookups.89machine # [1756943.846805] machine systemd[1]: Starting User Login Management...90machine # [1756943.847418] machine systemd[1]: Starting Permit User Sessions...91machine # [1756943.878939] machine systemd[1]: Finished Permit User Sessions.92machine # [1756943.880627] machine systemd[1]: Started Console Getty.93machine # [1756943.880685] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty094machine # [1756943.880710] machine systemd[1]: Reached target Login Prompts.95machine: still waiting for container 'machine' to reach ready state...96machine # [1756951.136796] machine systemd-logind[302]: New seat seat0.97machine # [1756951.138026] machine systemd[1]: Starting D-Bus System Message Bus...98machine # [1756951.138137] machine systemd[1]: Started User Login Management.99machine # [1756951.140305] machine systemd[1]: Starting linger-users.service...100machine # [1756951.168832] machine systemd[1]: linger-users.service: Deactivated successfully.101machine # [1756951.169185] machine systemd[1]: Finished linger-users.service.102machine # [1756951.169370] machine systemd[1]: Reached target Multi-User System.103machine: (finished: waiting for unit multi-user.target, in 11.65 seconds)104machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/6bqhr9zsfv0lf49s3xynihr473nv25gl-closure-info105machine # [1756951.847450] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...106machine # [1756951.848154] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'107machine # [1756951.848154] 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"108machine # [1756951.849263] machine systemd[1]: Started D-Bus System Message Bus.109machine # [1756951.849525] machine systemd[1]: Startup finished in 10.960s.110machine # [1756951.855938] 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/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/6bqhr9zsfv0lf49s3xynihr473nv25gl-closure-info, in 13.19 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/ivr1a2imrl5f35dwk7idiwbi46myp8nm-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets116machine: (finished: must succeed: cp -r /nix/store/ivr1a2imrl5f35dwk7idiwbi46myp8nm-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 # [1756965.154854] machine systemd[1]: Listening on Nix Daemon Socket.119machine # [1756965.340410] 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.28 seconds)121machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/rqr73zmvsb10b422ng1d8q329cf64g5k-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 # [1756965.609735] machine runuser[4907]: pam_unix(runuser-l:session): session closed for user alice129machine # [1756965.623737] 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/rqr73zmvsb10b422ng1d8q329cf64g5k-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2, in 6.70 seconds)179(finished: run the VM test script, in 32.00 seconds)180test script finished in 32.24s181cleanup182kill NspawnMachine (pid 50)183machine # [1756972.305651] machine runuser[4920]: pam_unix(runuser-l:session): session closed for user alice184Container machine terminated by signal KILL.185(finished: cleanup, in 0.11 seconds)