container-test-run-iets-build-e2e
checks.x86_64-linux.build-e2e
· build #405
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.02 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 # No journal files were found.21machine # No journal boot entry found for the specified boot (+0).22machine # No journal files were found.23machine # No journal boot entry found for the specified boot (+0).24machine # No journal files were found.25machine # No journal boot entry found for the specified boot (+0).26machine # No journal files were found.27machine # No journal boot entry found for the specified boot (+0).28machine # [143694.324308] machine systemd-journald[57]: Journal started29machine # [143694.324390] machine systemd-journald[57]: Runtime Journal (/run/log/journal/6e82f5b3c6ce4c809ffd5df032c9f2a4) is 8M, max 2.5G, 2.5G free.30machine # [143695.014373] machine systemd[1]: Listening on Journal Log Access Socket.31machine # [143695.014761] machine systemd[1]: Finished Firewall.32machine # [143695.020189] machine systemd[1]: Finished Apply Kernel Variables.33machine # [143695.352229] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.34machine # [143696.748215] machine systemd[1]: Starting Flush Journal to Persistent Storage...35machine # [143696.756194] machine systemd[1]: Starting Create Static Device Nodes in /dev...36machine # [143696.789603] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/6e82f5b3c6ce4c809ffd5df032c9f2a4 is 1.549ms for 8 entries.37machine # [143696.789603] machine systemd-journald[57]: System Journal (/var/log/journal/6e82f5b3c6ce4c809ffd5df032c9f2a4) is 512B, max 4G, 3.9G free.38machine # [143696.943406] machine systemd[1]: Finished Flush Journal to Persistent Storage.39machine # [143696.973243] machine systemd[1]: Finished Create Static Device Nodes in /dev.40machine # [143697.253486] machine systemd[1]: Reached target Preparation for Local File Systems.41machine # [143697.261204] machine systemd[1]: Mounting /run/wrappers...42machine # [143697.261276] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys43machine # [143697.471035] machine systemd[1]: Mounted /run/wrappers.44machine # [143697.471904] machine systemd[1]: Reached target Local File Systems.45machine # [143697.487734] machine systemd[1]: Listening on Boot Loader Control Service Socket.46machine # [143697.492519] machine systemd[1]: Starting Create SUID/SGID Wrappers...47machine # [143697.492575] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container48machine # [143697.501179] machine systemd[1]: Starting Save Transient machine-id to Disk...49machine # [143697.544179] machine systemd[1]: Starting Create System Files and Directories...50machine # [143697.588294] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted51machine # [143697.588506] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted52machine # [143697.588626] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/6e82f5b3c6ce4c809ffd5df032c9f2a4 failed: Operation not permitted53machine # [143697.588788] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted54machine # [143697.598034] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.W9ZTeLYCXY/chsh': Operation not permitted55machine # [143697.620315] machine systemd[1]: Finished Create System Files and Directories.56machine # [143697.722998] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE57machine # [143697.723126] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.58machine # [143697.723317] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.59machine # [143697.732254] machine systemd[1]: Starting Rebuild Journal Catalog...60machine # [143697.735282] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...61machine # [143697.790489] machine systemd[1]: Finished Rebuild Journal Catalog.62machine # [143697.797243] machine systemd[1]: Starting Update is Completed...63machine # [143697.797586] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.64machine # [143697.822586] machine systemd[1]: Finished Update is Completed.65machine # [143697.823189] machine systemd[1]: Reached target System Initialization.66machine # [143697.823308] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container67machine # [143697.823358] machine systemd[1]: Started Daily Cleanup of Temporary Directories.68machine # [143697.823384] machine systemd[1]: Reached target Timer Units.69machine # [143697.823746] machine systemd[1]: Listening on D-Bus System Message Bus Socket.70machine # [143697.823836] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.71machine # [143697.823857] machine systemd[1]: Reached target Socket Units.72machine # [143697.823890] machine systemd[1]: Reached target Basic System.73machine # [143697.830166] machine systemd[1]: Starting Import lastlog data into lastlog2 database...74machine # [143697.834159] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...75machine # [143697.844163] machine systemd[1]: Starting resolvconf update...76machine # [143697.874020] machine systemd[1]: Finished Import lastlog data into lastlog2 database.77machine # [143698.128392] machine resolvconf-start[230]: setfacl: /run/resolvconf: Operation not supported78machine # [143698.138363] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE79machine # [143698.138475] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.80machine # [143698.138742] machine systemd[1]: Failed to start resolvconf update.81machine # [143698.140171] machine systemd[1]: Reached target Preparation for Network.82machine # [143698.180868] machine systemd[1]: Starting Address configuration of eth1...83machine # [143698.187485] machine systemd[1]: Starting Extra networking commands....84machine # [143698.187820] machine systemd[1]: nscd.service: Deactivated successfully.85machine # [143698.205429] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).86machine # [143698.220204] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...87machine # [143698.267191] machine network-addresses-eth1-start[233]: adding address 192.168.1.1/24... done88machine # [143698.276843] machine network-addresses-eth1-start[233]: adding address 2001:db8:1::1/64... done89machine # [143698.283531] machine systemd[1]: Finished Address configuration of eth1.90machine # [143698.436505] machine systemd[1]: Finished Extra networking commands..91machine # [143698.437257] machine systemd[1]: Reached target Network.92machine # [143699.038725] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.93machine # [143699.050275] machine systemd[1]: Finished Save Transient machine-id to Disk.94machine # [143700.749231] machine nsncd[237]: Oct 17 12:47:41.772 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"95machine # [143700.753522] machine systemd[1]: Started Name Service Cache Daemon (nsncd).96machine # [143700.753631] machine systemd[1]: Reached target Host and Network Name Lookups.97machine # [143700.753702] machine systemd[1]: Reached target User and Group Name Lookups.98machine # [143700.769185] machine systemd[1]: Starting User Login Management...99machine # [143700.804595] machine systemd[1]: Starting Permit User Sessions...100machine # [143700.864203] machine systemd[1]: Finished Permit User Sessions.101machine # [143700.869167] machine systemd[1]: Started Console Getty.102machine # [143700.869241] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0103machine # [143700.869266] machine systemd[1]: Reached target Login Prompts.104machine: still waiting for container 'machine' to reach ready state...105machine: still waiting for container 'machine' to reach ready state...106machine # [143716.969034] machine systemd[1]: Starting D-Bus System Message Bus...107machine # [143716.975285] machine systemd-logind[306]: New seat seat0.108machine # [143716.976100] machine systemd[1]: Started User Login Management.109machine # [143717.003410] machine systemd[1]: Starting linger-users.service...110machine # [143717.077980] machine systemd[1]: linger-users.service: Deactivated successfully.111machine # [143717.078452] machine systemd[1]: Finished linger-users.service.112machine # [143717.079277] machine systemd[1]: Reached target Multi-User System.113machine: still waiting for container 'machine' to reach ready state...114machine: (finished: waiting for unit multi-user.target, in 33.27 seconds)115machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/dqfx4wz0c4ap3nzyj7knkbmpxr3pyi81-closure-info116machine # [143723.888236] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...117machine # [143723.901146] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'118machine # [143723.901146] 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"119machine # [143723.901512] machine systemd[1]: Started D-Bus System Message Bus.120machine # [143723.902124] machine systemd[1]: Startup finished in 31.180s.121machine # [143723.942636] machine dbus-broker-launch[316]: Ready122warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.123machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/dqfx4wz0c4ap3nzyj7knkbmpxr3pyi81-closure-info, in 25.40 seconds)124machine: must succeed: systemctl start nix-daemon.socket125machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.01 seconds)126machine: must succeed: cp -r /nix/store/f9jfvr9kkdr8r3kmhiwy2vrqk49s5isb-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets127machine: (finished: must succeed: cp -r /nix/store/f9jfvr9kkdr8r3kmhiwy2vrqk49s5isb-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.11 seconds)128machine: 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'129machine # [143749.648501] machine systemd[1]: Listening on Nix Daemon Socket.130machine # [143749.766648] machine runuser[4909]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)131machine # [143749.968839] machine runuser[4909]: pam_unix(runuser-l:session): session closed for user alice132machine: (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.21 seconds)133machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/fx4grarygdzvq3g8nf303mh8g7mqxcpv-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2134== 1. build path:DIR#checks135machine # [143749.978696] machine runuser[4922]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)136machine # [143750.663743] machine systemd[1]: Started Nix Daemon.137machine # [143750.713773] machine nix-daemon[4992]: accepted connection from pid 4982, user alice (trusted)138ok a failing check exits 100139ok the failing attribute is named140ok the failure log tail is printed141ok the checks after the failure built142ok the closing line counts them143ok stdout has one path per output built144ok every path is there145ok the other system is not evaluated into the build146== 2. --json147ok --json keeps the exit code148ok one outcome per check, by attribute149ok the outcome has the plumbing keys150ok the failure has a reason and no output151ok the failure has its log tail152ok the others have the paths of case 1153== 3. what is built is not built again154ok no second build of a valid output155ok the failure is tried again156== 4. one root157machine # [143750.969330] machine nix-daemon[4992]: accepted connection from pid 4982, user alice (trusted)158machine # [143750.992678] machine nix-daemon[4992]: accepted connection from pid 5057, user alice (trusted)159machine # [143751.109570] machine nix-daemon[4992]: accepted connection from pid 5057, user alice (trusted)160ok the failing check alone: exit 100, no path161ok one root has no closing line162machine # [143751.356289] machine nix-daemon[4992]: accepted connection from pid 5097, user alice (trusted)163ok #packages builds its one member164machine # [143752.154395] machine nix-daemon[4992]: accepted connection from pid 5132, user alice (trusted)165machine # [143752.263763] machine nix-daemon[4992]: accepted connection from pid 5132, user alice (trusted)166ok a system named in full is walked as it is167== 5. a file, -A and --argstr168machine # [143752.778108] machine nix-daemon[4992]: accepted connection from pid 5169, user alice (trusted)169ok -A ci reaches the failing check170ok the failure is named by its attribute path171ok the same paths as the flake gave172== 6. --dry-run over a tree173ok the plan has the four checks174== 7. no verdict without an evaluation175ok an attribute that throws stops the run176ok nothing was built177machine # [143753.456539] machine nix-daemon[4992]: accepted connection from pid 5188, user alice (trusted)178machine # [143753.560201] machine nix-daemon[4992]: accepted connection from pid 5188, user alice (trusted)179machine # [143753.665587] machine nix-daemon[4992]: accepted connection from pid 5228, user alice (trusted)180ok a tree with no derivation is an error181== 8. a failure in a dependency182ok a dependency that failed to build exits 100183machine # [143754.987871] machine nix-daemon[4992]: accepted connection from pid 5263, user alice (trusted)184machine # [143755.204634] machine nix-daemon[4992]: accepted connection from pid 5300, user alice (trusted)185ok a dependency with a hash mismatch exits 102186ok the dependency that failed keeps no check mark187== 9. a build log cannot forge a hash mismatch188ok a forged mismatch never rewrites a hash in the file189ok nothing was fixed190== 10. --no-build with several installables191ok --no-build uploads every installable19233 cases, 0 failed193PASS194machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/fx4grarygdzvq3g8nf303mh8g7mqxcpv-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2, in 5.58 seconds)195(finished: run the VM test script, in 64.57 seconds)196test script finished in 64.72s197cleanup198kill NspawnMachine (pid 50)199machine # [143755.361422] machine nix-daemon[4992]: accepted connection from pid 5337, user alice (trusted)200machine # [143755.531888] machine nix-daemon[4992]: accepted connection from pid 5372, user alice (trusted)201machine # [143755.543634] machine runuser[4922]: pam_unix(runuser-l:session): session closed for user alice202(finished: cleanup, in 0.11 seconds)203Container machine terminated by signal KILL.