make -C tools/testing/selftests TARGETS=net/forwarding TEST_PROGS=dual_vxllan_bridge.sh TEST_GEN_PROGS="" run_tests
make: Entering directory '/home/virtme/testing-2/tools/testing/selftests'
make[1]: Entering directory '/home/virtme/testing-2/tools/testing/selftests/net/forwarding'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/virtme/testing-2/tools/testing/selftests/net/forwarding'
make[1]: Entering directory '/home/virtme/testing-2/tools/testing/selftests/net/forwarding'
TAP version 13
1..1
# timeout set to 10800
# selftests: net/forwarding: dual_vxlan_bridge.sh
[ 460.204851] br1: port 1(vx100) entered blocking state
[ 460.205434] br1: port 1(vx100) entered disabled state
[ 460.206022] vx100: entered allmulticast mode
[ 460.206593] vx100: entered promiscuous mode
[ 460.207029] br1: port 1(vx100) entered blocking state
[ 460.207395] br1: port 1(vx100) entered forwarding state
[ 460.227847] br1: port 2(veth1) entered blocking state
[ 460.228157] br1: port 2(veth1) entered disabled state
[ 460.228444] veth1: entered allmulticast mode
[ 460.228762] veth1: entered promiscuous mode
[ 460.239572] br1: port 2(veth1) entered blocking state
[ 460.239927] br1: port 2(veth1) entered forwarding state
[ 460.282333] br2: port 1(vx200) entered blocking state
[ 460.282987] br2: port 1(vx200) entered disabled state
[ 460.283579] vx200: entered allmulticast mode
[ 460.284226] vx200: entered promiscuous mode
[ 460.284796] br2: port 1(vx200) entered blocking state
[ 460.285376] br2: port 1(vx200) entered forwarding state
[ 460.323060] br2: port 2(veth2.20) entered blocking state
[ 460.323779] br2: port 2(veth2.20) entered disabled state
[ 460.324480] veth2.20: entered allmulticast mode
[ 460.325292] veth2.20: entered promiscuous mode
[ 460.337583] veth2: entered allmulticast mode
[ 460.338127] veth2: entered promiscuous mode
[ 460.338607] br2: port 2(veth2.20) entered blocking state
[ 460.339050] br2: port 2(veth2.20) entered forwarding state
[ 460.740384] br3: port 1(w1) entered blocking state
[ 460.740823] br3: port 1(w1) entered disabled state
[ 460.741231] w1: entered allmulticast mode
[ 460.741691] w1: entered promiscuous mode
[ 460.808603] br3: port 2(vx100) entered blocking state
[ 460.808927] br3: port 2(vx100) entered disabled state
[ 460.809237] vx100: entered allmulticast mode
[ 460.809561] vx100: entered promiscuous mode
[ 460.809841] br3: port 2(vx100) entered blocking state
[ 460.810141] br3: port 2(vx100) entered forwarding state
[ 460.889493] br3: port 1(w1) entered blocking state
[ 460.889921] br3: port 1(w1) entered forwarding state
[ 461.205496] br3: port 1(w1) entered blocking state
[ 461.205791] br3: port 1(w1) entered disabled state
[ 461.206088] w1: entered allmulticast mode
[ 461.206412] w1: entered promiscuous mode
[ 461.270970] br3: port 2(vx200) entered blocking state
[ 461.271405] br3: port 2(vx200) entered disabled state
[ 461.271834] vx200: entered allmulticast mode
[ 461.272311] vx200: entered promiscuous mode
[ 461.272712] br3: port 2(vx200) entered blocking state
[ 461.273125] br3: port 2(vx200) entered forwarding state
[ 461.351244] br3: port 1(w1) entered blocking state
[ 461.351563] br3: port 1(w1) entered forwarding state
[ 461.566057] br3: port 3(w1.20) entered blocking state
[ 461.566356] br3: port 3(w1.20) entered disabled state
[ 461.566650] w1.20: entered allmulticast mode
[ 461.566982] w1.20: entered promiscuous mode
[ 461.634087] br3: port 3(w1.20) entered blocking state
[ 461.634524] br3: port 3(w1.20) entered forwarding state
[ 461.779167] IPv6: w2.20: IPv6 duplicate address fe80::e873:ddff:fe88:f765 used by ea:73:dd:88:f7:65 detected!
# Running tests with UDP port 4789
# TEST: ping: local->remote 1 through VxLAN with an 802.1ad bridge [ OK ]
# TEST: ping: local->remote 2 through VxLAN with an 802.1d bridge [ OK ]
[ 469.031514] w1.20: left allmulticast mode
[ 469.031799] w1.20: left promiscuous mode
[ 469.032081] br3: port 3(w1.20) entered disabled state
[ 469.042010] vx200: left allmulticast mode
[ 469.042268] vx200: left promiscuous mode
[ 469.042519] br3: port 2(vx200) entered disabled state
[ 469.054072] w1: left allmulticast mode
[ 469.054310] w1: left promiscuous mode
[ 469.054527] br3: port 1(w1) entered disabled state
[ 469.066038] ------------[ cut here ]------------
[ 469.066312] refcount_t: underflow; use-after-free.
[ 469.066597] WARNING: CPU: 0 PID: 10 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130
[ 469.067059] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel dummy ip_gre xfrm_user cls_matchall bridge stp llc act_mirred act_police act_gact cls_flower sch_ingress 8021q ip6_gre ip6_tunnel tunnel6 gre vrf veth
[ 469.068092] CPU: 0 PID: 10 Comm: kworker/u8:0 Not tainted 6.8.0-rc2-virtme #1
[ 469.068481] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 469.069094] Workqueue: netns cleanup_net
[ 469.069313] RIP: 0010:refcount_warn_saturate+0xd0/0x130
[ 469.069594] Code: 0b 90 90 c3 cc cc cc cc 80 3d a1 b9 66 01 00 0f 85 75 ff ff ff c6 05 94 b9 66 01 01 90 48 c7 c7 c8 70 cf a4 e8 71 92 b4 ff 90 <0f> 0b 90 90 c3 cc cc cc cc 80 3d 74 b9 66 01 00 0f 85 4a ff ff ff
[ 469.070600] RSP: 0018:ffffa8fdc005bd78 EFLAGS: 00010286
[ 469.070889] RAX: 0000000000000000 RBX: ffff9191c2a90000 RCX: 00000000ffffdfff
[ 469.071277] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 469.071661] RBP: ffff9191c2a905f8 R08: ffffffffa5164508 R09: 00000000ffffdfff
[ 469.072046] R10: ffffffffa5084520 R11: ffffffffa5134520 R12: ffff9191c2a90000
[ 469.072424] R13: ffffa8fdc005be08 R14: ffff9191c2a90b60 R15: ffff9191c5338050
[ 469.072812] FS: 0000000000000000(0000) GS:ffff9191fec00000(0000) knlGS:0000000000000000
[ 469.073247] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 469.073557] CR2: 00007fed3b3f7270 CR3: 0000000012a4c004 CR4: 00000000001706f0
[ 469.073940] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 469.074318] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 469.074698] Call Trace:
[ 469.074847]
[ 469.074974] ? __warn+0x84/0x170
[ 469.075160] ? refcount_warn_saturate+0xd0/0x130
[ 469.075416] ? report_bug+0x199/0x1b0
[ 469.075620] ? handle_bug+0x3d/0x70
[ 469.075823] ? exc_invalid_op+0x18/0x70
[ 469.076036] ? asm_exc_invalid_op+0x1a/0x20
[ 469.076268] ? refcount_warn_saturate+0xd0/0x130
[ 469.076519] ? refcount_warn_saturate+0xcf/0x130
[ 469.076776] br_sysfs_delbr+0x1d/0x40 [bridge]
[ 469.077080] br_dev_delete+0x88/0xa0 [bridge]
[ 469.077338] br_net_exit_batch_rtnl+0x70/0xd0 [bridge]
[ 469.077630] cleanup_net+0x251/0x3a0
[ 469.077835] ? process_one_work+0x16c/0x4b0
[ 469.078068] process_one_work+0x1d9/0x4b0
[ 469.078291] worker_thread+0x1c1/0x3d0
[ 469.078501] ? __pfx_worker_thread+0x10/0x10
[ 469.078735] kthread+0xdd/0x110
[ 469.078918] ? __pfx_kthread+0x10/0x10
[ 469.079125] ret_from_fork+0x34/0x50
[ 469.079324] ? __pfx_kthread+0x10/0x10
[ 469.079531] ret_from_fork_asm+0x1b/0x30
[ 469.079752]
[ 469.079887] irq event stamp: 43149
[ 469.080091] hardirqs last enabled at (43159): [] console_unlock+0x10d/0x130
[ 469.080558] hardirqs last disabled at (43168): [] console_unlock+0xf2/0x130
[ 469.081017] softirqs last enabled at (42708): [] __do_softirq+0x2c2/0x37a
[ 469.081467] softirqs last disabled at (42701): [] irq_exit_rcu+0x7f/0xa0
[ 469.081916] ---[ end trace 0000000000000000 ]---
[ 469.082172] ------------[ cut here ]------------
[ 469.082424] sysfs group 'bridge' not found for kobject 'br3'
[ 469.082748] WARNING: CPU: 0 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 469.083191] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel dummy ip_gre xfrm_user cls_matchall bridge stp llc act_mirred act_police act_gact cls_flower sch_ingress 8021q ip6_gre ip6_tunnel tunnel6 gre vrf veth
[ 469.084209] CPU: 0 PID: 10 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 469.084665] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 469.085276] Workqueue: netns cleanup_net
[ 469.085497] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 469.085760] Code: 48 89 ef 5d 41 5c e9 0a ae ff ff 48 89 ef e8 a2 9b ff ff eb d1 90 49 8b 14 24 48 8b 33 48 c7 c7 b0 06 cf a4 e8 fc b0 c5 ff 90 <0f> 0b 90 90 5b 5d 41 5c c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00
[ 469.086746] RSP: 0018:ffffa8fdc005bd70 EFLAGS: 00010286
[ 469.087037] RAX: 0000000000000000 RBX: ffffffffc06cbc60 RCX: 00000000ffffdfff
[ 469.087414] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 469.087791] RBP: 0000000000000000 R08: ffffffffa5164508 R09: 00000000ffffdfff
[ 469.088176] R10: ffffffffa5084520 R11: ffffffffa5134520 R12: ffff9191c2a905f8
[ 469.088556] R13: ffffa8fdc005be08 R14: ffff9191c2a90b60 R15: ffff9191c5338050
[ 469.088944] FS: 0000000000000000(0000) GS:ffff9191fec00000(0000) knlGS:0000000000000000
[ 469.089380] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 469.089692] CR2: 00007fed3b3f7270 CR3: 0000000012a4c004 CR4: 00000000001706f0
[ 469.090094] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 469.090480] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 469.090868] Call Trace:
[ 469.091010]
[ 469.091133] ? __warn+0x84/0x170
[ 469.091313] ? sysfs_remove_group+0x75/0x90
[ 469.091540] ? report_bug+0x199/0x1b0
[ 469.091744] ? handle_bug+0x3d/0x70
[ 469.091947] ? exc_invalid_op+0x18/0x70
[ 469.092164] ? asm_exc_invalid_op+0x1a/0x20
[ 469.092398] ? sysfs_remove_group+0x75/0x90
[ 469.092628] br_dev_delete+0x88/0xa0 [bridge]
[ 469.092890] br_net_exit_batch_rtnl+0x70/0xd0 [bridge]
[ 469.093181] cleanup_net+0x251/0x3a0
[ 469.093384] ? process_one_work+0x16c/0x4b0
[ 469.093612] process_one_work+0x1d9/0x4b0
[ 469.093840] worker_thread+0x1c1/0x3d0
[ 469.094052] ? __pfx_worker_thread+0x10/0x10
[ 469.094288] kthread+0xdd/0x110
[ 469.094465] ? __pfx_kthread+0x10/0x10
[ 469.094685] ret_from_fork+0x34/0x50
[ 469.094901] ? __pfx_kthread+0x10/0x10
[ 469.095109] ret_from_fork_asm+0x1b/0x30
[ 469.095336]
[ 469.095460] irq event stamp: 43809
[ 469.095649] hardirqs last enabled at (43819): [] console_unlock+0x10d/0x130
[ 469.096114] hardirqs last disabled at (43830): [] console_unlock+0xf2/0x130
[ 469.096575] softirqs last enabled at (42708): [] __do_softirq+0x2c2/0x37a
[ 469.097033] softirqs last disabled at (42701): [] irq_exit_rcu+0x7f/0xa0
[ 469.097472] ---[ end trace 0000000000000000 ]---
[ 469.177613] vx100: left allmulticast mode
[ 469.178013] vx100: left promiscuous mode
[ 469.178383] br3: port 2(vx100) entered disabled state
[ 469.185976] w1: left allmulticast mode
[ 469.186219] w1: left promiscuous mode
[ 469.186444] br3: port 1(w1) entered disabled state
[ 469.198061] ------------[ cut here ]------------
[ 469.198390] sysfs group 'bridge' not found for kobject 'br3'
[ 469.198766] WARNING: CPU: 2 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 469.199287] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel dummy ip_gre xfrm_user cls_matchall bridge stp llc act_mirred act_police act_gact cls_flower sch_ingress 8021q ip6_gre ip6_tunnel tunnel6 gre vrf veth
[ 469.200342] CPU: 2 PID: 10 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 469.200870] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 469.201556] Workqueue: netns cleanup_net
[ 469.201825] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 469.202126] Code: 48 89 ef 5d 41 5c e9 0a ae ff ff 48 89 ef e8 a2 9b ff ff eb d1 90 49 8b 14 24 48 8b 33 48 c7 c7 b0 06 cf a4 e8 fc b0 c5 ff 90 <0f> 0b 90 90 5b 5d 41 5c c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00
[ 469.203178] RSP: 0018:ffffa8fdc005bd70 EFLAGS: 00010286
[ 469.203478] RAX: 0000000000000000 RBX: ffffffffc06cbc60 RCX: 00000000ffffdfff
[ 469.203868] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 469.204253] RBP: 0000000000000000 R08: ffffffffa5164508 R09: 00000000ffffdfff
[ 469.204640] R10: ffffffffa5084520 R11: ffffffffa5134520 R12: ffff9191c26c05f8
[ 469.205026] R13: ffffa8fdc005be08 R14: ffff9191c26c0b60 R15: ffffffffa6613dd0
[ 469.205407] FS: 0000000000000000(0000) GS:ffff9191fed00000(0000) knlGS:0000000000000000
[ 469.205837] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 469.206148] CR2: 000055fa26bd9dec CR3: 0000000003ab4004 CR4: 00000000001706f0
[ 469.206527] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 469.206919] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 469.207328] Call Trace:
[ 469.207466]
[ 469.207588] ? __warn+0x84/0x170
[ 469.207770] ? sysfs_remove_group+0x75/0x90
[ 469.208013] ? report_bug+0x199/0x1b0
[ 469.208224] ? handle_bug+0x3d/0x70
[ 469.208418] ? exc_invalid_op+0x18/0x70
[ 469.208626] ? asm_exc_invalid_op+0x1a/0x20
[ 469.208868] ? sysfs_remove_group+0x75/0x90
[ 469.209099] br_dev_delete+0x88/0xa0 [bridge]
[ 469.209356] br_net_exit_batch_rtnl+0x70/0xd0 [bridge]
[ 469.209645] cleanup_net+0x251/0x3a0
[ 469.209854] ? process_one_work+0x16c/0x4b0
[ 469.210126] process_one_work+0x1d9/0x4b0
[ 469.210356] worker_thread+0x1c1/0x3d0
[ 469.210567] ? __pfx_worker_thread+0x10/0x10
[ 469.210811] kthread+0xdd/0x110
[ 469.210988] ? __pfx_kthread+0x10/0x10
[ 469.211223] ret_from_fork+0x34/0x50
[ 469.211425] ? __pfx_kthread+0x10/0x10
[ 469.211640] ret_from_fork_asm+0x1b/0x30
[ 469.211875]
[ 469.212002] irq event stamp: 78535
[ 469.212188] hardirqs last enabled at (78545): [] console_unlock+0x10d/0x130
[ 469.212642] hardirqs last disabled at (78554): [] console_unlock+0xf2/0x130
[ 469.213105] softirqs last enabled at (78342): [] __do_softirq+0x2c2/0x37a
[ 469.213559] softirqs last disabled at (78337): [] irq_exit_rcu+0x7f/0xa0
[ 469.214009] ---[ end trace 0000000000000000 ]---
[ 469.460711] vx200: left allmulticast mode
[ 469.461145] vx200: left promiscuous mode
[ 469.461495] br2: port 1(vx200) entered disabled state
[ 469.517489] veth2: left allmulticast mode
[ 469.517751] veth2: left promiscuous mode
[ 469.518158] br2: port 2(veth2.20) entered disabled state
[ 469.518651] veth2.20 (unregistering): left allmulticast mode
[ 469.518979] veth2.20 (unregistering): left promiscuous mode
[ 469.519278] br2: port 2(veth2.20) entered disabled state
[ 469.575411] br1: port 2(veth1) entered disabled state
[ 469.584584] veth1: left allmulticast mode
[ 469.584846] veth1: left promiscuous mode
[ 469.585071] br1: port 2(veth1) entered disabled state
[ 469.603783] vx100: left allmulticast mode
[ 469.604050] vx100: left promiscuous mode
[ 469.604280] br1: port 1(vx100) entered disabled state
ok 1 selftests: net/forwarding: dual_vxlan_bridge.sh
make[1]: Leaving directory '/home/virtme/testing-2/tools/testing/selftests/net/forwarding'
make: Leaving directory '/home/virtme/testing-2/tools/testing/selftests'
xx__-> echo $?
0
xx__->