container-test-run-iets-build-e2e
checks.x86_64-linux.build-e2e
· build #347
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.01 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 # [1687221.039984] machine systemd-journald[57]: Journal started21machine # [1687221.040045] machine systemd-journald[57]: Runtime Journal (/run/log/journal/c508ad19d6f04d189341d7250e1a2e3f) is 8M, max 2.5G, 2.5G free.22machine # [1687221.183161] machine systemd[1]: Finished Apply Kernel Variables.23machine # [1687221.228129] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.24machine # [1687221.294857] machine systemd[1]: Finished Firewall.25machine # [1687221.297534] machine systemd[1]: Starting Flush Journal to Persistent Storage...26machine # [1687221.298628] machine systemd[1]: Starting Create Static Device Nodes in /dev...27machine # [1687221.340767] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/c508ad19d6f04d189341d7250e1a2e3f is 1.899ms for 7 entries.28machine # [1687221.340767] machine systemd-journald[57]: System Journal (/var/log/journal/c508ad19d6f04d189341d7250e1a2e3f) is 512B, max 4G, 3.9G free.29machine # [1687221.378213] machine systemd[1]: Finished Create Static Device Nodes in /dev.30machine # [1687221.378953] machine systemd[1]: Reached target Preparation for Local File Systems.31machine # [1687221.379093] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys32machine # [1687221.409431] machine systemd[1]: Finished Flush Journal to Persistent Storage.33machine # [1687222.050409] machine systemd[1]: Mounting /run/wrappers...34machine # [1687222.120854] machine systemd[1]: Mounted /run/wrappers.35machine # [1687222.121644] machine systemd[1]: Reached target Local File Systems.36machine # [1687222.122493] machine systemd[1]: Listening on Boot Loader Control Service Socket.37machine # [1687222.123504] machine systemd[1]: Starting Create SUID/SGID Wrappers...38machine # [1687222.123543] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container39machine # [1687222.124367] machine systemd[1]: Starting Save Transient machine-id to Disk...40machine # [1687222.125068] machine systemd[1]: Starting Create System Files and Directories...41machine # [1687222.191260] machine suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.EiTaMBvXkY/chsh': Operation not permitted42machine # [1687222.191510] machine systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted43machine # [1687222.191679] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted44machine # [1687222.191781] machine systemd-tmpfiles[161]: fchmod() of /var/log/journal/c508ad19d6f04d189341d7250e1a2e3f failed: Operation not permitted45machine # [1687222.191917] machine systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted46machine # [1687222.217835] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE47machine # [1687222.217918] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.48machine # [1687222.218325] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.49machine # [1687222.230362] machine systemd[1]: Finished Create System Files and Directories.50machine # [1687222.251277] machine systemd[1]: Starting Rebuild Journal Catalog...51machine # [1687222.251837] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...52machine # [1687222.298802] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.53machine # [1687222.373620] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.54machine # [1687222.374878] machine systemd[1]: Finished Save Transient machine-id to Disk.55machine # [1687222.375027] machine systemd[1]: Finished Rebuild Journal Catalog.56machine # [1687222.377131] machine systemd[1]: Starting Update is Completed...57machine # [1687222.392373] machine systemd[1]: Finished Update is Completed.58machine # [1687222.392995] machine systemd[1]: Reached target System Initialization.59machine # [1687222.393116] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container60machine # [1687222.393184] machine systemd[1]: Started Daily Cleanup of Temporary Directories.61machine # [1687222.393203] machine systemd[1]: Reached target Timer Units.62machine # [1687222.393324] machine systemd[1]: Listening on D-Bus System Message Bus Socket.63machine # [1687222.393406] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.64machine # [1687222.393424] machine systemd[1]: Reached target Socket Units.65machine # [1687222.393451] machine systemd[1]: Reached target Basic System.66machine # [1687222.398101] machine systemd[1]: Starting Import lastlog data into lastlog2 database...67machine # [1687222.444164] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...68machine # [1687222.445171] machine systemd[1]: Starting resolvconf update...69machine # [1687222.456496] machine systemd[1]: Finished Import lastlog data into lastlog2 database.70machine # [1687222.536531] machine resolvconf-start[231]: setfacl: /run/resolvconf: Operation not supported71machine # [1687222.537964] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE72machine # [1687222.538161] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'.73machine # [1687222.538346] machine systemd[1]: Failed to start resolvconf update.74machine # [1687222.538516] machine systemd[1]: Reached target Preparation for Network.75machine # [1687222.539689] machine systemd[1]: Starting Address configuration of eth1...76machine # [1687222.540352] machine systemd[1]: Starting Extra networking commands....77machine # [1687222.555441] machine systemd[1]: nscd.service: Deactivated successfully.78machine # [1687222.584369] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).79machine # [1687222.589108] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...80machine # [1687222.605877] machine network-addresses-eth1-start[233]: adding address 192.168.1.1/24... done81machine # [1687222.609030] machine network-addresses-eth1-start[233]: adding address 2001:db8:1::1/64... done82machine # [1687222.613655] machine systemd[1]: Finished Address configuration of eth1.83machine # [1687222.670172] machine systemd[1]: Finished Extra networking commands..84machine # [1687222.670331] machine systemd[1]: Reached target Network.85machine # [1687223.359452] machine nsncd[238]: Oct 14 11:39:54.089 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"86machine # [1687223.359549] machine systemd[1]: Started Name Service Cache Daemon (nsncd).87machine # [1687223.359615] machine systemd[1]: Reached target Host and Network Name Lookups.88machine # [1687223.359667] machine systemd[1]: Reached target User and Group Name Lookups.89machine # [1687223.360768] machine systemd[1]: Starting User Login Management...90machine # [1687223.361384] machine systemd[1]: Starting Permit User Sessions...91machine # [1687223.398449] machine systemd[1]: Finished Permit User Sessions.92machine # [1687223.400827] machine systemd[1]: Started Console Getty.93machine # [1687223.400884] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty094machine # [1687223.400905] machine systemd[1]: Reached target Login Prompts.95machine # [1687226.937831] machine systemd-logind[306]: New seat seat0.96machine # [1687226.939378] machine systemd[1]: Starting D-Bus System Message Bus...97machine # [1687226.939475] machine systemd[1]: Started User Login Management.98machine # [1687226.941180] machine systemd[1]: Starting linger-users.service...99machine # [1687226.979903] machine systemd[1]: linger-users.service: Deactivated successfully.100machine # [1687226.980105] machine systemd[1]: Finished linger-users.service.101machine # [1687226.980313] machine systemd[1]: Reached target Multi-User System.102machine: (finished: waiting for unit multi-user.target, in 9.17 seconds)103machine: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/sf5lxnf9140xwbf999pnwfh2c4k7rybl-closure-info104machine # [1687228.523407] machine dbus-broker-launch[316]: Looking up NSS user entry for 'systemd-timesync'...105machine # [1687228.525355] machine dbus-broker-launch[316]: NSS returned no entry for 'systemd-timesync'106machine # [1687228.525355] 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"107machine # [1687228.527006] machine systemd[1]: Started D-Bus System Message Bus.108machine # [1687228.528156] machine systemd[1]: Startup finished in 8.157s.109machine # [1687228.531909] machine dbus-broker-launch[316]: Ready110warning: '--json' without '--json-format' is deprecated; please specify '--json-format 1' or '--json-format 2'. This will become an error in a future release.111machine: (finished: must succeed: /nix/store/phhjngxgfhr1lrzk0w7ms3775mh0pxd5-writable-store /nix/store/sf5lxnf9140xwbf999pnwfh2c4k7rybl-closure-info, in 20.54 seconds)112machine: must succeed: systemctl start nix-daemon.socket113machine: (finished: must succeed: systemctl start nix-daemon.socket, in 0.05 seconds)114machine: must succeed: cp -r /nix/store/r2b5rp79yk2i42mr6zwpy055hx5bh7z5-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets115machine: (finished: must succeed: cp -r /nix/store/r2b5rp79yk2i42mr6zwpy055hx5bh7z5-source /home/alice/iets && chmod -R u+w /home/alice/iets && chown -R alice /home/alice/iets, in 0.24 seconds)116machine: 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'117machine # [1687249.224415] machine systemd[1]: Listening on Nix Daemon Socket.118machine # [1687249.500241] machine runuser[4907]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)119machine: (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.71 seconds)120machine: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/g34gwq8jc6f99m03clgkqwa8rn8zkaj4-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2121== 1. build path:DIR#checks122machine # [1687250.183253] machine runuser[4907]: pam_unix(runuser-l:session): session closed for user alice123machine # [1687250.235702] machine runuser[4947]: pam_unix(runuser-l:session): session opened for user alice(uid=1000) by (uid=0)124machine # [1687253.487249] machine systemd[1]: Started Nix Daemon.125machine # [1687253.578623] machine nix-daemon[4990]: accepted connection from pid 4980, user alice (trusted)126ok a failing check exits 100127ok the failing attribute is named128ok the failure log tail is printed129ok the checks after the failure built130ok the closing line counts them131ok stdout has one path per output built132ok every path is there133ok the other system is not evaluated into the build134== 2. --json135machine # [1687254.142610] machine nix-daemon[4990]: accepted connection from pid 4980, user alice (trusted)136machine # [1687254.479666] machine nix-daemon[4990]: accepted connection from pid 5055, user alice (trusted)137machine # [1687254.756430] machine nix-daemon[4990]: accepted connection from pid 5055, user alice (trusted)138ok --json keeps the exit code139ok one outcome per check, by attribute140ok the outcome has the plumbing keys141ok the failure has a reason and no output142ok the failure has its log tail143ok the others have the paths of case 1144== 3. what is built is not built again145ok no second build of a valid output146ok the failure is tried again147== 4. one root148ok the failing check alone: exit 100, no path149ok one root has no closing line150machine # [1687257.947335] machine nix-daemon[4990]: accepted connection from pid 5095, user alice (trusted)151machine # [1687259.852048] machine nix-daemon[4990]: accepted connection from pid 5130, user alice (trusted)152machine # [1687260.038368] machine nix-daemon[4990]: accepted connection from pid 5130, user alice (trusted)153ok #packages builds its one member154ok a system named in full is walked as it is155== 5. a file, -A and --argstr156machine # [1687261.208108] machine nix-daemon[4990]: accepted connection from pid 5168, user alice (trusted)157machine # [1687263.093239] machine nix-daemon[4990]: accepted connection from pid 5187, user alice (trusted)158machine # [1687263.427366] machine nix-daemon[4990]: accepted connection from pid 5187, user alice (trusted)159ok -A ci reaches the failing check160ok the failure is named by its attribute path161ok the same paths as the flake gave162== 6. --dry-run over a tree163ok the plan has the four checks164== 7. no verdict without an evaluation165machine # [1687265.143121] machine nix-daemon[4990]: accepted connection from pid 5227, user alice (trusted)166ok an attribute that throws stops the run167ok nothing was built168ok a tree with no derivation is an error169== 8. a failure in a dependency170machine # [1687269.430137] machine nix-daemon[4990]: accepted connection from pid 5262, user alice (trusted)171ok a dependency that failed to build exits 100172ok a dependency with a hash mismatch exits 102173ok the dependency that failed keeps no check mark174== 9. a build log cannot forge a hash mismatch175machine # [1687271.074935] machine nix-daemon[4990]: accepted connection from pid 5299, user alice (trusted)176machine # [1687274.561020] machine nix-daemon[4990]: accepted connection from pid 5336, user alice (trusted)177ok a forged mismatch never rewrites a hash in the file178ok nothing was fixed179== 10. --no-build with several installables180ok --no-build uploads every installable18133 cases, 0 failed182PASS183machine # [1687275.936708] machine nix-daemon[4990]: accepted connection from pid 5371, user alice (trusted)184machine # [1687276.246382] machine runuser[4947]: pam_unix(runuser-l:session): session closed for user alice185machine: (finished: must succeed: runuser -l alice -c 'cd iets && IETS=/nix/store/g34gwq8jc6f99m03clgkqwa8rn8zkaj4-iets-0.1.0/bin/iets NIXPKGS=/nix/store/2010s04mqpq7q1kch0ddc9b429s2vh9v-source E2E_OFFLINE=1 nu scripts/build-e2e.nu' >&2, in 26.07 seconds)186(finished: run the VM test script, in 56.80 seconds)187test script finished in 58.80s188cleanup189kill NspawnMachine (pid 50)190Container machine terminated by signal KILL.191(finished: cleanup, in 0.50 seconds)