container-test-run-iets-build-e2e
checks.x86_64-linux.build-e2e
· build #328
· 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 # No journal boot entry found for the specified boot (+0).21machine # [1683531.983704] machine systemd-journald[57]: Journal started22machine # [1683531.983776] machine systemd-journald[57]: Runtime Journal (/run/log/journal/4fe29668ea8d4f4c9daa842ee39ad52f) is 8M, max 2.5G, 2.5G free.23machine # [1683532.076681] machine systemd[1]: Listening on Journal Log Access Socket.24machine # [1683532.079867] machine systemd[1]: Finished Apply Kernel Variables.25machine # [1683532.142184] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.26machine # [1683532.172936] machine systemd[1]: Starting Flush Journal to Persistent Storage...27machine # [1683532.173739] machine systemd[1]: Starting Create Static Device Nodes in /dev...28machine # [1683532.196097] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/4fe29668ea8d4f4c9daa842ee39ad52f is 11.337ms for 7 entries.29machine # [1683532.196097] machine systemd-journald[57]: System Journal (/var/log/journal/4fe29668ea8d4f4c9daa842ee39ad52f) is 1K, max 4G, 3.9G free.30machine # [1683532.213706] machine systemd[1]: Finished Create Static Device Nodes in /dev.31machine # [1683532.215274] machine systemd[1]: Reached target Preparation for Local File Systems.32machine # [1683532.215369] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys33machine # [1683532.221444] machine systemd[1]: Finished Firewall.34machine # [1683532.992051] machine systemd[1]: Finished Flush Journal to Persistent Storage.35machine # [1683532.994657] machine systemd[1]: Mounting /run/wrappers...36machine # [1683533.061507] machine systemd[1]: Mounted /run/wrappers.37machine # [1683533.062484] machine systemd[1]: Reached target Local File Systems.38machine # [1683533.063467] machine systemd[1]: Listening on Boot Loader Control Service Socket.39machine # [1683533.068207] machine systemd[1]: Starting Create SUID/SGID Wrappers...40machine # [1683533.068266] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container41machine # [1683533.069610] machine systemd[1]: Starting Save Transient machine-id to Disk...42machine # [1683533.071422] machine systemd[1]: Starting Create System Files and Directories...43machine # [1683533.113726] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted44machine # [1683533.113902] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted45machine # [1683533.114037] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/4fe29668ea8d4f4c9daa842ee39ad52f failed: Operation not permitted46machine # [1683533.114200] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted47machine # [1683533.119065] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.cq1Qdnylk7/chsh': Operation not permitted48machine # [1683533.130024] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE49machine # [1683533.130131] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.50machine # [1683533.130715] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.51machine # [1683533.132795] machine systemd[1]: Finished Create System Files and Directories.52machine # [1683533.155943] machine systemd[1]: Starting Rebuild Journal Catalog...53machine # [1683533.156813] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...54machine # [1683533.186655] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.55machine # [1683533.198376] machine systemd[1]: Finished Rebuild Journal Catalog.56machine # [1683533.199802] machine systemd[1]: Starting Update is Completed...57machine # [1683533.217801] machine systemd[1]: Finished Update is Completed.58machine # [1683533.217917] machine systemd[1]: Reached target System Initialization.59machine # [1683533.217977] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container60machine # [1683533.218010] machine systemd[1]: Started Daily Cleanup of Temporary Directories.61machine # [1683533.218027] machine systemd[1]: Reached target Timer Units.62machine # [1683533.218132] machine systemd[1]: Listening on D-Bus System Message Bus Socket.63machine # [1683533.218216] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.64machine # [1683533.218232] machine systemd[1]: Reached target Socket Units.65machine # [1683533.218261] machine systemd[1]: Reached target Basic System.66machine # [1683533.220085] machine systemd[1]: Starting Import lastlog data into lastlog2 database...67machine # [1683533.221803] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...68machine # [1683533.222693] machine systemd[1]: Starting resolvconf update...69machine # [1683533.242471] machine systemd[1]: Finished Import lastlog data into lastlog2 database.70machine # [1683533.283633] machine systemd[1]: nscd.service: Deactivated successfully.71machine # [1683533.293787] machine resolvconf-start[231]: setfacl: /run/resolvconf: Operation not supported72machine # [1683533.306184] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).73machine # [1683533.307450] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE74machine # [1683533.307517] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.75machine # [1683533.307649] machine systemd[1]: Failed to start resolvconf update.76machine # [1683533.308242] machine systemd[1]: Reached target Preparation for Network.77machine # [1683533.311732] machine systemd[1]: Starting Address configuration of eth1...78machine # [1683533.312625] machine systemd[1]: Starting Extra networking commands....79machine # [1683533.313425] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...80machine # [1683533.334715] machine network-addresses-eth1-start[235]: adding address 192.168.1.1/24... done81machine # [1683533.337387] machine network-addresses-eth1-start[235]: adding address 2001:db8:1::1/64... done82machine # [1683533.340757] machine systemd[1]: Finished Address configuration of eth1.83machine # [1683533.378238] machine systemd[1]: Finished Extra networking commands..84machine # [1683533.378695] machine systemd[1]: Reached target Network.85machine # [1683533.638311] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.86machine # [1683533.658754] machine systemd[1]: Finished Save Transient machine-id to Disk.87machine # [1683534.110513] machine nsncd[237]: Oct 14 10:38:24.840 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"88machine # [1683534.110754] machine systemd[1]: Started Name Service Cache Daemon (nsncd).89machine # [1683534.110861] machine systemd[1]: Reached target Host and Network Name Lookups.90machine # [1683534.110934] machine systemd[1]: Reached target User and Group Name Lookups.91machine # [1683534.113485] machine systemd[1]: Starting User Login Management...92machine # [1683534.114889] machine systemd[1]: Starting Permit User Sessions...93machine # [1683534.143325] machine systemd[1]: Finished Permit User Sessions.94machine # [1683534.146031] machine systemd[1]: Started Console Getty.95machine # [1683534.146086] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty096machine # [1683534.146107] machine systemd[1]: Reached target Login Prompts.97machine # [1683536.772658] machine systemd-logind[306]: New seat seat0.98machine # [1683536.773718] machine systemd[1]: Starting D-Bus System Message Bus...99machine # [1683536.773865] machine systemd[1]: Started User Login Management.100machine # [1683536.774891] machine systemd[1]: Starting linger-users.service...101machine # [1683536.848180] machine systemd[1]: linger-users.service: Deactivated successfully.102machine # [1683536.848385] machine systemd[1]: Finished linger-users.service.103machine # [1683536.848581] machine systemd[1]: Reached target Multi-User System.104machine: (finished: waiting for unit multi-user.target, in 7.17 seconds)105machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/mk5fmsa62wxwdsxfrikw7abrr7zgkdl1-closure-info106machine # [1683537.534970] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...107machine # [1683537.536444] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'108machine # [1683537.536444] 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 # [1683537.537053] machine systemd[1]: Started D-Bus System Message Bus.110machine # [1683537.537624] machine systemd[1]: Startup finished in 6.245s.111machine # [1683537.545271] 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/mk5fmsa62wxwdsxfrikw7abrr7zgkdl1-closure-info, in 20.77 seconds)114machine: must succeed: systemctl start nix-daemon.socket115machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.05 seconds)116machine: must succeed: cp -r /nix/store/2p2rlh86wksf1z323hi6sp8az7zp40xr-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets117machine: (finished: must succeed: cp -r /nix/store/2p2rlh86wksf1z323hi6sp8az7zp40xr-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.25 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 # [1683558.495803] machine systemd[1]: Listening on Nix Daemon Socket.120machine # [1683558.775319] machine runuser[4907]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)121machine # [1683559.091147] machine runuser[4907]: pam_unix(runuser-l:session): session closed for user alice122machine: (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)123machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/i1q56krar18bzav8mlf6wx7pz8qm7686-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2124== 1. build path:DIR#checks125machine # [1683559.104354] machine runuser[4920]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)126machine # [1683560.268386] machine systemd[1]: Started Nix Daemon.127machine # [1683560.350729] 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 # [1683560.781380] machine nix-daemon[4990]: accepted connection from pid 4980, user alice (trusted)138machine # [1683560.848027] machine nix-daemon[4990]: accepted connection from pid 5055, user alice (trusted)139ok --json keeps the exit code140ok one outcome per check, by attribute141ok the outcome has the plumbing keys142ok the failure has a reason and no output143ok the failure has its log tail144ok the others have the paths of case 1145== 3. what is built is not built again146ok no second build of a valid output147ok the failure is tried again148== 4. one root149machine # [1683561.165020] 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 # [1683562.321277] machine nix-daemon[4990]: accepted connection from pid 5095, user alice (trusted)153machine # [1683563.136436] machine nix-daemon[4990]: accepted connection from pid 5130, user alice (trusted)154ok #packages builds its one member155machine # [1683563.562927] 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 # [1683564.745124] machine nix-daemon[4990]: accepted connection from pid 5167, user alice (trusted)159machine # [1683566.130800] machine nix-daemon[4990]: accepted connection from pid 5186, user alice (trusted)160ok -A ci reaches the failing check161ok the failure is named by its attribute path162ok the same paths as the flake gave163== 6. --dry-run over a tree164machine # [1683566.723571] machine nix-daemon[4990]: accepted connection from pid 5186, user alice (trusted)165machine # [1683567.675163] machine nix-daemon[4990]: accepted connection from pid 5226, user alice (trusted)166ok the plan has the four checks167== 7. no verdict without an evaluation168ok an attribute that throws stops the run169ok nothing was built170ok a tree with no derivation is an error171== 8. a failure in a dependency172machine # [1683572.506924] machine nix-daemon[4990]: accepted connection from pid 5261, user alice (trusted)173ok a dependency that failed to build exits 100174machine # [1683575.996617] machine nix-daemon[4990]: accepted connection from pid 5298, user alice (trusted)175ok a dependency with a hash mismatch exits 102176ok the dependency that failed keeps no check mark177== 9. a build log cannot forge a hash mismatch178machine # [1683578.843950] machine nix-daemon[4990]: accepted connection from pid 5335, user alice (trusted)179ok a forged mismatch never rewrites a hash in the file180ok nothing was fixed181== 10. --no-build with several installables182ok --no-build uploads every installable18333 cases, 0 failed184PASS185machine # [1683580.005243] machine nix-daemon[4990]: accepted connection from pid 5370, user alice (trusted)186machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/i1q56krar18bzav8mlf6wx7pz8qm7686-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2, in 21.35 seconds)187(finished: run the VM test script, in 49.92 seconds)188machine # [1683580.440679] machine runuser[4920]: pam_unix(runuser-l:session): session closed for user alice189test script finished in 51.38s190cleanup191kill NspawnMachine (pid 50)192Container machine terminated by signal KILL.193(finished: cleanup, in 0.22 seconds)