container-test-run-iets-build-e2e
checks.x86_64-linux.build-e2e
· build #87
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.02 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 # No journal files were found.27machine # No journal boot entry found for the specified boot (+0).28machine # No journal files were found.29machine # No journal boot entry found for the specified boot (+0).30machine # No journal files were found.31machine # No journal boot entry found for the specified boot (+0).32machine # No journal files were found.33machine # No journal boot entry found for the specified boot (+0).34machine # No journal files were found.35machine # No journal boot entry found for the specified boot (+0).36machine: still waiting for container 'machine' to reach ready state...37machine # No journal files were found.38machine # No journal boot entry found for the specified boot (+0).39machine # No journal files were found.40machine # No journal boot entry found for the specified boot (+0).41machine # No journal files were found.42machine # No journal boot entry found for the specified boot (+0).43machine # No journal files were found.44machine # No journal boot entry found for the specified boot (+0).45machine # No journal files were found.46machine # No journal boot entry found for the specified boot (+0).47machine # No journal files were found.48machine # No journal boot entry found for the specified boot (+0).49machine # [1393095.002389] machine systemd-journald[57]: Journal started50machine # [1393095.002469] machine systemd-journald[57]: Runtime Journal (/run/log/journal/f42271c7c764494b8ca65e4f00934ec9) is 8M, max 2.5G, 2.5G free.51machine # [1393098.933142] machine systemd[1]: Finished Firewall.52machine # [1393098.965201] machine systemd[1]: Finished Apply Kernel Variables.53machine # [1393100.990199] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.54machine # [1393101.545263] machine systemd[1]: Starting Flush Journal to Persistent Storage...55machine # [1393101.553526] machine systemd[1]: Starting Create Static Device Nodes in /dev...56machine # [1393101.602206] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/f42271c7c764494b8ca65e4f00934ec9 is 6.724ms for 7 entries.57machine # [1393101.602206] machine systemd-journald[57]: System Journal (/var/log/journal/f42271c7c764494b8ca65e4f00934ec9) is 512B, max 4G, 3.9G free.58machine # [1393102.367784] machine systemd[1]: Finished Flush Journal to Persistent Storage.59machine # [1393102.398169] machine systemd[1]: Finished Create Static Device Nodes in /dev.60machine # [1393103.288954] machine systemd[1]: Reached target Preparation for Local File Systems.61machine # [1393103.297324] machine systemd[1]: Mounting /run/wrappers...62machine # [1393103.297381] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys63machine # [1393104.755764] machine systemd[1]: Mounted /run/wrappers.64machine # [1393104.792743] machine systemd[1]: Reached target Local File Systems.65machine # [1393104.798734] machine systemd[1]: Listening on Boot Loader Control Service Socket.66machine # [1393104.811435] machine systemd[1]: Starting Create SUID/SGID Wrappers...67machine # [1393104.818306] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container68machine # [1393104.827125] machine systemd[1]: Starting Save Transient machine-id to Disk...69machine # [1393104.842782] machine systemd[1]: Starting Create System Files and Directories...70machine # [1393104.922024] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.3m3SCHTB3c/chsh': Operation not permitted71machine # [1393104.923959] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE72machine # [1393104.924061] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.73machine # [1393104.924254] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.74machine # [1393105.025815] machine systemd-tmpfiles[162]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted75machine # [1393105.026084] machine systemd-tmpfiles[162]: fchmod() of /var/log/journal failed: Operation not permitted76machine # [1393105.026244] machine systemd-tmpfiles[162]: fchmod() of /var/log/journal/f42271c7c764494b8ca65e4f00934ec9 failed: Operation not permitted77machine # [1393105.026466] machine systemd-tmpfiles[162]: fchmod() of /run/log/journal failed: Operation not permitted78machine: still waiting for container 'machine' to reach ready state...79machine # [1393106.442417] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.80machine # [1393107.400445] machine systemd[1]: Finished Save Transient machine-id to Disk.81machine # [1393107.474799] machine systemd[1]: Finished Create System Files and Directories.82machine # [1393110.317590] machine systemd[1]: Starting Rebuild Journal Catalog...83machine # [1393110.325975] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...84machine # [1393110.361201] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.85machine # [1393110.369011] machine systemd[1]: Finished Rebuild Journal Catalog.86machine # [1393110.376169] machine systemd[1]: Starting Update is Completed...87machine # [1393110.401294] machine systemd[1]: Finished Update is Completed.88machine # [1393110.401435] machine systemd[1]: Reached target System Initialization.89machine # [1393110.401529] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container90machine # [1393110.401570] machine systemd[1]: Started Daily Cleanup of Temporary Directories.91machine # [1393110.401602] machine systemd[1]: Reached target Timer Units.92machine # [1393110.401733] machine systemd[1]: Listening on D-Bus System Message Bus Socket.93machine # [1393110.401843] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.94machine # [1393110.401888] machine systemd[1]: Reached target Socket Units.95machine # [1393110.402176] machine systemd[1]: Reached target Basic System.96machine # [1393110.406178] machine systemd[1]: Starting Import lastlog data into lastlog2 database...97machine # [1393110.409943] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...98machine # [1393110.418583] machine systemd[1]: Starting resolvconf update...99machine # [1393110.442077] machine systemd[1]: Finished Import lastlog data into lastlog2 database.100machine # [1393110.545897] machine systemd[1]: nscd.service: Deactivated successfully.101machine # [1393110.551677] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).102machine # [1393110.565387] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...103machine # [1393110.624027] machine resolvconf-start[236]: setfacl: /run/resolvconf: Operation not supported104machine # [1393110.626806] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE105machine # [1393110.626912] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.106machine # [1393110.627173] machine systemd[1]: Failed to start resolvconf update.107machine # [1393110.627967] machine systemd[1]: Reached target Preparation for Network.108machine # [1393110.633556] machine systemd[1]: Starting Address configuration of eth1...109machine # [1393110.640311] machine systemd[1]: Starting Extra networking commands....110machine # [1393110.682530] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done111machine # [1393110.686667] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done112machine # [1393110.702068] machine systemd[1]: Finished Address configuration of eth1.113machine # [1393110.749035] machine systemd[1]: Finished Extra networking commands..114machine # [1393110.749200] machine systemd[1]: Reached target Network.115machine: still waiting for container 'machine' to reach ready state...116machine: still waiting for container 'machine' to reach ready state...117machine # [1393130.473929] machine systemd[1]: Started Name Service Cache Daemon (nsncd).118machine # [1393130.474024] machine systemd[1]: Reached target Host and Network Name Lookups.119machine # [1393130.474088] machine systemd[1]: Reached target User and Group Name Lookups.120machine # [1393130.480024] machine nsncd[222]: Oct 11 01:58:21.208 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"121machine # [1393130.485508] machine systemd[1]: Starting User Login Management...122machine # [1393130.492911] machine systemd[1]: Starting Permit User Sessions...123machine # [1393130.528731] machine systemd[1]: Finished Permit User Sessions.124machine # [1393130.543744] machine systemd[1]: Started Console Getty.125machine # [1393130.543824] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0126machine # [1393130.543848] machine systemd[1]: Reached target Login Prompts.127machine: still waiting for container 'machine' to reach ready state...128machine: still waiting for container 'machine' to reach ready state...129machine: still waiting for container 'machine' to reach ready state...130machine: still waiting for container 'machine' to reach ready state...131machine # [1393174.213340] machine systemd-logind[306]: New seat seat0.132machine # [1393174.213644] machine systemd[1]: Started User Login Management.133machine # [1393174.219677] machine systemd[1]: Starting D-Bus System Message Bus...134machine # [1393174.233270] machine systemd[1]: Starting linger-users.service...135machine # [1393174.318211] machine systemd[1]: linger-users.service: Deactivated successfully.136machine # [1393174.318597] machine systemd[1]: Finished linger-users.service.137machine # [1393174.318764] machine systemd[1]: Reached target Multi-User System.138machine: still waiting for container 'machine' to reach ready state...139machine: still waiting for container 'machine' to reach ready state...140machine # [1393189.429624] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...141machine # [1393189.432950] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'142machine # [1393189.432950] 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"143machine # [1393189.474848] machine systemd[1]: Started D-Bus System Message Bus.144machine # [1393189.475809] machine systemd[1]: Startup finished in 1min 39.967s.145machine # [1393189.489933] machine dbus-broker-launch[316]: Ready146machine: (finished: waiting for unit multi-user.target, in 103.97 seconds)147machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/dn0i2c37ndp4sxdyj9dah91qnmqh06l1-closure-info148warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.149machine: (finished: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/dn0i2c37ndp4sxdyj9dah91qnmqh06l1-closure-info, in 117.21 seconds)150machine: must succeed: systemctl start nix-daemon.socket151machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.05 seconds)152machine: must succeed: cp -r /nix/store/2y4ih5y60x5qifcqqx80ap22ghck2kbq-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets153machine: (finished: must succeed: cp -r /nix/store/2y4ih5y60x5qifcqqx80ap22ghck2kbq-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.26 seconds)154machine: 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'155machine # [1393307.083757] machine systemd[1]: Listening on Nix Daemon Socket.156machine # [1393307.450688] machine runuser[4905]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)157machine: (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 1.44 seconds)158machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/fm212iq9i6f0mwkkshwq95gmrax4svm4-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2159== 1. build path:DIR#checks160machine # [1393308.786621] machine runuser[4905]: pam_unix(runuser-l:session): session closed for user alice161machine # [1393308.830757] machine runuser[4918]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)162machine # [1393310.015991] machine systemd[1]: Started Nix Daemon.163machine # [1393310.266465] machine nix-daemon[4986]: accepted connection from pid 4976, user alice (trusted)164ok a failing check exits 100165ok the failing attribute is named166ok the failure log tail is printed167ok the checks after the failure built168ok the closing line counts them169ok stdout has one path per output built170ok every path is there171ok the other system is not evaluated into the build172== 2. --json173machine # [1393315.321398] machine nix-daemon[4986]: accepted connection from pid 4976, user alice (trusted)174machine # [1393315.527228] machine nix-daemon[4986]: accepted connection from pid 5052, user alice (trusted)175ok --json keeps the exit code176ok one outcome per check, by attribute177ok the outcome has the plumbing keys178ok the failure has a reason and no output179ok the failure has its log tail180ok the others have the paths of case 1181== 3. what is built is not built again182ok no second build of a valid output183ok the failure is tried again184== 4. one root185machine # [1393316.682673] machine nix-daemon[4986]: accepted connection from pid 5052, user alice (trusted)186machine # [1393317.113053] machine nix-daemon[4986]: accepted connection from pid 5092, user alice (trusted)187ok the failing check alone: exit 100, no path188ok one root has no closing line189machine # [1393319.231441] machine nix-daemon[4986]: accepted connection from pid 5127, user alice (trusted)190ok #packages builds its one member191machine # [1393320.263017] machine nix-daemon[4986]: accepted connection from pid 5127, user alice (trusted)192ok a system named in full is walked as it is193== 5. a file, -A and --argstr194machine # [1393321.515509] machine nix-daemon[4986]: accepted connection from pid 5164, user alice (trusted)195machine # [1393322.164938] machine nix-daemon[4986]: accepted connection from pid 5183, user alice (trusted)196machine # [1393322.621191] machine nix-daemon[4986]: accepted connection from pid 5183, user alice (trusted)197ok -A ci reaches the failing check198ok the failure is named by its attribute path199ok the same paths as the flake gave200== 6. --dry-run over a tree201ok the plan has the four checks202== 7. no verdict without an evaluation203machine # [1393324.618031] machine nix-daemon[4986]: accepted connection from pid 5223, user alice (trusted)204ok an attribute that throws stops the run205ok nothing was built206ok a tree with no derivation is an error207== 8. a failure in a dependency208machine # [1393327.753133] machine nix-daemon[4986]: accepted connection from pid 5258, user alice (trusted)209ok a dependency that failed to build exits 100210machine # [1393329.229477] machine nix-daemon[4986]: accepted connection from pid 5295, user alice (trusted)211ok a dependency with a hash mismatch exits 102212ok the dependency that failed keeps no check mark213== 9. a build log cannot forge a hash mismatch214machine # [1393330.842954] machine nix-daemon[4986]: accepted connection from pid 5332, user alice (trusted)215ok a forged mismatch never rewrites a hash in the file216ok nothing was fixed21732 cases, 0 failed218PASS219machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/fm212iq9i6f0mwkkshwq95gmrax4svm4-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2, in 22.50 seconds)220(finished: run the VM test script, in 245.44 seconds)221machine # [1393331.270133] machine runuser[4918]: pam_unix(runuser-l:session): session closed for user alice222test script finished in 245.97s223cleanup224kill NspawnMachine (pid 50)225Container machine terminated by signal KILL.226(finished: cleanup, in 0.34 seconds)