container-test-run-iets-build-e2e
checks.x86_64-linux.build-e2e
· build #99
· 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 # No journal files were found.23machine # No journal boot entry found for the specified boot (+0).24machine # No journal files were found.25machine # No journal boot entry found for the specified boot (+0).26machine # [1415962.619326] machine systemd-journald[57]: Journal started27machine # [1415962.619391] machine systemd-journald[57]: Runtime Journal (/run/log/journal/d86154d39a2244c7a5eda61e8705c408) is 8M, max 2.5G, 2.5G free.28machine # [1415963.577486] machine systemd[1]: Finished Firewall.29machine # [1415963.593645] machine systemd[1]: Finished Apply Kernel Variables.30machine # [1415964.124820] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.31machine # [1415964.234230] machine systemd[1]: Starting Flush Journal to Persistent Storage...32machine # [1415964.235017] machine systemd[1]: Starting Create Static Device Nodes in /dev...33machine # [1415964.271836] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/d86154d39a2244c7a5eda61e8705c408 is 1.525ms for 7 entries.34machine # [1415964.271836] machine systemd-journald[57]: System Journal (/var/log/journal/d86154d39a2244c7a5eda61e8705c408) is 512B, max 4G, 3.9G free.35machine # [1415964.434442] machine systemd[1]: Finished Flush Journal to Persistent Storage.36machine # [1415964.441738] machine systemd[1]: Finished Create Static Device Nodes in /dev.37machine # [1415964.962513] machine systemd[1]: Reached target Preparation for Local File Systems.38machine # [1415964.964808] machine systemd[1]: Mounting /run/wrappers...39machine # [1415964.964850] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys40machine # [1415965.598183] machine systemd[1]: Mounted /run/wrappers.41machine # [1415965.599059] machine systemd[1]: Reached target Local File Systems.42machine # [1415965.600495] machine systemd[1]: Listening on Boot Loader Control Service Socket.43machine # [1415965.603161] machine systemd[1]: Starting Create SUID/SGID Wrappers...44machine # [1415965.603221] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container45machine # [1415965.606295] machine systemd[1]: Starting Save Transient machine-id to Disk...46machine # [1415965.630151] machine systemd[1]: Starting Create System Files and Directories...47machine # [1415965.652361] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted48machine # [1415965.652531] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted49machine # [1415965.652637] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/d86154d39a2244c7a5eda61e8705c408 failed: Operation not permitted50machine # [1415965.652787] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted51machine # [1415965.665717] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.lgJS0UEWPK/chsh': Operation not permitted52machine # [1415967.438523] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.53machine # [1415968.679340] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE54machine # [1415968.679462] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.55machine # [1415968.679696] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.56machine # [1415968.679896] machine systemd[1]: Finished Save Transient machine-id to Disk.57machine # [1415968.782225] machine systemd[1]: Finished Create System Files and Directories.58machine # [1415969.434551] machine systemd[1]: Starting Rebuild Journal Catalog...59machine # [1415969.435325] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...60machine # [1415969.480320] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.61machine # [1415969.486601] machine systemd[1]: Finished Rebuild Journal Catalog.62machine # [1415969.489143] machine systemd[1]: Starting Update is Completed...63machine # [1415969.502898] machine systemd[1]: Finished Update is Completed.64machine # [1415969.503046] machine systemd[1]: Reached target System Initialization.65machine # [1415969.503135] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container66machine # [1415969.503176] machine systemd[1]: Started Daily Cleanup of Temporary Directories.67machine # [1415969.503199] machine systemd[1]: Reached target Timer Units.68machine # [1415969.503332] machine systemd[1]: Listening on D-Bus System Message Bus Socket.69machine # [1415969.503427] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.70machine # [1415969.503471] machine systemd[1]: Reached target Socket Units.71machine # [1415969.503741] machine systemd[1]: Reached target Basic System.72machine # [1415969.505112] machine systemd[1]: Starting Import lastlog data into lastlog2 database...73machine # [1415969.508099] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...74machine # [1415969.513237] machine systemd[1]: Starting resolvconf update...75machine # [1415969.563533] machine systemd[1]: Finished Import lastlog data into lastlog2 database.76machine: still waiting for container 'machine' to reach ready state...77machine # [1415969.727825] machine resolvconf-start[231]: setfacl: /run/resolvconf: Operation not supported78machine # [1415969.731701] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE79machine # [1415969.731781] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.80machine # [1415969.731955] machine systemd[1]: Failed to start resolvconf update.81machine # [1415969.733213] machine systemd[1]: Reached target Preparation for Network.82machine # [1415969.734373] machine systemd[1]: Starting Address configuration of eth1...83machine # [1415969.737371] machine systemd[1]: Starting Extra networking commands....84machine # [1415969.775290] machine systemd[1]: nscd.service: Deactivated successfully.85machine # [1415969.775622] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).86machine # [1415969.782348] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...87machine # [1415969.794734] machine network-addresses-eth1-start[233]: adding address 192.168.1.1/24... done88machine # [1415969.798238] machine network-addresses-eth1-start[233]: adding address 2001:db8:1::1/64... done89machine # [1415969.804031] machine systemd[1]: Finished Address configuration of eth1.90machine # [1415969.870496] machine systemd[1]: Finished Extra networking commands..91machine # [1415969.870619] machine systemd[1]: Reached target Network.92machine: still waiting for container 'machine' to reach ready state...93machine # [1415979.843613] machine nsncd[239]: Oct 11 08:19:10.574 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"94machine # [1415979.843811] machine systemd[1]: Started Name Service Cache Daemon (nsncd).95machine # [1415979.843895] machine systemd[1]: Reached target Host and Network Name Lookups.96machine # [1415979.843952] machine systemd[1]: Reached target User and Group Name Lookups.97machine # [1415979.867503] machine systemd[1]: Starting User Login Management...98machine # [1415979.868409] machine systemd[1]: Starting Permit User Sessions...99machine # [1415979.880731] machine systemd[1]: Finished Permit User Sessions.100machine # [1415979.881934] machine systemd[1]: Started Console Getty.101machine # [1415979.881967] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0102machine # [1415979.881983] machine systemd[1]: Reached target Login Prompts.103machine: still waiting for container 'machine' to reach ready state...104machine # [1415991.897710] machine systemd-logind[306]: New seat seat0.105machine # [1415991.898207] machine systemd[1]: Starting D-Bus System Message Bus...106machine # [1415991.898329] machine systemd[1]: Started User Login Management.107machine # [1415991.899243] machine systemd[1]: Starting linger-users.service...108machine # [1415991.967502] machine systemd[1]: linger-users.service: Deactivated successfully.109machine # [1415991.967933] machine systemd[1]: Finished linger-users.service.110machine # [1415991.968136] machine systemd[1]: Reached target Multi-User System.111machine # [1415992.669223] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...112machine # [1415992.670377] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'113machine # [1415992.670377] machine dbus-broker-launch[316]: Invalid user-name in /nix/store/z441alblwy32lyxiy8466qf85iyi2sdj-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"114machine # [1415992.671022] machine systemd[1]: Started D-Bus System Message Bus.115machine # [1415992.671313] machine systemd[1]: Startup finished in 31.722s.116machine # [1415992.682624] machine dbus-broker-launch[316]: Ready117machine: (finished: waiting for unit multi-user.target, in 33.27 seconds)118machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/j4y0hwn1x7pwr6m93ldh9lb9ccyv6gq4-closure-info119warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.120machine: (finished: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/j4y0hwn1x7pwr6m93ldh9lb9ccyv6gq4-closure-info, in 23.94 seconds)121machine: must succeed: systemctl start nix-daemon.socket122machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.02 seconds)123machine: must succeed: cp -r /nix/store/h54by1ljwavhwldsf2bskzpmyfr7w6iq-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets124machine # [1416017.110963] machine systemd[1]: Listening on Nix Daemon Socket.125machine: (finished: must succeed: cp -r /nix/store/h54by1ljwavhwldsf2bskzpmyfr7w6iq-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.47 seconds)126machine: 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'127machine # [1416017.627990] machine runuser[4905]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)128machine: (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.46 seconds)129machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/am8r39mp4gmxwl0zfji9vxlq6ggdhd32-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2130== 1. build path:DIR#checks131machine # [1416018.045047] machine runuser[4905]: pam_unix(runuser-l:session): session closed for user alice132machine # [1416018.064367] machine runuser[4918]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)133machine # [1416018.374750] machine systemd[1]: Started Nix Daemon.134machine # [1416018.439954] machine nix-daemon[4985]: accepted connection from pid 4976, user alice (trusted)135ok a failing check exits 100136ok the failing attribute is named137ok the failure log tail is printed138ok the checks after the failure built139ok the closing line counts them140ok stdout has one path per output built141ok every path is there142ok the other system is not evaluated into the build143== 2. --json144machine # [1416018.768959] machine nix-daemon[4985]: accepted connection from pid 4976, user alice (trusted)145machine # [1416018.838126] machine nix-daemon[4985]: accepted connection from pid 5051, user alice (trusted)146ok --json keeps the exit code147ok one outcome per check, by attribute148ok the outcome has the plumbing keys149ok the failure has a reason and no output150ok the failure has its log tail151ok the others have the paths of case 1152== 3. what is built is not built again153ok no second build of a valid output154ok the failure is tried again155== 4. one root156machine # [1416019.054132] machine nix-daemon[4985]: accepted connection from pid 5051, user alice (trusted)157machine # [1416019.235380] machine nix-daemon[4985]: accepted connection from pid 5091, user alice (trusted)158ok the failing check alone: exit 100, no path159ok one root has no closing line160ok #packages builds its one member161machine # [1416019.594325] machine nix-daemon[4985]: accepted connection from pid 5126, user alice (trusted)162machine # [1416019.770205] machine nix-daemon[4985]: accepted connection from pid 5126, user alice (trusted)163ok a system named in full is walked as it is164== 5. a file, -A and --argstr165machine # [1416020.102206] machine nix-daemon[4985]: accepted connection from pid 5163, user alice (trusted)166ok -A ci reaches the failing check167ok the failure is named by its attribute path168ok the same paths as the flake gave169== 6. --dry-run over a tree170machine # [1416020.551197] machine nix-daemon[4985]: accepted connection from pid 5182, user alice (trusted)171machine # [1416020.688367] machine nix-daemon[4985]: accepted connection from pid 5182, user alice (trusted)172ok the plan has the four checks173== 7. no verdict without an evaluation174ok an attribute that throws stops the run175ok nothing was built176machine # [1416021.298022] machine nix-daemon[4985]: accepted connection from pid 5222, user alice (trusted)177ok a tree with no derivation is an error178== 8. a failure in a dependency179ok a dependency that failed to build exits 100180machine # [1416022.142400] machine nix-daemon[4985]: accepted connection from pid 5257, user alice (trusted)181ok a dependency with a hash mismatch exits 102182ok the dependency that failed keeps no check mark183== 9. a build log cannot forge a hash mismatch184machine # [1416022.841283] machine nix-daemon[4985]: accepted connection from pid 5294, user alice (trusted)185ok a forged mismatch never rewrites a hash in the file186ok nothing was fixed18732 cases, 0 failed188PASS189machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/am8r39mp4gmxwl0zfji9vxlq6ggdhd32-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2, in 5.46 seconds)190(finished: run the VM test script, in 63.62 seconds)191machine # [1416023.273363] machine nix-daemon[4985]: accepted connection from pid 5331, user alice (trusted)192machine # [1416023.496535] machine runuser[4918]: pam_unix(runuser-l:session): session closed for user alice193test script finished in 64.60s194cleanup195kill NspawnMachine (pid 50)196Container machine terminated by signal KILL.197(finished: cleanup, in 0.29 seconds)