container-test-run-iets-build-e2e
checks.x86_64-linux.build-e2e
· build #310
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.01 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 # No journal files were found.21machine # No journal boot entry found for the specified boot (+0).22machine # [1682235.311861] machine systemd-journald[57]: Journal started23machine # [1682235.311924] machine systemd-journald[57]: Runtime Journal (/run/log/journal/0a45c00cc7654029a3c38d9dcadeb39b) is 8M, max 2.5G, 2.5G free.24machine # [1682235.338164] machine systemd[1]: Finished Apply Kernel Variables.25machine # [1682235.446926] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.26machine # [1682235.529937] machine systemd[1]: Starting Flush Journal to Persistent Storage...27machine # [1682235.535933] machine systemd[1]: Starting Create Static Device Nodes in /dev...28machine # [1682235.589178] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/0a45c00cc7654029a3c38d9dcadeb39b is 1.520ms for 6 entries.29machine # [1682235.589178] machine systemd-journald[57]: System Journal (/var/log/journal/0a45c00cc7654029a3c38d9dcadeb39b) is 512B, max 4G, 3.9G free.30machine # [1682235.628212] machine systemd[1]: Finished Create Static Device Nodes in /dev.31machine # [1682235.628690] machine systemd[1]: Finished Flush Journal to Persistent Storage.32machine # [1682235.630647] machine systemd[1]: Reached target Preparation for Local File Systems.33machine # [1682235.637615] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys34machine # [1682235.752028] machine systemd[1]: Finished Firewall.35machine # [1682236.321237] machine systemd[1]: Mounting /run/wrappers...36machine # [1682236.387281] machine systemd[1]: Mounted /run/wrappers.37machine # [1682236.388225] machine systemd[1]: Reached target Local File Systems.38machine # [1682236.389504] machine systemd[1]: Listening on Boot Loader Control Service Socket.39machine # [1682236.392111] machine systemd[1]: Starting Create SUID/SGID Wrappers...40machine # [1682236.392168] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container41machine # [1682236.401165] machine systemd[1]: Starting Save Transient machine-id to Disk...42machine # [1682236.414746] machine systemd[1]: Starting Create System Files and Directories...43machine # [1682236.433856] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted44machine # [1682236.434551] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted45machine # [1682236.434689] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/0a45c00cc7654029a3c38d9dcadeb39b failed: Operation not permitted46machine # [1682236.434863] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted47machine # [1682236.453645] machine systemd[1]: Finished Create System Files and Directories.48machine # [1682236.465048] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.GjHDZzTDTm/chsh': Operation not permitted49machine # [1682236.494316] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE50machine # [1682236.494413] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.51machine # [1682236.494623] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.52machine # [1682236.497219] machine systemd[1]: Starting Rebuild Journal Catalog...53machine # [1682236.515952] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...54machine # [1682236.531339] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.55machine # [1682236.541746] machine systemd[1]: Finished Rebuild Journal Catalog.56machine # [1682236.545011] machine systemd[1]: Starting Update is Completed...57machine # [1682236.560564] machine systemd[1]: Finished Update is Completed.58machine # [1682236.561817] machine systemd[1]: Reached target System Initialization.59machine # [1682236.561964] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container60machine # [1682236.562112] machine systemd[1]: Started Daily Cleanup of Temporary Directories.61machine # [1682236.562139] machine systemd[1]: Reached target Timer Units.62machine # [1682236.562279] machine systemd[1]: Listening on D-Bus System Message Bus Socket.63machine # [1682236.562366] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.64machine # [1682236.562386] machine systemd[1]: Reached target Socket Units.65machine # [1682236.562419] machine systemd[1]: Reached target Basic System.66machine # [1682236.564716] machine systemd[1]: Starting Import lastlog data into lastlog2 database...67machine # [1682236.569092] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...68machine # [1682236.575179] machine systemd[1]: Starting resolvconf update...69machine # [1682236.596099] machine systemd[1]: Finished Import lastlog data into lastlog2 database.70machine # [1682236.667471] machine systemd[1]: nscd.service: Deactivated successfully.71machine # [1682236.667649] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).72machine # [1682236.683052] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...73machine # [1682236.701736] machine resolvconf-start[234]: setfacl: /run/resolvconf: Operation not supported74machine # [1682236.701618] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE75machine # [1682236.701720] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.76machine # [1682236.716584] machine systemd[1]: Failed to start resolvconf update.77machine # [1682236.717558] machine systemd[1]: Reached target Preparation for Network.78machine # [1682236.721137] machine systemd[1]: Starting Address configuration of eth1...79machine # [1682236.724117] machine systemd[1]: Starting Extra networking commands....80machine # [1682236.789336] machine network-addresses-eth1-start[237]: adding address 192.168.1.1/24... done81machine # [1682236.803669] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.82machine # [1682236.805304] machine network-addresses-eth1-start[237]: adding address 2001:db8:1::1/64... done83machine # [1682236.805737] machine systemd[1]: Finished Save Transient machine-id to Disk.84machine # [1682236.817734] machine systemd[1]: Finished Address configuration of eth1.85machine # [1682236.854115] machine systemd[1]: Finished Extra networking commands..86machine # [1682236.855049] machine systemd[1]: Reached target Network.87machine # [1682237.210671] machine nsncd[228]: Oct 14 10:16:47.941 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"88machine # [1682237.210885] machine systemd[1]: Started Name Service Cache Daemon (nsncd).89machine # [1682237.210967] machine systemd[1]: Reached target Host and Network Name Lookups.90machine # [1682237.211044] machine systemd[1]: Reached target User and Group Name Lookups.91machine # [1682237.212522] machine systemd[1]: Starting User Login Management...92machine # [1682237.213399] machine systemd[1]: Starting Permit User Sessions...93machine # [1682237.259688] machine systemd[1]: Finished Permit User Sessions.94machine # [1682237.264127] machine systemd[1]: Started Console Getty.95machine # [1682237.264188] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty096machine # [1682237.264208] machine systemd[1]: Reached target Login Prompts.97machine # [1682240.380935] machine systemd-logind[299]: New seat seat0.98machine # [1682240.381172] machine systemd[1]: Starting D-Bus System Message Bus...99machine # [1682240.381309] machine systemd[1]: Started User Login Management.100machine # [1682240.384136] machine systemd[1]: Starting linger-users.service...101machine # [1682240.509760] machine systemd[1]: linger-users.service: Deactivated successfully.102machine # [1682240.510263] machine systemd[1]: Finished linger-users.service.103machine # [1682240.510459] machine systemd[1]: Reached target Multi-User System.104machine: (finished: waiting for unit multi-user.target, in 9.19 seconds)105machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/9xvzh4phz8hqya6xim8ziah7bndypb8h-closure-info106machine # [1682241.490608] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...107machine # [1682241.496578] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'108machine # [1682241.496578] 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"109machine # [1682241.500172] machine systemd[1]: Started D-Bus System Message Bus.110machine # [1682241.500594] machine systemd[1]: Startup finished in 7.321s.111machine # [1682241.511484] machine dbus-broker-launch[316]: Ready112warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.113machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/9xvzh4phz8hqya6xim8ziah7bndypb8h-closure-info, in 18.36 seconds)114machine: must succeed: systemctl start nix-daemon.socket115machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.01 seconds)116machine: must succeed: cp -r /nix/store/1rhbdvgzzhq5xrm5flq9nyl2g4byhq37-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets117machine: (finished: must succeed: cp -r /nix/store/1rhbdvgzzhq5xrm5flq9nyl2g4byhq37-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.20 seconds)118machine: 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'119machine # [1682260.169795] machine systemd[1]: Listening on Nix Daemon Socket.120machine # [1682260.380387] machine runuser[4907]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)121machine: (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.39 seconds)122machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/q1j8ns0z1jsw56fidxyx9c9phgiq6apc-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2123== 1. build path:DIR#checks124machine # [1682260.762548] machine runuser[4907]: pam_unix(runuser-l:session): session closed for user alice125machine # [1682260.771751] machine runuser[4920]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)126machine # [1682261.326300] machine systemd[1]: Started Nix Daemon.127machine # [1682261.419193] machine nix-daemon[4990]: accepted connection from pid 4980, user alice (trusted)128ok a failing check exits 100129ok the failing attribute is named130ok the failure log tail is printed131ok the checks after the failure built132ok the closing line counts them133ok stdout has one path per output built134ok every path is there135ok the other system is not evaluated into the build136== 2. --json137machine # [1682261.821437] machine nix-daemon[4990]: accepted connection from pid 4980, 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 # [1682262.224790] machine nix-daemon[4990]: accepted connection from pid 5055, user alice (trusted)149machine # [1682262.352592] machine nix-daemon[4990]: accepted connection from pid 5055, user alice (trusted)150ok the failing check alone: exit 100, no path151ok one root has no closing line152machine # [1682263.041388] machine nix-daemon[4990]: accepted connection from pid 5095, user alice (trusted)153ok #packages builds its one member154machine # [1682263.572758] machine nix-daemon[4990]: accepted connection from pid 5130, user alice (trusted)155machine # [1682263.746237] machine nix-daemon[4990]: accepted connection from pid 5130, user alice (trusted)156ok a system named in full is walked as it is157== 5. a file, -A and --argstr158machine # [1682264.228020] machine nix-daemon[4990]: accepted connection from pid 5167, user alice (trusted)159ok -A ci reaches the failing check160ok the failure is named by its attribute path161ok the same paths as the flake gave162== 6. --dry-run over a tree163machine # [1682265.135718] machine nix-daemon[4990]: accepted connection from pid 5186, user alice (trusted)164machine # [1682265.240884] machine nix-daemon[4990]: accepted connection from pid 5186, user alice (trusted)165ok the plan has the four checks166== 7. no verdict without an evaluation167machine # [1682268.972023] machine nix-daemon[4990]: accepted connection from pid 5226, user alice (trusted)168ok an attribute that throws stops the run169ok nothing was built170ok a tree with no derivation is an error171== 8. a failure in a dependency172machine # [1682275.218627] machine nix-daemon[4990]: accepted connection from pid 5261, user alice (trusted)173ok a dependency that failed to build exits 100174ok a dependency with a hash mismatch exits 102175ok the dependency that failed keeps no check mark176== 9. a build log cannot forge a hash mismatch177machine # [1682276.621454] machine nix-daemon[4990]: accepted connection from pid 5298, user alice (trusted)178ok a forged mismatch never rewrites a hash in the file179ok nothing was fixed180== 10. --no-build with several installables181machine # [1682277.397915] machine nix-daemon[4990]: accepted connection from pid 5335, user alice (trusted)182ok --no-build uploads every installable18333 cases, 0 failed184PASS185machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/q1j8ns0z1jsw56fidxyx9c9phgiq6apc-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2, in 18.26 seconds)186(finished: run the VM test script, in 46.42 seconds)187test script finished in 46.45s188cleanup189kill NspawnMachine (pid 50)190Container machine terminated by signal KILL.191(finished: cleanup, in 0.22 seconds)