container-test-run-iets-grpc-e2e
checks.x86_64-linux.grpc-e2e
· build #378
· 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 # No journal files were found.19machine # No journal boot entry found for the specified boot (+0).20machine # [1762165.691515] machine systemd-journald[57]: Journal started21machine # [1762165.691574] machine systemd-journald[57]: Runtime Journal (/run/log/journal/d6b1750ab77d4c26bc6fd240d4ab2609) is 8M, max 2.5G, 2.5G free.22machine # [1762165.827834] machine systemd[1]: Listening on Journal Log Access Socket.23machine # [1762165.828380] machine systemd[1]: Finished Apply Kernel Variables.24machine # [1762165.860468] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.25machine # [1762165.897188] machine systemd[1]: Starting Flush Journal to Persistent Storage...26machine # [1762165.897777] machine systemd[1]: Starting Create Static Device Nodes in /dev...27machine # [1762165.905700] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/d6b1750ab77d4c26bc6fd240d4ab2609 is 1.760ms for 7 entries.28machine # [1762165.905700] machine systemd-journald[57]: System Journal (/var/log/journal/d6b1750ab77d4c26bc6fd240d4ab2609) is 512B, max 4G, 3.9G free.29machine # [1762165.979268] machine systemd[1]: Finished Firewall.30machine # [1762165.979424] machine systemd[1]: Finished Flush Journal to Persistent Storage.31machine # [1762165.980076] machine systemd[1]: Finished Create Static Device Nodes in /dev.32machine # [1762165.981656] machine systemd[1]: Reached target Preparation for Local File Systems.33machine # [1762165.981762] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys34machine # [1762166.764080] machine systemd[1]: Mounting /run/wrappers...35machine # [1762166.831710] machine systemd[1]: Mounted /run/wrappers.36machine # [1762166.832519] machine systemd[1]: Reached target Local File Systems.37machine # [1762166.833306] machine systemd[1]: Listening on Boot Loader Control Service Socket.38machine # [1762166.834131] machine systemd[1]: Starting Create SUID/SGID Wrappers...39machine # [1762166.834158] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container40machine # [1762166.834805] machine systemd[1]: Starting Save Transient machine-id to Disk...41machine # [1762166.835261] machine systemd[1]: Starting Create System Files and Directories...42machine # [1762166.857147] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.c6cUSPC1gt/chsh': Operation not permitted43machine # [1762166.861316] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted44machine # [1762166.861649] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted45machine # [1762166.861894] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/d6b1750ab77d4c26bc6fd240d4ab2609 failed: Operation not permitted46machine # [1762166.862238] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted47machine # [1762166.918718] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE48machine # [1762166.918811] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.49machine # [1762166.936190] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.50machine # [1762166.956136] machine systemd[1]: Finished Create System Files and Directories.51machine # [1762167.110919] machine systemd[1]: Starting Rebuild Journal Catalog...52machine # [1762167.114109] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...53machine # [1762167.147404] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.54machine # [1762167.165917] machine systemd[1]: Finished Rebuild Journal Catalog.55machine # [1762167.171161] machine systemd[1]: Starting Update is Completed...56machine # [1762167.181773] machine systemd[1]: Finished Update is Completed.57machine # [1762167.181924] machine systemd[1]: Reached target System Initialization.58machine # [1762167.181995] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container59machine # [1762167.182044] machine systemd[1]: Started Daily Cleanup of Temporary Directories.60machine # [1762167.182061] machine systemd[1]: Reached target Timer Units.61machine # [1762167.182170] machine systemd[1]: Listening on D-Bus System Message Bus Socket.62machine # [1762167.182255] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.63machine # [1762167.182274] machine systemd[1]: Reached target Socket Units.64machine # [1762167.182298] machine systemd[1]: Reached target Basic System.65machine # [1762167.189275] machine systemd[1]: Starting Import lastlog data into lastlog2 database...66machine # [1762167.193156] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...67machine # [1762167.194999] machine systemd[1]: Starting resolvconf update...68machine # [1762167.210715] machine systemd[1]: Finished Import lastlog data into lastlog2 database.69machine # [1762167.261358] machine systemd[1]: nscd.service: Deactivated successfully.70machine # [1762167.261514] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).71machine # [1762167.262875] machine resolvconf-start[231]: setfacl: /run/resolvconf: Operation not supported72machine # [1762167.265511] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...73machine # [1762167.265637] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE74machine # [1762167.265704] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.75machine # [1762167.265815] machine systemd[1]: Failed to start resolvconf update.76machine # [1762167.266509] machine systemd[1]: Reached target Preparation for Network.77machine # [1762167.292142] machine systemd[1]: Starting Address configuration of eth1...78machine # [1762167.293081] machine systemd[1]: Starting Extra networking commands....79machine # [1762167.309416] machine network-addresses-eth1-start[236]: adding address 192.168.1.1/24... done80machine # [1762167.317873] machine network-addresses-eth1-start[236]: adding address 2001:db8:1::1/64... done81machine # [1762167.321069] machine systemd[1]: Finished Address configuration of eth1.82machine # [1762167.364074] machine systemd[1]: Finished Extra networking commands..83machine # [1762167.364211] machine systemd[1]: Reached target Network.84machine # [1762167.823968] machine systemd[1]: Started Name Service Cache Daemon (nsncd).85machine # [1762167.824723] machine nsncd[234]: Oct 15 08:28:58.554 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"86machine # [1762167.824053] machine systemd[1]: Reached target Host and Network Name Lookups.87machine # [1762167.824091] machine systemd[1]: Reached target User and Group Name Lookups.88machine # [1762167.833289] machine systemd[1]: Starting User Login Management...89machine # [1762167.835103] machine systemd[1]: Starting Permit User Sessions...90machine # [1762167.842087] machine systemd[1]: Finished Permit User Sessions.91machine # [1762167.843035] machine systemd[1]: Started Console Getty.92machine # [1762167.843063] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty093machine # [1762167.843077] machine systemd[1]: Reached target Login Prompts.94machine # [1762171.305032] machine systemd-logind[305]: New seat seat0.95machine # [1762171.305865] machine systemd[1]: Starting D-Bus System Message Bus...96machine # [1762171.305968] machine systemd[1]: Started User Login Management.97machine # [1762171.307114] machine systemd[1]: Starting linger-users.service...98machine # [1762171.346123] machine systemd[1]: linger-users.service: Deactivated successfully.99machine # [1762171.346300] machine systemd[1]: Finished linger-users.service.100machine # [1762171.346459] machine systemd[1]: Reached target Multi-User System.101machine # [1762172.613452] machine dbus-broker-launch[315]: Looking up NSS user entry for 'systemd-timesync'...102machine # [1762172.631035] machine dbus-broker-launch[315]: NSS returned no entry for 'systemd-timesync'103machine # [1762172.631035] machine dbus-broker-launch[315]: Invalid user-name in /nix/store/pr0idv94qd89b56sr35as7cwcm3pmcdy-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"104machine # [1762172.637728] machine systemd[1]: Started D-Bus System Message Bus.105machine # [1762172.650633] machine dbus-broker-launch[315]: Ready106machine: still waiting for container 'machine' to reach ready state...107machine: still waiting for container 'machine' to reach ready state...108machine: (finished: waiting for unit multi-user.target, in 28.19 seconds)109machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/fj7sh6srv4krwg3z3fd4f9ph0d4hgxal-closure-info110machine # [1762192.658240] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.111machine # [1762192.662921] machine systemd[1]: Finished Save Transient machine-id to Disk.112machine # [1762192.667091] machine systemd[1]: Startup finished in 27.466s.113warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.114machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/fj7sh6srv4krwg3z3fd4f9ph0d4hgxal-closure-info, in 15.96 seconds)115machine: must succeed: systemctl start nix-daemon.socket116machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.02 seconds)117machine: must succeed: cp -r /nix/store/aq5rr6hh0d25jxly07hr7j8xnj9yy463-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets118machine # [1762208.757274] machine systemd[1]: Listening on Nix Daemon Socket.119machine: (finished: must succeed: cp -r /nix/store/aq5rr6hh0d25jxly07hr7j8xnj9yy463-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.29 seconds)120machine: 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'121machine # [1762209.067651] machine runuser[4935]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)122machine: (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.50 seconds)123machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/j4pfi3r5zjj95cn3zxyhk6wg1q8pfd33-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 DAEMON=/nix/store/pj0xhx1h30zprwa08dmf19ifjv9h0k0k-nix-grpc-daemon-0.1.0 nu scripts/grpc-e2e.nu' >&2124daemon: /nix/store/pj0xhx1h30zprwa08dmf19ifjv9h0k0k-nix-grpc-daemon-0.1.0125machine # [1762209.544773] machine runuser[4935]: pam_unix(runuser-l:session): session closed for user alice126machine # [1762209.553332] machine runuser[4948]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)127url: grpc://127.0.0.1:9699?insecure=1128== 1. custom derivation with a source tree, built on the gRPC daemon129machine # [1762210.261790] machine systemd[1]: Started Nix Daemon.130machine # [1762210.331536] machine nix-daemon[5122]: accepted connection from pid 5104, user alice (trusted)131drv: /nix/store/1grpdi2jq67hzhj0ikbs21j3bp64piqf-iets-grpc-e2e.drv132machine # [1762210.759174] machine nix-daemon[5122]: accepted connection from pid 5141, user alice (trusted)133machine # [1762210.855341] machine nix-daemon[5122]: accepted connection from pid 5162, user alice (trusted)134machine # [1762213.925440] machine nix-daemon[5122]: accepted connection from pid 5183, user alice (trusted)135eval: 1 derivations, 1 sources, 0.050s136plan: 1 sources, 1 drvs, 0.000s137connect: gRPC, trusted, 0.046s138query: 2 paths, 2 missing, 0.006s139add: 2 paths, 716 bytes, 0.011s140build: 1 drvs, 0 already valid, 0.210s141outputs: 0.000s142fetch: 1 outputs, 0.021s143grpc: 7 calls144ok: /nix/store/ch8hf43ak4jwz8jhkd93i636a77iq47v-iets-grpc-e2e, fetched145== 2. hello cold, --no-build146machine # [1762216.321598] machine nix-daemon[5122]: accepted connection from pid 5263, user alice (trusted)147eval: 742 derivations, 158 sources, 0.937s148plan: 158 sources, 607 drvs, 0.002s149connect: gRPC, trusted, 0.023s150query: 765 paths, 765 missing, 0.021s151add: 765 paths, 449720 bytes, 0.349s152grpc: 5 calls153ok: query: 765 paths, 765 missing, 0.021s154== 3. hello warm, --no-build155machine # [1762220.627039] machine nix-daemon[5122]: accepted connection from pid 5410, user alice (trusted)156query: 1 paths, 0 missing, 0.009s157add: 0 paths, 0 bytes, 0.000s158grpc: 2 calls159ok160== 4. classic nix build --store grpc://… --eval-store auto161note: the `nix` on PATH loads no matching nix-grpc-store plugin; comparing against the worker protocol on the same store instead162ok: same as the reference nix, /nix/store/c4mgizmra37lpk57n5gcyh5qnhamgj35-iets-grpc-e2e-classic163== 5. classic out-link: the output is fetched back and registered locally164machine # [1762222.373386] machine nix-daemon[5122]: accepted connection from pid 5563, user alice (trusted)165ok: fetched back, and the local daemon refused the unsigned scratch output as `nix copy --from` would166== 6. a set of checks over grpc: the same verdicts as over the worker protocol167machine # [1762223.470403] machine nix-daemon[5122]: accepted connection from pid 5587, user alice (trusted)168ok: 4 records, exit 100, the same either way169== 7. a multi-root iets build over grpc names every attribute170ok: 2 roots, one progress line each171PASS172machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/j4pfi3r5zjj95cn3zxyhk6wg1q8pfd33-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 DAEMON=/nix/store/pj0xhx1h30zprwa08dmf19ifjv9h0k0k-nix-grpc-daemon-0.1.0 nu scripts/grpc-e2e.nu' >&2, in 17.91 seconds)173(finished: run the VM test script, in 62.88 seconds)174machine # [1762227.453884] machine runuser[4948]: pam_unix(runuser-l:session): session closed for user alice175test script finished in 82.82s176cleanup177kill NspawnMachine (pid 50)178Container machine terminated by signal KILL.179(finished: cleanup, in 0.17 seconds)