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 [ 701.563495][ T5018] br0: port 1(s0) entered blocking state [ 701.563846][ T5018] br0: port 1(s0) entered disabled state [ 701.564188][ T5018] s0: entered allmulticast mode [ 701.565557][ T5018] s0: entered promiscuous mode [ 701.763438][ T5019] bond0: (slave eth0): making interface the new active one [ 701.764541][ T5019] bond0: (slave eth0): Enslaving as an active interface with an up link [ 701.768880][ T283] br0: port 1(s0) entered blocking state [ 701.769312][ T283] br0: port 1(s0) entered forwarding state [ 702.536490][ T5023] br0: port 2(s1) entered blocking state [ 702.537004][ T5023] br0: port 2(s1) entered disabled state [ 702.537498][ T5023] s1: entered allmulticast mode [ 702.538923][ T5023] s1: entered promiscuous mode [ 702.718374][ T5024] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 702.719554][ T333] br0: port 2(s1) entered blocking state [ 702.719871][ T333] br0: port 2(s1) entered forwarding state [ 704.285563][ T5034] br0: port 3(c0) entered blocking state [ 704.286015][ T5034] br0: port 3(c0) entered disabled state [ 704.286362][ T5034] c0: entered allmulticast mode [ 704.287811][ T5034] c0: entered promiscuous mode [ 704.452836][ T333] br0: port 3(c0) entered blocking state [ 704.453183][ T333] br0: port 3(c0) entered forwarding state [ 705.796911][ T5044] bond0 (unregistering): (slave eth0): Releasing backup interface [ 705.810697][ T5044] bond0 (unregistering): (slave eth1): Releasing backup interface [ 705.822254][ T5044] bond0 (unregistering): Released all slaves [ 705.843563][ T46] br0: port 1(s0) entered disabled state [ 705.845211][ T46] br0: port 2(s1) entered disabled state [ 706.470471][ T5048] bond0: (slave eth0): making interface the new active one [ 706.471221][ T5048] bond0: (slave eth0): Enslaving as an active interface with an up link [ 706.471897][ T333] br0: port 1(s0) entered blocking state [ 706.472207][ T333] br0: port 1(s0) entered forwarding state [ 706.646897][ T5049] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 706.647971][ T2455] br0: port 2(s1) entered blocking state [ 706.648288][ T2455] br0: port 2(s1) entered forwarding state [ 709.972730][ T5063] 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 ] [ 728.919070][ T5093] eth0: left promiscuous mode [ 729.108055][ T5094] bond0 (unregistering): (slave eth0): Releasing backup interface [ 729.116084][ T5094] bond0 (unregistering): (slave eth1): Releasing backup interface [ 729.128692][ T5094] bond0 (unregistering): Released all slaves [ 729.142995][ T333] br0: port 1(s0) entered disabled state [ 729.144464][ T333] br0: port 2(s1) entered disabled state [ 729.670521][ T5098] bond0: (slave eth0): making interface the new active one [ 729.677306][ T5098] bond0: (slave eth0): Enslaving as an active interface with an up link [ 729.680045][ T46] br0: port 1(s0) entered blocking state [ 729.680375][ T46] br0: port 1(s0) entered forwarding state [ 729.866614][ T5099] bond0: (slave eth1): Enslaving as an active interface with an up link [ 729.867643][ T283] br0: port 2(s1) entered blocking state [ 729.867979][ T283] br0: port 2(s1) entered forwarding state [ 732.663911][ T5113] 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 ] [ 751.708075][ T5143] eth0: left promiscuous mode [ 751.936415][ T5144] bond0 (unregistering): (slave eth0): Releasing active interface [ 751.948557][ T5144] bond0 (unregistering): (slave eth1): Releasing active interface [ 751.960520][ T5144] bond0 (unregistering): Released all slaves [ 751.984750][ T2455] br0: port 1(s0) entered disabled state [ 751.987148][ T2455] br0: port 2(s1) entered disabled state [ 752.477901][ T5149] bond0: (slave eth0): making interface the new active one [ 752.487524][ T5149] bond0: (slave eth0): Enslaving as an active interface with an up link [ 752.488370][ T333] br0: port 1(s0) entered blocking state [ 752.488680][ T333] br0: port 1(s0) entered forwarding state [ 752.655413][ T5150] bond0: (slave eth1): Enslaving as an active interface with an up link [ 752.656591][ T46] br0: port 2(s1) entered blocking state [ 752.656943][ T46] br0: port 2(s1) entered forwarding state [ 755.542484][ T5164] 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 ] [ 774.798937][ T5193] eth0: left promiscuous mode [ 775.193282][ T5195] br0: port 3(c0) entered disabled state [ 775.198594][ T5195] c0 (unregistering): left allmulticast mode [ 775.201150][ T5195] c0 (unregistering): left promiscuous mode [ 775.201792][ T5195] br0: port 3(c0) entered disabled state [ 775.860215][ T5202] br0: port 1(s0) entered disabled state [ 775.862543][ T5202] bond0: (slave eth0): Releasing active interface [ 775.862917][ T5202] bond0: (slave eth0): the permanent HWaddr of slave - 56:66:76:89:6b:fb - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 775.863817][ T5202] bond0: (slave eth1): making interface the new active one [ 775.880881][ T5202] s0 (unregistering): left allmulticast mode [ 775.881402][ T5202] s0 (unregistering): left promiscuous mode [ 775.882079][ T5202] br0: port 1(s0) entered disabled state [ 776.093548][ T5203] br0: port 2(s1) entered disabled state [ 776.095492][ T5203] bond0: (slave eth1): Releasing active interface [ 776.111633][ T5203] s1 (unregistering): left allmulticast mode [ 776.112005][ T5203] s1 (unregistering): left promiscuous mode [ 776.112330][ T5203] br0: port 2(s1) entered disabled state [ 776.308693][ T11] 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__->