container-test-run-iets-plumbing-e2e
checks.x86_64-linux.plumbing-e2e
· build #106
· 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 # [1419804.987463] machine systemd-journald[57]: Journal started21machine # [1419804.987522] machine systemd-journald[57]: Runtime Journal (/run/log/journal/359a72d3862145459586b53f6c7e7d59) is 8M, max 2.5G, 2.5G free.22machine # [1419805.019214] machine systemd[1]: Starting Flush Journal to Persistent Storage...23machine # [1419805.021101] machine systemd[1]: Starting Create Static Device Nodes in /dev...24machine # [1419805.031102] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/359a72d3862145459586b53f6c7e7d59 is 2.937ms for 4 entries.25machine # [1419805.031102] machine systemd-journald[57]: System Journal (/var/log/journal/359a72d3862145459586b53f6c7e7d59) is 512B, max 4G, 3.9G free.26machine # [1419805.046905] machine systemd[1]: Finished Create Static Device Nodes in /dev.27machine # [1419805.064984] machine systemd[1]: Reached target Preparation for Local File Systems.28machine # [1419805.069123] machine systemd[1]: Mounting /run/wrappers...29machine # [1419805.069154] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys30machine # [1419805.076140] machine systemd[1]: Finished Flush Journal to Persistent Storage.31machine # [1419805.107905] machine systemd[1]: Mounted /run/wrappers.32machine # [1419805.108142] machine systemd[1]: Reached target Local File Systems.33machine # [1419805.109553] machine systemd[1]: Listening on Boot Loader Control Service Socket.34machine # [1419805.111820] machine systemd[1]: Starting Create SUID/SGID Wrappers...35machine # [1419805.111857] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36machine # [1419805.112696] machine systemd[1]: Starting Save Transient machine-id to Disk...37machine # [1419805.114585] machine systemd[1]: Starting Create System Files and Directories...38machine # [1419805.130134] machine systemd-tmpfiles[117]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39machine # [1419805.130240] machine systemd-tmpfiles[117]: fchmod() of /var/log/journal failed: Operation not permitted40machine # [1419805.130313] machine systemd-tmpfiles[117]: fchmod() of /var/log/journal/359a72d3862145459586b53f6c7e7d59 failed: Operation not permitted41machine # [1419805.130425] machine systemd-tmpfiles[117]: fchmod() of /run/log/journal failed: Operation not permitted42machine # [1419805.136204] machine systemd[1]: Finished Create System Files and Directories.43machine # [1419805.137273] machine systemd[1]: Starting Rebuild Journal Catalog...44machine # [1419805.137890] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...45machine # [1419805.140349] machine suid-sgid-wrappers-start[135]: chmod: changing permissions of '/run/wrappers/wrappers.TiwAfzBSSe/chsh': Operation not permitted46machine # [1419805.141323] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE47machine # [1419805.141411] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.48machine # [1419805.159749] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.49machine # [1419805.173957] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.50machine # [1419805.216928] machine systemd[1]: Finished Rebuild Journal Catalog.51machine # [1419805.218027] machine systemd[1]: Starting Update is Completed...52machine # [1419805.257140] machine systemd[1]: Finished Update is Completed.53machine # [1419805.257281] machine systemd[1]: Reached target System Initialization.54machine # [1419805.257357] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container55machine # [1419805.257387] machine systemd[1]: Started Daily Cleanup of Temporary Directories.56machine # [1419805.257409] machine systemd[1]: Reached target Timer Units.57machine # [1419805.257514] machine systemd[1]: Listening on D-Bus System Message Bus Socket.58machine # [1419805.257585] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.59machine # [1419805.257796] machine systemd[1]: Reached target Socket Units.60machine # [1419805.257820] machine systemd[1]: Reached target Basic System.61machine # [1419805.258859] machine systemd[1]: Starting Import lastlog data into lastlog2 database...62machine # [1419805.259636] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...63machine # [1419805.260133] machine systemd[1]: Starting resolvconf update...64machine # [1419805.260343] machine systemd[1]: Finished Firewall.65machine # [1419805.282336] machine systemd[1]: Finished Import lastlog data into lastlog2 database.66machine # [1419805.352663] machine systemd[1]: nscd.service: Deactivated successfully.67machine # [1419805.352793] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).68machine # [1419805.354647] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...69machine # [1419805.372265] machine resolvconf-start[234]: setfacl: /run/resolvconf: Operation not supported70machine # [1419805.374172] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE71machine # [1419805.374255] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.72machine # [1419805.374400] machine systemd[1]: Failed to start resolvconf update.73machine # [1419805.374572] machine systemd[1]: Reached target Preparation for Network.74machine # [1419805.376110] machine systemd[1]: Starting Address configuration of eth1...75machine # [1419805.377094] machine systemd[1]: Starting Extra networking commands....76machine # [1419805.391744] machine network-addresses-eth1-start[237]: adding address 192.168.1.1/24... done77machine # [1419805.394818] machine network-addresses-eth1-start[237]: adding address 2001:db8:1::1/64... done78machine # [1419805.399111] machine systemd[1]: Finished Address configuration of eth1.79machine # [1419805.444802] machine systemd[1]: Finished Extra networking commands..80machine # [1419805.444911] machine systemd[1]: Reached target Network.81machine # [1419805.517718] machine systemd[1]: Started Name Service Cache Daemon (nsncd).82machine # [1419805.517789] machine systemd[1]: Reached target Host and Network Name Lookups.83machine # [1419805.517831] machine systemd[1]: Reached target User and Group Name Lookups.84machine # [1419805.518552] machine nsncd[225]: Oct 11 09:22:56.249 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"85machine # [1419805.521010] machine systemd[1]: Starting User Login Management...86machine # [1419805.522049] machine systemd[1]: Starting Permit User Sessions...87machine # [1419805.551445] machine systemd[1]: Finished Permit User Sessions.88machine # [1419805.553176] machine systemd[1]: Started Console Getty.89machine # [1419805.553204] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty090machine # [1419805.553220] machine systemd[1]: Reached target Login Prompts.91machine # [1419805.603333] machine systemd[1]: Finished Save Transient machine-id to Disk.92machine # [1419805.962096] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.93machine # [1419806.501438] machine systemd[1]: Starting D-Bus System Message Bus...94machine # [1419806.501613] machine systemd-logind[305]: New seat seat0.95machine # [1419806.501734] machine systemd[1]: Started User Login Management.96machine # [1419806.503088] machine systemd[1]: Starting linger-users.service...97machine # [1419806.535714] machine systemd[1]: linger-users.service: Deactivated successfully.98machine # [1419806.535864] machine systemd[1]: Finished linger-users.service.99machine # [1419806.536031] machine systemd[1]: Reached target Multi-User System.100machine: (finished: waiting for unit multi-user.target, in 3.15 seconds)101machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/mcw8hmsrih63f6gg94sass5z4f8gbpv5-closure-info102machine # [1419806.826187] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...103machine # [1419806.834993] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'104machine # [1419806.834993] 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"105machine # [1419806.837999] machine systemd[1]: Started D-Bus System Message Bus.106machine # [1419806.838245] machine systemd[1]: Startup finished in 2.359s.107machine # [1419806.848540] machine dbus-broker-launch[316]: Ready108warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.109machine: (finished: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/mcw8hmsrih63f6gg94sass5z4f8gbpv5-closure-info, in 17.16 seconds)110machine: must succeed: systemctl start nix-daemon.socket111machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.02 seconds)112machine: must succeed: cp -r /nix/store/95bsh6fyzql8x5mdf62aa6akw4x3h0vh-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets113machine: (finished: must succeed: cp -r /nix/store/95bsh6fyzql8x5mdf62aa6akw4x3h0vh-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.32 seconds)114machine: 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'115machine # [1419824.208953] machine systemd[1]: Listening on Nix Daemon Socket.116machine # [1419824.548393] machine runuser[4905]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)117machine: (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.47 seconds)118machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/crj85mq8bczz4plpb18np76069j6dk4z-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/plumbing-e2e.nu' >&2119machine # [1419825.003415] machine runuser[4905]: pam_unix(runuser-l:session): session closed for user alice120machine # [1419825.019340] machine runuser[4918]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)121machine # [1419825.179061] machine systemd[1]: Started Nix Daemon.122== 1. resolve123machine # [1419825.288408] machine nix-daemon[5027]: accepted connection from pid 5008, user alice (trusted)124machine # [1419825.333802] machine nix-daemon[5027]: accepted connection from pid 5048, user alice (trusted)125machine # [1419825.383503] machine nix-daemon[5027]: accepted connection from pid 5069, user alice (trusted)126ok resolve: one root127ok resolve: the drv nix-instantiate wrote128ok resolve --walk get-drvs: nix-instantiate's roots129ok resolve --walk get-drvs: the attribute path of each130machine # [1419826.693482] machine nix-daemon[5027]: accepted connection from pid 5104, user alice (trusted)131ok resolve --walk to-install: meta.outputsToInstall132ok resolve --walk context: the value named no output133ok resolve: the one root134ok resolve --dump-drvs: every derivation, whichever fiber made it135ok resolve --dump-drvs: every derivation under a helper's thunk, every run136== 2. plan137ok plan: the root's closure138ok plan: read from /nix/store139ok plan: no sources140== 3. missing141ok missing: willBuild142ok missing: the documented keys143ok missing: --check-cache-status per root144ok missing: neededBuilds145machine # [1419831.882568] machine nix-daemon[5027]: accepted connection from pid 5176, user alice (trusted)146machine # [1419831.914987] machine nix-daemon[5027]: accepted connection from pid 5185, user alice (trusted)147machine # [1419831.941267] machine nix-daemon[5027]: accepted connection from pid 5185, user alice (trusted)148machine # [1419832.011455] machine nix-daemon[5027]: accepted connection from pid 5196, user alice (trusted)149these 2 derivations will be built:150 /nix/store/2d4fycyrdwxfskb9n0y73flz89rfcn2w-plumb-hello.drv151 /nix/store/i7bq43giiri5jviimm2hnp9blsjms95m-plumb-top.drv152ok missing: byte-identical to build --dry-run --json153== 4. build154ok build: the outcome155ok build: the output is in the store156machine # [1419832.591128] machine nix-daemon[5027]: accepted connection from pid 5204, user alice (trusted)157machine # [1419832.690867] machine nix-daemon[5027]: accepted connection from pid 5215, user alice (trusted)158ok build: a failed build exits 100159ok build: --gc-root reports the links160ok build: --gc-root links the output161machine # [1419832.884973] machine nix-daemon[5027]: accepted connection from pid 5247, user alice (trusted)162machine # [1419833.126450] machine nix-daemon[5027]: accepted connection from pid 5279, user alice (trusted)163ok build: --no-build builds nothing164== 5. composition165ok plan | build --roots -166machine # [1419833.206288] machine nix-daemon[5027]: accepted connection from pid 5288, user alice (trusted)167machine # [1419833.287528] machine nix-daemon[5027]: accepted connection from pid 5298, user alice (trusted)168ok resolve | missing --roots - (already built)169machine # [1419834.075816] machine nix-daemon[5027]: accepted connection from pid 5307, user alice (trusted)170ok resolve | plan without a dump: the drv is in no store171ok resolve --dump-drvs | plan: nothing read from /nix/store172ok resolve --dump-drvs | plan: the whole closure173machine # [1419835.538959] machine nix-daemon[5027]: accepted connection from pid 5340, user alice (trusted)174▶ building plumb-hello175▶ building plumb-top.drv176✔ plumb-top.drv (0s)177✔ plumb-hello (0s)178ok resolve --dump-drvs | build179== 6. fetch180ok fetch: {hash, url}181ok fetch: --hash-type182PASS183machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/crj85mq8bczz4plpb18np76069j6dk4z-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/plumbing-e2e.nu' >&2, in 11.19 seconds)184(finished: run the VM test script, in 32.32 seconds)185machine # [1419836.189763] machine runuser[4918]: pam_unix(runuser-l:session): session closed for user alice186test script finished in 32.79s187cleanup188kill NspawnMachine (pid 50)189Container machine terminated by signal KILL.190(finished: cleanup, in 0.27 seconds)