container-test-run-iets-plumbing-e2e
checks.x86_64-linux.plumbing-e2e
· build #107
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.00 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 # [1419826.052131] machine systemd-journald[57]: Journal started21machine # [1419826.052173] machine systemd-journald[57]: Runtime Journal (/run/log/journal/3e42c05c53a64c13b97b084378c7ede5) is 8M, max 2.5G, 2.5G free.22machine # [1419826.091884] machine systemd[1]: Finished Apply Kernel Variables.23machine # [1419826.105781] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.24machine # [1419826.144454] machine systemd[1]: Starting Flush Journal to Persistent Storage...25machine # [1419826.146069] machine systemd[1]: Starting Create Static Device Nodes in /dev...26machine # [1419826.173346] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/3e42c05c53a64c13b97b084378c7ede5 is 1.518ms for 6 entries.27machine # [1419826.173346] machine systemd-journald[57]: System Journal (/var/log/journal/3e42c05c53a64c13b97b084378c7ede5) is 512B, max 4G, 3.9G free.28machine # [1419826.204915] machine systemd[1]: Finished Flush Journal to Persistent Storage.29machine # [1419826.205348] machine systemd[1]: Finished Create Static Device Nodes in /dev.30machine # [1419826.207279] machine systemd[1]: Reached target Preparation for Local File Systems.31machine # [1419826.207397] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys32machine # [1419826.222244] machine systemd[1]: Finished Firewall.33machine # [1419827.079027] machine systemd[1]: Mounting /run/wrappers...34machine # [1419827.126806] machine systemd[1]: Mounted /run/wrappers.35machine # [1419827.128039] machine systemd[1]: Reached target Local File Systems.36machine # [1419827.128799] machine systemd[1]: Listening on Boot Loader Control Service Socket.37machine # [1419827.134101] machine systemd[1]: Starting Create SUID/SGID Wrappers...38machine # [1419827.134143] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container39machine # [1419827.158232] machine systemd[1]: Starting Save Transient machine-id to Disk...40machine # [1419827.161275] machine systemd[1]: Starting Create System Files and Directories...41machine # [1419827.178038] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted42machine # [1419827.178179] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted43machine # [1419827.178266] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/3e42c05c53a64c13b97b084378c7ede5 failed: Operation not permitted44machine # [1419827.178388] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted45machine # [1419827.187551] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.iojkgImGF8/chsh': Operation not permitted46machine # [1419827.245230] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.47machine # [1419827.246335] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE48machine # [1419827.246414] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.49machine # [1419827.269188] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.50machine # [1419827.269523] machine systemd[1]: Finished Save Transient machine-id to Disk.51machine # [1419827.278139] machine systemd[1]: Finished Create System Files and Directories.52machine # [1419827.299799] machine systemd[1]: Starting Rebuild Journal Catalog...53machine # [1419827.300265] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...54machine # [1419827.342439] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.55machine # [1419827.354880] machine systemd[1]: Finished Rebuild Journal Catalog.56machine # [1419827.356940] machine systemd[1]: Starting Update is Completed...57machine # [1419827.368269] machine systemd[1]: Finished Update is Completed.58machine # [1419827.368342] machine systemd[1]: Reached target System Initialization.59machine # [1419827.368396] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container60machine # [1419827.368423] machine systemd[1]: Started Daily Cleanup of Temporary Directories.61machine # [1419827.368440] machine systemd[1]: Reached target Timer Units.62machine # [1419827.368526] machine systemd[1]: Listening on D-Bus System Message Bus Socket.63machine # [1419827.368591] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.64machine # [1419827.368609] machine systemd[1]: Reached target Socket Units.65machine # [1419827.368819] machine systemd[1]: Reached target Basic System.66machine # [1419827.369592] machine systemd[1]: Starting Import lastlog data into lastlog2 database...67machine # [1419827.371599] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...68machine # [1419827.372340] machine systemd[1]: Starting resolvconf update...69machine # [1419827.389130] machine systemd[1]: Finished Import lastlog data into lastlog2 database.70machine # [1419827.454485] machine resolvconf-start[231]: setfacl: /run/resolvconf: Operation not supported71machine # [1419827.456496] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE72machine # [1419827.456596] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.73machine # [1419827.456749] machine systemd[1]: Failed to start resolvconf update.74machine # [1419827.456912] machine systemd[1]: Reached target Preparation for Network.75machine # [1419827.457755] machine systemd[1]: Starting Address configuration of eth1...76machine # [1419827.458835] machine systemd[1]: Starting Extra networking commands....77machine # [1419827.462413] machine systemd[1]: nscd.service: Deactivated successfully.78machine # [1419827.488206] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).79machine # [1419827.490307] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...80machine # [1419827.502894] machine network-addresses-eth1-start[233]: adding address 192.168.1.1/24... done81machine # [1419827.505108] machine network-addresses-eth1-start[233]: adding address 2001:db8:1::1/64... done82machine # [1419827.513951] machine systemd[1]: Finished Address configuration of eth1.83machine # [1419827.570712] machine systemd[1]: Finished Extra networking commands..84machine # [1419827.570878] machine systemd[1]: Reached target Network.85machine # [1419827.807428] machine nsncd[238]: Oct 11 09:23:18.537 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"86machine # [1419827.807549] machine systemd[1]: Started Name Service Cache Daemon (nsncd).87machine # [1419827.807609] machine systemd[1]: Reached target Host and Network Name Lookups.88machine # [1419827.807655] machine systemd[1]: Reached target User and Group Name Lookups.89machine # [1419827.808888] machine systemd[1]: Starting User Login Management...90machine # [1419827.809400] machine systemd[1]: Starting Permit User Sessions...91machine # [1419827.857392] machine systemd[1]: Finished Permit User Sessions.92machine # [1419827.858632] machine systemd[1]: Started Console Getty.93machine # [1419827.858688] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty094machine # [1419827.858707] machine systemd[1]: Reached target Login Prompts.95machine # [1419829.519622] machine systemd[1]: Starting D-Bus System Message Bus...96machine # [1419829.520265] machine systemd-logind[306]: New seat seat0.97machine # [1419829.520434] machine systemd[1]: Started User Login Management.98machine # [1419829.521688] machine systemd[1]: Starting linger-users.service...99machine # [1419829.576553] machine systemd[1]: linger-users.service: Deactivated successfully.100machine # [1419829.576740] machine systemd[1]: Finished linger-users.service.101machine # [1419829.576868] machine systemd[1]: Reached target Multi-User System.102machine: (finished: waiting for unit multi-user.target, in 5.65 seconds)103machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/83p3hq4inxghs6fjy4k6cfg6rki92ma1-closure-info104machine # [1419830.140875] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...105machine # [1419830.141398] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'106machine # [1419830.141398] 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"107machine # [1419830.141809] machine systemd[1]: Started D-Bus System Message Bus.108machine # [1419830.142392] machine systemd[1]: Startup finished in 4.889s.109machine # [1419830.149563] machine dbus-broker-launch[316]: Ready110warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.111machine: (finished: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/83p3hq4inxghs6fjy4k6cfg6rki92ma1-closure-info, in 17.70 seconds)112machine: must succeed: systemctl start nix-daemon.socket113machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.02 seconds)114machine: must succeed: cp -r /nix/store/k9ra2hhi1zdyc8pm48b3apv6vqz2gnw8-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets115machine: (finished: must succeed: cp -r /nix/store/k9ra2hhi1zdyc8pm48b3apv6vqz2gnw8-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.29 seconds)116machine: 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'117machine # [1419847.925744] machine systemd[1]: Listening on Nix Daemon Socket.118machine # [1419848.231310] machine runuser[4905]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)119machine: (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.28 seconds)120machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/94zsx1qgxxgbrdbbpaaf2ap3dxw3kfi7-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/plumbing-e2e.nu' >&2121machine # [1419848.499709] machine runuser[4905]: pam_unix(runuser-l:session): session closed for user alice122machine # [1419848.520310] machine runuser[4918]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)123machine # [1419848.712766] machine systemd[1]: Started Nix Daemon.124== 1. resolve125machine # [1419848.793982] machine nix-daemon[5027]: accepted connection from pid 5008, user alice (trusted)126machine # [1419848.851701] machine nix-daemon[5027]: accepted connection from pid 5048, user alice (trusted)127machine # [1419848.900757] machine nix-daemon[5027]: accepted connection from pid 5069, user alice (trusted)128ok resolve: one root129ok resolve: the drv nix-instantiate wrote130ok resolve --walk get-drvs: nix-instantiate's roots131ok resolve --walk get-drvs: the attribute path of each132machine # [1419850.806495] machine nix-daemon[5027]: accepted connection from pid 5104, user alice (trusted)133ok resolve --walk to-install: meta.outputsToInstall134ok resolve --walk context: the value named no output135ok resolve: the one root136ok resolve --dump-drvs: every derivation, whichever fiber made it137ok resolve --dump-drvs: every derivation under a helper's thunk, every run138== 2. plan139ok plan: the root's closure140ok plan: read from /nix/store141ok plan: no sources142== 3. missing143ok missing: willBuild144ok missing: the documented keys145ok missing: --check-cache-status per root146ok missing: neededBuilds147machine # [1419856.295070] machine nix-daemon[5027]: accepted connection from pid 5176, user alice (trusted)148machine # [1419856.322702] machine nix-daemon[5027]: accepted connection from pid 5185, user alice (trusted)149machine # [1419856.330954] machine nix-daemon[5027]: accepted connection from pid 5185, user alice (trusted)150machine # [1419856.351169] machine nix-daemon[5027]: accepted connection from pid 5196, user alice (trusted)151these 2 derivations will be built:152 /nix/store/l2hb6g4m0s05mqic5vydm71ngliha1r4-plumb-hello.drv153 /nix/store/29p6qxsqgnlf8ii03z9xa7p881m5hzfn-plumb-top.drv154ok missing: byte-identical to build --dry-run --json155== 4. build156ok build: the outcome157ok build: the output is in the store158machine # [1419856.606839] machine nix-daemon[5027]: accepted connection from pid 5204, user alice (trusted)159machine # [1419856.658690] machine nix-daemon[5027]: accepted connection from pid 5215, user alice (trusted)160machine # [1419856.796248] machine nix-daemon[5027]: accepted connection from pid 5247, user alice (trusted)161ok build: a failed build exits 100162ok build: --gc-root reports the links163ok build: --gc-root links the output164ok build: --no-build builds nothing165== 5. composition166ok plan | build --roots -167ok resolve | missing --roots - (already built)168machine # [1419856.910963] machine nix-daemon[5027]: accepted connection from pid 5279, user alice (trusted)169machine # [1419856.924307] machine nix-daemon[5027]: accepted connection from pid 5288, user alice (trusted)170machine # [1419856.970889] machine nix-daemon[5027]: accepted connection from pid 5298, user alice (trusted)171machine # [1419857.090818] machine nix-daemon[5027]: accepted connection from pid 5307, user alice (trusted)172ok resolve | plan without a dump: the drv is in no store173ok resolve --dump-drvs | plan: nothing read from /nix/store174ok resolve --dump-drvs | plan: the whole closure175▶ building plumb-hello176▶ building plumb-top.drv177✔ plumb-top.drv (0s)178✔ plumb-hello (0s)179ok resolve --dump-drvs | build180== 6. fetch181ok fetch: {hash, url}182ok fetch: --hash-type183PASS184machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/94zsx1qgxxgbrdbbpaaf2ap3dxw3kfi7-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/plumbing-e2e.nu' >&2, in 10.87 seconds)185(finished: run the VM test script, in 34.82 seconds)186machine # [1419859.120269] machine nix-daemon[5027]: accepted connection from pid 5340, user alice (trusted)187machine # [1419859.357534] machine runuser[4918]: pam_unix(runuser-l:session): session closed for user alice188test script finished in 34.98s189cleanup190kill NspawnMachine (pid 50)191Container machine terminated by signal KILL.192(finished: cleanup, in 0.17 seconds)