1these 6 derivations will be built:2 /nix/store/c4s6nd1bdm45h66chzsh7k8llb56rph4-iets-0.1.0.drv3 /nix/store/xnph18b1n8572r1fia0a5663m2vd7l6z-closure-info.drv4 /nix/store/g0s3h7rgid0qxz6gxh8a0g0jfsns89jn-test-script.drv5 /nix/store/4qv0xck1cy7816nsia1db0sf48ijsd46-driverConfiguration.json.drv6 /nix/store/7vnikyijhgxincl215i2a6xjr4jfvpgb-nixos-test-driver-iets-grpc-e2e.drv7 /nix/store/pcj8f9ayxfryw7plxclbg5y01pak2a29-container-test-run-iets-grpc-e2e.drv8building '/nix/store/xnph18b1n8572r1fia0a5663m2vd7l6z-closure-info.drv'9closure-info> structuredAttrs is enabled10building '/nix/store/g0s3h7rgid0qxz6gxh8a0g0jfsns89jn-test-script.drv'11test-script> structuredAttrs is enabled12building '/nix/store/4qv0xck1cy7816nsia1db0sf48ijsd46-driverConfiguration.json.drv'13driverConfiguration.json> structuredAttrs is enabled14building '/nix/store/7vnikyijhgxincl215i2a6xjr4jfvpgb-nixos-test-driver-iets-grpc-e2e.drv'15nixos-test-driver-iets-grpc-e2e> Running type check (enable/disable: config.skipTypeCheck)16nixos-test-driver-iets-grpc-e2e> See https://nixos.org/manual/nixos/stable/#test-opt-skipTypeCheck17nixos-test-driver-iets-grpc-e2e> All checks passed!18nixos-test-driver-iets-grpc-e2e> Linting test script (enable/disable: config.skipLint)19nixos-test-driver-iets-grpc-e2e> See https://nixos.org/manual/nixos/stable/#test-opt-skipLint20nixos-test-driver-iets-grpc-e2e> All checks passed!21building '/nix/store/pcj8f9ayxfryw7plxclbg5y01pak2a29-container-test-run-iets-grpc-e2e.drv'22container-test-run-iets-grpc-e2e> Machine state will be reset. To keep it, pass --keep-machine-state23container-test-run-iets-grpc-e2e> start all VLans24container-test-run-iets-grpc-e2e> (finished: start all VLans, in 0.00 seconds)25container-test-run-iets-grpc-e2e> 26container-test-run-iets-grpc-e2e> Test will time out and terminate in 3600.0 seconds27container-test-run-iets-grpc-e2e> run the VM test script28container-test-run-iets-grpc-e2e> additionally exposed symbols:29container-test-run-iets-grpc-e2e> machine,30container-test-run-iets-grpc-e2e> vlan1,31container-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_ssh32container-test-run-iets-grpc-e2e> machine: waiting for unit multi-user.target33container-test-run-iets-grpc-e2e> machine: systemd-nspawn running (pid 50)34container-test-run-iets-grpc-e2e> machine: Waiting for journal at /build/vm-state-machine/var/log/journal...35container-test-run-iets-grpc-e2e> nixos-nspawn(machine): TAP vde-tap1 not found; container will be isolated from VDE36container-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.37container-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.38container-test-run-iets-grpc-e2e> ░ Spawning container machine on /build/vm-state-machine.39container-test-run-iets-grpc-e2e> machine # [1436380.598387] machine systemd-journald[57]: Journal started40container-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.41container-test-run-iets-grpc-e2e> machine # [1436380.608544] machine systemd[1]: Finished Apply Kernel Variables.42container-test-run-iets-grpc-e2e> machine # [1436380.620133] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.43container-test-run-iets-grpc-e2e> machine # [1436380.633963] machine systemd[1]: Starting Flush Journal to Persistent Storage...44container-test-run-iets-grpc-e2e> machine # [1436380.634635] machine systemd[1]: Starting Create Static Device Nodes in /dev...45container-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.46container-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.47container-test-run-iets-grpc-e2e> machine # [1436380.672278] machine systemd[1]: Finished Create Static Device Nodes in /dev.48container-test-run-iets-grpc-e2e> machine # [1436380.672747] machine systemd[1]: Reached target Preparation for Local File Systems.49container-test-run-iets-grpc-e2e> machine # [1436380.672819] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys50container-test-run-iets-grpc-e2e> machine # [1436380.680832] machine systemd[1]: Finished Flush Journal to Persistent Storage.51container-test-run-iets-grpc-e2e> machine # [1436380.712951] machine systemd[1]: Finished Firewall.52container-test-run-iets-grpc-e2e> machine # [1436381.596075] machine systemd[1]: Mounting /run/wrappers...53container-test-run-iets-grpc-e2e> machine # [1436381.613850] machine systemd[1]: Mounted /run/wrappers.54container-test-run-iets-grpc-e2e> machine # [1436381.614320] machine systemd[1]: Reached target Local File Systems.55container-test-run-iets-grpc-e2e> machine # [1436381.614952] machine systemd[1]: Listening on Boot Loader Control Service Socket.56container-test-run-iets-grpc-e2e> machine # [1436381.615527] machine systemd[1]: Starting Create SUID/SGID Wrappers...57container-test-run-iets-grpc-e2e> machine # [1436381.615549] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container58container-test-run-iets-grpc-e2e> machine # [1436381.615983] machine systemd[1]: Starting Save Transient machine-id to Disk...59container-test-run-iets-grpc-e2e> machine # [1436381.616310] machine systemd[1]: Starting Create System Files and Directories...60container-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 permitted61container-test-run-iets-grpc-e2e> machine # [1436381.628383] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted62container-test-run-iets-grpc-e2e> machine # [1436381.628463] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/e62a9366599949899277f5d8bdfbeeeb failed: Operation not permitted63container-test-run-iets-grpc-e2e> machine # [1436381.628569] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted64container-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 permitted65container-test-run-iets-grpc-e2e> machine # [1436381.633708] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE66container-test-run-iets-grpc-e2e> machine # [1436381.633768] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.67container-test-run-iets-grpc-e2e> machine # [1436381.633875] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.68container-test-run-iets-grpc-e2e> machine # [1436381.634106] machine systemd[1]: Finished Create System Files and Directories.69container-test-run-iets-grpc-e2e> machine # [1436381.648943] machine systemd[1]: Starting Rebuild Journal Catalog...70container-test-run-iets-grpc-e2e> machine # [1436381.649496] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...71container-test-run-iets-grpc-e2e> machine # [1436381.662969] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.72container-test-run-iets-grpc-e2e> machine # [1436381.664010] machine systemd[1]: Finished Save Transient machine-id to Disk.73container-test-run-iets-grpc-e2e> machine # [1436381.666813] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.74container-test-run-iets-grpc-e2e> machine # [1436381.666957] machine systemd[1]: Finished Rebuild Journal Catalog.75container-test-run-iets-grpc-e2e> machine # [1436381.668362] machine systemd[1]: Starting Update is Completed...76container-test-run-iets-grpc-e2e> machine # [1436381.677506] machine systemd[1]: Finished Update is Completed.77container-test-run-iets-grpc-e2e> machine # [1436381.677624] machine systemd[1]: Reached target System Initialization.78container-test-run-iets-grpc-e2e> machine # [1436381.677689] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container79container-test-run-iets-grpc-e2e> machine # [1436381.677717] machine systemd[1]: Started Daily Cleanup of Temporary Directories.80container-test-run-iets-grpc-e2e> machine # [1436381.677735] machine systemd[1]: Reached target Timer Units.81container-test-run-iets-grpc-e2e> machine # [1436381.677831] machine systemd[1]: Listening on D-Bus System Message Bus Socket.82container-test-run-iets-grpc-e2e> machine # [1436381.677901] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.83container-test-run-iets-grpc-e2e> machine # [1436381.677923] machine systemd[1]: Reached target Socket Units.84container-test-run-iets-grpc-e2e> machine # [1436381.677948] machine systemd[1]: Reached target Basic System.85container-test-run-iets-grpc-e2e> machine # [1436381.679269] machine systemd[1]: Starting Import lastlog data into lastlog2 database...86container-test-run-iets-grpc-e2e> machine # [1436381.679945] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...87container-test-run-iets-grpc-e2e> machine # [1436381.680334] machine systemd[1]: Starting resolvconf update...88container-test-run-iets-grpc-e2e> machine # [1436381.695452] machine systemd[1]: Finished Import lastlog data into lastlog2 database.89container-test-run-iets-grpc-e2e> machine # [1436381.727413] machine systemd[1]: nscd.service: Deactivated successfully.90container-test-run-iets-grpc-e2e> machine # [1436381.727548] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).91container-test-run-iets-grpc-e2e> machine # [1436381.737101] machine resolvconf-start[234]: setfacl: /run/resolvconf: Operation not supported92container-test-run-iets-grpc-e2e> machine # [1436381.750963] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...93container-test-run-iets-grpc-e2e> machine # [1436381.751121] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE94container-test-run-iets-grpc-e2e> machine # [1436381.751202] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.95container-test-run-iets-grpc-e2e> machine # [1436381.751320] machine systemd[1]: Failed to start resolvconf update.96container-test-run-iets-grpc-e2e> machine # [1436381.751969] machine systemd[1]: Reached target Preparation for Network.97container-test-run-iets-grpc-e2e> machine # [1436381.752825] machine systemd[1]: Starting Address configuration of eth1...98container-test-run-iets-grpc-e2e> machine # [1436381.753606] machine systemd[1]: Starting Extra networking commands....99container-test-run-iets-grpc-e2e> machine # [1436381.764806] machine network-addresses-eth1-start[237]: adding address 192.168.1.1/24... done100container-test-run-iets-grpc-e2e> machine # [1436381.766769] machine network-addresses-eth1-start[237]: adding address 2001:db8:1::1/64... done101container-test-run-iets-grpc-e2e> machine # [1436381.769944] machine systemd[1]: Finished Address configuration of eth1.102container-test-run-iets-grpc-e2e> machine # [1436381.800808] machine systemd[1]: Finished Extra networking commands..103container-test-run-iets-grpc-e2e> machine # [1436381.800925] machine systemd[1]: Reached target Network.104container-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"105container-test-run-iets-grpc-e2e> machine # [1436381.896796] machine systemd[1]: Started Name Service Cache Daemon (nsncd).106container-test-run-iets-grpc-e2e> machine # [1436381.896851] machine systemd[1]: Reached target Host and Network Name Lookups.107container-test-run-iets-grpc-e2e> machine # [1436381.896890] machine systemd[1]: Reached target User and Group Name Lookups.108container-test-run-iets-grpc-e2e> machine # [1436381.898007] machine systemd[1]: Starting User Login Management...109container-test-run-iets-grpc-e2e> machine # [1436381.898481] machine systemd[1]: Starting Permit User Sessions...110container-test-run-iets-grpc-e2e> machine # [1436381.907489] machine systemd[1]: Finished Permit User Sessions.111container-test-run-iets-grpc-e2e> machine # [1436381.908232] machine systemd[1]: Started Console Getty.112container-test-run-iets-grpc-e2e> machine # [1436381.908261] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0113container-test-run-iets-grpc-e2e> machine # [1436381.908275] machine systemd[1]: Reached target Login Prompts.114container-test-run-iets-grpc-e2e> machine # [1436382.909452] machine systemd-logind[306]: New seat seat0.115container-test-run-iets-grpc-e2e> machine # [1436382.927873] machine systemd[1]: Starting D-Bus System Message Bus...116container-test-run-iets-grpc-e2e> machine # [1436382.927982] machine systemd[1]: Started User Login Management.117container-test-run-iets-grpc-e2e> machine # [1436382.928831] machine systemd[1]: Starting linger-users.service...118container-test-run-iets-grpc-e2e> machine # [1436382.937286] machine systemd[1]: linger-users.service: Deactivated successfully.119container-test-run-iets-grpc-e2e> machine # [1436382.937508] machine systemd[1]: Finished linger-users.service.120container-test-run-iets-grpc-e2e> machine # [1436382.937710] machine systemd[1]: Reached target Multi-User System.121container-test-run-iets-grpc-e2e> machine: (finished: waiting for unit multi-user.target, in 3.65 seconds)122container-test-run-iets-grpc-e2e> machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/rdin01ri9ailjbrii44221vdc8xn576c-closure-info123container-test-run-iets-grpc-e2e> machine # [1436383.258917] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...124container-test-run-iets-grpc-e2e> machine # [1436383.259612] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'125container-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"126container-test-run-iets-grpc-e2e> machine # [1436383.260161] machine systemd[1]: Started D-Bus System Message Bus.127container-test-run-iets-grpc-e2e> machine # [1436383.260420] machine systemd[1]: Startup finished in 2.991s.128container-test-run-iets-grpc-e2e> machine # [1436383.265568] machine dbus-broker-launch[316]: Ready129container-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.130container-test-run-iets-grpc-e2e> machine: (finished: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/rdin01ri9ailjbrii44221vdc8xn576c-closure-info, in 12.58 seconds)131container-test-run-iets-grpc-e2e> machine: must succeed: systemctl start nix-daemon.socket132container-test-run-iets-grpc-e2e> machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.01 seconds)133container-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/iets134container-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)135container-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'136container-test-run-iets-grpc-e2e> machine # [1436396.067030] machine systemd[1]: Listening on Nix Daemon Socket.137container-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)138container-test-run-iets-grpc-e2e> machine # [1436396.325434] machine runuser[4933]: pam_unix(runuser-l:session): session closed for user alice139container-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)140container-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' >&2141container-test-run-iets-grpc-e2e> daemon: /nix/store/ja2hmg2wf8ayg1ibn9qqq8p0djx1dza3-nix-grpc-daemon-0.1.0142container-test-run-iets-grpc-e2e> url: grpc://127.0.0.1:9697?insecure=1143container-test-run-iets-grpc-e2e> == 1. custom derivation with a source tree, built on the gRPC daemon144container-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)145container-test-run-iets-grpc-e2e> machine # [1436396.626430] machine systemd[1]: Started Nix Daemon.146container-test-run-iets-grpc-e2e> drv: /nix/store/gqjpwqhdlwfq656lclplcp46an8q3q0d-iets-grpc-e2e.drv147container-test-run-iets-grpc-e2e> machine # [1436396.681990] machine nix-daemon[5110]: accepted connection from pid 5092, user alice (trusted)148container-test-run-iets-grpc-e2e> machine # [1436396.716825] machine nix-daemon[5110]: accepted connection from pid 5129, user alice (trusted)149container-test-run-iets-grpc-e2e> machine # [1436396.748918] machine nix-daemon[5110]: accepted connection from pid 5150, user alice (trusted)150container-test-run-iets-grpc-e2e> machine # [1436396.844259] machine nix-daemon[5110]: accepted connection from pid 5171, user alice (trusted)151container-test-run-iets-grpc-e2e> eval: 1 derivations, 1 sources, 0.535s152container-test-run-iets-grpc-e2e> plan: 1 sources, 1 drvs, 0.000s153container-test-run-iets-grpc-e2e> connect: gRPC, trusted, 0.005s154container-test-run-iets-grpc-e2e> query: 2 paths, 2 missing, 0.005s155container-test-run-iets-grpc-e2e> add: 2 paths, 717 bytes, 0.045s156container-test-run-iets-grpc-e2e> build: 1 drvs, 0 already valid, 0.212s157container-test-run-iets-grpc-e2e> outputs: 0.000s158container-test-run-iets-grpc-e2e> fetch: 1 outputs, 0.013s159container-test-run-iets-grpc-e2e> grpc: 7 calls160container-test-run-iets-grpc-e2e> ok: /nix/store/y5jpg5n7kcb1xvb99qc2vdjl8v21kn07-iets-grpc-e2e, fetched161container-test-run-iets-grpc-e2e> == 2. hello cold, --no-build162container-test-run-iets-grpc-e2e> machine # [1436397.922787] machine nix-daemon[5110]: accepted connection from pid 5251, user alice (trusted)163container-test-run-iets-grpc-e2e> eval: 743 derivations, 158 sources, 1.424s164container-test-run-iets-grpc-e2e> plan: 158 sources, 608 drvs, 0.105s165container-test-run-iets-grpc-e2e> connect: gRPC, trusted, 0.003s166container-test-run-iets-grpc-e2e> query: 766 paths, 766 missing, 0.005s167container-test-run-iets-grpc-e2e> add: 766 paths, 513349 bytes, 0.212s168container-test-run-iets-grpc-e2e> grpc: 5 calls169container-test-run-iets-grpc-e2e> ok: query: 766 paths, 766 missing, 0.005s170container-test-run-iets-grpc-e2e> == 3. hello warm, --no-build171container-test-run-iets-grpc-e2e> machine # [1436400.501587] machine nix-daemon[5110]: accepted connection from pid 5398, user alice (trusted)172container-test-run-iets-grpc-e2e> query: 1 paths, 0 missing, 0.001s173container-test-run-iets-grpc-e2e> add: 0 paths, 0 bytes, 0.000s174container-test-run-iets-grpc-e2e> grpc: 2 calls175container-test-run-iets-grpc-e2e> ok176container-test-run-iets-grpc-e2e> == 4. classic nix build --store grpc://… --eval-store auto177container-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 instead178container-test-run-iets-grpc-e2e> ok: same as the reference nix, /nix/store/pmrx18ks2yiz9c9d17h9939cgpgvhs1b-iets-grpc-e2e-classic179container-test-run-iets-grpc-e2e> == 5. classic out-link: the output is fetched back and registered locally180container-test-run-iets-grpc-e2e> machine # [1436405.062638] machine nix-daemon[5110]: accepted connection from pid 5551, user alice (trusted)