nixbot

builds

succeeded container-test-run-herdr-eternal-server checks.x86_64-linux.nixos · build #16 · raw

1tribuchet: building on jamie2Machine state will be reset. To keep it, pass --keep-machine-state3start all VLans4(finished: start all VLans, in 0.00 seconds)5Initializing machine ID from random generator.6Test will time out and terminate in 3600 seconds7run the VM test script8machine: waiting for unit herdr-eternal-server.service9machine: systemd-nspawn running (pid 49)10machine: Waiting for journal at /build/vm-state-machine/var/log/journal...11nixos-nspawn(machine): TAP vde-tap1 not found; container will be isolated from VDE12nixos-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.13Note: 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.14░ Spawning container machine on /build/vm-state-machine.15machine # [878209.678246] machine systemd-journald[57]: Journal started16machine # [878209.678325] machine systemd-journald[57]: Runtime Journal (/run/log/journal/b5defe1660cf4e00bd61a9ea14291fd0) is 8M, max 4G, 3.9G free.17machine # [878209.688308] machine systemd[1]: Finished Apply Kernel Variables.18machine # [878209.703150] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.19machine # [878209.715365] machine systemd[1]: Starting Flush Journal to Persistent Storage...20machine # [878209.716031] machine systemd[1]: Starting Create Static Device Nodes in /dev...21machine # [878209.723064] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/b5defe1660cf4e00bd61a9ea14291fd0 is 1.894ms for 6 entries.22machine # [878209.723064] machine systemd-journald[57]: System Journal (/var/log/journal/b5defe1660cf4e00bd61a9ea14291fd0) is 512B, max 4G, 3.9G free.23machine # [878209.730481] machine systemd[1]: Finished Create Static Device Nodes in /dev.24machine # [878209.731031] machine systemd[1]: Reached target Preparation for Local File Systems.25machine # [878209.731137] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys26machine # [878209.734820] machine systemd[1]: Finished Flush Journal to Persistent Storage.27machine # [878209.812781] machine systemd[1]: Finished Firewall.28machine # [878210.674882] machine systemd[1]: Mounting /run/wrappers...29machine # [878210.750055] machine systemd[1]: Mounted /run/wrappers.30machine # [878210.750741] machine systemd[1]: Reached target Local File Systems.31machine # [878210.751480] machine systemd[1]: Listening on Boot Loader Control Service Socket.32machine # [878210.752339] machine systemd[1]: Starting Create SUID/SGID Wrappers...33machine # [878210.752366] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container34machine # [878210.753025] machine systemd[1]: Starting Save Transient machine-id to Disk...35machine # [878210.753708] machine systemd[1]: Starting Create System Files and Directories...36machine # [878210.770381] machine suid-sgid-wrappers-start[172]: chmod: changing permissions of '/run/wrappers/wrappers.rt872wFqL1/chsh': Operation not permitted37machine # [878210.770433] machine systemd-tmpfiles[165]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted38machine # [878210.770825] machine systemd-tmpfiles[165]: fchmod() of /var/log/journal failed: Operation not permitted39machine # [878210.771127] machine systemd-tmpfiles[165]: fchmod() of /var/log/journal/b5defe1660cf4e00bd61a9ea14291fd0 failed: Operation not permitted40machine # [878210.771448] machine systemd-tmpfiles[165]: fchmod() of /run/log/journal failed: Operation not permitted41machine # [878210.771728] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE42machine # [878210.771817] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.43machine # [878210.771995] machine systemd[1]: Failed to start Create SUID/SGID Wrappers.44machine # [878210.772652] machine systemd[1]: Finished Create System Files and Directories.45machine # [878210.784275] machine systemd[1]: Starting Rebuild Journal Catalog...46machine # [878210.784883] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...47machine # [878210.794312] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.48machine # [878210.801967] machine systemd[1]: Finished Rebuild Journal Catalog.49machine # [878210.802959] machine systemd[1]: Starting Update is Completed...50machine # [878210.810738] machine systemd[1]: Finished Update is Completed.51machine # [878210.810862] machine systemd[1]: Reached target System Initialization.52machine # [878210.810923] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container53machine # [878210.810947] machine systemd[1]: Started Daily Cleanup of Temporary Directories.54machine # [878210.810959] machine systemd[1]: Reached target Timer Units.55machine # [878210.811060] machine systemd[1]: Listening on D-Bus System Message Bus Socket.56machine # [878210.811134] machine systemd[1]: Listening on herdr-eternal-server.socket.57machine # [878210.811295] machine systemd[1]: Listening on Nix Daemon Socket.58machine # [878210.812028] machine systemd[1]: Listening on OpenSSH Server Socket (systemd-ssh-generator, AF_UNIX Export).59machine # [878210.812625] machine systemd[1]: Listening on OpenSSH Server Socket (systemd-ssh-generator, AF_UNIX Local).60machine # [878210.812963] machine systemd[1]: Listening on SSH Socket.61machine # [878210.813062] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.62machine # [878210.813076] machine systemd[1]: Reached target Socket Units.63machine # [878210.813103] machine systemd[1]: Reached target Basic System.64machine # [878210.814022] machine systemd[1]: Starting Import lastlog data into lastlog2 database...65machine # [878210.814830] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...66machine # [878210.815520] machine systemd[1]: Starting resolvconf update...67machine # [878210.816301] machine systemd[1]: Starting SSH Host Keys Generation...68machine # [878210.827969] machine systemd[1]: Finished Import lastlog data into lastlog2 database.69machine # [878210.889687] machine systemd[1]: Finished resolvconf update.70machine # [878210.889812] machine systemd[1]: Reached target Preparation for Network.71machine # [878210.890671] machine systemd[1]: Starting Address configuration of eth1...72machine # [878210.891453] machine systemd[1]: Starting Extra networking commands....73machine # [878210.891627] machine systemd[1]: nscd.service: Deactivated successfully.74machine # [878210.891752] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).75machine # [878210.894115] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...76machine # [878210.908286] machine network-addresses-eth1-start[244]: adding address 192.168.1.1/24... done77machine # [878210.911157] machine network-addresses-eth1-start[244]: adding address 2001:db8:1::1/64... done78machine # [878210.914874] machine systemd[1]: Finished Address configuration of eth1.79machine # [878210.942987] machine systemd[1]: Finished Extra networking commands..80machine # [878210.943482] machine systemd[1]: Reached target Network.81machine # [878210.944540] machine systemd[1]: Starting Roaming-friendly transport for herdr --remote...82machine # [878210.945459] machine systemd[1]: Starting Nginx Web Server...83machine # [878210.964349] machine herdr-eternal-server[306]: 2026-10-24T13:20:03.774804Z INFO herdr_eternal_server: listening addr=127.0.0.1:743384machine # [878211.031311] machine herdr-eternal-server[306]: 2026-10-24T13:20:03.779386Z INFO herdr_eternal_server: listening (quic) addr=[::]:744385machine # [878211.022767] machine systemd[1]: Started Roaming-friendly transport for herdr --remote.86machine # [878211.031441] machine sshd-keygen-start[197]: Generating public/private rsa key pair.87machine # [878211.031441] machine sshd-keygen-start[197]: Your identification has been saved in /etc/ssh/ssh_host_rsa_key88machine # [878211.031441] machine sshd-keygen-start[197]: Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub89machine # [878211.031441] machine sshd-keygen-start[197]: The key fingerprint is:90machine # [878211.031441] machine sshd-keygen-start[197]: SHA256:XtT2/qBqp5+dIPrwd7phuV8xQbI25VJzJ200pD7h8bU root@machine91machine # [878211.031441] machine sshd-keygen-start[197]: The key's randomart image is:92machine # [878211.031441] machine sshd-keygen-start[197]: +---[RSA 4096]----+93machine # [878211.031441] machine sshd-keygen-start[197]: | .oX+|94machine # [878211.031441] machine sshd-keygen-start[197]: | . O.B|95machine # [878211.031441] machine sshd-keygen-start[197]: | . oO +.|96machine # [878211.031441] machine sshd-keygen-start[197]: | . .+.* +|97machine # [878211.031441] machine sshd-keygen-start[197]: | S . +.E |98machine # [878211.031441] machine sshd-keygen-start[197]: | . . o. o|99machine # [878211.031441] machine sshd-keygen-start[197]: | o . = o .|100machine # [878211.031441] machine sshd-keygen-start[197]: | +.ooB.= |101machine # [878211.031441] machine sshd-keygen-start[197]: | .o=*B=+ .|102machine # [878211.031441] machine sshd-keygen-start[197]: +----[SHA256]-----+103machine # [878211.022961] machine systemd[1]: sshd-keygen.service: Deactivated successfully.104machine # [878211.031916] machine sshd-keygen-start[445]: Generating public/private ed25519 key pair.105machine # [878211.031916] machine sshd-keygen-start[445]: Your identification has been saved in /etc/ssh/ssh_host_ed25519_key106machine # [878211.031916] machine sshd-keygen-start[445]: Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub107machine # [878211.031916] machine sshd-keygen-start[445]: The key fingerprint is:108machine # [878211.031916] machine sshd-keygen-start[445]: SHA256:uEM9TX+6qPH8Bv/3aTLrDpQT47urzyPAYLQg4i8RK3g root@machine109machine # [878211.031916] machine sshd-keygen-start[445]: The key's randomart image is:110machine # [878211.031916] machine sshd-keygen-start[445]: +--[ED25519 256]--+111machine # [878211.031916] machine sshd-keygen-start[445]: | |112machine # [878211.031916] machine sshd-keygen-start[445]: |.o . . |113machine # [878211.031916] machine sshd-keygen-start[445]: |+ + o . .o |114machine # [878211.031916] machine sshd-keygen-start[445]: |o+E + o o..+ |115machine # [878211.031916] machine sshd-keygen-start[445]: |..o . = S .=. . |116machine # [878211.031916] machine sshd-keygen-start[445]: | . . . + .o oo |117machine # [878211.031916] machine sshd-keygen-start[445]: | . o o =. |118machine # [878211.031916] machine sshd-keygen-start[445]: | . =.o=+ .o|119machine # [878211.031916] machine sshd-keygen-start[445]: | .oBBB=*oo|120machine # [878211.031916] machine sshd-keygen-start[445]: +----[SHA256]-----+121machine # [878211.023241] machine systemd[1]: Finished SSH Host Keys Generation.122machine # [878211.169622] machine nsncd[248]: Oct 24 13:20:03.980 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"123machine # [878211.169715] machine systemd[1]: Started Name Service Cache Daemon (nsncd).124machine # [878211.169777] machine systemd[1]: Reached target Host and Network Name Lookups.125machine # [878211.169835] machine systemd[1]: Reached target User and Group Name Lookups.126machine # [878211.171305] machine systemd[1]: Starting User Login Management...127machine # [878211.172030] machine systemd[1]: Starting Permit User Sessions...128machine # [878211.240735] machine systemd[1]: Finished Save Transient machine-id to Disk.129machine # [878211.248429] machine systemd[1]: Finished Permit User Sessions.130machine # [878211.249656] machine systemd[1]: Started Console Getty.131machine # [878211.249686] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0132machine # [878211.249702] machine systemd[1]: Reached target Login Prompts.133machine # [878211.676701] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.134machine # [878212.196061] machine nginx-pre-start[468]: nginx: the configuration file /nix/store/ip420ix5hk85adnhdbkninnl4b6w4y4c-nginx.conf syntax is ok135machine # [878212.196825] machine nginx-pre-start[468]: nginx: configuration file /nix/store/ip420ix5hk85adnhdbkninnl4b6w4y4c-nginx.conf test is successful136machine # [878212.208727] machine systemd[1]: Started Nginx Web Server.137machine # [878212.414606] machine systemd-logind[457]: New seat seat0.138machine # [878212.415743] machine systemd[1]: Starting D-Bus System Message Bus...139machine # [878212.415831] machine systemd[1]: Started User Login Management.140machine # [878212.416560] machine systemd[1]: Starting linger-users.service...141machine # [878212.427864] machine systemd[1]: linger-users.service: Deactivated successfully.142machine # [878212.428065] machine systemd[1]: Finished linger-users.service.143machine # [878212.428223] machine systemd[1]: Reached target Multi-User System.144machine: (finished: waiting for unit herdr-eternal-server.service, in 4.15 seconds)145machine: waiting for unit nginx.service146machine: (finished: waiting for unit nginx.service, in 0.01 seconds)147machine: waiting for TCP port 80 on localhost148machine # [878212.823053] machine dbus-broker-launch[474]: Looking up NSS user entry for 'systemd-timesync'...149machine # [878212.823698] machine dbus-broker-launch[474]: NSS returned no entry for 'systemd-timesync'150machine # [878212.823698] machine dbus-broker-launch[474]: Invalid user-name in /nix/store/b7077akmgmm35f6d3ky6msj6q4p004ka-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"151machine # [878212.824330] machine systemd[1]: Started D-Bus System Message Bus.152machine # [878212.829259] machine dbus-broker-launch[474]: Ready153machine # [878212.829637] machine systemd[1]: Startup finished in 3.576s.154Connection to localhost (::1) 80 port [tcp/http] succeeded!155machine: (finished: waiting for TCP port 80 on localhost, in 1.02 seconds)156machine: must succeed: mkdir -p /root/.config/herdr-eternal157machine: (finished: must succeed: mkdir -p /root/.config/herdr-eternal, in 0.01 seconds)158machine: must succeed: printf '[targets.testbox]159url = "ws://localhost/herdr-eternal"160token = "test-token"161forward_agent = true162[targets.testbox-quic]163url = "ws://127.0.0.1:1"164quic_addr = "127.0.0.1:7443"165quic_ca = "/nix/store/0db6zcb6qa2186iivydl9x9838yhmgv4-herdr-eternal-test-cert/cert.pem"166token = "test-token"167' > /root/.config/herdr-eternal/config.toml168machine: (finished: must succeed: printf '[targets.testbox]169url = "ws://localhost/herdr-eternal"170token = "test-token"171forward_agent = true172[targets.testbox-quic]173url = "ws://127.0.0.1:1"174quic_addr = "127.0.0.1:7443"175quic_ca = "/nix/store/0db6zcb6qa2186iivydl9x9838yhmgv4-herdr-eternal-test-cert/cert.pem"176token = "test-token"177' > /root/.config/herdr-eternal/config.toml, in 0.00 seconds)178machine: must succeed: herdr-eternal-ssh -T testbox 'id -un; echo $SHELL; echo $USER; echo $LOGNAME; echo $HOME; curl --version > /dev/null && echo curl-ok; echo systemd=$RUNTIME_DIRECTORY$LISTEN_FDS$INVOCATION_ID' < /dev/null179machine: (finished: must succeed: herdr-eternal-ssh -T testbox 'id -un; echo $SHELL; echo $USER; echo $LOGNAME; echo $HOME; curl --version > /dev/null && echo curl-ok; echo systemd=$RUNTIME_DIRECTORY$LISTEN_FDS$INVOCATION_ID' < /dev/null, in 0.05 seconds)180machine: must fail: herdr-eternal-ssh -T testbox 'exit 3' < /dev/null181machine: (finished: must fail: herdr-eternal-ssh -T testbox 'exit 3' < /dev/null, in 0.03 seconds)182machine: must succeed: herdr-eternal-ssh -T testbox-quic 'echo over-quic' < /dev/null183machine: (finished: must succeed: herdr-eternal-ssh -T testbox-quic 'echo over-quic' < /dev/null, in 0.04 seconds)184machine: must succeed: cat > /root/restart-client.sh <<'EOF'185/nix/store/1kk9nlwhgp4m5gmz8w88kj5198247b6l-herdr-eternal-0.1.0/bin/herdr-eternal-ssh -T testbox 'echo before; sleep 5; echo after; exit 5' </dev/null > /root/restart-out186echo rc=$? >> /root/restart-out187EOF188machine: (finished: must succeed: cat > /root/restart-client.sh <<'EOF'189/nix/store/1kk9nlwhgp4m5gmz8w88kj5198247b6l-herdr-eternal-0.1.0/bin/herdr-eternal-ssh -T testbox 'echo before; sleep 5; echo after; exit 5' </dev/null > /root/restart-out190echo rc=$? >> /root/restart-out191EOF, in 0.01 seconds)192machine: must succeed: systemd-run --unit=restart-client --setenv=HOME=/root sh /root/restart-client.sh193Running as unit: restart-client.service; invocation ID: 68d773ff3b744520bd5a8f3fe09d1049194machine: (finished: must succeed: systemd-run --unit=restart-client --setenv=HOME=/root sh /root/restart-client.sh, in 0.01 seconds)195machine: waiting for success: grep -q before /root/restart-out196grep: /root/restart-out: No such file or directory197machine # [878214.060395] machine systemd[1]: Started [systemd-run] /run/current-system/sw/bin/sh /root/restart-client.sh.198machine: (finished: waiting for success: grep -q before /root/restart-out, in 1.02 seconds)199machine: must succeed: systemctl show -p MainPID --value herdr-eternal-server200machine: (finished: must succeed: systemctl show -p MainPID --value herdr-eternal-server, in 0.01 seconds)201machine: must succeed: systemctl restart herdr-eternal-server202machine: (finished: must succeed: systemctl restart herdr-eternal-server, in 0.13 seconds)203machine: must succeed: systemctl show -p MainPID --value herdr-eternal-server204machine: (finished: must succeed: systemctl show -p MainPID --value herdr-eternal-server, in 0.01 seconds)205machine: waiting for success: grep -q rc= /root/restart-out206machine # [878215.097516] machine systemd[1]: Stopping Roaming-friendly transport for herdr --remote...207machine # [878215.098104] machine herdr-eternal-server[306]: 2026-10-24T13:20:07.908261Z INFO herdr_eternal_server: handed sessions over to the fd store fds=3208machine # [878215.103583] machine systemd[1]: herdr-eternal-server.service: Deactivated successfully.209machine # [878215.103689] machine systemd[1]: herdr-eternal-server.service: Unit process 1022 (sh) remains running after unit stopped.210machine # [878215.103756] machine systemd[1]: herdr-eternal-server.service: Unit process 1023 (zsh) remains running after unit stopped.211machine # [878215.103820] machine systemd[1]: herdr-eternal-server.service: Unit process 1024 (sleep) remains running after unit stopped.212machine # [878215.104015] machine systemd[1]: Stopped Roaming-friendly transport for herdr --remote.213machine # [878215.116070] machine systemd[1]: herdr-eternal-server.service: Found left-over process 1022 (sh) in control group while starting unit. Ignoring.214machine # [878215.116075] machine systemd[1]: herdr-eternal-server.service: This usually indicates unclean termination of a previous run, or service implementation deficiencies.215machine # [878215.116133] machine systemd[1]: herdr-eternal-server.service: Found left-over process 1023 (zsh) in control group while starting unit. Ignoring.216machine # [878215.116137] machine systemd[1]: herdr-eternal-server.service: This usually indicates unclean termination of a previous run, or service implementation deficiencies.217machine # [878215.116194] machine systemd[1]: herdr-eternal-server.service: Found left-over process 1024 (sleep) in control group while starting unit. Ignoring.218machine # [878215.116197] machine systemd[1]: herdr-eternal-server.service: This usually indicates unclean termination of a previous run, or service implementation deficiencies.219machine # [878215.116870] machine systemd[1]: Starting Roaming-friendly transport for herdr --remote...220machine # [878215.214999] machine herdr-eternal-server[1029]: 2026-10-24T13:20:08.025462Z INFO herdr_eternal_server: listening addr=127.0.0.1:7433221machine # [878215.215450] machine herdr-eternal-server[1029]: 2026-10-24T13:20:08.025757Z INFO herdr_eternal_server: listening (quic) addr=[::]:7443222machine # [878215.215450] machine herdr-eternal-server[1029]: 2026-10-24T13:20:08.025904Z INFO herdr_eternal_server: restored handed-over session token=306-1792848007051266371-3223machine # [878215.215545] machine systemd[1]: Started Roaming-friendly transport for herdr --remote.224machine: (finished: waiting for success: grep -q rc= /root/restart-out, in 4.04 seconds)225machine: must succeed: cat /root/restart-out226machine: (finished: must succeed: cat /root/restart-out, in 0.01 seconds)227machine: must succeed: journalctl -u herdr-eternal-server | grep -q 'restored handed-over session'228machine: (finished: must succeed: journalctl -u herdr-eternal-server | grep -q 'restored handed-over session', in 0.01 seconds)229machine: must succeed: ssh-keygen -t ed25519 -N "" -f /root/agent-key230machine: (finished: must succeed: ssh-keygen -t ed25519 -N "" -f /root/agent-key, in 0.01 seconds)231machine: must succeed: install -d -m 700 -o alice -g users /home/alice/.ssh232machine: (finished: must succeed: install -d -m 700 -o alice -g users /home/alice/.ssh, in 0.01 seconds)233machine: must succeed: install -m 600 -o alice -g users /root/agent-key.pub /home/alice/.ssh/authorized_keys234machine: (finished: must succeed: install -m 600 -o alice -g users /root/agent-key.pub /home/alice/.ssh/authorized_keys, in 0.04 seconds)235machine: must succeed: rm /root/agent-key.pub236machine: (finished: must succeed: rm /root/agent-key.pub, in 0.01 seconds)237machine: must succeed: ssh-agent sh -c 'ssh-add /root/agent-key && rm /root/agent-key && herdr-eternal-ssh -T testbox "ssh -o StrictHostKeyChecking=accept-new -o BatchMode=yes alice@localhost id -un"' < /dev/null238Identity added: /root/agent-key (root@machine)239Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.240machine # [878219.263069] machine systemd[1]: restart-client.service: Deactivated successfully.241machine # [878219.403386] machine systemd[1]: Created slice Slice /system/sshd.242machine # [878219.403485] machine systemd[1]: SSH Host Keys Generation skipped, no trigger condition checks were met.243machine # [878219.404987] machine systemd[1]: Started SSH per-connection Daemon ([::1]:34814).244machine: (finished: must succeed: ssh-agent sh -c 'ssh-add /root/agent-key && rm /root/agent-key && herdr-eternal-ssh -T testbox "ssh -o StrictHostKeyChecking=accept-new -o BatchMode=yes alice@localhost id -un"' < /dev/null, in 0.21 seconds)245(finished: run the VM test script, in 10.83 seconds)246test script finished in 10.84s247cleanup248kill NspawnMachine (pid 49)249(finished: cleanup, in 0.26 seconds)250additionally exposed symbols:251 machine,252 vlan1,253 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_ssh254Container machine terminated by signal KILL.