container-test-run-iets-plumbing-e2e
checks.x86_64-linux.plumbing-e2e
· build #109
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.05 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 # 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 # [1421319.640586] machine systemd-journald[57]: Journal started31machine # [1421319.640693] machine systemd-journald[57]: Runtime Journal (/run/log/journal/d86d2ca697d746e0800ea266085de840) is 8M, max 2.5G, 2.5G free.32machine # [1421319.717505] machine systemd[1]: Listening on Journal Log Access Socket.33machine # [1421319.726184] machine systemd[1]: Finished Apply Kernel Variables.34machine # [1421319.913219] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.35machine # [1421320.056237] machine systemd[1]: Starting Flush Journal to Persistent Storage...36machine # [1421320.061203] machine systemd[1]: Starting Create Static Device Nodes in /dev...37machine # [1421320.113724] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/d86d2ca697d746e0800ea266085de840 is 11.458ms for 7 entries.38machine # [1421320.113724] machine systemd-journald[57]: System Journal (/var/log/journal/d86d2ca697d746e0800ea266085de840) is 512B, max 4G, 3.9G free.39machine # [1421320.336150] machine systemd[1]: Finished Flush Journal to Persistent Storage.40machine # [1421320.355177] machine systemd[1]: Finished Create Static Device Nodes in /dev.41machine # [1421320.357020] machine systemd[1]: Reached target Preparation for Local File Systems.42machine # [1421320.357229] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys43machine # [1421320.707195] machine systemd[1]: Mounting /run/wrappers...44machine # [1421320.731466] machine systemd[1]: Finished Firewall.45machine # [1421321.154940] machine systemd[1]: Mounted /run/wrappers.46machine # [1421321.155785] machine systemd[1]: Reached target Local File Systems.47machine # [1421321.160994] machine systemd[1]: Listening on Boot Loader Control Service Socket.48machine # [1421321.202229] machine systemd[1]: Starting Create SUID/SGID Wrappers...49machine # [1421321.202303] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container50machine # [1421321.207199] machine systemd[1]: Starting Save Transient machine-id to Disk...51machine # [1421321.272244] machine systemd[1]: Starting Create System Files and Directories...52machine # [1421321.319026] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.KYncg5qT92/chsh': Operation not permitted53machine # [1421321.339284] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE54machine # [1421321.339392] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.55machine # [1421321.346842] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.56machine # [1421321.489053] machine systemd-tmpfiles[163]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted57machine # [1421321.489428] machine systemd-tmpfiles[163]: fchmod() of /var/log/journal failed: Operation not permitted58machine # [1421321.489594] machine systemd-tmpfiles[163]: fchmod() of /var/log/journal/d86d2ca697d746e0800ea266085de840 failed: Operation not permitted59machine # [1421321.489846] machine systemd-tmpfiles[163]: fchmod() of /run/log/journal failed: Operation not permitted60machine # [1421321.698182] machine systemd[1]: Finished Create System Files and Directories.61machine # [1421321.836203] machine systemd[1]: Starting Rebuild Journal Catalog...62machine # [1421321.845194] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...63machine # [1421321.955807] machine systemd[1]: Finished Rebuild Journal Catalog.64machine # [1421321.975316] machine systemd[1]: Starting Update is Completed...65machine # [1421321.975726] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.66machine # [1421321.988533] machine systemd[1]: Finished Update is Completed.67machine # [1421321.989762] machine systemd[1]: Reached target System Initialization.68machine # [1421321.989917] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container69machine # [1421321.989965] machine systemd[1]: Started Daily Cleanup of Temporary Directories.70machine # [1421321.989995] machine systemd[1]: Reached target Timer Units.71machine # [1421322.010329] machine systemd[1]: Listening on D-Bus System Message Bus Socket.72machine # [1421322.010453] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.73machine # [1421322.010708] machine systemd[1]: Reached target Socket Units.74machine # [1421322.010759] machine systemd[1]: Reached target Basic System.75machine # [1421322.023185] machine systemd[1]: Starting Import lastlog data into lastlog2 database...76machine # [1421322.060178] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...77machine # [1421322.066158] machine systemd[1]: Starting resolvconf update...78machine # [1421322.112571] machine systemd[1]: Finished Import lastlog data into lastlog2 database.79machine # [1421322.436263] machine resolvconf-start[231]: setfacl: /run/resolvconf: Operation not supported80machine # [1421322.436545] machine systemd[1]: nscd.service: Deactivated successfully.81machine # [1421322.436792] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).82machine # [1421322.440347] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE83machine # [1421322.440436] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.84machine # [1421322.443043] machine systemd[1]: Failed to start resolvconf update.85machine # [1421322.444989] machine systemd[1]: Reached target Preparation for Network.86machine # [1421322.461192] machine systemd[1]: Starting Address configuration of eth1...87machine # [1421322.468168] machine systemd[1]: Starting Extra networking commands....88machine # [1421322.920161] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...89machine # [1421322.965905] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.90machine # [1421322.974855] machine systemd[1]: Finished Save Transient machine-id to Disk.91machine # [1421322.997449] machine network-addresses-eth1-start[235]: adding address 192.168.1.1/24... done92machine # [1421323.008488] machine network-addresses-eth1-start[235]: adding address 2001:db8:1::1/64... done93machine # [1421323.060153] machine systemd[1]: Finished Address configuration of eth1.94machine # [1421323.313838] machine systemd[1]: Finished Extra networking commands..95machine # [1421323.313996] machine systemd[1]: Reached target Network.96machine: still waiting for container 'machine' to reach ready state...97machine # [1421324.397119] machine nsncd[237]: Oct 11 09:48:15.127 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"98machine # [1421324.401270] machine systemd[1]: Started Name Service Cache Daemon (nsncd).99machine # [1421324.401376] machine systemd[1]: Reached target Host and Network Name Lookups.100machine # [1421324.401453] machine systemd[1]: Reached target User and Group Name Lookups.101machine # [1421324.407413] machine systemd[1]: Starting User Login Management...102machine # [1421324.410182] machine systemd[1]: Starting Permit User Sessions...103machine # [1421324.460623] machine systemd[1]: Finished Permit User Sessions.104machine # [1421324.476280] machine systemd[1]: Started Console Getty.105machine # [1421324.476374] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0106machine # [1421324.476402] machine systemd[1]: Reached target Login Prompts.107machine # [1421331.878523] machine systemd-logind[306]: New seat seat0.108machine # [1421331.882196] machine systemd[1]: Starting D-Bus System Message Bus...109machine # [1421331.882404] machine systemd[1]: Started User Login Management.110machine # [1421331.886177] machine systemd[1]: Starting linger-users.service...111machine # [1421331.973480] machine systemd[1]: linger-users.service: Deactivated successfully.112machine # [1421331.974151] machine systemd[1]: Finished linger-users.service.113machine # [1421331.974981] machine systemd[1]: Reached target Multi-User System.114machine: still waiting for container 'machine' to reach ready state...115machine # [1421337.921611] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...116machine # [1421337.935609] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'117machine # [1421337.935609] 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"118machine # [1421337.965340] machine systemd[1]: Started D-Bus System Message Bus.119machine # [1421337.972282] machine systemd[1]: Startup finished in 21.086s.120machine # [1421338.023443] machine dbus-broker-launch[316]: Ready121machine: (finished: waiting for unit multi-user.target, in 24.59 seconds)122machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/4ggnl3fcdlnq4ra4rzjprf1dsyyqna4x-closure-info123warning: '--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/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/4ggnl3fcdlnq4ra4rzjprf1dsyyqna4x-closure-info, in 170.37 seconds)125machine: must succeed: systemctl start nix-daemon.socket126machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.16 seconds)127machine: must succeed: cp -r /nix/store/qzwp0lyqp91jknqik9jwidi6brz51z82-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets128machine # [1421509.002856] machine systemd[1]: Listening on Nix Daemon Socket.129machine: (finished: must succeed: cp -r /nix/store/qzwp0lyqp91jknqik9jwidi6brz51z82-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 1.24 seconds)130machine: 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'131machine # [1421510.386516] machine runuser[4905]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)132machine: (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 3.21 seconds)133machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/1rxpdgqd5r2czlpkq56rndc98vvmk7yk-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/plumbing-e2e.nu' >&2134machine # [1421513.451971] machine runuser[4905]: pam_unix(runuser-l:session): session closed for user alice135machine # [1421513.533985] machine runuser[4917]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)136machine # [1421514.566833] machine systemd[1]: Started Nix Daemon.137machine # [1421514.745421] machine nix-daemon[5027]: accepted connection from pid 5008, user alice (trusted)138machine # [1421514.889632] machine nix-daemon[5027]: accepted connection from pid 5046, user alice (trusted)139== 1. resolve140machine # [1421514.984737] machine nix-daemon[5027]: accepted connection from pid 5067, user alice (trusted)141ok resolve: one root142ok resolve: the drv nix-instantiate wrote143ok resolve --walk get-drvs: nix-instantiate's roots144ok resolve --walk get-drvs: the attribute path of each145machine # [1421516.323172] machine nix-daemon[5027]: accepted connection from pid 5104, user alice (trusted)146ok resolve --walk to-install: meta.outputsToInstall147ok resolve --walk context: the value named no output148ok resolve: the one root149ok resolve --dump-drvs: every derivation, whichever fiber made it150ok resolve --dump-drvs: every derivation under a helper's thunk, every run151== 2. plan152ok plan: the root's closure153ok plan: read from /nix/store154ok plan: no sources155== 3. missing156machine # [1421556.550379] machine nix-daemon[5027]: accepted connection from pid 5176, user alice (trusted)157ok missing: willBuild158ok missing: the documented keys159ok missing: --check-cache-status per root160ok missing: neededBuilds161machine # [1421557.618140] machine nix-daemon[5027]: accepted connection from pid 5185, user alice (trusted)162machine # [1421557.643752] machine nix-daemon[5027]: accepted connection from pid 5185, user alice (trusted)163machine # [1421558.039331] machine nix-daemon[5027]: accepted connection from pid 5196, user alice (trusted)164these 2 derivations will be built:165 /nix/store/2cg042iaiv2xcyyjvqq4pi3x15016yvd-plumb-hello.drv166 /nix/store/v7w44yhk3jf9hh0628r69si3qpbvg785-plumb-top.drv167machine # [1421561.493941] machine nix-daemon[5027]: accepted connection from pid 5204, user alice (trusted)168ok missing: byte-identical to build --dry-run --json169== 4. build170machine # [1421562.282400] machine nix-daemon[5027]: accepted connection from pid 5215, user alice (trusted)171ok build: the outcome172ok build: the output is in the store173machine # [1421563.120382] machine nix-daemon[5027]: accepted connection from pid 5247, user alice (trusted)174ok build: a failed build exits 100175ok build: --gc-root reports the links176ok build: --gc-root links the output177machine # [1421564.797037] machine nix-daemon[5027]: accepted connection from pid 5279, user alice (trusted)178ok build: --no-build builds nothing179== 5. composition180machine # [1421565.252737] machine nix-daemon[5027]: accepted connection from pid 5288, user alice (trusted)181ok plan | build --roots -182machine # [1421565.523809] machine nix-daemon[5027]: accepted connection from pid 5298, user alice (trusted)183machine # [1421568.167445] machine nix-daemon[5027]: accepted connection from pid 5307, user alice (trusted)184ok resolve | missing --roots - (already built)185ok resolve | plan without a dump: the drv is in no store186ok resolve --dump-drvs | plan: nothing read from /nix/store187ok resolve --dump-drvs | plan: the whole closure188machine # [1421583.418965] machine nix-daemon[5027]: accepted connection from pid 5340, user alice (trusted)189▶ building plumb-hello190▶ building plumb-top.drv191✔ plumb-top.drv (0s)192✔ plumb-hello (0s)193ok resolve --dump-drvs | build194== 6. fetch195ok fetch: {hash, url}196ok fetch: --hash-type197PASS198machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/1rxpdgqd5r2czlpkq56rndc98vvmk7yk-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/plumbing-e2e.nu' >&2, in 72.70 seconds)199(finished: run the VM test script, in 272.28 seconds)200machine # [1421586.133299] machine runuser[4917]: pam_unix(runuser-l:session): session closed for user alice201test script finished in 273.81s202cleanup203kill NspawnMachine (pid 50)204Container machine terminated by signal KILL.205(finished: cleanup, in 0.33 seconds)