nixbot

builds

succeeded container-test-run-iets-grpc-e2e checks.x86_64-linux.grpc-e2e · build #49 · 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 # [1353746.435600] machine systemd-journald[57]: Journal started21machine # [1353746.435639] machine systemd-journald[57]: Runtime Journal (/run/log/journal/65afbf4110f74989a6bc03f69a38ba4e) is 8M, max 2.5G, 2.5G free.22machine # [1353746.469139] machine systemd[1]: Listening on Journal Log Access Socket.23machine # [1353746.470132] machine systemd[1]: Finished Apply Kernel Variables.24machine # [1353746.488342] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.25machine # [1353746.509254] machine systemd[1]: Starting Flush Journal to Persistent Storage...26machine # [1353746.509751] machine systemd[1]: Starting Create Static Device Nodes in /dev...27machine # [1353746.552409] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/65afbf4110f74989a6bc03f69a38ba4e is 2.493ms for 7 entries.28machine # [1353746.552409] machine systemd-journald[57]: System Journal (/var/log/journal/65afbf4110f74989a6bc03f69a38ba4e) is 512B, max 4G, 3.9G free.29machine # [1353746.565653] machine systemd[1]: Finished Create Static Device Nodes in /dev.30machine # [1353746.566552] machine systemd[1]: Reached target Preparation for Local File Systems.31machine # [1353746.566665] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys32machine # [1353746.583780] machine systemd[1]: Finished Flush Journal to Persistent Storage.33machine # [1353746.618046] machine systemd[1]: Finished Firewall.34machine # [1353747.439260] machine systemd[1]: Mounting /run/wrappers...35machine # [1353747.465552] machine systemd[1]: Mounted /run/wrappers.36machine # [1353747.466678] machine systemd[1]: Reached target Local File Systems.37machine # [1353747.467556] machine systemd[1]: Listening on Boot Loader Control Service Socket.38machine # [1353747.468605] machine systemd[1]: Starting Create SUID/SGID Wrappers...39machine # [1353747.468633] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container40machine # [1353747.469327] machine systemd[1]: Starting Save Transient machine-id to Disk...41machine # [1353747.470224] machine systemd[1]: Starting Create System Files and Directories...42machine # [1353747.482436] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted43machine # [1353747.482541] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted44machine # [1353747.482612] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/65afbf4110f74989a6bc03f69a38ba4e failed: Operation not permitted45machine # [1353747.482714] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted46machine # [1353747.492742] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.FmbFUx9aIt/chsh': Operation not permitted47machine # [1353747.506661] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.48machine # [1353747.507841] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE49machine # [1353747.507917] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.50machine # [1353747.508044] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.51machine # [1353747.508203] machine systemd[1]: Finished Save Transient machine-id to Disk.52machine # [1353747.508403] machine systemd[1]: Finished Create System Files and Directories.53machine # [1353747.533207] machine systemd[1]: Starting Rebuild Journal Catalog...54machine # [1353747.534166] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...55machine # [1353747.576275] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.56machine # [1353747.584329] machine systemd[1]: Finished Rebuild Journal Catalog.57machine # [1353747.585133] machine systemd[1]: Starting Update is Completed...58machine # [1353747.603354] machine systemd[1]: Finished Update is Completed.59machine # [1353747.603438] machine systemd[1]: Reached target System Initialization.60machine # [1353747.603484] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container61machine # [1353747.603506] machine systemd[1]: Started Daily Cleanup of Temporary Directories.62machine # [1353747.603519] machine systemd[1]: Reached target Timer Units.63machine # [1353747.603587] machine systemd[1]: Listening on D-Bus System Message Bus Socket.64machine # [1353747.603642] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.65machine # [1353747.603658] machine systemd[1]: Reached target Socket Units.66machine # [1353747.603679] machine systemd[1]: Reached target Basic System.67machine # [1353747.604387] machine systemd[1]: Starting Import lastlog data into lastlog2 database...68machine # [1353747.605842] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...69machine # [1353747.607015] machine systemd[1]: Starting resolvconf update...70machine # [1353747.619073] machine systemd[1]: Finished Import lastlog data into lastlog2 database.71machine # [1353747.657881] machine systemd[1]: nscd.service: Deactivated successfully.72machine # [1353747.658014] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).73machine # [1353747.659637] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...74machine # [1353747.667243] machine resolvconf-start[235]: setfacl: /run/resolvconf: Operation not supported75machine # [1353747.668545] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE76machine # [1353747.668644] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.77machine # [1353747.680254] machine systemd[1]: Failed to start resolvconf update.78machine # [1353747.680485] machine systemd[1]: Reached target Preparation for Network.79machine # [1353747.681570] machine systemd[1]: Starting Address configuration of eth1...80machine # [1353747.682435] machine systemd[1]: Starting Extra networking commands....81machine # [1353747.702295] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done82machine # [1353747.705038] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done83machine # [1353747.712589] machine systemd[1]: Finished Address configuration of eth1.84machine # [1353747.765346] machine systemd[1]: Finished Extra networking commands..85machine # [1353747.765558] machine systemd[1]: Reached target Network.86machine # [1353747.802433] machine systemd[1]: Started Name Service Cache Daemon (nsncd).87machine # [1353747.802488] machine systemd[1]: Reached target Host and Network Name Lookups.88machine # [1353747.802529] machine systemd[1]: Reached target User and Group Name Lookups.89machine # [1353747.803628] machine nsncd[228]: Oct 10 15:01:58.534 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"90machine # [1353747.814085] machine systemd[1]: Starting User Login Management...91machine # [1353747.814691] machine systemd[1]: Starting Permit User Sessions...92machine # [1353747.824824] machine systemd[1]: Finished Permit User Sessions.93machine # [1353747.826336] machine systemd[1]: Started Console Getty.94machine # [1353747.826365] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty095machine # [1353747.826380] machine systemd[1]: Reached target Login Prompts.96machine # [1353748.793109] machine systemd-logind[306]: New seat seat0.97machine # [1353748.794196] machine systemd[1]: Starting D-Bus System Message Bus...98machine # [1353748.794289] machine systemd[1]: Started User Login Management.99machine # [1353748.795687] machine systemd[1]: Starting linger-users.service...100machine # [1353748.832486] machine systemd[1]: linger-users.service: Deactivated successfully.101machine # [1353748.832643] machine systemd[1]: Finished linger-users.service.102machine # [1353748.832739] machine systemd[1]: Reached target Multi-User System.103machine: (finished: waiting for unit multi-user.target, in 4.15 seconds)104machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/q3m8m211xl5arkcfpdcwbb40sa1085kd-closure-info105machine # [1353749.244203] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...106machine # [1353749.246109] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'107machine # [1353749.246109] 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"108machine # [1353749.247152] machine systemd[1]: Started D-Bus System Message Bus.109machine # [1353749.247384] machine systemd[1]: Startup finished in 3.254s.110machine # [1353749.257890] machine dbus-broker-launch[316]: Ready111warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.112machine: (finished: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/q3m8m211xl5arkcfpdcwbb40sa1085kd-closure-info, in 16.12 seconds)113machine: must succeed: systemctl start nix-daemon.socket114machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.01 seconds)115machine: must succeed: cp -r /nix/store/8vna03nyqaajphrga74z7qgwmb1fixl3-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets116machine: (finished: must succeed: cp -r /nix/store/8vna03nyqaajphrga74z7qgwmb1fixl3-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.08 seconds)117machine: 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'118machine # [1353765.776217] machine systemd[1]: Listening on Nix Daemon Socket.119machine # [1353765.868834] machine runuser[4933]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)120machine # [1353766.055605] machine runuser[4933]: pam_unix(runuser-l:session): session closed for user alice121machine: (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.20 seconds)122machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/av97cxp3zhvdv9ba0dphm427hyghahgq-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 # [1353766.067618] machine runuser[4946]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)127drv: /nix/store/4987avkrb0rlgpw650zw283rfyf4rr64-iets-grpc-e2e.drv128machine # [1353766.368989] machine systemd[1]: Started Nix Daemon.129machine # [1353766.410021] machine nix-daemon[5109]: accepted connection from pid 5091, user alice (trusted)130machine # [1353766.454578] machine nix-daemon[5109]: accepted connection from pid 5128, user alice (trusted)131machine # [1353766.484075] machine nix-daemon[5109]: accepted connection from pid 5149, user alice (trusted)132machine # [1353766.603789] machine nix-daemon[5109]: accepted connection from pid 5170, user alice (trusted)133eval: 1 derivations, 1 sources, 0.300s134plan: 1 sources, 1 drvs, 0.000s135connect: gRPC, trusted, 0.028s136query: 2 paths, 2 missing, 0.011s137add: 2 paths, 715 bytes, 0.022s138build: 1 drvs, 0 already valid, 0.256s139outputs: 0.000s140fetch: 1 outputs, 0.009s141grpc: 6 calls142ok: /nix/store/gijh0i5b0gqlcvbwm4khlz6xpd1g8r79-iets-grpc-e2e, fetched143== 2. hello cold, --no-build144machine # [1353767.571925] machine nix-daemon[5109]: accepted connection from pid 5250, user alice (trusted)145eval: 743 derivations, 158 sources, 0.644s146plan: 158 sources, 608 drvs, 0.001s147connect: gRPC, trusted, 0.005s148query: 766 paths, 766 missing, 0.008s149add: 766 paths, 513349 bytes, 0.261s150grpc: 3 calls151ok: query: 766 paths, 766 missing, 0.008s152== 3. hello warm, --no-build153machine # [1353769.400931] machine nix-daemon[5109]: accepted connection from pid 5397, user alice (trusted)154query: 766 paths, 0 missing, 0.007s155add: 0 paths, 0 bytes, 0.000s156grpc: 2 calls157ok158== 4. classic nix build --store grpc://… --eval-store auto159note: the `nix` on PATH loads no matching nix-grpc-store plugin; comparing against the worker protocol on the same store instead160ok: same as the reference nix, /nix/store/lmp33k51fhm3szj3y4dkwqcwhrfwzlmd-iets-grpc-e2e-classic161== 5. classic out-link: the output is fetched back and registered locally162machine # [1353771.580620] machine nix-daemon[5109]: accepted connection from pid 5550, user alice (trusted)163ok: fetched back, and the local daemon refused the unsigned scratch output as `nix copy --from` would164== 6. a set of checks over grpc: the same verdicts as over the worker protocol165machine # [1353773.089350] machine nix-daemon[5109]: accepted connection from pid 5574, user alice (trusted)166ok: 4 records, exit 100, the same either way167== 7. a multi-root iets build over grpc names every attribute168ok: 2 roots, one progress line each169PASS170machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/av97cxp3zhvdv9ba0dphm427hyghahgq-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 11.87 seconds)171(finished: run the VM test script, in 32.44 seconds)172machine # [1353777.922601] machine runuser[4946]: pam_unix(runuser-l:session): session closed for user alice173test script finished in 32.99s174cleanup175kill NspawnMachine (pid 50)176Container machine terminated by signal KILL.177(finished: cleanup, in 0.17 seconds)