nixbot

builds

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

1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.02 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 # [143698.633270] machine systemd-journald[57]: Journal started31machine # [143698.633356] machine systemd-journald[57]: Runtime Journal (/run/log/journal/3fbeb4fa388d4065a7b5fa7f1ae3341b) is 8M, max 2.5G, 2.5G free.32machine # [143699.194209] machine systemd[1]: Finished Firewall.33machine # [143699.206921] machine systemd[1]: Finished Apply Kernel Variables.34machine # [143699.415983] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.35machine # [143699.591917] machine systemd[1]: Starting Flush Journal to Persistent Storage...36machine # [143699.597168] machine systemd[1]: Starting Create Static Device Nodes in /dev...37machine # [143699.605083] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/3fbeb4fa388d4065a7b5fa7f1ae3341b is 5.134ms for 7 entries.38machine # [143699.605083] machine systemd-journald[57]: System Journal (/var/log/journal/3fbeb4fa388d4065a7b5fa7f1ae3341b) is 512B, max 4G, 3.9G free.39machine # [143699.723069] machine systemd[1]: Finished Flush Journal to Persistent Storage.40machine # [143699.728199] machine systemd[1]: Finished Create Static Device Nodes in /dev.41machine # [143699.780999] machine systemd[1]: Reached target Preparation for Local File Systems.42machine # [143699.782687] machine systemd[1]: Mounting /run/wrappers...43machine # [143699.782726] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys44machine # [143699.980112] machine systemd[1]: Mounted /run/wrappers.45machine # [143699.980899] machine systemd[1]: Reached target Local File Systems.46machine # [143699.982252] machine systemd[1]: Listening on Boot Loader Control Service Socket.47machine # [143699.987852] machine systemd[1]: Starting Create SUID/SGID Wrappers...48machine # [143699.987922] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container49machine # [143699.992692] machine systemd[1]: Starting Save Transient machine-id to Disk...50machine # [143699.997269] machine systemd[1]: Starting Create System Files and Directories...51machine # [143700.071702] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted52machine # [143700.074131] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted53machine # [143700.076151] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/3fbeb4fa388d4065a7b5fa7f1ae3341b failed: Operation not permitted54machine # [143700.076324] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted55machine # [143700.082046] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.SAhvYQ9ggF/chsh': Operation not permitted56machine # [143700.234101] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE57machine # [143700.234196] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.58machine # [143700.234386] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.59machine # [143700.264338] machine systemd[1]: Finished Create System Files and Directories.60machine # [143700.632296] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.61machine # [143700.839525] machine systemd[1]: Finished Save Transient machine-id to Disk.62machine # [143700.872171] machine systemd[1]: Starting Rebuild Journal Catalog...63machine # [143700.876151] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...64machine # [143700.929500] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.65machine # [143700.952531] machine systemd[1]: Finished Rebuild Journal Catalog.66machine # [143700.954653] machine systemd[1]: Starting Update is Completed...67machine # [143700.989321] machine systemd[1]: Finished Update is Completed.68machine # [143700.989476] machine systemd[1]: Reached target System Initialization.69machine # [143700.989577] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container70machine # [143700.989617] machine systemd[1]: Started Daily Cleanup of Temporary Directories.71machine # [143700.989641] machine systemd[1]: Reached target Timer Units.72machine # [143700.989786] machine systemd[1]: Listening on D-Bus System Message Bus Socket.73machine # [143700.989878] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.74machine # [143700.989898] machine systemd[1]: Reached target Socket Units.75machine # [143700.989927] machine systemd[1]: Reached target Basic System.76machine # [143700.995180] machine systemd[1]: Starting Import lastlog data into lastlog2 database...77machine # [143700.998974] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...78machine # [143701.002932] machine systemd[1]: Starting resolvconf update...79machine # [143701.043664] machine systemd[1]: Finished Import lastlog data into lastlog2 database.80machine # [143701.177707] machine resolvconf-start[231]: setfacl: /run/resolvconf: Operation not supported81machine # [143701.179394] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE82machine # [143701.179489] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.83machine # [143701.181090] machine systemd[1]: Failed to start resolvconf update.84machine # [143701.181367] machine systemd[1]: Reached target Preparation for Network.85machine # [143701.189150] machine systemd[1]: Starting Address configuration of eth1...86machine # [143701.192070] machine systemd[1]: Starting Extra networking commands....87machine # [143701.198372] machine systemd[1]: nscd.service: Deactivated successfully.88machine # [143701.216247] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).89machine # [143701.224787] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...90machine # [143701.229669] machine network-addresses-eth1-start[233]: adding address 192.168.1.1/24... done91machine # [143701.232816] machine network-addresses-eth1-start[233]: adding address 2001:db8:1::1/64... done92machine # [143701.238102] machine systemd[1]: Finished Address configuration of eth1.93machine # [143701.348057] machine systemd[1]: Finished Extra networking commands..94machine # [143701.348740] machine systemd[1]: Reached target Network.95machine # [143703.134349] machine nsncd[238]: Oct 17 12:47:44.157 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"96machine # [143703.134768] machine systemd[1]: Started Name Service Cache Daemon (nsncd).97machine # [143703.134859] machine systemd[1]: Reached target Host and Network Name Lookups.98machine # [143703.134928] machine systemd[1]: Reached target User and Group Name Lookups.99machine # [143703.138178] machine systemd[1]: Starting User Login Management...100machine # [143703.140332] machine systemd[1]: Starting Permit User Sessions...101machine # [143703.174369] machine systemd[1]: Finished Permit User Sessions.102machine # [143703.179208] machine systemd[1]: Started Console Getty.103machine # [143703.179291] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0104machine # [143703.179319] machine systemd[1]: Reached target Login Prompts.105machine: still waiting for container 'machine' to reach ready state...106machine: still waiting for container 'machine' to reach ready state...107machine # [143720.872306] machine systemd-logind[306]: New seat seat0.108machine # [143720.879308] machine systemd[1]: Started User Login Management.109machine # [143720.899521] machine systemd[1]: Starting D-Bus System Message Bus...110machine # [143720.919204] machine systemd[1]: Starting linger-users.service...111machine # [143720.964940] machine systemd[1]: linger-users.service: Deactivated successfully.112machine # [143720.965406] machine systemd[1]: Finished linger-users.service.113machine # [143720.966122] machine systemd[1]: Reached target Multi-User System.114machine: still waiting for container 'machine' to reach ready state...115machine: (finished: waiting for unit multi-user.target, in 40.29 seconds)116machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/xnjrv27356h6yn5hawwcw8b28mihjmxy-closure-info117machine # [143733.518757] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...118machine # [143733.522193] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'119machine # [143733.522193] machine dbus-broker-launch[316]: Invalid user-name in /nix/store/pr0idv94qd89b56sr35as7cwcm3pmcdy-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"120machine # [143733.524350] machine systemd[1]: Started D-Bus System Message Bus.121machine # [143733.525136] machine systemd[1]: Startup finished in 37.576s.122machine # [143733.548599] machine dbus-broker-launch[316]: Ready123warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.124machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/xnjrv27356h6yn5hawwcw8b28mihjmxy-closure-info, in 19.75 seconds)125machine: must succeed: systemctl start nix-daemon.socket126machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.01 seconds)127machine: must succeed: cp -r /nix/store/f9jfvr9kkdr8r3kmhiwy2vrqk49s5isb-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets128machine: (finished: must succeed: cp -r /nix/store/f9jfvr9kkdr8r3kmhiwy2vrqk49s5isb-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.10 seconds)129machine: 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'130machine # [143753.562533] machine systemd[1]: Listening on Nix Daemon Socket.131machine # [143753.668177] machine runuser[4937]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)132machine # [143753.848286] machine runuser[4937]: pam_unix(runuser-l:session): session closed for user alice133machine: (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.19 seconds)134machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/fx4grarygdzvq3g8nf303mh8g7mqxcpv-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 DAEMON=/nix/store/pj0xhx1h30zprwa08dmf19ifjv9h0k0k-nix-grpc-daemon-0.1.0 nu scripts/grpc-e2e.nu' >&2135daemon: /nix/store/pj0xhx1h30zprwa08dmf19ifjv9h0k0k-nix-grpc-daemon-0.1.0136url: grpc://127.0.0.1:9701?insecure=1137== 1. custom derivation with a source tree, built on the gRPC daemon138machine # [143753.857951] machine runuser[4950]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)139machine # [143754.092343] machine systemd[1]: Started Nix Daemon.140drv: /nix/store/03m3dhl9xxa0jsvz0hawa58hpbdw605z-iets-grpc-e2e.drv141machine # [143754.143824] machine nix-daemon[5112]: accepted connection from pid 5093, user alice (trusted)142machine # [143754.179836] machine nix-daemon[5112]: accepted connection from pid 5131, user alice (trusted)143machine # [143754.209275] machine nix-daemon[5112]: accepted connection from pid 5152, user alice (trusted)144machine # [143754.416504] machine nix-daemon[5112]: accepted connection from pid 5173, user alice (trusted)145eval: 1 derivations, 1 sources, 0.564s146plan: 1 sources, 1 drvs, 0.000s147connect: gRPC, trusted, 0.004s148query: 2 paths, 2 missing, 0.004s149add: 2 paths, 719 bytes, 0.068s150build: 1 drvs, 0 already valid, 0.209s151outputs: 0.000s152fetch: 1 outputs, 0.011s153grpc: 7 calls154ok: /nix/store/abnhxnqnzxwlh3aly9vl321lbairfddr-iets-grpc-e2e, fetched155== 2. hello cold, --no-build156machine # [143755.575348] machine nix-daemon[5112]: accepted connection from pid 5253, user alice (trusted)157eval: 742 derivations, 158 sources, 0.136s158plan: 158 sources, 607 drvs, 0.001s159connect: gRPC, trusted, 0.001s160query: 765 paths, 765 missing, 0.003s161add: 765 paths, 449720 bytes, 0.167s162grpc: 5 calls163ok: query: 765 paths, 765 missing, 0.003s164== 3. hello warm, --no-build165query: 1 paths, 0 missing, 0.000s166add: 0 paths, 0 bytes, 0.000s167grpc: 2 calls168ok169== 4. classic nix build --store grpc://… --eval-store auto170machine # [143756.824050] machine nix-daemon[5112]: accepted connection from pid 5400, user alice (trusted)171note: the `nix` on PATH loads no matching nix-grpc-store plugin; comparing against the worker protocol on the same store instead172ok: same as the reference nix, /nix/store/z31b3cv7ffdqqdwrpqawpy1a3mg3gh8m-iets-grpc-e2e-classic173== 5. classic out-link: the output is fetched back and registered locally174machine # [143757.312049] machine nix-daemon[5112]: accepted connection from pid 5553, user alice (trusted)175machine # [143757.612637] machine nix-daemon[5112]: accepted connection from pid 5577, user alice (trusted)176ok: fetched back, and the local daemon refused the unsigned scratch output as `nix copy --from` would177== 6. a set of checks over grpc: the same verdicts as over the worker protocol178ok: 4 records, exit 100, the same either way179== 7. a multi-root iets build over grpc names every attribute180ok: 2 roots, one progress line each181PASS182machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/fx4grarygdzvq3g8nf303mh8g7mqxcpv-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 DAEMON=/nix/store/pj0xhx1h30zprwa08dmf19ifjv9h0k0k-nix-grpc-daemon-0.1.0 nu scripts/grpc-e2e.nu' >&2, in 4.76 seconds)183(finished: run the VM test script, in 65.10 seconds)184test script finished in 65.14s185cleanup186kill NspawnMachine (pid 50)187Container machine terminated by signal KILL.188(finished: cleanup, in 0.11 seconds)