nixbot

builds

succeeded container-test-run-iets-build-e2e checks.x86_64-linux.build-e2e · build #389 · 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 # No journal files were found.19machine # No journal boot entry found for the specified boot (+0).20machine # [1772569.260797] machine systemd-journald[57]: Journal started21machine # [1772569.260851] machine systemd-journald[57]: Runtime Journal (/run/log/journal/db1e76c1fa1a45f4a04c5a5c5909326f) is 8M, max 2.5G, 2.5G free.22machine # [1772569.273760] machine systemd[1]: Finished Apply Kernel Variables.23machine # [1772569.289630] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.24machine # [1772569.309378] machine systemd[1]: Starting Flush Journal to Persistent Storage...25machine # [1772569.309933] machine systemd[1]: Starting Create Static Device Nodes in /dev...26machine # [1772569.358554] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/db1e76c1fa1a45f4a04c5a5c5909326f is 1.678ms for 6 entries.27machine # [1772569.358554] machine systemd-journald[57]: System Journal (/var/log/journal/db1e76c1fa1a45f4a04c5a5c5909326f) is 512B, max 4G, 3.9G free.28machine # [1772569.375397] machine systemd[1]: Finished Create Static Device Nodes in /dev.29machine # [1772569.375879] machine systemd[1]: Reached target Preparation for Local File Systems.30machine # [1772569.375962] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys31machine # [1772569.382460] machine systemd[1]: Finished Flush Journal to Persistent Storage.32machine # [1772569.425494] machine systemd[1]: Finished Firewall.33machine # [1772570.242103] machine systemd[1]: Mounting /run/wrappers...34machine # [1772570.264855] machine systemd[1]: Mounted /run/wrappers.35machine # [1772570.266072] machine systemd[1]: Reached target Local File Systems.36machine # [1772570.266849] machine systemd[1]: Listening on Boot Loader Control Service Socket.37machine # [1772570.268789] machine systemd[1]: Starting Create SUID/SGID Wrappers...38machine # [1772570.268827] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container39machine # [1772570.270830] machine systemd[1]: Starting Save Transient machine-id to Disk...40machine # [1772570.272220] machine systemd[1]: Starting Create System Files and Directories...41machine # [1772570.290103] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.lW3Qoo4TBk/chsh': Operation not permitted42machine # [1772570.294328] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted43machine # [1772570.294472] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted44machine # [1772570.294569] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/db1e76c1fa1a45f4a04c5a5c5909326f failed: Operation not permitted45machine # [1772570.294704] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted46machine # [1772570.303026] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE47machine # [1772570.303094] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.48machine # [1772570.303197] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.49machine # [1772570.303713] machine systemd[1]: Finished Create System Files and Directories.50machine # [1772570.330026] machine systemd[1]: Starting Rebuild Journal Catalog...51machine # [1772570.330433] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...52machine # [1772570.341145] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.53machine # [1772570.351270] machine systemd[1]: Finished Rebuild Journal Catalog.54machine # [1772570.352963] machine systemd[1]: Starting Update is Completed...55machine # [1772570.365120] machine systemd[1]: Finished Update is Completed.56machine # [1772570.365241] machine systemd[1]: Reached target System Initialization.57machine # [1772570.365311] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container58machine # [1772570.365339] machine systemd[1]: Started Daily Cleanup of Temporary Directories.59machine # [1772570.365352] machine systemd[1]: Reached target Timer Units.60machine # [1772570.365439] machine systemd[1]: Listening on D-Bus System Message Bus Socket.61machine # [1772570.365498] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.62machine # [1772570.365510] machine systemd[1]: Reached target Socket Units.63machine # [1772570.365533] machine systemd[1]: Reached target Basic System.64machine # [1772570.366665] machine systemd[1]: Starting Import lastlog data into lastlog2 database...65machine # [1772570.367267] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...66machine # [1772570.367648] machine systemd[1]: Starting resolvconf update...67machine # [1772570.388555] machine systemd[1]: Finished Import lastlog data into lastlog2 database.68machine # [1772570.427731] machine systemd[1]: nscd.service: Deactivated successfully.69machine # [1772570.427877] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).70machine # [1772570.429884] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...71machine # [1772570.437827] machine resolvconf-start[235]: setfacl: /run/resolvconf: Operation not supported72machine # [1772570.438735] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE73machine # [1772570.438798] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.74machine # [1772570.438908] machine systemd[1]: Failed to start resolvconf update.75machine # [1772570.439035] machine systemd[1]: Reached target Preparation for Network.76machine # [1772570.439700] machine systemd[1]: Starting Address configuration of eth1...77machine # [1772570.440268] machine systemd[1]: Starting Extra networking commands....78machine # [1772570.460992] machine network-addresses-eth1-start[237]: adding address 192.168.1.1/24... done79machine # [1772570.464868] machine network-addresses-eth1-start[237]: adding address 2001:db8:1::1/64... done80machine # [1772570.469235] machine systemd[1]: Finished Address configuration of eth1.81machine # [1772570.496837] machine systemd[1]: Finished Extra networking commands..82machine # [1772570.496961] machine systemd[1]: Reached target Network.83machine # [1772570.585297] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.84machine # [1772570.586201] machine systemd[1]: Finished Save Transient machine-id to Disk.85machine # [1772570.622358] machine systemd[1]: Started Name Service Cache Daemon (nsncd).86machine # [1772570.622420] machine systemd[1]: Reached target Host and Network Name Lookups.87machine # [1772570.622466] machine systemd[1]: Reached target User and Group Name Lookups.88machine # [1772570.623415] machine nsncd[228]: Oct 15 11:22:21.353 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"89machine # [1772570.654931] machine systemd[1]: Starting User Login Management...90machine # [1772570.655557] machine systemd[1]: Starting Permit User Sessions...91machine # [1772570.664687] machine systemd[1]: Finished Permit User Sessions.92machine # [1772570.667257] machine systemd[1]: Started Console Getty.93machine # [1772570.667299] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty094machine # [1772570.667319] machine systemd[1]: Reached target Login Prompts.95machine # [1772573.262110] machine systemd-logind[306]: New seat seat0.96machine # [1772573.264341] machine systemd[1]: Starting D-Bus System Message Bus...97machine # [1772573.264447] machine systemd[1]: Started User Login Management.98machine # [1772573.265453] machine systemd[1]: Starting linger-users.service...99machine # [1772573.340873] machine systemd[1]: linger-users.service: Deactivated successfully.100machine # [1772573.341091] machine systemd[1]: Finished linger-users.service.101machine # [1772573.341342] machine systemd[1]: Reached target Multi-User System.102machine: (finished: waiting for unit multi-user.target, in 6.16 seconds)103machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/f0pjvp8q8cn3xiy6p8rgm6cmb47z5r9x-closure-info104machine # [1772574.263191] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...105machine # [1772574.264128] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'106machine # [1772574.264128] 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"107machine # [1772574.264556] machine systemd[1]: Started D-Bus System Message Bus.108machine # [1772574.264901] machine systemd[1]: Startup finished in 5.477s.109machine # [1772574.270425] machine dbus-broker-launch[316]: Ready110warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.111machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/f0pjvp8q8cn3xiy6p8rgm6cmb47z5r9x-closure-info, in 17.31 seconds)112machine: must succeed: systemctl start nix-daemon.socket113machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.01 seconds)114machine: must succeed: cp -r /nix/store/p1qypfssns65xwki4w0md914i6hx134z-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets115machine: (finished: must succeed: cp -r /nix/store/p1qypfssns65xwki4w0md914i6hx134z-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.15 seconds)116machine: 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'117machine # [1772591.810237] machine systemd[1]: Listening on Nix Daemon Socket.118machine # [1772591.969292] machine runuser[4907]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)119machine: (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.26 seconds)120machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/51502pd1f94mp7aarwdjvv93sdqm4bca-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 # [1772592.214978] machine runuser[4907]: pam_unix(runuser-l:session): session closed for user alice123machine # [1772592.225373] machine runuser[4920]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)124machine # [1772592.435582] machine systemd[1]: Started Nix Daemon.125ok a failing check exits 100126machine # [1772592.500599] machine nix-daemon[4988]: accepted connection from pid 4980, user alice (trusted)127machine # [1772592.747903] machine nix-daemon[4988]: accepted connection from pid 4980, user alice (trusted)128ok 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. --json136ok --json keeps the exit code137ok one outcome per check, by attribute138ok the outcome has the plumbing keys139ok the failure has a reason and no output140ok the failure has its log tail141ok the others have the paths of case 1142== 3. what is built is not built again143ok no second build of a valid output144ok the failure is tried again145== 4. one root146machine # [1772592.782064] machine nix-daemon[4988]: accepted connection from pid 5055, user alice (trusted)147machine # [1772592.910720] machine nix-daemon[4988]: accepted connection from pid 5055, user alice (trusted)148machine # [1772593.035561] machine nix-daemon[4988]: accepted connection from pid 5095, user alice (trusted)149ok the failing check alone: exit 100, no path150ok one root has no closing line151machine # [1772593.236166] machine nix-daemon[4988]: accepted connection from pid 5130, user alice (trusted)152ok #packages builds its one member153ok a system named in full is walked as it is154== 5. a file, -A and --argstr155machine # [1772593.354826] machine nix-daemon[4988]: accepted connection from pid 5130, user alice (trusted)156machine # [1772593.474686] machine nix-daemon[4988]: accepted connection from pid 5167, user alice (trusted)157machine # [1772593.592579] machine nix-daemon[4988]: accepted connection from pid 5186, user alice (trusted)158ok -A ci reaches the failing check159ok the failure is named by its attribute path160ok the same paths as the flake gave161== 6. --dry-run over a tree162ok the plan has the four checks163== 7. no verdict without an evaluation164ok an attribute that throws stops the run165ok nothing was built166ok a tree with no derivation is an error167== 8. a failure in a dependency168machine # [1772593.724061] machine nix-daemon[4988]: accepted connection from pid 5186, user alice (trusted)169machine # [1772593.823392] machine nix-daemon[4988]: accepted connection from pid 5226, user alice (trusted)170ok a dependency that failed to build exits 100171machine # [1772594.172145] machine nix-daemon[4988]: accepted connection from pid 5261, user alice (trusted)172machine # [1772594.415412] machine nix-daemon[4988]: accepted connection from pid 5298, 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 mismatch176ok a forged mismatch never rewrites a hash in the file177ok nothing was fixed178== 10. --no-build with several installables179machine # [1772594.630115] machine nix-daemon[4988]: accepted connection from pid 5335, user alice (trusted)180machine # [1772594.971423] machine nix-daemon[4988]: accepted connection from pid 5370, user alice (trusted)181ok --no-build uploads every installable18233 cases, 0 failed183PASS184machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/51502pd1f94mp7aarwdjvv93sdqm4bca-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2, in 2.78 seconds)185(finished: run the VM test script, in 26.67 seconds)186machine # [1772594.998521] machine runuser[4920]: pam_unix(runuser-l:session): session closed for user alice187test script finished in 27.01s188cleanup189kill NspawnMachine (pid 50)190Container machine terminated by signal KILL.191(finished: cleanup, in 0.12 seconds)