make -C tools/testing/selftests TARGETS=drivers/net/bonding TEST_PROGS=bonnd_macvlan.sh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-10/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-10/tools/testing/selftests/drivers/net/bonding' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-10/tools/testing/selftests/drivers/net/bonding' make[1]: Entering directory '/home/virtme/testing-10/tools/testing/selftests/drivers/net/bonding' TAP version 13 1..1 # timeout set to 1200 # selftests: drivers/net/bonding: bond_macvlan.sh [ 680.802078][ T5040] br0: port 1(s0) entered blocking state [ 680.803495][ T5040] br0: port 1(s0) entered disabled state [ 680.803979][ T5040] s0: entered allmulticast mode [ 680.805951][ T5040] s0: entered promiscuous mode [ 681.037991][ T5041] bond0: (slave eth0): making interface the new active one [ 681.038802][ T5041] bond0: (slave eth0): Enslaving as an active interface with an up link [ 681.039924][ T33] br0: port 1(s0) entered blocking state [ 681.040259][ T33] br0: port 1(s0) entered forwarding state [ 681.862300][ T5045] br0: port 2(s1) entered blocking state [ 681.862640][ T5045] br0: port 2(s1) entered disabled state [ 681.862979][ T5045] s1: entered allmulticast mode [ 681.864332][ T5045] s1: entered promiscuous mode [ 682.069608][ T5046] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 682.072470][ T47] br0: port 2(s1) entered blocking state [ 682.072870][ T47] br0: port 2(s1) entered forwarding state [ 683.556638][ T5054] br0: port 3(c0) entered blocking state [ 683.557063][ T5054] br0: port 3(c0) entered disabled state [ 683.557505][ T5054] c0: entered allmulticast mode [ 683.559352][ T5054] c0: entered promiscuous mode [ 683.760972][ T2446] br0: port 3(c0) entered blocking state [ 683.761484][ T2446] br0: port 3(c0) entered forwarding state [ 685.163010][ T5064] bond0 (unregistering): (slave eth0): Releasing backup interface [ 685.174468][ T5064] bond0 (unregistering): (slave eth1): Releasing backup interface [ 685.186360][ T5064] bond0 (unregistering): Released all slaves [ 685.213811][ T2446] br0: port 1(s0) entered disabled state [ 685.215570][ T2446] br0: port 2(s1) entered disabled state [ 685.819174][ T5068] bond0: (slave eth0): making interface the new active one [ 685.819977][ T5068] bond0: (slave eth0): Enslaving as an active interface with an up link [ 685.820701][ T47] br0: port 1(s0) entered blocking state [ 685.821062][ T47] br0: port 1(s0) entered forwarding state [ 686.024793][ T5069] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 686.028491][ T2446] br0: port 2(s1) entered blocking state [ 686.028904][ T2446] br0: port 2(s1) entered forwarding state [ 688.353876][ T5080] eth0: entered promiscuous mode # TEST: active-backup: IPv4: client->server [ OK ] # TEST: active-backup: IPv6: client->server [ OK ] # TEST: active-backup: IPv4: client->macvlan_1 [ OK ] # TEST: active-backup: IPv6: client->macvlan_1 [ OK ] # TEST: active-backup: IPv4: client->macvlan_2 [ OK ] # TEST: active-backup: IPv6: client->macvlan_2 [ OK ] # TEST: active-backup: IPv4: macvlan_1->macvlan_2 [ OK ] # TEST: active-backup: IPv6: macvlan_1->macvlan_2 [ OK ] # TEST: active-backup: IPv4: server->client [ OK ] # TEST: active-backup: IPv6: server->client [ OK ] # TEST: active-backup: IPv4: macvlan_1->client [ OK ] # TEST: active-backup: IPv6: macvlan_1->client [ OK ] # TEST: active-backup: IPv4: macvlan_2->client [ OK ] # TEST: active-backup: IPv6: macvlan_2->client [ OK ] # TEST: active-backup: IPv4: macvlan_2->macvlan_2 [ OK ] # TEST: active-backup: IPv6: macvlan_2->macvlan_2 [ OK ] [ 707.542509][ T5110] eth0: left promiscuous mode [ 707.756405][ T5111] bond0 (unregistering): (slave eth0): Releasing backup interface [ 707.765879][ T5111] bond0 (unregistering): (slave eth1): Releasing backup interface [ 707.776802][ T5111] bond0 (unregistering): Released all slaves [ 707.812962][ T2379] br0: port 1(s0) entered disabled state [ 707.815544][ T2379] br0: port 2(s1) entered disabled state [ 708.352404][ T5115] bond0: (slave eth0): making interface the new active one [ 708.353314][ T5115] bond0: (slave eth0): Enslaving as an active interface with an up link [ 708.354071][ T47] br0: port 1(s0) entered blocking state [ 708.354415][ T47] br0: port 1(s0) entered forwarding state [ 708.519184][ T5116] bond0: (slave eth1): Enslaving as an active interface with an up link [ 708.520483][ T2446] br0: port 2(s1) entered blocking state [ 708.520805][ T2446] br0: port 2(s1) entered forwarding state [ 710.732586][ T5127] eth0: entered promiscuous mode # TEST: balance-tlb: IPv4: client->server [ OK ] # TEST: balance-tlb: IPv6: client->server [ OK ] # TEST: balance-tlb: IPv4: client->macvlan_1 [ OK ] # TEST: balance-tlb: IPv6: client->macvlan_1 [ OK ] # TEST: balance-tlb: IPv4: client->macvlan_2 [ OK ] # TEST: balance-tlb: IPv6: client->macvlan_2 [ OK ] # TEST: balance-tlb: IPv4: macvlan_1->macvlan_2 [ OK ] # TEST: balance-tlb: IPv6: macvlan_1->macvlan_2 [ OK ] # TEST: balance-tlb: IPv4: server->client [ OK ] # TEST: balance-tlb: IPv6: server->client [ OK ] # TEST: balance-tlb: IPv4: macvlan_1->client [ OK ] # TEST: balance-tlb: IPv6: macvlan_1->client [ OK ] # TEST: balance-tlb: IPv4: macvlan_2->client [ OK ] # TEST: balance-tlb: IPv6: macvlan_2->client [ OK ] # TEST: balance-tlb: IPv4: macvlan_2->macvlan_2 [ OK ] # TEST: balance-tlb: IPv6: macvlan_2->macvlan_2 [ OK ] [ 730.149256][ T5157] eth0: left promiscuous mode [ 730.346462][ T5158] bond0 (unregistering): (slave eth0): Releasing active interface [ 730.359676][ T5158] bond0 (unregistering): (slave eth1): Releasing active interface [ 730.369152][ T5158] bond0 (unregistering): Released all slaves [ 730.396573][ T47] br0: port 1(s0) entered disabled state [ 730.398107][ T47] br0: port 2(s1) entered disabled state [ 730.963140][ T5162] bond0: (slave eth0): making interface the new active one [ 730.964168][ T5162] bond0: (slave eth0): Enslaving as an active interface with an up link [ 730.966502][ T2379] br0: port 1(s0) entered blocking state [ 730.966828][ T2379] br0: port 1(s0) entered forwarding state [ 731.121588][ T5163] bond0: (slave eth1): Enslaving as an active interface with an up link [ 731.123498][ T2446] br0: port 2(s1) entered blocking state [ 731.123839][ T2446] br0: port 2(s1) entered forwarding state [ 734.031591][ T5177] eth0: entered promiscuous mode # TEST: balance-alb: IPv4: client->server [ OK ] # TEST: balance-alb: IPv6: client->server [ OK ] # TEST: balance-alb: IPv4: client->macvlan_1 [ OK ] # TEST: balance-alb: IPv6: client->macvlan_1 [ OK ] # TEST: balance-alb: IPv4: client->macvlan_2 [ OK ] # TEST: balance-alb: IPv6: client->macvlan_2 [ OK ] # TEST: balance-alb: IPv4: macvlan_1->macvlan_2 [ OK ] # TEST: balance-alb: IPv6: macvlan_1->macvlan_2 [ OK ] # TEST: balance-alb: IPv4: server->client [ OK ] # TEST: balance-alb: IPv6: server->client [ OK ] # TEST: balance-alb: IPv4: macvlan_1->client [ OK ] # TEST: balance-alb: IPv6: macvlan_1->client [ OK ] # TEST: balance-alb: IPv4: macvlan_2->client [ OK ] # TEST: balance-alb: IPv6: macvlan_2->client [ OK ] # TEST: balance-alb: IPv4: macvlan_2->macvlan_2 [ OK ] # TEST: balance-alb: IPv6: macvlan_2->macvlan_2 [ OK ] [ 753.590177][ T5206] eth0: left promiscuous mode [ 754.079779][ T5208] br0: port 3(c0) entered disabled state [ 754.089330][ T5208] c0 (unregistering): left allmulticast mode [ 754.089839][ T5208] c0 (unregistering): left promiscuous mode [ 754.090320][ T5208] br0: port 3(c0) entered disabled state [ 754.779070][ T5216] br0: port 1(s0) entered disabled state [ 754.782138][ T5216] bond0: (slave eth0): Releasing active interface [ 754.782533][ T5216] bond0: (slave eth0): the permanent HWaddr of slave - b2:ac:c0:80:19:23 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 754.783998][ T5216] bond0: (slave eth1): making interface the new active one [ 754.805725][ T5216] s0 (unregistering): left allmulticast mode [ 754.806306][ T5216] s0 (unregistering): left promiscuous mode [ 754.806788][ T5216] br0: port 1(s0) entered disabled state [ 755.008563][ T5217] br0: port 2(s1) entered disabled state [ 755.012017][ T5217] bond0: (slave eth1): Releasing active interface [ 755.027037][ T5217] s1 (unregistering): left allmulticast mode [ 755.027396][ T5217] s1 (unregistering): left promiscuous mode [ 755.027700][ T5217] br0: port 2(s1) entered disabled state [ 755.240768][ T3626] bond0 (unregistering): Released all slaves ok 1 selftests: drivers/net/bonding: bond_macvlan.sh make[1]: Leaving directory '/home/virtme/testing-10/tools/testing/selftests/drivers/net/bonding' make: Leaving directory '/home/virtme/testing-10/tools/testing/selftests' xx__-> echo $? 0 xx__->