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 regressd069a + ifconfig carp12 rdomain 34 192.168.0.1/24 vhid 251 carpdev pair12 -group carp group regressd069b 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 regressd069a 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:cf:f7 + ifconfig pair12 + sed -n /^.*lladdr \(.*\)/s//\1/p + lladdr2=fe:e1:ba:d5:1c:86 + ifconfig carp11 rdomain 33 lladdr fe:e1:ba:d4:cf:f7 192.168.0.1/24 vhid 251 carpdev pair11 -group carp group regress05eea + ifconfig carp12 rdomain 34 lladdr fe:e1:ba:d5:1c:86 192.168.0.1/24 vhid 251 carpdev pair12 -group carp group regress05eeb 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 regress05eea 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 regress16356a carppeer 192.168.0.3 + ifconfig carp12 rdomain 34 192.168.0.1/24 vhid 251 carpdev pair12 -group carp group regress16356b 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 regress16356a 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:f0:97 + ifconfig pair12 + sed -n /^.*lladdr \(.*\)/s//\1/p + lladdr2=fe:e1:ba:d9:da:1e + ifconfig carp11 rdomain 33 lladdr fe:e1:ba:d8:f0:97 192.168.0.1/24 vhid 251 carpdev pair11 -group carp group regress16227a carppeer 192.168.0.3 + ifconfig carp12 rdomain 34 lladdr fe:e1:ba:d9:da:1e 192.168.0.1/24 vhid 251 carpdev pair12 -group carp group regress16227b 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 regress16227a 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