container-test-run-iets-build-e2e
checks.x86_64-linux.build-e2e
· build #363
· 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 # [1758310.405460] machine systemd-journald[57]: Journal started23machine # [1758310.405519] machine systemd-journald[57]: Runtime Journal (/run/log/journal/9062b53cb04344bc994e86e01cd2fa93) is 8M, max 2.5G, 2.5G free.24machine # [1758310.424214] machine systemd[1]: Listening on Journal Log Access Socket.25machine # [1758310.427024] machine systemd[1]: Finished Apply Kernel Variables.26machine # [1758310.450139] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.27machine # [1758310.489383] machine systemd[1]: Starting Flush Journal to Persistent Storage...28machine # [1758310.490219] machine systemd[1]: Starting Create Static Device Nodes in /dev...29machine # [1758310.542311] machine systemd[1]: Finished Create Static Device Nodes in /dev.30machine # [1758310.547559] machine systemd[1]: Reached target Preparation for Local File Systems.31machine # [1758310.547712] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys32machine # [1758310.550435] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/9062b53cb04344bc994e86e01cd2fa93 is 12.713ms for 10 entries.33machine # [1758310.550435] machine systemd-journald[57]: System Journal (/var/log/journal/9062b53cb04344bc994e86e01cd2fa93) is 512B, max 4G, 3.9G free.34machine # [1758310.624180] machine systemd[1]: Finished Flush Journal to Persistent Storage.35machine # [1758311.208025] machine systemd[1]: Finished Firewall.36machine # [1758311.406162] machine systemd[1]: Mounting /run/wrappers...37machine # [1758311.501704] machine systemd[1]: Mounted /run/wrappers.38machine # [1758311.502636] machine systemd[1]: Reached target Local File Systems.39machine # [1758311.508183] machine systemd[1]: Listening on Boot Loader Control Service Socket.40machine # [1758311.513158] machine systemd[1]: Starting Create SUID/SGID Wrappers...41machine # [1758311.513218] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container42machine # [1758311.518155] machine systemd[1]: Starting Save Transient machine-id to Disk...43machine # [1758311.523171] machine systemd[1]: Starting Create System Files and Directories...44machine # [1758311.587244] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted45machine # [1758311.587446] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted46machine # [1758311.587555] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/9062b53cb04344bc994e86e01cd2fa93 failed: Operation not permitted47machine # [1758311.587703] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted48machine # [1758311.593625] machine systemd[1]: Finished Create System Files and Directories.49machine # [1758311.608166] machine suid-sgid-wrappers-start[169]: chmod: changing permissions of '/run/wrappers/wrappers.ZJp7gSCVxJ/chsh': Operation not permitted50machine # [1758311.613434] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE51machine # [1758311.613521] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.52machine # [1758311.613746] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.53machine # [1758311.616191] machine systemd[1]: Starting Rebuild Journal Catalog...54machine # [1758311.622040] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...55machine # [1758311.669376] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.56machine # [1758311.806219] machine systemd[1]: Finished Rebuild Journal Catalog.57machine # [1758311.817176] machine systemd[1]: Starting Update is Completed...58machine # [1758311.852353] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.59machine # [1758311.868135] machine systemd[1]: Finished Save Transient machine-id to Disk.60machine # [1758311.876810] machine systemd[1]: Finished Update is Completed.61machine # [1758311.876930] machine systemd[1]: Reached target System Initialization.62machine # [1758311.877026] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container63machine # [1758311.877108] machine systemd[1]: Started Daily Cleanup of Temporary Directories.64machine # [1758311.877128] machine systemd[1]: Reached target Timer Units.65machine # [1758311.877258] machine systemd[1]: Listening on D-Bus System Message Bus Socket.66machine # [1758311.877342] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.67machine # [1758311.877362] machine systemd[1]: Reached target Socket Units.68machine # [1758311.877393] machine systemd[1]: Reached target Basic System.69machine # [1758311.881300] machine systemd[1]: Starting Import lastlog data into lastlog2 database...70machine # [1758311.888696] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...71machine # [1758311.894736] machine systemd[1]: Starting resolvconf update...72machine # [1758311.932763] machine systemd[1]: Finished Import lastlog data into lastlog2 database.73machine # [1758312.118579] machine systemd[1]: nscd.service: Deactivated successfully.74machine # [1758312.125810] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).75machine # [1758312.143642] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...76machine # [1758312.165636] machine resolvconf-start[236]: setfacl: /run/resolvconf: Operation not supported77machine # [1758312.163533] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE78machine # [1758312.163633] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.79machine # [1758312.163822] machine systemd[1]: Failed to start resolvconf update.80machine # [1758312.164608] machine systemd[1]: Reached target Preparation for Network.81machine # [1758312.166163] machine systemd[1]: Starting Address configuration of eth1...82machine # [1758312.167144] machine systemd[1]: Starting Extra networking commands....83machine # [1758312.222022] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done84machine # [1758312.225685] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done85machine # [1758312.238471] machine systemd[1]: Finished Address configuration of eth1.86machine # [1758312.327589] machine systemd[1]: Finished Extra networking commands..87machine # [1758312.327736] machine systemd[1]: Reached target Network.88machine # [1758312.704189] machine systemd[1]: Started Name Service Cache Daemon (nsncd).89machine # [1758312.704265] machine systemd[1]: Reached target Host and Network Name Lookups.90machine # [1758312.706398] machine nsncd[230]: Oct 15 07:24:43.434 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"91machine # [1758312.704315] machine systemd[1]: Reached target User and Group Name Lookups.92machine # [1758312.706102] machine systemd[1]: Starting User Login Management...93machine # [1758312.709080] machine systemd[1]: Starting Permit User Sessions...94machine # [1758312.748201] machine systemd[1]: Finished Permit User Sessions.95machine # [1758312.752018] machine systemd[1]: Started Console Getty.96machine # [1758312.752070] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty097machine # [1758312.752092] machine systemd[1]: Reached target Login Prompts.98machine # [1758317.663903] machine systemd-logind[306]: New seat seat0.99machine # [1758317.664244] machine systemd[1]: Started User Login Management.100machine # [1758317.671184] machine systemd[1]: Starting D-Bus System Message Bus...101machine # [1758317.680158] machine systemd[1]: Starting linger-users.service...102machine # [1758317.739588] machine systemd[1]: linger-users.service: Deactivated successfully.103machine # [1758317.739942] machine systemd[1]: Finished linger-users.service.104machine # [1758317.746009] machine systemd[1]: Reached target Multi-User System.105machine: still waiting for container 'machine' to reach ready state...106machine # [1758319.311362] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...107machine # [1758319.314962] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'108machine # [1758319.314962] 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 # [1758319.315322] machine systemd[1]: Started D-Bus System Message Bus.110machine # [1758319.316851] machine systemd[1]: Startup finished in 9.858s.111machine # [1758319.323616] machine dbus-broker-launch[316]: Ready112machine: (finished: waiting for unit multi-user.target, in 11.75 seconds)113machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/097m8h87vxbwlskf58ni861gfv2ilnk1-closure-info114warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.115machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/097m8h87vxbwlskf58ni861gfv2ilnk1-closure-info, in 21.89 seconds)116machine: must succeed: systemctl start nix-daemon.socket117machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.07 seconds)118machine: must succeed: cp -r /nix/store/02s2wywm5dp39y0kyg38cyr7kdymsnpr-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets119machine: (finished: must succeed: cp -r /nix/store/02s2wywm5dp39y0kyg38cyr7kdymsnpr-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.38 seconds)120machine: 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'121machine # [1758341.713601] machine systemd[1]: Listening on Nix Daemon Socket.122machine # [1758342.156285] machine runuser[4907]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)123machine # [1758342.526336] machine runuser[4907]: pam_unix(runuser-l:session): session closed for user alice124machine: (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.44 seconds)125machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/w5pm2zpq66fxfaw39ibxxq8zwdbrfjp7-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2126machine # [1758342.606086] machine runuser[4920]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)127== 1. build path:DIR#checks128machine # [1758344.228092] machine systemd[1]: Started Nix Daemon.129machine # [1758344.319824] machine nix-daemon[4990]: accepted connection from pid 4980, user alice (trusted)130ok a failing check exits 100131ok the failing attribute is named132ok the failure log tail is printed133ok the checks after the failure built134ok the closing line counts them135ok stdout has one path per output built136ok every path is there137ok the other system is not evaluated into the build138== 2. --json139machine # [1758344.819629] machine nix-daemon[4990]: accepted connection from pid 4980, user alice (trusted)140machine # [1758345.022595] machine nix-daemon[4990]: accepted connection from pid 5055, user alice (trusted)141ok --json keeps the exit code142ok one outcome per check, by attribute143ok the outcome has the plumbing keys144ok the failure has a reason and no output145ok the failure has its log tail146ok the others have the paths of case 1147== 3. what is built is not built again148ok no second build of a valid output149ok the failure is tried again150== 4. one root151machine # [1758345.311242] machine nix-daemon[4990]: accepted connection from pid 5055, user alice (trusted)152ok the failing check alone: exit 100, no path153ok one root has no closing line154machine # [1758345.829188] machine nix-daemon[4990]: accepted connection from pid 5095, user alice (trusted)155ok #packages builds its one member156machine # [1758346.170015] machine nix-daemon[4990]: accepted connection from pid 5130, user alice (trusted)157machine # [1758346.322450] machine nix-daemon[4990]: accepted connection from pid 5130, user alice (trusted)158machine # [1758346.595022] machine nix-daemon[4990]: accepted connection from pid 5167, user alice (trusted)159ok a system named in full is walked as it is160== 5. a file, -A and --argstr161ok -A ci reaches the failing check162ok the failure is named by its attribute path163ok the same paths as the flake gave164== 6. --dry-run over a tree165machine # [1758346.879065] machine nix-daemon[4990]: accepted connection from pid 5186, user alice (trusted)166machine # [1758347.102686] machine nix-daemon[4990]: accepted connection from pid 5186, user alice (trusted)167ok the plan has the four checks168== 7. no verdict without an evaluation169machine # [1758347.395874] machine nix-daemon[4990]: accepted connection from pid 5226, user alice (trusted)170ok an attribute that throws stops the run171ok nothing was built172ok a tree with no derivation is an error173== 8. a failure in a dependency174machine # [1758348.650921] machine nix-daemon[4990]: accepted connection from pid 5261, user alice (trusted)175ok a dependency that failed to build exits 100176machine # [1758349.536405] machine nix-daemon[4990]: accepted connection from pid 5298, user alice (trusted)177ok a dependency with a hash mismatch exits 102178ok the dependency that failed keeps no check mark179== 9. a build log cannot forge a hash mismatch180machine # [1758350.425443] machine nix-daemon[4990]: accepted connection from pid 5335, user alice (trusted)181ok a forged mismatch never rewrites a hash in the file182ok nothing was fixed183== 10. --no-build with several installables184ok --no-build uploads every installable18533 cases, 0 failed186PASS187machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/w5pm2zpq66fxfaw39ibxxq8zwdbrfjp7-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2, in 8.76 seconds)188(finished: run the VM test script, in 43.29 seconds)189machine # [1758351.160559] machine nix-daemon[4990]: accepted connection from pid 5370, user alice (trusted)190machine # [1758351.283196] machine runuser[4920]: pam_unix(runuser-l:session): session closed for user alice191test script finished in 44.76s192cleanup193kill NspawnMachine (pid 50)194Container machine terminated by signal KILL.195(finished: cleanup, in 0.29 seconds)