container-test-run-iets-grpc-e2e
checks.x86_64-linux.grpc-e2e
· build #431
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.01 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 # No journal files were found.19machine # No journal boot entry found for the specified boot (+0).20machine # [387453.803247] machine systemd-journald[57]: Journal started21machine # [387453.803315] machine systemd-journald[57]: Runtime Journal (/run/log/journal/7fe6836cc77f4e9888f1f80cd10f0dff) is 8M, max 2.5G, 2.5G free.22machine # [387453.809171] machine systemd[1]: Finished Apply Kernel Variables.23machine # [387453.828723] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.24machine # [387453.850353] machine systemd[1]: Starting Flush Journal to Persistent Storage...25machine # [387453.853115] machine systemd[1]: Starting Create Static Device Nodes in /dev...26machine # [387453.883626] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/7fe6836cc77f4e9888f1f80cd10f0dff is 1.612ms for 6 entries.27machine # [387453.883626] machine systemd-journald[57]: System Journal (/var/log/journal/7fe6836cc77f4e9888f1f80cd10f0dff) is 512B, max 4G, 3.9G free.28machine # [387453.898038] machine systemd[1]: Finished Create Static Device Nodes in /dev.29machine # [387453.914716] machine systemd[1]: Reached target Preparation for Local File Systems.30machine # [387453.915602] machine systemd[1]: Mounting /run/wrappers...31machine # [387453.915632] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys32machine # [387453.945051] machine systemd[1]: Mounted /run/wrappers.33machine # [387453.945468] machine systemd[1]: Finished Flush Journal to Persistent Storage.34machine # [387453.946882] machine systemd[1]: Reached target Local File Systems.35machine # [387453.947679] machine systemd[1]: Listening on Boot Loader Control Service Socket.36machine # [387453.948607] machine systemd[1]: Starting Create SUID/SGID Wrappers...37machine # [387453.948636] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container38machine # [387453.949446] machine systemd[1]: Starting Save Transient machine-id to Disk...39machine # [387453.956168] machine systemd[1]: Starting Create System Files and Directories...40machine # [387454.010446] machine systemd-tmpfiles[127]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted41machine # [387454.010639] machine systemd-tmpfiles[127]: fchmod() of /var/log/journal failed: Operation not permitted42machine # [387454.010744] machine systemd-tmpfiles[127]: fchmod() of /var/log/journal/7fe6836cc77f4e9888f1f80cd10f0dff failed: Operation not permitted43machine # [387454.010900] machine systemd-tmpfiles[127]: fchmod() of /run/log/journal failed: Operation not permitted44machine # [387454.014238] machine systemd[1]: Finished Create System Files and Directories.45machine # [387454.016394] machine systemd[1]: Starting Rebuild Journal Catalog...46machine # [387454.017672] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...47machine # [387454.025404] machine suid-sgid-wrappers-start[156]: chmod: changing permissions of '/run/wrappers/wrappers.ZpMMpx1HpG/chsh': Operation not permitted48machine # [387454.032470] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE49machine # [387454.032572] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.50machine # [387454.032743] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.51machine # [387454.035028] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.52machine # [387454.040244] machine systemd[1]: Finished Rebuild Journal Catalog.53machine # [387454.042039] machine systemd[1]: Starting Update is Completed...54machine # [387454.054424] machine systemd[1]: Finished Update is Completed.55machine # [387454.054586] machine systemd[1]: Reached target System Initialization.56machine # [387454.054668] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container57machine # [387454.054711] machine systemd[1]: Started Daily Cleanup of Temporary Directories.58machine # [387454.054733] machine systemd[1]: Reached target Timer Units.59machine # [387454.054848] machine systemd[1]: Listening on D-Bus System Message Bus Socket.60machine # [387454.054929] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.61machine # [387454.054945] machine systemd[1]: Reached target Socket Units.62machine # [387454.054977] machine systemd[1]: Reached target Basic System.63machine # [387454.057659] machine systemd[1]: Starting Import lastlog data into lastlog2 database...64machine # [387454.059062] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...65machine # [387454.061102] machine systemd[1]: Starting resolvconf update...66machine # [387454.083419] machine systemd[1]: Finished Firewall.67machine # [387454.102807] machine systemd[1]: Finished Import lastlog data into lastlog2 database.68machine # [387454.155863] machine systemd[1]: nscd.service: Deactivated successfully.69machine # [387454.156064] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).70machine # [387454.159149] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...71machine # [387454.174646] machine resolvconf-start[234]: setfacl: /run/resolvconf: Operation not supported72machine # [387454.176807] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE73machine # [387454.176904] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.74machine # [387454.192634] machine systemd[1]: Failed to start resolvconf update.75machine # [387454.193046] machine systemd[1]: Reached target Preparation for Network.76machine # [387454.194677] machine systemd[1]: Starting Address configuration of eth1...77machine # [387454.195665] machine systemd[1]: Starting Extra networking commands....78machine # [387454.225230] machine network-addresses-eth1-start[237]: adding address 192.168.1.1/24... done79machine # [387454.232436] machine network-addresses-eth1-start[237]: adding address 2001:db8:1::1/64... done80machine # [387454.238778] machine systemd[1]: Finished Address configuration of eth1.81machine # [387454.292270] machine systemd[1]: Finished Extra networking commands..82machine # [387454.292396] machine systemd[1]: Reached target Network.83machine # [387454.416220] machine systemd[1]: Started Name Service Cache Daemon (nsncd).84machine # [387454.417796] machine nsncd[226]: Oct 20 08:30:15.439 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"85machine # [387454.416327] machine systemd[1]: Reached target Host and Network Name Lookups.86machine # [387454.416381] machine systemd[1]: Reached target User and Group Name Lookups.87machine # [387454.418032] machine systemd[1]: Starting User Login Management...88machine # [387454.421145] machine systemd[1]: Starting Permit User Sessions...89machine # [387454.441220] machine systemd[1]: Finished Save Transient machine-id to Disk.90machine # [387454.450077] machine systemd[1]: Finished Permit User Sessions.91machine # [387454.451527] machine systemd[1]: Started Console Getty.92machine # [387454.451573] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty093machine # [387454.451593] machine systemd[1]: Reached target Login Prompts.94machine # [387454.805854] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.95machine # [387455.546795] machine systemd-logind[303]: New seat seat0.96machine # [387455.549290] machine systemd[1]: Starting D-Bus System Message Bus...97machine # [387455.549483] machine systemd[1]: Started User Login Management.98machine # [387455.553524] machine systemd[1]: Starting linger-users.service...99machine # [387455.638404] machine systemd[1]: linger-users.service: Deactivated successfully.100machine # [387455.638720] machine systemd[1]: Finished linger-users.service.101machine # [387455.638886] machine systemd[1]: Reached target Multi-User System.102machine: (finished: waiting for unit multi-user.target, in 3.66 seconds)103machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/bxmgvhckiprc2r6g7qkvqa7v9zrmv827-closure-info104machine # [387456.021095] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...105machine # [387456.023832] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'106machine # [387456.023832] machine dbus-broker-launch[316]: Invalid user-name in /nix/store/0wv88d7bs8w7slqf7nd0x33czdpsv197-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"107machine # [387456.024531] machine systemd[1]: Started D-Bus System Message Bus.108machine # [387456.024876] machine systemd[1]: Startup finished in 2.889s.109machine # [387456.033624] machine dbus-broker-launch[316]: Ready110warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.111machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/bxmgvhckiprc2r6g7qkvqa7v9zrmv827-closure-info, in 10.42 seconds)112machine: must succeed: systemctl start nix-daemon.socket113machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.01 seconds)114machine: must succeed: cp -r /nix/store/629g67m2wfa69dcm9mcba43sgpzkb6wx-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets115machine: (finished: must succeed: cp -r /nix/store/629g67m2wfa69dcm9mcba43sgpzkb6wx-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.12 seconds)116machine: 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'117machine # [387466.473013] machine systemd[1]: Listening on Nix Daemon Socket.118machine # [387466.601797] machine runuser[4954]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)119machine: (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.34 seconds)120machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/4iinghyw8wz5ypbnxdd7816c0zyzz3j8-iets-0.1.0/bin/iets NIXPKGS=/nix/store/r5l65vg4gi4dnx54zkwagfb8jmlqniy5-source E2E_OFFLINE=1 DAEMON=/nix/store/pj0xhx1h30zprwa08dmf19ifjv9h0k0k-nix-grpc-daemon-0.1.0 nu scripts/grpc-e2e.nu' >&2121daemon: /nix/store/pj0xhx1h30zprwa08dmf19ifjv9h0k0k-nix-grpc-daemon-0.1.0122url: grpc://127.0.0.1:9718?insecure=1123== 1. custom derivation with a source tree, built on the gRPC daemon124machine # [387466.932169] machine runuser[4954]: pam_unix(runuser-l:session): session closed for user alice125machine # [387466.941298] machine runuser[4967]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)126drv: /nix/store/h3qqr1v41kr60hcg0wcd4kkad9dwc82j-iets-grpc-e2e.drv127machine # [387467.257257] machine systemd[1]: Started Nix Daemon.128machine # [387467.372640] machine nix-daemon[5132]: accepted connection from pid 5114, user alice (trusted)129machine # [387467.412622] machine nix-daemon[5132]: accepted connection from pid 5151, user alice (trusted)130machine # [387467.444114] machine nix-daemon[5132]: accepted connection from pid 5172, user alice (trusted)131machine # [387467.681666] machine nix-daemon[5132]: accepted connection from pid 5193, user alice (trusted)132eval: 1 derivations, 1 sources, 0.743s133plan: 1 sources, 1 drvs, 0.001s134connect: gRPC, trusted, 0.009s135query: 2 paths, 2 missing, 0.005s136add: 2 paths, 717 bytes, 0.040s137build: 1 drvs, 0 already valid, 0.209s138outputs: 0.000s139fetch: 1 outputs, 0.004s140grpc: 7 calls141ok: /nix/store/xfb50wim9qvyjdfafd1226riqzjjcw6i-iets-grpc-e2e, fetched142== 2. hello cold, --no-build143machine # [387469.017459] machine nix-daemon[5132]: accepted connection from pid 5273, user alice (trusted)144eval: 742 derivations, 158 sources, 2.441s145plan: 158 sources, 607 drvs, 0.001s146connect: gRPC, trusted, 0.002s147query: 765 paths, 765 missing, 0.157s148add: 765 paths, 449720 bytes, 0.516s149grpc: 5 calls150ok: query: 765 paths, 765 missing, 0.157s151== 3. hello warm, --no-build152machine # [387473.304622] machine nix-daemon[5132]: accepted connection from pid 5420, user alice (trusted)153query: 1 paths, 0 missing, 0.001s154add: 0 paths, 0 bytes, 0.000s155grpc: 2 calls156ok157== 4. classic nix build --store grpc://… --eval-store auto158note: the `nix` on PATH loads no matching nix-grpc-store plugin; comparing against the worker protocol on the same store instead159ok: same as the reference nix, /nix/store/zggf0jajikkz2s5ii20vgi78gvyh8sjz-iets-grpc-e2e-classic160== 5. classic out-link: the output is fetched back and registered locally161machine # [387477.787541] machine nix-daemon[5132]: accepted connection from pid 5573, user alice (trusted)162ok: fetched back, and the local daemon refused the unsigned scratch output as `nix copy --from` would163== 6. a set of checks over grpc: the same verdicts as over the worker protocol164machine # [387479.379896] machine nix-daemon[5132]: accepted connection from pid 5597, user alice (trusted)165ok: 4 records, exit 100, the same either way166== 7. a multi-root iets build over grpc names every attribute167ok: 2 roots, one progress line each168PASS169machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/4iinghyw8wz5ypbnxdd7816c0zyzz3j8-iets-0.1.0/bin/iets NIXPKGS=/nix/store/r5l65vg4gi4dnx54zkwagfb8jmlqniy5-source E2E_OFFLINE=1 DAEMON=/nix/store/pj0xhx1h30zprwa08dmf19ifjv9h0k0k-nix-grpc-daemon-0.1.0 nu scripts/grpc-e2e.nu' >&2, in 15.83 seconds)170(finished: run the VM test script, in 30.38 seconds)171test script finished in 30.59s172cleanup173kill NspawnMachine (pid 50)174(finished: cleanup, in 0.11 seconds)175Container machine terminated by signal KILL.