nixbot

builds

succeeded container-test-run-iets-grpc-e2e checks.x86_64-linux.grpc-e2e · build #447 · 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 # [395719.712644] machine systemd-journald[57]: Journal started23machine # [395719.712725] machine systemd-journald[57]: Runtime Journal (/run/log/journal/1a0a95da78b4431cb6c9629ae0cd7496) is 8M, max 2.5G, 2.5G free.24machine # [395719.868491] machine systemd[1]: Listening on Journal Log Access Socket.25machine # [395719.875147] machine systemd[1]: Finished Apply Kernel Variables.26machine # [395719.964158] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.27machine # [395720.053262] machine systemd[1]: Starting Flush Journal to Persistent Storage...28machine # [395720.058897] machine systemd[1]: Starting Create Static Device Nodes in /dev...29machine # [395720.072171] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/1a0a95da78b4431cb6c9629ae0cd7496 is 7.538ms for 7 entries.30machine # [395720.072171] machine systemd-journald[57]: System Journal (/var/log/journal/1a0a95da78b4431cb6c9629ae0cd7496) is 512B, max 4G, 3.9G free.31machine # [395720.110551] machine systemd[1]: Finished Flush Journal to Persistent Storage.32machine # [395720.121306] machine systemd[1]: Finished Create Static Device Nodes in /dev.33machine # [395720.121636] machine systemd[1]: Reached target Preparation for Local File Systems.34machine # [395720.122046] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys35machine # [395720.302829] machine systemd[1]: Finished Firewall.36machine # [395720.706166] machine systemd[1]: Mounting /run/wrappers...37machine # [395720.784531] machine systemd[1]: Mounted /run/wrappers.38machine # [395720.785405] machine systemd[1]: Reached target Local File Systems.39machine # [395720.790826] machine systemd[1]: Listening on Boot Loader Control Service Socket.40machine # [395720.796377] machine systemd[1]: Starting Create SUID/SGID Wrappers...41machine # [395720.796436] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container42machine # [395720.802803] machine systemd[1]: Starting Save Transient machine-id to Disk...43machine # [395720.809781] machine systemd[1]: Starting Create System Files and Directories...44machine # [395720.842291] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted45machine # [395720.842483] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted46machine # [395720.842596] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/1a0a95da78b4431cb6c9629ae0cd7496 failed: Operation not permitted47machine # [395720.844185] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted48machine # [395720.858431] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.j0moehY5A4/chsh': Operation not permitted49machine # [395720.864704] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE50machine # [395720.864794] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.51machine # [395720.864928] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.52machine # [395720.870153] machine systemd[1]: Finished Create System Files and Directories.53machine # [395720.920917] machine systemd[1]: Starting Rebuild Journal Catalog...54machine # [395720.932144] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...55machine # [395720.964379] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.56machine # [395720.992955] machine systemd[1]: Finished Rebuild Journal Catalog.57machine # [395720.995973] machine systemd[1]: Starting Update is Completed...58machine # [395721.022594] machine systemd[1]: Finished Update is Completed.59machine # [395721.022780] machine systemd[1]: Reached target System Initialization.60machine # [395721.022882] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container61machine # [395721.022920] machine systemd[1]: Started Daily Cleanup of Temporary Directories.62machine # [395721.022942] machine systemd[1]: Reached target Timer Units.63machine # [395721.023231] machine systemd[1]: Listening on D-Bus System Message Bus Socket.64machine # [395721.023335] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.65machine # [395721.023357] machine systemd[1]: Reached target Socket Units.66machine # [395721.023386] machine systemd[1]: Reached target Basic System.67machine # [395721.028173] machine systemd[1]: Starting Import lastlog data into lastlog2 database...68machine # [395721.032904] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...69machine # [395721.061191] machine systemd[1]: Starting resolvconf update...70machine # [395721.277854] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.71machine # [395721.279485] machine systemd[1]: Finished Save Transient machine-id to Disk.72machine # [395721.367517] machine systemd[1]: Finished Import lastlog data into lastlog2 database.73machine # [395721.407178] machine systemd[1]: nscd.service: Deactivated successfully.74machine # [395721.433252] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).75machine # [395721.443171] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...76machine # [395721.451560] machine resolvconf-start[236]: setfacl: /run/resolvconf: Operation not supported77machine # [395721.462100] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE78machine # [395721.462207] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.79machine # [395721.462420] machine systemd[1]: Failed to start resolvconf update.80machine # [395721.463283] machine systemd[1]: Reached target Preparation for Network.81machine # [395721.473873] machine systemd[1]: Starting Address configuration of eth1...82machine # [395721.498428] machine systemd[1]: Starting Extra networking commands....83machine # [395721.531831] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done84machine # [395721.539442] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done85machine # [395721.552510] machine systemd[1]: Finished Address configuration of eth1.86machine # [395721.666955] machine systemd[1]: Finished Extra networking commands..87machine # [395721.667769] machine systemd[1]: Reached target Network.88machine # [395722.572276] machine nsncd[233]: Oct 20 10:48:03.595 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"89machine # [395722.572624] machine systemd[1]: Started Name Service Cache Daemon (nsncd).90machine # [395722.572714] machine systemd[1]: Reached target Host and Network Name Lookups.91machine # [395722.572772] machine systemd[1]: Reached target User and Group Name Lookups.92machine # [395722.586194] machine systemd[1]: Starting User Login Management...93machine # [395722.589116] machine systemd[1]: Starting Permit User Sessions...94machine # [395722.613472] machine systemd[1]: Finished Permit User Sessions.95machine # [395722.618189] machine systemd[1]: Started Console Getty.96machine # [395722.618275] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty097machine # [395722.618300] machine systemd[1]: Reached target Login Prompts.98machine: still waiting for container 'machine' to reach ready state...99machine # [395729.114559] machine systemd-logind[306]: New seat seat0.100machine # [395729.121183] machine systemd[1]: Started User Login Management.101machine # [395729.127166] machine systemd[1]: Starting D-Bus System Message Bus...102machine # [395729.137156] machine systemd[1]: Starting linger-users.service...103machine # [395729.201388] machine systemd[1]: linger-users.service: Deactivated successfully.104machine # [395729.201638] machine systemd[1]: Finished linger-users.service.105machine # [395729.202619] machine systemd[1]: Reached target Multi-User System.106machine: (finished: waiting for unit multi-user.target, in 14.23 seconds)107machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/pbxjlgrc493fqppg2f0k9lkclqr14fwa-closure-info108machine # [395731.277021] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...109machine # [395731.283558] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'110machine # [395731.283558] 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"111machine # [395731.287854] machine systemd[1]: Started D-Bus System Message Bus.112machine # [395731.288592] machine systemd[1]: Startup finished in 12.465s.113machine # [395731.298639] machine dbus-broker-launch[316]: Ready114warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.115machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/pbxjlgrc493fqppg2f0k9lkclqr14fwa-closure-info, in 50.24 seconds)116machine: must succeed: systemctl start nix-daemon.socket117machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.03 seconds)118machine: must succeed: cp -r /nix/store/pmibf7kgr00mn99yvgsmxs9vcw1njzhv-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets119machine: (finished: must succeed: cp -r /nix/store/pmibf7kgr00mn99yvgsmxs9vcw1njzhv-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.21 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 # [395781.860148] machine systemd[1]: Listening on Nix Daemon Socket.122machine # [395782.094593] machine runuser[4954]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)123machine: (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.57 seconds)124machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/rb6hidr0x3shifgl6nnlxxwvpmvlfzdj-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' >&2125daemon: /nix/store/pj0xhx1h30zprwa08dmf19ifjv9h0k0k-nix-grpc-daemon-0.1.0126machine # [395782.632168] machine runuser[4954]: pam_unix(runuser-l:session): session closed for user alice127machine # [395782.686850] machine runuser[4967]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)128url: grpc://127.0.0.1:9757?insecure=1129== 1. custom derivation with a source tree, built on the gRPC daemon130machine # [395783.174642] machine systemd[1]: Started Nix Daemon.131machine # [395783.245270] machine nix-daemon[5135]: accepted connection from pid 5117, user alice (trusted)132machine # [395783.344420] machine nix-daemon[5135]: accepted connection from pid 5154, user alice (trusted)133machine # [395783.448249] machine nix-daemon[5135]: accepted connection from pid 5175, user alice (trusted)134drv: /nix/store/gl1ir28rilvnjfvcs5m72l1kpy26hfhs-iets-grpc-e2e.drv135machine # [395783.612213] machine nix-daemon[5135]: accepted connection from pid 5196, user alice (trusted)136eval: 1 derivations, 1 sources, 1.499s137plan: 1 sources, 1 drvs, 0.000s138connect: gRPC, trusted, 0.016s139query: 2 paths, 2 missing, 0.015s140add: 2 paths, 716 bytes, 0.015s141build: 1 drvs, 0 already valid, 0.456s142outputs: 0.000s143fetch: 1 outputs, 0.223s144grpc: 7 calls145ok: /nix/store/fbmpnpi6gwvi2lqjqlhcpg1d3czqm5jq-iets-grpc-e2e, fetched146== 2. hello cold, --no-build147machine # [395787.190431] machine nix-daemon[5135]: accepted connection from pid 5276, user alice (trusted)148eval: 742 derivations, 158 sources, 3.095s149plan: 158 sources, 607 drvs, 0.002s150connect: gRPC, trusted, 0.013s151query: 765 paths, 765 missing, 0.023s152add: 765 paths, 449720 bytes, 0.872s153grpc: 5 calls154ok: query: 765 paths, 765 missing, 0.023s155== 3. hello warm, --no-build156machine # [395793.569933] machine nix-daemon[5135]: accepted connection from pid 5423, user alice (trusted)157query: 1 paths, 0 missing, 0.001s158add: 0 paths, 0 bytes, 0.000s159grpc: 2 calls160ok161== 4. classic nix build --store grpc://… --eval-store auto162note: the `nix` on PATH loads no matching nix-grpc-store plugin; comparing against the worker protocol on the same store instead163ok: same as the reference nix, /nix/store/y4370qqxzc6qkckzirxw155hsz089sqx-iets-grpc-e2e-classic164== 5. classic out-link: the output is fetched back and registered locally165machine # [395800.711133] machine nix-daemon[5135]: accepted connection from pid 5576, user alice (trusted)166ok: fetched back, and the local daemon refused the unsigned scratch output as `nix copy --from` would167== 6. a set of checks over grpc: the same verdicts as over the worker protocol168machine # [395802.487597] machine nix-daemon[5135]: accepted connection from pid 5600, user alice (trusted)169ok: 4 records, exit 100, the same either way170== 7. a multi-root iets build over grpc names every attribute171ok: 2 roots, one progress line each172PASS173machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/rb6hidr0x3shifgl6nnlxxwvpmvlfzdj-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 27.03 seconds)174(finished: run the VM test script, in 92.30 seconds)175test script finished in 92.40s176cleanup177kill NspawnMachine (pid 50)178(finished: cleanup, in 0.18 seconds)179Container machine terminated by signal KILL.