container-test-run-iets-plumbing-e2e
checks.x86_64-linux.plumbing-e2e
· build #133
· 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 # [1436421.859304] machine systemd-journald[57]: Journal started21machine # [1436421.859388] machine systemd-journald[57]: Runtime Journal (/run/log/journal/755fd360f5c4448d9b05fdccd54338b2) is 8M, max 2.5G, 2.5G free.22machine # [1436421.882981] machine systemd[1]: Listening on Journal Log Access Socket.23machine # [1436421.884156] machine systemd[1]: Finished Apply Kernel Variables.24machine # [1436421.977430] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.25machine # [1436421.999458] machine systemd[1]: Starting Flush Journal to Persistent Storage...26machine # [1436422.000326] machine systemd[1]: Starting Create Static Device Nodes in /dev...27machine # [1436422.008981] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/755fd360f5c4448d9b05fdccd54338b2 is 1.291ms for 7 entries.28machine # [1436422.008981] machine systemd-journald[57]: System Journal (/var/log/journal/755fd360f5c4448d9b05fdccd54338b2) is 512B, max 4G, 3.9G free.29machine # [1436422.022324] machine systemd[1]: Finished Create Static Device Nodes in /dev.30machine # [1436422.023109] machine systemd[1]: Reached target Preparation for Local File Systems.31machine # [1436422.023250] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys32machine # [1436422.037800] machine systemd[1]: Finished Flush Journal to Persistent Storage.33machine # [1436422.086294] machine systemd[1]: Finished Firewall.34machine # [1436422.841124] machine systemd[1]: Mounting /run/wrappers...35machine # [1436422.876313] machine systemd[1]: Mounted /run/wrappers.36machine # [1436422.877227] machine systemd[1]: Reached target Local File Systems.37machine # [1436422.887146] machine systemd[1]: Listening on Boot Loader Control Service Socket.38machine # [1436422.917553] machine systemd[1]: Starting Create SUID/SGID Wrappers...39machine # [1436422.917613] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container40machine # [1436422.923128] machine systemd[1]: Starting Save Transient machine-id to Disk...41machine # [1436422.927311] machine systemd[1]: Starting Create System Files and Directories...42machine # [1436422.953881] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted43machine # [1436422.954088] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted44machine # [1436422.954202] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/755fd360f5c4448d9b05fdccd54338b2 failed: Operation not permitted45machine # [1436422.954368] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted46machine # [1436422.978185] machine systemd[1]: Finished Create System Files and Directories.47machine # [1436422.996387] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.6bvztKeXwH/chsh': Operation not permitted48machine # [1436423.014041] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE49machine # [1436423.014134] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.50machine # [1436423.022801] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.51machine # [1436423.033153] machine systemd[1]: Starting Rebuild Journal Catalog...52machine # [1436423.039115] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...53machine # [1436423.066972] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.54machine # [1436423.084930] machine systemd[1]: Finished Rebuild Journal Catalog.55machine # [1436423.091163] machine systemd[1]: Starting Update is Completed...56machine # [1436423.126610] machine systemd[1]: Finished Update is Completed.57machine # [1436423.127205] machine systemd[1]: Reached target System Initialization.58machine # [1436423.127344] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container59machine # [1436423.127391] machine systemd[1]: Started Daily Cleanup of Temporary Directories.60machine # [1436423.127415] machine systemd[1]: Reached target Timer Units.61machine # [1436423.127550] machine systemd[1]: Listening on D-Bus System Message Bus Socket.62machine # [1436423.127643] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.63machine # [1436423.127906] machine systemd[1]: Reached target Socket Units.64machine # [1436423.127944] machine systemd[1]: Reached target Basic System.65machine # [1436423.129538] machine systemd[1]: Starting Import lastlog data into lastlog2 database...66machine # [1436423.130707] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...67machine # [1436423.133189] machine systemd[1]: Starting resolvconf update...68machine # [1436423.157330] machine systemd[1]: Finished Import lastlog data into lastlog2 database.69machine # [1436423.232457] machine systemd[1]: nscd.service: Deactivated successfully.70machine # [1436423.232764] machine resolvconf-start[231]: setfacl: /run/resolvconf: Operation not supported71machine # [1436423.233371] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).72machine # [1436423.236479] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE73machine # [1436423.236564] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.74machine # [1436423.238200] machine systemd[1]: Failed to start resolvconf update.75machine # [1436423.239349] machine systemd[1]: Reached target Preparation for Network.76machine # [1436423.240772] machine systemd[1]: Starting Address configuration of eth1...77machine # [1436423.242160] machine systemd[1]: Starting Extra networking commands....78machine # [1436423.243190] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...79machine # [1436423.298569] machine network-addresses-eth1-start[235]: adding address 192.168.1.1/24... done80machine # [1436423.301806] machine network-addresses-eth1-start[235]: adding address 2001:db8:1::1/64... done81machine # [1436423.306569] machine systemd[1]: Finished Address configuration of eth1.82machine # [1436423.337345] machine systemd[1]: Finished Extra networking commands..83machine # [1436423.337477] machine systemd[1]: Reached target Network.84machine # [1436423.628675] machine systemd[1]: Started Name Service Cache Daemon (nsncd).85machine # [1436423.628761] machine systemd[1]: Reached target Host and Network Name Lookups.86machine # [1436423.628805] machine systemd[1]: Reached target User and Group Name Lookups.87machine # [1436423.631266] machine systemd[1]: Starting User Login Management...88machine # [1436423.632176] machine systemd[1]: Starting Permit User Sessions...89machine # [1436423.633674] machine nsncd[237]: Oct 11 13:59:54.364 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"90machine # [1436423.690576] machine systemd[1]: Finished Permit User Sessions.91machine # [1436423.693572] machine systemd[1]: Started Console Getty.92machine # [1436423.693630] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty093machine # [1436423.693651] machine systemd[1]: Reached target Login Prompts.94machine # [1436424.035617] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.95machine # [1436424.037786] machine systemd[1]: Finished Save Transient machine-id to Disk.96machine # [1436425.276998] machine systemd-logind[296]: New seat seat0.97machine # [1436425.279073] machine systemd[1]: Starting D-Bus System Message Bus...98machine # [1436425.279192] machine systemd[1]: Started User Login Management.99machine # [1436425.281160] machine systemd[1]: Starting linger-users.service...100machine # [1436425.332890] machine systemd[1]: linger-users.service: Deactivated successfully.101machine # [1436425.333082] machine systemd[1]: Finished linger-users.service.102machine # [1436425.333279] machine systemd[1]: Reached target Multi-User System.103machine: (finished: waiting for unit multi-user.target, in 5.67 seconds)104machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/g2xlkhb6fq7zjs1x628rj9h564jizylq-closure-info105machine # [1436425.841664] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...106machine # [1436425.842549] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'107machine # [1436425.842549] machine dbus-broker-launch[316]: Invalid user-name in /nix/store/z441alblwy32lyxiy8466qf85iyi2sdj-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"108machine # [1436425.843394] machine systemd[1]: Started D-Bus System Message Bus.109machine # [1436425.844077] machine systemd[1]: Startup finished in 4.728s.110machine # [1436425.852204] 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/g2xlkhb6fq7zjs1x628rj9h564jizylq-closure-info, in 20.33 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/9pz11iky10yhpjrx17yrhjckn5qnnbpw-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets116machine: (finished: must succeed: cp -r /nix/store/9pz11iky10yhpjrx17yrhjckn5qnnbpw-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.10 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 # [1436446.512460] machine systemd[1]: Listening on Nix Daemon Socket.119machine # [1436446.622625] machine runuser[4905]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)120machine: (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.24 seconds)121machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/4p89fw3ma34xcgsh2awfvzknqvrwws15-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/plumbing-e2e.nu' >&2122machine # [1436446.850922] machine runuser[4905]: pam_unix(runuser-l:session): session closed for user alice123machine # [1436446.860317] machine runuser[4918]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)124machine # [1436446.991572] machine systemd[1]: Started Nix Daemon.125machine # [1436447.056796] machine nix-daemon[5028]: accepted connection from pid 5009, user alice (trusted)126machine # [1436447.100293] machine nix-daemon[5028]: accepted connection from pid 5049, user alice (trusted)127machine # [1436447.142763] machine nix-daemon[5028]: accepted connection from pid 5070, user alice (trusted)128== 1. resolve129ok resolve: one root130ok resolve: the drv nix-instantiate wrote131ok resolve --walk get-drvs: nix-instantiate's roots132ok resolve --walk get-drvs: the attribute path of each133ok resolve --walk to-install: meta.outputsToInstall134machine # [1436447.518802] machine nix-daemon[5028]: accepted connection from pid 5105, user alice (trusted)135ok resolve --walk context: the value named no output136ok resolve: the one root137ok resolve --dump-drvs: every derivation, whichever fiber made it138ok resolve --dump-drvs: every derivation under a helper's thunk, every run139== 2. plan140ok plan: the root's closure141ok plan: read from /nix/store142ok plan: no sources143== 3. missing144ok missing: willBuild145ok missing: the documented keys146ok missing: --check-cache-status per root147ok missing: neededBuilds148machine # [1436451.537296] machine nix-daemon[5028]: accepted connection from pid 5177, user alice (trusted)149machine # [1436451.547708] machine nix-daemon[5028]: accepted connection from pid 5186, user alice (trusted)150machine # [1436451.553328] machine nix-daemon[5028]: accepted connection from pid 5186, user alice (trusted)151machine # [1436451.611545] machine nix-daemon[5028]: accepted connection from pid 5197, user alice (trusted)152these 2 derivations will be built:153 /nix/store/n4j43cgbicx909z5xriamaf4iari5x7y-plumb-hello.drv154 /nix/store/d13v0c2c6lxl1awih4fijqlihycf4hr5-plumb-top.drv155ok missing: byte-identical to build --dry-run --json156== 4. build157ok build: the outcome158ok build: the output is in the store159machine # [1436452.089713] machine nix-daemon[5028]: accepted connection from pid 5205, user alice (trusted)160machine # [1436452.175903] machine nix-daemon[5028]: accepted connection from pid 5216, user alice (trusted)161machine # [1436452.392786] machine nix-daemon[5028]: accepted connection from pid 5248, user alice (trusted)162ok build: a failed build exits 100163ok build: --gc-root reports the links164ok build: --gc-root links the output165ok build: --no-build builds nothing166== 5. composition167ok plan | build --roots -168machine # [1436452.564555] machine nix-daemon[5028]: accepted connection from pid 5280, user alice (trusted)169machine # [1436452.594409] machine nix-daemon[5028]: accepted connection from pid 5289, user alice (trusted)170machine # [1436452.622217] machine nix-daemon[5028]: accepted connection from pid 5299, user alice (trusted)171ok resolve | missing --roots - (already built)172machine # [1436453.084028] machine nix-daemon[5028]: accepted connection from pid 5308, user alice (trusted)173ok resolve | plan without a dump: the drv is in no store174ok resolve --dump-drvs | plan: nothing read from /nix/store175ok resolve --dump-drvs | plan: the whole closure176▶ building plumb-hello177▶ building plumb-top.drv178✔ plumb-top.drv (0s)179✔ plumb-hello (0s)180ok resolve --dump-drvs | build181== 6. fetch182ok fetch: {hash, url}183machine # [1436454.821180] machine nix-daemon[5028]: accepted connection from pid 5341, user alice (trusted)184ok fetch: --hash-type185PASS186machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/4p89fw3ma34xcgsh2awfvzknqvrwws15-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/plumbing-e2e.nu' >&2, in 8.51 seconds)187(finished: run the VM test script, in 34.87 seconds)188machine # [1436455.361497] machine runuser[4918]: pam_unix(runuser-l:session): session closed for user alice189test script finished in 35.17s190cleanup191kill NspawnMachine (pid 50)192Container machine terminated by signal KILL.193(finished: cleanup, in 0.16 seconds)