container-test-run-iets-build-e2e
checks.x86_64-linux.build-e2e
· build #352
· 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 # [1754843.449989] machine systemd-journald[57]: Journal started19machine # [1754843.450045] machine systemd-journald[57]: Runtime Journal (/run/log/journal/07c0c9b4d5064fc7bb1d44cb8f5cdd6c) is 8M, max 2.5G, 2.5G free.20machine # [1754843.464101] machine systemd[1]: Finished Apply Kernel Variables.21machine # [1754843.476682] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.22machine # [1754843.498696] machine systemd[1]: Starting Flush Journal to Persistent Storage...23machine # [1754843.499204] machine systemd[1]: Starting Create Static Device Nodes in /dev...24machine # [1754843.504371] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/07c0c9b4d5064fc7bb1d44cb8f5cdd6c is 1.546ms for 6 entries.25machine # [1754843.504371] machine systemd-journald[57]: System Journal (/var/log/journal/07c0c9b4d5064fc7bb1d44cb8f5cdd6c) is 512B, max 4G, 3.9G free.26machine # [1754843.519813] machine systemd[1]: Finished Create Static Device Nodes in /dev.27machine # [1754843.520363] machine systemd[1]: Reached target Preparation for Local File Systems.28machine # [1754843.520479] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys29machine # [1754843.524353] machine systemd[1]: Finished Flush Journal to Persistent Storage.30machine # [1754843.561357] machine systemd[1]: Finished Firewall.31machine # [1754844.459653] machine systemd[1]: Mounting /run/wrappers...32machine # [1754844.482877] machine systemd[1]: Mounted /run/wrappers.33machine # [1754844.483572] machine systemd[1]: Reached target Local File Systems.34machine # [1754844.484283] machine systemd[1]: Listening on Boot Loader Control Service Socket.35machine # [1754844.485173] machine systemd[1]: Starting Create SUID/SGID Wrappers...36machine # [1754844.485201] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container37machine # [1754844.485873] machine systemd[1]: Starting Save Transient machine-id to Disk...38machine # [1754844.486651] machine systemd[1]: Starting Create System Files and Directories...39machine # [1754844.499586] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted40machine # [1754844.499700] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted41machine # [1754844.499780] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/07c0c9b4d5064fc7bb1d44cb8f5cdd6c failed: Operation not permitted42machine # [1754844.499885] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted43machine # [1754844.502365] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.4qQSqhNQd6/chsh': Operation not permitted44machine # [1754844.514673] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE45machine # [1754844.514778] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.46machine # [1754844.514943] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.47machine # [1754844.515482] machine systemd[1]: Finished Create System Files and Directories.48machine # [1754844.554101] machine systemd[1]: Starting Rebuild Journal Catalog...49machine # [1754844.555050] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...50machine # [1754844.565211] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.51machine # [1754844.569741] machine systemd[1]: Finished Rebuild Journal Catalog.52machine # [1754844.570850] machine systemd[1]: Starting Update is Completed...53machine # [1754844.578158] machine systemd[1]: Finished Update is Completed.54machine # [1754844.578317] machine systemd[1]: Reached target System Initialization.55machine # [1754844.578388] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container56machine # [1754844.578432] machine systemd[1]: Started Daily Cleanup of Temporary Directories.57machine # [1754844.578453] machine systemd[1]: Reached target Timer Units.58machine # [1754844.578556] machine systemd[1]: Listening on D-Bus System Message Bus Socket.59machine # [1754844.578660] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.60machine # [1754844.578686] machine systemd[1]: Reached target Socket Units.61machine # [1754844.578723] machine systemd[1]: Reached target Basic System.62machine # [1754844.580067] machine systemd[1]: Starting Import lastlog data into lastlog2 database...63machine # [1754844.581590] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...64machine # [1754844.582573] machine systemd[1]: Starting resolvconf update...65machine # [1754844.619436] machine systemd[1]: Finished Import lastlog data into lastlog2 database.66machine # [1754844.655938] machine resolvconf-start[231]: setfacl: /run/resolvconf: Operation not supported67machine # [1754844.656084] machine systemd[1]: nscd.service: Deactivated successfully.68machine # [1754844.673347] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).69machine # [1754844.674422] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE70machine # [1754844.674503] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.71machine # [1754844.674652] machine systemd[1]: Failed to start resolvconf update.72machine # [1754844.675459] machine systemd[1]: Reached target Preparation for Network.73machine # [1754844.676267] machine systemd[1]: Starting Address configuration of eth1...74machine # [1754844.677064] machine systemd[1]: Starting Extra networking commands....75machine # [1754844.677811] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...76machine # [1754844.692597] machine network-addresses-eth1-start[235]: adding address 192.168.1.1/24... done77machine # [1754844.694407] machine network-addresses-eth1-start[235]: adding address 2001:db8:1::1/64... done78machine # [1754844.698244] machine systemd[1]: Finished Address configuration of eth1.79machine # [1754844.722138] machine systemd[1]: Finished Extra networking commands..80machine # [1754844.722198] machine systemd[1]: Reached target Network.81machine # [1754844.865976] machine systemd[1]: Started Name Service Cache Daemon (nsncd).82machine # [1754844.866054] machine systemd[1]: Reached target Host and Network Name Lookups.83machine # [1754844.866147] machine nsncd[237]: Oct 15 06:26:55.596 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"84machine # [1754844.866097] machine systemd[1]: Reached target User and Group Name Lookups.85machine # [1754844.869899] machine systemd[1]: Starting User Login Management...86machine # [1754844.870475] machine systemd[1]: Starting Permit User Sessions...87machine # [1754844.878071] machine systemd[1]: Finished Permit User Sessions.88machine # [1754844.878755] machine systemd[1]: Started Console Getty.89machine # [1754844.878794] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty090machine # [1754844.878816] machine systemd[1]: Reached target Login Prompts.91machine # [1754844.954445] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.92machine # [1754844.955537] machine systemd[1]: Finished Save Transient machine-id to Disk.93machine # [1754845.871636] machine systemd-logind[305]: New seat seat0.94machine # [1754845.880668] machine systemd[1]: Starting D-Bus System Message Bus...95machine # [1754845.880770] machine systemd[1]: Started User Login Management.96machine # [1754845.881512] machine systemd[1]: Starting linger-users.service...97machine # [1754845.891109] machine systemd[1]: linger-users.service: Deactivated successfully.98machine # [1754845.891274] machine systemd[1]: Finished linger-users.service.99machine # [1754845.891412] machine systemd[1]: Reached target Multi-User System.100machine # [1754846.226411] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...101machine # [1754846.226975] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'102machine # [1754846.226975] 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"103machine # [1754846.227352] machine systemd[1]: Started D-Bus System Message Bus.104machine # [1754846.227603] machine systemd[1]: Startup finished in 3.163s.105machine # [1754846.233721] machine dbus-broker-launch[316]: Ready106machine: (finished: waiting for unit multi-user.target, in 4.15 seconds)107machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/qrwp5sh6pcgagap3rs1191plchgl5lss-closure-info108warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.109machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/qrwp5sh6pcgagap3rs1191plchgl5lss-closure-info, in 11.25 seconds)110machine: must succeed: systemctl start nix-daemon.socket111machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.01 seconds)112machine: must succeed: cp -r /nix/store/pazhzxamhi3wdbgddpkyci3h1480zpgv-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets113machine: (finished: must succeed: cp -r /nix/store/pazhzxamhi3wdbgddpkyci3h1480zpgv-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.09 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 # [1754857.984296] machine systemd[1]: Listening on Nix Daemon Socket.116machine # [1754858.087902] machine runuser[4907]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)117machine: (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.23 seconds)118machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/jsg64jkwk0mg40hk4kb1d5icg2k0cn2i-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 # [1754858.306060] machine runuser[4907]: pam_unix(runuser-l:session): session closed for user alice121machine # [1754858.316101] machine runuser[4920]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)122machine # [1754859.183331] machine systemd[1]: Started Nix Daemon.123machine # [1754859.247950] machine nix-daemon[4990]: accepted connection from pid 4980, user alice (trusted)124ok a failing check exits 100125ok the failing attribute is named126ok the failure log tail is printed127ok the checks after the failure built128ok the closing line counts them129ok stdout has one path per output built130ok every path is there131ok the other system is not evaluated into the build132== 2. --json133ok --json keeps the exit code134ok one outcome per check, by attribute135ok the outcome has the plumbing keys136ok the failure has a reason and no output137ok the failure has its log tail138ok the others have the paths of case 1139== 3. what is built is not built again140ok no second build of a valid output141ok the failure is tried again142== 4. one root143machine # [1754859.707289] machine nix-daemon[4990]: accepted connection from pid 4980, user alice (trusted)144machine # [1754859.793024] machine nix-daemon[4990]: accepted connection from pid 5055, user alice (trusted)145machine # [1754859.946328] machine nix-daemon[4990]: accepted connection from pid 5055, user alice (trusted)146ok the failing check alone: exit 100, no path147ok one root has no closing line148machine # [1754861.072940] machine nix-daemon[4990]: accepted connection from pid 5095, user alice (trusted)149ok #packages builds its one member150machine # [1754862.030773] machine nix-daemon[4990]: accepted connection from pid 5130, user alice (trusted)151machine # [1754862.169364] machine nix-daemon[4990]: accepted connection from pid 5130, user alice (trusted)152ok a system named in full is walked as it is153== 5. a file, -A and --argstr154machine # [1754862.555311] machine nix-daemon[4990]: accepted connection from pid 5167, user alice (trusted)155machine # [1754862.999412] machine nix-daemon[4990]: accepted connection from pid 5186, user alice (trusted)156ok -A ci reaches the failing check157ok the failure is named by its attribute path158ok the same paths as the flake gave159== 6. --dry-run over a tree160machine # [1754863.115469] machine nix-daemon[4990]: accepted connection from pid 5186, user alice (trusted)161ok the plan has the four checks162== 7. no verdict without an evaluation163machine # [1754863.759220] machine nix-daemon[4990]: accepted connection from pid 5226, user alice (trusted)164ok an attribute that throws stops the run165ok nothing was built166ok a tree with no derivation is an error167== 8. a failure in a dependency168ok a dependency that failed to build exits 100169machine # [1754865.470854] machine nix-daemon[4990]: accepted connection from pid 5261, 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 mismatch173machine # [1754866.368448] machine nix-daemon[4990]: accepted connection from pid 5298, user alice (trusted)174ok a forged mismatch never rewrites a hash in the file175ok nothing was fixed176== 10. --no-build with several installables177machine # [1754866.990234] machine nix-daemon[4990]: accepted connection from pid 5335, user alice (trusted)178ok --no-build uploads every installable17933 cases, 0 failed180PASS181machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/jsg64jkwk0mg40hk4kb1d5icg2k0cn2i-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2, in 9.84 seconds)182(finished: run the VM test script, in 25.57 seconds)183test script finished in 25.63s184cleanup185kill NspawnMachine (pid 50)186Container machine terminated by signal KILL.187(finished: cleanup, in 0.11 seconds)