container-test-run-iets-grpc-e2e
checks.x86_64-linux.grpc-e2e
· build #90
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.01 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 # [1393534.788058] machine systemd-journald[57]: Journal started25machine # [1393534.788121] machine systemd-journald[57]: Runtime Journal (/run/log/journal/74df1791322042f28c31e938703a6334) is 8M, max 2.5G, 2.5G free.26machine # [1393535.099255] machine systemd[1]: Finished Firewall.27machine # [1393535.101804] machine systemd[1]: Finished Apply Kernel Variables.28machine # [1393535.310173] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.29machine # [1393535.491076] machine systemd[1]: Starting Flush Journal to Persistent Storage...30machine # [1393535.491753] machine systemd[1]: Starting Create Static Device Nodes in /dev...31machine # [1393535.519510] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/74df1791322042f28c31e938703a6334 is 1.298ms for 7 entries.32machine # [1393535.519510] machine systemd-journald[57]: System Journal (/var/log/journal/74df1791322042f28c31e938703a6334) is 512B, max 4G, 3.9G free.33machine # [1393535.591036] machine systemd[1]: Finished Flush Journal to Persistent Storage.34machine # [1393535.594881] machine systemd[1]: Finished Create Static Device Nodes in /dev.35machine # [1393535.595987] machine systemd[1]: Reached target Preparation for Local File Systems.36machine # [1393535.597106] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys37machine # [1393535.795311] machine systemd[1]: Mounting /run/wrappers...38machine # [1393536.224690] machine systemd[1]: Mounted /run/wrappers.39machine # [1393536.225457] machine systemd[1]: Reached target Local File Systems.40machine # [1393536.226266] machine systemd[1]: Listening on Boot Loader Control Service Socket.41machine # [1393536.226983] machine systemd[1]: Starting Create SUID/SGID Wrappers...42machine # [1393536.227009] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container43machine # [1393536.232137] machine systemd[1]: Starting Save Transient machine-id to Disk...44machine # [1393536.253125] machine systemd[1]: Starting Create System Files and Directories...45machine # [1393536.292097] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.XO0HJRA66k/chsh': Operation not permitted46machine # [1393536.293547] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE47machine # [1393536.293659] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.48machine # [1393536.294187] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.49machine # [1393536.516155] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted50machine # [1393536.517158] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted51machine # [1393536.517285] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/74df1791322042f28c31e938703a6334 failed: Operation not permitted52machine # [1393536.517455] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted53machine # [1393536.849316] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.54machine # [1393537.442538] machine systemd[1]: Finished Save Transient machine-id to Disk.55machine # [1393537.474141] machine systemd[1]: Finished Create System Files and Directories.56machine # [1393537.741690] machine systemd[1]: Starting Rebuild Journal Catalog...57machine # [1393537.743336] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...58machine # [1393537.863445] machine systemd[1]: Finished Rebuild Journal Catalog.59machine # [1393537.868145] machine systemd[1]: Starting Update is Completed...60machine # [1393537.880385] machine systemd[1]: Finished Update is Completed.61machine # [1393537.884131] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.62machine # [1393537.886214] machine systemd[1]: Reached target System Initialization.63machine # [1393537.886322] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container64machine # [1393537.886354] machine systemd[1]: Started Daily Cleanup of Temporary Directories.65machine # [1393537.886379] machine systemd[1]: Reached target Timer Units.66machine # [1393537.886510] machine systemd[1]: Listening on D-Bus System Message Bus Socket.67machine # [1393537.886588] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.68machine # [1393537.886616] machine systemd[1]: Reached target Socket Units.69machine # [1393537.886642] machine systemd[1]: Reached target Basic System.70machine # [1393537.891105] machine systemd[1]: Starting Import lastlog data into lastlog2 database...71machine # [1393537.895139] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...72machine # [1393537.899751] machine systemd[1]: Starting resolvconf update...73machine # [1393537.928650] machine systemd[1]: Finished Import lastlog data into lastlog2 database.74machine # [1393537.988426] machine systemd[1]: nscd.service: Deactivated successfully.75machine # [1393537.988628] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).76machine # [1393538.025207] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...77machine # [1393538.114111] machine resolvconf-start[236]: setfacl: /run/resolvconf: Operation not supported78machine # [1393538.113073] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE79machine # [1393538.113173] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.80machine # [1393538.113358] machine systemd[1]: Failed to start resolvconf update.81machine # [1393538.114094] machine systemd[1]: Reached target Preparation for Network.82machine # [1393538.115905] machine systemd[1]: Starting Address configuration of eth1...83machine # [1393538.118114] machine systemd[1]: Starting Extra networking commands....84machine # [1393538.157949] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done85machine # [1393538.161340] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done86machine # [1393538.174134] machine systemd[1]: Finished Address configuration of eth1.87machine # [1393538.269861] machine systemd[1]: Finished Extra networking commands..88machine # [1393538.270029] machine systemd[1]: Reached target Network.89machine # [1393539.883994] machine nsncd[222]: Oct 11 02:05:10.614 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"90machine # [1393539.884173] machine systemd[1]: Started Name Service Cache Daemon (nsncd).91machine # [1393539.884243] machine systemd[1]: Reached target Host and Network Name Lookups.92machine # [1393539.884302] machine systemd[1]: Reached target User and Group Name Lookups.93machine # [1393539.885649] machine systemd[1]: Starting User Login Management...94machine # [1393539.886508] machine systemd[1]: Starting Permit User Sessions...95machine # [1393539.922674] machine systemd[1]: Finished Permit User Sessions.96machine # [1393539.924484] machine systemd[1]: Started Console Getty.97machine # [1393539.924535] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty098machine # [1393539.924555] machine systemd[1]: Reached target Login Prompts.99machine: still waiting for container 'machine' to reach ready state...100machine # [1393545.853286] machine systemd-logind[306]: New seat seat0.101machine # [1393545.856281] machine systemd[1]: Starting D-Bus System Message Bus...102machine # [1393545.856429] machine systemd[1]: Started User Login Management.103machine # [1393545.857324] machine systemd[1]: Starting linger-users.service...104machine # [1393545.909678] machine systemd[1]: linger-users.service: Deactivated successfully.105machine # [1393545.910217] machine systemd[1]: Finished linger-users.service.106machine # [1393545.910416] machine systemd[1]: Reached target Multi-User System.107machine # [1393550.119122] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...108machine # [1393550.121013] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'109machine # [1393550.121013] 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"110machine # [1393550.121580] machine systemd[1]: Started D-Bus System Message Bus.111machine # [1393550.125899] machine systemd[1]: Startup finished in 16.398s.112machine # [1393550.130654] machine dbus-broker-launch[316]: Ready113machine: (finished: waiting for unit multi-user.target, in 18.24 seconds)114machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/mkgyvm2hz5s3hxkxl7bz93ivn1zfqza7-closure-info115warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.116machine: (finished: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/mkgyvm2hz5s3hxkxl7bz93ivn1zfqza7-closure-info, in 63.65 seconds)117machine: must succeed: systemctl start nix-daemon.socket118machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.05 seconds)119machine: must succeed: cp -r /nix/store/1gl92qbcp2ds5xlfcxs6gsskbj0q48h8-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets120machine: (finished: must succeed: cp -r /nix/store/1gl92qbcp2ds5xlfcxs6gsskbj0q48h8-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.41 seconds)121machine: 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'122machine # [1393614.245010] machine systemd[1]: Listening on Nix Daemon Socket.123machine # [1393614.716057] machine runuser[4933]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)124machine # [1393615.053475] machine runuser[4933]: pam_unix(runuser-l:session): session closed for user alice125machine: (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.40 seconds)126machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/2lqs6brz8axiaxhm98fpa19q8zc44vw9-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' >&2127daemon: /nix/store/ja2hmg2wf8ayg1ibn9qqq8p0djx1dza3-nix-grpc-daemon-0.1.0128machine # [1393615.075095] machine runuser[4946]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)129url: grpc://127.0.0.1:9697?insecure=1130== 1. custom derivation with a source tree, built on the gRPC daemon131machine # [1393615.884461] machine systemd[1]: Started Nix Daemon.132machine # [1393616.044231] machine nix-daemon[5109]: accepted connection from pid 5091, user alice (trusted)133machine # [1393616.113675] machine nix-daemon[5109]: accepted connection from pid 5128, user alice (trusted)134drv: /nix/store/zgi5zks24zmczb12dw2cymlhns4pzsr2-iets-grpc-e2e.drv135machine # [1393616.198151] machine nix-daemon[5109]: accepted connection from pid 5149, user alice (trusted)136machine # [1393616.380114] machine nix-daemon[5109]: accepted connection from pid 5170, user alice (trusted)137eval: 1 derivations, 1 sources, 1.349s138plan: 1 sources, 1 drvs, 0.000s139connect: gRPC, trusted, 0.047s140query: 2 paths, 2 missing, 0.129s141add: 2 paths, 722 bytes, 0.075s142build: 1 drvs, 0 already valid, 0.436s143outputs: 0.000s144fetch: 1 outputs, 0.007s145grpc: 6 calls146ok: /nix/store/lx69h063h8hg1l6r9qs2y3qh1f3wkvmj-iets-grpc-e2e, fetched147== 2. hello cold, --no-build148machine # [1393619.462021] machine nix-daemon[5109]: accepted connection from pid 5250, user alice (trusted)149eval: 743 derivations, 158 sources, 4.572s150plan: 158 sources, 608 drvs, 0.002s151connect: gRPC, trusted, 0.007s152query: 766 paths, 766 missing, 0.008s153add: 766 paths, 513349 bytes, 0.449s154grpc: 3 calls155ok: query: 766 paths, 766 missing, 0.008s156== 3. hello warm, --no-build157machine # [1393626.918988] machine nix-daemon[5109]: accepted connection from pid 5397, user alice (trusted)158query: 766 paths, 0 missing, 0.019s159add: 0 paths, 0 bytes, 0.000s160grpc: 2 calls161ok162== 4. classic nix build --store grpc://… --eval-store auto163note: the `nix` on PATH loads no matching nix-grpc-store plugin; comparing against the worker protocol on the same store instead164ok: same as the reference nix, /nix/store/158vljqk3lgkph6js0zfaxng4pybs045-iets-grpc-e2e-classic165== 5. classic out-link: the output is fetched back and registered locally166machine # [1393634.415367] machine nix-daemon[5109]: accepted connection from pid 5550, user alice (trusted)167ok: fetched back, and the local daemon refused the unsigned scratch output as `nix copy --from` would168== 6. a set of checks over grpc: the same verdicts as over the worker protocol169machine # [1393635.670028] machine nix-daemon[5109]: accepted connection from pid 5574, user alice (trusted)170ok: 4 records, exit 100, the same either way171== 7. a multi-root iets build over grpc names every attribute172ok: 2 roots, one progress line each173PASS174machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/2lqs6brz8axiaxhm98fpa19q8zc44vw9-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 23.55 seconds)175(finished: run the VM test script, in 106.30 seconds)176test script finished in 106.49s177cleanup178kill NspawnMachine (pid 50)179Container machine terminated by signal KILL.180(finished: cleanup, in 0.23 seconds)