container-test-run-iets-build-e2e
checks.x86_64-linux.build-e2e
· build #350
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.00 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 # [1703638.214018] machine systemd-journald[57]: Journal started19machine # [1703638.214068] machine systemd-journald[57]: Runtime Journal (/run/log/journal/c6de948b8b904389aa582dd9e099682e) is 8M, max 2.5G, 2.5G free.20machine # [1703638.227058] machine systemd[1]: Listening on Journal Log Access Socket.21machine # [1703638.227363] machine systemd[1]: Finished Apply Kernel Variables.22machine # [1703638.240765] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.23machine # [1703638.255313] machine systemd[1]: Starting Flush Journal to Persistent Storage...24machine # [1703638.255779] machine systemd[1]: Starting Create Static Device Nodes in /dev...25machine # [1703638.281586] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/c6de948b8b904389aa582dd9e099682e is 1.446ms for 7 entries.26machine # [1703638.281586] machine systemd-journald[57]: System Journal (/var/log/journal/c6de948b8b904389aa582dd9e099682e) is 512B, max 4G, 3.9G free.27machine # [1703638.294452] machine systemd[1]: Finished Create Static Device Nodes in /dev.28machine # [1703638.295053] machine systemd[1]: Reached target Preparation for Local File Systems.29machine # [1703638.295132] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys30machine # [1703638.306061] machine systemd[1]: Finished Flush Journal to Persistent Storage.31machine # [1703638.319077] machine systemd[1]: Finished Firewall.32machine # [1703639.220316] machine systemd[1]: Mounting /run/wrappers...33machine # [1703639.288423] machine systemd[1]: Mounted /run/wrappers.34machine # [1703639.289096] machine systemd[1]: Reached target Local File Systems.35machine # [1703639.290073] machine systemd[1]: Listening on Boot Loader Control Service Socket.36machine # [1703639.290887] machine systemd[1]: Starting Create SUID/SGID Wrappers...37machine # [1703639.290922] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container38machine # [1703639.291600] machine systemd[1]: Starting Save Transient machine-id to Disk...39machine # [1703639.292145] machine systemd[1]: Starting Create System Files and Directories...40machine # [1703639.322174] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted41machine # [1703639.322315] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted42machine # [1703639.322426] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/c6de948b8b904389aa582dd9e099682e failed: Operation not permitted43machine # [1703639.322564] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted44machine # [1703639.324061] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.W7tenhLdbG/chsh': Operation not permitted45machine # [1703639.330038] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE46machine # [1703639.330097] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.47machine # [1703639.330197] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.48machine # [1703639.330425] machine systemd[1]: Finished Create System Files and Directories.49machine # [1703639.353734] machine systemd[1]: Starting Rebuild Journal Catalog...50machine # [1703639.354145] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...51machine # [1703639.380835] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.52machine # [1703639.386097] machine systemd[1]: Finished Rebuild Journal Catalog.53machine # [1703639.387327] machine systemd[1]: Starting Update is Completed...54machine # [1703639.407228] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.55machine # [1703639.408235] machine systemd[1]: Finished Save Transient machine-id to Disk.56machine # [1703639.408408] machine systemd[1]: Finished Update is Completed.57machine # [1703639.409476] machine systemd[1]: Reached target System Initialization.58machine # [1703639.409559] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container59machine # [1703639.409594] machine systemd[1]: Started Daily Cleanup of Temporary Directories.60machine # [1703639.409612] machine systemd[1]: Reached target Timer Units.61machine # [1703639.409719] machine systemd[1]: Listening on D-Bus System Message Bus Socket.62machine # [1703639.409800] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.63machine # [1703639.409821] machine systemd[1]: Reached target Socket Units.64machine # [1703639.409849] machine systemd[1]: Reached target Basic System.65machine # [1703639.410681] machine systemd[1]: Starting Import lastlog data into lastlog2 database...66machine # [1703639.411337] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...67machine # [1703639.411825] machine systemd[1]: Starting resolvconf update...68machine # [1703639.423960] machine systemd[1]: Finished Import lastlog data into lastlog2 database.69machine # [1703639.452949] machine systemd[1]: nscd.service: Deactivated successfully.70machine # [1703639.453120] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).71machine # [1703639.455074] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...72machine # [1703639.460548] machine resolvconf-start[235]: setfacl: /run/resolvconf: Operation not supported73machine # [1703639.461368] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE74machine # [1703639.461451] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.75machine # [1703639.481720] machine systemd[1]: Failed to start resolvconf update.76machine # [1703639.482030] machine systemd[1]: Reached target Preparation for Network.77machine # [1703639.482944] machine systemd[1]: Starting Address configuration of eth1...78machine # [1703639.483693] machine systemd[1]: Starting Extra networking commands....79machine # [1703639.495368] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done80machine # [1703639.497315] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done81machine # [1703639.500243] machine systemd[1]: Finished Address configuration of eth1.82machine # [1703639.525332] machine systemd[1]: Finished Extra networking commands..83machine # [1703639.525432] machine systemd[1]: Reached target Network.84machine # [1703639.853062] machine nsncd[229]: Oct 14 16:13:30.583 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"85machine # [1703639.853138] machine systemd[1]: Started Name Service Cache Daemon (nsncd).86machine # [1703639.853187] machine systemd[1]: Reached target Host and Network Name Lookups.87machine # [1703639.853225] machine systemd[1]: Reached target User and Group Name Lookups.88machine # [1703639.854046] machine systemd[1]: Starting User Login Management...89machine # [1703639.854504] machine systemd[1]: Starting Permit User Sessions...90machine # [1703639.885230] machine systemd[1]: Finished Permit User Sessions.91machine # [1703639.885988] machine systemd[1]: Started Console Getty.92machine # [1703639.886015] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty093machine # [1703639.886029] machine systemd[1]: Reached target Login Prompts.94machine # [1703643.767268] machine systemd-logind[306]: New seat seat0.95machine # [1703643.768095] machine systemd[1]: Starting D-Bus System Message Bus...96machine # [1703643.768183] machine systemd[1]: Started User Login Management.97machine # [1703643.768767] machine systemd[1]: Starting linger-users.service...98machine # [1703643.808917] machine systemd[1]: linger-users.service: Deactivated successfully.99machine # [1703643.809064] machine systemd[1]: Finished linger-users.service.100machine # [1703643.809189] machine systemd[1]: Reached target Multi-User System.101machine # [1703645.160272] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...102machine # [1703645.160800] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'103machine # [1703645.160800] 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"104machine # [1703645.161307] machine systemd[1]: Started D-Bus System Message Bus.105machine # [1703645.161573] machine systemd[1]: Startup finished in 7.287s.106machine # [1703645.166422] machine dbus-broker-launch[316]: Ready107machine: (finished: waiting for unit multi-user.target, in 8.15 seconds)108machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/w46hlzm9j1djbnhncji59apgqdrdb10b-closure-info109warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.110machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/w46hlzm9j1djbnhncji59apgqdrdb10b-closure-info, in 13.75 seconds)111machine: must succeed: systemctl start nix-daemon.socket112machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.01 seconds)113machine: must succeed: cp -r /nix/store/qiv3wzr4892fnzjmr9kcf4psjir6q699-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets114machine: (finished: must succeed: cp -r /nix/store/qiv3wzr4892fnzjmr9kcf4psjir6q699-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.12 seconds)115machine: 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'116machine # [1703659.385781] machine systemd[1]: Listening on Nix Daemon Socket.117machine # [1703659.517338] machine runuser[4907]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)118machine # [1703659.705310] machine runuser[4907]: pam_unix(runuser-l:session): session closed for user alice119machine: (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)120machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/1p9az3w25yifnv1k0mmsymxqq1g0lf5n-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2121== 1. build path:DIR#checks122machine # [1703659.715600] machine runuser[4920]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)123machine # [1703660.957330] machine systemd[1]: Started Nix Daemon.124machine # [1703661.046357] machine nix-daemon[4990]: accepted connection from pid 4980, user alice (trusted)125ok a failing check exits 100126ok the failing attribute is named127ok the failure log tail is printed128ok the checks after the failure built129ok the closing line counts them130ok stdout has one path per output built131ok every path is there132ok the other system is not evaluated into the build133== 2. --json134ok --json keeps the exit code135ok one outcome per check, by attribute136ok the outcome has the plumbing keys137ok the failure has a reason and no output138ok the failure has its log tail139ok the others have the paths of case 1140== 3. what is built is not built again141ok no second build of a valid output142ok the failure is tried again143== 4. one root144machine # [1703661.423558] machine nix-daemon[4990]: accepted connection from pid 4980, user alice (trusted)145machine # [1703661.568558] machine nix-daemon[4990]: accepted connection from pid 5055, user alice (trusted)146machine # [1703661.673498] machine nix-daemon[4990]: accepted connection from pid 5055, user alice (trusted)147ok the failing check alone: exit 100, no path148ok one root has no closing line149machine # [1703662.191241] machine nix-daemon[4990]: accepted connection from pid 5095, user alice (trusted)150ok #packages builds its one member151machine # [1703663.136645] machine nix-daemon[4990]: accepted connection from pid 5130, user alice (trusted)152machine # [1703663.277025] machine nix-daemon[4990]: accepted connection from pid 5130, user alice (trusted)153ok a system named in full is walked as it is154== 5. a file, -A and --argstr155machine # [1703663.489913] machine nix-daemon[4990]: accepted connection from pid 5167, user alice (trusted)156ok -A ci reaches the failing check157ok the failure is named by its attribute path158ok the same paths as the flake gave159== 6. --dry-run over a tree160machine # [1703663.963699] machine nix-daemon[4990]: accepted connection from pid 5186, user alice (trusted)161machine # [1703664.093903] machine nix-daemon[4990]: accepted connection from pid 5186, user alice (trusted)162ok the plan has the four checks163== 7. no verdict without an evaluation164machine # [1703664.713351] machine nix-daemon[4990]: accepted connection from pid 5226, user alice (trusted)165ok an attribute that throws stops the run166ok nothing was built167ok a tree with no derivation is an error168== 8. a failure in a dependency169ok a dependency that failed to build exits 100170machine # [1703666.801242] machine nix-daemon[4990]: accepted connection from pid 5261, user alice (trusted)171ok a dependency with a hash mismatch exits 102172ok the dependency that failed keeps no check mark173== 9. a build log cannot forge a hash mismatch174machine # [1703667.285787] machine nix-daemon[4990]: accepted connection from pid 5298, user alice (trusted)175machine # [1703668.552536] machine nix-daemon[4990]: accepted connection from pid 5335, user alice (trusted)176ok a forged mismatch never rewrites a hash in the file177ok nothing was fixed178== 10. --no-build with several installables179ok --no-build uploads every installable18033 cases, 0 failed181PASS182machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/1p9az3w25yifnv1k0mmsymxqq1g0lf5n-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2, in 10.88 seconds)183(finished: run the VM test script, in 33.10 seconds)184machine # [1703670.383922] machine nix-daemon[4990]: accepted connection from pid 5370, user alice (trusted)185machine # [1703670.579189] machine runuser[4920]: pam_unix(runuser-l:session): session closed for user alice186test script finished in 33.78s187cleanup188kill NspawnMachine (pid 50)189Container machine terminated by signal KILL.190(finished: cleanup, in 0.30 seconds)