nixbot

builds

succeeded container-test-run-iets-grpc-e2e checks.x86_64-linux.grpc-e2e · build #497 · raw

1bld1: building ifjlfzmafvq5qkx8xdacmjpbp4naawsm-container-test-run-iets-grpc-e2e.drv2Machine state will be reset. To keep it, pass --keep-machine-state3start all VLans4(finished: start all VLans, in 0.01 seconds)5Initializing machine ID from random generator.6Test will time out and terminate in 3600.0 seconds7run the VM test script8additionally exposed symbols:9 machine,10 vlan1,11 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_ssh12machine: waiting for unit multi-user.target13machine: systemd-nspawn running (pid 50)14machine: Waiting for journal at /build/vm-state-machine/var/log/journal...15nixos-nspawn(machine): TAP vde-tap1 not found; container will be isolated from VDE16nixos-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.17Note: 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.18░ Spawning container machine on /build/vm-state-machine.19machine # No journal files were found.20machine # No journal boot entry found for the specified boot (+0).21machine # No journal files were found.22machine # No journal boot entry found for the specified boot (+0).23machine # [573393.007086] machine systemd-journald[57]: Journal started24machine # [573393.007170] machine systemd-journald[57]: Runtime Journal (/run/log/journal/da6f3ad472d24feeb3d5cf421770b12f) is 8M, max 2.5G, 2.5G free.25machine # [573393.033195] machine systemd[1]: Finished Apply Kernel Variables.26machine # [573393.075168] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.27machine # [573393.124773] machine systemd[1]: Starting Flush Journal to Persistent Storage...28machine # [573393.128180] machine systemd[1]: Starting Create Static Device Nodes in /dev...29machine # [573393.164897] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/da6f3ad472d24feeb3d5cf421770b12f is 8.220ms for 6 entries.30machine # [573393.164897] machine systemd-journald[57]: System Journal (/var/log/journal/da6f3ad472d24feeb3d5cf421770b12f) is 512B, max 4G, 3.9G free.31machine # [573393.199824] machine systemd[1]: Finished Create Static Device Nodes in /dev.32machine # [573393.200958] machine systemd[1]: Reached target Preparation for Local File Systems.33machine # [573393.201133] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys34machine # [573393.275752] machine systemd[1]: Finished Flush Journal to Persistent Storage.35machine # [573393.926635] machine systemd[1]: Finished Firewall.36machine # [573393.969208] machine systemd[1]: Mounting /run/wrappers...37machine # [573394.041832] machine systemd[1]: Mounted /run/wrappers.38machine # [573394.043462] machine systemd[1]: Reached target Local File Systems.39machine # [573394.047896] machine systemd[1]: Listening on Boot Loader Control Service Socket.40machine # [573394.053140] machine systemd[1]: Starting Create SUID/SGID Wrappers...41machine # [573394.053189] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container42machine # [573394.054911] machine systemd[1]: Starting Save Transient machine-id to Disk...43machine # [573394.059391] machine systemd[1]: Starting Create System Files and Directories...44machine # [573394.119580] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted45machine # [573394.119760] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted46machine # [573394.119856] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/da6f3ad472d24feeb3d5cf421770b12f failed: Operation not permitted47machine # [573394.119997] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted48machine # [573394.135283] machine systemd[1]: Finished Create System Files and Directories.49machine # [573394.184279] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.t1nvwtRkWg/chsh': Operation not permitted50machine # [573394.195593] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE51machine # [573394.195686] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.52machine # [573394.195880] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.53machine # [573394.216217] machine systemd[1]: Starting Rebuild Journal Catalog...54machine # [573394.218732] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...55machine # [573394.284172] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.56machine # [573394.320465] machine systemd[1]: Finished Rebuild Journal Catalog.57machine # [573394.329252] machine systemd[1]: Starting Update is Completed...58machine # [573394.394489] machine systemd[1]: Finished Update is Completed.59machine # [573394.394612] machine systemd[1]: Reached target System Initialization.60machine # [573394.394698] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container61machine # [573394.394735] machine systemd[1]: Started Daily Cleanup of Temporary Directories.62machine # [573394.394757] machine systemd[1]: Reached target Timer Units.63machine # [573394.394890] machine systemd[1]: Listening on D-Bus System Message Bus Socket.64machine # [573394.394978] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.65machine # [573394.394997] machine systemd[1]: Reached target Socket Units.66machine # [573394.395037] machine systemd[1]: Reached target Basic System.67machine # [573394.402175] machine systemd[1]: Starting Import lastlog data into lastlog2 database...68machine # [573394.411181] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...69machine # [573394.416189] machine systemd[1]: Starting resolvconf update...70machine # [573394.514318] machine systemd[1]: Finished Import lastlog data into lastlog2 database.71machine # [573394.739470] machine systemd[1]: nscd.service: Deactivated successfully.72machine # [573394.739766] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).73machine # [573394.746194] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...74machine # [573394.789031] machine resolvconf-start[235]: setfacl: /run/resolvconf: Operation not supported75machine # [573394.795809] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE76machine # [573394.795924] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.77machine # [573394.796465] machine systemd[1]: Failed to start resolvconf update.78machine # [573394.796745] machine systemd[1]: Reached target Preparation for Network.79machine # [573394.802202] machine systemd[1]: Starting Address configuration of eth1...80machine # [573394.810297] machine systemd[1]: Starting Extra networking commands....81machine # [573394.886043] machine network-addresses-eth1-start[237]: adding address 192.168.1.1/24... done82machine # [573394.902111] machine network-addresses-eth1-start[237]: adding address 2001:db8:1::1/64... done83machine # [573394.914592] machine systemd[1]: Finished Address configuration of eth1.84machine # [573395.064799] machine systemd[1]: Finished Extra networking commands..85machine # [573395.065538] machine systemd[1]: Reached target Network.86machine # [573396.144185] machine systemd[1]: Started Name Service Cache Daemon (nsncd).87machine # [573396.144275] machine systemd[1]: Reached target Host and Network Name Lookups.88machine # [573396.144332] machine systemd[1]: Reached target User and Group Name Lookups.89machine # [573396.149166] machine nsncd[227]: Oct 22 12:09:17.169 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"90machine # [573396.153706] machine systemd[1]: Starting User Login Management...91machine # [573396.159127] machine systemd[1]: Starting Permit User Sessions...92machine # [573396.196660] machine systemd[1]: Finished Permit User Sessions.93machine # [573396.203501] machine systemd[1]: Started Console Getty.94machine # [573396.203572] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty095machine # [573396.203598] machine systemd[1]: Reached target Login Prompts.96machine # [573396.554106] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.97machine # [573396.555362] machine systemd[1]: Finished Save Transient machine-id to Disk.98machine # [573397.860750] machine systemd-logind[298]: New seat seat0.99machine # [573397.865132] machine systemd[1]: Starting D-Bus System Message Bus...100machine # [573397.865317] machine systemd[1]: Started User Login Management.101machine # [573397.876710] machine systemd[1]: Starting linger-users.service...102machine # [573397.947429] machine systemd[1]: linger-users.service: Deactivated successfully.103machine # [573397.947776] machine systemd[1]: Finished linger-users.service.104machine # [573397.947939] machine systemd[1]: Reached target Multi-User System.105machine # [573398.629023] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...106machine # [573398.648837] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'107machine # [573398.648837] machine dbus-broker-launch[316]: Invalid user-name in /nix/store/0wv88d7bs8w7slqf7nd0x33czdpsv197-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"108machine # [573398.648521] machine systemd[1]: Started D-Bus System Message Bus.109machine # [573398.650084] machine systemd[1]: Startup finished in 6.446s.110machine # [573398.668603] machine dbus-broker-launch[316]: Ready111machine: (finished: waiting for unit multi-user.target, in 8.20 seconds)112machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/bmx9g2hgghbwgryhilxkiyn9s6cj6a2s-closure-info113warning: '--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/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/bmx9g2hgghbwgryhilxkiyn9s6cj6a2s-closure-info, in 34.20 seconds)115machine: must succeed: systemctl start nix-daemon.socket116machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.03 seconds)117machine: must succeed: cp -r /nix/store/4a2l2hvmyhrmsz8dnsbbwdihbx60cnvd-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets118machine # [573433.261243] machine systemd[1]: Listening on Nix Daemon Socket.119machine: (finished: must succeed: cp -r /nix/store/4a2l2hvmyhrmsz8dnsbbwdihbx60cnvd-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.54 seconds)120machine: 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'121machine # [573433.837991] machine runuser[4954]: 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.45 seconds)123machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/1mav3q47rrs9vpm5j75giw82r4p3srvr-iets-0.1.0/bin/iets NIXPKGS=/nix/store/r5l65vg4gi4dnx54zkwagfb8jmlqniy5-source E2E_OFFLINE=1 DAEMON=/nix/store/pj0xhx1h30zprwa08dmf19ifjv9h0k0k-nix-grpc-daemon-0.1.0 nu scripts/grpc-e2e.nu' >&2124daemon: /nix/store/pj0xhx1h30zprwa08dmf19ifjv9h0k0k-nix-grpc-daemon-0.1.0125machine # [573434.252768] machine runuser[4954]: pam_unix(runuser-l:session): session closed for user alice126machine # [573434.289677] machine runuser[4967]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)127url: grpc://127.0.0.1:9718?insecure=1128== 1. custom derivation with a source tree, built on the gRPC daemon129machine # [573434.939415] machine systemd[1]: Started Nix Daemon.130machine # [573435.091582] machine nix-daemon[5130]: accepted connection from pid 5112, user alice (trusted)131drv: /nix/store/9as5h7p7y36lh1hsrhhb41xv2s008d15-iets-grpc-e2e.drv132machine # [573435.218218] machine nix-daemon[5130]: accepted connection from pid 5151, user alice (trusted)133machine # [573435.302319] machine nix-daemon[5130]: accepted connection from pid 5172, user alice (trusted)134machine # [573436.244524] machine nix-daemon[5130]: accepted connection from pid 5193, user alice (trusted)135eval: 1 derivations, 1 sources, 0.140s136plan: 1 sources, 1 drvs, 0.000s137connect: gRPC, trusted, 0.040s138query: 2 paths, 2 missing, 0.007s139add: 2 paths, 723 bytes, 0.367s140build: 1 drvs, 0 already valid, 0.506s141outputs: 0.000s142fetch: 1 outputs, 0.020s143grpc: 7 calls144ok: /nix/store/7v0yjcw88hxm0hfzdvrwdzn0sgfb1166-iets-grpc-e2e, fetched145== 2. hello cold, --no-build146machine # [573437.994070] machine nix-daemon[5130]: accepted connection from pid 5274, user alice (trusted)147eval: 742 derivations, 158 sources, 1.076s148plan: 158 sources, 607 drvs, 0.002s149connect: gRPC, trusted, 0.003s150query: 765 paths, 765 missing, 0.058s151add: 765 paths, 449720 bytes, 0.449s152grpc: 5 calls153ok: query: 765 paths, 765 missing, 0.058s154== 3. hello warm, --no-build155machine # [573441.210942] machine nix-daemon[5130]: accepted connection from pid 5421, user alice (trusted)156query: 1 paths, 0 missing, 0.006s157add: 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/d2wchvpmr0ahcbib1wdwi680vmgdya16-iets-grpc-e2e-classic163== 5. classic out-link: the output is fetched back and registered locally164machine # [573443.337280] machine nix-daemon[5130]: accepted connection from pid 5574, 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 # [573444.391679] machine nix-daemon[5130]: accepted connection from pid 5598, 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/1mav3q47rrs9vpm5j75giw82r4p3srvr-iets-0.1.0/bin/iets NIXPKGS=/nix/store/r5l65vg4gi4dnx54zkwagfb8jmlqniy5-source E2E_OFFLINE=1 DAEMON=/nix/store/pj0xhx1h30zprwa08dmf19ifjv9h0k0k-nix-grpc-daemon-0.1.0 nu scripts/grpc-e2e.nu' >&2, in 12.52 seconds)173(finished: run the VM test script, in 55.96 seconds)174test script finished in 56.26s175cleanup176kill NspawnMachine (pid 50)177Container machine terminated by signal KILL.178(finished: cleanup, in 0.22 seconds)