container-test-run-iets-plumbing-e2e
checks.x86_64-linux.plumbing-e2e
· build #45
· 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 # [1350232.317310] machine systemd-journald[57]: Journal started19machine # [1350232.317362] machine systemd-journald[57]: Runtime Journal (/run/log/journal/7a18bf47738c44f7a50d3fad5adde2ba) is 8M, max 2.5G, 2.5G free.20machine # [1350232.324130] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21machine # [1350232.338423] machine systemd[1]: Starting Flush Journal to Persistent Storage...22machine # [1350232.338816] machine systemd[1]: Starting Create Static Device Nodes in /dev...23machine # [1350232.367498] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/7a18bf47738c44f7a50d3fad5adde2ba is 2.644ms for 5 entries.24machine # [1350232.367498] machine systemd-journald[57]: System Journal (/var/log/journal/7a18bf47738c44f7a50d3fad5adde2ba) is 512B, max 4G, 3.9G free.25machine # [1350232.374045] machine systemd[1]: Finished Create Static Device Nodes in /dev.26machine # [1350232.375549] machine systemd[1]: Reached target Preparation for Local File Systems.27machine # [1350232.375625] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys28machine # [1350232.399267] machine systemd[1]: Finished Flush Journal to Persistent Storage.29machine # [1350232.546717] machine systemd[1]: Finished Firewall.30machine # [1350233.302266] machine systemd[1]: Mounting /run/wrappers...31machine # [1350233.323283] machine systemd[1]: Mounted /run/wrappers.32machine # [1350233.323749] machine systemd[1]: Reached target Local File Systems.33machine # [1350233.324389] machine systemd[1]: Listening on Boot Loader Control Service Socket.34machine # [1350233.324881] machine systemd[1]: Starting Create SUID/SGID Wrappers...35machine # [1350233.324904] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36machine # [1350233.325591] machine systemd[1]: Starting Save Transient machine-id to Disk...37machine # [1350233.326007] machine systemd[1]: Starting Create System Files and Directories...38machine # [1350233.338454] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39machine # [1350233.338560] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted40machine # [1350233.338634] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/7a18bf47738c44f7a50d3fad5adde2ba failed: Operation not permitted41machine # [1350233.338729] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted42machine # [1350233.344757] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.HjlO6kr4a0/chsh': Operation not permitted43machine # [1350233.354288] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.44machine # [1350233.355045] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE45machine # [1350233.355102] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.46machine # [1350233.355215] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.47machine # [1350233.355367] machine systemd[1]: Finished Save Transient machine-id to Disk.48machine # [1350233.355651] machine systemd[1]: Finished Create System Files and Directories.49machine # [1350233.374227] machine systemd[1]: Starting Rebuild Journal Catalog...50machine # [1350233.375109] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...51machine # [1350233.420725] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.52machine # [1350233.433345] machine systemd[1]: Finished Rebuild Journal Catalog.53machine # [1350233.434195] machine systemd[1]: Starting Update is Completed...54machine # [1350233.444842] machine systemd[1]: Finished Update is Completed.55machine # [1350233.444950] machine systemd[1]: Reached target System Initialization.56machine # [1350233.445015] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container57machine # [1350233.445041] machine systemd[1]: Started Daily Cleanup of Temporary Directories.58machine # [1350233.445057] machine systemd[1]: Reached target Timer Units.59machine # [1350233.445142] machine systemd[1]: Listening on D-Bus System Message Bus Socket.60machine # [1350233.445206] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.61machine # [1350233.445233] machine systemd[1]: Reached target Socket Units.62machine # [1350233.445443] machine systemd[1]: Reached target Basic System.63machine # [1350233.446386] machine systemd[1]: Starting Import lastlog data into lastlog2 database...64machine # [1350233.448138] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...65machine # [1350233.448726] machine systemd[1]: Starting resolvconf update...66machine # [1350233.471249] machine systemd[1]: Finished Import lastlog data into lastlog2 database.67machine # [1350233.527124] machine systemd[1]: nscd.service: Deactivated successfully.68machine # [1350233.527256] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).69machine # [1350233.530389] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...70machine # [1350233.544758] machine resolvconf-start[235]: setfacl: /run/resolvconf: Operation not supported71machine # [1350233.545642] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE72machine # [1350233.545705] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.73machine # [1350233.559499] machine systemd[1]: Failed to start resolvconf update.74machine # [1350233.559949] machine systemd[1]: Reached target Preparation for Network.75machine # [1350233.561019] machine systemd[1]: Starting Address configuration of eth1...76machine # [1350233.563445] machine systemd[1]: Starting Extra networking commands....77machine # [1350233.585233] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done78machine # [1350233.588494] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done79machine # [1350233.593421] machine systemd[1]: Finished Address configuration of eth1.80machine # [1350233.641459] machine systemd[1]: Finished Extra networking commands..81machine # [1350233.641570] machine systemd[1]: Reached target Network.82machine # [1350233.683666] machine systemd[1]: Started Name Service Cache Daemon (nsncd).83machine # [1350233.683725] machine systemd[1]: Reached target Host and Network Name Lookups.84machine # [1350233.683771] machine systemd[1]: Reached target User and Group Name Lookups.85machine # [1350233.686083] machine nsncd[230]: Oct 10 14:03:24.416 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"86machine # [1350233.686541] machine systemd[1]: Starting User Login Management...87machine # [1350233.687116] machine systemd[1]: Starting Permit User Sessions...88machine # [1350233.730535] machine systemd[1]: Finished Permit User Sessions.89machine # [1350233.731740] machine systemd[1]: Started Console Getty.90machine # [1350233.731778] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty091machine # [1350233.731798] machine systemd[1]: Reached target Login Prompts.92machine # [1350234.489069] machine systemd-logind[300]: New seat seat0.93machine # [1350234.490377] machine systemd[1]: Starting D-Bus System Message Bus...94machine # [1350234.490451] machine systemd[1]: Started User Login Management.95machine # [1350234.493164] machine systemd[1]: Starting linger-users.service...96machine # [1350234.540546] machine systemd[1]: linger-users.service: Deactivated successfully.97machine # [1350234.540803] machine systemd[1]: Finished linger-users.service.98machine # [1350234.541070] machine systemd[1]: Reached target Multi-User System.99machine: (finished: waiting for unit multi-user.target, in 3.65 seconds)100machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/bv3bnz669ciqrvv36hg6znikz1p5dy0g-closure-info101machine # [1350234.873361] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...102machine # [1350234.874061] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'103machine # [1350234.874061] 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"104machine # [1350234.874485] machine systemd[1]: Started D-Bus System Message Bus.105machine # [1350234.874698] machine systemd[1]: Startup finished in 2.891s.106machine # [1350234.887898] machine dbus-broker-launch[316]: Ready107warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.108machine: (finished: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/bv3bnz669ciqrvv36hg6znikz1p5dy0g-closure-info, in 19.03 seconds)109machine: must succeed: systemctl start nix-daemon.socket110machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.02 seconds)111machine: must succeed: cp -r /nix/store/nl2kjy5mdkc7118hbrwsvhdhfx49pz6q-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets112machine: (finished: must succeed: cp -r /nix/store/nl2kjy5mdkc7118hbrwsvhdhfx49pz6q-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.23 seconds)113machine: 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'114machine # [1350254.126335] machine systemd[1]: Listening on Nix Daemon Socket.115machine # [1350254.371075] machine runuser[4905]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)116machine: (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.22 seconds)117machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/951piw6897zcncnhrl8absk99vzhfyja-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/plumbing-e2e.nu' >&2118machine # [1350254.573359] machine runuser[4905]: pam_unix(runuser-l:session): session closed for user alice119machine # [1350254.600064] machine runuser[4918]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)120machine # [1350254.799877] machine systemd[1]: Started Nix Daemon.121== 1. resolve122ok resolve: one root123ok resolve: the drv nix-instantiate wrote124machine # [1350254.876014] machine nix-daemon[5028]: accepted connection from pid 5008, user alice (trusted)125machine # [1350254.949147] machine nix-daemon[5028]: accepted connection from pid 5048, user alice (trusted)126machine # [1350254.994536] machine nix-daemon[5028]: accepted connection from pid 5069, user alice (trusted)127ok resolve --walk get-drvs: nix-instantiate's roots128ok resolve --walk get-drvs: the attribute path of each129ok resolve --walk to-install: meta.outputsToInstall130ok resolve --walk context: the value named no output131machine # [1350255.216989] machine nix-daemon[5028]: accepted connection from pid 5104, user alice (trusted)132ok resolve: the one root133ok resolve --dump-drvs: every derivation, whichever fiber made it134ok resolve --dump-drvs: every derivation under a helper's thunk, every run135== 2. plan136ok plan: the root's closure137ok plan: read from /nix/store138ok plan: no sources139== 3. missing140ok missing: willBuild141ok missing: the documented keys142ok missing: --check-cache-status per root143ok missing: neededBuilds144these 2 derivations will be built:145 /nix/store/igd7hb6mhq65q43pyrriaf3h191zpns1-plumb-hello.drv146 /nix/store/lqqyndbak6gx0d8zpzv96dpiijrx9ln2-plumb-top.drv147ok missing: byte-identical to build --dry-run --json148== 4. build149machine # [1350256.553620] machine nix-daemon[5028]: accepted connection from pid 5176, user alice (trusted)150machine # [1350256.610285] machine nix-daemon[5028]: accepted connection from pid 5185, user alice (trusted)151machine # [1350256.623619] machine nix-daemon[5028]: accepted connection from pid 5185, user alice (trusted)152machine # [1350256.668133] machine nix-daemon[5028]: accepted connection from pid 5196, user alice (trusted)153machine # [1350256.793076] machine nix-daemon[5028]: accepted connection from pid 5204, user alice (trusted)154machine # [1350256.859035] machine nix-daemon[5028]: accepted connection from pid 5215, user alice (trusted)155ok build: the outcome156ok build: the output is in the store157machine # [1350256.988953] machine nix-daemon[5028]: accepted connection from pid 5247, user alice (trusted)158ok build: a failed build exits 100159ok build: --gc-root reports the links160ok build: --gc-root links the output161ok build: --no-build builds nothing162== 5. composition163ok plan | build --roots -164ok resolve | missing --roots - (already built)165ok resolve | plan without a dump: the drv is in no store166machine # [1350257.140509] machine nix-daemon[5028]: accepted connection from pid 5279, user alice (trusted)167machine # [1350257.224501] machine nix-daemon[5028]: accepted connection from pid 5290, user alice (trusted)168machine # [1350257.246893] machine nix-daemon[5028]: accepted connection from pid 5300, user alice (trusted)169machine # [1350257.369749] machine nix-daemon[5028]: accepted connection from pid 5311, user alice (trusted)170ok resolve --dump-drvs | plan: nothing read from /nix/store171ok resolve --dump-drvs | plan: the whole closure172▶ building plumb-hello173▶ building plumb-top.drv174✔ plumb-top.drv (0s)175✔ plumb-hello (0s)176ok resolve --dump-drvs | build177== 6. fetch178ok fetch: {hash, url}179ok fetch: --hash-type180PASS181machine # [1350257.864281] machine nix-daemon[5028]: accepted connection from pid 5344, user alice (trusted)182machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/951piw6897zcncnhrl8absk99vzhfyja-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/plumbing-e2e.nu' >&2, in 3.60 seconds)183(finished: run the VM test script, in 26.74 seconds)184test script finished in 26.80s185cleanup186kill NspawnMachine (pid 50)187(finished: cleanup, in 0.11 seconds)188Container machine terminated by signal KILL.