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 regress16916a + ifconfig carp12 rdomain 34 192.168.0.1/24 vhid 251 carpdev pair12 -group carp group regress16916b 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 regress16916a 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:d0:4b:96 + ifconfig pair12 + sed -n /^.*lladdr \(.*\)/s//\1/p + lladdr2=fe:e1:ba:d1:14:69 + ifconfig carp11 rdomain 33 lladdr fe:e1:ba:d0:4b:96 192.168.0.1/24 vhid 251 carpdev pair11 -group carp group regress09f5a + ifconfig carp12 rdomain 34 lladdr fe:e1:ba:d1:14:69 192.168.0.1/24 vhid 251 carpdev pair12 -group carp group regress09f5b 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 regress09f5a 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 regress5e44a carppeer 192.168.0.3 + ifconfig carp12 rdomain 34 192.168.0.1/24 vhid 251 carpdev pair12 -group carp group regress5e44b 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 regress5e44a 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:72:46 + ifconfig pair12 + sed -n /^.*lladdr \(.*\)/s//\1/p + lladdr2=fe:e1:ba:d5:d8:aa + ifconfig carp11 rdomain 33 lladdr fe:e1:ba:d4:72:46 192.168.0.1/24 vhid 251 carpdev pair11 -group carp group regress16a07a carppeer 192.168.0.3 + ifconfig carp12 rdomain 34 lladdr fe:e1:ba:d5:d8:aa 192.168.0.1/24 vhid 251 carpdev pair12 -group carp group regress16a07b 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 regress16a07a 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