container-test-run-iets-build-e2e
checks.x86_64-linux.build-e2e
· build #467
· 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 # [521548.879925] machine systemd-journald[57]: Journal started19machine # [521548.879969] machine systemd-journald[57]: Runtime Journal (/run/log/journal/f3576ecebd22445d88b11487e17ef7db) is 8M, max 2.5G, 2.5G free.20machine # [521548.918187] machine systemd[1]: Finished Apply Kernel Variables.21machine # [521548.935502] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.22machine # [521548.951721] machine systemd[1]: Starting Flush Journal to Persistent Storage...23machine # [521548.952361] machine systemd[1]: Starting Create Static Device Nodes in /dev...24machine # [521548.982591] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/f3576ecebd22445d88b11487e17ef7db is 1.165ms for 6 entries.25machine # [521548.982591] machine systemd-journald[57]: System Journal (/var/log/journal/f3576ecebd22445d88b11487e17ef7db) is 512B, max 4G, 3.9G free.26machine # [521549.011018] machine systemd[1]: Finished Flush Journal to Persistent Storage.27machine # [521549.012708] machine systemd[1]: Finished Create Static Device Nodes in /dev.28machine # [521549.012863] machine systemd[1]: Finished Firewall.29machine # [521549.014221] machine systemd[1]: Reached target Preparation for Local File Systems.30machine # [521549.014334] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys31machine # [521549.895077] machine systemd[1]: Mounting /run/wrappers...32machine # [521549.916792] machine systemd[1]: Mounted /run/wrappers.33machine # [521549.917464] machine systemd[1]: Reached target Local File Systems.34machine # [521549.918255] machine systemd[1]: Listening on Boot Loader Control Service Socket.35machine # [521549.918882] machine systemd[1]: Starting Create SUID/SGID Wrappers...36machine # [521549.918916] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container37machine # [521549.919453] machine systemd[1]: Starting Save Transient machine-id to Disk...38machine # [521549.920124] machine systemd[1]: Starting Create System Files and Directories...39machine # [521549.937962] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.etcbJOBmzl/chsh': Operation not permitted40machine # [521549.939282] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted41machine # [521549.939396] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted42machine # [521549.939473] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/f3576ecebd22445d88b11487e17ef7db failed: Operation not permitted43machine # [521549.939576] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted44machine # [521549.947703] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.45machine # [521549.959504] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE46machine # [521549.959566] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.47machine # [521549.959671] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.48machine # [521549.959809] machine systemd[1]: Finished Save Transient machine-id to Disk.49machine # [521549.963505] machine systemd[1]: Finished Create System Files and Directories.50machine # [521549.983606] machine systemd[1]: Starting Rebuild Journal Catalog...51machine # [521549.984012] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...52machine # [521549.993693] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.53machine # [521550.001980] machine systemd[1]: Finished Rebuild Journal Catalog.54machine # [521550.002662] machine systemd[1]: Starting Update is Completed...55machine # [521550.012241] machine systemd[1]: Finished Update is Completed.56machine # [521550.012332] machine systemd[1]: Reached target System Initialization.57machine # [521550.012383] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container58machine # [521550.012406] machine systemd[1]: Started Daily Cleanup of Temporary Directories.59machine # [521550.012424] machine systemd[1]: Reached target Timer Units.60machine # [521550.012532] machine systemd[1]: Listening on D-Bus System Message Bus Socket.61machine # [521550.012808] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.62machine # [521550.012823] machine systemd[1]: Reached target Socket Units.63machine # [521550.012847] machine systemd[1]: Reached target Basic System.64machine # [521550.013641] machine systemd[1]: Starting Import lastlog data into lastlog2 database...65machine # [521550.014291] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...66machine # [521550.014903] machine systemd[1]: Starting resolvconf update...67machine # [521550.028612] machine systemd[1]: Finished Import lastlog data into lastlog2 database.68machine # [521550.060642] machine systemd[1]: nscd.service: Deactivated successfully.69machine # [521550.060812] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).70machine # [521550.062569] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...71machine # [521550.072879] machine resolvconf-start[235]: setfacl: /run/resolvconf: Operation not supported72machine # [521550.073731] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE73machine # [521550.073835] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.74machine # [521550.081206] machine systemd[1]: Failed to start resolvconf update.75machine # [521550.081440] machine systemd[1]: Reached target Preparation for Network.76machine # [521550.082140] machine systemd[1]: Starting Address configuration of eth1...77machine # [521550.082890] machine systemd[1]: Starting Extra networking commands....78machine # [521550.098534] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done79machine # [521550.100774] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done80machine # [521550.104761] machine systemd[1]: Finished Address configuration of eth1.81machine # [521550.137291] machine systemd[1]: Finished Extra networking commands..82machine # [521550.137552] machine systemd[1]: Reached target Network.83machine # [521550.338669] machine systemd[1]: Started Name Service Cache Daemon (nsncd).84machine # [521550.338758] machine systemd[1]: Reached target Host and Network Name Lookups.85machine # [521550.339244] machine nsncd[227]: Oct 21 21:45:11.361 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"86machine # [521550.338831] machine systemd[1]: Reached target User and Group Name Lookups.87machine # [521550.340339] machine systemd[1]: Starting User Login Management...88machine # [521550.340889] machine systemd[1]: Starting Permit User Sessions...89machine # [521550.355835] machine systemd[1]: Finished Permit User Sessions.90machine # [521550.357033] machine systemd[1]: Started Console Getty.91machine # [521550.357084] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty092machine # [521550.357117] machine systemd[1]: Reached target Login Prompts.93machine # [521552.167933] machine systemd-logind[306]: New seat seat0.94machine # [521552.168231] machine systemd[1]: Started User Login Management.95machine # [521552.169697] machine systemd[1]: Starting D-Bus System Message Bus...96machine # [521552.170262] machine systemd[1]: Starting linger-users.service...97machine # [521552.199620] machine systemd[1]: linger-users.service: Deactivated successfully.98machine # [521552.199834] machine systemd[1]: Finished linger-users.service.99machine # [521552.200038] machine systemd[1]: Reached target Multi-User System.100machine # [521552.844865] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...101machine # [521552.845665] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'102machine # [521552.845665] 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"103machine # [521552.846158] machine systemd[1]: Started D-Bus System Message Bus.104machine # [521552.846472] machine systemd[1]: Startup finished in 4.373s.105machine # [521552.851185] machine dbus-broker-launch[316]: Ready106machine: (finished: waiting for unit multi-user.target, in 5.15 seconds)107machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/bgfi73m9zn5c1bg95yzq21v4c3c20sxy-closure-info108warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.109machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/bgfi73m9zn5c1bg95yzq21v4c3c20sxy-closure-info, in 13.28 seconds)110machine: must succeed: systemctl start nix-daemon.socket111machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.01 seconds)112machine: must succeed: cp -r /nix/store/2cdb9vk9cyz5m2jmllzchiv3x3scy9y6-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets113machine: (finished: must succeed: cp -r /nix/store/2cdb9vk9cyz5m2jmllzchiv3x3scy9y6-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.09 seconds)114machine: 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'115machine # [521566.450823] machine systemd[1]: Listening on Nix Daemon Socket.116machine # [521566.551917] machine runuser[4926]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)117machine: (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.19 seconds)118machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/xq0m1znish65w42yfkjfnyjpasa4zn7h-iets-0.1.0/bin/iets NIXPKGS=/nix/store/r5l65vg4gi4dnx54zkwagfb8jmlqniy5-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2119== 1. build path:DIR#checks120machine # [521566.727920] machine runuser[4926]: pam_unix(runuser-l:session): session closed for user alice121machine # [521566.739958] machine runuser[4939]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)122machine # [521567.836102] machine systemd[1]: Started Nix Daemon.123machine # [521567.888400] machine nix-daemon[5009]: accepted connection from pid 4999, user alice (trusted)124ok a failing check exits 100125ok the failing attribute is named126ok the failure log tail is printed127ok the checks after the failure built128ok the closing line counts them129ok stdout has one path per output built130ok every path is there131ok the other system is not evaluated into the build132== 2. --json133ok --json keeps the exit code134ok one outcome per check, by attribute135ok the outcome has the plumbing keys136ok the failure has a reason and no output137ok the failure has its log tail138ok the others have the paths of case 1139== 3. what is built is not built again140ok no second build of a valid output141ok the failure is tried again142== 4. one root143machine # [521568.208455] machine nix-daemon[5009]: accepted connection from pid 4999, user alice (trusted)144machine # [521568.322018] machine nix-daemon[5009]: accepted connection from pid 5074, user alice (trusted)145machine # [521568.447274] machine nix-daemon[5009]: accepted connection from pid 5074, user alice (trusted)146ok the failing check alone: exit 100, no path147ok one root has no closing line148machine # [521569.252074] machine nix-daemon[5009]: accepted connection from pid 5114, user alice (trusted)149machine # [521569.591637] machine nix-daemon[5009]: accepted connection from pid 5149, user alice (trusted)150ok #packages builds its one member151machine # [521569.887906] machine nix-daemon[5009]: accepted connection from pid 5149, user alice (trusted)152ok a system named in full is walked as it is153== 5. a file, -A and --argstr154machine # [521571.385334] machine nix-daemon[5009]: accepted connection from pid 5186, user alice (trusted)155ok -A ci reaches the failing check156ok the failure is named by its attribute path157ok the same paths as the flake gave158== 6. --dry-run over a tree159machine # [521572.029099] machine nix-daemon[5009]: accepted connection from pid 5205, user alice (trusted)160machine # [521572.115969] machine nix-daemon[5009]: accepted connection from pid 5205, user alice (trusted)161ok the plan has the four checks162== 7. no verdict without an evaluation163machine # [521572.337952] machine nix-daemon[5009]: accepted connection from pid 5245, user alice (trusted)164ok an attribute that throws stops the run165ok nothing was built166ok a tree with no derivation is an error167== 8. a failure in a dependency168ok a dependency that failed to build exits 100169machine # [521574.265877] machine nix-daemon[5009]: accepted connection from pid 5280, user alice (trusted)170ok a dependency with a hash mismatch exits 102171ok the dependency that failed keeps no check mark172== 9. a build log cannot forge a hash mismatch173machine # [521574.873095] machine nix-daemon[5009]: accepted connection from pid 5317, user alice (trusted)174ok a forged mismatch never rewrites a hash in the file175ok nothing was fixed176== 10. --no-build with several installables177machine # [521575.295616] machine nix-daemon[5009]: accepted connection from pid 5354, user alice (trusted)178ok --no-build uploads every installable17933 cases, 0 failed180PASS181machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/xq0m1znish65w42yfkjfnyjpasa4zn7h-iets-0.1.0/bin/iets NIXPKGS=/nix/store/r5l65vg4gi4dnx54zkwagfb8jmlqniy5-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2, in 9.01 seconds)182(finished: run the VM test script, in 27.72 seconds)183test script finished in 27.83s184cleanup185kill NspawnMachine (pid 50)186Container machine terminated by signal KILL.187(finished: cleanup, in 0.11 seconds)