nixbot

builds

succeeded container-test-run-iets-cachetest checks.x86_64-linux.cachetest · build #55 · 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 # [1360584.756298] machine systemd-journald[57]: Journal started19machine # [1360584.756347] machine systemd-journald[57]: Runtime Journal (/run/log/journal/8f20e0d2ffe14d4a95b28de770c96fea) is 8M, max 2.5G, 2.5G free.20machine # [1360584.773242] machine systemd[1]: Listening on Journal Log Access Socket.21machine # [1360584.773632] machine systemd[1]: Finished Apply Kernel Variables.22machine # [1360584.787306] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.23machine # [1360584.805823] machine systemd[1]: Starting Flush Journal to Persistent Storage...24machine # [1360584.806828] machine systemd[1]: Starting Create Static Device Nodes in /dev...25machine # [1360584.830361] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/8f20e0d2ffe14d4a95b28de770c96fea is 964us for 7 entries.26machine # [1360584.830361] machine systemd-journald[57]: System Journal (/var/log/journal/8f20e0d2ffe14d4a95b28de770c96fea) is 512B, max 4G, 3.9G free.27machine # [1360584.840160] machine systemd[1]: Finished Create Static Device Nodes in /dev.28machine # [1360584.840942] machine systemd[1]: Reached target Preparation for Local File Systems.29machine # [1360584.841028] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys30machine # [1360584.853836] machine systemd[1]: Finished Flush Journal to Persistent Storage.31machine # [1360584.902744] machine systemd[1]: Finished Firewall.32machine # [1360585.756291] machine systemd[1]: Mounting /run/wrappers...33machine # [1360585.775741] machine systemd[1]: Mounted /run/wrappers.34machine # [1360585.776576] machine systemd[1]: Reached target Local File Systems.35machine # [1360585.777385] machine systemd[1]: Listening on Boot Loader Control Service Socket.36machine # [1360585.778286] machine systemd[1]: Starting Create SUID/SGID Wrappers...37machine # [1360585.778313] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container38machine # [1360585.779624] machine systemd[1]: Starting Save Transient machine-id to Disk...39machine # [1360585.780083] machine systemd[1]: Starting Create System Files and Directories...40machine # [1360585.792704] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted41machine # [1360585.792809] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted42machine # [1360585.792877] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/8f20e0d2ffe14d4a95b28de770c96fea failed: Operation not permitted43machine # [1360585.792970] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted44machine # [1360585.812101] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.l4UpUqDsHT/chsh': Operation not permitted45machine # [1360585.820442] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.46machine # [1360585.821567] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE47machine # [1360585.821639] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.48machine # [1360585.821741] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.49machine # [1360585.821894] machine systemd[1]: Finished Save Transient machine-id to Disk.50machine # [1360585.825412] machine systemd[1]: Finished Create System Files and Directories.51machine # [1360585.839306] machine systemd[1]: Starting Rebuild Journal Catalog...52machine # [1360585.839834] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...53machine # [1360585.857953] machine systemd[1]: Finished Rebuild Journal Catalog.54machine # [1360585.858828] machine systemd[1]: Starting Update is Completed...55machine # [1360585.863763] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.56machine # [1360585.873870] machine systemd[1]: Finished Update is Completed.57machine # [1360585.873985] machine systemd[1]: Reached target System Initialization.58machine # [1360585.874050] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container59machine # [1360585.874080] machine systemd[1]: Started Daily Cleanup of Temporary Directories.60machine # [1360585.874101] machine systemd[1]: Reached target Timer Units.61machine # [1360585.874200] machine systemd[1]: Listening on D-Bus System Message Bus Socket.62machine # [1360585.874276] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.63machine # [1360585.874290] machine systemd[1]: Reached target Socket Units.64machine # [1360585.874486] machine systemd[1]: Reached target Basic System.65machine # [1360585.875380] machine systemd[1]: Starting Import lastlog data into lastlog2 database...66machine # [1360585.875893] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...67machine # [1360585.876545] machine systemd[1]: Starting resolvconf update...68machine # [1360585.906410] machine systemd[1]: Finished Import lastlog data into lastlog2 database.69machine # [1360585.954743] machine systemd[1]: nscd.service: Deactivated successfully.70machine # [1360585.954890] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).71machine # [1360585.958386] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...72machine # [1360585.983091] machine resolvconf-start[235]: setfacl: /run/resolvconf: Operation not supported73machine # [1360585.985041] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE74machine # [1360585.985126] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.75machine # [1360585.985260] machine systemd[1]: Failed to start resolvconf update.76machine # [1360585.985394] machine systemd[1]: Reached target Preparation for Network.77machine # [1360585.986111] machine systemd[1]: Starting Address configuration of eth1...78machine # [1360585.986696] machine systemd[1]: Starting Extra networking commands....79machine # [1360586.005607] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done80machine # [1360586.008410] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done81machine # [1360586.012881] machine systemd[1]: Finished Address configuration of eth1.82machine # [1360586.067288] machine systemd[1]: Finished Extra networking commands..83machine # [1360586.067385] machine systemd[1]: Reached target Network.84machine # [1360586.148315] machine nsncd[225]: Oct 10 16:55:56.878 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"85machine # [1360586.148452] machine systemd[1]: Started Name Service Cache Daemon (nsncd).86machine # [1360586.148506] machine systemd[1]: Reached target Host and Network Name Lookups.87machine # [1360586.148540] machine systemd[1]: Reached target User and Group Name Lookups.88machine # [1360586.149974] machine systemd[1]: Starting User Login Management...89machine # [1360586.150404] machine systemd[1]: Starting Permit User Sessions...90machine # [1360586.178555] machine systemd[1]: Finished Permit User Sessions.91machine # [1360586.179342] machine systemd[1]: Started Console Getty.92machine # [1360586.179368] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty093machine # [1360586.179382] machine systemd[1]: Reached target Login Prompts.94machine # [1360587.077443] machine systemd-logind[306]: New seat seat0.95machine # [1360587.078137] machine systemd[1]: Starting D-Bus System Message Bus...96machine # [1360587.078212] machine systemd[1]: Started User Login Management.97machine # [1360587.078807] machine systemd[1]: Starting linger-users.service...98machine # [1360587.109592] machine systemd[1]: linger-users.service: Deactivated successfully.99machine # [1360587.109747] machine systemd[1]: Finished linger-users.service.100machine # [1360587.109876] machine systemd[1]: Reached target Multi-User System.101machine: (finished: waiting for unit multi-user.target, in 3.65 seconds)102machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/8ghrqpcfnniqaky2qghq4w911nph07lx-closure-info103machine # [1360587.487670] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...104machine # [1360587.488255] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'105machine # [1360587.488255] 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"106machine # [1360587.488901] machine systemd[1]: Started D-Bus System Message Bus.107machine # [1360587.489240] machine systemd[1]: Startup finished in 3.075s.108machine # [1360587.494425] machine dbus-broker-launch[316]: Ready109warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.110machine: (finished: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/8ghrqpcfnniqaky2qghq4w911nph07lx-closure-info, in 17.32 seconds)111machine: must succeed: systemctl start nix-daemon.socket112machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.01 seconds)113machine: must succeed: cp -r /nix/store/5wirgbnhwggqjygxzxggxjlzi3xxh8v6-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets114machine: (finished: must succeed: cp -r /nix/store/5wirgbnhwggqjygxzxggxjlzi3xxh8v6-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.24 seconds)115machine: 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'116machine # [1360604.904735] machine systemd[1]: Listening on Nix Daemon Socket.117machine # [1360605.153528] machine runuser[4905]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)118machine: (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.18 seconds)119machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/miyh117n1qlk1l91dgklp7dm7y58nsgd-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2120ok first run misses and writes121ok a cold run reports no invalidation122ok second run hits with identical output123ok a hit reports no invalidation124ok editing an imported file misses125ok the invalidation names the changed file126machine # [1360605.325854] machine runuser[4905]: pam_unix(runuser-l:session): session closed for user alice127machine # [1360605.336688] machine runuser[4918]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)128ok the same change always names the same file129ok touch on an imported file hits after one rehash130ok refreshed stat fields skip the rehash next time131ok a copy in place that keeps size, mtime and inode still misses132ok adding a file to a readDir'd directory misses133ok the invalidation names the listed directory134ok changing a getEnv variable misses135ok the invalidation names the environment variable136ok changing it back misses again (one entry per key)137ok -I change misses (new key)138ok a pure run never reads an entry an impure one compiled139ok currentTime never caches140ok currentTime: still no entry on the second run141ok a fetcher call fails and never caches142ok --no-tracing-cache prints no cache line143ok --no-tracing-cache never reads or writes the tracing store144ok IETS_CACHE=0 disables the cache145ok a failed evaluation writes nothing146ok after the failure the fixed file misses, not a stale hit147ok a result that holds an error placeholder is never cached148ok a lint warning is replayed on a hit149ok a file nothing ran before is a silent cold run150ok the file argument hits151ok editing the file argument names it152ok and the edited file hits next time153ok one command keeps one entry across edits154ok a removed file argument says it is gone155ok a flake nothing ran before is a silent cold run156ok the flake hits157ok editing flake.nix names the flake's tree158ok editing flake.lock names it159ok one flake command keeps one entry across edits160ok a path: flake with the same bytes and a newer date evaluates again161ok --cache-dir keeps a file it did not create162ok --cache-dir holds the stores in subdirectories163ok no cache flag: tracing=true ir=true164ok --no-tracing-cache: tracing=false ir=true165ok --no-ir-cache: tracing=true ir=false166ok --no-cache: tracing=false ir=false167ok a foreign store directory is refused, not wiped168ok a --ttl whose seconds overflow is refused169ok lang test hit prints identical output170ok search --cache-dir: the index misses then hits there171ok search --no-tracing-cache: no cache line, nothing read or written172ok search --no-ir-cache: no compiled-file cache173ok search --workers N: the same results174ok search --workers 0 is a usage error175pass=53 fail=0176machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/miyh117n1qlk1l91dgklp7dm7y58nsgd-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2, in 5.57 seconds)177(finished: run the VM test script, in 26.97 seconds)178test script finished in 27.15s179cleanup180kill NspawnMachine (pid 50)181(finished: cleanup, in 0.11 seconds)182Container machine terminated by signal KILL.