container-test-run-iets-build-e2e
checks.x86_64-linux.build-e2e
· build #426
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.00 seconds)4Initializing machine ID from random generator.5Test 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 # [298226.399083] machine systemd-journald[57]: Journal started19machine # [298226.399134] machine systemd-journald[57]: Runtime Journal (/run/log/journal/b12e8c3fe8b148a98babc5764c2350ba) is 8M, max 2.5G, 2.5G free.20machine # [298226.421809] machine systemd[1]: Finished Apply Kernel Variables.21machine # [298226.458325] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.22machine # [298226.476718] machine systemd[1]: Starting Flush Journal to Persistent Storage...23machine # [298226.477253] machine systemd[1]: Starting Create Static Device Nodes in /dev...24machine # [298226.485192] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/b12e8c3fe8b148a98babc5764c2350ba is 1.360ms for 6 entries.25machine # [298226.485192] machine systemd-journald[57]: System Journal (/var/log/journal/b12e8c3fe8b148a98babc5764c2350ba) is 512B, max 4G, 3.9G free.26machine # [298226.497973] machine systemd[1]: Finished Create Static Device Nodes in /dev.27machine # [298226.498481] machine systemd[1]: Reached target Preparation for Local File Systems.28machine # [298226.498570] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys29machine # [298226.504512] machine systemd[1]: Finished Flush Journal to Persistent Storage.30machine # [298226.518874] machine systemd[1]: Finished Firewall.31machine # [298227.415662] machine systemd[1]: Mounting /run/wrappers...32machine # [298227.442117] machine systemd[1]: Mounted /run/wrappers.33machine # [298227.443106] machine systemd[1]: Reached target Local File Systems.34machine # [298227.444135] machine systemd[1]: Listening on Boot Loader Control Service Socket.35machine # [298227.444881] machine systemd[1]: Starting Create SUID/SGID Wrappers...36machine # [298227.444908] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container37machine # [298227.445686] machine systemd[1]: Starting Save Transient machine-id to Disk...38machine # [298227.446185] machine systemd[1]: Starting Create System Files and Directories...39machine # [298227.458935] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted40machine # [298227.459075] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted41machine # [298227.459166] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/b12e8c3fe8b148a98babc5764c2350ba failed: Operation not permitted42machine # [298227.459292] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted43machine # [298227.462462] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.HCC73RZpjD/chsh': Operation not permitted44machine # [298227.467306] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE45machine # [298227.467379] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.46machine # [298227.467499] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.47machine # [298227.467757] machine systemd[1]: Finished Create System Files and Directories.48machine # [298227.521213] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.49machine # [298227.534488] machine systemd[1]: Finished Save Transient machine-id to Disk.50machine # [298227.536753] machine systemd[1]: Starting Rebuild Journal Catalog...51machine # [298227.537286] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...52machine # [298227.547969] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.53machine # [298227.555180] machine systemd[1]: Finished Rebuild Journal Catalog.54machine # [298227.556099] machine systemd[1]: Starting Update is Completed...55machine # [298227.564125] machine systemd[1]: Finished Update is Completed.56machine # [298227.564239] machine systemd[1]: Reached target System Initialization.57machine # [298227.564298] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container58machine # [298227.564325] machine systemd[1]: Started Daily Cleanup of Temporary Directories.59machine # [298227.564342] machine systemd[1]: Reached target Timer Units.60machine # [298227.564613] machine systemd[1]: Listening on D-Bus System Message Bus Socket.61machine # [298227.564715] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.62machine # [298227.564736] machine systemd[1]: Reached target Socket Units.63machine # [298227.564772] machine systemd[1]: Reached target Basic System.64machine # [298227.565646] machine systemd[1]: Starting Import lastlog data into lastlog2 database...65machine # [298227.566272] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...66machine # [298227.567038] machine systemd[1]: Starting resolvconf update...67machine # [298227.581504] machine systemd[1]: Finished Import lastlog data into lastlog2 database.68machine # [298227.628007] machine resolvconf-start[231]: setfacl: /run/resolvconf: Operation not supported69machine # [298227.628950] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE70machine # [298227.629056] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.71machine # [298227.629198] machine systemd[1]: Failed to start resolvconf update.72machine # [298227.629345] machine systemd[1]: Reached target Preparation for Network.73machine # [298227.630035] machine systemd[1]: Starting Address configuration of eth1...74machine # [298227.630634] machine systemd[1]: Starting Extra networking commands....75machine # [298227.638267] machine systemd[1]: nscd.service: Deactivated successfully.76machine # [298227.638436] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).77machine # [298227.639989] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...78machine # [298227.646692] machine network-addresses-eth1-start[233]: adding address 192.168.1.1/24... done79machine # [298227.648716] machine network-addresses-eth1-start[233]: adding address 2001:db8:1::1/64... done80machine # [298227.652992] machine systemd[1]: Finished Address configuration of eth1.81machine # [298227.682876] machine systemd[1]: Finished Extra networking commands..82machine # [298227.683032] machine systemd[1]: Reached target Network.83machine # [298228.000949] machine nsncd[239]: Oct 19 07:43:09.023 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"84machine # [298228.001021] machine systemd[1]: Started Name Service Cache Daemon (nsncd).85machine # [298228.001076] machine systemd[1]: Reached target Host and Network Name Lookups.86machine # [298228.001122] machine systemd[1]: Reached target User and Group Name Lookups.87machine # [298228.002318] machine systemd[1]: Starting User Login Management...88machine # [298228.003270] machine systemd[1]: Starting Permit User Sessions...89machine # [298228.031423] machine systemd[1]: Finished Permit User Sessions.90machine # [298228.032389] machine systemd[1]: Started Console Getty.91machine # [298228.032425] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty092machine # [298228.032442] machine systemd[1]: Reached target Login Prompts.93machine # [298232.057156] machine systemd-logind[306]: New seat seat0.94machine # [298232.058802] machine systemd[1]: Starting D-Bus System Message Bus...95machine # [298232.058997] machine systemd[1]: Started User Login Management.96machine # [298232.059726] machine systemd[1]: Starting linger-users.service...97machine # [298232.128544] machine systemd[1]: linger-users.service: Deactivated successfully.98machine # [298232.128839] machine systemd[1]: Finished linger-users.service.99machine # [298232.129084] machine systemd[1]: Reached target Multi-User System.100machine: (finished: waiting for unit multi-user.target, in 8.16 seconds)101machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/zf4nb678a5z22xc8fgr7mqnknl50idb1-closure-info102machine # [298233.501050] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...103machine # [298233.501763] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'104machine # [298233.501763] machine dbus-broker-launch[316]: Invalid user-name in /nix/store/mls2pyi9qfvid69xpgavmjnhiab7y5im-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"105machine # [298233.502144] machine systemd[1]: Started D-Bus System Message Bus.106machine # [298233.502494] machine systemd[1]: Startup finished in 7.497s.107machine # [298233.508570] 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/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/zf4nb678a5z22xc8fgr7mqnknl50idb1-closure-info, in 15.55 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/1jn1hr724sx95p44hyd3iq439is7f00p-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets113machine: (finished: must succeed: cp -r /nix/store/1jn1hr724sx95p44hyd3iq439is7f00p-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.10 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 # [298249.313159] machine systemd[1]: Listening on Nix Daemon Socket.116machine # [298249.428326] machine runuser[4928]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)117machine # [298249.650667] machine runuser[4928]: pam_unix(runuser-l:session): session closed for user alice118machine: (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.24 seconds)119machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/aa6inrjw0ika9lxmz7hbpdy05l925ry0-iets-0.1.0/bin/iets NIXPKGS=/nix/store/r5l65vg4gi4dnx54zkwagfb8jmlqniy5-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2120== 1. build path:DIR#checks121machine # [298249.663240] machine runuser[4941]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)122machine # [298249.868227] machine systemd[1]: Started Nix Daemon.123ok a failing check exits 100124ok the failing attribute is named125ok the failure log tail is printed126ok the checks after the failure built127ok the closing line counts them128ok stdout has one path per output built129ok every path is there130ok the other system is not evaluated into the build131== 2. --json132machine # [298249.934080] machine nix-daemon[5010]: accepted connection from pid 5001, user alice (trusted)133machine # [298250.141624] machine nix-daemon[5010]: accepted connection from pid 5001, user alice (trusted)134ok --json keeps the exit code135ok one outcome per check, by attribute136ok the outcome has the plumbing keys137ok the failure has a reason and no output138ok the failure has its log tail139ok the others have the paths of case 1140== 3. what is built is not built again141ok no second build of a valid output142ok the failure is tried again143== 4. one root144machine # [298250.360994] machine nix-daemon[5010]: accepted connection from pid 5076, user alice (trusted)145machine # [298250.464073] machine nix-daemon[5010]: accepted connection from pid 5076, user alice (trusted)146ok the failing check alone: exit 100, no path147ok one root has no closing line148machine # [298250.644538] machine nix-daemon[5010]: accepted connection from pid 5116, user alice (trusted)149ok #packages builds its one member150machine # [298250.998688] machine nix-daemon[5010]: accepted connection from pid 5151, user alice (trusted)151machine # [298251.103121] machine nix-daemon[5010]: accepted connection from pid 5151, user alice (trusted)152ok a system named in full is walked as it is153== 5. a file, -A and --argstr154machine # [298251.496325] machine nix-daemon[5010]: accepted connection from pid 5188, user alice (trusted)155machine # [298251.840934] machine nix-daemon[5010]: accepted connection from pid 5207, user alice (trusted)156ok -A ci reaches the failing check157ok the failure is named by its attribute path158ok the same paths as the flake gave159== 6. --dry-run over a tree160machine # [298251.983438] machine nix-daemon[5010]: accepted connection from pid 5207, user alice (trusted)161ok the plan has the four checks162== 7. no verdict without an evaluation163ok an attribute that throws stops the run164ok nothing was built165machine # [298252.297082] machine nix-daemon[5010]: accepted connection from pid 5247, user alice (trusted)166ok a tree with no derivation is an error167== 8. a failure in a dependency168ok a dependency that failed to build exits 100169machine # [298253.235205] machine nix-daemon[5010]: accepted connection from pid 5282, user alice (trusted)170ok a dependency with a hash mismatch exits 102171ok the dependency that failed keeps no check mark172== 9. a build log cannot forge a hash mismatch173machine # [298253.596115] machine nix-daemon[5010]: accepted connection from pid 5319, user alice (trusted)174ok a forged mismatch never rewrites a hash in the file175ok nothing was fixed176== 10. --no-build with several installables177machine # [298253.955933] machine nix-daemon[5010]: accepted connection from pid 5356, user alice (trusted)178ok --no-build uploads every installable17933 cases, 0 failed180PASS181machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/aa6inrjw0ika9lxmz7hbpdy05l925ry0-iets-0.1.0/bin/iets NIXPKGS=/nix/store/r5l65vg4gi4dnx54zkwagfb8jmlqniy5-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2, in 4.94 seconds)182(finished: run the VM test script, in 29.00 seconds)183test script finished in 29.15s184cleanup185kill NspawnMachine (pid 50)186(finished: cleanup, in 0.11 seconds)187Container machine terminated by signal KILL.