nixbot

builds

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

1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.01 seconds)4Initializing machine ID from random generator.5Test 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 # No journal files were found.25machine # No journal boot entry found for the specified boot (+0).26machine # No journal files were found.27machine # No journal boot entry found for the specified boot (+0).28machine # No journal files were found.29machine # No journal boot entry found for the specified boot (+0).30machine # No journal files were found.31machine # No journal boot entry found for the specified boot (+0).32machine # [391430.490707] machine systemd-journald[57]: Journal started33machine # [391430.490784] machine systemd-journald[57]: Runtime Journal (/run/log/journal/a6fcc38dd6794b95aedc93b43e3ab12f) is 8M, max 2.5G, 2.5G free.34machine # [391430.513182] machine systemd[1]: Finished Create Static Device Nodes in /dev.35machine # [391430.515224] machine systemd[1]: Reached target Preparation for Local File Systems.36machine # [391430.523183] machine systemd[1]: Starting Flush Journal to Persistent Storage...37machine # [391430.523244] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys38machine # [391430.597941] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/a6fcc38dd6794b95aedc93b43e3ab12f is 14.595ms for 6 entries.39machine # [391430.597941] machine systemd-journald[57]: System Journal (/var/log/journal/a6fcc38dd6794b95aedc93b43e3ab12f) is 512B, max 4G, 3.9G free.40machine # [391430.669506] machine systemd[1]: Finished Flush Journal to Persistent Storage.41machine # [391430.704566] machine systemd[1]: Finished Firewall.42machine # [391430.847535] machine systemd[1]: Mounting /run/wrappers...43machine # [391430.947667] machine systemd[1]: Mounted /run/wrappers.44machine # [391430.952388] machine systemd[1]: Reached target Local File Systems.45machine # [391430.953495] machine systemd[1]: Listening on Boot Loader Control Service Socket.46machine # [391430.958173] machine systemd[1]: Starting Create SUID/SGID Wrappers...47machine # [391430.958231] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container48machine # [391430.965169] machine systemd[1]: Starting Save Transient machine-id to Disk...49machine # [391430.988187] machine systemd[1]: Starting Create System Files and Directories...50machine # [391431.032922] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.dR9vICoWEu/chsh': Operation not permitted51machine # [391431.040424] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted52machine # [391431.040607] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted53machine # [391431.040711] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/a6fcc38dd6794b95aedc93b43e3ab12f failed: Operation not permitted54machine # [391431.041956] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted55machine # [391431.060988] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE56machine # [391431.064192] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.57machine # [391431.064437] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.58machine # [391431.065098] machine systemd[1]: Finished Create System Files and Directories.59machine # [391431.097612] machine systemd[1]: Starting Rebuild Journal Catalog...60machine # [391431.102234] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...61machine # [391431.145884] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.62machine # [391431.156948] machine systemd[1]: Finished Rebuild Journal Catalog.63machine # [391431.162162] machine systemd[1]: Starting Update is Completed...64machine # [391431.183540] machine systemd[1]: Finished Update is Completed.65machine # [391431.184181] machine systemd[1]: Reached target System Initialization.66machine # [391431.184311] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container67machine # [391431.184370] machine systemd[1]: Started Daily Cleanup of Temporary Directories.68machine # [391431.184402] machine systemd[1]: Reached target Timer Units.69machine # [391431.184569] machine systemd[1]: Listening on D-Bus System Message Bus Socket.70machine # [391431.184685] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.71machine # [391431.184710] machine systemd[1]: Reached target Socket Units.72machine # [391431.184745] machine systemd[1]: Reached target Basic System.73machine # [391431.190174] machine systemd[1]: Starting Import lastlog data into lastlog2 database...74machine # [391431.195171] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...75machine # [391431.200157] machine systemd[1]: Starting resolvconf update...76machine # [391431.215504] machine systemd[1]: Finished Import lastlog data into lastlog2 database.77machine # [391431.383575] machine systemd[1]: nscd.service: Deactivated successfully.78machine # [391431.384026] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).79machine # [391431.399235] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...80machine # [391431.405101] machine resolvconf-start[234]: setfacl: /run/resolvconf: Operation not supported81machine # [391431.413319] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE82machine # [391431.413426] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.83machine # [391431.427363] machine systemd[1]: Failed to start resolvconf update.84machine # [391431.431513] machine systemd[1]: Reached target Preparation for Network.85machine # [391431.441271] machine systemd[1]: Starting Address configuration of eth1...86machine # [391431.470512] machine systemd[1]: Starting Extra networking commands....87machine # [391431.485204] machine network-addresses-eth1-start[237]: adding address 192.168.1.1/24... done88machine # [391431.491390] machine network-addresses-eth1-start[237]: adding address 2001:db8:1::1/64... done89machine # [391431.572316] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.90machine # [391431.573808] machine systemd[1]: Finished Save Transient machine-id to Disk.91machine # [391431.573988] machine systemd[1]: Finished Address configuration of eth1.92machine # [391431.702533] machine systemd[1]: Finished Extra networking commands..93machine # [391431.703826] machine systemd[1]: Reached target Network.94machine # [391432.273259] machine nsncd[232]: Oct 20 09:36:33.296 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"95machine # [391432.273272] machine systemd[1]: Started Name Service Cache Daemon (nsncd).96machine # [391432.273347] machine systemd[1]: Reached target Host and Network Name Lookups.97machine # [391432.273418] machine systemd[1]: Reached target User and Group Name Lookups.98machine # [391432.284640] machine systemd[1]: Starting User Login Management...99machine # [391432.293270] machine systemd[1]: Starting Permit User Sessions...100machine # [391432.367415] machine systemd[1]: Finished Permit User Sessions.101machine # [391432.372540] machine systemd[1]: Started Console Getty.102machine # [391432.372611] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0103machine # [391432.372634] machine systemd[1]: Reached target Login Prompts.104machine: still waiting for container 'machine' to reach ready state...105machine # [391441.982724] machine systemd-logind[306]: New seat seat0.106machine # [391442.009156] machine systemd[1]: Starting D-Bus System Message Bus...107machine # [391442.026265] machine systemd[1]: Started User Login Management.108machine # [391442.042094] machine systemd[1]: Starting linger-users.service...109machine # [391442.122462] machine systemd[1]: linger-users.service: Deactivated successfully.110machine # [391442.122839] machine systemd[1]: Finished linger-users.service.111machine # [391442.123085] machine systemd[1]: Reached target Multi-User System.112machine: still waiting for container 'machine' to reach ready state...113machine # [391443.450735] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...114machine # [391443.512499] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'115machine # [391443.512499] 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"116machine # [391443.516246] machine systemd[1]: Started D-Bus System Message Bus.117machine # [391443.524108] machine systemd[1]: Startup finished in 16.284s.118machine # [391443.528848] machine dbus-broker-launch[316]: Ready119machine: (finished: waiting for unit multi-user.target, in 21.38 seconds)120machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/brsxkj2w2asqh8m31x77wqjzihxb0hdv-closure-info121warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.122machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/brsxkj2w2asqh8m31x77wqjzihxb0hdv-closure-info, in 67.00 seconds)123machine: must succeed: systemctl start nix-daemon.socket124machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.13 seconds)125machine: must succeed: cp -r /nix/store/ad5c6wbzymjqzdjkf348b9nr1p7g0xvm-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets126machine # [391511.179123] machine systemd[1]: Listening on Nix Daemon Socket.127machine: (finished: must succeed: cp -r /nix/store/ad5c6wbzymjqzdjkf348b9nr1p7g0xvm-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 1.63 seconds)128machine: 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'129machine # [391512.911122] machine runuser[4954]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)130machine: (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 3.95 seconds)131machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/n1p1v42dkakz9yyy4am5wizlkjwsvcsd-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' >&2132machine # [391516.780203] machine runuser[4954]: pam_unix(runuser-l:session): session closed for user alice133machine # [391516.963432] machine runuser[4967]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)134daemon: /nix/store/pj0xhx1h30zprwa08dmf19ifjv9h0k0k-nix-grpc-daemon-0.1.0135url: grpc://127.0.0.1:9718?insecure=1136== 1. custom derivation with a source tree, built on the gRPC daemon137machine # [391519.207395] machine systemd[1]: Started Nix Daemon.138machine # [391519.506911] machine nix-daemon[5133]: accepted connection from pid 5115, user alice (trusted)139machine # [391520.426028] machine nix-daemon[5133]: accepted connection from pid 5152, user alice (trusted)140drv: /nix/store/zymragmk0m36bacbm4zbdhcy3llkf9fd-iets-grpc-e2e.drv141machine # [391520.823482] machine nix-daemon[5133]: accepted connection from pid 5173, user alice (trusted)142machine # [391521.447634] machine nix-daemon[5133]: accepted connection from pid 5194, user alice (trusted)143eval: 1 derivations, 1 sources, 9.676s144plan: 1 sources, 1 drvs, 0.000s145connect: gRPC, trusted, 0.155s146query: 2 paths, 2 missing, 0.037s147add: 2 paths, 720 bytes, 0.882s148build: 1 drvs, 0 already valid, 0.900s149outputs: 0.000s150fetch: 1 outputs, 2.617s151grpc: 7 calls152ok: /nix/store/jjw92j428dd4iaf9h3dj0g2sxds4aixa-iets-grpc-e2e, fetched153== 2. hello cold, --no-build154machine # [391539.617253] machine nix-daemon[5133]: accepted connection from pid 5278, user alice (trusted)155eval: 742 derivations, 158 sources, 34.641s156plan: 158 sources, 607 drvs, 0.048s157connect: gRPC, trusted, 0.014s158query: 765 paths, 765 missing, 0.037s159add: 765 paths, 449720 bytes, 3.612s160grpc: 5 calls161ok: query: 765 paths, 765 missing, 0.037s162== 3. hello warm, --no-build163machine # [391585.842795] machine nix-daemon[5133]: accepted connection from pid 5426, user alice (trusted)164query: 1 paths, 0 missing, 0.002s165add: 0 paths, 0 bytes, 0.000s166grpc: 2 calls167ok168== 4. classic nix build --store grpc://… --eval-store auto169note: the `nix` on PATH loads no matching nix-grpc-store plugin; comparing against the worker protocol on the same store instead170machine # [391603.118095] machine nix-daemon[5133]: accepted connection from pid 5579, user alice (trusted)171ok: same as the reference nix, /nix/store/j4ljk53k4346hh66bwrzbq00xcwyz1w4-iets-grpc-e2e-classic172== 5. classic out-link: the output is fetched back and registered locally173ok: fetched back, and the local daemon refused the unsigned scratch output as `nix copy --from` would174== 6. a set of checks over grpc: the same verdicts as over the worker protocol175machine # [391629.091936] machine nix-daemon[5133]: accepted connection from pid 5603, user alice (trusted)176ok: 4 records, exit 100, the same either way177== 7. a multi-root iets build over grpc names every attribute178ok: 2 roots, one progress line each179PASS180machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/n1p1v42dkakz9yyy4am5wizlkjwsvcsd-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 141.37 seconds)181(finished: run the VM test script, in 235.45 seconds)182machine # [391657.762624] machine runuser[4967]: pam_unix(runuser-l:session): session closed for user alice183test script finished in 236.39s184cleanup185kill NspawnMachine (pid 50)186Container machine terminated by signal KILL.187(finished: cleanup, in 0.69 seconds)