container-test-run-iets-build-e2e
checks.x86_64-linux.build-e2e
· build #424
· 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 # No journal files were found.19machine # No journal boot entry found for the specified boot (+0).20machine # [296289.800549] machine systemd-journald[57]: Journal started21machine # [296289.800612] machine systemd-journald[57]: Runtime Journal (/run/log/journal/edc244fa6aa8484ab4926b58bdb63de2) is 8M, max 2.5G, 2.5G free.22machine # [296289.819370] machine systemd[1]: Finished Apply Kernel Variables.23machine # [296289.835682] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.24machine # [296289.855278] machine systemd[1]: Starting Flush Journal to Persistent Storage...25machine # [296289.855726] machine systemd[1]: Starting Create Static Device Nodes in /dev...26machine # [296289.902726] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/edc244fa6aa8484ab4926b58bdb63de2 is 3.239ms for 6 entries.27machine # [296289.902726] machine systemd-journald[57]: System Journal (/var/log/journal/edc244fa6aa8484ab4926b58bdb63de2) is 512B, max 4G, 3.9G free.28machine # [296289.928419] machine systemd[1]: Finished Create Static Device Nodes in /dev.29machine # [296289.929422] machine systemd[1]: Reached target Preparation for Local File Systems.30machine # [296289.929520] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys31machine # [296289.948151] machine systemd[1]: Finished Flush Journal to Persistent Storage.32machine # [296289.999183] machine systemd[1]: Finished Firewall.33machine # [296290.800014] machine systemd[1]: Mounting /run/wrappers...34machine # [296290.839812] machine systemd[1]: Mounted /run/wrappers.35machine # [296290.840530] machine systemd[1]: Reached target Local File Systems.36machine # [296290.841150] machine systemd[1]: Listening on Boot Loader Control Service Socket.37machine # [296290.841932] machine systemd[1]: Starting Create SUID/SGID Wrappers...38machine # [296290.841960] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container39machine # [296290.842549] machine systemd[1]: Starting Save Transient machine-id to Disk...40machine # [296290.843051] machine systemd[1]: Starting Create System Files and Directories...41machine # [296290.856322] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted42machine # [296290.856457] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted43machine # [296290.856533] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/edc244fa6aa8484ab4926b58bdb63de2 failed: Operation not permitted44machine # [296290.856637] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted45machine # [296290.859562] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.L4BoAflfBD/chsh': Operation not permitted46machine # [296290.860896] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE47machine # [296290.860954] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.48machine # [296290.861048] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.49machine # [296290.861464] machine systemd[1]: Finished Create System Files and Directories.50machine # [296290.875218] machine systemd[1]: Starting Rebuild Journal Catalog...51machine # [296290.875983] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...52machine # [296290.886856] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.53machine # [296290.892396] machine systemd[1]: Finished Rebuild Journal Catalog.54machine # [296290.893659] machine systemd[1]: Starting Update is Completed...55machine # [296290.902126] machine systemd[1]: Finished Update is Completed.56machine # [296290.902240] machine systemd[1]: Reached target System Initialization.57machine # [296290.902314] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container58machine # [296290.902353] machine systemd[1]: Started Daily Cleanup of Temporary Directories.59machine # [296290.902372] machine systemd[1]: Reached target Timer Units.60machine # [296290.902802] machine systemd[1]: Listening on D-Bus System Message Bus Socket.61machine # [296290.902876] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.62machine # [296290.902890] machine systemd[1]: Reached target Socket Units.63machine # [296290.902915] machine systemd[1]: Reached target Basic System.64machine # [296290.903973] machine systemd[1]: Starting Import lastlog data into lastlog2 database...65machine # [296290.905257] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...66machine # [296290.906314] machine systemd[1]: Starting resolvconf update...67machine # [296290.921542] machine systemd[1]: Finished Import lastlog data into lastlog2 database.68machine # [296290.953614] machine systemd[1]: nscd.service: Deactivated successfully.69machine # [296290.956935] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).70machine # [296290.958963] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...71machine # [296290.963698] machine resolvconf-start[235]: setfacl: /run/resolvconf: Operation not supported72machine # [296290.964342] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE73machine # [296290.964401] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.74machine # [296290.964505] machine systemd[1]: Failed to start resolvconf update.75machine # [296290.964609] machine systemd[1]: Reached target Preparation for Network.76machine # [296290.965193] machine systemd[1]: Starting Address configuration of eth1...77machine # [296290.965938] machine systemd[1]: Starting Extra networking commands....78machine # [296290.981330] machine network-addresses-eth1-start[237]: adding address 192.168.1.1/24... done79machine # [296290.983626] machine network-addresses-eth1-start[237]: adding address 2001:db8:1::1/64... done80machine # [296290.987734] machine systemd[1]: Finished Address configuration of eth1.81machine # [296291.019192] machine systemd[1]: Finished Extra networking commands..82machine # [296291.019269] machine systemd[1]: Reached target Network.83machine # [296291.133842] machine nsncd[231]: Oct 19 07:10:52.156 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"84machine # [296291.133882] machine systemd[1]: Started Name Service Cache Daemon (nsncd).85machine # [296291.133937] machine systemd[1]: Reached target Host and Network Name Lookups.86machine # [296291.133986] machine systemd[1]: Reached target User and Group Name Lookups.87machine # [296291.154884] machine systemd[1]: Starting User Login Management...88machine # [296291.155806] machine systemd[1]: Starting Permit User Sessions...89machine # [296291.165115] machine systemd[1]: Finished Permit User Sessions.90machine # [296291.165962] machine systemd[1]: Started Console Getty.91machine # [296291.165997] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty092machine # [296291.166018] machine systemd[1]: Reached target Login Prompts.93machine # [296292.196105] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.94machine # [296292.213193] machine systemd[1]: Finished Save Transient machine-id to Disk.95machine # [296292.532112] machine systemd-logind[305]: New seat seat0.96machine # [296292.533534] machine systemd[1]: Starting D-Bus System Message Bus...97machine # [296292.533632] machine systemd[1]: Started User Login Management.98machine # [296292.537795] machine systemd[1]: Starting linger-users.service...99machine # [296292.549944] machine systemd[1]: linger-users.service: Deactivated successfully.100machine # [296292.550054] machine systemd[1]: Finished linger-users.service.101machine # [296292.550167] machine systemd[1]: Reached target Multi-User System.102machine # [296293.006272] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...103machine # [296293.006847] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'104machine # [296293.006847] 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 # [296293.007314] machine systemd[1]: Started D-Bus System Message Bus.106machine # [296293.007528] machine systemd[1]: Startup finished in 3.643s.107machine # [296293.015101] machine dbus-broker-launch[316]: Ready108machine: (finished: waiting for unit multi-user.target, in 4.65 seconds)109machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/m0zz7ghvr9dlrvm46hjjlkhhfvhnxkqq-closure-info110warning: '--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/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/m0zz7ghvr9dlrvm46hjjlkhhfvhnxkqq-closure-info, in 18.19 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/lsvb77k0hrk0ixhg0wqkdiiddvb4q5kc-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets115machine # [296311.716087] machine systemd[1]: Listening on Nix Daemon Socket.116machine: (finished: must succeed: cp -r /nix/store/lsvb77k0hrk0ixhg0wqkdiiddvb4q5kc-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.33 seconds)117machine: 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'118machine: (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.20 seconds)119machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/s1knhqmd8dk0g9aah2mwhggr2537dkms-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 # [296312.065492] machine runuser[4926]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)122machine # [296312.252845] machine runuser[4926]: pam_unix(runuser-l:session): session closed for user alice123machine # [296312.265629] machine runuser[4939]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)124machine # [296312.522184] machine systemd[1]: Started Nix Daemon.125machine # [296312.596214] machine nix-daemon[5009]: accepted connection from pid 4999, user alice (trusted)126machine # [296312.868690] machine nix-daemon[5009]: accepted connection from pid 4999, user alice (trusted)127ok a failing check exits 100128ok the failing attribute is named129ok the failure log tail is printed130ok the checks after the failure built131ok the closing line counts them132ok stdout has one path per output built133ok every path is there134ok the other system is not evaluated into the build135== 2. --json136ok --json keeps the exit code137ok one outcome per check, by attribute138ok the outcome has the plumbing keys139ok the failure has a reason and no output140ok the failure has its log tail141ok the others have the paths of case 1142== 3. what is built is not built again143ok no second build of a valid output144ok the failure is tried again145== 4. one root146machine # [296313.246511] machine nix-daemon[5009]: accepted connection from pid 5074, user alice (trusted)147machine # [296313.361837] machine nix-daemon[5009]: accepted connection from pid 5074, user alice (trusted)148ok the failing check alone: exit 100, no path149ok one root has no closing line150machine # [296313.527215] machine nix-daemon[5009]: accepted connection from pid 5114, user alice (trusted)151machine # [296313.701859] machine nix-daemon[5009]: accepted connection from pid 5149, user alice (trusted)152ok #packages builds its one member153ok a system named in full is walked as it is154== 5. a file, -A and --argstr155machine # [296313.809895] machine nix-daemon[5009]: accepted connection from pid 5149, user alice (trusted)156machine # [296313.915100] machine nix-daemon[5009]: accepted connection from pid 5186, user alice (trusted)157machine # [296314.193065] machine nix-daemon[5009]: accepted connection from pid 5205, user alice (trusted)158ok -A ci reaches the failing check159ok the failure is named by its attribute path160ok the same paths as the flake gave161== 6. --dry-run over a tree162ok the plan has the four checks163== 7. no verdict without an evaluation164machine # [296314.847044] machine nix-daemon[5009]: accepted connection from pid 5205, user alice (trusted)165machine # [296315.084552] machine nix-daemon[5009]: accepted connection from pid 5245, user alice (trusted)166ok an attribute that throws stops the run167ok nothing was built168ok a tree with no derivation is an error169== 8. a failure in a dependency170ok a dependency that failed to build exits 100171machine # [296315.453769] machine nix-daemon[5009]: accepted connection from pid 5280, user alice (trusted)172machine # [296315.640823] machine nix-daemon[5009]: accepted connection from pid 5317, user alice (trusted)173ok a dependency with a hash mismatch exits 102174ok the dependency that failed keeps no check mark175== 9. a build log cannot forge a hash mismatch176ok a forged mismatch never rewrites a hash in the file177ok nothing was fixed178== 10. --no-build with several installables179ok --no-build uploads every installable18033 cases, 0 failed181PASS182machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/s1knhqmd8dk0g9aah2mwhggr2537dkms-iets-0.1.0/bin/iets NIXPKGS=/nix/store/r5l65vg4gi4dnx54zkwagfb8jmlqniy5-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2, in 3.96 seconds)183(finished: run the VM test script, in 27.36 seconds)184machine # [296315.979881] machine nix-daemon[5009]: accepted connection from pid 5354, user alice (trusted)185machine # [296316.183783] machine nix-daemon[5009]: accepted connection from pid 5389, user alice (trusted)186machine # [296316.210016] machine runuser[4939]: pam_unix(runuser-l:session): session closed for user alice187test script finished in 27.86s188cleanup189kill NspawnMachine (pid 50)190(finished: cleanup, in 0.12 seconds)191Container machine terminated by signal KILL.