container-test-run-iets-build-e2e
checks.x86_64-linux.build-e2e
· build #386
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.02 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 # [1764490.250072] machine systemd-journald[57]: Journal started23machine # [1764490.250151] machine systemd-journald[57]: Runtime Journal (/run/log/journal/c6da021c69f84bddb3140447e76abdf9) is 8M, max 2.5G, 2.5G free.24machine # [1764490.369144] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.25machine # [1764490.492809] machine systemd[1]: Starting Flush Journal to Persistent Storage...26machine # [1764490.496190] machine systemd[1]: Starting Create Static Device Nodes in /dev...27machine # [1764490.497731] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/c6da021c69f84bddb3140447e76abdf9 is 1.970ms for 5 entries.28machine # [1764490.497731] machine systemd-journald[57]: System Journal (/var/log/journal/c6da021c69f84bddb3140447e76abdf9) is 512B, max 4G, 3.9G free.29machine # [1764490.553180] machine systemd[1]: Finished Firewall.30machine # [1764490.553406] machine systemd[1]: Finished Flush Journal to Persistent Storage.31machine # [1764490.553946] machine systemd[1]: Finished Create Static Device Nodes in /dev.32machine # [1764490.575059] machine systemd[1]: Reached target Preparation for Local File Systems.33machine # [1764490.607371] machine systemd[1]: Mounting /run/wrappers...34machine # [1764490.607433] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys35machine # [1764490.650906] machine systemd[1]: Mounted /run/wrappers.36machine # [1764490.651359] machine systemd[1]: Reached target Local File Systems.37machine # [1764490.652282] machine systemd[1]: Listening on Boot Loader Control Service Socket.38machine # [1764490.671148] machine systemd[1]: Starting Create SUID/SGID Wrappers...39machine # [1764490.671208] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container40machine # [1764490.675309] machine systemd[1]: Starting Save Transient machine-id to Disk...41machine # [1764490.678027] machine systemd[1]: Starting Create System Files and Directories...42machine # [1764490.694488] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted43machine # [1764490.694764] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted44machine # [1764490.694880] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/c6da021c69f84bddb3140447e76abdf9 failed: Operation not permitted45machine # [1764490.695589] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted46machine # [1764490.700033] machine systemd[1]: Finished Create System Files and Directories.47machine # [1764490.703873] machine suid-sgid-wrappers-start[170]: chmod: changing permissions of '/run/wrappers/wrappers.BlqMvOC9Iv/chsh': Operation not permitted48machine # [1764490.706276] machine systemd[1]: Starting Rebuild Journal Catalog...49machine # [1764490.714166] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...50machine # [1764490.714453] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE51machine # [1764490.714546] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.52machine # [1764490.714742] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.53machine # [1764490.738367] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.54machine # [1764490.783468] machine systemd[1]: Finished Rebuild Journal Catalog.55machine # [1764490.813442] machine systemd[1]: Starting Update is Completed...56machine # [1764490.853885] machine systemd[1]: Finished Update is Completed.57machine # [1764490.854808] machine systemd[1]: Reached target System Initialization.58machine # [1764490.854944] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container59machine # [1764490.855520] machine systemd[1]: Started Daily Cleanup of Temporary Directories.60machine # [1764490.855547] machine systemd[1]: Reached target Timer Units.61machine # [1764490.855777] machine systemd[1]: Listening on D-Bus System Message Bus Socket.62machine # [1764490.855850] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.63machine # [1764490.855869] machine systemd[1]: Reached target Socket Units.64machine # [1764490.856066] machine systemd[1]: Reached target Basic System.65machine # [1764490.859135] machine systemd[1]: Starting Import lastlog data into lastlog2 database...66machine # [1764490.863916] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...67machine # [1764490.866435] machine systemd[1]: Starting resolvconf update...68machine # [1764490.936024] machine systemd[1]: Finished Import lastlog data into lastlog2 database.69machine # [1764491.361719] machine systemd[1]: nscd.service: Deactivated successfully.70machine # [1764491.381169] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).71machine # [1764491.407823] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...72machine # [1764491.474230] machine resolvconf-start[235]: setfacl: /run/resolvconf: Operation not supported73machine # [1764491.477405] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE74machine # [1764491.477512] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.75machine # [1764491.477699] machine systemd[1]: Failed to start resolvconf update.76machine # [1764491.478756] machine systemd[1]: Reached target Preparation for Network.77machine # [1764491.485136] machine systemd[1]: Starting Address configuration of eth1...78machine # [1764491.496171] machine systemd[1]: Starting Extra networking commands....79machine # [1764491.664535] machine network-addresses-eth1-start[237]: adding address 192.168.1.1/24... done80machine # [1764491.710431] machine network-addresses-eth1-start[237]: adding address 2001:db8:1::1/64... done81machine # [1764491.809607] machine systemd[1]: Finished Address configuration of eth1.82machine # [1764491.809975] machine systemd[1]: Finished Extra networking commands..83machine # [1764491.811147] machine systemd[1]: Reached target Network.84machine # [1764492.117649] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.85machine # [1764492.119046] machine systemd[1]: Finished Save Transient machine-id to Disk.86machine # [1764493.240120] machine systemd[1]: Started Name Service Cache Daemon (nsncd).87machine # [1764493.240685] machine systemd[1]: Reached target Host and Network Name Lookups.88machine # [1764493.240853] machine systemd[1]: Reached target User and Group Name Lookups.89machine # [1764493.241251] machine nsncd[221]: Oct 15 09:07:43.971 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"90machine # [1764493.250164] machine systemd[1]: Starting User Login Management...91machine # [1764493.254171] machine systemd[1]: Starting Permit User Sessions...92machine # [1764493.287465] machine systemd[1]: Finished Permit User Sessions.93machine # [1764493.290888] machine systemd[1]: Started Console Getty.94machine # [1764493.290969] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty095machine # [1764493.290995] machine systemd[1]: Reached target Login Prompts.96machine: still waiting for container 'machine' to reach ready state...97machine # [1764504.641869] machine systemd-logind[306]: New seat seat0.98machine # [1764504.643182] machine systemd[1]: Starting D-Bus System Message Bus...99machine # [1764504.643391] machine systemd[1]: Started User Login Management.100machine # [1764504.648150] machine systemd[1]: Starting linger-users.service...101machine # [1764504.708424] machine systemd[1]: linger-users.service: Deactivated successfully.102machine # [1764504.708779] machine systemd[1]: Finished linger-users.service.103machine # [1764504.709785] machine systemd[1]: Reached target Multi-User System.104machine: still waiting for container 'machine' to reach ready state...105machine # [1764508.973910] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...106machine # [1764508.993052] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'107machine # [1764508.993052] machine dbus-broker-launch[316]: Invalid user-name in /nix/store/jlg1ir1z4dfm81ya2kccdm1fv06giam6-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"108machine # [1764508.994658] machine systemd[1]: Started D-Bus System Message Bus.109machine # [1764509.002094] machine systemd[1]: Startup finished in 19.787s.110machine # [1764509.067332] machine dbus-broker-launch[316]: Ready111machine: (finished: waiting for unit multi-user.target, in 21.32 seconds)112machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/0i64v91ldvim87ni958dsb1qah4kykba-closure-info113warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.114machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/0i64v91ldvim87ni958dsb1qah4kykba-closure-info, in 58.87 seconds)115machine: must succeed: systemctl start nix-daemon.socket116machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.24 seconds)117machine: must succeed: cp -r /nix/store/psd8av2a69960mfiqmihywa440ii98an-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets118machine: (finished: must succeed: cp -r /nix/store/psd8av2a69960mfiqmihywa440ii98an-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.41 seconds)119machine: 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'120machine # [1764568.544429] machine systemd[1]: Listening on Nix Daemon Socket.121machine # [1764568.987606] machine runuser[4907]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)122machine: (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.45 seconds)123machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/z3m2ww6va25y7dvh1kfhgwqr2cza00zm-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2124== 1. build path:DIR#checks125machine # [1764569.411830] machine runuser[4907]: pam_unix(runuser-l:session): session closed for user alice126machine # [1764569.435523] machine runuser[4920]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)127machine # [1764570.603735] machine systemd[1]: Started Nix Daemon.128machine # [1764570.720589] machine nix-daemon[4990]: accepted connection from pid 4980, user alice (trusted)129ok a failing check exits 100130ok the failing attribute is named131ok the failure log tail is printed132ok the checks after the failure built133ok the closing line counts them134ok stdout has one path per output built135ok every path is there136ok the other system is not evaluated into the build137== 2. --json138machine # [1764572.261653] machine nix-daemon[4990]: accepted connection from pid 4980, user alice (trusted)139machine # [1764572.649130] machine nix-daemon[4990]: accepted connection from pid 5055, user alice (trusted)140ok --json keeps the exit code141ok one outcome per check, by attribute142ok the outcome has the plumbing keys143ok the failure has a reason and no output144ok the failure has its log tail145ok the others have the paths of case 1146== 3. what is built is not built again147ok no second build of a valid output148ok the failure is tried again149== 4. one root150machine # [1764574.440028] machine nix-daemon[4990]: accepted connection from pid 5055, user alice (trusted)151machine # [1764579.432829] machine nix-daemon[4990]: accepted connection from pid 5095, user alice (trusted)152ok the failing check alone: exit 100, no path153ok one root has no closing line154machine # [1764583.511677] machine nix-daemon[4990]: accepted connection from pid 5130, user alice (trusted)155ok #packages builds its one member156machine # [1764584.131252] machine nix-daemon[4990]: accepted connection from pid 5130, user alice (trusted)157ok a system named in full is walked as it is158== 5. a file, -A and --argstr159machine # [1764584.744689] machine nix-daemon[4990]: accepted connection from pid 5167, user alice (trusted)160machine # [1764587.111624] machine nix-daemon[4990]: accepted connection from pid 5186, user alice (trusted)161ok -A ci reaches the failing check162ok the failure is named by its attribute path163ok the same paths as the flake gave164== 6. --dry-run over a tree165machine # [1764588.127451] machine nix-daemon[4990]: accepted connection from pid 5186, user alice (trusted)166ok the plan has the four checks167== 7. no verdict without an evaluation168machine # [1764591.562392] machine nix-daemon[4990]: accepted connection from pid 5226, user alice (trusted)169ok an attribute that throws stops the run170ok nothing was built171ok a tree with no derivation is an error172== 8. a failure in a dependency173machine # [1764605.721526] machine nix-daemon[4990]: accepted connection from pid 5261, user alice (trusted)174ok a dependency that failed to build exits 100175machine # [1764608.643986] machine nix-daemon[4990]: accepted connection from pid 5298, user alice (trusted)176ok a dependency with a hash mismatch exits 102177ok the dependency that failed keeps no check mark178== 9. a build log cannot forge a hash mismatch179machine # [1764610.089179] machine nix-daemon[4990]: accepted connection from pid 5335, user alice (trusted)180ok a forged mismatch never rewrites a hash in the file181ok nothing was fixed182== 10. --no-build with several installables183ok --no-build uploads every installable18433 cases, 0 failed185PASS186machine # [1764614.427424] machine nix-daemon[4990]: accepted connection from pid 5370, user alice (trusted)187machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/z3m2ww6va25y7dvh1kfhgwqr2cza00zm-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2, in 45.39 seconds)188(finished: run the VM test script, in 126.69 seconds)189machine # [1764614.755441] machine runuser[4920]: pam_unix(runuser-l:session): session closed for user alice190test script finished in 127.52s191cleanup192kill NspawnMachine (pid 50)193Container machine terminated by signal KILL.194(finished: cleanup, in 0.50 seconds)