container-test-run-iets-grpc-e2e
checks.x86_64-linux.grpc-e2e
· build #172
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.00 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 # [1508089.544039] machine systemd-journald[57]: Journal started23machine # [1508089.544085] machine systemd-journald[57]: Runtime Journal (/run/log/journal/116480e26ee34833bf9552b5189221ba) is 8M, max 2.5G, 2.5G free.24machine # [1508089.622225] machine systemd[1]: Finished Apply Kernel Variables.25machine # [1508089.655967] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.26machine # [1508089.683721] machine systemd[1]: Starting Flush Journal to Persistent Storage...27machine # [1508089.684455] machine systemd[1]: Starting Create Static Device Nodes in /dev...28machine # [1508089.695080] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/116480e26ee34833bf9552b5189221ba is 1.224ms for 6 entries.29machine # [1508089.695080] machine systemd-journald[57]: System Journal (/var/log/journal/116480e26ee34833bf9552b5189221ba) is 512B, max 4G, 3.9G free.30machine # [1508089.714474] machine systemd[1]: Finished Firewall.31machine # [1508089.715500] machine systemd[1]: Finished Create Static Device Nodes in /dev.32machine # [1508089.753162] machine systemd[1]: Finished Flush Journal to Persistent Storage.33machine # [1508089.754909] machine systemd[1]: Reached target Preparation for Local File Systems.34machine # [1508089.756307] machine systemd[1]: Mounting /run/wrappers...35machine # [1508089.756344] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys36machine # [1508089.835250] machine systemd[1]: Mounted /run/wrappers.37machine # [1508089.837062] machine systemd[1]: Reached target Local File Systems.38machine # [1508089.839763] machine systemd[1]: Listening on Boot Loader Control Service Socket.39machine # [1508089.841255] machine systemd[1]: Starting Create SUID/SGID Wrappers...40machine # [1508089.841297] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container41machine # [1508089.842241] machine systemd[1]: Starting Save Transient machine-id to Disk...42machine # [1508089.843040] machine systemd[1]: Starting Create System Files and Directories...43machine # [1508089.883960] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted44machine # [1508089.884174] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted45machine # [1508089.884296] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/116480e26ee34833bf9552b5189221ba failed: Operation not permitted46machine # [1508089.884469] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted47machine # [1508089.887650] machine systemd[1]: Finished Create System Files and Directories.48machine # [1508089.889059] machine systemd[1]: Starting Rebuild Journal Catalog...49machine # [1508089.889971] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...50machine # [1508089.891424] machine suid-sgid-wrappers-start[171]: chmod: changing permissions of '/run/wrappers/wrappers.1O2NWH5Z0K/chsh': Operation not permitted51machine # [1508089.892734] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE52machine # [1508089.892831] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.53machine # [1508089.893027] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.54machine # [1508089.904661] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.55machine # [1508089.910502] machine systemd[1]: Finished Rebuild Journal Catalog.56machine # [1508089.912333] machine systemd[1]: Starting Update is Completed...57machine # [1508089.928022] machine systemd[1]: Finished Update is Completed.58machine # [1508089.928212] machine systemd[1]: Reached target System Initialization.59machine # [1508089.928307] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container60machine # [1508089.928344] machine systemd[1]: Started Daily Cleanup of Temporary Directories.61machine # [1508089.928368] machine systemd[1]: Reached target Timer Units.62machine # [1508089.929045] machine systemd[1]: Listening on D-Bus System Message Bus Socket.63machine # [1508089.929187] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.64machine # [1508089.929217] machine systemd[1]: Reached target Socket Units.65machine # [1508089.929259] machine systemd[1]: Reached target Basic System.66machine # [1508089.930718] machine systemd[1]: Starting Import lastlog data into lastlog2 database...67machine # [1508089.932494] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...68machine # [1508089.934013] machine systemd[1]: Starting resolvconf update...69machine # [1508089.957440] machine systemd[1]: Finished Import lastlog data into lastlog2 database.70machine # [1508089.973909] machine systemd[1]: Finished Save Transient machine-id to Disk.71machine # [1508089.991347] machine systemd[1]: nscd.service: Deactivated successfully.72machine # [1508089.991534] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).73machine # [1508089.994121] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...74machine # [1508090.000475] machine resolvconf-start[235]: setfacl: /run/resolvconf: Operation not supported75machine # [1508090.001666] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE76machine # [1508090.001764] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.77machine # [1508090.012285] machine systemd[1]: Failed to start resolvconf update.78machine # [1508090.012662] machine systemd[1]: Reached target Preparation for Network.79machine # [1508090.014051] machine systemd[1]: Starting Address configuration of eth1...80machine # [1508090.015116] machine systemd[1]: Starting Extra networking commands....81machine # [1508090.034832] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done82machine # [1508090.037323] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done83machine # [1508090.040315] machine systemd[1]: Finished Address configuration of eth1.84machine # [1508090.072325] machine systemd[1]: Finished Extra networking commands..85machine # [1508090.072498] machine systemd[1]: Reached target Network.86machine # [1508090.236833] machine nsncd[231]: Oct 12 09:54:20.967 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"87machine # [1508090.236999] machine systemd[1]: Started Name Service Cache Daemon (nsncd).88machine # [1508090.237092] machine systemd[1]: Reached target Host and Network Name Lookups.89machine # [1508090.237138] machine systemd[1]: Reached target User and Group Name Lookups.90machine # [1508090.239049] machine systemd[1]: Starting User Login Management...91machine # [1508090.240873] machine systemd[1]: Starting Permit User Sessions...92machine # [1508090.270489] machine systemd[1]: Finished Permit User Sessions.93machine # [1508090.271701] machine systemd[1]: Started Console Getty.94machine # [1508090.271747] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty095machine # [1508090.271766] machine systemd[1]: Reached target Login Prompts.96machine # [1508090.550887] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.97machine # [1508092.286137] machine systemd-logind[299]: New seat seat0.98machine # [1508092.287449] machine systemd[1]: Starting D-Bus System Message Bus...99machine # [1508092.287570] machine systemd[1]: Started User Login Management.100machine # [1508092.289559] machine systemd[1]: Starting linger-users.service...101machine # [1508092.304377] machine systemd[1]: linger-users.service: Deactivated successfully.102machine # [1508092.304564] machine systemd[1]: Finished linger-users.service.103machine # [1508092.304755] machine systemd[1]: Reached target Multi-User System.104machine # [1508094.767277] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...105machine # [1508094.769237] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'106machine # [1508094.769237] 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"107machine # [1508094.771166] machine systemd[1]: Started D-Bus System Message Bus.108machine # [1508094.776211] machine systemd[1]: Startup finished in 6.471s.109machine # [1508094.784848] machine dbus-broker-launch[316]: Ready110machine: (finished: waiting for unit multi-user.target, in 7.70 seconds)111machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/lqkcazxg8s7jg8xhvs3kxdw5x1iyij7f-closure-info112warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.113machine: (finished: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/lqkcazxg8s7jg8xhvs3kxdw5x1iyij7f-closure-info, in 17.48 seconds)114machine: must succeed: systemctl start nix-daemon.socket115machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.01 seconds)116machine: must succeed: cp -r /nix/store/za51x3qg31fkq3mjsy69kzdwxa66zc32-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets117machine: (finished: must succeed: cp -r /nix/store/za51x3qg31fkq3mjsy69kzdwxa66zc32-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.18 seconds)118machine: 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'119machine # [1508112.703228] machine systemd[1]: Listening on Nix Daemon Socket.120machine # [1508112.896283] machine runuser[4933]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)121machine: (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.26 seconds)122machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/15fdbb2g6gqihlikrc5w007wzbvfv1cd-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' >&2123daemon: /nix/store/ja2hmg2wf8ayg1ibn9qqq8p0djx1dza3-nix-grpc-daemon-0.1.0124url: grpc://127.0.0.1:9697?insecure=1125== 1. custom derivation with a source tree, built on the gRPC daemon126machine # [1508113.138815] machine runuser[4933]: pam_unix(runuser-l:session): session closed for user alice127machine # [1508113.152070] machine runuser[4946]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)128machine # [1508113.476180] machine systemd[1]: Started Nix Daemon.129drv: /nix/store/yz5140vrrrg31z67kw7y7cqsks3m3l0a-iets-grpc-e2e.drv130machine # [1508113.544937] machine nix-daemon[5110]: accepted connection from pid 5092, user alice (trusted)131machine # [1508113.584907] machine nix-daemon[5110]: accepted connection from pid 5129, user alice (trusted)132machine # [1508113.627282] machine nix-daemon[5110]: accepted connection from pid 5150, user alice (trusted)133machine # [1508113.822062] machine nix-daemon[5110]: accepted connection from pid 5171, user alice (trusted)134eval: 1 derivations, 1 sources, 0.334s135plan: 1 sources, 1 drvs, 0.000s136connect: gRPC, trusted, 0.294s137query: 2 paths, 2 missing, 0.005s138add: 2 paths, 715 bytes, 0.058s139build: 1 drvs, 0 already valid, 0.208s140outputs: 0.000s141fetch: 1 outputs, 0.041s142grpc: 7 calls143ok: /nix/store/cjiw218aspz0xj5q4s9fp2w2gcd06lvz-iets-grpc-e2e, fetched144== 2. hello cold, --no-build145machine # [1508115.093443] machine nix-daemon[5110]: accepted connection from pid 5251, user alice (trusted)146eval: 743 derivations, 158 sources, 2.454s147plan: 158 sources, 608 drvs, 0.037s148connect: gRPC, trusted, 0.002s149query: 766 paths, 766 missing, 0.004s150add: 766 paths, 513349 bytes, 0.640s151grpc: 5 calls152ok: query: 766 paths, 766 missing, 0.004s153== 3. hello warm, --no-build154machine # [1508119.621948] machine nix-daemon[5110]: accepted connection from pid 5399, user alice (trusted)155query: 1 paths, 0 missing, 0.001s156add: 0 paths, 0 bytes, 0.000s157grpc: 2 calls158ok159== 4. classic nix build --store grpc://… --eval-store auto160note: the `nix` on PATH loads no matching nix-grpc-store plugin; comparing against the worker protocol on the same store instead161machine # [1508126.940189] machine nix-daemon[5110]: accepted connection from pid 5552, user alice (trusted)162ok: same as the reference nix, /nix/store/dkr97appd5s0dixx80710n45zargkld4-iets-grpc-e2e-classic163== 5. classic out-link: the output is fetched back and registered locally164ok: fetched back, and the local daemon refused the unsigned scratch output as `nix copy --from` would165== 6. a set of checks over grpc: the same verdicts as over the worker protocol166machine # [1508128.675128] machine nix-daemon[5110]: accepted connection from pid 5576, user alice (trusted)167ok: 4 records, exit 100, the same either way168== 7. a multi-root iets build over grpc names every attribute169ok: 2 roots, one progress line each170PASS171machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/15fdbb2g6gqihlikrc5w007wzbvfv1cd-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 20.77 seconds)172(finished: run the VM test script, in 46.40 seconds)173test script finished in 46.62s174cleanup175kill NspawnMachine (pid 50)176(finished: cleanup, in 0.17 seconds)177Container machine terminated by signal KILL.