these 6 derivations will be built: /nix/store/c4s6nd1bdm45h66chzsh7k8llb56rph4-iets-0.1.0.drv /nix/store/xnph18b1n8572r1fia0a5663m2vd7l6z-closure-info.drv /nix/store/g0s3h7rgid0qxz6gxh8a0g0jfsns89jn-test-script.drv /nix/store/4qv0xck1cy7816nsia1db0sf48ijsd46-driverConfiguration.json.drv /nix/store/7vnikyijhgxincl215i2a6xjr4jfvpgb-nixos-test-driver-iets-grpc-e2e.drv /nix/store/pcj8f9ayxfryw7plxclbg5y01pak2a29-container-test-run-iets-grpc-e2e.drv building '/nix/store/xnph18b1n8572r1fia0a5663m2vd7l6z-closure-info.drv' closure-info> structuredAttrs is enabled building '/nix/store/g0s3h7rgid0qxz6gxh8a0g0jfsns89jn-test-script.drv' test-script> structuredAttrs is enabled building '/nix/store/4qv0xck1cy7816nsia1db0sf48ijsd46-driverConfiguration.json.drv' driverConfiguration.json> structuredAttrs is enabled building '/nix/store/7vnikyijhgxincl215i2a6xjr4jfvpgb-nixos-test-driver-iets-grpc-e2e.drv' nixos-test-driver-iets-grpc-e2e> Running type check (enable/disable: config.skipTypeCheck) nixos-test-driver-iets-grpc-e2e> See https://nixos.org/manual/nixos/stable/#test-opt-skipTypeCheck nixos-test-driver-iets-grpc-e2e> All checks passed! nixos-test-driver-iets-grpc-e2e> Linting test script (enable/disable: config.skipLint) nixos-test-driver-iets-grpc-e2e> See https://nixos.org/manual/nixos/stable/#test-opt-skipLint nixos-test-driver-iets-grpc-e2e> All checks passed! building '/nix/store/pcj8f9ayxfryw7plxclbg5y01pak2a29-container-test-run-iets-grpc-e2e.drv' container-test-run-iets-grpc-e2e> Machine state will be reset. To keep it, pass --keep-machine-state container-test-run-iets-grpc-e2e> start all VLans container-test-run-iets-grpc-e2e> (finished: start all VLans, in 0.00 seconds) container-test-run-iets-grpc-e2e> container-test-run-iets-grpc-e2e> Test will time out and terminate in 3600.0 seconds container-test-run-iets-grpc-e2e> run the VM test script container-test-run-iets-grpc-e2e> additionally exposed symbols: container-test-run-iets-grpc-e2e> machine, container-test-run-iets-grpc-e2e> vlan1, container-test-run-iets-grpc-e2e> 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_ssh container-test-run-iets-grpc-e2e> machine: waiting for unit multi-user.target container-test-run-iets-grpc-e2e> machine: systemd-nspawn running (pid 50) container-test-run-iets-grpc-e2e> machine: Waiting for journal at /build/vm-state-machine/var/log/journal... container-test-run-iets-grpc-e2e> nixos-nspawn(machine): TAP vde-tap1 not found; container will be isolated from VDE container-test-run-iets-grpc-e2e> nixos-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. container-test-run-iets-grpc-e2e> Note: 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. container-test-run-iets-grpc-e2e> ░ Spawning container machine on /build/vm-state-machine. container-test-run-iets-grpc-e2e> machine # [1436380.598387] machine systemd-journald[57]: Journal started container-test-run-iets-grpc-e2e> machine # [1436380.598430] machine systemd-journald[57]: Runtime Journal (/run/log/journal/e62a9366599949899277f5d8bdfbeeeb) is 8M, max 2.5G, 2.5G free. container-test-run-iets-grpc-e2e> machine # [1436380.608544] machine systemd[1]: Finished Apply Kernel Variables. container-test-run-iets-grpc-e2e> machine # [1436380.620133] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully. container-test-run-iets-grpc-e2e> machine # [1436380.633963] machine systemd[1]: Starting Flush Journal to Persistent Storage... container-test-run-iets-grpc-e2e> machine # [1436380.634635] machine systemd[1]: Starting Create Static Device Nodes in /dev... container-test-run-iets-grpc-e2e> machine # [1436380.662065] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/e62a9366599949899277f5d8bdfbeeeb is 1.586ms for 6 entries. container-test-run-iets-grpc-e2e> machine # [1436380.662065] machine systemd-journald[57]: System Journal (/var/log/journal/e62a9366599949899277f5d8bdfbeeeb) is 512B, max 4G, 3.9G free. container-test-run-iets-grpc-e2e> machine # [1436380.672278] machine systemd[1]: Finished Create Static Device Nodes in /dev. container-test-run-iets-grpc-e2e> machine # [1436380.672747] machine systemd[1]: Reached target Preparation for Local File Systems. container-test-run-iets-grpc-e2e> machine # [1436380.672819] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys container-test-run-iets-grpc-e2e> machine # [1436380.680832] machine systemd[1]: Finished Flush Journal to Persistent Storage. container-test-run-iets-grpc-e2e> machine # [1436380.712951] machine systemd[1]: Finished Firewall. container-test-run-iets-grpc-e2e> machine # [1436381.596075] machine systemd[1]: Mounting /run/wrappers... container-test-run-iets-grpc-e2e> machine # [1436381.613850] machine systemd[1]: Mounted /run/wrappers. container-test-run-iets-grpc-e2e> machine # [1436381.614320] machine systemd[1]: Reached target Local File Systems. container-test-run-iets-grpc-e2e> machine # [1436381.614952] machine systemd[1]: Listening on Boot Loader Control Service Socket. container-test-run-iets-grpc-e2e> machine # [1436381.615527] machine systemd[1]: Starting Create SUID/SGID Wrappers... container-test-run-iets-grpc-e2e> machine # [1436381.615549] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container container-test-run-iets-grpc-e2e> machine # [1436381.615983] machine systemd[1]: Starting Save Transient machine-id to Disk... container-test-run-iets-grpc-e2e> machine # [1436381.616310] machine systemd[1]: Starting Create System Files and Directories... container-test-run-iets-grpc-e2e> machine # [1436381.628264] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted container-test-run-iets-grpc-e2e> machine # [1436381.628383] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted container-test-run-iets-grpc-e2e> machine # [1436381.628463] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/e62a9366599949899277f5d8bdfbeeeb failed: Operation not permitted container-test-run-iets-grpc-e2e> machine # [1436381.628569] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted container-test-run-iets-grpc-e2e> machine # [1436381.633237] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.BbSKw408UI/chsh': Operation not permitted container-test-run-iets-grpc-e2e> machine # [1436381.633708] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE container-test-run-iets-grpc-e2e> machine # [1436381.633768] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. container-test-run-iets-grpc-e2e> machine # [1436381.633875] machine systemd[1]: Failed to start Create SUID/SGID Wrappers. container-test-run-iets-grpc-e2e> machine # [1436381.634106] machine systemd[1]: Finished Create System Files and Directories. container-test-run-iets-grpc-e2e> machine # [1436381.648943] machine systemd[1]: Starting Rebuild Journal Catalog... container-test-run-iets-grpc-e2e> machine # [1436381.649496] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... container-test-run-iets-grpc-e2e> machine # [1436381.662969] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. container-test-run-iets-grpc-e2e> machine # [1436381.664010] machine systemd[1]: Finished Save Transient machine-id to Disk. container-test-run-iets-grpc-e2e> machine # [1436381.666813] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. container-test-run-iets-grpc-e2e> machine # [1436381.666957] machine systemd[1]: Finished Rebuild Journal Catalog. container-test-run-iets-grpc-e2e> machine # [1436381.668362] machine systemd[1]: Starting Update is Completed... container-test-run-iets-grpc-e2e> machine # [1436381.677506] machine systemd[1]: Finished Update is Completed. container-test-run-iets-grpc-e2e> machine # [1436381.677624] machine systemd[1]: Reached target System Initialization. container-test-run-iets-grpc-e2e> machine # [1436381.677689] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container container-test-run-iets-grpc-e2e> machine # [1436381.677717] machine systemd[1]: Started Daily Cleanup of Temporary Directories. container-test-run-iets-grpc-e2e> machine # [1436381.677735] machine systemd[1]: Reached target Timer Units. container-test-run-iets-grpc-e2e> machine # [1436381.677831] machine systemd[1]: Listening on D-Bus System Message Bus Socket. container-test-run-iets-grpc-e2e> machine # [1436381.677901] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. container-test-run-iets-grpc-e2e> machine # [1436381.677923] machine systemd[1]: Reached target Socket Units. container-test-run-iets-grpc-e2e> machine # [1436381.677948] machine systemd[1]: Reached target Basic System. container-test-run-iets-grpc-e2e> machine # [1436381.679269] machine systemd[1]: Starting Import lastlog data into lastlog2 database... container-test-run-iets-grpc-e2e> machine # [1436381.679945] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... container-test-run-iets-grpc-e2e> machine # [1436381.680334] machine systemd[1]: Starting resolvconf update... container-test-run-iets-grpc-e2e> machine # [1436381.695452] machine systemd[1]: Finished Import lastlog data into lastlog2 database. container-test-run-iets-grpc-e2e> machine # [1436381.727413] machine systemd[1]: nscd.service: Deactivated successfully. container-test-run-iets-grpc-e2e> machine # [1436381.727548] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd). container-test-run-iets-grpc-e2e> machine # [1436381.737101] machine resolvconf-start[234]: setfacl: /run/resolvconf: Operation not supported container-test-run-iets-grpc-e2e> machine # [1436381.750963] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... container-test-run-iets-grpc-e2e> machine # [1436381.751121] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE container-test-run-iets-grpc-e2e> machine # [1436381.751202] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'. container-test-run-iets-grpc-e2e> machine # [1436381.751320] machine systemd[1]: Failed to start resolvconf update. container-test-run-iets-grpc-e2e> machine # [1436381.751969] machine systemd[1]: Reached target Preparation for Network. container-test-run-iets-grpc-e2e> machine # [1436381.752825] machine systemd[1]: Starting Address configuration of eth1... container-test-run-iets-grpc-e2e> machine # [1436381.753606] machine systemd[1]: Starting Extra networking commands.... container-test-run-iets-grpc-e2e> machine # [1436381.764806] machine network-addresses-eth1-start[237]: adding address 192.168.1.1/24... done container-test-run-iets-grpc-e2e> machine # [1436381.766769] machine network-addresses-eth1-start[237]: adding address 2001:db8:1::1/64... done container-test-run-iets-grpc-e2e> machine # [1436381.769944] machine systemd[1]: Finished Address configuration of eth1. container-test-run-iets-grpc-e2e> machine # [1436381.800808] machine systemd[1]: Finished Extra networking commands.. container-test-run-iets-grpc-e2e> machine # [1436381.800925] machine systemd[1]: Reached target Network. container-test-run-iets-grpc-e2e> machine # [1436381.896698] machine nsncd[235]: Oct 11 13:59:12.627 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" container-test-run-iets-grpc-e2e> machine # [1436381.896796] machine systemd[1]: Started Name Service Cache Daemon (nsncd). container-test-run-iets-grpc-e2e> machine # [1436381.896851] machine systemd[1]: Reached target Host and Network Name Lookups. container-test-run-iets-grpc-e2e> machine # [1436381.896890] machine systemd[1]: Reached target User and Group Name Lookups. container-test-run-iets-grpc-e2e> machine # [1436381.898007] machine systemd[1]: Starting User Login Management... container-test-run-iets-grpc-e2e> machine # [1436381.898481] machine systemd[1]: Starting Permit User Sessions... container-test-run-iets-grpc-e2e> machine # [1436381.907489] machine systemd[1]: Finished Permit User Sessions. container-test-run-iets-grpc-e2e> machine # [1436381.908232] machine systemd[1]: Started Console Getty. container-test-run-iets-grpc-e2e> machine # [1436381.908261] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 container-test-run-iets-grpc-e2e> machine # [1436381.908275] machine systemd[1]: Reached target Login Prompts. container-test-run-iets-grpc-e2e> machine # [1436382.909452] machine systemd-logind[306]: New seat seat0. container-test-run-iets-grpc-e2e> machine # [1436382.927873] machine systemd[1]: Starting D-Bus System Message Bus... container-test-run-iets-grpc-e2e> machine # [1436382.927982] machine systemd[1]: Started User Login Management. container-test-run-iets-grpc-e2e> machine # [1436382.928831] machine systemd[1]: Starting linger-users.service... container-test-run-iets-grpc-e2e> machine # [1436382.937286] machine systemd[1]: linger-users.service: Deactivated successfully. container-test-run-iets-grpc-e2e> machine # [1436382.937508] machine systemd[1]: Finished linger-users.service. container-test-run-iets-grpc-e2e> machine # [1436382.937710] machine systemd[1]: Reached target Multi-User System. container-test-run-iets-grpc-e2e> machine: (finished: waiting for unit multi-user.target, in 3.65 seconds) container-test-run-iets-grpc-e2e> machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/rdin01ri9ailjbrii44221vdc8xn576c-closure-info container-test-run-iets-grpc-e2e> machine # [1436383.258917] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'... container-test-run-iets-grpc-e2e> machine # [1436383.259612] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync' container-test-run-iets-grpc-e2e> machine # [1436383.259612] machine dbus-broker-launch[316]: Invalid user-name in /nix/store/fqib30z7dkk6sbd2287nwnk0r585iqjy-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" container-test-run-iets-grpc-e2e> machine # [1436383.260161] machine systemd[1]: Started D-Bus System Message Bus. container-test-run-iets-grpc-e2e> machine # [1436383.260420] machine systemd[1]: Startup finished in 2.991s. container-test-run-iets-grpc-e2e> machine # [1436383.265568] machine dbus-broker-launch[316]: Ready container-test-run-iets-grpc-e2e> warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release. container-test-run-iets-grpc-e2e> machine: (finished: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/rdin01ri9ailjbrii44221vdc8xn576c-closure-info, in 12.58 seconds) container-test-run-iets-grpc-e2e> machine: must succeed: systemctl start nix-daemon.socket container-test-run-iets-grpc-e2e> machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.01 seconds) container-test-run-iets-grpc-e2e> machine: must succeed: cp -r /nix/store/76df3v2pnmzp1jsyrnaaksys145qnnb6-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets container-test-run-iets-grpc-e2e> machine: (finished: must succeed: cp -r /nix/store/76df3v2pnmzp1jsyrnaaksys145qnnb6-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.10 seconds) container-test-run-iets-grpc-e2e> machine: 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' container-test-run-iets-grpc-e2e> machine # [1436396.067030] machine systemd[1]: Listening on Nix Daemon Socket. container-test-run-iets-grpc-e2e> machine # [1436396.174865] machine runuser[4933]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0) container-test-run-iets-grpc-e2e> machine # [1436396.325434] machine runuser[4933]: pam_unix(runuser-l:session): session closed for user alice container-test-run-iets-grpc-e2e> machine: (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.16 seconds) container-test-run-iets-grpc-e2e> machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/4p89fw3ma34xcgsh2awfvzknqvrwws15-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 DAEMON=/nix/store/ja2hmg2wf8ayg1ibn9qqq8p0djx1dza3-nix-grpc-daemon-0.1.0 nu scripts/grpc-e2e.nu' >&2 container-test-run-iets-grpc-e2e> daemon: /nix/store/ja2hmg2wf8ayg1ibn9qqq8p0djx1dza3-nix-grpc-daemon-0.1.0 container-test-run-iets-grpc-e2e> url: grpc://127.0.0.1:9697?insecure=1 container-test-run-iets-grpc-e2e> == 1. custom derivation with a source tree, built on the gRPC daemon container-test-run-iets-grpc-e2e> machine # [1436396.336122] machine runuser[4946]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0) container-test-run-iets-grpc-e2e> machine # [1436396.626430] machine systemd[1]: Started Nix Daemon. container-test-run-iets-grpc-e2e> drv: /nix/store/gqjpwqhdlwfq656lclplcp46an8q3q0d-iets-grpc-e2e.drv container-test-run-iets-grpc-e2e> machine # [1436396.681990] machine nix-daemon[5110]: accepted connection from pid 5092, user alice (trusted) container-test-run-iets-grpc-e2e> machine # [1436396.716825] machine nix-daemon[5110]: accepted connection from pid 5129, user alice (trusted) container-test-run-iets-grpc-e2e> machine # [1436396.748918] machine nix-daemon[5110]: accepted connection from pid 5150, user alice (trusted) container-test-run-iets-grpc-e2e> machine # [1436396.844259] machine nix-daemon[5110]: accepted connection from pid 5171, user alice (trusted) container-test-run-iets-grpc-e2e> eval: 1 derivations, 1 sources, 0.535s container-test-run-iets-grpc-e2e> plan: 1 sources, 1 drvs, 0.000s container-test-run-iets-grpc-e2e> connect: gRPC, trusted, 0.005s container-test-run-iets-grpc-e2e> query: 2 paths, 2 missing, 0.005s container-test-run-iets-grpc-e2e> add: 2 paths, 717 bytes, 0.045s container-test-run-iets-grpc-e2e> build: 1 drvs, 0 already valid, 0.212s container-test-run-iets-grpc-e2e> outputs: 0.000s container-test-run-iets-grpc-e2e> fetch: 1 outputs, 0.013s container-test-run-iets-grpc-e2e> grpc: 7 calls container-test-run-iets-grpc-e2e> ok: /nix/store/y5jpg5n7kcb1xvb99qc2vdjl8v21kn07-iets-grpc-e2e, fetched container-test-run-iets-grpc-e2e> == 2. hello cold, --no-build container-test-run-iets-grpc-e2e> machine # [1436397.922787] machine nix-daemon[5110]: accepted connection from pid 5251, user alice (trusted) container-test-run-iets-grpc-e2e> eval: 743 derivations, 158 sources, 1.424s container-test-run-iets-grpc-e2e> plan: 158 sources, 608 drvs, 0.105s container-test-run-iets-grpc-e2e> connect: gRPC, trusted, 0.003s container-test-run-iets-grpc-e2e> query: 766 paths, 766 missing, 0.005s container-test-run-iets-grpc-e2e> add: 766 paths, 513349 bytes, 0.212s container-test-run-iets-grpc-e2e> grpc: 5 calls container-test-run-iets-grpc-e2e> ok: query: 766 paths, 766 missing, 0.005s container-test-run-iets-grpc-e2e> == 3. hello warm, --no-build container-test-run-iets-grpc-e2e> machine # [1436400.501587] machine nix-daemon[5110]: accepted connection from pid 5398, user alice (trusted) container-test-run-iets-grpc-e2e> query: 1 paths, 0 missing, 0.001s container-test-run-iets-grpc-e2e> add: 0 paths, 0 bytes, 0.000s container-test-run-iets-grpc-e2e> grpc: 2 calls container-test-run-iets-grpc-e2e> ok container-test-run-iets-grpc-e2e> == 4. classic nix build --store grpc://… --eval-store auto container-test-run-iets-grpc-e2e> note: the `nix` on PATH loads no matching nix-grpc-store plugin; comparing against the worker protocol on the same store instead container-test-run-iets-grpc-e2e> ok: same as the reference nix, /nix/store/pmrx18ks2yiz9c9d17h9939cgpgvhs1b-iets-grpc-e2e-classic container-test-run-iets-grpc-e2e> == 5. classic out-link: the output is fetched back and registered locally container-test-run-iets-grpc-e2e> machine # [1436405.062638] machine nix-daemon[5110]: accepted connection from pid 5551, user alice (trusted)