container-test-run-iets-plumbing-e2e
checks.x86_64-linux.plumbing-e2e
· build #264
· 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 # No journal files were found.21machine # No journal boot entry found for the specified boot (+0).22machine # [1680234.547105] machine systemd-journald[57]: Journal started23machine # [1680234.547193] machine systemd-journald[57]: Runtime Journal (/run/log/journal/08bddbd3f3ca4971a74e94f167a5f795) is 8M, max 2.5G, 2.5G free.24machine # [1680234.675256] machine systemd[1]: Finished Apply Kernel Variables.25machine # [1680234.716428] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.26machine # [1680234.804733] machine systemd[1]: Finished Firewall.27machine # [1680234.815157] machine systemd[1]: Starting Flush Journal to Persistent Storage...28machine # [1680234.854710] machine systemd[1]: Starting Create Static Device Nodes in /dev...29machine # [1680234.864990] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/08bddbd3f3ca4971a74e94f167a5f795 is 7.474ms for 7 entries.30machine # [1680234.864990] machine systemd-journald[57]: System Journal (/var/log/journal/08bddbd3f3ca4971a74e94f167a5f795) is 512B, max 4G, 3.9G free.31machine # [1680234.913665] machine systemd[1]: Finished Flush Journal to Persistent Storage.32machine # [1680234.915800] machine systemd[1]: Finished Create Static Device Nodes in /dev.33machine # [1680234.925240] machine systemd[1]: Reached target Preparation for Local File Systems.34machine # [1680234.925411] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys35machine # [1680235.555916] machine systemd[1]: Mounting /run/wrappers...36machine # [1680235.668424] machine systemd[1]: Mounted /run/wrappers.37machine # [1680235.671503] machine systemd[1]: Reached target Local File Systems.38machine # [1680235.672673] machine systemd[1]: Listening on Boot Loader Control Service Socket.39machine # [1680235.677163] machine systemd[1]: Starting Create SUID/SGID Wrappers...40machine # [1680235.677227] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container41machine # [1680235.706165] machine systemd[1]: Starting Save Transient machine-id to Disk...42machine # [1680235.708490] machine systemd[1]: Starting Create System Files and Directories...43machine # [1680235.721299] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.fysH9zHCRZ/chsh': Operation not permitted44machine # [1680235.723919] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted45machine # [1680235.724101] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted46machine # [1680235.724197] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/08bddbd3f3ca4971a74e94f167a5f795 failed: Operation not permitted47machine # [1680235.724335] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted48machine # [1680235.795634] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE49machine # [1680235.795723] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.50machine # [1680235.796417] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.51machine # [1680235.800109] machine systemd[1]: Finished Create System Files and Directories.52machine # [1680235.847707] machine systemd[1]: Starting Rebuild Journal Catalog...53machine # [1680235.849955] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...54machine # [1680235.878600] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.55machine # [1680235.886744] machine systemd[1]: Finished Rebuild Journal Catalog.56machine # [1680235.888072] machine systemd[1]: Starting Update is Completed...57machine # [1680235.901259] machine systemd[1]: Finished Update is Completed.58machine # [1680235.901443] machine systemd[1]: Reached target System Initialization.59machine # [1680235.901526] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container60machine # [1680235.901565] machine systemd[1]: Started Daily Cleanup of Temporary Directories.61machine # [1680235.901585] machine systemd[1]: Reached target Timer Units.62machine # [1680235.901700] machine systemd[1]: Listening on D-Bus System Message Bus Socket.63machine # [1680235.901791] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.64machine # [1680235.901810] machine systemd[1]: Reached target Socket Units.65machine # [1680235.901838] machine systemd[1]: Reached target Basic System.66machine # [1680235.904315] machine systemd[1]: Starting Import lastlog data into lastlog2 database...67machine # [1680235.906839] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...68machine # [1680235.908854] machine systemd[1]: Starting resolvconf update...69machine # [1680235.928294] machine systemd[1]: Finished Import lastlog data into lastlog2 database.70machine # [1680236.115726] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.71machine # [1680236.126119] machine systemd[1]: Finished Save Transient machine-id to Disk.72machine # [1680236.168398] machine systemd[1]: nscd.service: Deactivated successfully.73machine # [1680236.168621] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).74machine # [1680236.173026] machine resolvconf-start[234]: setfacl: /run/resolvconf: Operation not supported75machine # [1680236.180166] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...76machine # [1680236.180378] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE77machine # [1680236.180463] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.78machine # [1680236.180626] machine systemd[1]: Failed to start resolvconf update.79machine # [1680236.181351] machine systemd[1]: Reached target Preparation for Network.80machine # [1680236.183179] machine systemd[1]: Starting Address configuration of eth1...81machine # [1680236.184252] machine systemd[1]: Starting Extra networking commands....82machine # [1680236.226576] machine network-addresses-eth1-start[237]: adding address 192.168.1.1/24... done83machine # [1680236.234322] machine network-addresses-eth1-start[237]: adding address 2001:db8:1::1/64... done84machine # [1680236.239524] machine systemd[1]: Finished Address configuration of eth1.85machine # [1680236.313085] machine systemd[1]: Finished Extra networking commands..86machine # [1680236.313638] machine systemd[1]: Reached target Network.87machine # [1680236.732027] machine systemd[1]: Started Name Service Cache Daemon (nsncd).88machine # [1680236.732090] machine systemd[1]: Reached target Host and Network Name Lookups.89machine # [1680236.732127] machine systemd[1]: Reached target User and Group Name Lookups.90machine # [1680236.733697] machine systemd[1]: Starting User Login Management...91machine # [1680236.734588] machine nsncd[235]: Oct 14 09:43:27.464 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"92machine # [1680236.734721] machine systemd[1]: Starting Permit User Sessions...93machine # [1680236.766638] machine systemd[1]: Finished Permit User Sessions.94machine # [1680236.768349] machine systemd[1]: Started Console Getty.95machine # [1680236.768408] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty096machine # [1680236.768429] machine systemd[1]: Reached target Login Prompts.97machine: still waiting for container 'machine' to reach ready state...98machine # [1680244.119801] machine systemd-logind[300]: New seat seat0.99machine # [1680244.120880] machine systemd[1]: Starting D-Bus System Message Bus...100machine # [1680244.120997] machine systemd[1]: Started User Login Management.101machine # [1680244.123834] machine systemd[1]: Starting linger-users.service...102machine # [1680244.168313] machine systemd[1]: linger-users.service: Deactivated successfully.103machine # [1680244.169233] machine systemd[1]: Finished linger-users.service.104machine # [1680244.169433] machine systemd[1]: Reached target Multi-User System.105machine # [1680248.929540] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...106machine # [1680248.932244] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'107machine # [1680248.932244] machine dbus-broker-launch[316]: Invalid user-name in /nix/store/jlg1ir1z4dfm81ya2kccdm1fv06giam6-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"108machine # [1680248.932607] machine systemd[1]: Started D-Bus System Message Bus.109machine # [1680248.934232] machine systemd[1]: Startup finished in 15.317s.110machine # [1680248.947052] machine dbus-broker-launch[316]: Ready111machine: (finished: waiting for unit multi-user.target, in 16.75 seconds)112machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/37ayx8k7p2h6ybczwxifc0j7nv1hh5pm-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/37ayx8k7p2h6ybczwxifc0j7nv1hh5pm-closure-info, in 58.61 seconds)115machine: must succeed: systemctl start nix-daemon.socket116machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.11 seconds)117machine: must succeed: cp -r /nix/store/c1zp9g1741scha2dpcd34cwvzxranw7i-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets118machine # [1680308.172463] machine systemd[1]: Listening on Nix Daemon Socket.119machine: (finished: must succeed: cp -r /nix/store/c1zp9g1741scha2dpcd34cwvzxranw7i-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.32 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 # [1680308.565970] machine runuser[4907]: 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 1.88 seconds)123machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/hc1wpdal3hxkggy3wmvsqf9f6qvnxvfn-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/plumbing-e2e.nu' >&2124machine # [1680310.378564] machine runuser[4907]: pam_unix(runuser-l:session): session closed for user alice125machine # [1680310.396666] machine runuser[4920]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)126machine # [1680310.627379] machine systemd[1]: Started Nix Daemon.127machine # [1680311.037269] machine nix-daemon[5031]: accepted connection from pid 5012, user alice (trusted)128machine # [1680311.255284] machine nix-daemon[5031]: accepted connection from pid 5050, user alice (trusted)129machine # [1680311.323272] machine nix-daemon[5031]: accepted connection from pid 5071, user alice (trusted)130== 1. resolve131ok resolve: one root132ok resolve: the drv nix-instantiate wrote133ok resolve --walk get-drvs: nix-instantiate's roots134ok resolve --walk get-drvs: the attribute path of each135machine # [1680314.127163] machine nix-daemon[5031]: accepted connection from pid 5108, user alice (trusted)136ok resolve --walk to-install: meta.outputsToInstall137ok resolve --walk context: the value named no output138ok resolve: the one root139ok resolve --dump-drvs: every derivation, whichever fiber made it140ok resolve --dump-drvs: every derivation under a helper's thunk, every run141== 2. plan142ok plan: the root's closure143ok plan: read from /nix/store144ok plan: no sources145== 3. missing146ok missing: willBuild147ok missing: the documented keys148machine # [1680324.166847] machine nix-daemon[5031]: accepted connection from pid 5180, user alice (trusted)149machine # [1680324.406282] machine nix-daemon[5031]: accepted connection from pid 5189, user alice (trusted)150ok missing: --check-cache-status per root151ok missing: neededBuilds152machine # [1680324.527458] machine nix-daemon[5031]: accepted connection from pid 5189, user alice (trusted)153machine # [1680324.626944] machine nix-daemon[5031]: accepted connection from pid 5200, user alice (trusted)154these 2 derivations will be built:155 /nix/store/qjmbpda6snwxs87pqdhvah695jiwaj0i-plumb-hello.drv156 /nix/store/x4i87l8m4avkbdrxcd5dz6m95glpg3rr-plumb-top.drv157ok missing: byte-identical to build --dry-run --json158== 4. build159machine # [1680325.037025] machine nix-daemon[5031]: accepted connection from pid 5208, user alice (trusted)160machine # [1680325.704476] machine nix-daemon[5031]: accepted connection from pid 5219, user alice (trusted)161ok build: the outcome162ok build: the output is in the store163machine # [1680327.830394] machine nix-daemon[5031]: accepted connection from pid 5251, user alice (trusted)164ok build: a failed build exits 100165ok build: --gc-root reports the links166ok build: --gc-root links the output167ok build: --no-build builds nothing168== 5. composition169ok plan | build --roots -170machine # [1680329.351479] machine nix-daemon[5031]: accepted connection from pid 5283, user alice (trusted)171machine # [1680329.412592] machine nix-daemon[5031]: accepted connection from pid 5292, user alice (trusted)172machine # [1680329.513720] machine nix-daemon[5031]: accepted connection from pid 5302, user alice (trusted)173ok resolve | missing --roots - (already built)174machine # [1680331.663047] machine nix-daemon[5031]: accepted connection from pid 5311, user alice (trusted)175ok resolve | plan without a dump: the drv is in no store176ok resolve --dump-drvs | plan: nothing read from /nix/store177ok resolve --dump-drvs | plan: the whole closure178machine # [1680333.032539] machine nix-daemon[5031]: accepted connection from pid 5345, user alice (trusted)179▶ building plumb-hello180✔ plumb-hello (0s)181▶ building plumb-top.drv182✔ plumb-top.drv (0s)183summary: ✔ 2 succeeded · 1s184ok resolve --dump-drvs | build185== 6. fetch186ok fetch: {hash, url}187ok fetch: --hash-type188PASS189machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/hc1wpdal3hxkggy3wmvsqf9f6qvnxvfn-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/plumbing-e2e.nu' >&2, in 24.73 seconds)190(finished: run the VM test script, in 102.41 seconds)191machine # [1680335.100234] machine runuser[4920]: pam_unix(runuser-l:session): session closed for user alice192test script finished in 103.58s193cleanup194kill NspawnMachine (pid 50)195Container machine terminated by signal KILL.196(finished: cleanup, in 0.32 seconds)