container-test-run-iets-prefetch-e2e
checks.x86_64-linux.prefetch-e2e
· build #41
· 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 # [1342967.966071] machine systemd-journald[57]: Journal started19machine # [1342967.966118] machine systemd-journald[57]: Runtime Journal (/run/log/journal/02dce2097fd84578959596de229a35ea) is 8M, max 2.5G, 2.5G free.20machine # [1342967.986381] machine systemd[1]: Listening on Journal Log Access Socket.21machine # [1342967.986604] machine systemd[1]: Finished Apply Kernel Variables.22machine # [1342968.001438] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.23machine # [1342968.017708] machine systemd[1]: Starting Flush Journal to Persistent Storage...24machine # [1342968.018186] machine systemd[1]: Starting Create Static Device Nodes in /dev...25machine # [1342968.023505] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/02dce2097fd84578959596de229a35ea is 984us for 7 entries.26machine # [1342968.023505] machine systemd-journald[57]: System Journal (/var/log/journal/02dce2097fd84578959596de229a35ea) is 512B, max 4G, 3.9G free.27machine # [1342968.035587] machine systemd[1]: Finished Create Static Device Nodes in /dev.28machine # [1342968.036029] machine systemd[1]: Reached target Preparation for Local File Systems.29machine # [1342968.036122] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys30machine # [1342968.040296] machine systemd[1]: Finished Flush Journal to Persistent Storage.31machine # [1342968.078061] machine systemd[1]: Finished Firewall.32machine # [1342968.970412] machine systemd[1]: Mounting /run/wrappers...33machine # [1342968.991337] machine systemd[1]: Mounted /run/wrappers.34machine # [1342968.991775] machine systemd[1]: Reached target Local File Systems.35machine # [1342968.992573] machine systemd[1]: Listening on Boot Loader Control Service Socket.36machine # [1342968.993190] machine systemd[1]: Starting Create SUID/SGID Wrappers...37machine # [1342968.993217] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container38machine # [1342968.993673] machine systemd[1]: Starting Save Transient machine-id to Disk...39machine # [1342968.994061] machine systemd[1]: Starting Create System Files and Directories...40machine # [1342969.011331] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.mqiKY6rMev/chsh': Operation not permitted41machine # [1342969.020488] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted42machine # [1342969.020638] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted43machine # [1342969.020737] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/02dce2097fd84578959596de229a35ea failed: Operation not permitted44machine # [1342969.020878] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted45machine # [1342969.041624] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.46machine # [1342969.067313] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE47machine # [1342969.067384] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.48machine # [1342969.067494] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.49machine # [1342969.067667] machine systemd[1]: Finished Save Transient machine-id to Disk.50machine # [1342969.068314] machine systemd[1]: Finished Create System Files and Directories.51machine # [1342969.092737] machine systemd[1]: Starting Rebuild Journal Catalog...52machine # [1342969.093368] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...53machine # [1342969.103563] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.54machine # [1342969.112404] machine systemd[1]: Finished Rebuild Journal Catalog.55machine # [1342969.113158] machine systemd[1]: Starting Update is Completed...56machine # [1342969.119401] machine systemd[1]: Finished Update is Completed.57machine # [1342969.119503] machine systemd[1]: Reached target System Initialization.58machine # [1342969.119562] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container59machine # [1342969.119588] machine systemd[1]: Started Daily Cleanup of Temporary Directories.60machine # [1342969.119606] machine systemd[1]: Reached target Timer Units.61machine # [1342969.119689] machine systemd[1]: Listening on D-Bus System Message Bus Socket.62machine # [1342969.119761] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.63machine # [1342969.119785] machine systemd[1]: Reached target Socket Units.64machine # [1342969.119985] machine systemd[1]: Reached target Basic System.65machine # [1342969.121499] machine systemd[1]: Starting Import lastlog data into lastlog2 database...66machine # [1342969.122387] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...67machine # [1342969.123063] machine systemd[1]: Starting resolvconf update...68machine # [1342969.135151] machine systemd[1]: Finished Import lastlog data into lastlog2 database.69machine # [1342969.174735] machine systemd[1]: nscd.service: Deactivated successfully.70machine # [1342969.174854] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).71machine # [1342969.176319] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...72machine # [1342969.184055] machine resolvconf-start[236]: setfacl: /run/resolvconf: Operation not supported73machine # [1342969.184677] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE74machine # [1342969.184740] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.75machine # [1342969.184837] machine systemd[1]: Failed to start resolvconf update.76machine # [1342969.184943] machine systemd[1]: Reached target Preparation for Network.77machine # [1342969.185493] machine systemd[1]: Starting Address configuration of eth1...78machine # [1342969.185994] machine systemd[1]: Starting Extra networking commands....79machine # [1342969.199215] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done80machine # [1342969.201140] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done81machine # [1342969.204083] machine systemd[1]: Finished Address configuration of eth1.82machine # [1342969.238519] machine systemd[1]: Finished Extra networking commands..83machine # [1342969.238614] machine systemd[1]: Reached target Network.84machine # [1342969.403685] machine nsncd[227]: Oct 10 12:02:20.134 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"85machine # [1342969.403749] machine systemd[1]: Started Name Service Cache Daemon (nsncd).86machine # [1342969.403802] machine systemd[1]: Reached target Host and Network Name Lookups.87machine # [1342969.403858] machine systemd[1]: Reached target User and Group Name Lookups.88machine # [1342969.413694] machine systemd[1]: Starting User Login Management...89machine # [1342969.414220] machine systemd[1]: Starting Permit User Sessions...90machine # [1342969.422030] machine systemd[1]: Finished Permit User Sessions.91machine # [1342969.422688] machine systemd[1]: Started Console Getty.92machine # [1342969.422712] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty093machine # [1342969.422726] machine systemd[1]: Reached target Login Prompts.94machine # [1342971.590820] machine systemd-logind[306]: New seat seat0.95machine # [1342971.592146] machine systemd[1]: Starting D-Bus System Message Bus...96machine # [1342971.592345] machine systemd[1]: Started User Login Management.97machine # [1342971.593683] machine systemd[1]: Starting linger-users.service...98machine # [1342971.626155] machine systemd[1]: linger-users.service: Deactivated successfully.99machine # [1342971.626269] machine systemd[1]: Finished linger-users.service.100machine # [1342971.626374] machine systemd[1]: Reached target Multi-User System.101machine # [1342972.364485] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...102machine # [1342972.365074] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'103machine # [1342972.365074] 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"104machine # [1342972.365425] machine systemd[1]: Started D-Bus System Message Bus.105machine # [1342972.365813] machine systemd[1]: Startup finished in 4.798s.106machine # [1342972.371239] machine dbus-broker-launch[316]: Ready107machine: (finished: waiting for unit multi-user.target, in 5.65 seconds)108machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/kik940b46ahh8m3qp6gzd85rkl64h5qj-closure-info109warning: '--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/kik940b46ahh8m3qp6gzd85rkl64h5qj-closure-info, in 14.65 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/dhbx91zwsdy5yqw4p6b9cmj4afy0znnl-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets114machine: (finished: must succeed: cp -r /nix/store/dhbx91zwsdy5yqw4p6b9cmj4afy0znnl-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.12 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 # [1342987.387534] machine systemd[1]: Listening on Nix Daemon Socket.117machine # [1342987.518610] 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.23 seconds)119machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/zzr80zc313zd33fwcnxgi67mdgp9446g-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/prefetch-e2e.nu' >&2120== 1. a file:// URL, flat121ok flat hash122== 2. the same URL, --unpack123machine # [1342987.740028] machine runuser[4905]: pam_unix(runuser-l:session): session closed for user alice124machine # [1342987.752952] machine runuser[4918]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)125machine # [1342987.921606] machine systemd[1]: Started Nix Daemon.126machine # [1342987.980334] machine nix-daemon[5015]: accepted connection from pid 4994, user alice (trusted)127machine # [1342988.075875] machine nix-daemon[5015]: accepted connection from pid 5061, user alice (trusted)128ok unpacked NAR hash129ok --json object130== 3. --hash-type sha512131ok sha512132== 4. the expression form, flat, from a derivation133ok a faked fixed-output build134== 5. the expression form, recursive135ok a recursive fixed-output build136== 6. sparse members137ok sparse gnu138machine # [1342989.269504] machine nix-daemon[5015]: accepted connection from pid 5288, user alice (trusted)139machine # [1342989.582488] machine nix-daemon[5015]: accepted connection from pid 5320, user alice (trusted)140ok sparse pax0.0141ok sparse pax0.1142machine # [1342989.700329] machine nix-daemon[5015]: accepted connection from pid 5352, user alice (trusted)143ok sparse pax1.0144ok sparse fetch-max-size145== 7. the command lines that are errors146ok exit codes147PASS148machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/zzr80zc313zd33fwcnxgi67mdgp9446g-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/prefetch-e2e.nu' >&2, in 2.35 seconds)149(finished: run the VM test script, in 23.02 seconds)150test script finished in 23.20s151cleanup152kill NspawnMachine (pid 50)153Container machine terminated by signal KILL.154(finished: cleanup, in 0.17 seconds)