container-test-run-iets-cachetest
checks.x86_64-linux.cachetest
· build #87
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.01 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 # No journal files were found.23machine # No journal boot entry found for the specified boot (+0).24machine # No journal files were found.25machine # No journal boot entry found for the specified boot (+0).26machine # No journal files were found.27machine # No journal boot entry found for the specified boot (+0).28machine # No journal files were found.29machine # No journal boot entry found for the specified boot (+0).30machine # No journal files were found.31machine # No journal boot entry found for the specified boot (+0).32machine # No journal files were found.33machine # No journal boot entry found for the specified boot (+0).34machine # No journal files were found.35machine # No journal boot entry found for the specified boot (+0).36machine # No journal files were found.37machine # No journal boot entry found for the specified boot (+0).38machine: still waiting for container 'machine' to reach ready state...39machine # [1393089.497414] machine systemd-journald[57]: Journal started40machine # [1393089.497492] machine systemd-journald[57]: Runtime Journal (/run/log/journal/7222ea3f65904b7bad9f2cdced4c2d15) is 8M, max 2.5G, 2.5G free.41machine # [1393090.182054] machine systemd[1]: Listening on Journal Log Access Socket.42machine # [1393090.334230] machine systemd[1]: Finished Apply Kernel Variables.43machine # [1393091.599695] machine systemd[1]: Finished Firewall.44machine # [1393091.626225] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.45machine # [1393093.479284] machine systemd[1]: Starting Flush Journal to Persistent Storage...46machine # [1393093.483392] machine systemd[1]: Starting Create Static Device Nodes in /dev...47machine # [1393093.514116] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/7222ea3f65904b7bad9f2cdced4c2d15 is 6.232ms for 8 entries.48machine # [1393093.514116] machine systemd-journald[57]: System Journal (/var/log/journal/7222ea3f65904b7bad9f2cdced4c2d15) is 512B, max 4G, 3.9G free.49machine # [1393093.871307] machine systemd[1]: Finished Flush Journal to Persistent Storage.50machine # [1393093.967579] machine systemd[1]: Finished Create Static Device Nodes in /dev.51machine # [1393094.140235] machine systemd[1]: Reached target Preparation for Local File Systems.52machine # [1393094.232719] machine systemd[1]: Mounting /run/wrappers...53machine # [1393094.232775] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys54machine # [1393094.422257] machine systemd[1]: Mounted /run/wrappers.55machine # [1393094.424595] machine systemd[1]: Reached target Local File Systems.56machine # [1393094.425825] machine systemd[1]: Listening on Boot Loader Control Service Socket.57machine # [1393094.430135] machine systemd[1]: Starting Create SUID/SGID Wrappers...58machine # [1393094.430331] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container59machine # [1393094.439157] machine systemd[1]: Starting Save Transient machine-id to Disk...60machine # [1393094.458155] machine systemd[1]: Starting Create System Files and Directories...61machine # [1393094.513775] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.PBrLKecQrC/chsh': Operation not permitted62machine # [1393094.559568] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted63machine # [1393094.559779] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted64machine # [1393094.559895] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/7222ea3f65904b7bad9f2cdced4c2d15 failed: Operation not permitted65machine # [1393094.560070] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted66machine # [1393096.026913] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.67machine # [1393096.462902] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE68machine # [1393096.478361] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.69machine # [1393096.478797] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.70machine # [1393096.479307] machine systemd[1]: Finished Save Transient machine-id to Disk.71machine # [1393096.486224] machine systemd[1]: Finished Create System Files and Directories.72machine # [1393098.823185] machine systemd[1]: Starting Rebuild Journal Catalog...73machine # [1393098.828158] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...74machine # [1393098.890493] machine systemd[1]: Finished Rebuild Journal Catalog.75machine # [1393098.894686] machine systemd[1]: Starting Update is Completed...76machine # [1393098.939900] machine systemd[1]: Finished Update is Completed.77machine # [1393099.178260] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.78machine # [1393099.252271] machine systemd[1]: Reached target System Initialization.79machine # [1393099.252419] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container80machine # [1393099.252454] machine systemd[1]: Started Daily Cleanup of Temporary Directories.81machine # [1393099.252475] machine systemd[1]: Reached target Timer Units.82machine # [1393099.252622] machine systemd[1]: Listening on D-Bus System Message Bus Socket.83machine # [1393099.252715] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.84machine # [1393099.252736] machine systemd[1]: Reached target Socket Units.85machine # [1393099.253704] machine systemd[1]: Reached target Basic System.86machine # [1393099.270238] machine systemd[1]: Starting Import lastlog data into lastlog2 database...87machine # [1393099.339164] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...88machine # [1393099.345173] machine systemd[1]: Starting resolvconf update...89machine # [1393099.401592] machine systemd[1]: Finished Import lastlog data into lastlog2 database.90machine # [1393099.674414] machine resolvconf-start[231]: setfacl: /run/resolvconf: Operation not supported91machine # [1393099.678377] machine systemd[1]: nscd.service: Deactivated successfully.92machine # [1393099.703223] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).93machine # [1393099.708780] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE94machine # [1393099.708879] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.95machine # [1393099.709151] machine systemd[1]: Failed to start resolvconf update.96machine # [1393099.710309] machine systemd[1]: Reached target Preparation for Network.97machine # [1393099.717683] machine systemd[1]: Starting Address configuration of eth1...98machine # [1393099.731993] machine systemd[1]: Starting Extra networking commands....99machine # [1393099.742514] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...100machine # [1393099.790446] machine network-addresses-eth1-start[236]: adding address 192.168.1.1/24... done101machine # [1393099.793405] machine network-addresses-eth1-start[236]: adding address 2001:db8:1::1/64... done102machine # [1393099.801463] machine systemd[1]: Finished Address configuration of eth1.103machine # [1393100.032701] machine systemd[1]: Finished Extra networking commands..104machine # [1393100.032884] machine systemd[1]: Reached target Network.105machine: still waiting for container 'machine' to reach ready state...106machine: still waiting for container 'machine' to reach ready state...107machine # [1393114.702839] machine systemd[1]: Started Name Service Cache Daemon (nsncd).108machine # [1393114.702927] machine systemd[1]: Reached target Host and Network Name Lookups.109machine # [1393114.702992] machine systemd[1]: Reached target User and Group Name Lookups.110machine # [1393114.708020] machine nsncd[238]: Oct 11 01:58:05.435 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"111machine # [1393114.728174] machine systemd[1]: Starting User Login Management...112machine # [1393114.729305] machine systemd[1]: Starting Permit User Sessions...113machine # [1393114.751599] machine systemd[1]: Finished Permit User Sessions.114machine # [1393114.757175] machine systemd[1]: Started Console Getty.115machine # [1393114.757252] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0116machine # [1393114.757282] machine systemd[1]: Reached target Login Prompts.117machine: still waiting for container 'machine' to reach ready state...118machine: still waiting for container 'machine' to reach ready state...119machine: still waiting for container 'machine' to reach ready state...120machine: still waiting for container 'machine' to reach ready state...121machine: still waiting for container 'machine' to reach ready state...122machine: still waiting for container 'machine' to reach ready state...123machine # [1393173.066981] machine systemd-logind[306]: New seat seat0.124machine # [1393173.071228] machine systemd[1]: Started User Login Management.125machine # [1393173.074317] machine systemd[1]: Starting D-Bus System Message Bus...126machine # [1393173.076108] machine systemd[1]: Starting linger-users.service...127machine # [1393173.112529] machine systemd[1]: linger-users.service: Deactivated successfully.128machine # [1393173.113467] machine systemd[1]: Finished linger-users.service.129machine # [1393173.114222] machine systemd[1]: Reached target Multi-User System.130machine: still waiting for container 'machine' to reach ready state...131machine # [1393189.998034] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...132machine # [1393190.024023] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'133machine # [1393190.024023] 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"134machine # [1393190.024887] machine systemd[1]: Started D-Bus System Message Bus.135machine # [1393190.027288] machine systemd[1]: Startup finished in 1min 45.275s.136machine # [1393190.053716] machine dbus-broker-launch[316]: Ready137machine: (finished: waiting for unit multi-user.target, in 107.53 seconds)138machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/dn0i2c37ndp4sxdyj9dah91qnmqh06l1-closure-info139warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.140machine: (finished: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/dn0i2c37ndp4sxdyj9dah91qnmqh06l1-closure-info, in 116.55 seconds)141machine: must succeed: systemctl start nix-daemon.socket142machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.22 seconds)143machine: must succeed: cp -r /nix/store/2y4ih5y60x5qifcqqx80ap22ghck2kbq-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets144machine: (finished: must succeed: cp -r /nix/store/2y4ih5y60x5qifcqqx80ap22ghck2kbq-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.26 seconds)145machine: 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'146machine # [1393307.186207] machine systemd[1]: Listening on Nix Daemon Socket.147machine # [1393307.471082] machine runuser[4905]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)148machine: (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.88 seconds)149machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/fm212iq9i6f0mwkkshwq95gmrax4svm4-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2150machine # [1393308.325136] machine runuser[4905]: pam_unix(runuser-l:session): session closed for user alice151machine # [1393308.385318] machine runuser[4918]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)152ok first run misses and writes153ok a cold run reports no invalidation154ok second run hits with identical output155ok a hit reports no invalidation156ok editing an imported file misses157ok the invalidation names the changed file158ok the same change always names the same file159ok touch on an imported file hits after one rehash160ok refreshed stat fields skip the rehash next time161ok a copy in place that keeps size, mtime and inode still misses162ok adding a file to a readDir'd directory misses163ok the invalidation names the listed directory164ok changing a getEnv variable misses165ok the invalidation names the environment variable166ok changing it back misses again (one entry per key)167ok -I change misses (new key)168ok a pure run never reads an entry an impure one compiled169ok currentTime never caches170ok currentTime: still no entry on the second run171ok a fetcher call fails and never caches172ok --no-tracing-cache prints no cache line173ok --no-tracing-cache never reads or writes the tracing store174ok IETS_CACHE=0 disables the cache175ok a failed evaluation writes nothing176ok after the failure the fixed file misses, not a stale hit177ok a result that holds an error placeholder is never cached178ok a lint warning is replayed on a hit179ok a file nothing ran before is a silent cold run180ok the file argument hits181ok editing the file argument names it182ok and the edited file hits next time183ok one command keeps one entry across edits184ok a removed file argument says it is gone185ok a flake nothing ran before is a silent cold run186ok the flake hits187ok editing flake.nix names the flake's tree188ok editing flake.lock names it189ok one flake command keeps one entry across edits190ok a path: flake with the same bytes and a newer date evaluates again191ok --cache-dir keeps a file it did not create192ok --cache-dir holds the stores in subdirectories193ok no cache flag: tracing=true ir=true194ok --no-tracing-cache: tracing=false ir=true195ok --no-ir-cache: tracing=true ir=false196ok --no-cache: tracing=false ir=false197ok a foreign store directory is refused, not wiped198ok a --ttl whose seconds overflow is refused199ok lang test hit prints identical output200ok search --cache-dir: the index misses then hits there201ok search --no-tracing-cache: no cache line, nothing read or written202ok search --no-ir-cache: no compiled-file cache203ok search --workers N: the same results204ok search --workers 0 is a usage error205pass=53 fail=0206machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/fm212iq9i6f0mwkkshwq95gmrax4svm4-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2, in 81.24 seconds)207(finished: run the VM test script, in 306.69 seconds)208machine # [1393389.556283] machine runuser[4918]: pam_unix(runuser-l:session): session closed for user alice209test script finished in 307.07s210cleanup211kill NspawnMachine (pid 50)212Container machine terminated by signal KILL.213(finished: cleanup, in 0.34 seconds)