container-test-run-iets-grpc-e2e
checks.x86_64-linux.grpc-e2e
· build #404
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.00 seconds)4Initializing machine ID from random generator.5Test 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 # [143653.732730] machine systemd-journald[57]: Journal started19machine # [143653.732787] machine systemd-journald[57]: Runtime Journal (/run/log/journal/4fa34b339f1d4254972ce7c15be9c7d9) is 8M, max 2.5G, 2.5G free.20machine # [143653.770620] machine systemd[1]: Finished Apply Kernel Variables.21machine # [143653.786315] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.22machine # [143653.801192] machine systemd[1]: Starting Flush Journal to Persistent Storage...23machine # [143653.801813] machine systemd[1]: Starting Create Static Device Nodes in /dev...24machine # [143653.830330] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/4fa34b339f1d4254972ce7c15be9c7d9 is 1.253ms for 6 entries.25machine # [143653.830330] machine systemd-journald[57]: System Journal (/var/log/journal/4fa34b339f1d4254972ce7c15be9c7d9) is 512B, max 4G, 3.9G free.26machine # [143653.842203] machine systemd[1]: Finished Create Static Device Nodes in /dev.27machine # [143653.842983] machine systemd[1]: Reached target Preparation for Local File Systems.28machine # [143653.843081] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys29machine # [143653.847292] machine systemd[1]: Finished Flush Journal to Persistent Storage.30machine # [143653.859015] machine systemd[1]: Finished Firewall.31machine # [143654.850488] machine systemd[1]: Mounting /run/wrappers...32machine # [143654.955195] machine systemd[1]: Mounted /run/wrappers.33machine # [143654.957200] machine systemd[1]: Reached target Local File Systems.34machine # [143654.958509] machine systemd[1]: Listening on Boot Loader Control Service Socket.35machine # [143654.963187] machine systemd[1]: Starting Create SUID/SGID Wrappers...36machine # [143654.963260] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container37machine # [143654.968181] machine systemd[1]: Starting Save Transient machine-id to Disk...38machine # [143654.973185] machine systemd[1]: Starting Create System Files and Directories...39machine # [143655.028460] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted40machine # [143655.028667] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted41machine # [143655.028790] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/4fa34b339f1d4254972ce7c15be9c7d9 failed: Operation not permitted42machine # [143655.028970] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted43machine # [143655.048826] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.sJkXq2tIlZ/chsh': Operation not permitted44machine # [143655.051180] machine systemd[1]: Finished Create System Files and Directories.45machine # [143655.314102] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE46machine # [143655.314206] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.47machine # [143655.314488] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.48machine # [143655.342210] machine systemd[1]: Starting Rebuild Journal Catalog...49machine # [143655.377177] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...50machine # [143655.491684] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.51machine # [143655.515990] machine systemd[1]: Finished Save Transient machine-id to Disk.52machine # [143655.516295] machine systemd[1]: Finished Rebuild Journal Catalog.53machine # [143655.554339] machine systemd[1]: Starting Update is Completed...54machine # [143655.573205] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.55machine # [143655.590038] machine systemd[1]: Finished Update is Completed.56machine # [143655.592897] machine systemd[1]: Reached target System Initialization.57machine # [143655.593090] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container58machine # [143655.593136] machine systemd[1]: Started Daily Cleanup of Temporary Directories.59machine # [143655.593160] machine systemd[1]: Reached target Timer Units.60machine # [143655.593352] machine systemd[1]: Listening on D-Bus System Message Bus Socket.61machine # [143655.593448] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.62machine # [143655.593475] machine systemd[1]: Reached target Socket Units.63machine # [143655.593510] machine systemd[1]: Reached target Basic System.64machine # [143655.604284] machine systemd[1]: Starting Import lastlog data into lastlog2 database...65machine # [143655.609238] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...66machine # [143655.628247] machine systemd[1]: Starting resolvconf update...67machine # [143655.654190] machine systemd[1]: Finished Import lastlog data into lastlog2 database.68machine # [143655.769056] machine systemd[1]: nscd.service: Deactivated successfully.69machine # [143655.769312] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).70machine # [143655.772048] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...71machine # [143655.822516] machine resolvconf-start[236]: setfacl: /run/resolvconf: Operation not supported72machine # [143655.824260] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE73machine # [143655.824370] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.74machine # [143655.824605] machine systemd[1]: Failed to start resolvconf update.75machine # [143655.824768] machine systemd[1]: Reached target Preparation for Network.76machine # [143655.828292] machine systemd[1]: Starting Address configuration of eth1...77machine # [143655.843286] machine systemd[1]: Starting Extra networking commands....78machine # [143655.894043] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done79machine # [143655.899208] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done80machine # [143655.905739] machine systemd[1]: Finished Address configuration of eth1.81machine # [143655.990588] machine systemd[1]: Finished Extra networking commands..82machine # [143655.991448] machine systemd[1]: Reached target Network.83machine # [143657.075928] machine nsncd[226]: Oct 17 12:46:58.098 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"84machine # [143657.076208] machine systemd[1]: Started Name Service Cache Daemon (nsncd).85machine # [143657.076293] machine systemd[1]: Reached target Host and Network Name Lookups.86machine # [143657.076351] machine systemd[1]: Reached target User and Group Name Lookups.87machine # [143657.082671] machine systemd[1]: Starting User Login Management...88machine # [143657.088115] machine systemd[1]: Starting Permit User Sessions...89machine # [143657.100492] machine systemd[1]: Finished Permit User Sessions.90machine # [143657.106161] machine systemd[1]: Started Console Getty.91machine # [143657.106236] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty092machine # [143657.106260] machine systemd[1]: Reached target Login Prompts.93machine: still waiting for container 'machine' to reach ready state...94machine: still waiting for container 'machine' to reach ready state...95machine # [143677.792480] machine systemd-logind[306]: New seat seat0.96machine # [143677.793952] machine systemd[1]: Started User Login Management.97machine # [143677.800213] machine systemd[1]: Starting D-Bus System Message Bus...98machine # [143677.831214] machine systemd[1]: Starting linger-users.service...99machine # [143677.948441] machine systemd[1]: linger-users.service: Deactivated successfully.100machine # [143677.949195] machine systemd[1]: Finished linger-users.service.101machine # [143677.949458] machine systemd[1]: Reached target Multi-User System.102machine: still waiting for container 'machine' to reach ready state...103machine: still waiting for container 'machine' to reach ready state...104machine # [143693.266035] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...105machine # [143693.270030] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'106machine # [143693.270030] machine dbus-broker-launch[316]: Invalid user-name in /nix/store/pr0idv94qd89b56sr35as7cwcm3pmcdy-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"107machine # [143693.273213] machine systemd[1]: Started D-Bus System Message Bus.108machine # [143693.273815] machine systemd[1]: Startup finished in 39.924s.109machine # [143693.289383] machine dbus-broker-launch[316]: Ready110machine: (finished: waiting for unit multi-user.target, in 40.82 seconds)111machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/lhhf4prdsl1gkq48w1kfm1adxn8j6z1z-closure-info112warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.113machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/lhhf4prdsl1gkq48w1kfm1adxn8j6z1z-closure-info, in 42.60 seconds)114machine: must succeed: systemctl start nix-daemon.socket115machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.01 seconds)116machine: must succeed: cp -r /nix/store/7pcahgaakq5xiavwvwnajydky611agcs-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets117machine: (finished: must succeed: cp -r /nix/store/7pcahgaakq5xiavwvwnajydky611agcs-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.11 seconds)118machine: 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'119machine # [143736.442383] machine systemd[1]: Listening on Nix Daemon Socket.120machine # [143736.559862] machine runuser[4935]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)121machine: (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.36 seconds)122machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/mnwkl71zbishsjbifkigrz6d8psds5bj-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' >&2123daemon: /nix/store/pj0xhx1h30zprwa08dmf19ifjv9h0k0k-nix-grpc-daemon-0.1.0124url: grpc://127.0.0.1:9699?insecure=1125== 1. custom derivation with a source tree, built on the gRPC daemon126machine # [143736.906588] machine runuser[4935]: pam_unix(runuser-l:session): session closed for user alice127machine # [143736.915209] machine runuser[4948]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)128machine # [143737.198938] machine systemd[1]: Started Nix Daemon.129drv: /nix/store/dw2ahzczqvzhr4hfnbr2fq4v171cgy7g-iets-grpc-e2e.drv130machine # [143737.275568] machine nix-daemon[5113]: accepted connection from pid 5095, user alice (trusted)131machine # [143737.307547] machine nix-daemon[5113]: accepted connection from pid 5132, user alice (trusted)132machine # [143737.347878] machine nix-daemon[5113]: accepted connection from pid 5153, user alice (trusted)133eval: 1 derivations, 1 sources, 0.010s134plan: 1 sources, 1 drvs, 0.000s135connect: gRPC, trusted, 0.004s136query: 2 paths, 2 missing, 0.005s137add: 2 paths, 720 bytes, 0.005s138build: 1 drvs, 0 already valid, 0.410s139outputs: 0.000s140fetch: 1 outputs, 0.001s141grpc: 7 calls142machine # [143737.595260] machine nix-daemon[5113]: accepted connection from pid 5174, user alice (trusted)143ok: /nix/store/famxivlbiiclw05qbvvq5p9w0d0773jf-iets-grpc-e2e, fetched144== 2. hello cold, --no-build145machine # [143738.279727] machine nix-daemon[5113]: accepted connection from pid 5254, user alice (trusted)146eval: 742 derivations, 158 sources, 0.455s147plan: 158 sources, 607 drvs, 0.001s148connect: gRPC, trusted, 0.002s149query: 765 paths, 765 missing, 0.035s150add: 765 paths, 449720 bytes, 0.304s151grpc: 5 calls152ok: query: 765 paths, 765 missing, 0.035s153== 3. hello warm, --no-build154machine # [143739.961394] machine nix-daemon[5113]: accepted connection from pid 5401, user alice (trusted)155query: 1 paths, 0 missing, 0.001s156add: 0 paths, 0 bytes, 0.000s157grpc: 2 calls158ok159== 4. classic nix build --store grpc://… --eval-store auto160note: the `nix` on PATH loads no matching nix-grpc-store plugin; comparing against the worker protocol on the same store instead161ok: same as the reference nix, /nix/store/3bar7fjas0v28ck0jypi8cs0k58k2nnv-iets-grpc-e2e-classic162== 5. classic out-link: the output is fetched back and registered locally163machine # [143740.988336] machine nix-daemon[5113]: accepted connection from pid 5554, user alice (trusted)164ok: fetched back, and the local daemon refused the unsigned scratch output as `nix copy --from` would165== 6. a set of checks over grpc: the same verdicts as over the worker protocol166machine # [143741.496514] machine nix-daemon[5113]: accepted connection from pid 5578, user alice (trusted)167ok: 4 records, exit 100, the same either way168== 7. a multi-root iets build over grpc names every attribute169ok: 2 roots, one progress line each170PASS171machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/mnwkl71zbishsjbifkigrz6d8psds5bj-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 7.79 seconds)172(finished: run the VM test script, in 91.69 seconds)173test script finished in 91.81s174cleanup175kill NspawnMachine (pid 50)176Container machine terminated by signal KILL.177(finished: cleanup, in 0.16 seconds)