container-test-run-iets-prefetch-e2e
checks.x86_64-linux.prefetch-e2e
· build #115
· 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 # [1425152.029908] machine systemd-journald[57]: Journal started19machine # [1425152.029948] machine systemd-journald[57]: Runtime Journal (/run/log/journal/c400d91235214d2198935406af9f2f8f) is 8M, max 2.5G, 2.5G free.20machine # [1425152.055442] machine systemd[1]: Finished Apply Kernel Variables.21machine # [1425152.073685] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.22machine # [1425152.096700] machine systemd[1]: Starting Flush Journal to Persistent Storage...23machine # [1425152.097486] machine systemd[1]: Starting Create Static Device Nodes in /dev...24machine # [1425152.120911] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/c400d91235214d2198935406af9f2f8f is 1.031ms for 6 entries.25machine # [1425152.120911] machine systemd-journald[57]: System Journal (/var/log/journal/c400d91235214d2198935406af9f2f8f) is 512B, max 4G, 3.9G free.26machine # [1425152.134108] machine systemd[1]: Finished Create Static Device Nodes in /dev.27machine # [1425152.134828] machine systemd[1]: Reached target Preparation for Local File Systems.28machine # [1425152.134901] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys29machine # [1425152.139240] machine systemd[1]: Finished Flush Journal to Persistent Storage.30machine # [1425152.141841] machine systemd[1]: Finished Firewall.31machine # [1425153.038441] machine systemd[1]: Mounting /run/wrappers...32machine # [1425153.102590] machine systemd[1]: Mounted /run/wrappers.33machine # [1425153.103102] machine systemd[1]: Reached target Local File Systems.34machine # [1425153.103766] machine systemd[1]: Listening on Boot Loader Control Service Socket.35machine # [1425153.117075] machine systemd[1]: Starting Create SUID/SGID Wrappers...36machine # [1425153.117110] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container37machine # [1425153.117972] machine systemd[1]: Starting Save Transient machine-id to Disk...38machine # [1425153.118621] machine systemd[1]: Starting Create System Files and Directories...39machine # [1425153.132540] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted40machine # [1425153.132712] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted41machine # [1425153.133341] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/c400d91235214d2198935406af9f2f8f failed: Operation not permitted42machine # [1425153.133614] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted43machine # [1425153.134096] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.B8n6PbuBMS/chsh': Operation not permitted44machine # [1425153.180851] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.45machine # [1425153.195602] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE46machine # [1425153.195671] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.47machine # [1425153.195795] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.48machine # [1425153.195952] machine systemd[1]: Finished Save Transient machine-id to Disk.49machine # [1425153.203090] machine systemd[1]: Finished Create System Files and Directories.50machine # [1425153.240828] machine systemd[1]: Starting Rebuild Journal Catalog...51machine # [1425153.241302] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...52machine # [1425153.270319] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.53machine # [1425153.277536] machine systemd[1]: Finished Rebuild Journal Catalog.54machine # [1425153.278553] machine systemd[1]: Starting Update is Completed...55machine # [1425153.289517] machine systemd[1]: Finished Update is Completed.56machine # [1425153.289640] machine systemd[1]: Reached target System Initialization.57machine # [1425153.289693] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container58machine # [1425153.289718] machine systemd[1]: Started Daily Cleanup of Temporary Directories.59machine # [1425153.289735] machine systemd[1]: Reached target Timer Units.60machine # [1425153.289814] machine systemd[1]: Listening on D-Bus System Message Bus Socket.61machine # [1425153.289872] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.62machine # [1425153.289892] machine systemd[1]: Reached target Socket Units.63machine # [1425153.290090] machine systemd[1]: Reached target Basic System.64machine # [1425153.290839] machine systemd[1]: Starting Import lastlog data into lastlog2 database...65machine # [1425153.291450] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...66machine # [1425153.292071] machine systemd[1]: Starting resolvconf update...67machine # [1425153.307432] machine systemd[1]: Finished Import lastlog data into lastlog2 database.68machine # [1425153.346249] machine resolvconf-start[231]: setfacl: /run/resolvconf: Operation not supported69machine # [1425153.347153] machine systemd[1]: nscd.service: Deactivated successfully.70machine # [1425153.347266] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).71machine # [1425153.348006] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE72machine # [1425153.348053] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.73machine # [1425153.348164] machine systemd[1]: Failed to start resolvconf update.74machine # [1425153.348300] machine systemd[1]: Reached target Preparation for Network.75machine # [1425153.348904] machine systemd[1]: Starting Address configuration of eth1...76machine # [1425153.349404] machine systemd[1]: Starting Extra networking commands....77machine # [1425153.349881] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...78machine # [1425153.387143] machine network-addresses-eth1-start[236]: adding address 192.168.1.1/24... done79machine # [1425153.389811] machine network-addresses-eth1-start[236]: adding address 2001:db8:1::1/64... done80machine # [1425153.393384] machine systemd[1]: Finished Address configuration of eth1.81machine # [1425153.419288] machine systemd[1]: Finished Extra networking commands..82machine # [1425153.419387] machine systemd[1]: Reached target Network.83machine # [1425153.862641] machine nsncd[238]: Oct 11 10:52:04.593 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"84machine # [1425153.862767] machine systemd[1]: Started Name Service Cache Daemon (nsncd).85machine # [1425153.862826] machine systemd[1]: Reached target Host and Network Name Lookups.86machine # [1425153.862870] machine systemd[1]: Reached target User and Group Name Lookups.87machine # [1425153.864467] machine systemd[1]: Starting User Login Management...88machine # [1425153.865084] machine systemd[1]: Starting Permit User Sessions...89machine # [1425153.892618] machine systemd[1]: Finished Permit User Sessions.90machine # [1425153.893372] machine systemd[1]: Started Console Getty.91machine # [1425153.893397] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty092machine # [1425153.893411] machine systemd[1]: Reached target Login Prompts.93machine: still waiting for container 'machine' to reach ready state...94machine # [1425167.231070] machine systemd-logind[306]: New seat seat0.95machine # [1425167.232569] machine systemd[1]: Starting D-Bus System Message Bus...96machine # [1425167.232672] machine systemd[1]: Started User Login Management.97machine # [1425167.233426] machine systemd[1]: Starting linger-users.service...98machine # [1425167.272802] machine systemd[1]: linger-users.service: Deactivated successfully.99machine # [1425167.273127] machine systemd[1]: Finished linger-users.service.100machine # [1425167.273411] machine systemd[1]: Reached target Multi-User System.101machine # [1425168.530439] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...102machine # [1425168.530948] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'103machine # [1425168.530948] 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 # [1425168.531392] machine systemd[1]: Started D-Bus System Message Bus.105machine # [1425168.531679] machine systemd[1]: Startup finished in 16.867s.106machine # [1425168.538026] machine dbus-broker-launch[316]: Ready107machine: (finished: waiting for unit multi-user.target, in 17.65 seconds)108machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/47s8sssxhcdv4id3hh67cvaydzbba4p4-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/47s8sssxhcdv4id3hh67cvaydzbba4p4-closure-info, in 13.97 seconds)111machine: must succeed: systemctl start nix-daemon.socket112machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.02 seconds)113machine: must succeed: cp -r /nix/store/2kl512w1dc66wg1nrlg9hypg9r0zawmg-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets114machine: (finished: must succeed: cp -r /nix/store/2kl512w1dc66wg1nrlg9hypg9r0zawmg-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: (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.22 seconds)117machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/xmb59j3ajz2k8amj8w3spa7l94i3lz6k-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/prefetch-e2e.nu' >&2118machine # [1425182.878147] machine systemd[1]: Listening on Nix Daemon Socket.119machine # [1425183.023248] machine runuser[4905]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)120machine # [1425183.215416] machine runuser[4905]: pam_unix(runuser-l:session): session closed for user alice121== 1. a file:// URL, flat122machine # [1425183.227420] machine runuser[4918]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)123ok flat hash124== 2. the same URL, --unpack125ok unpacked NAR hash126ok --json object127== 3. --hash-type sha512128ok sha512129== 4. the expression form, flat, from a derivation130machine # [1425183.606706] machine systemd[1]: Started Nix Daemon.131machine # [1425183.663396] machine nix-daemon[5017]: accepted connection from pid 4996, user alice (trusted)132machine # [1425183.766174] machine nix-daemon[5017]: accepted connection from pid 5061, user alice (trusted)133ok a faked fixed-output build134== 5. the expression form, recursive135ok a recursive fixed-output build136== 6. sparse members137ok sparse gnu138ok sparse pax0.0139machine # [1425186.565394] machine nix-daemon[5017]: accepted connection from pid 5288, user alice (trusted)140machine # [1425186.734266] machine nix-daemon[5017]: accepted connection from pid 5320, user alice (trusted)141ok sparse pax0.1142ok sparse pax1.0143ok sparse fetch-max-size144== 7. the command lines that are errors145ok exit codes146PASS147machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/xmb59j3ajz2k8amj8w3spa7l94i3lz6k-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/prefetch-e2e.nu' >&2, in 4.09 seconds)148(finished: run the VM test script, in 36.07 seconds)149machine # [1425187.104125] machine nix-daemon[5017]: accepted connection from pid 5352, user alice (trusted)150machine # [1425187.212084] machine nix-daemon[5017]: accepted connection from pid 5384, user alice (trusted)151machine # [1425187.303855] machine runuser[4918]: pam_unix(runuser-l:session): session closed for user alice152test script finished in 36.68s153cleanup154kill NspawnMachine (pid 50)155Container machine terminated by signal KILL.156(finished: cleanup, in 0.17 seconds)