container-test-run-iets-build-e2e
checks.x86_64-linux.build-e2e
· build #212
· 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 # [1675656.247118] machine systemd-journald[57]: Journal started19machine # [1675656.247169] machine systemd-journald[57]: Runtime Journal (/run/log/journal/a20fc6c5cb6e4519ab12830f8776d413) is 8M, max 2.5G, 2.5G free.20machine # [1675656.250321] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21machine # [1675656.270309] machine systemd[1]: Starting Flush Journal to Persistent Storage...22machine # [1675656.271099] machine systemd[1]: Starting Create Static Device Nodes in /dev...23machine # [1675656.278537] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/a20fc6c5cb6e4519ab12830f8776d413 is 1.330ms for 5 entries.24machine # [1675656.278537] machine systemd-journald[57]: System Journal (/var/log/journal/a20fc6c5cb6e4519ab12830f8776d413) is 512B, max 4G, 3.9G free.25machine # [1675656.296502] machine systemd[1]: Finished Create Static Device Nodes in /dev.26machine # [1675656.297458] machine systemd[1]: Finished Firewall.27machine # [1675656.298102] machine systemd[1]: Reached target Preparation for Local File Systems.28machine # [1675656.298223] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys29machine # [1675656.300655] machine systemd[1]: Finished Flush Journal to Persistent Storage.30machine # [1675657.199157] machine systemd[1]: Mounting /run/wrappers...31machine # [1675657.336456] machine systemd[1]: Mounted /run/wrappers.32machine # [1675657.337319] machine systemd[1]: Reached target Local File Systems.33machine # [1675657.338403] machine systemd[1]: Listening on Boot Loader Control Service Socket.34machine # [1675657.339643] machine systemd[1]: Starting Create SUID/SGID Wrappers...35machine # [1675657.339688] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36machine # [1675657.341627] machine systemd[1]: Starting Save Transient machine-id to Disk...37machine # [1675657.342443] machine systemd[1]: Starting Create System Files and Directories...38machine # [1675657.398922] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39machine # [1675657.399408] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted40machine # [1675657.399507] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/a20fc6c5cb6e4519ab12830f8776d413 failed: Operation not permitted41machine # [1675657.399641] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted42machine # [1675657.403902] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.WMGebqkEA3/chsh': Operation not permitted43machine # [1675657.419870] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE44machine # [1675657.419969] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.45machine # [1675657.420233] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.46machine # [1675657.421206] machine systemd[1]: Finished Create System Files and Directories.47machine # [1675657.442042] machine systemd[1]: Starting Rebuild Journal Catalog...48machine # [1675657.443144] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...49machine # [1675657.507148] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.50machine # [1675657.513327] machine systemd[1]: Finished Rebuild Journal Catalog.51machine # [1675657.515231] machine systemd[1]: Starting Update is Completed...52machine # [1675657.527765] machine systemd[1]: Finished Update is Completed.53machine # [1675657.528330] machine systemd[1]: Reached target System Initialization.54machine # [1675657.528443] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container55machine # [1675657.528480] machine systemd[1]: Started Daily Cleanup of Temporary Directories.56machine # [1675657.528502] machine systemd[1]: Reached target Timer Units.57machine # [1675657.528639] machine systemd[1]: Listening on D-Bus System Message Bus Socket.58machine # [1675657.528731] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.59machine # [1675657.528753] machine systemd[1]: Reached target Socket Units.60machine # [1675657.528785] machine systemd[1]: Reached target Basic System.61machine # [1675657.530132] machine systemd[1]: Starting Import lastlog data into lastlog2 database...62machine # [1675657.531096] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...63machine # [1675657.535396] machine systemd[1]: Starting resolvconf update...64machine # [1675657.566045] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.65machine # [1675657.567392] machine systemd[1]: Finished Save Transient machine-id to Disk.66machine # [1675657.567529] machine systemd[1]: Finished Import lastlog data into lastlog2 database.67machine # [1675657.585608] machine systemd[1]: nscd.service: Deactivated successfully.68machine # [1675657.585777] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).69machine # [1675657.588055] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...70machine # [1675657.595485] machine resolvconf-start[236]: setfacl: /run/resolvconf: Operation not supported71machine # [1675657.596842] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE72machine # [1675657.596917] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.73machine # [1675657.597186] machine systemd[1]: Failed to start resolvconf update.74machine # [1675657.597333] machine systemd[1]: Reached target Preparation for Network.75machine # [1675657.599177] machine systemd[1]: Starting Address configuration of eth1...76machine # [1675657.599804] machine systemd[1]: Starting Extra networking commands....77machine # [1675657.613739] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done78machine # [1675657.621391] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done79machine # [1675657.625970] machine systemd[1]: Finished Address configuration of eth1.80machine # [1675657.661438] machine systemd[1]: Finished Extra networking commands..81machine # [1675657.661584] machine systemd[1]: Reached target Network.82machine # [1675657.736652] machine nsncd[231]: Oct 14 08:27:08.467 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"83machine # [1675657.736776] machine systemd[1]: Started Name Service Cache Daemon (nsncd).84machine # [1675657.736890] machine systemd[1]: Reached target Host and Network Name Lookups.85machine # [1675657.736986] machine systemd[1]: Reached target User and Group Name Lookups.86machine # [1675657.738266] machine systemd[1]: Starting User Login Management...87machine # [1675657.738885] machine systemd[1]: Starting Permit User Sessions...88machine # [1675657.758704] machine systemd[1]: Finished Permit User Sessions.89machine # [1675657.759789] machine systemd[1]: Started Console Getty.90machine # [1675657.759824] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty091machine # [1675657.759848] machine systemd[1]: Reached target Login Prompts.92machine # [1675658.555663] machine systemd-logind[306]: New seat seat0.93machine # [1675658.556359] machine systemd[1]: Starting D-Bus System Message Bus...94machine # [1675658.556446] machine systemd[1]: Started User Login Management.95machine # [1675658.557356] machine systemd[1]: Starting linger-users.service...96machine # [1675658.580991] machine systemd[1]: linger-users.service: Deactivated successfully.97machine # [1675658.581174] machine systemd[1]: Finished linger-users.service.98machine # [1675658.581306] machine systemd[1]: Reached target Multi-User System.99machine: (finished: waiting for unit multi-user.target, in 3.66 seconds)100machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/c8m0vlpw593dlyiaxyw74l05vv7ndq8y-closure-info101machine # [1675658.836249] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...102machine # [1675658.836877] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'103machine # [1675658.836877] 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 # [1675658.837371] machine systemd[1]: Started D-Bus System Message Bus.105machine # [1675658.838079] machine systemd[1]: Startup finished in 3.046s.106machine # [1675658.844706] machine dbus-broker-launch[316]: Ready107warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.108machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/c8m0vlpw593dlyiaxyw74l05vv7ndq8y-closure-info, in 10.40 seconds)109machine: must succeed: systemctl start nix-daemon.socket110machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.02 seconds)111machine: must succeed: cp -r /nix/store/q5sgi19hcgska1iw82xyyirsx6zq1mbn-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets112machine # [1675669.403553] machine systemd[1]: Listening on Nix Daemon Socket.113machine: (finished: must succeed: cp -r /nix/store/q5sgi19hcgska1iw82xyyirsx6zq1mbn-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.55 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 # [1675669.962080] machine runuser[4907]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)116machine # [1675670.291847] machine runuser[4907]: pam_unix(runuser-l:session): session closed for user alice117machine: (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.34 seconds)118machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/lhpycaxdigx8kg5p2kpz79hmqla9n287-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2119== 1. build path:DIR#checks120machine # [1675670.300309] machine runuser[4920]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)121machine # [1675671.895639] machine systemd[1]: Started Nix Daemon.122machine # [1675671.975929] machine nix-daemon[4990]: accepted connection from pid 4980, user alice (trusted)123ok a failing check exits 100124ok the failing attribute is named125ok the failure log tail is printed126ok the checks after the failure built127ok the closing line counts them128ok stdout has one path per output built129ok every path is there130ok the other system is not evaluated into the build131== 2. --json132ok --json keeps the exit code133ok one outcome per check, by attribute134ok the outcome has the plumbing keys135ok the failure has a reason and no output136ok the failure has its log tail137ok the others have the paths of case 1138== 3. what is built is not built again139ok no second build of a valid output140ok the failure is tried again141== 4. one root142machine # [1675672.196663] machine nix-daemon[4990]: accepted connection from pid 4980, user alice (trusted)143machine # [1675672.254735] machine nix-daemon[4990]: accepted connection from pid 5055, user alice (trusted)144machine # [1675672.344437] machine nix-daemon[4990]: accepted connection from pid 5055, user alice (trusted)145ok the failing check alone: exit 100, no path146ok one root has no closing line147machine # [1675673.706664] machine nix-daemon[4990]: accepted connection from pid 5094, user alice (trusted)148ok #packages builds its one member149machine # [1675675.223426] machine nix-daemon[4990]: accepted connection from pid 5130, user alice (trusted)150machine # [1675675.415118] machine nix-daemon[4990]: accepted connection from pid 5130, user alice (trusted)151ok a system named in full is walked as it is152== 5. a file, -A and --argstr153machine # [1675676.698570] machine nix-daemon[4990]: accepted connection from pid 5167, user alice (trusted)154ok -A ci reaches the failing check155ok the failure is named by its attribute path156ok the same paths as the flake gave157== 6. --dry-run over a tree158machine # [1675678.903549] machine nix-daemon[4990]: accepted connection from pid 5187, user alice (trusted)159machine # [1675679.147124] machine nix-daemon[4990]: accepted connection from pid 5187, user alice (trusted)160ok the plan has the four checks161== 7. no verdict without an evaluation162ok an attribute that throws stops the run163ok nothing was built164ok a tree with no derivation is an error165== 8. a failure in a dependency166machine # [1675679.340489] machine nix-daemon[4990]: accepted connection from pid 5227, user alice (trusted)167ok a dependency that failed to build exits 100168machine # [1675679.789385] machine nix-daemon[4990]: accepted connection from pid 5262, user alice (trusted)169machine # [1675680.019131] machine nix-daemon[4990]: accepted connection from pid 5299, 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 mismatch173ok a forged mismatch never rewrites a hash in the file174ok nothing was fixed17532 cases, 0 failed176PASS177machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/lhpycaxdigx8kg5p2kpz79hmqla9n287-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2, in 10.14 seconds)178(finished: run the VM test script, in 25.11 seconds)179machine # [1675680.277712] machine nix-daemon[4990]: accepted connection from pid 5336, user alice (trusted)180machine # [1675680.431879] machine runuser[4920]: pam_unix(runuser-l:session): session closed for user alice181test script finished in 25.24s182cleanup183kill NspawnMachine (pid 50)184Container machine terminated by signal KILL.185(finished: cleanup, in 0.17 seconds)