container-test-run-iets-build-e2e
checks.x86_64-linux.build-e2e
· build #420
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.00 seconds)4Initializing machine ID from random generator.5Test 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 # [261030.863689] machine systemd-journald[57]: Journal started19machine # [261030.863745] machine systemd-journald[57]: Runtime Journal (/run/log/journal/59b4faed18e8425f9b46710c400db4c5) is 8M, max 2.5G, 2.5G free.20machine # [261030.877648] machine systemd[1]: Finished Apply Kernel Variables.21machine # [261030.889586] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.22machine # [261030.903570] machine systemd[1]: Starting Flush Journal to Persistent Storage...23machine # [261030.904072] machine systemd[1]: Starting Create Static Device Nodes in /dev...24machine # [261030.926467] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/59b4faed18e8425f9b46710c400db4c5 is 1.199ms for 6 entries.25machine # [261030.926467] machine systemd-journald[57]: System Journal (/var/log/journal/59b4faed18e8425f9b46710c400db4c5) is 512B, max 4G, 3.9G free.26machine # [261030.936465] machine systemd[1]: Finished Create Static Device Nodes in /dev.27machine # [261030.936881] machine systemd[1]: Reached target Preparation for Local File Systems.28machine # [261030.936959] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys29machine # [261030.947314] machine systemd[1]: Finished Flush Journal to Persistent Storage.30machine # [261030.972457] machine systemd[1]: Finished Firewall.31machine # [261031.888688] machine systemd[1]: Mounting /run/wrappers...32machine # [261031.925869] machine systemd[1]: Mounted /run/wrappers.33machine # [261031.926344] machine systemd[1]: Reached target Local File Systems.34machine # [261031.927207] machine systemd[1]: Listening on Boot Loader Control Service Socket.35machine # [261031.928193] machine systemd[1]: Starting Create SUID/SGID Wrappers...36machine # [261031.928221] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container37machine # [261031.928909] machine systemd[1]: Starting Save Transient machine-id to Disk...38machine # [261031.929486] machine systemd[1]: Starting Create System Files and Directories...39machine # [261031.943918] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.xldGFlA4s3/chsh': Operation not permitted40machine # [261031.945086] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted41machine # [261031.945230] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted42machine # [261031.945323] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/59b4faed18e8425f9b46710c400db4c5 failed: Operation not permitted43machine # [261031.945501] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted44machine # [261031.947991] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE45machine # [261031.948053] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.46machine # [261031.948140] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.47machine # [261031.969159] machine systemd[1]: Finished Create System Files and Directories.48machine # [261032.004716] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.49machine # [261032.005408] machine systemd[1]: Finished Save Transient machine-id to Disk.50machine # [261032.006924] machine systemd[1]: Starting Rebuild Journal Catalog...51machine # [261032.007317] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...52machine # [261032.036864] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.53machine # [261032.043392] machine systemd[1]: Finished Rebuild Journal Catalog.54machine # [261032.044198] machine systemd[1]: Starting Update is Completed...55machine # [261032.054172] machine systemd[1]: Finished Update is Completed.56machine # [261032.054269] machine systemd[1]: Reached target System Initialization.57machine # [261032.054314] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container58machine # [261032.054335] machine systemd[1]: Started Daily Cleanup of Temporary Directories.59machine # [261032.054349] machine systemd[1]: Reached target Timer Units.60machine # [261032.054419] machine systemd[1]: Listening on D-Bus System Message Bus Socket.61machine # [261032.054472] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.62machine # [261032.054631] machine systemd[1]: Reached target Socket Units.63machine # [261032.054651] machine systemd[1]: Reached target Basic System.64machine # [261032.055627] machine systemd[1]: Starting Import lastlog data into lastlog2 database...65machine # [261032.056251] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...66machine # [261032.056759] machine systemd[1]: Starting resolvconf update...67machine # [261032.072548] machine systemd[1]: Finished Import lastlog data into lastlog2 database.68machine # [261032.118453] machine systemd[1]: nscd.service: Deactivated successfully.69machine # [261032.118619] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).70machine # [261032.120862] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...71machine # [261032.120989] machine resolvconf-start[234]: setfacl: /run/resolvconf: Operation not supported72machine # [261032.121593] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE73machine # [261032.121670] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.74machine # [261032.121783] machine systemd[1]: Failed to start resolvconf update.75machine # [261032.121902] machine systemd[1]: Reached target Preparation for Network.76machine # [261032.122502] machine systemd[1]: Starting Address configuration of eth1...77machine # [261032.123032] machine systemd[1]: Starting Extra networking commands....78machine # [261032.153387] machine network-addresses-eth1-start[237]: adding address 192.168.1.1/24... done79machine # [261032.155529] machine network-addresses-eth1-start[237]: adding address 2001:db8:1::1/64... done80machine # [261032.159535] machine systemd[1]: Finished Address configuration of eth1.81machine # [261032.189344] machine systemd[1]: Finished Extra networking commands..82machine # [261032.189462] machine systemd[1]: Reached target Network.83machine # [261032.772575] machine nsncd[235]: Oct 18 21:23:13.795 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"84machine # [261032.772667] machine systemd[1]: Started Name Service Cache Daemon (nsncd).85machine # [261032.772749] machine systemd[1]: Reached target Host and Network Name Lookups.86machine # [261032.772816] machine systemd[1]: Reached target User and Group Name Lookups.87machine # [261032.782024] machine systemd[1]: Starting User Login Management...88machine # [261032.782801] machine systemd[1]: Starting Permit User Sessions...89machine # [261032.789472] machine systemd[1]: Finished Permit User Sessions.90machine # [261032.790719] machine systemd[1]: Started Console Getty.91machine # [261032.790751] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty092machine # [261032.790767] machine systemd[1]: Reached target Login Prompts.93machine: still waiting for container 'machine' to reach ready state...94machine # [261041.968086] machine systemd-logind[306]: New seat seat0.95machine # [261041.969198] machine systemd[1]: Starting D-Bus System Message Bus...96machine # [261041.969312] machine systemd[1]: Started User Login Management.97machine # [261041.970831] machine systemd[1]: Starting linger-users.service...98machine # [261042.053898] machine systemd[1]: linger-users.service: Deactivated successfully.99machine # [261042.054113] machine systemd[1]: Finished linger-users.service.100machine # [261042.054256] machine systemd[1]: Reached target Multi-User System.101machine # [261042.811833] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...102machine # [261042.812295] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'103machine # [261042.812295] 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"104machine # [261042.812635] machine systemd[1]: Started D-Bus System Message Bus.105machine # [261042.813037] machine systemd[1]: Startup finished in 12.268s.106machine # [261042.818574] machine dbus-broker-launch[316]: Ready107machine: (finished: waiting for unit multi-user.target, in 13.16 seconds)108machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/bmbr02fmqv70v8a5api7i5nmdykpkfx7-closure-info109warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.110machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/bmbr02fmqv70v8a5api7i5nmdykpkfx7-closure-info, in 11.97 seconds)111machine: must succeed: systemctl start nix-daemon.socket112machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.02 seconds)113machine: must succeed: cp -r /nix/store/1z1sm4r84z6sp628hmx7q1gf5i3x6i5h-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets114machine: (finished: must succeed: cp -r /nix/store/1z1sm4r84z6sp628hmx7q1gf5i3x6i5h-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.16 seconds)115machine: 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'116machine # [261055.309018] machine systemd[1]: Listening on Nix Daemon Socket.117machine # [261055.479871] machine runuser[4907]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)118machine: (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.18 seconds)119machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/7709b0nw6p3xav2sjwx7k5waqnh83b26-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2120== 1. build path:DIR#checks121machine # [261055.650302] machine runuser[4907]: pam_unix(runuser-l:session): session closed for user alice122machine # [261055.667970] machine runuser[4920]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)123machine # [261055.859637] machine systemd[1]: Started Nix Daemon.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. --json133machine # [261055.912970] machine nix-daemon[4988]: accepted connection from pid 4980, user alice (trusted)134machine # [261056.142230] machine nix-daemon[4988]: accepted connection from pid 4980, user alice (trusted)135machine # [261056.166214] machine nix-daemon[4988]: accepted connection from pid 5055, user alice (trusted)136ok --json keeps the exit code137ok one outcome per check, by attribute138ok the outcome has the plumbing keys139ok the failure has a reason and no output140ok the failure has its log tail141ok the others have the paths of case 1142== 3. what is built is not built again143ok no second build of a valid output144ok the failure is tried again145== 4. one root146machine # [261056.296608] machine nix-daemon[4988]: accepted connection from pid 5055, user alice (trusted)147machine # [261056.397205] machine nix-daemon[4988]: accepted connection from pid 5095, user alice (trusted)148ok the failing check alone: exit 100, no path149ok one root has no closing line150ok #packages builds its one member151ok a system named in full is walked as it is152== 5. a file, -A and --argstr153machine # [261056.554062] machine nix-daemon[4988]: accepted connection from pid 5130, user alice (trusted)154machine # [261056.656061] machine nix-daemon[4988]: accepted connection from pid 5130, user alice (trusted)155machine # [261056.732378] machine nix-daemon[4988]: accepted connection from pid 5167, 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 # [261056.956227] machine nix-daemon[4988]: accepted connection from pid 5186, user alice (trusted)161machine # [261057.049343] machine nix-daemon[4988]: accepted connection from pid 5186, user alice (trusted)162ok the plan has the four checks163== 7. no verdict without an evaluation164ok an attribute that throws stops the run165ok nothing was built166ok a tree with no derivation is an error167== 8. a failure in a dependency168machine # [261057.273344] machine nix-daemon[4988]: accepted connection from pid 5226, user alice (trusted)169ok a dependency that failed to build exits 100170machine # [261057.719968] machine nix-daemon[4988]: accepted connection from pid 5261, user alice (trusted)171machine # [261057.935401] machine nix-daemon[4988]: accepted connection from pid 5298, user alice (trusted)172ok a dependency with a hash mismatch exits 102173ok the dependency that failed keeps no check mark174== 9. a build log cannot forge a hash mismatch175ok a forged mismatch never rewrites a hash in the file176ok nothing was fixed177== 10. --no-build with several installables178machine # [261058.107100] machine nix-daemon[4988]: accepted connection from pid 5335, user alice (trusted)179machine # [261058.420621] machine nix-daemon[4988]: accepted connection from pid 5370, user alice (trusted)180ok --no-build uploads every installable18133 cases, 0 failed182PASS183machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/7709b0nw6p3xav2sjwx7k5waqnh83b26-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2, in 2.80 seconds)184(finished: run the VM test script, in 28.29 seconds)185test script finished in 28.46s186cleanup187kill NspawnMachine (pid 50)188machine # [261058.446254] machine runuser[4920]: pam_unix(runuser-l:session): session closed for user alice189Container machine terminated by signal KILL.190(finished: cleanup, in 0.11 seconds)