container-test-run-iets-grpc-e2e
checks.x86_64-linux.grpc-e2e
· build #34
· 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 # [1333028.293471] machine systemd-journald[57]: Journal started23machine # [1333028.293552] machine systemd-journald[57]: Runtime Journal (/run/log/journal/c22d0bb190af4908933818cbd75283b0) is 8M, max 2.5G, 2.5G free.24machine # [1333028.776118] machine systemd[1]: Finished Apply Kernel Variables.25machine # [1333028.930669] machine systemd[1]: Finished Firewall.26machine # [1333028.943116] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.27machine # [1333028.964903] machine systemd[1]: Starting Flush Journal to Persistent Storage...28machine # [1333028.965609] machine systemd[1]: Starting Create Static Device Nodes in /dev...29machine # [1333029.009442] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/c22d0bb190af4908933818cbd75283b0 is 15.293ms for 7 entries.30machine # [1333029.009442] machine systemd-journald[57]: System Journal (/var/log/journal/c22d0bb190af4908933818cbd75283b0) is 512B, max 4G, 3.9G free.31machine # [1333029.118863] machine systemd[1]: Finished Flush Journal to Persistent Storage.32machine # [1333029.124627] machine systemd[1]: Finished Create Static Device Nodes in /dev.33machine # [1333029.126030] machine systemd[1]: Reached target Preparation for Local File Systems.34machine # [1333029.126123] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys35machine # [1333029.244170] machine systemd[1]: Mounting /run/wrappers...36machine # [1333029.271285] machine systemd[1]: Mounted /run/wrappers.37machine # [1333029.273336] machine systemd[1]: Reached target Local File Systems.38machine # [1333029.274089] machine systemd[1]: Listening on Boot Loader Control Service Socket.39machine # [1333029.277073] machine systemd[1]: Starting Create SUID/SGID Wrappers...40machine # [1333029.277109] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container41machine # [1333029.277860] machine systemd[1]: Starting Save Transient machine-id to Disk...42machine # [1333029.281065] machine systemd[1]: Starting Create System Files and Directories...43machine # [1333029.373852] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted44machine # [1333029.373990] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted45machine # [1333029.374080] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/c22d0bb190af4908933818cbd75283b0 failed: Operation not permitted46machine # [1333029.374202] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted47machine # [1333029.466547] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.eyss5RawZt/chsh': Operation not permitted48machine # [1333029.496037] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE49machine # [1333029.496111] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.50machine # [1333029.497512] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.51machine # [1333029.507131] machine systemd[1]: Finished Create System Files and Directories.52machine # [1333029.585892] machine systemd[1]: Starting Rebuild Journal Catalog...53machine # [1333029.650364] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...54machine # [1333029.687983] machine systemd[1]: Finished Rebuild Journal Catalog.55machine # [1333029.697815] machine systemd[1]: Starting Update is Completed...56machine # [1333029.740215] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.57machine # [1333029.749409] machine systemd[1]: Finished Update is Completed.58machine # [1333029.750505] machine systemd[1]: Reached target System Initialization.59machine # [1333029.750595] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container60machine # [1333029.750624] machine systemd[1]: Started Daily Cleanup of Temporary Directories.61machine # [1333029.750642] machine systemd[1]: Reached target Timer Units.62machine # [1333029.750750] machine systemd[1]: Listening on D-Bus System Message Bus Socket.63machine # [1333029.750827] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.64machine # [1333029.750843] machine systemd[1]: Reached target Socket Units.65machine # [1333029.750867] machine systemd[1]: Reached target Basic System.66machine # [1333029.758706] machine systemd[1]: Starting Import lastlog data into lastlog2 database...67machine # [1333029.763889] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...68machine # [1333029.774355] machine systemd[1]: Starting resolvconf update...69machine # [1333029.986204] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.70machine # [1333029.992861] machine systemd[1]: Finished Save Transient machine-id to Disk.71machine # [1333029.993024] machine systemd[1]: Finished Import lastlog data into lastlog2 database.72machine # [1333030.239971] machine systemd[1]: nscd.service: Deactivated successfully.73machine # [1333030.240338] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).74machine # [1333030.263662] machine resolvconf-start[234]: setfacl: /run/resolvconf: Operation not supported75machine # [1333030.268873] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...76machine # [1333030.269085] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE77machine # [1333030.269177] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.78machine # [1333030.312630] machine systemd[1]: Failed to start resolvconf update.79machine # [1333030.313701] machine systemd[1]: Reached target Preparation for Network.80machine # [1333030.319172] machine systemd[1]: Starting Address configuration of eth1...81machine # [1333030.334639] machine systemd[1]: Starting Extra networking commands....82machine # [1333030.432861] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done83machine # [1333030.445152] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done84machine # [1333030.473762] machine systemd[1]: Finished Address configuration of eth1.85machine # [1333030.643077] machine systemd[1]: Finished Extra networking commands..86machine # [1333030.643643] machine systemd[1]: Reached target Network.87machine # [1333032.989683] machine nsncd[235]: Oct 10 09:16:43.720 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"88machine # [1333032.991026] machine systemd[1]: Started Name Service Cache Daemon (nsncd).89machine # [1333032.991114] machine systemd[1]: Reached target Host and Network Name Lookups.90machine # [1333032.991171] machine systemd[1]: Reached target User and Group Name Lookups.91machine # [1333033.006911] machine systemd[1]: Starting User Login Management...92machine # [1333033.011744] machine systemd[1]: Starting Permit User Sessions...93machine # [1333033.066499] machine systemd[1]: Finished Permit User Sessions.94machine # [1333033.073230] machine systemd[1]: Started Console Getty.95machine # [1333033.073305] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty096machine # [1333033.073327] machine systemd[1]: Reached target Login Prompts.97machine: still waiting for container 'machine' to reach ready state...98machine # [1333036.758924] machine systemd-logind[306]: New seat seat0.99machine # [1333036.760483] machine systemd[1]: Starting D-Bus System Message Bus...100machine # [1333036.760642] machine systemd[1]: Started User Login Management.101machine # [1333036.763811] machine systemd[1]: Starting linger-users.service...102machine # [1333036.827470] machine systemd[1]: linger-users.service: Deactivated successfully.103machine # [1333036.827754] machine systemd[1]: Finished linger-users.service.104machine # [1333036.827933] machine systemd[1]: Reached target Multi-User System.105machine: (finished: waiting for unit multi-user.target, in 11.69 seconds)106machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/spfy41fxcmhl582bzx217s0i40kg5jxy-closure-info107machine # [1333037.434178] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...108machine # [1333037.435024] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'109machine # [1333037.435024] 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 # [1333037.436022] machine systemd[1]: Started D-Bus System Message Bus.111machine # [1333037.436332] machine systemd[1]: Startup finished in 10.067s.112machine # [1333037.447313] machine dbus-broker-launch[316]: Ready113warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.114machine: (finished: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/spfy41fxcmhl582bzx217s0i40kg5jxy-closure-info, in 17.76 seconds)115machine: must succeed: systemctl start nix-daemon.socket116machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.02 seconds)117machine: must succeed: cp -r /nix/store/p8cscs56p6603rhnigmirb92n1swsrak-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets118machine: (finished: must succeed: cp -r /nix/store/p8cscs56p6603rhnigmirb92n1swsrak-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.33 seconds)119machine: 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'120machine # [1333055.474968] machine systemd[1]: Listening on Nix Daemon Socket.121machine # [1333055.820095] machine runuser[4896]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)122machine: (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.27 seconds)123machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/djlbargwnhm5z3wddlwvdv5j8ndb3zil-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' >&2124daemon: /nix/store/ja2hmg2wf8ayg1ibn9qqq8p0djx1dza3-nix-grpc-daemon-0.1.0125url: grpc://127.0.0.1:9660?insecure=1126== 1. custom derivation with a source tree, built on the gRPC daemon127machine # [1333056.072066] machine runuser[4896]: pam_unix(runuser-l:session): session closed for user alice128machine # [1333056.083102] machine runuser[4909]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)129drv: /nix/store/i4j9bdrjivq9pld5v821vnw2ylbv75kv-iets-grpc-e2e.drv130machine # [1333056.432238] machine systemd[1]: Started Nix Daemon.131machine # [1333056.511245] machine nix-daemon[5072]: accepted connection from pid 5054, user alice (trusted)132machine # [1333056.551419] machine nix-daemon[5072]: accepted connection from pid 5091, user alice (trusted)133machine # [1333056.586547] machine nix-daemon[5072]: accepted connection from pid 5112, user alice (trusted)134machine # [1333056.753439] machine nix-daemon[5072]: accepted connection from pid 5133, user alice (trusted)135eval: 1 derivations, 1 sources, 0.428s136plan: 1 sources, 1 drvs, 0.000s137connect: gRPC, trusted, 0.002s138query: 2 paths, 2 missing, 0.005s139add: 2 paths, 721 bytes, 0.003s140build: 1 drvs, 0 already valid, 0.213s141outputs: 0.000s142fetch: 1 outputs, 0.004s143grpc: 6 calls144ok: /nix/store/bf9qzwbas3rfprz8gcinbl8lpyrv7na7-iets-grpc-e2e, fetched145== 2. hello cold, --no-build146machine # [1333057.770289] machine nix-daemon[5072]: accepted connection from pid 5213, user alice (trusted)147eval: 743 derivations, 158 sources, 0.642s148plan: 158 sources, 608 drvs, 0.001s149connect: gRPC, trusted, 0.005s150query: 766 paths, 766 missing, 0.004s151add: 766 paths, 513349 bytes, 0.325s152grpc: 3 calls153ok: query: 766 paths, 766 missing, 0.004s154== 3. hello warm, --no-build155machine # [1333059.921861] machine nix-daemon[5072]: accepted connection from pid 5360, user alice (trusted)156query: 766 paths, 0 missing, 0.007s157add: 0 paths, 0 bytes, 0.000s158grpc: 2 calls159ok160== 4. classic nix build --store grpc://… --eval-store auto161note: the `nix` on PATH loads no matching nix-grpc-store plugin; comparing against the worker protocol on the same store instead162ok: same as the reference nix, /nix/store/q37vzdhgrb8c9r8nskjhv4vi8nn74dxl-iets-grpc-e2e-classic163== 5. classic out-link: the output is fetched back and registered locally164machine # [1333060.958782] machine nix-daemon[5072]: accepted connection from pid 5513, user alice (trusted)165ok: fetched back, and the local daemon refused the unsigned scratch output as `nix copy --from` would166== 6. a set of checks over grpc: the same verdicts as over the worker protocol167machine # [1333061.463729] machine nix-daemon[5072]: accepted connection from pid 5537, user alice (trusted)168ok: 4 records, exit 100, the same either way169== 7. a multi-root iets build over grpc names every attribute170ok: 2 roots, one progress line each171PASS172machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/djlbargwnhm5z3wddlwvdv5j8ndb3zil-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 6.81 seconds)173(finished: run the VM test script, in 36.88 seconds)174test script finished in 37.22s175cleanup176kill NspawnMachine (pid 50)177machine # [1333062.884511] machine runuser[4909]: pam_unix(runuser-l:session): session closed for user alice178Container machine terminated by signal KILL.179(finished: cleanup, in 0.22 seconds)