container-test-run-iets-build-e2e
checks.x86_64-linux.build-e2e
· build #335
· 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 # [1684320.076942] machine systemd-journald[57]: Journal started21machine # [1684320.077030] machine systemd-journald[57]: Runtime Journal (/run/log/journal/eaa12f022d274215b70751a2cc3a5912) is 8M, max 2.5G, 2.5G free.22machine # [1684320.136137] machine systemd[1]: Listening on Journal Log Access Socket.23machine # [1684320.138151] machine systemd[1]: Finished Apply Kernel Variables.24machine # [1684320.167336] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.25machine # [1684320.191421] machine systemd[1]: Starting Flush Journal to Persistent Storage...26machine # [1684320.192838] machine systemd[1]: Starting Create Static Device Nodes in /dev...27machine # [1684320.244318] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/eaa12f022d274215b70751a2cc3a5912 is 1.505ms for 7 entries.28machine # [1684320.244318] machine systemd-journald[57]: System Journal (/var/log/journal/eaa12f022d274215b70751a2cc3a5912) is 512B, max 4G, 3.9G free.29machine # [1684320.257647] machine systemd[1]: Finished Firewall.30machine # [1684320.260803] machine systemd[1]: Finished Create Static Device Nodes in /dev.31machine # [1684320.261922] machine systemd[1]: Reached target Preparation for Local File Systems.32machine # [1684320.262130] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys33machine # [1684320.280299] machine systemd[1]: Finished Flush Journal to Persistent Storage.34machine # [1684321.085181] machine systemd[1]: Mounting /run/wrappers...35machine # [1684321.142892] machine systemd[1]: Mounted /run/wrappers.36machine # [1684321.144255] machine systemd[1]: Reached target Local File Systems.37machine # [1684321.145316] machine systemd[1]: Listening on Boot Loader Control Service Socket.38machine # [1684321.146695] machine systemd[1]: Starting Create SUID/SGID Wrappers...39machine # [1684321.146730] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container40machine # [1684321.147775] machine systemd[1]: Starting Save Transient machine-id to Disk...41machine # [1684321.152817] machine systemd[1]: Starting Create System Files and Directories...42machine # [1684321.218962] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted43machine # [1684321.219130] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted44machine # [1684321.219235] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/eaa12f022d274215b70751a2cc3a5912 failed: Operation not permitted45machine # [1684321.219389] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted46machine # [1684321.231299] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.22resy6TMR/chsh': Operation not permitted47machine # [1684321.252418] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE48machine # [1684321.252520] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.49machine # [1684321.252907] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.50machine # [1684321.259091] machine systemd[1]: Finished Create System Files and Directories.51machine # [1684321.326895] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.52machine # [1684321.357762] machine systemd[1]: Finished Save Transient machine-id to Disk.53machine # [1684321.361042] machine systemd[1]: Starting Rebuild Journal Catalog...54machine # [1684321.361835] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...55machine # [1684321.400164] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.56machine # [1684321.410174] machine systemd[1]: Finished Rebuild Journal Catalog.57machine # [1684321.411867] machine systemd[1]: Starting Update is Completed...58machine # [1684321.428966] machine systemd[1]: Finished Update is Completed.59machine # [1684321.429544] machine systemd[1]: Reached target System Initialization.60machine # [1684321.429630] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container61machine # [1684321.429665] machine systemd[1]: Started Daily Cleanup of Temporary Directories.62machine # [1684321.429682] machine systemd[1]: Reached target Timer Units.63machine # [1684321.429785] machine systemd[1]: Listening on D-Bus System Message Bus Socket.64machine # [1684321.429860] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.65machine # [1684321.429880] machine systemd[1]: Reached target Socket Units.66machine # [1684321.429903] machine systemd[1]: Reached target Basic System.67machine # [1684321.430974] machine systemd[1]: Starting Import lastlog data into lastlog2 database...68machine # [1684321.431821] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...69machine # [1684321.432646] machine systemd[1]: Starting resolvconf update...70machine # [1684321.455722] machine systemd[1]: Finished Import lastlog data into lastlog2 database.71machine # [1684321.497344] machine systemd[1]: nscd.service: Deactivated successfully.72machine # [1684321.497573] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).73machine # [1684321.499897] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...74machine # [1684321.504162] machine resolvconf-start[235]: setfacl: /run/resolvconf: Operation not supported75machine # [1684321.505922] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE76machine # [1684321.506029] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.77machine # [1684321.527278] machine systemd[1]: Failed to start resolvconf update.78machine # [1684321.527525] machine systemd[1]: Reached target Preparation for Network.79machine # [1684321.528511] machine systemd[1]: Starting Address configuration of eth1...80machine # [1684321.529357] machine systemd[1]: Starting Extra networking commands....81machine # [1684321.551368] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done82machine # [1684321.554921] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done83machine # [1684321.558579] machine systemd[1]: Finished Address configuration of eth1.84machine # [1684321.610174] machine systemd[1]: Finished Extra networking commands..85machine # [1684321.610336] machine systemd[1]: Reached target Network.86machine # [1684321.812174] machine nsncd[232]: Oct 14 10:51:32.542 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"87machine # [1684321.812370] machine systemd[1]: Started Name Service Cache Daemon (nsncd).88machine # [1684321.812466] machine systemd[1]: Reached target Host and Network Name Lookups.89machine # [1684321.812538] machine systemd[1]: Reached target User and Group Name Lookups.90machine # [1684321.815157] machine systemd[1]: Starting User Login Management...91machine # [1684321.816854] machine systemd[1]: Starting Permit User Sessions...92machine # [1684321.869236] machine systemd[1]: Finished Permit User Sessions.93machine # [1684321.871080] machine systemd[1]: Started Console Getty.94machine # [1684321.871118] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty095machine # [1684321.871138] machine systemd[1]: Reached target Login Prompts.96machine # [1684323.914799] machine systemd-logind[300]: New seat seat0.97machine # [1684323.915066] machine systemd[1]: Started User Login Management.98machine # [1684323.916657] machine systemd[1]: Starting D-Bus System Message Bus...99machine # [1684323.917541] machine systemd[1]: Starting linger-users.service...100machine # [1684323.964157] machine systemd[1]: linger-users.service: Deactivated successfully.101machine # [1684323.964529] machine systemd[1]: Finished linger-users.service.102machine # [1684323.965291] machine systemd[1]: Reached target Multi-User System.103machine: (finished: waiting for unit multi-user.target, in 6.19 seconds)104machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/7hk24sy5qwfx8vhfsl5bsrzlig8f14sh-closure-info105machine # [1684324.635711] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...106machine # [1684324.637643] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'107machine # [1684324.637643] 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"108machine # [1684324.638119] machine systemd[1]: Started D-Bus System Message Bus.109machine # [1684324.639284] machine systemd[1]: Startup finished in 5.208s.110machine # [1684324.644788] machine dbus-broker-launch[316]: Ready111warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.112machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/7hk24sy5qwfx8vhfsl5bsrzlig8f14sh-closure-info, in 15.07 seconds)113machine: must succeed: systemctl start nix-daemon.socket114machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.03 seconds)115machine: must succeed: cp -r /nix/store/wgjr9vjh1y42g01s2db32fil2rs29vqf-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets116machine # [1684339.986598] machine systemd[1]: Listening on Nix Daemon Socket.117machine: (finished: must succeed: cp -r /nix/store/wgjr9vjh1y42g01s2db32fil2rs29vqf-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.62 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 # [1684340.659512] machine runuser[4907]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)120machine # [1684340.912966] machine runuser[4907]: pam_unix(runuser-l:session): session closed for user alice121machine: (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.31 seconds)122machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/gxa9az1kzkpyz27f2gakskwb8v0hgl1b-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 # [1684340.936067] machine runuser[4920]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)125machine # [1684342.283015] machine systemd[1]: Started Nix Daemon.126machine # [1684342.384994] machine nix-daemon[4990]: accepted connection from pid 4980, user alice (trusted)127ok a failing check exits 100128ok 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. --json136machine # [1684343.136037] machine nix-daemon[4990]: accepted connection from pid 4980, user alice (trusted)137ok --json keeps the exit code138ok one outcome per check, by attribute139ok the outcome has the plumbing keys140ok the failure has a reason and no output141ok the failure has its log tail142ok the others have the paths of case 1143== 3. what is built is not built again144ok no second build of a valid output145ok the failure is tried again146== 4. one root147machine # [1684343.762719] machine nix-daemon[4990]: accepted connection from pid 5055, user alice (trusted)148machine # [1684344.003012] machine nix-daemon[4990]: accepted connection from pid 5055, user alice (trusted)149ok the failing check alone: exit 100, no path150ok one root has no closing line151machine # [1684344.332731] machine nix-daemon[4990]: accepted connection from pid 5095, user alice (trusted)152ok #packages builds its one member153machine # [1684344.802923] machine nix-daemon[4990]: accepted connection from pid 5130, user alice (trusted)154machine # [1684344.992031] machine nix-daemon[4990]: accepted connection from pid 5130, user alice (trusted)155ok a system named in full is walked as it is156== 5. a file, -A and --argstr157machine # [1684345.366020] machine nix-daemon[4990]: accepted connection from pid 5167, 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 tree162machine # [1684346.871804] machine nix-daemon[4990]: accepted connection from pid 5186, user alice (trusted)163machine # [1684347.039703] machine nix-daemon[4990]: accepted connection from pid 5186, user alice (trusted)164ok the plan has the four checks165== 7. no verdict without an evaluation166machine # [1684348.068155] machine nix-daemon[4990]: accepted connection from pid 5226, user alice (trusted)167ok an attribute that throws stops the run168ok nothing was built169ok a tree with no derivation is an error170== 8. a failure in a dependency171ok a dependency that failed to build exits 100172machine # [1684353.040020] machine nix-daemon[4990]: accepted connection from pid 5261, 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 mismatch176machine # [1684353.773039] machine nix-daemon[4990]: accepted connection from pid 5298, user alice (trusted)177ok a forged mismatch never rewrites a hash in the file178ok nothing was fixed179== 10. --no-build with several installables180machine # [1684354.538656] machine nix-daemon[4990]: accepted connection from pid 5335, user alice (trusted)181ok --no-build uploads every installable18233 cases, 0 failed183PASS184machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/gxa9az1kzkpyz27f2gakskwb8v0hgl1b-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2, in 14.47 seconds)185(finished: run the VM test script, in 36.69 seconds)186machine # [1684355.327029] machine nix-daemon[4990]: accepted connection from pid 5370, user alice (trusted)187machine # [1684355.378908] machine runuser[4920]: pam_unix(runuser-l:session): session closed for user alice188test script finished in 37.08s189cleanup190kill NspawnMachine (pid 50)191Container machine terminated by signal KILL.192(finished: cleanup, in 0.22 seconds)