robsd-exec: timeout 3600s + . /usr/local/libexec/robsd/util-regress.sh + config_load + << "EOF" + _err=0 + _env=REGRESS_FAIL_EARLY=no + config_value regress-sys/netinet/carp-env + 2> /dev/null + _env=REGRESS_FAIL_EARLY=no GOCACHE=/tmp N1=33 N2=34 TESTOPTS=-v + _make=make -C /home/src/regress/sys/netinet/carp REGRESS_FAIL_EARLY=no GOCACHE=/tmp N1=33 N2=34 TESTOPTS=-v + config_value regress-sys/netinet/carp-targets + regress_root sys/netinet/carp + export SUDO + unpriv -c staff build exec make -C /home/src/regress/sys/netinet/carp REGRESS_FAIL_EARLY=no GOCACHE=/tmp N1=33 N2=34 TESTOPTS=-v regress ==== carp_1 ==== doas -n ksh /home/src/regress/sys/netinet/carp/carp_1.sh -R "33 34" -I "11 12" -v + ifconfig pair11 rdomain 33 192.168.0.2/24 + ifconfig pair12 rdomain 34 192.168.0.3/24 patch pair11 + ifconfig carp11 rdomain 33 192.168.0.1/24 vhid 251 carpdev pair11 -group carp group regress9b9fa + ifconfig carp12 rdomain 34 192.168.0.1/24 vhid 251 carpdev pair12 -group carp group regress9b9fb advskew 100 + wait_until ifconfig carp11 | grep -q 'status: master' + test sh -c ifconfig carp11 | grep -q 'status: master' + test sh -c ifconfig carp12 | grep -q 'status: backup' + ifconfig -g regress9b9fa carpdemote + wait_until ifconfig carp11 | grep -q 'status: backup' + test sh -c ifconfig carp11 | grep -q 'status: backup' + test sh -c ifconfig carp12 | grep -q 'status: master' + cleanup + exit 0 ==== carp_2 ==== doas -n ksh /home/src/regress/sys/netinet/carp/carp_2.sh -R "33 34" -I "11 12" -v + ifconfig pair11 rdomain 33 192.168.0.2/24 + ifconfig pair12 rdomain 34 192.168.0.3/24 patch pair11 + ifconfig pair11 + sed -n /^.*lladdr \(.*\)/s//\1/p + lladdr1=fe:e1:ba:d4:83:24 + ifconfig pair12 + sed -n /^.*lladdr \(.*\)/s//\1/p + lladdr2=fe:e1:ba:d5:7f:b5 + ifconfig carp11 rdomain 33 lladdr fe:e1:ba:d4:83:24 192.168.0.1/24 vhid 251 carpdev pair11 -group carp group regress99efa + ifconfig carp12 rdomain 34 lladdr fe:e1:ba:d5:7f:b5 192.168.0.1/24 vhid 251 carpdev pair12 -group carp group regress99efb advskew 100 + wait_until ifconfig carp11 | grep -q 'status: master' + test sh -c ifconfig carp11 | grep -q 'status: master' + test sh -c ifconfig carp12 | grep -q 'status: backup' + ifconfig -g regress99efa carpdemote + wait_until ifconfig carp11 | grep -q 'status: backup' + test sh -c ifconfig carp11 | grep -q 'status: backup' + test sh -c ifconfig carp12 | grep -q 'status: master' + cleanup + exit 0 ==== carp_3 ==== doas -n ksh /home/src/regress/sys/netinet/carp/carp_3.sh -R "33 34" -I "11 12" -v + ifconfig pair11 rdomain 33 192.168.0.2/24 + ifconfig pair12 rdomain 34 192.168.0.3/24 patch pair11 + ifconfig carp11 rdomain 33 192.168.0.1/24 vhid 251 carpdev pair11 -group carp group regressf169a carppeer 192.168.0.3 + ifconfig carp12 rdomain 34 192.168.0.1/24 vhid 251 carpdev pair12 -group carp group regressf169b advskew 100 carppeer 192.168.0.2 + wait_until ifconfig carp11 | grep -q 'status: master' + test sh -c ifconfig carp11 | grep -q 'status: master' + test sh -c ifconfig carp12 | grep -q 'status: backup' + ifconfig -g regressf169a carpdemote + wait_until ifconfig carp11 | grep -q 'status: backup' + test sh -c ifconfig carp11 | grep -q 'status: backup' + test sh -c ifconfig carp12 | grep -q 'status: master' + cleanup + exit 0 ==== carp_4 ==== doas -n ksh /home/src/regress/sys/netinet/carp/carp_4.sh -R "33 34" -I "11 12" -v + ifconfig pair11 rdomain 33 192.168.0.2/24 + ifconfig pair12 rdomain 34 192.168.0.3/24 patch pair11 + ifconfig pair11 + sed -n /^.*lladdr \(.*\)/s//\1/p + lladdr1=fe:e1:ba:d8:ca:25 + ifconfig pair12 + sed -n /^.*lladdr \(.*\)/s//\1/p + lladdr2=fe:e1:ba:d9:1b:d9 + ifconfig carp11 rdomain 33 lladdr fe:e1:ba:d8:ca:25 192.168.0.1/24 vhid 251 carpdev pair11 -group carp group regress13770a carppeer 192.168.0.3 + ifconfig carp12 rdomain 34 lladdr fe:e1:ba:d9:1b:d9 192.168.0.1/24 vhid 251 carpdev pair12 -group carp group regress13770b advskew 100 carppeer 192.168.0.2 + wait_until ifconfig carp11 | grep -q 'status: master' + test sh -c ifconfig carp11 | grep -q 'status: master' + test sh -c ifconfig carp12 | grep -q 'status: backup' + ifconfig -g regress13770a carpdemote + wait_until ifconfig carp11 | grep -q 'status: backup' + test sh -c ifconfig carp11 | grep -q 'status: backup' + test sh -c ifconfig carp12 | grep -q 'status: master' + cleanup + exit 0