container-test-run-iets-cachetest
checks.x86_64-linux.cachetest
· build #82
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.03 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: still waiting for container 'machine' to reach ready state...29machine # No journal files were found.30machine # No journal boot entry found for the specified boot (+0).31machine # No journal files were found.32machine # No journal boot entry found for the specified boot (+0).33machine # No journal files were found.34machine # No journal boot entry found for the specified boot (+0).35machine # No journal files were found.36machine # No journal boot entry found for the specified boot (+0).37machine # No journal files were found.38machine # No journal boot entry found for the specified boot (+0).39machine # No journal files were found.40machine # No journal boot entry found for the specified boot (+0).41machine # No journal files were found.42machine # No journal boot entry found for the specified boot (+0).43machine # No journal files were found.44machine # No journal boot entry found for the specified boot (+0).45machine # No journal files were found.46machine # No journal boot entry found for the specified boot (+0).47machine # No journal files were found.48machine # No journal boot entry found for the specified boot (+0).49machine: still waiting for container 'machine' to reach ready state...50machine # No journal files were found.51machine # No journal boot entry found for the specified boot (+0).52machine # No journal files were found.53machine # No journal boot entry found for the specified boot (+0).54machine # No journal files were found.55machine # No journal boot entry found for the specified boot (+0).56machine # No journal files were found.57machine # No journal boot entry found for the specified boot (+0).58machine # No journal files were found.59machine # No journal boot entry found for the specified boot (+0).60machine # No journal files were found.61machine # No journal boot entry found for the specified boot (+0).62machine # [1386895.500069] machine systemd-journald[57]: Journal started63machine # [1386895.500186] machine systemd-journald[57]: Runtime Journal (/run/log/journal/a0a7677e02924a11a7aa5b770b45842a) is 8M, max 2.5G, 2.5G free.64machine # [1386895.960639] machine systemd[1]: Listening on Journal Log Access Socket.65machine # [1386895.961013] machine systemd[1]: Finished Firewall.66machine # [1386896.098187] machine systemd[1]: Finished Apply Kernel Variables.67machine # [1386896.733222] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.68machine # [1386897.516757] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/a0a7677e02924a11a7aa5b770b45842a is 9.885ms for 6 entries.69machine # [1386897.516757] machine systemd-journald[57]: System Journal (/var/log/journal/a0a7677e02924a11a7aa5b770b45842a) is 512B, max 4G, 3.9G free.70machine # [1386897.524254] machine systemd[1]: Starting Flush Journal to Persistent Storage...71machine # [1386897.601216] machine systemd[1]: Starting Create Static Device Nodes in /dev...72machine # [1386897.851499] machine systemd[1]: Finished Flush Journal to Persistent Storage.73machine # [1386898.262983] machine systemd[1]: Finished Create Static Device Nodes in /dev.74machine # [1386898.363303] machine systemd[1]: Reached target Preparation for Local File Systems.75machine # [1386898.393784] machine systemd[1]: Mounting /run/wrappers...76machine # [1386898.393846] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys77machine # [1386898.470513] machine systemd[1]: Mounted /run/wrappers.78machine # [1386898.471732] machine systemd[1]: Reached target Local File Systems.79machine # [1386898.475516] machine systemd[1]: Listening on Boot Loader Control Service Socket.80machine # [1386898.478148] machine systemd[1]: Starting Create SUID/SGID Wrappers...81machine # [1386898.478198] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container82machine # [1386898.483155] machine systemd[1]: Starting Save Transient machine-id to Disk...83machine # [1386898.489224] machine systemd[1]: Starting Create System Files and Directories...84machine # [1386898.804360] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted85machine # [1386898.804553] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted86machine # [1386898.804673] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/a0a7677e02924a11a7aa5b770b45842a failed: Operation not permitted87machine # [1386898.804831] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted88machine # [1386898.959176] machine systemd[1]: Finished Create System Files and Directories.89machine # [1386899.114394] machine systemd[1]: Starting Rebuild Journal Catalog...90machine # [1386899.117897] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...91machine # [1386899.391323] machine suid-sgid-wrappers-start[171]: chmod: changing permissions of '/run/wrappers/wrappers.PIWqZB5ZdK/chsh': Operation not permitted92machine # [1386899.392284] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE93machine # [1386899.392383] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.94machine # [1386899.392712] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.95machine # [1386899.414328] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.96machine # [1386899.529843] machine systemd[1]: Finished Rebuild Journal Catalog.97machine # [1386899.542214] machine systemd[1]: Starting Update is Completed...98machine # [1386899.629011] machine systemd[1]: Finished Update is Completed.99machine # [1386899.629754] machine systemd[1]: Reached target System Initialization.100machine # [1386899.629917] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container101machine # [1386899.629974] machine systemd[1]: Started Daily Cleanup of Temporary Directories.102machine # [1386899.630027] machine systemd[1]: Reached target Timer Units.103machine # [1386899.630184] machine systemd[1]: Listening on D-Bus System Message Bus Socket.104machine # [1386899.630285] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.105machine # [1386899.630564] machine systemd[1]: Reached target Socket Units.106machine # [1386899.630596] machine systemd[1]: Reached target Basic System.107machine # [1386899.709256] machine systemd[1]: Starting Import lastlog data into lastlog2 database...108machine # [1386899.946179] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...109machine # [1386899.952922] machine systemd[1]: Starting resolvconf update...110machine # [1386899.998551] machine systemd[1]: Finished Import lastlog data into lastlog2 database.111machine # [1386900.205432] machine systemd[1]: nscd.service: Deactivated successfully.112machine # [1386900.205643] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).113machine # [1386900.216176] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...114machine # [1386900.414227] machine resolvconf-start[235]: setfacl: /run/resolvconf: Operation not supported115machine # [1386900.417671] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE116machine # [1386900.417768] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.117machine # [1386900.418161] machine systemd[1]: Failed to start resolvconf update.118machine # [1386900.418879] machine systemd[1]: Reached target Preparation for Network.119machine # [1386900.427169] machine systemd[1]: Starting Address configuration of eth1...120machine # [1386900.433158] machine systemd[1]: Starting Extra networking commands....121machine # [1386900.682491] machine network-addresses-eth1-start[237]: adding address 192.168.1.1/24... done122machine # [1386900.693459] machine network-addresses-eth1-start[237]: adding address 2001:db8:1::1/64... done123machine # [1386900.711070] machine systemd[1]: Finished Address configuration of eth1.124machine # [1386900.721532] machine nsncd[224]: Oct 11 00:14:31.449 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"125machine # [1386900.723528] machine systemd[1]: Started Name Service Cache Daemon (nsncd).126machine # [1386900.965319] machine systemd[1]: Reached target Host and Network Name Lookups.127machine # [1386900.965394] machine systemd[1]: Reached target User and Group Name Lookups.128machine # [1386900.986256] machine systemd[1]: Starting User Login Management...129machine # [1386900.986803] machine systemd[1]: Finished Extra networking commands..130machine # [1386900.987505] machine systemd[1]: Reached target Network.131machine # [1386901.032215] machine systemd[1]: Starting Permit User Sessions...132machine: still waiting for container 'machine' to reach ready state...133machine # [1386902.085878] machine systemd[1]: Finished Permit User Sessions.134machine # [1386902.091208] machine systemd[1]: Started Console Getty.135machine # [1386902.091296] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0136machine # [1386902.091327] machine systemd[1]: Reached target Login Prompts.137machine # [1386903.274623] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.138machine # [1386903.371908] machine systemd[1]: Finished Save Transient machine-id to Disk.139machine: still waiting for container 'machine' to reach ready state...140machine # [1386913.053009] machine systemd-logind[304]: New seat seat0.141machine # [1386913.060269] machine systemd[1]: Starting D-Bus System Message Bus...142machine # [1386913.060450] machine systemd[1]: Started User Login Management.143machine # [1386913.063590] machine systemd[1]: Starting linger-users.service...144machine # [1386913.973798] machine systemd[1]: linger-users.service: Deactivated successfully.145machine # [1386913.974348] machine systemd[1]: Finished linger-users.service.146machine # [1386913.975256] machine systemd[1]: Reached target Multi-User System.147machine: still waiting for container 'machine' to reach ready state...148machine # [1386924.334347] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...149machine # [1386924.434832] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'150machine # [1386924.434832] 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"151machine # [1386924.546406] machine systemd[1]: Started D-Bus System Message Bus.152machine # [1386924.549114] machine systemd[1]: Startup finished in 41.694s.153machine # [1386924.563902] machine dbus-broker-launch[316]: Ready154machine: (finished: waiting for unit multi-user.target, in 53.95 seconds)155machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/0a1z426d9nvdj02gdpzvhyd24fjcknmp-closure-info156warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.157machine: (finished: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/0a1z426d9nvdj02gdpzvhyd24fjcknmp-closure-info, in 136.23 seconds)158machine: must succeed: systemctl start nix-daemon.socket159machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.18 seconds)160machine: must succeed: cp -r /nix/store/zldml4kvhck6dm1nxifg4cs2n26s0kmq-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets161machine # [1387061.859203] machine systemd[1]: Listening on Nix Daemon Socket.162machine: (finished: must succeed: cp -r /nix/store/zldml4kvhck6dm1nxifg4cs2n26s0kmq-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 7.42 seconds)163machine: 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'164machine # [1387069.552774] machine runuser[4905]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)165machine: (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 5.39 seconds)166machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/7mgmycg1s47i1vp1vb9rv6fxga4hbfl5-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2167machine # [1387074.652158] machine runuser[4905]: pam_unix(runuser-l:session): session closed for user alice168machine # [1387074.764910] machine runuser[4918]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)169ok first run misses and writes170ok a cold run reports no invalidation171ok second run hits with identical output172ok a hit reports no invalidation173ok editing an imported file misses174ok the invalidation names the changed file175ok the same change always names the same file176ok touch on an imported file hits after one rehash177ok refreshed stat fields skip the rehash next time178ok a copy in place that keeps size, mtime and inode still misses179ok adding a file to a readDir'd directory misses180ok the invalidation names the listed directory181ok changing a getEnv variable misses182ok the invalidation names the environment variable183ok changing it back misses again (one entry per key)184ok -I change misses (new key)185ok a pure run never reads an entry an impure one compiled186ok currentTime never caches187ok currentTime: still no entry on the second run188ok a fetcher call fails and never caches189ok --no-tracing-cache prints no cache line190ok --no-tracing-cache never reads or writes the tracing store191ok IETS_CACHE=0 disables the cache192ok a failed evaluation writes nothing193ok after the failure the fixed file misses, not a stale hit194ok a result that holds an error placeholder is never cached195ok a lint warning is replayed on a hit196ok a file nothing ran before is a silent cold run197ok the file argument hits198ok editing the file argument names it199ok and the edited file hits next time200ok one command keeps one entry across edits201ok a removed file argument says it is gone202ok a flake nothing ran before is a silent cold run203ok the flake hits204ok editing flake.nix names the flake's tree205ok editing flake.lock names it206ok one flake command keeps one entry across edits207ok a path: flake with the same bytes and a newer date evaluates again208ok --cache-dir keeps a file it did not create209ok --cache-dir holds the stores in subdirectories210ok no cache flag: tracing=true ir=true211ok --no-tracing-cache: tracing=false ir=true212ok --no-ir-cache: tracing=true ir=false213ok --no-cache: tracing=false ir=false214ok a foreign store directory is refused, not wiped215ok a --ttl whose seconds overflow is refused216ok lang test hit prints identical output217ok search --cache-dir: the index misses then hits there218ok search --no-tracing-cache: no cache line, nothing read or written219ok search --no-ir-cache: no compiled-file cache220ok search --workers N: the same results221ok search --workers 0 is a usage error222pass=53 fail=0223machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/7mgmycg1s47i1vp1vb9rv6fxga4hbfl5-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/cachetest.nu' >&2, in 395.42 seconds)224(finished: run the VM test script, in 598.63 seconds)225machine # [1387470.022466] machine runuser[4918]: pam_unix(runuser-l:session): session closed for user alice226test script finished in 602.05s227cleanup228kill NspawnMachine (pid 50)229Container machine terminated by signal KILL.230(finished: cleanup, in 3.30 seconds)