nixbot

builds

succeeded container-test-run-iets-build-e2e checks.x86_64-linux.build-e2e · build #454 · 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 # [397101.235144] machine systemd-journald[57]: Journal started21machine # [397101.235213] machine systemd-journald[57]: Runtime Journal (/run/log/journal/b49fb6412c864235b4961cb8a173617b) is 8M, max 2.5G, 2.5G free.22machine # [397101.237576] machine systemd[1]: Listening on Journal Log Access Socket.23machine # [397101.239135] machine systemd[1]: Finished Apply Kernel Variables.24machine # [397101.257957] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.25machine # [397101.278282] machine systemd[1]: Starting Flush Journal to Persistent Storage...26machine # [397101.279009] machine systemd[1]: Starting Create Static Device Nodes in /dev...27machine # [397101.288894] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/b49fb6412c864235b4961cb8a173617b is 1.553ms for 7 entries.28machine # [397101.288894] machine systemd-journald[57]: System Journal (/var/log/journal/b49fb6412c864235b4961cb8a173617b) is 512B, max 4G, 3.9G free.29machine # [397101.303137] machine systemd[1]: Finished Create Static Device Nodes in /dev.30machine # [397101.322486] machine systemd[1]: Finished Flush Journal to Persistent Storage.31machine # [397101.323863] machine systemd[1]: Reached target Preparation for Local File Systems.32machine # [397101.325508] machine systemd[1]: Mounting /run/wrappers...33machine # [397101.325546] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys34machine # [397101.385384] machine systemd[1]: Mounted /run/wrappers.35machine # [397101.385773] machine systemd[1]: Finished Firewall.36machine # [397101.387770] machine systemd[1]: Reached target Local File Systems.37machine # [397101.388777] machine systemd[1]: Listening on Boot Loader Control Service Socket.38machine # [397101.389862] machine systemd[1]: Starting Create SUID/SGID Wrappers...39machine # [397101.389907] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container40machine # [397101.392073] machine systemd[1]: Starting Save Transient machine-id to Disk...41machine # [397101.394503] machine systemd[1]: Starting Create System Files and Directories...42machine # [397101.413285] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted43machine # [397101.414828] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.6XapyeeTXu/chsh': Operation not permitted44machine # [397101.413459] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted45machine # [397101.413557] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/b49fb6412c864235b4961cb8a173617b failed: Operation not permitted46machine # [397101.413713] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted47machine # [397101.415148] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE48machine # [397101.415257] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.49machine # [397101.415471] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.50machine # [397101.416172] machine systemd[1]: Finished Create System Files and Directories.51machine # [397101.418130] machine systemd[1]: Starting Rebuild Journal Catalog...52machine # [397101.419320] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...53machine # [397101.436066] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.54machine # [397101.442407] machine systemd[1]: Finished Save Transient machine-id to Disk.55machine # [397101.445433] machine systemd[1]: Finished Rebuild Journal Catalog.56machine # [397101.446702] machine systemd[1]: Starting Update is Completed...57machine # [397101.474420] machine systemd[1]: Finished Update is Completed.58machine # [397101.474586] machine systemd[1]: Reached target System Initialization.59machine # [397101.474666] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container60machine # [397101.474702] machine systemd[1]: Started Daily Cleanup of Temporary Directories.61machine # [397101.474729] machine systemd[1]: Reached target Timer Units.62machine # [397101.475062] machine systemd[1]: Listening on D-Bus System Message Bus Socket.63machine # [397101.475150] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.64machine # [397101.475170] machine systemd[1]: Reached target Socket Units.65machine # [397101.475200] machine systemd[1]: Reached target Basic System.66machine # [397101.476473] machine systemd[1]: Starting Import lastlog data into lastlog2 database...67machine # [397101.477470] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...68machine # [397101.478198] machine systemd[1]: Starting resolvconf update...69machine # [397101.496539] machine systemd[1]: Finished Import lastlog data into lastlog2 database.70machine # [397101.530073] machine systemd[1]: nscd.service: Deactivated successfully.71machine # [397101.530264] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).72machine # [397101.532431] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...73machine # [397101.541010] machine resolvconf-start[235]: setfacl: /run/resolvconf: Operation not supported74machine # [397101.541863] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE75machine # [397101.541928] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.76machine # [397101.564286] machine systemd[1]: Failed to start resolvconf update.77machine # [397101.564638] machine systemd[1]: Reached target Preparation for Network.78machine # [397101.565577] machine systemd[1]: Starting Address configuration of eth1...79machine # [397101.566301] machine systemd[1]: Starting Extra networking commands....80machine # [397101.582845] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done81machine # [397101.585322] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done82machine # [397101.589370] machine systemd[1]: Finished Address configuration of eth1.83machine # [397101.614168] machine systemd[1]: Finished Extra networking commands..84machine # [397101.614335] machine systemd[1]: Reached target Network.85machine # [397101.744929] machine nsncd[227]: Oct 20 11:11:02.767 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"86machine # [397101.745101] machine systemd[1]: Started Name Service Cache Daemon (nsncd).87machine # [397101.745177] machine systemd[1]: Reached target Host and Network Name Lookups.88machine # [397101.745236] machine systemd[1]: Reached target User and Group Name Lookups.89machine # [397101.746406] machine systemd[1]: Starting User Login Management...90machine # [397101.747118] machine systemd[1]: Starting Permit User Sessions...91machine # [397101.771700] machine systemd[1]: Finished Permit User Sessions.92machine # [397101.772838] machine systemd[1]: Started Console Getty.93machine # [397101.772893] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty094machine # [397101.772915] machine systemd[1]: Reached target Login Prompts.95machine # [397102.234101] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.96machine # [397102.959627] machine systemd-logind[306]: New seat seat0.97machine # [397102.960777] machine systemd[1]: Starting D-Bus System Message Bus...98machine # [397102.960897] machine systemd[1]: Started User Login Management.99machine # [397102.965281] machine systemd[1]: Starting linger-users.service...100machine # [397102.989344] machine systemd[1]: linger-users.service: Deactivated successfully.101machine # [397102.989560] machine systemd[1]: Finished linger-users.service.102machine # [397102.989746] machine systemd[1]: Reached target Multi-User System.103machine # [397103.456990] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...104machine # [397103.457621] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'105machine # [397103.457621] 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"106machine # [397103.458063] machine systemd[1]: Started D-Bus System Message Bus.107machine # [397103.459086] machine systemd[1]: Startup finished in 2.777s.108machine # [397103.464863] machine dbus-broker-launch[316]: Ready109machine: (finished: waiting for unit multi-user.target, in 3.66 seconds)110machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/p3iwm3a6xfd1dszkdmk51nvyjq7aqiqp-closure-info111warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.112machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/p3iwm3a6xfd1dszkdmk51nvyjq7aqiqp-closure-info, in 15.31 seconds)113machine: must succeed: systemctl start nix-daemon.socket114machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.01 seconds)115machine: must succeed: cp -r /nix/store/kdf21saqlhnxf40p1d3p1sgighxh2xnl-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets116machine: (finished: must succeed: cp -r /nix/store/kdf21saqlhnxf40p1d3p1sgighxh2xnl-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.09 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 # [397119.168854] machine systemd[1]: Listening on Nix Daemon Socket.119machine # [397119.268990] machine runuser[4926]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)120machine # [397119.456720] machine runuser[4926]: pam_unix(runuser-l:session): session closed for user alice121machine: (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)122machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/xhvdp7283nkrv85fqs4ylgy6wsjlzhi5-iets-0.1.0/bin/iets NIXPKGS=/nix/store/r5l65vg4gi4dnx54zkwagfb8jmlqniy5-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2123== 1. build path:DIR#checks124machine # [397119.470459] machine runuser[4939]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)125machine # [397119.833583] machine systemd[1]: Started Nix Daemon.126machine # [397119.888385] 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. --json136machine # [397120.192897] machine nix-daemon[5009]: accepted connection from pid 4999, user alice (trusted)137machine # [397120.360873] machine nix-daemon[5009]: accepted connection from pid 5074, user alice (trusted)138ok --json keeps the exit code139ok one outcome per check, by attribute140ok the outcome has the plumbing keys141ok the failure has a reason and no output142ok the failure has its log tail143ok the others have the paths of case 1144== 3. what is built is not built again145ok no second build of a valid output146ok the failure is tried again147== 4. one root148machine # [397120.477330] machine nix-daemon[5009]: accepted connection from pid 5074, user alice (trusted)149ok the failing check alone: exit 100, no path150ok one root has no closing line151machine # [397121.481722] machine nix-daemon[5009]: accepted connection from pid 5114, user alice (trusted)152machine # [397121.698431] machine nix-daemon[5009]: accepted connection from pid 5149, user alice (trusted)153ok #packages builds its one member154machine # [397121.830774] machine nix-daemon[5009]: accepted connection from pid 5149, user alice (trusted)155ok a system named in full is walked as it is156== 5. a file, -A and --argstr157machine # [397122.926176] machine nix-daemon[5009]: accepted connection from pid 5186, user alice (trusted)158machine # [397123.272713] machine nix-daemon[5009]: accepted connection from pid 5205, user alice (trusted)159machine # [397123.373950] machine nix-daemon[5009]: accepted connection from pid 5205, user alice (trusted)160ok -A ci reaches the failing check161ok the failure is named by its attribute path162ok the same paths as the flake gave163== 6. --dry-run over a tree164ok the plan has the four checks165== 7. no verdict without an evaluation166ok an attribute that throws stops the run167ok nothing was built168ok a tree with no derivation is an error169== 8. a failure in a dependency170machine # [397123.646524] machine nix-daemon[5009]: accepted connection from pid 5245, user alice (trusted)171ok a dependency that failed to build exits 100172machine # [397124.402617] machine nix-daemon[5009]: accepted connection from pid 5280, 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 mismatch176machine # [397125.327682] machine nix-daemon[5009]: accepted connection from pid 5317, user alice (trusted)177ok a forged mismatch never rewrites a hash in the file178ok nothing was fixed179== 10. --no-build with several installables180machine # [397126.190239] machine nix-daemon[5009]: accepted connection from pid 5354, user alice (trusted)181ok --no-build uploads every installable18233 cases, 0 failed183PASS184machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/xhvdp7283nkrv85fqs4ylgy6wsjlzhi5-iets-0.1.0/bin/iets NIXPKGS=/nix/store/r5l65vg4gi4dnx54zkwagfb8jmlqniy5-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2, in 7.19 seconds)185(finished: run the VM test script, in 26.46 seconds)186test script finished in 26.56s187cleanup188kill NspawnMachine (pid 50)189(finished: cleanup, in 0.06 seconds)190Container machine terminated by signal KILL.