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 regress8ccca + ifconfig carp12 rdomain 34 192.168.0.1/24 vhid 251 carpdev pair12 -group carp group regress8cccb 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 regress8ccca 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 + sed -n /^.*lladdr \(.*\)/s//\1/p + ifconfig pair11 + lladdr1=fe:e1:ba:d0:d6:84 + ifconfig pair12 + sed -n /^.*lladdr \(.*\)/s//\1/p + lladdr2=fe:e1:ba:d1:6f:45 + ifconfig carp11 rdomain 33 lladdr fe:e1:ba:d0:d6:84 192.168.0.1/24 vhid 251 carpdev pair11 -group carp group regress68e3a + ifconfig carp12 rdomain 34 lladdr fe:e1:ba:d1:6f:45 192.168.0.1/24 vhid 251 carpdev pair12 -group carp group regress68e3b 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 regress68e3a 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 regress1066ea carppeer 192.168.0.3 + ifconfig carp12 rdomain 34 192.168.0.1/24 vhid 251 carpdev pair12 -group carp group regress1066eb 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 regress1066ea 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:d4:e8:fd + ifconfig pair12 + sed -n /^.*lladdr \(.*\)/s//\1/p + lladdr2=fe:e1:ba:d5:20:1f + ifconfig carp11 rdomain 33 lladdr fe:e1:ba:d4:e8:fd 192.168.0.1/24 vhid 251 carpdev pair11 -group carp group regress111aca carppeer 192.168.0.3 + ifconfig carp12 rdomain 34 lladdr fe:e1:ba:d5:20:1f 192.168.0.1/24 vhid 251 carpdev pair12 -group carp group regress111acb 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 regress111aca 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