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 # overriding timeout to 2400 # selftests: drivers/net/bonding: bond_macvlan.sh [ 26.752325][ T249] br0: port 1(s0) entered blocking state [ 26.752720][ T249] br0: port 1(s0) entered disabled state [ 26.753118][ T249] s0: entered allmulticast mode [ 26.754799][ T249] s0: entered promiscuous mode [ 26.925759][ T250] bond0: (slave eth0): making interface the new active one [ 26.926559][ T250] bond0: (slave eth0): Enslaving as an active interface with an up link [ 26.928280][ T47] br0: port 1(s0) entered blocking state [ 26.928657][ T47] br0: port 1(s0) entered forwarding state [ 27.724985][ T255] br0: port 2(s1) entered blocking state [ 27.725500][ T255] br0: port 2(s1) entered disabled state [ 27.725859][ T255] s1: entered allmulticast mode [ 27.727200][ T255] s1: entered promiscuous mode [ 27.885103][ T256] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 27.886505][ T50] br0: port 2(s1) entered blocking state [ 27.886824][ T50] br0: port 2(s1) entered forwarding state [ 28.320157][ C0] ------------[ cut here ]------------ [ 28.320537][ C0] UBSAN: invalid-load in ./include/linux/skbuff.h:4267:9 [ 28.320909][ C0] load of value 107 is not a valid value for type '_Bool' [ 28.321309][ C0] CPU: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.8.0-rc4-virtme #1 [ 28.321733][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 28.322369][ C0] Workqueue: mld mld_ifc_work [ 28.322617][ C0] Call Trace: [ 28.322803][ C0] [ 28.322952][ C0] dump_stack_lvl+0x92/0xb0 [ 28.323189][ C0] __ubsan_handle_load_invalid_value+0xa7/0xe0 [ 28.323505][ C0] ? __copy_skb_header+0xaf/0x3e0 [ 28.323780][ C0] __br_forward.cold+0xf/0x14 [ 28.324034][ C0] deliver_clone+0x52/0x90 [ 28.324270][ C0] br_handle_frame_finish+0xc10/0x1990 [ 28.324554][ C0] ? __pfx_br_handle_frame_finish+0x10/0x10 [ 28.324860][ C0] ? hlock_class+0x4e/0x130 [ 28.325097][ C0] ? __lock_release+0x40f/0x880 [ 28.325355][ C0] ? rcu_read_lock_bh_held+0x32/0x70 [ 28.325641][ C0] ? tc_run+0x4b0/0x780 [ 28.325859][ C0] ? hlock_class+0x4e/0x130 [ 28.326097][ C0] br_handle_frame+0x5fc/0xba0 [ 28.326352][ C0] ? __pfx_br_handle_frame+0x10/0x10 [ 28.326628][ C0] __netif_receive_skb_core.constprop.0+0x793/0x2e60 [ 28.326987][ C0] ? __lock_acquire+0xb67/0x1610 [ 28.327248][ C0] ? __pfx___netif_receive_skb_core.constprop.0+0x10/0x10 [ 28.327611][ C0] ? lock_acquire.part.0+0xe5/0x330 [ 28.327885][ C0] ? process_backlog+0x1ed/0x5e0 [ 28.328144][ C0] __netif_receive_skb_one_core+0xaf/0x1b0 [ 28.328449][ C0] ? __pfx___netif_receive_skb_one_core+0x10/0x10 [ 28.328788][ C0] ? lock_acquire+0x1c1/0x220 [ 28.329035][ C0] ? process_backlog+0x1ed/0x5e0 [ 28.329303][ C0] process_backlog+0xd3/0x5e0 [ 28.329561][ C0] __napi_poll.constprop.0+0xa2/0x460 [ 28.329845][ C0] net_rx_action+0x440/0xb40 [ 28.330099][ C0] ? __pfx_net_rx_action+0x10/0x10 [ 28.330367][ C0] ? hlock_class+0x20/0x130 [ 28.330615][ C0] ? mark_held_locks+0xa5/0xf0 [ 28.330872][ C0] __do_softirq+0x1b9/0x7ff [ 28.331113][ C0] ? __dev_queue_xmit+0x66d/0x1790 [ 28.331386][ C0] do_softirq+0x4d/0xa0 [ 28.331612][ C0] [ 28.331763][ C0] [ 28.331922][ C0] __local_bh_enable_ip+0xf6/0x120 [ 28.332189][ C0] ? __dev_queue_xmit+0x66d/0x1790 [ 28.332455][ C0] __dev_queue_xmit+0x682/0x1790 [ 28.332716][ C0] ? mark_held_locks+0xa5/0xf0 [ 28.332965][ C0] ? eth_header+0x158/0x1a0 [ 28.333212][ C0] ? __pfx___dev_queue_xmit+0x10/0x10 [ 28.333487][ C0] ? neigh_resolve_output+0x3ec/0x7a0 [ 28.333776][ C0] ip6_finish_output2+0x4b4/0xf00 [ 28.334052][ C0] ip6_finish_output.constprop.0+0x284/0xa40 [ 28.334364][ C0] mld_sendpack+0x64a/0xee0 [ 28.334606][ C0] ? __pfx_mld_sendpack+0x10/0x10 [ 28.334874][ C0] ? mld_send_cr+0x3a1/0x780 [ 28.335125][ C0] mld_ifc_work+0x36/0x200 [ 28.335358][ C0] process_one_work+0x78c/0x1310 [ 28.335632][ C0] ? hlock_class+0x4e/0x130 [ 28.335871][ C0] ? __pfx_process_one_work+0x10/0x10 [ 28.336155][ C0] ? assign_work+0x16c/0x240 [ 28.336398][ C0] worker_thread+0x73d/0x1010 [ 28.336652][ C0] ? __pfx_worker_thread+0x10/0x10 [ 28.336915][ C0] kthread+0x28f/0x360 [ 28.337126][ C0] ? __pfx_kthread+0x10/0x10 [ 28.337371][ C0] ret_from_fork+0x31/0x70 [ 28.337609][ C0] ? __pfx_kthread+0x10/0x10 [ 28.337847][ C0] ret_from_fork_asm+0x1b/0x30 [ 28.338108][ C0] [ 28.338299][ C0] ---[ end trace ]--- [ 28.338526][ C0] ------------[ cut here ]------------ [ 28.338847][ C0] UBSAN: invalid-load in ./include/linux/skbuff.h:4267:9 [ 28.339229][ C0] load of value 107 is not a valid value for type '_Bool' [ 28.339603][ C0] CPU: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.8.0-rc4-virtme #1 [ 28.340019][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 28.340650][ C0] Workqueue: mld mld_ifc_work [ 28.340901][ C0] Call Trace: [ 28.341079][ C0] [ 28.341229][ C0] dump_stack_lvl+0x92/0xb0 [ 28.341470][ C0] __ubsan_handle_load_invalid_value+0xa7/0xe0 [ 28.341801][ C0] skb_scrub_packet.cold+0x10/0x15 [ 28.342074][ C0] __dev_forward_skb2+0x332/0x650 [ 28.342345][ C0] veth_xmit+0x23f/0x7b0 [ 28.342575][ C0] ? __pfx_passthru_features_check+0x10/0x10 [ 28.342893][ C0] dev_hard_start_xmit+0x13d/0x570 [ 28.343166][ C0] __dev_queue_xmit+0xea3/0x1790 [ 28.343434][ C0] ? _printk+0xb7/0xf0 [ 28.343646][ C0] ? __pfx___dev_queue_xmit+0x10/0x10 [ 28.343943][ C0] br_dev_queue_push_xmit+0x114/0x240 [ 28.344222][ C0] ? __pfx_br_dev_queue_push_xmit+0x10/0x10 [ 28.344521][ C0] ? __copy_skb_header+0xaf/0x3e0 [ 28.344784][ C0] ? __br_forward.cold+0xf/0x14 [ 28.345036][ C0] deliver_clone+0x52/0x90 [ 28.345271][ C0] br_handle_frame_finish+0xc10/0x1990 [ 28.345571][ C0] ? __pfx_br_handle_frame_finish+0x10/0x10 [ 28.345882][ C0] ? hlock_class+0x4e/0x130 [ 28.346118][ C0] ? __lock_release+0x40f/0x880 [ 28.346369][ C0] ? rcu_read_lock_bh_held+0x32/0x70 [ 28.346644][ C0] ? tc_run+0x4b0/0x780 [ 28.346858][ C0] ? hlock_class+0x4e/0x130 [ 28.347109][ C0] br_handle_frame+0x5fc/0xba0 [ 28.347375][ C0] ? __pfx_br_handle_frame+0x10/0x10 [ 28.347656][ C0] __netif_receive_skb_core.constprop.0+0x793/0x2e60 [ 28.348005][ C0] ? __lock_acquire+0xb67/0x1610 [ 28.348273][ C0] ? __pfx___netif_receive_skb_core.constprop.0+0x10/0x10 [ 28.348636][ C0] ? lock_acquire.part.0+0xe5/0x330 [ 28.348910][ C0] ? process_backlog+0x1ed/0x5e0 [ 28.349176][ C0] __netif_receive_skb_one_core+0xaf/0x1b0 [ 28.349483][ C0] ? __pfx___netif_receive_skb_one_core+0x10/0x10 [ 28.349825][ C0] ? lock_acquire+0x1c1/0x220 [ 28.350071][ C0] ? process_backlog+0x1ed/0x5e0 [ 28.350337][ C0] process_backlog+0xd3/0x5e0 [ 28.350594][ C0] __napi_poll.constprop.0+0xa2/0x460 [ 28.350882][ C0] net_rx_action+0x440/0xb40 [ 28.351138][ C0] ? __pfx_net_rx_action+0x10/0x10 [ 28.351404][ C0] ? hlock_class+0x20/0x130 [ 28.351643][ C0] ? mark_held_locks+0xa5/0xf0 [ 28.351900][ C0] __do_softirq+0x1b9/0x7ff [ 28.352147][ C0] ? __dev_queue_xmit+0x66d/0x1790 [ 28.352420][ C0] do_softirq+0x4d/0xa0 [ 28.352640][ C0] [ 28.352796][ C0] [ 28.352954][ C0] __local_bh_enable_ip+0xf6/0x120 [ 28.353223][ C0] ? __dev_queue_xmit+0x66d/0x1790 [ 28.353493][ C0] __dev_queue_xmit+0x682/0x1790 [ 28.353757][ C0] ? mark_held_locks+0xa5/0xf0 [ 28.354032][ C0] ? eth_header+0x158/0x1a0 [ 28.354268][ C0] ? __pfx___dev_queue_xmit+0x10/0x10 [ 28.354542][ C0] ? neigh_resolve_output+0x3ec/0x7a0 [ 28.354833][ C0] ip6_finish_output2+0x4b4/0xf00 [ 28.355104][ C0] ip6_finish_output.constprop.0+0x284/0xa40 [ 28.355414][ C0] mld_sendpack+0x64a/0xee0 [ 28.355669][ C0] ? __pfx_mld_sendpack+0x10/0x10 [ 28.355939][ C0] ? mld_send_cr+0x3a1/0x780 [ 28.356190][ C0] mld_ifc_work+0x36/0x200 [ 28.356423][ C0] process_one_work+0x78c/0x1310 [ 28.356687][ C0] ? hlock_class+0x4e/0x130 [ 28.356923][ C0] ? __pfx_process_one_work+0x10/0x10 [ 28.357216][ C0] ? assign_work+0x16c/0x240 [ 28.357460][ C0] worker_thread+0x73d/0x1010 [ 28.357716][ C0] ? __pfx_worker_thread+0x10/0x10 [ 28.357979][ C0] kthread+0x28f/0x360 [ 28.358198][ C0] ? __pfx_kthread+0x10/0x10 [ 28.358440][ C0] ret_from_fork+0x31/0x70 [ 28.358668][ C0] ? __pfx_kthread+0x10/0x10 [ 28.358910][ C0] ret_from_fork_asm+0x1b/0x30 [ 28.359179][ C0] [ 28.359363][ C0] ---[ end trace ]--- [ 29.537899][ T264] br0: port 3(c0) entered blocking state [ 29.539247][ T264] br0: port 3(c0) entered disabled state [ 29.539609][ T264] c0: entered allmulticast mode [ 29.540960][ T264] c0: entered promiscuous mode [ 29.709403][ T50] br0: port 3(c0) entered blocking state [ 29.709758][ T50] br0: port 3(c0) entered forwarding state [ 30.807772][ T273] ip (273) used greatest stack depth: 23248 bytes left [ 30.986780][ T274] bond0 (unregistering): (slave eth0): Releasing backup interface [ 30.997333][ T274] bond0 (unregistering): (slave eth1): Releasing backup interface [ 31.009072][ T274] bond0 (unregistering): Released all slaves [ 31.027363][ T47] br0: port 1(s0) entered disabled state [ 31.029906][ T47] br0: port 2(s1) entered disabled state [ 31.578824][ T279] bond0: (slave eth0): making interface the new active one [ 31.579556][ T279] bond0: (slave eth0): Enslaving as an active interface with an up link [ 31.580203][ T50] br0: port 1(s0) entered blocking state [ 31.580523][ T50] br0: port 1(s0) entered forwarding state [ 31.767061][ T280] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 31.768616][ T47] br0: port 2(s1) entered blocking state [ 31.769054][ T47] br0: port 2(s1) entered forwarding state [ 34.772671][ T294] 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 ] [ 53.904031][ T324] eth0: left promiscuous mode [ 54.140889][ T325] bond0 (unregistering): (slave eth0): Releasing backup interface [ 54.152380][ T325] bond0 (unregistering): (slave eth1): Releasing backup interface [ 54.165631][ T325] bond0 (unregistering): Released all slaves [ 54.196092][ T50] br0: port 1(s0) entered disabled state [ 54.199764][ T50] br0: port 2(s1) entered disabled state [ 54.706258][ T329] bond0: (slave eth0): making interface the new active one [ 54.707236][ T329] bond0: (slave eth0): Enslaving as an active interface with an up link [ 54.708121][ T50] br0: port 1(s0) entered blocking state [ 54.708465][ T50] br0: port 1(s0) entered forwarding state [ 54.892900][ T330] bond0: (slave eth1): Enslaving as an active interface with an up link [ 54.897965][ T8] br0: port 2(s1) entered blocking state [ 54.898316][ T8] br0: port 2(s1) entered forwarding state [ 57.202159][ T341] 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 ] [ 76.006722][ T371] eth0: left promiscuous mode [ 76.238392][ T372] bond0 (unregistering): (slave eth0): Releasing active interface [ 76.252538][ T372] bond0 (unregistering): (slave eth1): Releasing active interface [ 76.265149][ T372] bond0 (unregistering): Released all slaves [ 76.279312][ T47] br0: port 1(s0) entered disabled state [ 76.281841][ T47] br0: port 2(s1) entered disabled state [ 76.763781][ T376] bond0: (slave eth0): making interface the new active one [ 76.764827][ T376] bond0: (slave eth0): Enslaving as an active interface with an up link [ 76.765588][ T49] br0: port 1(s0) entered blocking state [ 76.765909][ T49] br0: port 1(s0) entered forwarding state [ 76.980397][ T377] bond0: (slave eth1): Enslaving as an active interface with an up link [ 76.981145][ T50] br0: port 2(s1) entered blocking state [ 76.981474][ T50] br0: port 2(s1) entered forwarding state [ 79.831815][ T391] 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 ] [ 99.143691][ T420] eth0: left promiscuous mode [ 99.521467][ T422] br0: port 3(c0) entered disabled state [ 99.534500][ T422] c0 (unregistering): left allmulticast mode [ 99.534886][ T422] c0 (unregistering): left promiscuous mode [ 99.535231][ T422] br0: port 3(c0) entered disabled state [ 100.294972][ T431] br0: port 1(s0) entered disabled state [ 100.298305][ T431] bond0: (slave eth0): Releasing active interface [ 100.298671][ T431] bond0: (slave eth0): the permanent HWaddr of slave - 3e:fe:9a:4b:de:56 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 100.299706][ T431] bond0: (slave eth1): making interface the new active one [ 100.315187][ T431] s0 (unregistering): left allmulticast mode [ 100.315557][ T431] s0 (unregistering): left promiscuous mode [ 100.315866][ T431] br0: port 1(s0) entered disabled state [ 100.519980][ T432] br0: port 2(s1) entered disabled state [ 100.522373][ T432] bond0: (slave eth1): Releasing active interface [ 100.546926][ T432] s1 (unregistering): left allmulticast mode [ 100.548124][ T432] s1 (unregistering): left promiscuous mode [ 100.548607][ T432] br0: port 2(s1) entered disabled state [ 100.747859][ T72] 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__->