container-test-run-iets-grpc-e2e
checks.x86_64-linux.grpc-e2e
· build #31
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.03 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 # No journal files were found.21machine # No journal boot entry found for the specified boot (+0).22machine # No journal files were found.23machine # No journal boot entry found for the specified boot (+0).24machine # No journal files were found.25machine # No journal boot entry found for the specified boot (+0).26machine # [1332288.291223] machine systemd-journald[57]: Journal started27machine # [1332288.291300] machine systemd-journald[57]: Runtime Journal (/run/log/journal/2cc60f2f763a4efea0127aa3c4e5d4ee) is 8M, max 2.5G, 2.5G free.28machine # [1332288.377976] machine systemd[1]: Finished Apply Kernel Variables.29machine # [1332288.415993] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.30machine # [1332288.481195] machine systemd[1]: Starting Flush Journal to Persistent Storage...31machine # [1332288.489516] machine systemd[1]: Starting Create Static Device Nodes in /dev...32machine # [1332288.525788] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/2cc60f2f763a4efea0127aa3c4e5d4ee is 1.697ms for 6 entries.33machine # [1332288.525788] machine systemd-journald[57]: System Journal (/var/log/journal/2cc60f2f763a4efea0127aa3c4e5d4ee) is 512B, max 4G, 3.9G free.34machine # [1332288.548525] machine systemd[1]: Finished Flush Journal to Persistent Storage.35machine # [1332288.568262] machine systemd[1]: Finished Create Static Device Nodes in /dev.36machine # [1332288.568646] machine systemd[1]: Reached target Preparation for Local File Systems.37machine # [1332288.568769] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys38machine # [1332288.914900] machine systemd[1]: Finished Firewall.39machine # [1332289.406528] machine systemd[1]: Mounting /run/wrappers...40machine # [1332289.483658] machine systemd[1]: Mounted /run/wrappers.41machine # [1332289.495745] machine systemd[1]: Reached target Local File Systems.42machine # [1332289.496875] machine systemd[1]: Listening on Boot Loader Control Service Socket.43machine # [1332289.509137] machine systemd[1]: Starting Create SUID/SGID Wrappers...44machine # [1332289.509192] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container45machine # [1332289.520154] machine systemd[1]: Starting Save Transient machine-id to Disk...46machine # [1332289.522920] machine systemd[1]: Starting Create System Files and Directories...47machine # [1332289.560366] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted48machine # [1332289.560564] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted49machine # [1332289.560676] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/2cc60f2f763a4efea0127aa3c4e5d4ee failed: Operation not permitted50machine # [1332289.560831] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted51machine # [1332289.577019] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.iEz21H8CUM/chsh': Operation not permitted52machine # [1332289.706744] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE53machine # [1332289.706842] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.54machine # [1332289.707015] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.55machine # [1332289.737165] machine systemd[1]: Finished Create System Files and Directories.56machine # [1332289.864346] machine systemd[1]: Starting Rebuild Journal Catalog...57machine # [1332289.868826] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...58machine # [1332289.931847] machine systemd[1]: Finished Rebuild Journal Catalog.59machine # [1332289.932067] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.60machine # [1332289.941165] machine systemd[1]: Starting Update is Completed...61machine # [1332289.979626] machine systemd[1]: Finished Update is Completed.62machine # [1332289.979770] machine systemd[1]: Reached target System Initialization.63machine # [1332289.979887] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container64machine # [1332289.979933] machine systemd[1]: Started Daily Cleanup of Temporary Directories.65machine # [1332289.979956] machine systemd[1]: Reached target Timer Units.66machine # [1332289.980099] machine systemd[1]: Listening on D-Bus System Message Bus Socket.67machine # [1332289.980184] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.68machine # [1332289.980211] machine systemd[1]: Reached target Socket Units.69machine # [1332289.980245] machine systemd[1]: Reached target Basic System.70machine # [1332289.989183] machine systemd[1]: Starting Import lastlog data into lastlog2 database...71machine # [1332290.029904] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...72machine # [1332290.036143] machine systemd[1]: Starting resolvconf update...73machine # [1332290.118580] machine systemd[1]: Finished Import lastlog data into lastlog2 database.74machine # [1332290.310305] machine systemd[1]: nscd.service: Deactivated successfully.75machine # [1332290.310487] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).76machine # [1332290.330246] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...77machine # [1332290.340073] machine resolvconf-start[234]: setfacl: /run/resolvconf: Operation not supported78machine # [1332290.341668] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE79machine # [1332290.342008] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.80machine # [1332290.342886] machine systemd[1]: Failed to start resolvconf update.81machine # [1332290.343683] machine systemd[1]: Reached target Preparation for Network.82machine # [1332290.349126] machine systemd[1]: Starting Address configuration of eth1...83machine # [1332290.354515] machine systemd[1]: Starting Extra networking commands....84machine # [1332290.480767] machine network-addresses-eth1-start[237]: adding address 192.168.1.1/24... done85machine # [1332290.503488] machine network-addresses-eth1-start[237]: adding address 2001:db8:1::1/64... done86machine # [1332290.907463] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.87machine # [1332290.973921] machine systemd[1]: Finished Save Transient machine-id to Disk.88machine # [1332290.974151] machine systemd[1]: Finished Address configuration of eth1.89machine # [1332290.974334] machine systemd[1]: Finished Extra networking commands..90machine # [1332291.008684] machine systemd[1]: Reached target Network.91machine # [1332292.113209] machine systemd[1]: Started Name Service Cache Daemon (nsncd).92machine # [1332292.113303] machine systemd[1]: Reached target Host and Network Name Lookups.93machine # [1332292.113374] machine systemd[1]: Reached target User and Group Name Lookups.94machine # [1332292.117179] machine nsncd[233]: Oct 10 09:04:22.847 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"95machine # [1332292.127181] machine systemd[1]: Starting User Login Management...96machine # [1332292.147182] machine systemd[1]: Starting Permit User Sessions...97machine # [1332292.191475] machine systemd[1]: Finished Permit User Sessions.98machine # [1332292.197182] machine systemd[1]: Started Console Getty.99machine # [1332292.197260] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0100machine # [1332292.197282] machine systemd[1]: Reached target Login Prompts.101machine: still waiting for container 'machine' to reach ready state...102machine # [1332302.074295] machine systemd-logind[306]: New seat seat0.103machine # [1332302.074553] machine systemd[1]: Started User Login Management.104machine # [1332302.081460] machine systemd[1]: Starting D-Bus System Message Bus...105machine # [1332302.093781] machine systemd[1]: Starting linger-users.service...106machine # [1332302.172414] machine systemd[1]: linger-users.service: Deactivated successfully.107machine # [1332302.172870] machine systemd[1]: Finished linger-users.service.108machine # [1332302.173242] machine systemd[1]: Reached target Multi-User System.109machine: still waiting for container 'machine' to reach ready state...110machine # [1332306.513572] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...111machine # [1332306.517243] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'112machine # [1332306.517243] 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"113machine # [1332306.519122] machine systemd[1]: Started D-Bus System Message Bus.114machine # [1332306.524914] machine systemd[1]: Startup finished in 19.904s.115machine # [1332306.540256] machine dbus-broker-launch[316]: Ready116machine: (finished: waiting for unit multi-user.target, in 22.76 seconds)117machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/4w6j45gzj6ccvywzf34xqz7dvcnmgizw-closure-info118warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.119machine: (finished: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/4w6j45gzj6ccvywzf34xqz7dvcnmgizw-closure-info, in 66.48 seconds)120machine: must succeed: systemctl start nix-daemon.socket121machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.05 seconds)122machine: must succeed: cp -r /nix/store/4420y079yidds8g3fdpy2cnfcsq13ps2-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets123machine # [1332373.466906] machine systemd[1]: Listening on Nix Daemon Socket.124machine: (finished: must succeed: cp -r /nix/store/4420y079yidds8g3fdpy2cnfcsq13ps2-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.47 seconds)125machine: 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'126machine # [1332373.974984] machine runuser[4896]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)127machine: (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.64 seconds)128machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/9gi6dpidm581zw1ny7fhkhvb8380hvif-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' >&2129machine # [1332374.586182] machine runuser[4896]: pam_unix(runuser-l:session): session closed for user alice130machine # [1332374.627903] machine runuser[4909]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)131daemon: /nix/store/ja2hmg2wf8ayg1ibn9qqq8p0djx1dza3-nix-grpc-daemon-0.1.0132url: grpc://127.0.0.1:9660?insecure=1133== 1. custom derivation with a source tree, built on the gRPC daemon134machine # [1332375.552295] machine systemd[1]: Started Nix Daemon.135machine # [1332375.695431] machine nix-daemon[5078]: accepted connection from pid 5059, user alice (trusted)136machine # [1332375.843371] machine nix-daemon[5078]: accepted connection from pid 5097, user alice (trusted)137drv: /nix/store/cv9r3jamw0kd1y9wchv3fdmawy6zg12d-iets-grpc-e2e.drv138machine # [1332375.973364] machine nix-daemon[5078]: accepted connection from pid 5118, user alice (trusted)139machine # [1332376.272141] machine nix-daemon[5078]: accepted connection from pid 5139, user alice (trusted)140eval: 1 derivations, 1 sources, 0.061s141plan: 1 sources, 1 drvs, 0.000s142connect: gRPC, trusted, 0.025s143query: 2 paths, 2 missing, 0.005s144add: 2 paths, 716 bytes, 0.150s145build: 1 drvs, 0 already valid, 0.430s146outputs: 0.000s147fetch: 1 outputs, 0.072s148grpc: 6 calls149ok: /nix/store/lk7gf0s0h1s9har16x9a92rc2rq65xib-iets-grpc-e2e, fetched150== 2. hello cold, --no-build151machine # [1332378.298445] machine nix-daemon[5078]: accepted connection from pid 5219, user alice (trusted)152eval: 743 derivations, 158 sources, 1.123s153plan: 158 sources, 608 drvs, 0.005s154connect: gRPC, trusted, 0.012s155query: 766 paths, 766 missing, 0.131s156add: 766 paths, 513349 bytes, 1.922s157grpc: 3 calls158ok: query: 766 paths, 766 missing, 0.131s159== 3. hello warm, --no-build160machine # [1332385.542032] machine nix-daemon[5078]: accepted connection from pid 5367, user alice (trusted)161query: 766 paths, 0 missing, 0.097s162add: 0 paths, 0 bytes, 0.000s163grpc: 2 calls164ok165== 4. classic nix build --store grpc://… --eval-store auto166note: the `nix` on PATH loads no matching nix-grpc-store plugin; comparing against the worker protocol on the same store instead167machine # [1332396.931310] machine nix-daemon[5078]: accepted connection from pid 5520, user alice (trusted)168ok: same as the reference nix, /nix/store/1045dq0a2amd143gvv4rak3b8hrwy5m8-iets-grpc-e2e-classic169== 5. classic out-link: the output is fetched back and registered locally170machine # [1332399.628450] machine nix-daemon[5078]: accepted connection from pid 5544, user alice (trusted)171ok: fetched back, and the local daemon refused the unsigned scratch output as `nix copy --from` would172== 6. a set of checks over grpc: the same verdicts as over the worker protocol173ok: 4 records, exit 100, the same either way174== 7. a multi-root iets build over grpc names every attribute175ok: 2 roots, one progress line each176PASS177machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/9gi6dpidm581zw1ny7fhkhvb8380hvif-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, in 35.56 seconds)178(finished: run the VM test script, in 125.97 seconds)179machine # [1332410.099424] machine runuser[4909]: pam_unix(runuser-l:session): session closed for user alice180test script finished in 126.66s181cleanup182kill NspawnMachine (pid 50)183Container machine terminated by signal KILL.184(finished: cleanup, in 0.35 seconds)