container-test-run-iets-build-e2e
checks.x86_64-linux.build-e2e
· build #11
· 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 # [1293449.700127] machine systemd-journald[57]: Journal started23machine # [1293449.700188] machine systemd-journald[57]: Runtime Journal (/run/log/journal/d5158c895cbe41e69b97964ce9a36ea8) is 8M, max 2.5G, 2.5G free.24machine # [1293449.947319] machine systemd[1]: Listening on Journal Log Access Socket.25machine # [1293449.947917] machine systemd[1]: Finished Apply Kernel Variables.26machine # [1293450.148216] machine systemd[1]: Finished Firewall.27machine # [1293450.151168] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.28machine # [1293450.224126] machine systemd[1]: Starting Flush Journal to Persistent Storage...29machine # [1293450.232135] machine systemd[1]: Starting Create Static Device Nodes in /dev...30machine # [1293450.256059] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/d5158c895cbe41e69b97964ce9a36ea8 is 1.429ms for 8 entries.31machine # [1293450.256059] machine systemd-journald[57]: System Journal (/var/log/journal/d5158c895cbe41e69b97964ce9a36ea8) is 512B, max 4G, 3.9G free.32machine # [1293450.344620] machine systemd[1]: Finished Flush Journal to Persistent Storage.33machine # [1293450.349157] machine systemd[1]: Finished Create Static Device Nodes in /dev.34machine # [1293450.350496] machine systemd[1]: Reached target Preparation for Local File Systems.35machine # [1293450.350653] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys36machine # [1293450.715155] machine systemd[1]: Mounting /run/wrappers...37machine # [1293450.838081] machine systemd[1]: Mounted /run/wrappers.38machine # [1293450.839056] machine systemd[1]: Reached target Local File Systems.39machine # [1293450.840235] machine systemd[1]: Listening on Boot Loader Control Service Socket.40machine # [1293450.841378] machine systemd[1]: Starting Create SUID/SGID Wrappers...41machine # [1293450.841422] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container42machine # [1293450.844157] machine systemd[1]: Starting Save Transient machine-id to Disk...43machine # [1293450.847714] machine systemd[1]: Starting Create System Files and Directories...44machine # [1293450.879333] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted45machine # [1293450.879551] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted46machine # [1293450.879695] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/d5158c895cbe41e69b97964ce9a36ea8 failed: Operation not permitted47machine # [1293450.879895] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted48machine # [1293450.886151] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.XOsFyte0ue/chsh': Operation not permitted49machine # [1293450.905966] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE50machine # [1293450.909203] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.51machine # [1293450.909539] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.52machine # [1293450.914195] machine systemd[1]: Finished Create System Files and Directories.53machine # [1293450.940342] machine systemd[1]: Starting Rebuild Journal Catalog...54machine # [1293450.942186] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...55machine # [1293451.014740] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.56machine # [1293451.021766] machine systemd[1]: Finished Rebuild Journal Catalog.57machine # [1293451.023207] machine systemd[1]: Starting Update is Completed...58machine # [1293451.060400] machine systemd[1]: Finished Update is Completed.59machine # [1293451.061114] machine systemd[1]: Reached target System Initialization.60machine # [1293451.061246] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container61machine # [1293451.061280] machine systemd[1]: Started Daily Cleanup of Temporary Directories.62machine # [1293451.061301] machine systemd[1]: Reached target Timer Units.63machine # [1293451.061427] machine systemd[1]: Listening on D-Bus System Message Bus Socket.64machine # [1293451.061501] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.65machine # [1293451.061524] machine systemd[1]: Reached target Socket Units.66machine # [1293451.061747] machine systemd[1]: Reached target Basic System.67machine # [1293451.065438] machine systemd[1]: Starting Import lastlog data into lastlog2 database...68machine # [1293451.068128] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...69machine # [1293451.094177] machine systemd[1]: Starting resolvconf update...70machine # [1293451.114371] machine systemd[1]: Finished Import lastlog data into lastlog2 database.71machine # [1293451.166482] machine systemd[1]: nscd.service: Deactivated successfully.72machine # [1293451.182808] machine resolvconf-start[231]: setfacl: /run/resolvconf: Operation not supported73machine # [1293451.191164] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).74machine # [1293451.192392] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE75machine # [1293451.192480] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.76machine # [1293451.192670] machine systemd[1]: Failed to start resolvconf update.77machine # [1293451.193262] machine systemd[1]: Reached target Preparation for Network.78machine # [1293451.194573] machine systemd[1]: Starting Address configuration of eth1...79machine # [1293451.195375] machine systemd[1]: Starting Extra networking commands....80machine # [1293451.196785] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...81machine # [1293451.213176] machine network-addresses-eth1-start[235]: adding address 192.168.1.1/24... done82machine # [1293451.215941] machine network-addresses-eth1-start[235]: adding address 2001:db8:1::1/64... done83machine # [1293451.220581] machine systemd[1]: Finished Address configuration of eth1.84machine # [1293451.269225] machine systemd[1]: Finished Extra networking commands..85machine # [1293451.270488] machine systemd[1]: Reached target Network.86machine # [1293451.473899] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.87machine # [1293451.475813] machine systemd[1]: Finished Save Transient machine-id to Disk.88machine # [1293451.533801] machine nsncd[237]: Oct 09 22:17:02.264 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"89machine # [1293451.533830] machine systemd[1]: Started Name Service Cache Daemon (nsncd).90machine # [1293451.533908] machine systemd[1]: Reached target Host and Network Name Lookups.91machine # [1293451.533960] machine systemd[1]: Reached target User and Group Name Lookups.92machine # [1293451.550809] machine systemd[1]: Starting User Login Management...93machine # [1293451.552811] machine systemd[1]: Starting Permit User Sessions...94machine # [1293451.562493] machine systemd[1]: Finished Permit User Sessions.95machine # [1293451.564249] machine systemd[1]: Started Console Getty.96machine # [1293451.564301] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty097machine # [1293451.564322] machine systemd[1]: Reached target Login Prompts.98machine # [1293453.527528] machine systemd-logind[306]: New seat seat0.99machine # [1293453.528163] machine systemd[1]: Starting D-Bus System Message Bus...100machine # [1293453.528292] machine systemd[1]: Started User Login Management.101machine # [1293453.528874] machine systemd[1]: Starting linger-users.service...102machine # [1293453.564513] machine systemd[1]: linger-users.service: Deactivated successfully.103machine # [1293453.565296] machine systemd[1]: Finished linger-users.service.104machine # [1293453.565516] machine systemd[1]: Reached target Multi-User System.105machine: (finished: waiting for unit multi-user.target, in 7.17 seconds)106machine: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/6yk92iq54fqrlqjkv3cwsyy6frci8hsc-closure-info107machine # [1293454.491922] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...108machine # [1293454.492803] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'109machine # [1293454.492803] 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"110machine # [1293454.493430] machine systemd[1]: Started D-Bus System Message Bus.111machine # [1293454.493831] machine systemd[1]: Startup finished in 5.783s.112machine # [1293454.500612] machine dbus-broker-launch[316]: Ready113warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.114machine: (finished: must succeed: /nix/store/hbyzr3c9k3n51a3zyb3h74dqi8a2n1p5-writable-store /nix/store/6yk92iq54fqrlqjkv3cwsyy6frci8hsc-closure-info, in 19.49 seconds)115machine: must succeed: systemctl start nix-daemon.socket116machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.02 seconds)117machine: must succeed: cp -r /nix/store/q188jan0anakiif3dbf4gw33kv2d715z-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets118machine: (finished: must succeed: cp -r /nix/store/q188jan0anakiif3dbf4gw33kv2d715z-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.24 seconds)119machine: 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'120machine # [1293474.422790] machine systemd[1]: Listening on Nix Daemon Socket.121machine: (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.25 seconds)122machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/4swp4p762gymijvfvbbrnjj9c4sh9vwi-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2123machine # [1293474.674239] machine runuser[4868]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)124machine # [1293474.912704] machine runuser[4868]: pam_unix(runuser-l:session): session closed for user alice125== 1. build path:DIR#checks126machine # [1293474.947037] machine runuser[4881]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)127machine # [1293475.687490] machine systemd[1]: Started Nix Daemon.128machine # [1293475.861202] machine nix-daemon[4950]: accepted connection from pid 4940, user alice (trusted)129ok a failing check exits 100130ok the failing attribute is named131ok the failure log tail is printed132ok the checks after the failure built133ok the closing line counts them134ok stdout has one path per output built135ok every path is there136ok the other system is not evaluated into the build137== 2. --json138machine # [1293476.149908] machine nix-daemon[4950]: accepted connection from pid 4940, user alice (trusted)139machine # [1293476.431879] machine nix-daemon[4950]: accepted connection from pid 5015, user alice (trusted)140ok --json keeps the exit code141ok one outcome per check, by attribute142ok the outcome has the plumbing keys143ok the failure has a reason and no output144ok the failure has its log tail145ok the others have the paths of case 1146== 3. what is built is not built again147ok no second build of a valid output148ok the failure is tried again149== 4. one root150machine # [1293476.748021] machine nix-daemon[4950]: accepted connection from pid 5015, user alice (trusted)151ok the failing check alone: exit 100, no path152ok one root has no closing line153machine # [1293477.407044] machine nix-daemon[4950]: accepted connection from pid 5055, user alice (trusted)154ok #packages builds its one member155machine # [1293478.026290] machine nix-daemon[4950]: accepted connection from pid 5090, user alice (trusted)156machine # [1293478.266499] machine nix-daemon[4950]: accepted connection from pid 5090, user alice (trusted)157ok a system named in full is walked as it is158== 5. a file, -A and --argstr159machine # [1293479.110747] machine nix-daemon[4950]: accepted connection from pid 5127, 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 # [1293480.092067] machine nix-daemon[4950]: accepted connection from pid 5146, user alice (trusted)165machine # [1293480.209679] machine nix-daemon[4950]: accepted connection from pid 5146, user alice (trusted)166ok the plan has the four checks167== 7. no verdict without an evaluation168machine # [1293480.794267] machine nix-daemon[4950]: accepted connection from pid 5186, user alice (trusted)169ok an attribute that throws stops the run170ok nothing was built171ok a tree with no derivation is an error172== 8. a failure in a dependency173machine # [1293487.174957] machine nix-daemon[4950]: accepted connection from pid 5221, user alice (trusted)174ok a dependency that failed to build exits 100175machine # [1293490.352460] machine nix-daemon[4950]: accepted connection from pid 5258, user alice (trusted)176ok a dependency with a hash mismatch exits 102177ok the dependency that failed keeps no check mark178== 9. a build log cannot forge a hash mismatch179ok a forged mismatch never rewrites a hash in the file180ok nothing was fixed18132 cases, 0 failed182PASS183machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/4swp4p762gymijvfvbbrnjj9c4sh9vwi-iets-0.1.0/bin/iets NIXPKGS=/nix/store/hhfnpma32czw4h3bqpag8dciax0bcmar-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2, in 18.43 seconds)184(finished: run the VM test script, in 45.61 seconds)185machine # [1293493.154728] machine nix-daemon[4950]: accepted connection from pid 5295, user alice (trusted)186machine # [1293493.343771] machine runuser[4881]: pam_unix(runuser-l:session): session closed for user alice187test script finished in 45.72s188cleanup189kill NspawnMachine (pid 50)190Container machine terminated by signal KILL.191(finished: cleanup, in 0.27 seconds)