container-test-run-iets-cachetest
checks.x86_64-linux.cachetest
· build #323
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.05 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 # No journal files were found.21machine # No journal boot entry found for the specified boot (+0).22machine # [1683120.486064] machine systemd-journald[57]: Journal started23machine # [1683120.486144] machine systemd-journald[57]: Runtime Journal (/run/log/journal/259bf8520eb04ab3bbb5a6d67e560849) is 8M, max 2.5G, 2.5G free.24machine # [1683120.572365] machine systemd[1]: Listening on Journal Log Access Socket.25machine # [1683120.577188] machine systemd[1]: Finished Apply Kernel Variables.26machine # [1683120.632310] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.27machine # [1683120.671065] machine systemd[1]: Starting Flush Journal to Persistent Storage...28machine # [1683120.671941] machine systemd[1]: Starting Create Static Device Nodes in /dev...29machine # [1683120.722137] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/259bf8520eb04ab3bbb5a6d67e560849 is 1.713ms for 7 entries.30machine # [1683120.722137] machine systemd-journald[57]: System Journal (/var/log/journal/259bf8520eb04ab3bbb5a6d67e560849) is 512B, max 4G, 3.9G free.31machine # [1683120.765612] machine systemd[1]: Finished Flush Journal to Persistent Storage.32machine # [1683120.778312] machine systemd[1]: Finished Create Static Device Nodes in /dev.33machine # [1683120.779648] machine systemd[1]: Reached target Preparation for Local File Systems.34machine # [1683120.779798] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys35machine # [1683120.788471] machine systemd[1]: Finished Firewall.36machine # [1683121.509287] machine systemd[1]: Mounting /run/wrappers...37machine # [1683121.601178] machine systemd[1]: Mounted /run/wrappers.38machine # [1683121.602292] machine systemd[1]: Reached target Local File Systems.39machine # [1683121.603681] machine systemd[1]: Listening on Boot Loader Control Service Socket.40machine # [1683121.626415] machine systemd[1]: Starting Create SUID/SGID Wrappers...41machine # [1683121.626480] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container42machine # [1683121.628918] machine systemd[1]: Starting Save Transient machine-id to Disk...43machine # [1683121.634161] machine systemd[1]: Starting Create System Files and Directories...44machine # [1683121.681402] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted45machine # [1683121.681578] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted46machine # [1683121.681677] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/259bf8520eb04ab3bbb5a6d67e560849 failed: Operation not permitted47machine # [1683121.681815] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted48machine # [1683121.687452] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.W6CcwVRIfq/chsh': Operation not permitted49machine # [1683121.741467] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE50machine # [1683121.741563] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.51machine # [1683121.741884] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.52machine # [1683121.756201] machine systemd[1]: Finished Create System Files and Directories.53machine # [1683121.799337] machine systemd[1]: Starting Rebuild Journal Catalog...54machine # [1683121.804244] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...55machine # [1683121.868821] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.56machine # [1683121.874594] machine systemd[1]: Finished Save Transient machine-id to Disk.57machine # [1683121.874869] machine systemd[1]: Finished Rebuild Journal Catalog.58machine # [1683121.884752] machine systemd[1]: Starting Update is Completed...59machine # [1683121.892306] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.60machine # [1683121.901619] machine systemd[1]: Finished Update is Completed.61machine # [1683121.901800] machine systemd[1]: Reached target System Initialization.62machine # [1683121.901887] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container63machine # [1683121.901971] machine systemd[1]: Started Daily Cleanup of Temporary Directories.64machine # [1683121.901990] machine systemd[1]: Reached target Timer Units.65machine # [1683121.902120] machine systemd[1]: Listening on D-Bus System Message Bus Socket.66machine # [1683121.902200] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.67machine # [1683121.902222] machine systemd[1]: Reached target Socket Units.68machine # [1683121.902250] machine systemd[1]: Reached target Basic System.69machine # [1683121.904549] machine systemd[1]: Starting Import lastlog data into lastlog2 database...70machine # [1683121.905731] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...71machine # [1683121.909113] machine systemd[1]: Starting resolvconf update...72machine # [1683121.934464] machine systemd[1]: Finished Import lastlog data into lastlog2 database.73machine # [1683122.013950] machine systemd[1]: nscd.service: Deactivated successfully.74machine # [1683122.014157] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).75machine # [1683122.020686] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...76machine # [1683122.030156] machine resolvconf-start[235]: setfacl: /run/resolvconf: Operation not supported77machine # [1683122.031671] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE78machine # [1683122.031749] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.79machine # [1683122.051574] machine systemd[1]: Failed to start resolvconf update.80machine # [1683122.052427] machine systemd[1]: Reached target Preparation for Network.81machine # [1683122.057206] machine systemd[1]: Starting Address configuration of eth1...82machine # [1683122.062136] machine systemd[1]: Starting Extra networking commands....83machine # [1683122.120501] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done84machine # [1683122.179025] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done85machine # [1683122.202316] machine systemd[1]: Finished Address configuration of eth1.86machine # [1683122.281397] machine systemd[1]: Finished Extra networking commands..87machine # [1683122.282620] machine systemd[1]: Reached target Network.88machine # [1683122.830580] machine systemd[1]: Started Name Service Cache Daemon (nsncd).89machine # [1683122.832504] machine nsncd[232]: Oct 14 10:31:33.561 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"90machine # [1683122.830650] machine systemd[1]: Reached target Host and Network Name Lookups.91machine # [1683122.830690] machine systemd[1]: Reached target User and Group Name Lookups.92machine # [1683122.835234] machine systemd[1]: Starting User Login Management...93machine # [1683122.838153] machine systemd[1]: Starting Permit User Sessions...94machine # [1683122.894803] machine systemd[1]: Finished Permit User Sessions.95machine # [1683122.896132] machine systemd[1]: Started Console Getty.96machine # [1683122.896170] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty097machine # [1683122.896190] machine systemd[1]: Reached target Login Prompts.98machine: still waiting for container 'machine' to reach ready state...99machine # [1683128.388919] machine systemd-logind[306]: New seat seat0.100machine # [1683128.389223] machine systemd[1]: Started User Login Management.101machine # [1683128.391311] machine systemd[1]: Starting D-Bus System Message Bus...102machine # [1683128.394656] machine systemd[1]: Starting linger-users.service...103machine # [1683128.456980] machine systemd[1]: linger-users.service: Deactivated successfully.104machine # [1683128.457817] machine systemd[1]: Finished linger-users.service.105machine # [1683128.458090] machine systemd[1]: Reached target Multi-User System.106machine # [1683130.849023] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...107machine # [1683130.874430] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'108machine # [1683130.874430] 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"109machine # [1683130.874741] machine systemd[1]: Started D-Bus System Message Bus.110machine # [1683130.875375] machine systemd[1]: Startup finished in 11.091s.111machine # [1683130.926821] machine dbus-broker-launch[316]: Ready112machine: (finished: waiting for unit multi-user.target, in 13.29 seconds)113machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/d9hvdcpc3448cw2inj6l3cmqk2j02zd3-closure-info114warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.115machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/d9hvdcpc3448cw2inj6l3cmqk2j02zd3-closure-info, in 28.54 seconds)116machine: must succeed: systemctl start nix-daemon.socket117machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.04 seconds)118machine: must succeed: cp -r /nix/store/3mi32479w3qhiaiwzmisz6dgkv8byv25-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets119machine # [1683160.023325] machine systemd[1]: Listening on Nix Daemon Socket.120machine: (finished: must succeed: cp -r /nix/store/3mi32479w3qhiaiwzmisz6dgkv8byv25-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.62 seconds)121machine: 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'122machine # [1683160.672192] machine runuser[4907]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)123machine: (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.26 seconds)124machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/sicf5sxky9m0gn5dlwxcymird319wzck-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2125ok first run misses and writes126ok a cold run reports no invalidation127ok second run hits with identical output128ok a hit reports no invalidation129machine # [1683161.907165] machine runuser[4907]: pam_unix(runuser-l:session): session closed for user alice130machine # [1683161.959378] machine runuser[4920]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)131ok editing an imported file misses132ok the invalidation names the changed file133ok the same change always names the same file134ok touch on an imported file hits after one rehash135ok refreshed stat fields skip the rehash next time136ok a copy in place that keeps size, mtime and inode still misses137ok adding a file to a readDir'd directory misses138ok the invalidation names the listed directory139ok changing a getEnv variable misses140ok the invalidation names the environment variable141ok changing it back misses again (one entry per key)142ok -I change misses (new key)143ok a pure run never reads an entry an impure one compiled144ok currentTime never caches145ok currentTime: still no entry on the second run146ok a fetcher call fails and never caches147ok --no-tracing-cache prints no cache line148ok --no-tracing-cache never reads or writes the tracing store149ok IETS_CACHE=0 disables the cache150ok a failed evaluation writes nothing151ok after the failure the fixed file misses, not a stale hit152ok a result that holds an error placeholder is never cached153ok a lint warning is replayed on a hit154ok a file nothing ran before is a silent cold run155ok the file argument hits156ok editing the file argument names it157ok and the edited file hits next time158ok one command keeps one entry across edits159ok a removed file argument says it is gone160ok a flake nothing ran before is a silent cold run161ok the flake hits162ok editing flake.nix names the flake's tree163ok editing flake.lock names it164ok one flake command keeps one entry across edits165ok a path: flake with the same bytes and a newer date evaluates again166ok --cache-dir keeps a file it did not create167ok --cache-dir holds the stores in subdirectories168ok no cache flag: tracing=true ir=true169ok --no-tracing-cache: tracing=false ir=true170ok --no-ir-cache: tracing=true ir=false171ok --no-cache: tracing=false ir=false172ok a foreign store directory is refused, not wiped173ok a --ttl whose seconds overflow is refused174ok lang test hit prints identical output175ok search --cache-dir: the index misses then hits there176ok search --no-tracing-cache: no cache line, nothing read or written177ok search --no-ir-cache: no compiled-file cache178ok search --workers N: the same results179ok search --workers 0 is a usage error180pass=53 fail=0181machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/sicf5sxky9m0gn5dlwxcymird319wzck-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2, in 56.38 seconds)182(finished: run the VM test script, in 100.14 seconds)183test script finished in 100.42s184cleanup185kill NspawnMachine (pid 50)186machine # [1683218.281218] machine runuser[4920]: pam_unix(runuser-l:session): session closed for user alice187Container machine terminated by signal KILL.188(finished: cleanup, in 0.17 seconds)