container-test-run-iets-grpc-e2e
checks.x86_64-linux.grpc-e2e
· build #35
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.02 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 # [1333477.768698] machine systemd-journald[57]: Journal started25machine # [1333477.768778] machine systemd-journald[57]: Runtime Journal (/run/log/journal/a0f29c9ab86849f6b290696519616fbd) is 8M, max 2.5G, 2.5G free.26machine # [1333477.804210] machine systemd[1]: Finished Apply Kernel Variables.27machine # [1333477.830851] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.28machine # [1333477.869144] machine systemd[1]: Starting Flush Journal to Persistent Storage...29machine # [1333477.873147] machine systemd[1]: Starting Create Static Device Nodes in /dev...30machine # [1333477.920407] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/a0f29c9ab86849f6b290696519616fbd is 10.632ms for 6 entries.31machine # [1333477.920407] machine systemd-journald[57]: System Journal (/var/log/journal/a0f29c9ab86849f6b290696519616fbd) is 512B, max 4G, 3.9G free.32machine # [1333477.998126] machine systemd[1]: Finished Flush Journal to Persistent Storage.33machine # [1333478.000068] machine systemd[1]: Finished Create Static Device Nodes in /dev.34machine # [1333478.001894] machine systemd[1]: Reached target Preparation for Local File Systems.35machine # [1333478.002127] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys36machine # [1333478.025153] machine systemd[1]: Finished Firewall.37machine # [1333478.749409] machine systemd[1]: Mounting /run/wrappers...38machine # [1333478.868794] machine systemd[1]: Mounted /run/wrappers.39machine # [1333478.870158] machine systemd[1]: Reached target Local File Systems.40machine # [1333478.877349] machine systemd[1]: Listening on Boot Loader Control Service Socket.41machine # [1333478.885164] machine systemd[1]: Starting Create SUID/SGID Wrappers...42machine # [1333478.885229] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container43machine # [1333478.913165] machine systemd[1]: Starting Save Transient machine-id to Disk...44machine # [1333478.917151] machine systemd[1]: Starting Create System Files and Directories...45machine # [1333478.936050] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.0VEf92OHH1/chsh': Operation not permitted46machine # [1333478.963241] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted47machine # [1333478.963441] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted48machine # [1333478.963559] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/a0f29c9ab86849f6b290696519616fbd failed: Operation not permitted49machine # [1333478.963717] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted50machine # [1333478.971026] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE51machine # [1333478.971114] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.52machine # [1333478.971428] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.53machine # [1333478.987209] machine systemd[1]: Finished Create System Files and Directories.54machine # [1333479.089119] machine systemd[1]: Starting Rebuild Journal Catalog...55machine # [1333479.093110] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...56machine # [1333479.141495] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.57machine # [1333479.200980] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.58machine # [1333479.203133] machine systemd[1]: Finished Save Transient machine-id to Disk.59machine # [1333479.203356] machine systemd[1]: Finished Rebuild Journal Catalog.60machine # [1333479.208304] machine systemd[1]: Starting Update is Completed...61machine # [1333479.259152] machine systemd[1]: Finished Update is Completed.62machine # [1333479.259279] machine systemd[1]: Reached target System Initialization.63machine # [1333479.259368] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container64machine # [1333479.259402] machine systemd[1]: Started Daily Cleanup of Temporary Directories.65machine # [1333479.259421] machine systemd[1]: Reached target Timer Units.66machine # [1333479.259546] machine systemd[1]: Listening on D-Bus System Message Bus Socket.67machine # [1333479.259629] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.68machine # [1333479.259657] machine systemd[1]: Reached target Socket Units.69machine # [1333479.259686] machine systemd[1]: Reached target Basic System.70machine # [1333479.269270] machine systemd[1]: Starting Import lastlog data into lastlog2 database...71machine # [1333479.277174] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...72machine # [1333479.283152] machine systemd[1]: Starting resolvconf update...73machine # [1333479.360779] machine systemd[1]: Finished Import lastlog data into lastlog2 database.74machine # [1333479.497710] machine systemd[1]: nscd.service: Deactivated successfully.75machine # [1333479.498653] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).76machine # [1333479.505159] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...77machine # [1333479.530017] machine resolvconf-start[235]: setfacl: /run/resolvconf: Operation not supported78machine # [1333479.531960] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE79machine # [1333479.532069] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.80machine # [1333479.554412] machine systemd[1]: Failed to start resolvconf update.81machine # [1333479.554777] machine systemd[1]: Reached target Preparation for Network.82machine # [1333479.555985] machine systemd[1]: Starting Address configuration of eth1...83machine # [1333479.557991] machine systemd[1]: Starting Extra networking commands....84machine # [1333479.623101] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done85machine # [1333479.636899] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done86machine # [1333479.646959] machine systemd[1]: Finished Address configuration of eth1.87machine # [1333479.754188] machine systemd[1]: Finished Extra networking commands..88machine # [1333479.754846] machine systemd[1]: Reached target Network.89machine # [1333481.394157] machine nsncd[229]: Oct 10 09:24:12.124 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"90machine # [1333481.397482] machine systemd[1]: Started Name Service Cache Daemon (nsncd).91machine # [1333481.397559] machine systemd[1]: Reached target Host and Network Name Lookups.92machine # [1333481.397625] machine systemd[1]: Reached target User and Group Name Lookups.93machine # [1333481.404867] machine systemd[1]: Starting User Login Management...94machine # [1333481.410137] machine systemd[1]: Starting Permit User Sessions...95machine # [1333481.446243] machine systemd[1]: Finished Permit User Sessions.96machine # [1333481.453217] machine systemd[1]: Started Console Getty.97machine # [1333481.453290] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty098machine # [1333481.453312] machine systemd[1]: Reached target Login Prompts.99machine: still waiting for container 'machine' to reach ready state...100machine # [1333489.285924] machine systemd-logind[306]: New seat seat0.101machine # [1333489.290178] machine systemd[1]: Starting D-Bus System Message Bus...102machine # [1333489.290367] machine systemd[1]: Started User Login Management.103machine # [1333489.296177] machine systemd[1]: Starting linger-users.service...104machine # [1333489.351437] machine systemd[1]: linger-users.service: Deactivated successfully.105machine # [1333489.351885] machine systemd[1]: Finished linger-users.service.106machine # [1333489.352659] machine systemd[1]: Reached target Multi-User System.107machine: (finished: waiting for unit multi-user.target, in 20.27 seconds)108machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/jjfkz69fdamw99gm1yvzwzah2gib5rv4-closure-info109machine # [1333494.717830] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...110machine # [1333494.722111] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'111machine # [1333494.722111] 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"112machine # [1333494.723569] machine systemd[1]: Started D-Bus System Message Bus.113machine # [1333494.723977] machine systemd[1]: Startup finished in 18.633s.114machine # [1333494.736951] machine dbus-broker-launch[316]: Ready115warning: '--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/jjfkz69fdamw99gm1yvzwzah2gib5rv4-closure-info, in 52.43 seconds)117machine: must succeed: systemctl start nix-daemon.socket118machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.03 seconds)119machine: must succeed: cp -r /nix/store/w09z2iqjk8pxm8ynidpsd9zm697qp7xc-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets120machine: (finished: must succeed: cp -r /nix/store/w09z2iqjk8pxm8ynidpsd9zm697qp7xc-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.28 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 # [1333547.458529] machine systemd[1]: Listening on Nix Daemon Socket.123machine # [1333547.770504] machine runuser[4896]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)124machine: (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.50 seconds)125machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/8cn03yqlc49fzd06hnpl7gajggjkaj8b-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' >&2126daemon: /nix/store/ja2hmg2wf8ayg1ibn9qqq8p0djx1dza3-nix-grpc-daemon-0.1.0127machine # [1333548.234465] machine runuser[4896]: pam_unix(runuser-l:session): session closed for user alice128machine # [1333548.261069] machine runuser[4909]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)129url: grpc://127.0.0.1:9660?insecure=1130== 1. custom derivation with a source tree, built on the gRPC daemon131machine # [1333548.838388] machine systemd[1]: Started Nix Daemon.132machine # [1333548.940105] machine nix-daemon[5073]: accepted connection from pid 5055, user alice (trusted)133machine # [1333549.020048] machine nix-daemon[5073]: accepted connection from pid 5093, user alice (trusted)134machine # [1333549.144091] machine nix-daemon[5073]: accepted connection from pid 5115, user alice (trusted)135drv: /nix/store/4j0hn9zijj0mzw0ij9298m0fdag3v5mb-iets-grpc-e2e.drv136machine # [1333550.276626] machine nix-daemon[5073]: accepted connection from pid 5136, user alice (trusted)137eval: 1 derivations, 1 sources, 3.547s138plan: 1 sources, 1 drvs, 0.000s139connect: gRPC, trusted, 0.127s140query: 2 paths, 2 missing, 0.010s141add: 2 paths, 717 bytes, 0.201s142build: 1 drvs, 0 already valid, 0.447s143outputs: 0.000s144fetch: 1 outputs, 0.023s145grpc: 6 calls146ok: /nix/store/spc1zc65ga0ils5mbls4d8nzqk22jzcd-iets-grpc-e2e, fetched147== 2. hello cold, --no-build148machine # [1333555.580489] machine nix-daemon[5073]: accepted connection from pid 5216, user alice (trusted)149eval: 743 derivations, 158 sources, 4.530s150plan: 158 sources, 608 drvs, 0.021s151connect: gRPC, trusted, 0.021s152query: 766 paths, 766 missing, 0.229s153add: 766 paths, 513349 bytes, 1.221s154grpc: 3 calls155ok: query: 766 paths, 766 missing, 0.229s156== 3. hello warm, --no-build157machine # [1333563.505071] machine nix-daemon[5073]: accepted connection from pid 5364, user alice (trusted)158query: 766 paths, 0 missing, 0.026s159add: 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/99cacfrdl04dpmwah21j4hlby54k4lbv-iets-grpc-e2e-classic165== 5. classic out-link: the output is fetched back and registered locally166machine # [1333569.878945] machine nix-daemon[5073]: accepted connection from pid 5517, user alice (trusted)167machine # [1333571.353904] machine nix-daemon[5073]: accepted connection from pid 5541, user alice (trusted)168ok: fetched back, and the local daemon refused the unsigned scratch output as `nix copy --from` would169== 6. a set of checks over grpc: the same verdicts as over the worker protocol170ok: 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/8cn03yqlc49fzd06hnpl7gajggjkaj8b-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 30.87 seconds)175(finished: run the VM test script, in 104.38 seconds)176machine # [1333579.098516] machine runuser[4909]: pam_unix(runuser-l:session): session closed for user alice177test script finished in 105.64s178cleanup179kill NspawnMachine (pid 50)180Container machine terminated by signal KILL.181(finished: cleanup, in 0.28 seconds)