container-test-run-iets-build-e2e
checks.x86_64-linux.build-e2e
· build #33
· 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 # [1332921.915583] machine systemd-journald[57]: Journal started25machine # [1332921.915639] machine systemd-journald[57]: Runtime Journal (/run/log/journal/a6cfa7d626d141a38c39ba832f20a613) is 8M, max 2.5G, 2.5G free.26machine # [1332922.251279] machine systemd[1]: Listening on Journal Log Access Socket.27machine # [1332922.256097] machine systemd[1]: Finished Apply Kernel Variables.28machine # [1332922.712985] machine systemd[1]: Finished Firewall.29machine # [1332922.715757] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.30machine # [1332922.998398] machine systemd[1]: Starting Flush Journal to Persistent Storage...31machine # [1332923.003130] machine systemd[1]: Starting Create Static Device Nodes in /dev...32machine # [1332923.041514] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/a6cfa7d626d141a38c39ba832f20a613 is 2.413ms for 8 entries.33machine # [1332923.041514] machine systemd-journald[57]: System Journal (/var/log/journal/a6cfa7d626d141a38c39ba832f20a613) is 512B, max 4G, 3.9G free.34machine # [1332923.343783] machine systemd[1]: Finished Flush Journal to Persistent Storage.35machine # [1332923.360912] machine systemd[1]: Finished Create Static Device Nodes in /dev.36machine # [1332923.600293] machine systemd[1]: Reached target Preparation for Local File Systems.37machine # [1332923.716139] machine systemd[1]: Mounting /run/wrappers...38machine # [1332923.716201] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys39machine # [1332923.974373] machine systemd[1]: Mounted /run/wrappers.40machine # [1332923.975901] machine systemd[1]: Reached target Local File Systems.41machine # [1332923.977133] machine systemd[1]: Listening on Boot Loader Control Service Socket.42machine # [1332923.978320] machine systemd[1]: Starting Create SUID/SGID Wrappers...43machine # [1332923.978362] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container44machine # [1332923.979275] machine systemd[1]: Starting Save Transient machine-id to Disk...45machine # [1332923.983997] machine systemd[1]: Starting Create System Files and Directories...46machine # [1332924.004662] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted47machine # [1332924.004852] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted48machine # [1332924.004968] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/a6cfa7d626d141a38c39ba832f20a613 failed: Operation not permitted49machine # [1332924.005114] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted50machine # [1332924.043487] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.TTAKFskX4O/chsh': Operation not permitted51machine # [1332924.048621] machine systemd[1]: Finished Create System Files and Directories.52machine # [1332924.393310] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE53machine # [1332924.393402] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.54machine # [1332924.404075] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.55machine # [1332924.576134] machine systemd[1]: Starting Rebuild Journal Catalog...56machine # [1332924.580023] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...57machine # [1332924.605805] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.58machine # [1332924.612215] machine systemd[1]: Finished Save Transient machine-id to Disk.59machine # [1332924.651194] machine systemd[1]: Finished Rebuild Journal Catalog.60machine # [1332924.657589] machine systemd[1]: Starting Update is Completed...61machine # [1332924.668924] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.62machine # [1332924.708720] machine systemd[1]: Finished Update is Completed.63machine # [1332924.711425] machine systemd[1]: Reached target System Initialization.64machine # [1332924.712081] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container65machine # [1332924.712158] machine systemd[1]: Started Daily Cleanup of Temporary Directories.66machine # [1332924.712188] machine systemd[1]: Reached target Timer Units.67machine # [1332924.713470] machine systemd[1]: Listening on D-Bus System Message Bus Socket.68machine # [1332924.713583] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.69machine # [1332924.713604] machine systemd[1]: Reached target Socket Units.70machine # [1332924.713657] machine systemd[1]: Reached target Basic System.71machine # [1332924.719173] machine systemd[1]: Starting Import lastlog data into lastlog2 database...72machine # [1332924.722120] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...73machine # [1332924.724679] machine systemd[1]: Starting resolvconf update...74machine # [1332924.805842] machine systemd[1]: Finished Import lastlog data into lastlog2 database.75machine # [1332924.915894] machine systemd[1]: nscd.service: Deactivated successfully.76machine # [1332924.916054] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).77machine # [1332924.918427] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...78machine # [1332924.975028] machine resolvconf-start[236]: setfacl: /run/resolvconf: Operation not supported79machine # [1332924.977262] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE80machine # [1332924.977364] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.81machine # [1332924.977545] machine systemd[1]: Failed to start resolvconf update.82machine # [1332924.977714] machine systemd[1]: Reached target Preparation for Network.83machine # [1332924.979116] machine systemd[1]: Starting Address configuration of eth1...84machine # [1332924.984451] machine systemd[1]: Starting Extra networking commands....85machine # [1332925.039258] machine network-addresses-eth1-start[238]: adding address 192.168.1.1/24... done86machine # [1332925.044353] machine network-addresses-eth1-start[238]: adding address 2001:db8:1::1/64... done87machine # [1332925.053054] machine systemd[1]: Finished Address configuration of eth1.88machine # [1332925.262841] machine systemd[1]: Finished Extra networking commands..89machine # [1332925.262984] machine systemd[1]: Reached target Network.90machine # [1332928.593486] machine nsncd[228]: Oct 10 09:14:59.323 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"91machine # [1332928.597438] machine systemd[1]: Started Name Service Cache Daemon (nsncd).92machine # [1332928.597515] machine systemd[1]: Reached target Host and Network Name Lookups.93machine # [1332928.597584] machine systemd[1]: Reached target User and Group Name Lookups.94machine # [1332928.600947] machine systemd[1]: Starting User Login Management...95machine # [1332928.603342] machine systemd[1]: Starting Permit User Sessions...96machine # [1332928.652107] machine systemd[1]: Finished Permit User Sessions.97machine # [1332928.658120] machine systemd[1]: Started Console Getty.98machine # [1332928.658185] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty099machine # [1332928.658207] machine systemd[1]: Reached target Login Prompts.100machine: still waiting for container 'machine' to reach ready state...101machine: still waiting for container 'machine' to reach ready state...102machine # [1332943.384810] machine systemd-logind[306]: New seat seat0.103machine # [1332943.388360] machine systemd[1]: Starting D-Bus System Message Bus...104machine # [1332943.388584] machine systemd[1]: Started User Login Management.105machine # [1332943.408082] machine systemd[1]: Starting linger-users.service...106machine # [1332943.475913] machine systemd[1]: linger-users.service: Deactivated successfully.107machine # [1332943.476184] machine systemd[1]: Finished linger-users.service.108machine # [1332943.476857] machine systemd[1]: Reached target Multi-User System.109machine # [1332945.043457] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...110machine # [1332945.044082] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'111machine # [1332945.044082] 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"112machine # [1332945.044548] machine systemd[1]: Started D-Bus System Message Bus.113machine # [1332945.046077] machine systemd[1]: Startup finished in 24.341s.114machine # [1332945.053098] machine dbus-broker-launch[316]: Ready115machine: (finished: waiting for unit multi-user.target, in 26.22 seconds)116machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/ayz6lk96d6rmspnb8gbwmn82ifca74nm-closure-info117warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.118machine: (finished: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/ayz6lk96d6rmspnb8gbwmn82ifca74nm-closure-info, in 81.01 seconds)119machine: must succeed: systemctl start nix-daemon.socket120machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.04 seconds)121machine: must succeed: cp -r /nix/store/43kq5q9h8l2yi39y1bpchab2lf0shz8n-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets122machine # [1333026.389182] machine systemd[1]: Listening on Nix Daemon Socket.123machine: (finished: must succeed: cp -r /nix/store/43kq5q9h8l2yi39y1bpchab2lf0shz8n-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 1.07 seconds)124machine: 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'125machine # [1333027.484996] machine runuser[4868]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)126machine: (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)127machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/djlbargwnhm5z3wddlwvdv5j8ndb3zil-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2128== 1. build path:DIR#checks129machine # [1333027.773246] machine runuser[4868]: pam_unix(runuser-l:session): session closed for user alice130machine # [1333027.812801] machine runuser[4881]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)131machine # [1333028.082610] machine systemd[1]: Started Nix Daemon.132machine # [1333028.253525] machine nix-daemon[4947]: accepted connection from pid 4939, user alice (trusted)133ok a failing check exits 100134ok the failing attribute is named135ok the failure log tail is printed136ok the checks after the failure built137ok the closing line counts them138ok stdout has one path per output built139ok every path is there140ok the other system is not evaluated into the build141== 2. --json142machine # [1333029.138773] machine nix-daemon[4947]: accepted connection from pid 4939, user alice (trusted)143machine # [1333029.202743] machine nix-daemon[4947]: accepted connection from pid 5014, user alice (trusted)144ok --json keeps the exit code145ok one outcome per check, by attribute146ok the outcome has the plumbing keys147ok the failure has a reason and no output148ok the failure has its log tail149ok the others have the paths of case 1150== 3. what is built is not built again151ok no second build of a valid output152ok the failure is tried again153== 4. one root154machine # [1333029.747678] machine nix-daemon[4947]: accepted connection from pid 5014, user alice (trusted)155machine # [1333030.055491] machine nix-daemon[4947]: accepted connection from pid 5054, user alice (trusted)156ok the failing check alone: exit 100, no path157ok one root has no closing line158machine # [1333031.212081] machine nix-daemon[4947]: accepted connection from pid 5089, user alice (trusted)159ok #packages builds its one member160machine # [1333031.886190] machine nix-daemon[4947]: accepted connection from pid 5089, user alice (trusted)161machine # [1333032.131971] machine nix-daemon[4947]: accepted connection from pid 5126, user alice (trusted)162ok a system named in full is walked as it is163== 5. a file, -A and --argstr164machine # [1333032.300262] machine nix-daemon[4947]: accepted connection from pid 5145, user alice (trusted)165machine # [1333033.075995] machine nix-daemon[4947]: accepted connection from pid 5145, 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 tree170ok the plan has the four checks171== 7. no verdict without an evaluation172machine # [1333033.574207] machine nix-daemon[4947]: accepted connection from pid 5185, user alice (trusted)173ok an attribute that throws stops the run174ok nothing was built175ok a tree with no derivation is an error176== 8. a failure in a dependency177ok a dependency that failed to build exits 100178machine # [1333037.076562] machine nix-daemon[4947]: accepted connection from pid 5220, user alice (trusted)179ok a dependency with a hash mismatch exits 102180ok the dependency that failed keeps no check mark181== 9. a build log cannot forge a hash mismatch182machine # [1333038.652421] machine nix-daemon[4947]: accepted connection from pid 5257, user alice (trusted)183ok a forged mismatch never rewrites a hash in the file184ok nothing was fixed18532 cases, 0 failed186PASS187machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/djlbargwnhm5z3wddlwvdv5j8ndb3zil-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2, in 12.47 seconds)188(finished: run the VM test script, in 121.12 seconds)189test script finished in 121.17s190cleanup191kill NspawnMachine (pid 50)192machine # [1333040.065136] machine nix-daemon[4947]: accepted connection from pid 5294, user alice (trusted)193machine # [1333040.247945] machine runuser[4881]: pam_unix(runuser-l:session): session closed for user alice194Container machine terminated by signal KILL.195(finished: cleanup, in 0.17 seconds)