container-test-run-iets-build-e2e
checks.x86_64-linux.build-e2e
· build #3
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.03 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 # 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 # No journal files were found.29machine # No journal boot entry found for the specified boot (+0).30machine # No journal files were found.31machine # No journal boot entry found for the specified boot (+0).32machine # No journal files were found.33machine # No journal boot entry found for the specified boot (+0).34machine # No journal files were found.35machine # No journal boot entry found for the specified boot (+0).36machine: still waiting for container 'machine' to reach ready state...37machine # No journal files were found.38machine # No journal boot entry found for the specified boot (+0).39machine # No journal files were found.40machine # No journal boot entry found for the specified boot (+0).41machine # No journal files were found.42machine # No journal boot entry found for the specified boot (+0).43machine # No journal files were found.44machine # No journal boot entry found for the specified boot (+0).45machine # [1288800.072068] machine systemd-journald[57]: Journal started46machine # [1288800.072139] machine systemd-journald[57]: Runtime Journal (/run/log/journal/7dbd407655a845038d5226991c112221) is 8M, max 2.5G, 2.5G free.47machine # [1288800.356555] machine systemd[1]: Listening on Journal Log Access Socket.48machine # [1288800.404176] machine systemd[1]: Finished Apply Kernel Variables.49machine # [1288801.297914] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.50machine # [1288801.404336] machine systemd[1]: Starting Flush Journal to Persistent Storage...51machine # [1288801.428149] machine systemd[1]: Starting Create Static Device Nodes in /dev...52machine # [1288801.988282] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/7dbd407655a845038d5226991c112221 is 5.684ms for 7 entries.53machine # [1288801.988282] machine systemd-journald[57]: System Journal (/var/log/journal/7dbd407655a845038d5226991c112221) is 512B, max 4G, 3.9G free.54machine # [1288802.808235] machine systemd[1]: Finished Create Static Device Nodes in /dev.55machine # [1288804.450743] machine systemd[1]: Finished Firewall.56machine # [1288804.451168] machine systemd[1]: Finished Flush Journal to Persistent Storage.57machine # [1288804.507387] machine systemd[1]: Reached target Preparation for Local File Systems.58machine # [1288804.699794] machine systemd[1]: Mounting /run/wrappers...59machine # [1288804.699850] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys60machine # [1288805.127941] machine systemd[1]: Mounted /run/wrappers.61machine # [1288805.157497] machine systemd[1]: Reached target Local File Systems.62machine # [1288805.172987] machine systemd[1]: Listening on Boot Loader Control Service Socket.63machine # [1288805.197250] machine systemd[1]: Starting Create SUID/SGID Wrappers...64machine # [1288805.197317] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container65machine # [1288805.226196] machine systemd[1]: Starting Save Transient machine-id to Disk...66machine # [1288805.245606] machine systemd[1]: Starting Create System Files and Directories...67machine # [1288805.326996] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted68machine # [1288805.327245] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted69machine # [1288805.327358] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/7dbd407655a845038d5226991c112221 failed: Operation not permitted70machine # [1288805.327519] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted71machine # [1288805.427681] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.t1vzevlC0E/chsh': Operation not permitted72machine # [1288805.831534] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE73machine # [1288805.831625] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.74machine # [1288805.997511] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.75machine # [1288806.033638] machine systemd[1]: Finished Create System Files and Directories.76machine # [1288806.270075] machine systemd[1]: Starting Rebuild Journal Catalog...77machine # [1288806.297374] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...78machine # [1288806.421982] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.79machine # [1288806.506513] machine systemd[1]: Finished Rebuild Journal Catalog.80machine # [1288806.520505] machine systemd[1]: Starting Update is Completed...81machine # [1288806.571560] machine systemd[1]: Finished Update is Completed.82machine # [1288806.572770] machine systemd[1]: Reached target System Initialization.83machine # [1288806.572947] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container84machine # [1288806.573008] machine systemd[1]: Started Daily Cleanup of Temporary Directories.85machine # [1288806.573048] machine systemd[1]: Reached target Timer Units.86machine # [1288806.573237] machine systemd[1]: Listening on D-Bus System Message Bus Socket.87machine # [1288806.573403] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.88machine # [1288806.573437] machine systemd[1]: Reached target Socket Units.89machine # [1288806.573696] machine systemd[1]: Reached target Basic System.90machine # [1288806.660867] machine systemd[1]: Starting Import lastlog data into lastlog2 database...91machine # [1288806.696161] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...92machine # [1288806.730680] machine systemd[1]: Starting resolvconf update...93machine # [1288806.784039] machine systemd[1]: Finished Import lastlog data into lastlog2 database.94machine # [1288807.373636] machine systemd[1]: nscd.service: Deactivated successfully.95machine # [1288807.374795] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).96machine # [1288807.407181] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...97machine # [1288807.448929] machine resolvconf-start[234]: setfacl: /run/resolvconf: Operation not supported98machine # [1288807.522683] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE99machine # [1288807.522782] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.100machine # [1288807.523393] machine systemd[1]: Failed to start resolvconf update.101machine # [1288807.555254] machine systemd[1]: Reached target Preparation for Network.102machine # [1288807.602806] machine systemd[1]: Starting Address configuration of eth1...103machine # [1288807.665845] machine systemd[1]: Starting Extra networking commands....104machine # [1288807.677422] machine network-addresses-eth1-start[237]: adding address 192.168.1.1/24... done105machine # [1288807.682440] machine network-addresses-eth1-start[237]: adding address 2001:db8:1::1/64... done106machine # [1288807.693806] machine systemd[1]: Finished Address configuration of eth1.107machine # [1288807.863903] machine systemd[1]: Finished Extra networking commands..108machine # [1288807.864042] machine systemd[1]: Reached target Network.109machine: still waiting for container 'machine' to reach ready state...110machine # [1288810.657200] machine nsncd[233]: Oct 09 20:59:41.387 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"111machine # [1288810.670268] machine systemd[1]: Started Name Service Cache Daemon (nsncd).112machine # [1288810.670385] machine systemd[1]: Reached target Host and Network Name Lookups.113machine # [1288810.670467] machine systemd[1]: Reached target User and Group Name Lookups.114machine # [1288810.810604] machine systemd[1]: Starting User Login Management...115machine # [1288810.822394] machine systemd[1]: Starting Permit User Sessions...116machine # [1288810.880086] machine systemd[1]: Finished Permit User Sessions.117machine # [1288810.883141] machine systemd[1]: Started Console Getty.118machine # [1288810.883199] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0119machine # [1288810.883223] machine systemd[1]: Reached target Login Prompts.120machine # [1288814.518754] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.121machine # [1288814.521016] machine systemd[1]: Finished Save Transient machine-id to Disk.122machine: still waiting for container 'machine' to reach ready state...123machine # [1288824.635115] machine systemd-logind[297]: New seat seat0.124machine # [1288824.638252] machine systemd[1]: Starting D-Bus System Message Bus...125machine # [1288824.638507] machine systemd[1]: Started User Login Management.126machine # [1288824.648566] machine systemd[1]: Starting linger-users.service...127machine # [1288824.898394] machine systemd[1]: linger-users.service: Deactivated successfully.128machine # [1288824.898733] machine systemd[1]: Finished linger-users.service.129machine # [1288824.899749] machine systemd[1]: Reached target Multi-User System.130machine: still waiting for container 'machine' to reach ready state...131machine # [1288833.226023] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...132machine # [1288833.239819] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'133machine # [1288833.239819] machine dbus-broker-launch[316]: Invalid user-name in /nix/store/z441alblwy32lyxiy8466qf85iyi2sdj-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"134machine # [1288833.265495] machine systemd[1]: Started D-Bus System Message Bus.135machine # [1288833.266244] machine systemd[1]: Startup finished in 38.345s.136machine # [1288833.304949] machine dbus-broker-launch[316]: Ready137machine: (finished: waiting for unit multi-user.target, in 45.46 seconds)138machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/0i7iahb6bcgigvrm4ycz292p6s3ywzb2-closure-info139warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.140machine: (finished: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/0i7iahb6bcgigvrm4ycz292p6s3ywzb2-closure-info, in 85.44 seconds)141machine: must succeed: systemctl start nix-daemon.socket142machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.10 seconds)143machine: must succeed: cp -r /nix/store/0nqhqf83c2ak02gwyj05bhxijj9hxafn-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets144machine # [1288919.183689] machine systemd[1]: Listening on Nix Daemon Socket.145machine: (finished: must succeed: cp -r /nix/store/0nqhqf83c2ak02gwyj05bhxijj9hxafn-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 1.46 seconds)146machine: 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'147machine # [1288920.713411] machine runuser[4868]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)148machine: (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 2.02 seconds)149machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/5h6f6igx7l0s0vvc3c124sm3fvv4jgdr-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2150== 1. build path:DIR#checks151machine # [1288922.644727] machine runuser[4868]: pam_unix(runuser-l:session): session closed for user alice152machine # [1288922.686789] machine runuser[4881]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)153machine # [1288923.775371] machine systemd[1]: Started Nix Daemon.154machine # [1288923.990028] machine nix-daemon[4950]: accepted connection from pid 4940, user alice (trusted)155ok a failing check exits 100156ok the failing attribute is named157ok the failure log tail is printed158ok the checks after the failure built159ok the closing line counts them160ok stdout has one path per output built161ok every path is there162ok the other system is not evaluated into the build163== 2. --json164machine # [1288926.080713] machine nix-daemon[4950]: accepted connection from pid 4940, user alice (trusted)165machine # [1288926.231560] machine nix-daemon[4950]: accepted connection from pid 5015, user alice (trusted)166ok --json keeps the exit code167ok one outcome per check, by attribute168ok the outcome has the plumbing keys169ok the failure has a reason and no output170ok the failure has its log tail171ok the others have the paths of case 1172== 3. what is built is not built again173ok no second build of a valid output174ok the failure is tried again175== 4. one root176machine # [1288927.136623] machine nix-daemon[4950]: accepted connection from pid 5015, user alice (trusted)177machine # [1288928.621102] machine nix-daemon[4950]: accepted connection from pid 5055, user alice (trusted)178ok the failing check alone: exit 100, no path179ok one root has no closing line180machine # [1288930.460673] machine nix-daemon[4950]: accepted connection from pid 5090, user alice (trusted)181ok #packages builds its one member182machine # [1288931.829908] machine nix-daemon[4950]: accepted connection from pid 5090, user alice (trusted)183machine # [1288934.203412] machine nix-daemon[4950]: accepted connection from pid 5127, user alice (trusted)184ok a system named in full is walked as it is185== 5. a file, -A and --argstr186machine # [1288935.429475] machine nix-daemon[4950]: accepted connection from pid 5146, user alice (trusted)187machine # [1288936.015025] machine nix-daemon[4950]: accepted connection from pid 5146, user alice (trusted)188ok -A ci reaches the failing check189ok the failure is named by its attribute path190ok the same paths as the flake gave191== 6. --dry-run over a tree192machine # [1288937.927439] machine nix-daemon[4950]: accepted connection from pid 5186, user alice (trusted)193ok the plan has the four checks194== 7. no verdict without an evaluation195ok an attribute that throws stops the run196ok nothing was built197ok a tree with no derivation is an error198== 8. a failure in a dependency199machine # [1288940.642302] machine nix-daemon[4950]: accepted connection from pid 5221, user alice (trusted)200ok a dependency that failed to build exits 100201machine # [1288941.452551] machine nix-daemon[4950]: accepted connection from pid 5258, user alice (trusted)202ok a dependency with a hash mismatch exits 102203ok the dependency that failed keeps no check mark204== 9. a build log cannot forge a hash mismatch205machine # [1288942.982927] machine nix-daemon[4950]: accepted connection from pid 5295, user alice (trusted)206ok a forged mismatch never rewrites a hash in the file207ok nothing was fixed20832 cases, 0 failed209PASS210machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/5h6f6igx7l0s0vvc3c124sm3fvv4jgdr-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2, in 21.23 seconds)211(finished: run the VM test script, in 155.71 seconds)212machine # [1288943.883379] machine runuser[4881]: pam_unix(runuser-l:session): session closed for user alice213test script finished in 161.93s214cleanup215kill NspawnMachine (pid 50)216Container machine terminated by signal KILL.217(finished: cleanup, in 0.43 seconds)