container-test-run-iets-build-e2e
checks.x86_64-linux.build-e2e
· build #172
· 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 # [1508091.768689] machine systemd-journald[57]: Journal started21machine # [1508091.768765] machine systemd-journald[57]: Runtime Journal (/run/log/journal/fdea3285169247cdb725463b622b5f9b) is 8M, max 2.5G, 2.5G free.22machine # [1508091.894838] machine systemd[1]: Listening on Journal Log Access Socket.23machine # [1508091.899988] machine systemd[1]: Finished Apply Kernel Variables.24machine # [1508091.981215] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.25machine # [1508092.050810] machine systemd[1]: Finished Firewall.26machine # [1508092.064190] machine systemd[1]: Starting Flush Journal to Persistent Storage...27machine # [1508092.073169] machine systemd[1]: Starting Create Static Device Nodes in /dev...28machine # [1508092.098526] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/fdea3285169247cdb725463b622b5f9b is 4.571ms for 8 entries.29machine # [1508092.098526] machine systemd-journald[57]: System Journal (/var/log/journal/fdea3285169247cdb725463b622b5f9b) is 512B, max 4G, 3.9G free.30machine # [1508092.188343] machine systemd[1]: Finished Flush Journal to Persistent Storage.31machine # [1508092.189388] machine systemd[1]: Finished Create Static Device Nodes in /dev.32machine # [1508092.191047] machine systemd[1]: Reached target Preparation for Local File Systems.33machine # [1508092.191204] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys34machine # [1508092.825729] machine systemd[1]: Mounting /run/wrappers...35machine # [1508092.870725] machine systemd[1]: Mounted /run/wrappers.36machine # [1508092.871694] machine systemd[1]: Reached target Local File Systems.37machine # [1508092.873100] machine systemd[1]: Listening on Boot Loader Control Service Socket.38machine # [1508092.894689] machine systemd[1]: Starting Create SUID/SGID Wrappers...39machine # [1508092.894753] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container40machine # [1508092.900710] machine systemd[1]: Starting Save Transient machine-id to Disk...41machine # [1508092.915644] machine systemd[1]: Starting Create System Files and Directories...42machine # [1508092.922442] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.V7kpv0lKCQ/chsh': Operation not permitted43machine # [1508092.922969] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE44machine # [1508092.923225] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.45machine # [1508092.923488] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.46machine # [1508092.945752] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted47machine # [1508092.945943] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted48machine # [1508092.946619] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/fdea3285169247cdb725463b622b5f9b failed: Operation not permitted49machine # [1508092.946795] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted50machine # [1508093.000309] machine systemd[1]: Finished Create System Files and Directories.51machine # [1508093.183688] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.52machine # [1508093.280982] machine systemd[1]: Finished Save Transient machine-id to Disk.53machine # [1508093.308199] machine systemd[1]: Starting Rebuild Journal Catalog...54machine # [1508093.327188] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...55machine # [1508093.355053] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.56machine # [1508093.380465] machine systemd[1]: Finished Rebuild Journal Catalog.57machine # [1508093.404119] machine systemd[1]: Starting Update is Completed...58machine # [1508093.421071] machine systemd[1]: Finished Update is Completed.59machine # [1508093.421573] machine systemd[1]: Reached target System Initialization.60machine # [1508093.421683] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container61machine # [1508093.421717] machine systemd[1]: Started Daily Cleanup of Temporary Directories.62machine # [1508093.421741] machine systemd[1]: Reached target Timer Units.63machine # [1508093.421904] machine systemd[1]: Listening on D-Bus System Message Bus Socket.64machine # [1508093.423226] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.65machine # [1508093.423289] machine systemd[1]: Reached target Socket Units.66machine # [1508093.423586] machine systemd[1]: Reached target Basic System.67machine # [1508093.428546] machine systemd[1]: Starting Import lastlog data into lastlog2 database...68machine # [1508093.446200] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...69machine # [1508093.474268] machine systemd[1]: Starting resolvconf update...70machine # [1508093.609577] machine systemd[1]: Finished Import lastlog data into lastlog2 database.71machine # [1508093.688684] machine systemd[1]: nscd.service: Deactivated successfully.72machine # [1508093.688862] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).73machine # [1508093.693983] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...74machine # [1508093.700427] machine resolvconf-start[236]: setfacl: /run/resolvconf: Operation not supported75machine # [1508093.701399] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE76machine # [1508093.701494] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.77machine # [1508093.701656] machine systemd[1]: Failed to start resolvconf update.78machine # [1508093.701845] machine systemd[1]: Reached target Preparation for Network.79machine # [1508093.703383] machine systemd[1]: Starting Address configuration of eth1...80machine # [1508093.704667] machine systemd[1]: Starting Extra networking commands....81machine # [1508093.725938] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done82machine # [1508093.731169] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done83machine # [1508093.735348] machine systemd[1]: Finished Address configuration of eth1.84machine # [1508093.835221] machine systemd[1]: Finished Extra networking commands..85machine # [1508093.836015] machine systemd[1]: Reached target Network.86machine # [1508094.716076] machine systemd[1]: Started Name Service Cache Daemon (nsncd).87machine # [1508094.716176] machine systemd[1]: Reached target Host and Network Name Lookups.88machine # [1508094.716237] machine systemd[1]: Reached target User and Group Name Lookups.89machine # [1508094.717561] machine nsncd[233]: Oct 12 09:54:25.447 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"90machine # [1508094.718070] machine systemd[1]: Starting User Login Management...91machine # [1508094.719135] machine systemd[1]: Starting Permit User Sessions...92machine # [1508094.746626] machine systemd[1]: Finished Permit User Sessions.93machine # [1508094.751194] machine systemd[1]: Started Console Getty.94machine # [1508094.751280] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty095machine # [1508094.751309] machine systemd[1]: Reached target Login Prompts.96machine # [1508099.350244] machine systemd-logind[306]: New seat seat0.97machine # [1508099.352843] machine systemd[1]: Starting D-Bus System Message Bus...98machine # [1508099.352952] machine systemd[1]: Started User Login Management.99machine # [1508099.353735] machine systemd[1]: Starting linger-users.service...100machine # [1508099.381266] machine systemd[1]: linger-users.service: Deactivated successfully.101machine # [1508099.381464] machine systemd[1]: Finished linger-users.service.102machine # [1508099.381675] machine systemd[1]: Reached target Multi-User System.103machine # [1508099.954188] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...104machine # [1508099.954809] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'105machine # [1508099.954809] 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"106machine # [1508099.955391] machine systemd[1]: Started D-Bus System Message Bus.107machine # [1508099.956083] machine systemd[1]: Startup finished in 8.720s.108machine # [1508099.962382] machine dbus-broker-launch[316]: Ready109machine: (finished: waiting for unit multi-user.target, in 9.66 seconds)110machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/ngcbymfzx0hp40pkwpi8bp2shq7bjikf-closure-info111warning: '--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/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/ngcbymfzx0hp40pkwpi8bp2shq7bjikf-closure-info, in 17.61 seconds)113machine: must succeed: systemctl start nix-daemon.socket114machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.01 seconds)115machine: must succeed: cp -r /nix/store/za51x3qg31fkq3mjsy69kzdwxa66zc32-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets116machine: (finished: must succeed: cp -r /nix/store/za51x3qg31fkq3mjsy69kzdwxa66zc32-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.22 seconds)117machine: 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'118machine # [1508117.981229] machine systemd[1]: Listening on Nix Daemon Socket.119machine # [1508118.238990] machine runuser[4905]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)120machine: (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)121machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/15fdbb2g6gqihlikrc5w007wzbvfv1cd-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2122== 1. build path:DIR#checks123machine # [1508118.518958] machine runuser[4905]: pam_unix(runuser-l:session): session closed for user alice124machine # [1508118.531848] machine runuser[4918]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)125ok a failing check exits 100126ok the failing attribute is named127ok the failure log tail is printed128ok the checks after the failure built129ok the closing line counts them130machine # [1508120.684659] machine systemd[1]: Started Nix Daemon.131machine # [1508120.731043] machine nix-daemon[4987]: accepted connection from pid 4977, user alice (trusted)132machine # [1508120.931632] machine nix-daemon[4987]: accepted connection from pid 4977, user alice (trusted)133ok stdout has one path per output built134ok every path is there135ok the other system is not evaluated into the build136== 2. --json137ok --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 # [1508121.095082] machine nix-daemon[4987]: accepted connection from pid 5052, user alice (trusted)148machine # [1508121.251712] machine nix-daemon[4987]: accepted connection from pid 5052, user alice (trusted)149ok the failing check alone: exit 100, no path150ok one root has no closing line151machine # [1508123.941797] machine nix-daemon[4987]: accepted connection from pid 5092, user alice (trusted)152machine # [1508125.299669] machine nix-daemon[4987]: accepted connection from pid 5128, user alice (trusted)153machine # [1508125.558610] machine nix-daemon[4987]: accepted connection from pid 5128, user alice (trusted)154ok #packages builds its one member155machine # [1508126.325896] machine nix-daemon[4987]: accepted connection from pid 5165, user alice (trusted)156ok a system named in full is walked as it is157== 5. a file, -A and --argstr158machine # [1508128.224964] machine nix-daemon[4987]: accepted connection from pid 5185, user alice (trusted)159machine # [1508128.316918] machine nix-daemon[4987]: accepted connection from pid 5185, 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 # [1508129.295651] machine nix-daemon[4987]: accepted connection from pid 5225, user alice (trusted)165ok the plan has the four checks166== 7. no verdict without an evaluation167ok an attribute that throws stops the run168ok nothing was built169ok a tree with no derivation is an error170== 8. a failure in a dependency171machine # [1508135.435013] machine nix-daemon[4987]: accepted connection from pid 5260, user alice (trusted)172ok a dependency that failed to build exits 100173ok 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 # [1508136.266085] machine nix-daemon[4987]: accepted connection from pid 5298, user alice (trusted)177ok a forged mismatch never rewrites a hash in the file178ok nothing was fixed17932 cases, 0 failed180PASS181machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/15fdbb2g6gqihlikrc5w007wzbvfv1cd-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2, in 19.21 seconds)182(finished: run the VM test script, in 47.02 seconds)183test script finished in 47.03s184cleanup185kill NspawnMachine (pid 50)186Container machine terminated by signal KILL.187(finished: cleanup, in 0.17 seconds)