make -C tools/testing/selftests TARGETS=net TEST_PROGS=icmp_redirect.sh TEEST_GEN_PROGS="" run_tests
make: Entering directory '/home/virtme/testing-3/tools/testing/selftests'
make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net'
make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net'
TAP version 13
1..1
# overriding timeout to 7200
# selftests: net: icmp_redirect.sh
[ 29.202359][ T275] eth0: renamed from r1h1
[ 29.554031][ T277] eth0: renamed from r2h1
[ 30.053435][ T280] eth2: renamed from r2h2
[ 30.562238][ T283] eth1: renamed from r2r1
[ 31.351069][ T288] br0: port 1(eth0) entered blocking state
[ 31.352225][ T288] br0: port 1(eth0) entered disabled state
[ 31.352576][ T288] eth0: entered allmulticast mode
[ 31.353949][ T288] eth0: entered promiscuous mode
[ 31.357562][ T8] br0: port 1(eth0) entered blocking state
[ 31.357925][ T8] br0: port 1(eth0) entered forwarding state
[ 31.511657][ T290] br0: port 2(eth1) entered blocking state
[ 31.512003][ T290] br0: port 2(eth1) entered disabled state
[ 31.512544][ T290] eth1: entered allmulticast mode
[ 31.513863][ T290] eth1: entered promiscuous mode
[ 31.515373][ T47] br0: port 2(eth1) entered blocking state
[ 31.515701][ T47] br0: port 2(eth1) entered forwarding state
[ 31.520605][ C1] ------------[ cut here ]------------
[ 31.520961][ C1] UBSAN: invalid-load in ./include/linux/skbuff.h:4267:9
[ 31.521337][ C1] load of value 107 is not a valid value for type '_Bool'
[ 31.521704][ C1] CPU: 1 PID: 50 Comm: kworker/1:1 Not tainted 6.8.0-rc4-virtme #1
[ 31.522122][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 31.522748][ C1] Workqueue: mld mld_ifc_work
[ 31.523006][ C1] Call Trace:
[ 31.523185][ C1]
[ 31.523346][ C1] dump_stack_lvl+0x92/0xb0
[ 31.523588][ C1] __ubsan_handle_load_invalid_value+0xa7/0xe0
[ 31.523917][ C1] br_forward_finish.cold+0xf/0x3c
[ 31.524188][ C1] deliver_clone+0x52/0x90
[ 31.524434][ C1] br_handle_frame_finish+0xbdd/0x1ce0
[ 31.524728][ C1] ? __pfx_br_handle_frame_finish+0x10/0x10
[ 31.525045][ C1] ? __pfx_update_sd_lb_stats.constprop.0+0x10/0x10
[ 31.525404][ C1] br_han
DETECTED CRASH, lowering timeout
dle_frame+0x60d/0xd60
[ 31.525668][ C1] ? __pfx_br_handle_frame+0x10/0x10
[ 31.525956][ C1] __netif_receive_skb_core.constprop.0+0x783/0x2dc0
[ 31.526344][ C1] ? mark_lock+0x38/0x3e0
[ 31.526600][ C1] ? __lock_acquire+0xb67/0x1610
[ 31.526890][ C1] ? __pfx___netif_receive_skb_core.constprop.0+0x10/0x10
[ 31.527292][ C1] ? lock_acquire.part.0+0xe5/0x330
[ 31.527577][ C1] ? process_backlog+0x1ed/0x5e0
[ 31.527860][ C1] __netif_receive_skb_one_core+0xaf/0x1b0
[ 31.528191][ C1] ? __pfx___netif_receive_skb_one_core+0x10/0x10
[ 31.528561][ C1] ? lock_acquire+0x1c1/0x220
[ 31.528836][ C1] ? process_backlog+0x1ed/0x5e0
[ 31.529103][ C1] process_backlog+0xd3/0x5e0
[ 31.529358][ C1] __napi_poll.constprop.0+0xa2/0x460
[ 31.529646][ C1] net_rx_action+0x440/0xb40
[ 31.529899][ C1] ? __pfx_net_rx_action+0x10/0x10
[ 31.530169][ C1] ? lockdep_unlock+0x190/0x230
[ 31.530431][ C1] ? mark_held_locks+0xa5/0xf0
[ 31.530690][ C1] __do_softirq+0x1b9/0x7ff
[ 31.530934][ C1] ? __dev_queue_xmit+0x6dd/0x17f0
[ 31.531206][ C1] do_softirq+0x4d/0xa0
[ 31.531424][ C1]
[ 31.531580][ C1]
[ 31.531738][ C1] __local_bh_enable_ip+0xf6/0x120
[ 31.532007][ C1] ? __dev_queue_xmit+0x6dd/0x17f0
[ 31.532275][ C1] __dev_queue_xmit+0x6f2/0x17f0
[ 31.532540][ C1] ? mark_held_locks+0xa5/0xf0
[ 31.532793][ C1] ? eth_header+0x158/0x1a0
[ 31.533034][ C1] ? __pfx___dev_queue_xmit+0x10/0x10
[ 31.533317][ C1] ? neigh_resolve_output+0x3ec/0x7a0
[ 31.533612][ C1] ip6_finish_output2+0x512/0xf60
[ 31.533884][ C1] ip6_finish_output+0x553/0xdf0
[ 31.534158][ C1] ip6_output+0x1ea/0x760
[ 31.534389][ C1] ? __pfx_ip6_output+0x10/0x10
[ 31.534647][ C1] ? lock_acquire.part.0+0xe5/0x330
[ 31.534922][ C1] ? hlock_class+0x4e/0x130
[ 31.535162][ C1] ? __lock_release+0x40f/0x880
[ 31.535424][ C1] NF_HOOK.constprop.0+0xe2/0x680
[ 31.535689][ C1] ? __pfx_NF_HOOK.constprop.0+0x10/0x10
[ 31.535981][ C1] ? __pfx_xfrm_lookup_with_ifid+0x10/0x10
[ 31.536291][ C1] ? lockdep_hardirqs_on_prepare.part.0+0x1b1/0x370
[ 31.536631][ C1] ? icmp6_dst_alloc+0x2c0/0x450
[ 31.536897][ C1] ? __local_bh_enable_ip+0xa6/0x120
[ 31.537183][ C1] mld_sendpack+0x62c/0xbc0
[ 31.537428][ C1] ? __pfx_mld_sendpack+0x10/0x10
[ 31.537701][ C1] ? mld_send_cr+0x3a1/0x780
[ 31.537948][ C1] mld_ifc_work+0x36/0x200
[ 31.538194][ C1] process_one_work+0x78c/0x1310
[ 31.538466][ C1] ? hlock_class+0x4e/0x130
[ 31.538711][ C1] ? __pfx_process_one_work+0x10/0x10
[ 31.539002][ C1] ? assign_work+0x16c/0x240
[ 31.539248][ C1] worker_thread+0x73d/0x1010
[ 31.539502][ C1] ? lockdep_hardirqs_on_prepare.part.0+0x1b1/0x370
[ 31.539852][ C1] ? __pfx_worker_thread+0x10/0x10
[ 31.540123][ C1] ? __pfx_worker_thread+0x10/0x10
[ 31.540390][ C1] kthread+0x28f/0x360
[ 31.540608][ C1] ? __pfx_kthread+0x10/0x10
[ 31.540860][ C1] ret_from_fork+0x31/0x70
[ 31.541097][ C1] ? __pfx_kthread+0x10/0x10
[ 31.541340][ C1] ret_from_fork_asm+0x1b/0x30
[ 31.541607][ C1]
[ 31.541790][ C1] ---[ end trace ]---
[ 31.542007][ C1] ------------[ cut here ]------------
[ 31.542327][ C1] UBSAN: invalid-load in ./include/linux/skbuff.h:4267:9
[ 31.542687][ C1] load of value 107 is not a valid value for type '_Bool'
[ 31.543054][ C1] CPU: 1 PID: 50 Comm: kworker/1:1 Not tainted 6.8.0-rc4-virtme #1
[ 31.543459][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 31.544083][ C1] Workqueue: mld mld_ifc_work
[ 31.544330][ C1] Call Trace:
[ 31.544507][ C1]
[ 31.544660][ C1] dump_stack_lvl+0x92/0xb0
[ 31.544902][ C1] __ubsan_handle_load_invalid_value+0xa7/0xe0
[ 31.545233][ C1] skb_scrub_packet.cold+0x10/0x15
[ 31.545507][ C1] __dev_forward_skb2+0x332/0x650
[ 31.545776][ C1] veth_xmit+0x245/0x7c0
[ 31.546007][ C1] dev_hard_start_xmit+0x13d/0x570
[ 31.546285][ C1] __dev_queue_xmit+0xf7d/0x17f0
[ 31.546547][ C1] ? vprintk_emit+0xff/0x1d0
[ 31.546797][ C1] ? _printk+0xb7/0xf0
[ 31.547012][ C1] ? __pfx___dev_queue_xmit+0x10/0x10
[ 31.547310][ C1] br_dev_queue_push_xmit+0x114/0x240
[ 31.547593][ C1] ? __pfx_br_dev_queue_push_xmit+0x10/0x10
[ 31.547911][ C1] deliver_clone+0x52/0x90
[ 31.548156][ C1] br_handle_frame_finish+0xbdd/0x1ce0
[ 31.548449][ C1] ? __pfx_br_handle_frame_finish+0x10/0x10
[ 31.548778][ C1] ? __pfx_update_sd_lb_stats.constprop.0+0x10/0x10
[ 31.549140][ C1] br_handle_frame+0x60d/0xd60
[ 31.549395][ C1] ? __pfx_br_handle_frame+0x10/0x10
[ 31.549683][ C1] __netif_receive_skb_core.constprop.0+0x783/0x2dc0
[ 31.550042][ C1] ? mark_lock+0x38/0x3e0
[ 31.550284][ C1] ? __lock_acquire+0xb67/0x1610
[ 31.550548][ C1] ? __pfx___netif_receive_skb_core.constprop.0+0x10/0x10
[ 31.550924][ C1] ? lock_acquire.part.0+0xe5/0x330
[ 31.551204][ C1] ? process_backlog+0x1ed/0x5e0
[ 31.551470][ C1] __netif_receive_skb_one_core+0xaf/0x1b0
[ 31.551775][ C1] ? __pfx___netif_receive_skb_one_core+0x10/0x10
[ 31.552113][ C1] ? lock_acquire+0x1c1/0x220
[ 31.552365][ C1] ? process_backlog+0x1ed/0x5e0
[ 31.552633][ C1] process_backlog+0xd3/0x5e0
[ 31.552895][ C1] __napi_poll.constprop.0+0xa2/0x460
[ 31.553182][ C1] net_rx_action+0x440/0xb40
[ 31.553440][ C1] ? __pfx_net_rx_action+0x10/0x10
[ 31.553710][ C1] ? lockdep_unlock+0x190/0x230
[ 31.553980][ C1] ? mark_held_locks+0xa5/0xf0
[ 31.554238][ C1] __do_softirq+0x1b9/0x7ff
[ 31.554498][ C1] ? __dev_queue_xmit+0x6dd/0x17f0
[ 31.554769][ C1] do_softirq+0x4d/0xa0
[ 31.554992][ C1]
[ 31.555151][ C1]
[ 31.555315][ C1] __local_bh_enable_ip+0xf6/0x120
[ 31.555581][ C1] ? __dev_queue_xmit+0x6dd/0x17f0
[ 31.555847][ C1] __dev_queue_xmit+0x6f2/0x17f0
[ 31.556111][ C1] ? mark_held_locks+0xa5/0xf0
[ 31.556364][ C1] ? eth_header+0x158/0x1a0
[ 31.556608][ C1] ? __pfx___dev_queue_xmit+0x10/0x10
[ 31.556889][ C1] ? neigh_resolve_output+0x3ec/0x7a0
[ 31.557188][ C1] ip6_finish_output2+0x512/0xf60
[ 31.557465][ C1] ip6_finish_output+0x553/0xdf0
[ 31.557736][ C1] ip6_output+0x1ea/0x760
[ 31.557967][ C1] ? __pfx_ip6_output+0x10/0x10
[ 31.558229][ C1] ? lock_acquire.part.0+0xe5/0x330
[ 31.558516][ C1] ? hlock_class+0x4e/0x130
[ 31.558761][ C1] ? __lock_release+0x40f/0x880
[ 31.559029][ C1] NF_HOOK.constprop.0+0xe2/0x680
[ 31.559295][ C1] ? __pfx_NF_HOOK.constprop.0+0x10/0x10
[ 31.559597][ C1] ? __pfx_xfrm_lookup_with_ifid+0x10/0x10
[ 31.559907][ C1] ? lockdep_hardirqs_on_prepare.part.0+0x1b1/0x370
[ 31.560248][ C1] ? icmp6_dst_alloc+0x2c0/0x450
[ 31.560508][ C1] ? __local_bh_enable_ip+0xa6/0x120
[ 31.560790][ C1] mld_sendpack+0x62c/0xbc0
[ 31.561038][ C1] ? __pfx_mld_sendpack+0x10/0x10
[ 31.561324][ C1] ? mld_send_cr+0x3a1/0x780
[ 31.561579][ C1] mld_ifc_work+0x36/0x200
[ 31.561817][ C1] process_one_work+0x78c/0x1310
[ 31.562085][ C1] ? hlock_class+0x4e/0x130
[ 31.562324][ C1] ? __pfx_process_one_work+0x10/0x10
[ 31.562623][ C1] ? assign_work+0x16c/0x240
[ 31.562873][ C1] worker_thread+0x73d/0x1010
[ 31.563136][ C1] ? lockdep_hardirqs_on_prepare.part.0+0x1b1/0x370
[ 31.563485][ C1] ? __pfx_worker_thread+0x10/0x10
[ 31.563764][ C1] ? __pfx_worker_thread+0x10/0x10
[ 31.564032][ C1] kthread+0x28f/0x360
[ 31.564248][ C1] ? __pfx_kthread+0x10/0x10
[ 31.564494][ C1] ret_from_fork+0x31/0x70
[ 31.564726][ C1] ? __pfx_kthread+0x10/0x10
[ 31.564977][ C1] ret_from_fork_asm+0x1b/0x30
[ 31.565247][ C1]
[ 31.565423][ C1] ---[ end trace ]---
#
# ###########################################################################
# Legacy routing
# ###########################################################################
#
# TEST: IPv4: redirect exception [ OK ]
# TEST: IPv6: redirect exception [ OK ]
# TEST: IPv4: redirect exception plus mtu [ OK ]
# TEST: IPv6: redirect exception plus mtu [ OK ]
# TEST: IPv4: routing reset [ OK ]
# TEST: IPv6: routing reset [ OK ]
# TEST: IPv4: mtu exception [ OK ]
# TEST: IPv6: mtu exception [ OK ]
# TEST: IPv4: mtu exception plus redirect [ OK ]
# TEST: IPv6: mtu exception plus redirect [ OK ]
[ 54.154712][ T71] eth1: left allmulticast mode
[ 54.155038][ T71] eth1: left promiscuous mode
[ 54.155472][ T71] br0: port 2(eth1) entered disabled state
[ 54.165114][ T71] eth0: left allmulticast mode
[ 54.165433][ T71] eth0: left promiscuous mode
[ 54.165823][ T71] br0: port 1(eth0) entered disabled state
#
# ###########################################################################
# Legacy routing with VRF
# ###########################################################################
#
[ 65.402255][ T476] eth0: renamed from r1h1
[ 65.757224][ T478] eth0: renamed from r2h1
[ 66.268336][ T481] eth2: renamed from r2h2
[ 66.773395][ T484] eth1: renamed from r2r1
[ 69.196390][ T499] br0: port 1(eth0) entered blocking state
[ 69.196880][ T499] br0: port 1(eth0) entered disabled state
[ 69.197399][ T499] eth0: entered allmulticast mode
[ 69.200456][ T499] eth0: entered promiscuous mode
[ 69.212659][ T274] br0: port 1(eth0) entered blocking state
[ 69.213160][ T274] br0: port 1(eth0) entered forwarding state
[ 69.364043][ T500] br0: port 2(eth1) entered blocking state
[ 69.364433][ T500] br0: port 2(eth1) entered disabled state
[ 69.364798][ T500] eth1: entered allmulticast mode
[ 69.366230][ T500] eth1: entered promiscuous mode
[ 69.367661][ T50] br0: port 2(eth1) entered blocking state
[ 69.368005][ T50] br0: port 2(eth1) entered forwarding state
# TEST: IPv4: redirect exception [ OK ]
# TEST: IPv6: redirect exception [ OK ]
# TEST: IPv4: redirect exception plus mtu [ OK ]
# TEST: IPv6: redirect exception plus mtu [ OK ]
# TEST: IPv4: routing reset [ OK ]
# TEST: IPv6: routing reset [ OK ]
# TEST: IPv4: mtu exception [ OK ]
# TEST: IPv6: mtu exception [ OK ]
# TEST: IPv4: mtu exception plus redirect [ OK ]
# TEST: IPv6: mtu exception plus redirect [ OK ]
[ 92.248066][ T71] eth1: left allmulticast mode
[ 92.248387][ T71] eth1: left promiscuous mode
[ 92.248785][ T71] br0: port 2(eth1) entered disabled state
[ 92.250975][ T71] eth0: left allmulticast mode
[ 92.251253][ T71] eth0: left promiscuous mode
[ 92.251615][ T71] br0: port 1(eth0) entered disabled state
#
# ###########################################################################
# Routing with nexthop objects
# ###########################################################################
#
[ 103.451355][ T686] eth0: renamed from r1h1
[ 103.808381][ T688] eth0: renamed from r2h1
[ 104.372267][ T691] eth2: renamed from r2h2
[ 104.891443][ T694] eth1: renamed from r2r1
[ 105.701798][ T699] br0: port 1(eth0) entered blocking state
[ 105.702165][ T699] br0: port 1(eth0) entered disabled state
[ 105.702504][ T699] eth0: entered allmulticast mode
[ 105.703854][ T699] eth0: entered promiscuous mode
[ 105.708549][ T289] br0: port 1(eth0) entered blocking state
[ 105.708872][ T289] br0: port 1(eth0) entered forwarding state
[ 105.872508][ T700] br0: port 2(eth1) entered blocking state
[ 105.872851][ T700] br0: port 2(eth1) entered disabled state
[ 105.873195][ T700] eth1: entered allmulticast mode
[ 105.874490][ T700] eth1: entered promiscuous mode
[ 105.875884][ T67] br0: port 2(eth1) entered blocking state
[ 105.876217][ T67] br0: port 2(eth1) entered forwarding state
# TEST: IPv4: redirect exception [ OK ]
# TEST: IPv6: redirect exception [ OK ]
# TEST: IPv4: redirect exception plus mtu [ OK ]
# TEST: IPv6: redirect exception plus mtu [ OK ]
# TEST: IPv4: routing reset [ OK ]
# TEST: IPv6: routing reset [ OK ]
# TEST: IPv4: mtu exception [ OK ]
# TEST: IPv6: mtu exception [ OK ]
# TEST: IPv4: mtu exception plus redirect [ OK ]
# TEST: IPv6: mtu exception plus redirect [ OK ]
[ 129.625299][ T71] eth1: left allmulticast mode
[ 129.625596][ T71] eth1: left promiscuous mode
[ 129.626000][ T71] br0: port 2(eth1) entered disabled state
[ 129.628141][ T71] eth0: left allmulticast mode
[ 129.628484][ T71] eth0: left promiscuous mode
[ 129.628899][ T71] br0: port 1(eth0) entered disabled state
#
# ###########################################################################
# Routing with nexthop objects and VRF
# ###########################################################################
#
[ 140.613335][ T897] eth0: renamed from r1h1
[ 140.968743][ T899] eth0: renamed from r2h1
[ 141.491015][ T902] eth2: renamed from r2h2
[ 141.992310][ T905] eth1: renamed from r2r1
[ 144.390491][ T920] br0: port 1(eth0) entered blocking state
[ 144.390831][ T920] br0: port 1(eth0) entered disabled state
[ 144.391186][ T920] eth0: entered allmulticast mode
[ 144.392516][ T920] eth0: entered promiscuous mode
[ 144.400150][ T274] br0: port 1(eth0) entered blocking state
[ 144.400484][ T274] br0: port 1(eth0) entered forwarding state
[ 144.557602][ T921] br0: port 2(eth1) entered blocking state
[ 144.557942][ T921] br0: port 2(eth1) entered disabled state
[ 144.558769][ T921] eth1: entered allmulticast mode
[ 144.560127][ T921] eth1: entered promiscuous mode
[ 144.563884][ T67] br0: port 2(eth1) entered blocking state
[ 144.564222][ T67] br0: port 2(eth1) entered forwarding state
# TEST: IPv4: redirect exception [ OK ]
# TEST: IPv6: redirect exception [ OK ]
# TEST: IPv4: redirect exception plus mtu [ OK ]
# TEST: IPv6: redirect exception plus mtu [ OK ]
# TEST: IPv4: routing reset [ OK ]
# TEST: IPv6: routing reset [ OK ]
# TEST: IPv4: mtu exception [ OK ]
# TEST: IPv6: mtu exception [ OK ]
# TEST: IPv4: mtu exception plus redirect [ OK ]
# TEST: IPv6: mtu exception plus redirect [ OK ]
#
# Tests passed: 40
# Tests failed: 0
# Tests xfailed: 0
[ 167.934222][ T71] eth1: left allmulticast mode
[ 167.934529][ T71] eth1: left promiscuous mode
[ 167.934924][ T71] br0: port 2(eth1) entered disabled state
[ 167.936934][ T71] eth0: left allmulticast mode
[ 167.937260][ T71] eth0: left promiscuous mode
[ 167.937636][ T71] br0: port 1(eth0) entered disabled state
ok 1 selftests: net: icmp_redirect.sh
make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net'
make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests'
xx__-> echo $?
0
xx__->