container-test-run-iets-build-e2e
checks.x86_64-linux.build-e2e
· build #465
· 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 # [506449.500417] machine systemd-journald[57]: Journal started23machine # [506449.500503] machine systemd-journald[57]: Runtime Journal (/run/log/journal/8cac217e3a334bbd957eed859aab58c2) is 8M, max 2.5G, 2.5G free.24machine # [506449.503199] machine systemd[1]: Listening on Journal Log Access Socket.25machine # [506449.507143] machine systemd[1]: Finished Apply Kernel Variables.26machine # [506449.548149] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.27machine # [506449.594203] machine systemd[1]: Starting Flush Journal to Persistent Storage...28machine # [506449.598153] machine systemd[1]: Starting Create Static Device Nodes in /dev...29machine # [506449.612177] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/8cac217e3a334bbd957eed859aab58c2 is 1.615ms for 7 entries.30machine # [506449.612177] machine systemd-journald[57]: System Journal (/var/log/journal/8cac217e3a334bbd957eed859aab58c2) is 512B, max 4G, 3.9G free.31machine # [506449.669455] machine systemd[1]: Finished Flush Journal to Persistent Storage.32machine # [506449.676198] machine systemd[1]: Finished Create Static Device Nodes in /dev.33machine # [506449.767939] machine systemd[1]: Reached target Preparation for Local File Systems.34machine # [506449.782384] machine systemd[1]: Mounting /run/wrappers...35machine # [506449.782440] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys36machine # [506449.850935] machine systemd[1]: Mounted /run/wrappers.37machine # [506449.851233] machine systemd[1]: Reached target Local File Systems.38machine # [506449.855833] machine systemd[1]: Listening on Boot Loader Control Service Socket.39machine # [506449.856977] machine systemd[1]: Starting Create SUID/SGID Wrappers...40machine # [506449.857014] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container41machine # [506449.863166] machine systemd[1]: Starting Save Transient machine-id to Disk...42machine # [506449.865308] machine systemd[1]: Starting Create System Files and Directories...43machine # [506449.904959] machine systemd-tmpfiles[130]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted44machine # [506449.905157] machine systemd-tmpfiles[130]: fchmod() of /var/log/journal failed: Operation not permitted45machine # [506449.905267] machine systemd-tmpfiles[130]: fchmod() of /var/log/journal/8cac217e3a334bbd957eed859aab58c2 failed: Operation not permitted46machine # [506449.905426] machine systemd-tmpfiles[130]: fchmod() of /run/log/journal failed: Operation not permitted47machine # [506449.919942] machine systemd[1]: Finished Create System Files and Directories.48machine # [506449.924437] machine systemd[1]: Starting Rebuild Journal Catalog...49machine # [506449.929165] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...50machine # [506449.949028] machine suid-sgid-wrappers-start[147]: chmod: changing permissions of '/run/wrappers/wrappers.oNxzpTH6wK/chsh': Operation not permitted51machine # [506449.953722] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE52machine # [506449.953815] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.53machine # [506449.953968] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.54machine # [506449.963972] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.55machine # [506449.994650] machine systemd[1]: Finished Rebuild Journal Catalog.56machine # [506449.996386] machine systemd[1]: Starting Update is Completed...57machine # [506450.044584] machine systemd[1]: Finished Update is Completed.58machine # [506450.045390] machine systemd[1]: Reached target System Initialization.59machine # [506450.045531] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container60machine # [506450.045589] machine systemd[1]: Started Daily Cleanup of Temporary Directories.61machine # [506450.045618] machine systemd[1]: Reached target Timer Units.62machine # [506450.046112] machine systemd[1]: Listening on D-Bus System Message Bus Socket.63machine # [506450.046197] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.64machine # [506450.046217] machine systemd[1]: Reached target Socket Units.65machine # [506450.046243] machine systemd[1]: Reached target Basic System.66machine # [506450.069698] machine systemd[1]: Starting Import lastlog data into lastlog2 database...67machine # [506450.077508] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...68machine # [506450.081629] machine systemd[1]: Starting resolvconf update...69machine # [506450.113095] machine systemd[1]: Finished Save Transient machine-id to Disk.70machine # [506450.146801] machine systemd[1]: Finished Import lastlog data into lastlog2 database.71machine # [506450.192388] machine systemd[1]: Finished Firewall.72machine # [506450.327372] machine systemd[1]: nscd.service: Deactivated successfully.73machine # [506450.327551] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).74machine # [506450.331881] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...75machine # [506450.402653] machine resolvconf-start[236]: setfacl: /run/resolvconf: Operation not supported76machine # [506450.403569] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE77machine # [506450.403658] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.78machine # [506450.428182] machine systemd[1]: Failed to start resolvconf update.79machine # [506450.428957] machine systemd[1]: Reached target Preparation for Network.80machine # [506450.434153] machine systemd[1]: Starting Address configuration of eth1...81machine # [506450.445177] machine systemd[1]: Starting Extra networking commands....82machine # [506450.486273] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done83machine # [506450.493750] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done84machine # [506450.526946] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.85machine # [506450.532601] machine systemd[1]: Finished Address configuration of eth1.86machine # [506450.791576] machine systemd[1]: Finished Extra networking commands..87machine # [506450.792418] machine systemd[1]: Reached target Network.88machine # [506451.035293] machine systemd[1]: Started Name Service Cache Daemon (nsncd).89machine # [506451.035376] machine systemd[1]: Reached target Host and Network Name Lookups.90machine # [506451.035435] machine systemd[1]: Reached target User and Group Name Lookups.91machine # [506451.037643] machine nsncd[226]: Oct 21 17:33:32.060 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"92machine # [506451.070142] machine systemd[1]: Starting User Login Management...93machine # [506451.103143] machine systemd[1]: Starting Permit User Sessions...94machine # [506451.123328] machine systemd[1]: Finished Permit User Sessions.95machine # [506451.128130] machine systemd[1]: Started Console Getty.96machine # [506451.128197] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty097machine # [506451.128220] machine systemd[1]: Reached target Login Prompts.98machine: still waiting for container 'machine' to reach ready state...99machine # [506458.515325] machine systemd-logind[306]: New seat seat0.100machine # [506458.530156] machine systemd[1]: Starting D-Bus System Message Bus...101machine # [506458.530336] machine systemd[1]: Started User Login Management.102machine # [506458.535144] machine systemd[1]: Starting linger-users.service...103machine # [506458.572366] machine systemd[1]: linger-users.service: Deactivated successfully.104machine # [506458.572630] machine systemd[1]: Finished linger-users.service.105machine # [506458.573377] machine systemd[1]: Reached target Multi-User System.106machine: (finished: waiting for unit multi-user.target, in 13.74 seconds)107machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/82brxidr3l6nzwpyy1bdc1bg859szkcy-closure-info108machine # [506460.563024] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...109machine # [506460.570021] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'110machine # [506460.570021] 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"111machine # [506460.581423] machine systemd[1]: Started D-Bus System Message Bus.112machine # [506460.582241] machine systemd[1]: Startup finished in 12.099s.113machine # [506460.598381] machine dbus-broker-launch[316]: Ready114warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.115machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/82brxidr3l6nzwpyy1bdc1bg859szkcy-closure-info, in 60.44 seconds)116machine: must succeed: systemctl start nix-daemon.socket117machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.04 seconds)118machine: must succeed: cp -r /nix/store/wvmmv73q02rlch6fwp0rwrgqkfz8gak5-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets119machine: (finished: must succeed: cp -r /nix/store/wvmmv73q02rlch6fwp0rwrgqkfz8gak5-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.29 seconds)120machine: 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'121machine # [506521.332318] machine systemd[1]: Listening on Nix Daemon Socket.122machine # [506521.680121] machine runuser[4926]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)123machine: (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.74 seconds)124machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/fsysij9n31j2zswyx5pyx8i299f5sbam-iets-0.1.0/bin/iets NIXPKGS=/nix/store/r5l65vg4gi4dnx54zkwagfb8jmlqniy5-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2125machine # [506522.367163] machine runuser[4926]: pam_unix(runuser-l:session): session closed for user alice126machine # [506522.395687] machine runuser[4939]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)127== 1. build path:DIR#checks128machine # [506526.786182] machine systemd[1]: Started Nix Daemon.129machine # [506526.846418] machine nix-daemon[5009]: accepted connection from pid 5001, user alice (trusted)130ok a failing check exits 100131ok the failing attribute is named132ok the failure log tail is printed133ok the checks after the failure built134ok the closing line counts them135ok stdout has one path per output built136ok every path is there137ok the other system is not evaluated into the build138== 2. --json139machine # [506528.569025] machine nix-daemon[5009]: accepted connection from pid 5001, user alice (trusted)140machine # [506531.312775] machine nix-daemon[5009]: accepted connection from pid 5075, user alice (trusted)141ok --json keeps the exit code142ok one outcome per check, by attribute143ok the outcome has the plumbing keys144ok the failure has a reason and no output145ok the failure has its log tail146ok the others have the paths of case 1147== 3. what is built is not built again148ok no second build of a valid output149ok the failure is tried again150== 4. one root151machine # [506531.897796] machine nix-daemon[5009]: accepted connection from pid 5075, user alice (trusted)152machine # [506532.513014] machine nix-daemon[5009]: accepted connection from pid 5115, user alice (trusted)153ok the failing check alone: exit 100, no path154ok one root has no closing line155machine # [506534.580843] machine nix-daemon[5009]: accepted connection from pid 5150, user alice (trusted)156machine # [506535.663358] machine nix-daemon[5009]: accepted connection from pid 5150, user alice (trusted)157ok #packages builds its one member158machine # [506542.389569] machine nix-daemon[5009]: accepted connection from pid 5187, user alice (trusted)159ok a system named in full is walked as it is160== 5. a file, -A and --argstr161machine # [506544.289034] machine nix-daemon[5009]: accepted connection from pid 5206, user alice (trusted)162machine # [506544.650755] machine nix-daemon[5009]: accepted connection from pid 5206, user alice (trusted)163ok -A ci reaches the failing check164ok the failure is named by its attribute path165ok the same paths as the flake gave166== 6. --dry-run over a tree167ok the plan has the four checks168== 7. no verdict without an evaluation169machine # [506549.249038] machine nix-daemon[5009]: accepted connection from pid 5246, user alice (trusted)170ok an attribute that throws stops the run171ok nothing was built172ok a tree with no derivation is an error173== 8. a failure in a dependency174machine # [506557.584461] machine nix-daemon[5009]: accepted connection from pid 5281, user alice (trusted)175ok a dependency that failed to build exits 100176machine # [506559.471217] machine nix-daemon[5009]: accepted connection from pid 5318, user alice (trusted)177ok a dependency with a hash mismatch exits 102178ok the dependency that failed keeps no check mark179== 9. a build log cannot forge a hash mismatch180machine # [506561.323035] machine nix-daemon[5009]: accepted connection from pid 5355, user alice (trusted)181ok a forged mismatch never rewrites a hash in the file182ok nothing was fixed183== 10. --no-build with several installables184machine # [506562.984626] machine nix-daemon[5009]: accepted connection from pid 5390, user alice (trusted)185ok --no-build uploads every installable18633 cases, 0 failed187PASS188machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/fsysij9n31j2zswyx5pyx8i299f5sbam-iets-0.1.0/bin/iets NIXPKGS=/nix/store/r5l65vg4gi4dnx54zkwagfb8jmlqniy5-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2, in 41.03 seconds)189(finished: run the VM test script, in 116.29 seconds)190test script finished in 116.40s191cleanup192kill NspawnMachine (pid 50)193Container machine terminated by signal KILL.194(finished: cleanup, in 0.18 seconds)