make -C tools/testing/selftests TARGETS=net TEST_PROGS=test_bridge_backup__port.sh TEST_GEN_PROGS="" run_tests
make: Entering directory '/home/virtme/testing-1/tools/testing/selftests'
make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net'
make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net'
TAP version 13
1..1
# timeout set to 6000
# selftests: net: test_bridge_backup_port.sh
[  348.283757] veth0: renamed from veth1
[  348.434939] br0: port 1(swp1) entered blocking state
[  348.435449] br0: port 1(swp1) entered disabled state
[  348.435865] swp1: entered allmulticast mode
[  348.436311] swp1: entered promiscuous mode
[  348.436745] br0: port 1(swp1) entered blocking state
[  348.437170] br0: port 1(swp1) entered forwarding state
[  348.492171] br0: port 2(vx0) entered blocking state
[  348.492592] br0: port 2(vx0) entered disabled state
[  348.493006] vx0: entered allmulticast mode
[  348.493446] vx0: entered promiscuous mode
[  348.493797] br0: port 2(vx0) entered blocking state
[  348.494121] br0: port 2(vx0) entered forwarding state
[  348.689584] br0: port 1(swp1) entered blocking state
[  348.689893] br0: port 1(swp1) entered disabled state
[  348.690168] swp1: entered allmulticast mode
[  348.690459] swp1: entered promiscuous mode
[  348.690725] br0: port 1(swp1) entered blocking state
[  348.690994] br0: port 1(swp1) entered forwarding state
[  348.719056] br0: port 2(vx0) entered blocking state
[  348.719348] br0: port 2(vx0) entered disabled state
[  348.719611] vx0: entered allmulticast mode
[  348.719906] vx0: entered promiscuous mode
[  348.720138] br0: port 2(vx0) entered blocking state
[  348.720401] br0: port 2(vx0) entered forwarding state
# 
# Backup port
# -----------
[  353.839659] GACT probability NOT on
# TEST: Forwarding out of swp1                                        [ OK ]
# TEST: No forwarding out of vx0                                      [ OK ]
[  354.250663] br0: port 1(swp1) entered disabled state
# TEST: swp1 carrier off                                              [ OK ]
# TEST: No forwarding out of swp1                                     [ OK ]
# TEST: No forwarding out of vx0                                      [ OK ]
[  354.605992] br0: port 1(swp1) entered blocking state
[  354.606422] br0: port 1(swp1) entered forwarding state
# TEST: swp1 carrier on                                               [ OK ]
# TEST: vx0 configured as backup port of swp1                         [ OK ]
# TEST: Forwarding out of swp1                                        [ OK ]
# TEST: No forwarding out of vx0                                      [ OK ]
# TEST: swp1 carrier off                                              [ OK ]
# TEST: No forwarding out of swp1                                     [ OK ]
[  355.255949] br0: port 1(swp1) entered disabled state
# TEST: Forwarding out of vx0                                         [ OK ]
[  355.371709] br0: port 1(swp1) entered blocking state
[  355.372038] br0: port 1(swp1) entered forwarding state
# TEST: swp1 carrier on                                               [ OK ]
# TEST: Forwarding out of swp1                                        [ OK ]
# TEST: No forwarding out of vx0                                      [ OK ]
# TEST: vx0 not configured as backup port of swp1                     [ OK ]
# TEST: Forwarding out of swp1                                        [ OK ]
# TEST: No forwarding out of vx0                                      [ OK ]
# TEST: swp1 carrier off                                              [ OK ]
[  356.264223] br0: port 1(swp1) entered disabled state
# TEST: No forwarding out of swp1                                     [FAIL]
# TEST: No forwarding out of vx0                                      [ OK ]
[  356.434084] vx0: left allmulticast mode
[  356.434391] vx0: left promiscuous mode
[  356.434608] br0: port 2(vx0) entered disabled state
[  356.446987] swp1: left allmulticast mode
[  356.447416] swp1: left promiscuous mode
[  356.447753] br0: port 1(swp1) entered disabled state
[  356.459207] ------------[ cut here ]------------
[  356.459744] refcount_t: underflow; use-after-free.
[  356.460343] WARNING: CPU: 2 PID: 10 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130
[  356.461230] Modules linked in: act_gact cls_flower vxlan ip6_udp_tunnel udp_tunnel xt_mark sch_ingress act_mirred cls_basic sch_fq_codel sha1_generic xfrm_user xt_policy nft_compat nf_tables libcrc32c
[  356.462407] CPU: 2 PID: 10 Comm: kworker/u8:0 Not tainted 6.8.0-rc2-virtme #1
[  356.462798] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[  356.463418] Workqueue: netns cleanup_net
[  356.463645] RIP: 0010:refcount_warn_saturate+0xd0/0x130
[  356.463937] Code: 0b 90 90 c3 cc cc cc cc 80 3d 69 d4 67 01 00 0f 85 75 ff ff ff c6 05 5c d4 67 01 01 90 48 c7 c7 e8 37 d3 8c e8 a1 26 b4 ff 90 <0f> 0b 90 90 c3 cc cc cc cc 80 3d 3c d4 67 01 00 0f 85 4a ff ff ff
[  356.464946] RSP: 0018:ffffa6170005bd78 EFLAGS: 00010286
[  356.465234] RAX: 0000000000000000 RBX: ffff951e42afc000 RCX: 00000000ffffdfff
[  356.465622] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[  356.466003] RBP: ffff951e42afc610 R08: ffffffff8d178508 R09: 00000000ffffdfff
[  356.466374] R10: ffffffff8d098520 R11: ffffffff8d148520 R12: ffff951e42afc000
[  356.466745] R13: ffffa6170005be08 R14: ffff951e42afcb80 R15: ffff951e438f4550
[  356.467125] FS:  0000000000000000(0000) GS:ffff951e7ed00000(0000) knlGS:0000000000000000
[  356.467539] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  356.467846] CR2: 00007f7ab9eaa000 CR3: 0000000007860006 CR4: 0000000000770ef0
[  356.468215] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  356.468583] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  356.468956] PKRU: 55555554
[  356.469105] Call Trace:
[  356.469240]  
[  356.469360]  ? __warn+0x84/0x170
[  356.469537]  ? refcount_warn_saturate+0xd0/0x130
[  356.469780]  ? report_bug+0x199/0x1b0
[  356.469989]  ? handle_bug+0x3d/0x70
[  356.470178]  ? exc_invalid_op+0x18/0x70
[  356.470384]  ? asm_exc_invalid_op+0x1a/0x20
[  356.470611]  ? refcount_warn_saturate+0xd0/0x130
[  356.470863]  ? refcount_warn_saturate+0xcf/0x130
[  356.471115]  br_sysfs_delbr+0x1d/0x40
[  356.471316]  br_dev_delete+0x88/0xa0
[  356.471511]  br_net_exit_batch_rtnl+0x70/0xd0
[  356.471747]  cleanup_net+0x24e/0x400
[  356.471953]  ? process_one_work+0x16c/0x4b0
[  356.472175]  process_one_work+0x1d6/0x4b0
[  356.472392]  worker_thread+0x1c1/0x3d0
[  356.472595]  ? __pfx_worker_thread+0x10/0x10
[  356.472826]  kthread+0xda/0x110
[  356.473004]  ? __pfx_kthread+0x10/0x10
[  356.473206]  ret_from_fork+0x31/0x50
[  356.473401]  ? __pfx_kthread+0x10/0x10
[  356.473601]  ret_from_fork_asm+0x1b/0x30
[  356.473829]  
[  356.473954] irq event stamp: 416095
[  356.474142] hardirqs last  enabled at (416105): [] console_unlock+0x10d/0x130
[  356.474600] hardirqs last disabled at (416114): [] console_unlock+0xf2/0x130
[  356.475055] softirqs last  enabled at (415704): [] __do_softirq+0x2c2/0x37a
[  356.475496] softirqs last disabled at (415699): [] irq_exit_rcu+0x7f/0xa0
[  356.475933] ---[ end trace 0000000000000000 ]---
[  356.476223] ------------[ cut here ]------------
[  356.476681] sysfs group 'bridge' not found for kobject 'br0'
[  356.477372] WARNING: CPU: 1 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[  356.477995] Modules linked in: act_gact cls_flower vxlan ip6_udp_tunnel udp_tunnel xt_mark sch_ingress act_mirred cls_basic sch_fq_codel sha1_generic xfrm_user xt_policy nft_compat nf_tables libcrc32c
[  356.479352] CPU: 1 PID: 10 Comm: kworker/u8:0 Tainted: G        W          6.8.0-rc2-virtme #1
[  356.480133] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[  356.481831] Workqueue: netns cleanup_net
[  356.482409] RIP: 0010:sysfs_remove_group+0x75/0x90
[  356.482868] Code: 48 89 ef 5d 41 5c e9 7a ad ff ff 48 89 ef e8 12 9b ff ff eb d1 90 49 8b 14 24 48 8b 33 48 c7 c7 d0 cd d2 8c e8 ac 67 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
[  356.485790] RSP: 0018:ffffa6170005bd70 EFLAGS: 00010286
[  356.486759] RAX: 0000000000000000 RBX: ffffffff8c9472c0 RCX: 00000000ffffdfff
[  356.488094] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[  356.489422] RBP: 0000000000000000 R08: ffffffff8d178508 R09: 00000000ffffdfff
[  356.490656] R10: ffffffff8d098520 R11: ffffffff8d148520 R12: ffff951e42afc610
[  356.491263] R13: ffffa6170005be08 R14: ffff951e42afcb80 R15: ffff951e438f4550
[  356.491848] FS:  0000000000000000(0000) GS:ffff951e7ec80000(0000) knlGS:0000000000000000
[  356.492578] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  356.493264] CR2: 00005640657e1dec CR3: 0000000007860001 CR4: 0000000000770ef0
[  356.494143] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  356.495309] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  356.496303] PKRU: 55555554
[  356.496583] Call Trace:
[  356.496854]  
[  356.497100]  ? __warn+0x84/0x170
[  356.497416]  ? sysfs_remove_group+0x75/0x90
[  356.497837]  ? report_bug+0x199/0x1b0
[  356.498253]  ? handle_bug+0x3d/0x70
[  356.498651]  ? exc_invalid_op+0x18/0x70
[  356.499084]  ? asm_exc_invalid_op+0x1a/0x20
[  356.499510]  ? sysfs_remove_group+0x75/0x90
[  356.499959]  br_dev_delete+0x88/0xa0
[  356.500380]  br_net_exit_batch_rtnl+0x70/0xd0
[  356.500809]  cleanup_net+0x24e/0x400
[  356.501336]  ? process_one_work+0x16c/0x4b0
[  356.501761]  process_one_work+0x1d6/0x4b0
[  356.502164]  worker_thread+0x1c1/0x3d0
[  356.502512]  ? __pfx_worker_thread+0x10/0x10
[  356.503001]  kthread+0xda/0x110
[  356.503373]  ? __pfx_kthread+0x10/0x10
[  356.503728]  ret_from_fork+0x31/0x50
[  356.504130]  ? __pfx_kthread+0x10/0x10
[  356.504434]  ret_from_fork_asm+0x1b/0x30
[  356.504791]  
[  356.505003] irq event stamp: 416769
[  356.505355] hardirqs last  enabled at (416779): [] console_unlock+0x10d/0x130
[  356.506175] hardirqs last disabled at (416790): [] console_unlock+0xf2/0x130
[  356.506966] softirqs last  enabled at (416188): [] __do_softirq+0x2c2/0x37a
[  356.507429] softirqs last disabled at (416181): [] irq_exit_rcu+0x7f/0xa0
[  356.507938] ---[ end trace 0000000000000000 ]---
[  356.590968] vx0: left allmulticast mode
[  356.591370] vx0: left promiscuous mode
[  356.591865] br0: port 2(vx0) entered disabled state
[  356.602980] swp1: left allmulticast mode
[  356.603396] swp1: left promiscuous mode
[  356.603781] br0: port 1(swp1) entered disabled state
[  356.619059] ------------[ cut here ]------------
[  356.619841] sysfs group 'bridge' not found for kobject 'br0'
[  356.620593] WARNING: CPU: 2 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[  356.621658] Modules linked in: act_gact cls_flower vxlan ip6_udp_tunnel udp_tunnel xt_mark sch_ingress act_mirred cls_basic sch_fq_codel sha1_generic xfrm_user xt_policy nft_compat nf_tables libcrc32c
[  356.623903] CPU: 2 PID: 10 Comm: kworker/u8:0 Tainted: G        W          6.8.0-rc2-virtme #1
[  356.624919] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[  356.626351] Workqueue: netns cleanup_net
[  356.626776] RIP: 0010:sysfs_remove_group+0x75/0x90
[  356.627258] Code: 48 89 ef 5d 41 5c e9 7a ad ff ff 48 89 ef e8 12 9b ff ff eb d1 90 49 8b 14 24 48 8b 33 48 c7 c7 d0 cd d2 8c e8 ac 67 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
[  356.628800] RSP: 0018:ffffa6170005bd70 EFLAGS: 00010286
[  356.629123] RAX: 0000000000000000 RBX: ffffffff8c9472c0 RCX: 00000000ffffdfff
[  356.629629] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[  356.630004] RBP: 0000000000000000 R08: ffffffff8d178508 R09: 00000000ffffdfff
[  356.630371] R10: ffffffff8d098520 R11: ffffffff8d148520 R12: ffff951e42a74610
[  356.630741] R13: ffffa6170005be08 R14: ffff951e42a74b80 R15: ffff951e43882e50
[  356.631131] FS:  0000000000000000(0000) GS:ffff951e7ed00000(0000) knlGS:0000000000000000
[  356.631543] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  356.631856] CR2: 00007f6b02e3c000 CR3: 0000000007860002 CR4: 0000000000770ef0
[  356.632225] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  356.632592] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  356.632965] PKRU: 55555554
[  356.633111] Call Trace:
[  356.633246]  
[  356.633367]  ? __warn+0x84/0x170
[  356.633544]  ? sysfs_remove_group+0x75/0x90
[  356.633765]  ? report_bug+0x199/0x1b0
[  356.633971]  ? handle_bug+0x3d/0x70
[  356.634162]  ? exc_invalid_op+0x18/0x70
[  356.634369]  ? asm_exc_invalid_op+0x1a/0x20
[  356.634595]  ? sysfs_remove_group+0x75/0x90
[  356.634828]  br_dev_delete+0x88/0xa0
[  356.635026]  br_net_exit_batch_rtnl+0x70/0xd0
[  356.635261]  cleanup_net+0x24e/0x400
[  356.635457]  ? process_one_work+0x16c/0x4b0
[  356.635681]  process_one_work+0x1d6/0x4b0
[  356.635908]  worker_thread+0x1c1/0x3d0
[  356.636112]  ? __pfx_worker_thread+0x10/0x10
[  356.636341]  kthread+0xda/0x110
[  356.636516]  ? __pfx_kthread+0x10/0x10
[  356.636719]  ret_from_fork+0x31/0x50
[  356.636923]  ? __pfx_kthread+0x10/0x10
[  356.637123]  ret_from_fork_asm+0x1b/0x30
[  356.637339]  
[  356.637462] irq event stamp: 442501
[  356.637649] hardirqs last  enabled at (442511): [] console_unlock+0x10d/0x130
[  356.638148] hardirqs last disabled at (442522): [] console_unlock+0xf2/0x130
[  356.638717] softirqs last  enabled at (442090): [] __do_softirq+0x2c2/0x37a
[  356.639233] softirqs last disabled at (442085): [] irq_exit_rcu+0x7f/0xa0
[  356.639774] ---[ end trace 0000000000000000 ]---
[  356.905038] veth0: renamed from veth1
[  357.036005] br0: port 1(swp1) entered blocking state
[  357.036437] br0: port 1(swp1) entered disabled state
[  357.036854] swp1: entered allmulticast mode
[  357.037306] swp1: entered promiscuous mode
[  357.037740] br0: port 1(swp1) entered blocking state
[  357.038147] br0: port 1(swp1) entered forwarding state
[  357.064288] br0: port 2(vx0) entered blocking state
[  357.064711] br0: port 2(vx0) entered disabled state
[  357.065106] vx0: entered allmulticast mode
[  357.065534] vx0: entered promiscuous mode
[  357.065935] br0: port 2(vx0) entered blocking state
[  357.066321] br0: port 2(vx0) entered forwarding state
[  357.232017] br0: port 1(swp1) entered blocking state
[  357.232316] br0: port 1(swp1) entered disabled state
[  357.232596] swp1: entered allmulticast mode
[  357.232902] swp1: entered promiscuous mode
[  357.233174] br0: port 1(swp1) entered blocking state
[  357.233436] br0: port 1(swp1) entered forwarding state
[  357.260161] br0: port 2(vx0) entered blocking state
[  357.260467] br0: port 2(vx0) entered disabled state
[  357.260727] vx0: entered allmulticast mode
[  357.261045] vx0: entered promiscuous mode
[  357.261479] br0: port 2(vx0) entered blocking state
[  357.261749] br0: port 2(vx0) entered forwarding state
# 
# Backup nexthop ID
# -----------------
[  362.355194] tc (15491) used greatest stack depth: 11696 bytes left
# TEST: vx0 configured as backup port of swp1                         [ OK ]
# TEST: Forwarding out of swp1                                        [ OK ]
# TEST: No forwarding out of vx0                                      [ OK ]
[  362.936308] br0: port 1(swp1) entered disabled state
# TEST: swp1 carrier off                                              [ OK ]
# TEST: No forwarding out of swp1                                     [ OK ]
# TEST: Forwarding out of vx0                                         [ OK ]
# TEST: No forwarding using backup nexthop ID                         [ OK ]
# TEST: Forwarding using VXLAN FDB entry                              [ OK ]
[  363.580399] br0: port 1(swp1) entered blocking state
[  363.580700] br0: port 1(swp1) entered forwarding state
# TEST: swp1 carrier on                                               [ OK ]
# TEST: nexthop ID 10 configured as backup nexthop ID of swp1         [ OK ]
# TEST: Forwarding out of swp1                                        [ OK ]
# TEST: No forwarding out of vx0                                      [ OK ]
[  363.983753] br0: port 1(swp1) entered disabled state
# TEST: swp1 carrier off                                              [ OK ]
# TEST: No forwarding out of swp1                                     [ OK ]
# TEST: Forwarding out of vx0                                         [ OK ]
# TEST: Forwarding using backup nexthop ID                            [ OK ]
# TEST: No forwarding using VXLAN FDB entry                           [ OK ]
[  364.634940] br0: port 1(swp1) entered blocking state
[  364.635225] br0: port 1(swp1) entered forwarding state
# TEST: swp1 carrier on                                               [ OK ]
# TEST: Forwarding out of swp1                                        [ OK ]
# TEST: No forwarding out of vx0                                      [ OK ]
# TEST: No forwarding using backup nexthop ID                         [ OK ]
# TEST: No forwarding using VXLAN FDB entry                           [ OK ]
# TEST: No backup nexthop ID configured for swp1                      [ OK ]
# TEST: Forwarding out of swp1                                        [ OK ]
# TEST: No forwarding out of vx0                                      [ OK ]
# TEST: No forwarding using backup nexthop ID                         [ OK ]
# TEST: No forwarding using VXLAN FDB entry                           [ OK ]
[  365.946720] br0: port 1(swp1) entered disabled state
# TEST: swp1 carrier off                                              [ OK ]
# TEST: No forwarding out of swp1                                     [ OK ]
# TEST: Forwarding out of vx0                                         [ OK ]
# TEST: No forwarding using backup nexthop ID                         [ OK ]
# TEST: Forwarding using VXLAN FDB entry                              [ OK ]
[  366.641140] vx0: left allmulticast mode
[  366.641494] vx0: left promiscuous mode
[  366.641816] br0: port 2(vx0) entered disabled state
[  366.664084] swp1: left allmulticast mode
[  366.664639] swp1: left promiscuous mode
[  366.665107] br0: port 1(swp1) entered disabled state
[  366.683201] ------------[ cut here ]------------
[  366.683682] sysfs group 'bridge' not found for kobject 'br0'
[  366.684327] WARNING: CPU: 3 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[  366.685143] Modules linked in: act_gact cls_flower vxlan ip6_udp_tunnel udp_tunnel xt_mark sch_ingress act_mirred cls_basic sch_fq_codel sha1_generic xfrm_user xt_policy nft_compat nf_tables libcrc32c
[  366.687140] CPU: 3 PID: 10 Comm: kworker/u8:0 Tainted: G        W          6.8.0-rc2-virtme #1
[  366.688130] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[  366.689382] Workqueue: netns cleanup_net
[  366.689932] RIP: 0010:sysfs_remove_group+0x75/0x90
[  366.690577] Code: 48 89 ef 5d 41 5c e9 7a ad ff ff 48 89 ef e8 12 9b ff ff eb d1 90 49 8b 14 24 48 8b 33 48 c7 c7 d0 cd d2 8c e8 ac 67 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
[  366.692906] RSP: 0000:ffffa6170005bd70 EFLAGS: 00010286
[  366.693542] RAX: 0000000000000000 RBX: ffffffff8c9472c0 RCX: 00000000ffffdfff
[  366.694473] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[  366.695090] RBP: 0000000000000000 R08: ffffffff8d178508 R09: 00000000ffffdfff
[  366.695716] R10: ffffffff8d098520 R11: ffffffff8d148520 R12: ffff951e42afe610
[  366.696445] R13: ffffa6170005be08 R14: ffff951e42afeb80 R15: ffff951e438f5c50
[  366.697014] FS:  0000000000000000(0000) GS:ffff951e7ed80000(0000) knlGS:0000000000000000
[  366.697949] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  366.698461] CR2: 000056406611a558 CR3: 0000000007860004 CR4: 0000000000770ef0
[  366.699396] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  366.700415] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  366.701461] PKRU: 55555554
[  366.701874] Call Trace:
[  366.702241]  
[  366.702549]  ? __warn+0x84/0x170
[  366.703013]  ? sysfs_remove_group+0x75/0x90
[  366.703596]  ? report_bug+0x199/0x1b0
[  366.704189]  ? handle_bug+0x3d/0x70
[  366.704673]  ? exc_invalid_op+0x18/0x70
[  366.705275]  ? asm_exc_invalid_op+0x1a/0x20
[  366.705779]  ? sysfs_remove_group+0x75/0x90
[  366.706303]  br_dev_delete+0x88/0xa0
[  366.706767]  br_net_exit_batch_rtnl+0x70/0xd0
[  366.707352]  cleanup_net+0x24e/0x400
[  366.707877]  ? process_one_work+0x16c/0x4b0
[  366.708347]  process_one_work+0x1d6/0x4b0
[  366.708924]  worker_thread+0x1c1/0x3d0
[  366.709398]  ? __pfx_worker_thread+0x10/0x10
[  366.709740]  kthread+0xda/0x110
[  366.710039]  ? __pfx_kthread+0x10/0x10
[  366.710379]  ret_from_fork+0x31/0x50
[  366.710875]  ? __pfx_kthread+0x10/0x10
[  366.711187]  ret_from_fork_asm+0x1b/0x30
[  366.711512]  
[  366.711694] irq event stamp: 464321
[  366.712128] hardirqs last  enabled at (464333): [] console_unlock+0x10d/0x130
[  366.713301] hardirqs last disabled at (464344): [] console_unlock+0xf2/0x130
[  366.714254] softirqs last  enabled at (463960): [] __do_softirq+0x2c2/0x37a
[  366.715350] softirqs last disabled at (463955): [] irq_exit_rcu+0x7f/0xa0
[  366.716590] ---[ end trace 0000000000000000 ]---
[  366.801968] vx0: left allmulticast mode
[  366.802438] vx0: left promiscuous mode
[  366.802905] br0: port 2(vx0) entered disabled state
[  366.809977] swp1: left allmulticast mode
[  366.810466] swp1: left promiscuous mode
[  366.810935] br0: port 1(swp1) entered disabled state
[  366.819036] ------------[ cut here ]------------
[  366.819507] sysfs group 'bridge' not found for kobject 'br0'
[  366.820236] WARNING: CPU: 2 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[  366.821254] Modules linked in: act_gact cls_flower vxlan ip6_udp_tunnel udp_tunnel xt_mark sch_ingress act_mirred cls_basic sch_fq_codel sha1_generic xfrm_user xt_policy nft_compat nf_tables libcrc32c
[  366.823513] CPU: 2 PID: 10 Comm: kworker/u8:0 Tainted: G        W          6.8.0-rc2-virtme #1
[  366.824456] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[  366.825619] Workqueue: netns cleanup_net
[  366.826060] RIP: 0010:sysfs_remove_group+0x75/0x90
[  366.826642] Code: 48 89 ef 5d 41 5c e9 7a ad ff ff 48 89 ef e8 12 9b ff ff eb d1 90 49 8b 14 24 48 8b 33 48 c7 c7 d0 cd d2 8c e8 ac 67 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
[  366.828550] RSP: 0018:ffffa6170005bd70 EFLAGS: 00010286
[  366.829107] RAX: 0000000000000000 RBX: ffffffff8c9472c0 RCX: 00000000ffffdfff
[  366.829761] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[  366.830224] RBP: 0000000000000000 R08: ffffffff8d178508 R09: 00000000ffffdfff
[  366.830742] R10: ffffffff8d098520 R11: ffffffff8d148520 R12: ffff951e42af8610
[  366.831292] R13: ffffa6170005be08 R14: ffff951e42af8b80 R15: ffff951e438f4550
[  366.832074] FS:  0000000000000000(0000) GS:ffff951e7ed00000(0000) knlGS:0000000000000000
[  366.832497] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  366.832797] CR2: 00007ffc5f5c4d58 CR3: 00000000023b2005 CR4: 0000000000770ef0
[  366.833446] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  366.834124] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  366.834723] PKRU: 55555554
[  366.834962] Call Trace:
[  366.835211]  
[  366.835412]  ? __warn+0x84/0x170
[  366.835849]  ? sysfs_remove_group+0x75/0x90
[  366.836355]  ? report_bug+0x199/0x1b0
[  366.836751]  ? handle_bug+0x3d/0x70
[  366.837175]  ? exc_invalid_op+0x18/0x70
[  366.837769]  ? asm_exc_invalid_op+0x1a/0x20
[  366.838275]  ? sysfs_remove_group+0x75/0x90
[  366.838730]  br_dev_delete+0x88/0xa0
[  366.839179]  br_net_exit_batch_rtnl+0x70/0xd0
[  366.839657]  cleanup_net+0x24e/0x400
[  366.840129]  ? process_one_work+0x16c/0x4b0
[  366.840591]  process_one_work+0x1d6/0x4b0
[  366.841108]  worker_thread+0x1c1/0x3d0
[  366.841596]  ? __pfx_worker_thread+0x10/0x10
[  366.842084]  kthread+0xda/0x110
[  366.842483]  ? __pfx_kthread+0x10/0x10
[  366.842907]  ret_from_fork+0x31/0x50
[  366.843276]  ? __pfx_kthread+0x10/0x10
[  366.843732]  ret_from_fork_asm+0x1b/0x30
[  366.844296]  
[  366.844623] irq event stamp: 490085
[  366.845050] hardirqs last  enabled at (490097): [] console_unlock+0x10d/0x130
[  366.846018] hardirqs last disabled at (490108): [] console_unlock+0xf2/0x130
[  366.846842] softirqs last  enabled at (489646): [] __do_softirq+0x2c2/0x37a
[  366.847676] softirqs last disabled at (489641): [] irq_exit_rcu+0x7f/0xa0
[  366.848524] ---[ end trace 0000000000000000 ]---
[  367.159110] veth0: renamed from veth1
[  367.323165] br0: port 1(swp1) entered blocking state
[  367.323591] br0: port 1(swp1) entered disabled state
[  367.324015] swp1: entered allmulticast mode
[  367.324468] swp1: entered promiscuous mode
[  367.324892] br0: port 1(swp1) entered blocking state
[  367.325277] br0: port 1(swp1) entered forwarding state
[  367.356556] br0: port 2(vx0) entered blocking state
[  367.356868] br0: port 2(vx0) entered disabled state
[  367.357201] vx0: entered allmulticast mode
[  367.357484] vx0: entered promiscuous mode
[  367.357723] br0: port 2(vx0) entered blocking state
[  367.358004] br0: port 2(vx0) entered forwarding state
[  367.567861] br0: port 1(swp1) entered blocking state
[  367.568230] br0: port 1(swp1) entered disabled state
[  367.568614] swp1: entered allmulticast mode
[  367.569146] swp1: entered promiscuous mode
[  367.569441] br0: port 1(swp1) entered blocking state
[  367.569705] br0: port 1(swp1) entered forwarding state
[  367.604211] br0: port 2(vx0) entered blocking state
[  367.604564] br0: port 2(vx0) entered disabled state
[  367.604847] vx0: entered allmulticast mode
[  367.605149] vx0: entered promiscuous mode
[  367.605437] br0: port 2(vx0) entered blocking state
[  367.605705] br0: port 2(vx0) entered forwarding state
# 
# Backup nexthop ID - invalid IDs
# -------------------------------
# TEST: vx0 configured as backup port of swp1                         [ OK ]
# TEST: Valid nexthop as backup nexthop                               [ OK ]
[  372.939496] br0: port 1(swp1) entered disabled state
# TEST: swp1 carrier off                                              [ OK ]
# TEST: No forwarding out of swp1                                     [ OK ]
# TEST: Forwarding out of vx0                                         [ OK ]
# TEST: Forwarding using backup nexthop ID                            [ OK ]
# TEST: No Tx drop increase                                           [ OK ]
# TEST: Non-existent nexthop as backup nexthop                        [ OK ]
# TEST: No forwarding out of swp1                                     [ OK ]
# TEST: Forwarding out of vx0                                         [ OK ]
# TEST: No forwarding using backup nexthop ID                         [ OK ]
# TEST: Tx drop increased                                             [ OK ]
# TEST: Blackhole nexthop as backup nexthop                           [ OK ]
# TEST: No forwarding out of swp1                                     [ OK ]
# TEST: Forwarding out of vx0                                         [ OK ]
# TEST: No forwarding using backup nexthop ID                         [ OK ]
# TEST: Tx drop increased                                             [ OK ]
# TEST: Non-group FDB nexthop as backup nexthop                       [ OK ]
# TEST: No forwarding out of swp1                                     [ OK ]
# TEST: Forwarding out of vx0                                         [ OK ]
# TEST: No forwarding using backup nexthop ID                         [ OK ]
# TEST: Tx drop increased                                             [ OK ]
# TEST: IPv6 address family nexthop as backup nexthop                 [ OK ]
# TEST: No forwarding out of swp1                                     [ OK ]
# TEST: Forwarding out of vx0                                         [ OK ]
# TEST: No forwarding using backup nexthop ID                         [ OK ]
# TEST: Tx drop increased                                             [ OK ]
[  375.845995] vx0: left allmulticast mode
[  375.846325] vx0: left promiscuous mode
[  375.846621] br0: port 2(vx0) entered disabled state
[  375.851968] swp1: left allmulticast mode
[  375.852277] swp1: left promiscuous mode
[  375.852492] br0: port 1(swp1) entered disabled state
[  375.860151] ------------[ cut here ]------------
[  375.860788] sysfs group 'bridge' not found for kobject 'br0'
[  375.861564] WARNING: CPU: 2 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[  375.862273] Modules linked in: cls_matchall act_gact cls_flower vxlan ip6_udp_tunnel udp_tunnel xt_mark sch_ingress act_mirred cls_basic sch_fq_codel sha1_generic xfrm_user xt_policy nft_compat nf_tables libcrc32c
[  375.864367] CPU: 2 PID: 10 Comm: kworker/u8:0 Tainted: G        W          6.8.0-rc2-virtme #1
[  375.865449] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[  375.866131] Workqueue: netns cleanup_net
[  375.866371] RIP: 0010:sysfs_remove_group+0x75/0x90
[  375.866642] Code: 48 89 ef 5d 41 5c e9 7a ad ff ff 48 89 ef e8 12 9b ff ff eb d1 90 49 8b 14 24 48 8b 33 48 c7 c7 d0 cd d2 8c e8 ac 67 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
[  375.868082] RSP: 0018:ffffa6170005bd70 EFLAGS: 00010286
[  375.868492] RAX: 0000000000000000 RBX: ffffffff8c9472c0 RCX: 00000000ffffdfff
[  375.869220] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[  375.870041] RBP: 0000000000000000 R08: ffffffff8d178508 R09: 00000000ffffdfff
[  375.870950] R10: ffffffff8d098520 R11: ffffffff8d148520 R12: ffff951e421c2610
[  375.871682] R13: ffffa6170005be08 R14: ffff951e421c2b80 R15: ffff951e438f0050
[  375.872386] FS:  0000000000000000(0000) GS:ffff951e7ed00000(0000) knlGS:0000000000000000
[  375.873397] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  375.873981] CR2: 00007fc6ee352270 CR3: 0000000007860005 CR4: 0000000000770ef0
[  375.874704] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  375.875426] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  375.876138] PKRU: 55555554
[  375.876440] Call Trace:
[  375.876712]  
[  375.876958]  ? __warn+0x84/0x170
[  375.877301]  ? sysfs_remove_group+0x75/0x90
[  375.877729]  ? report_bug+0x199/0x1b0
[  375.878110]  ? handle_bug+0x3d/0x70
[  375.878443]  ? exc_invalid_op+0x18/0x70
[  375.878827]  ? asm_exc_invalid_op+0x1a/0x20
[  375.879267]  ? sysfs_remove_group+0x75/0x90
[  375.879678]  br_dev_delete+0x88/0xa0
[  375.880069]  br_net_exit_batch_rtnl+0x70/0xd0
[  375.880706]  cleanup_net+0x24e/0x400
[  375.881124]  ? process_one_work+0x16c/0x4b0
[  375.881703]  process_one_work+0x1d6/0x4b0
[  375.882269]  worker_thread+0x1c1/0x3d0
[  375.882668]  ? __pfx_worker_thread+0x10/0x10
[  375.883252]  kthread+0xda/0x110
[  375.883581]  ? __pfx_kthread+0x10/0x10
[  375.883891]  ret_from_fork+0x31/0x50
[  375.884225]  ? __pfx_kthread+0x10/0x10
[  375.884581]  ret_from_fork_asm+0x1b/0x30
[  375.884973]  
[  375.885194] irq event stamp: 511971
[  375.885458] hardirqs last  enabled at (511981): [] console_unlock+0x10d/0x130
[  375.885997] hardirqs last disabled at (511992): [] console_unlock+0xf2/0x130
[  375.886483] softirqs last  enabled at (511636): [] __do_softirq+0x2c2/0x37a
[  375.886937] softirqs last disabled at (511631): [] irq_exit_rcu+0x7f/0xa0
[  375.887365] ---[ end trace 0000000000000000 ]---
[  375.975975] vx0: left allmulticast mode
[  375.976446] vx0: left promiscuous mode
[  375.976899] br0: port 2(vx0) entered disabled state
[  375.983974] swp1: left allmulticast mode
[  375.984438] swp1: left promiscuous mode
[  375.984815] br0: port 1(swp1) entered disabled state
[  375.992042] ------------[ cut here ]------------
[  375.992343] sysfs group 'bridge' not found for kobject 'br0'
[  375.992703] WARNING: CPU: 1 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[  375.993201] Modules linked in: cls_matchall act_gact cls_flower vxlan ip6_udp_tunnel udp_tunnel xt_mark sch_ingress act_mirred cls_basic sch_fq_codel sha1_generic xfrm_user xt_policy nft_compat nf_tables libcrc32c
[  375.994305] CPU: 1 PID: 10 Comm: kworker/u8:0 Tainted: G        W          6.8.0-rc2-virtme #1
[  375.994828] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[  375.995487] Workqueue: netns cleanup_net
[  375.995731] RIP: 0010:sysfs_remove_group+0x75/0x90
[  375.996038] Code: 48 89 ef 5d 41 5c e9 7a ad ff ff 48 89 ef e8 12 9b ff ff eb d1 90 49 8b 14 24 48 8b 33 48 c7 c7 d0 cd d2 8c e8 ac 67 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
[  375.997115] RSP: 0018:ffffa6170005bd70 EFLAGS: 00010286
[  375.997438] RAX: 0000000000000000 RBX: ffffffff8c9472c0 RCX: 00000000ffffdfff
[  375.997859] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[  375.998260] RBP: 0000000000000000 R08: ffffffff8d178508 R09: 00000000ffffdfff
[  375.998686] R10: ffffffff8d098520 R11: ffffffff8d148520 R12: ffff951e421c0610
[  375.999110] R13: ffffa6170005be08 R14: ffff951e421c0b80 R15: ffff951e41c44550
[  375.999511] FS:  0000000000000000(0000) GS:ffff951e7ec80000(0000) knlGS:0000000000000000
[  375.999962] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  376.000279] CR2: 000055f202365a70 CR3: 0000000002572003 CR4: 0000000000770ef0
[  376.000652] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  376.001046] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  376.001413] PKRU: 55555554
[  376.001560] Call Trace:
[  376.001705]  
[  376.001832]  ? __warn+0x84/0x170
[  376.002011]  ? sysfs_remove_group+0x75/0x90
[  376.002233]  ? report_bug+0x199/0x1b0
[  376.002431]  ? handle_bug+0x3d/0x70
[  376.002619]  ? exc_invalid_op+0x18/0x70
[  376.002909]  ? asm_exc_invalid_op+0x1a/0x20
[  376.003259]  ? sysfs_remove_group+0x75/0x90
[  376.003596]  br_dev_delete+0x88/0xa0
[  376.003903]  br_net_exit_batch_rtnl+0x70/0xd0
[  376.004258]  cleanup_net+0x24e/0x400
[  376.004555]  ? process_one_work+0x16c/0x4b0
[  376.004898]  process_one_work+0x1d6/0x4b0
[  376.005228]  worker_thread+0x1c1/0x3d0
[  376.005499]  ? __pfx_worker_thread+0x10/0x10
[  376.005737]  kthread+0xda/0x110
[  376.005917]  ? __pfx_kthread+0x10/0x10
[  376.006118]  ret_from_fork+0x31/0x50
[  376.006312]  ? __pfx_kthread+0x10/0x10
[  376.006510]  ret_from_fork_asm+0x1b/0x30
[  376.006738]  
[  376.006868] irq event stamp: 537773
[  376.007054] hardirqs last  enabled at (537783): [] console_unlock+0x10d/0x130
[  376.007501] hardirqs last disabled at (537792): [] console_unlock+0xf2/0x130
[  376.008159] softirqs last  enabled at (537610): [] __do_softirq+0x2c2/0x37a
[  376.008830] softirqs last disabled at (537605): [] irq_exit_rcu+0x7f/0xa0
[  376.009483] ---[ end trace 0000000000000000 ]---
[  376.398149] veth0: renamed from veth1
[  376.592086] br0: port 1(swp1) entered blocking state
[  376.592521] br0: port 1(swp1) entered disabled state
[  376.592952] swp1: entered allmulticast mode
[  376.593410] swp1: entered promiscuous mode
[  376.593843] br0: port 1(swp1) entered blocking state
[  376.594239] br0: port 1(swp1) entered forwarding state
[  376.633052] br0: port 2(vx0) entered blocking state
[  376.633475] br0: port 2(vx0) entered disabled state
[  376.633960] vx0: entered allmulticast mode
[  376.634438] vx0: entered promiscuous mode
[  376.634787] br0: port 2(vx0) entered blocking state
[  376.635190] br0: port 2(vx0) entered forwarding state
[  376.846711] br0: port 1(swp1) entered blocking state
[  376.847158] br0: port 1(swp1) entered disabled state
[  376.847569] swp1: entered allmulticast mode
[  376.848028] swp1: entered promiscuous mode
[  376.848422] br0: port 1(swp1) entered blocking state
[  376.848803] br0: port 1(swp1) entered forwarding state
[  376.882960] br0: port 2(vx0) entered blocking state
[  376.883383] br0: port 2(vx0) entered disabled state
[  376.883776] vx0: entered allmulticast mode
[  376.884232] vx0: entered promiscuous mode
[  376.884596] br0: port 2(vx0) entered blocking state
[  376.884989] br0: port 2(vx0) entered forwarding state
# 
# Backup nexthop ID - ping
# ------------------------
[  382.231128] br0: port 1(swp1) entered disabled state
# TEST: Ping with backup nexthop ID                                   [ OK ]
[  383.232936] br0: port 1(swp1) entered disabled state
# TEST: Ping after disabling backup nexthop ID                        [ OK ]
[  388.291054] vx0: left allmulticast mode
[  388.291721] vx0: left promiscuous mode
[  388.292327] br0: port 2(vx0) entered disabled state
[  388.299012] swp1: left allmulticast mode
[  388.299468] swp1: left promiscuous mode
[  388.300081] br0: port 1(swp1) entered disabled state
[  388.308138] ------------[ cut here ]------------
[  388.308925] sysfs group 'bridge' not found for kobject 'br0'
[  388.309413] WARNING: CPU: 1 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[  388.310268] Modules linked in: cls_matchall act_gact cls_flower vxlan ip6_udp_tunnel udp_tunnel xt_mark sch_ingress act_mirred cls_basic sch_fq_codel sha1_generic xfrm_user xt_policy nft_compat nf_tables libcrc32c
[  388.312135] CPU: 1 PID: 10 Comm: kworker/u8:0 Tainted: G        W          6.8.0-rc2-virtme #1
[  388.313257] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[  388.314885] Workqueue: netns cleanup_net
[  388.315556] RIP: 0010:sysfs_remove_group+0x75/0x90
[  388.316382] Code: 48 89 ef 5d 41 5c e9 7a ad ff ff 48 89 ef e8 12 9b ff ff eb d1 90 49 8b 14 24 48 8b 33 48 c7 c7 d0 cd d2 8c e8 ac 67 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
[  388.319227] RSP: 0018:ffffa6170005bd70 EFLAGS: 00010286
[  388.320144] RAX: 0000000000000000 RBX: ffffffff8c9472c0 RCX: 00000000ffffdfff
[  388.321308] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[  388.322515] RBP: 0000000000000000 R08: ffffffff8d178508 R09: 00000000ffffdfff
[  388.323474] R10: ffffffff8d098520 R11: ffffffff8d148520 R12: ffff951e4254c610
[  388.324547] R13: ffffa6170005be08 R14: ffff951e4254cb80 R15: ffff951e43882e50
[  388.325617] FS:  0000000000000000(0000) GS:ffff951e7ec80000(0000) knlGS:0000000000000000
[  388.326872] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  388.327722] CR2: 00007f73171390e0 CR3: 0000000003916002 CR4: 0000000000770ef0
[  388.328386] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  388.329047] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  388.329597] PKRU: 55555554
[  388.329829] Call Trace:
[  388.330035]  
[  388.330216]  ? __warn+0x84/0x170
[  388.330483]  ? sysfs_remove_group+0x75/0x90
[  388.330815]  ? report_bug+0x199/0x1b0
[  388.331297]  ? handle_bug+0x3d/0x70
[  388.331583]  ? exc_invalid_op+0x18/0x70
[  388.331902]  ? asm_exc_invalid_op+0x1a/0x20
[  388.332249]  ? sysfs_remove_group+0x75/0x90
[  388.332584]  br_dev_delete+0x88/0xa0
[  388.332885]  br_net_exit_batch_rtnl+0x70/0xd0
[  388.333235]  cleanup_net+0x24e/0x400
[  388.333531]  ? process_one_work+0x16c/0x4b0
[  388.333870]  process_one_work+0x1d6/0x4b0
[  388.334190]  worker_thread+0x1c1/0x3d0
[  388.334491]  ? __pfx_worker_thread+0x10/0x10
[  388.334839]  kthread+0xda/0x110
[  388.335092]  ? __pfx_kthread+0x10/0x10
[  388.335390]  ret_from_fork+0x31/0x50
[  388.335674]  ? __pfx_kthread+0x10/0x10
[  388.335985]  ret_from_fork_asm+0x1b/0x30
[  388.336310]  
[  388.336491] irq event stamp: 559573
[  388.336765] hardirqs last  enabled at (559583): [] console_unlock+0x10d/0x130
[  388.337440] hardirqs last disabled at (559594): [] console_unlock+0xf2/0x130
[  388.338119] softirqs last  enabled at (559134): [] __do_softirq+0x2c2/0x37a
[  388.338771] softirqs last disabled at (559129): [] irq_exit_rcu+0x7f/0xa0
[  388.339424] ---[ end trace 0000000000000000 ]---
[  388.424720] vx0: left allmulticast mode
[  388.425093] vx0: left promiscuous mode
[  388.425414] br0: port 2(vx0) entered disabled state
[  388.436029] swp1: left allmulticast mode
[  388.436391] swp1: left promiscuous mode
[  388.436711] br0: port 1(swp1) entered disabled state
[  388.446156] ------------[ cut here ]------------
[  388.446563] sysfs group 'bridge' not found for kobject 'br0'
[  388.447057] WARNING: CPU: 2 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[  388.447606] Modules linked in: cls_matchall act_gact cls_flower vxlan ip6_udp_tunnel udp_tunnel xt_mark sch_ingress act_mirred cls_basic sch_fq_codel sha1_generic xfrm_user xt_policy nft_compat nf_tables libcrc32c
[  388.448694] CPU: 2 PID: 10 Comm: kworker/u8:0 Tainted: G        W          6.8.0-rc2-virtme #1
[  388.449199] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[  388.449931] Workqueue: netns cleanup_net
[  388.450200] RIP: 0010:sysfs_remove_group+0x75/0x90
[  388.450512] Code: 48 89 ef 5d 41 5c e9 7a ad ff ff 48 89 ef e8 12 9b ff ff eb d1 90 49 8b 14 24 48 8b 33 48 c7 c7 d0 cd d2 8c e8 ac 67 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
[  388.451661] RSP: 0018:ffffa6170005bd70 EFLAGS: 00010286
[  388.452059] RAX: 0000000000000000 RBX: ffffffff8c9472c0 RCX: 00000000ffffdfff
[  388.452461] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[  388.452911] RBP: 0000000000000000 R08: ffffffff8d178508 R09: 00000000ffffdfff
[  388.453439] R10: ffffffff8d098520 R11: ffffffff8d148520 R12: ffff951e4254e610
[  388.453973] R13: ffffa6170005be08 R14: ffff951e4254eb80 R15: ffff951e41c44550
[  388.454522] FS:  0000000000000000(0000) GS:ffff951e7ed00000(0000) knlGS:0000000000000000
[  388.455037] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  388.455378] CR2: 00005640657e1dec CR3: 00000000023b2003 CR4: 0000000000770ef0
[  388.455788] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  388.456213] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  388.456599] PKRU: 55555554
[  388.456765] Call Trace:
[  388.456920]  
[  388.457042]  ? __warn+0x84/0x170
[  388.457248]  ? sysfs_remove_group+0x75/0x90
[  388.457489]  ? report_bug+0x199/0x1b0
[  388.457706]  ? handle_bug+0x3d/0x70
[  388.457918]  ? exc_invalid_op+0x18/0x70
[  388.458149]  ? asm_exc_invalid_op+0x1a/0x20
[  388.458394]  ? sysfs_remove_group+0x75/0x90
[  388.458638]  br_dev_delete+0x88/0xa0
[  388.458850]  br_net_exit_batch_rtnl+0x70/0xd0
[  388.459128]  cleanup_net+0x24e/0x400
[  388.459369]  ? process_one_work+0x16c/0x4b0
[  388.459659]  process_one_work+0x1d6/0x4b0
[  388.459962]  worker_thread+0x1c1/0x3d0
[  388.460248]  ? __pfx_worker_thread+0x10/0x10
[  388.460510]  kthread+0xda/0x110
[  388.460682]  ? __pfx_kthread+0x10/0x10
[  388.460978]  ret_from_fork+0x31/0x50
[  388.461196]  ? __pfx_kthread+0x10/0x10
[  388.461404]  ret_from_fork_asm+0x1b/0x30
[  388.461649]  
[  388.461781] irq event stamp: 585287
[  388.462001] hardirqs last  enabled at (585299): [] console_unlock+0x10d/0x130
[  388.462514] hardirqs last disabled at (585308): [] console_unlock+0xf2/0x130
[  388.463086] softirqs last  enabled at (584914): [] __do_softirq+0x2c2/0x37a
[  388.463527] softirqs last disabled at (584909): [] irq_exit_rcu+0x7f/0xa0
[  388.463998] ---[ end trace 0000000000000000 ]---
[  388.814140] ip (16005) used greatest stack depth: 11688 bytes left
[  388.862093] veth0: renamed from veth1
[  389.036601] br0: port 1(swp1) entered blocking state
[  389.037051] br0: port 1(swp1) entered disabled state
[  389.037456] swp1: entered allmulticast mode
[  389.037921] swp1: entered promiscuous mode
[  389.038317] br0: port 1(swp1) entered blocking state
[  389.038706] br0: port 1(swp1) entered forwarding state
[  389.074564] br0: port 2(vx0) entered blocking state
[  389.075003] br0: port 2(vx0) entered disabled state
[  389.075395] vx0: entered allmulticast mode
[  389.075838] vx0: entered promiscuous mode
[  389.076201] br0: port 2(vx0) entered blocking state
[  389.076586] br0: port 2(vx0) entered forwarding state
[  389.298785] br0: port 1(swp1) entered blocking state
[  389.299113] br0: port 1(swp1) entered disabled state
[  389.299427] swp1: entered allmulticast mode
[  389.299731] swp1: entered promiscuous mode
[  389.300085] br0: port 1(swp1) entered blocking state
[  389.300349] br0: port 1(swp1) entered forwarding state
[  389.330243] br0: port 2(vx0) entered blocking state
[  389.330540] br0: port 2(vx0) entered disabled state
[  389.330801] vx0: entered allmulticast mode
[  389.331143] vx0: entered promiscuous mode
[  389.331385] br0: port 2(vx0) entered blocking state
[  389.331642] br0: port 2(vx0) entered forwarding state
# 
# Backup nexthop ID - torture test
# --------------------------------
[  394.510777] br0: port 1(swp1) entered disabled state
# TEST: Torture test                                                  [ OK ]
[  424.552987] vx0: left allmulticast mode
[  424.553230] vx0: left promiscuous mode
[  424.553443] br0: port 2(vx0) entered disabled state
[  424.566016] swp1: left allmulticast mode
[  424.566277] swp1: left promiscuous mode
[  424.566580] br0: port 1(swp1) entered disabled state
[  424.586204] ------------[ cut here ]------------
[  424.586536] sysfs group 'bridge' not found for kobject 'br0'
[  424.586929] WARNING: CPU: 0 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[  424.587408] Modules linked in: cls_matchall act_gact cls_flower vxlan ip6_udp_tunnel udp_tunnel xt_mark sch_ingress act_mirred cls_basic sch_fq_codel sha1_generic xfrm_user xt_policy nft_compat nf_tables libcrc32c
[  424.588518] CPU: 0 PID: 10 Comm: kworker/u8:0 Tainted: G        W          6.8.0-rc2-virtme #1
[  424.589117] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[  424.589742] Workqueue: netns cleanup_net
[  424.590080] RIP: 0010:sysfs_remove_group+0x75/0x90
[  424.590458] Code: 48 89 ef 5d 41 5c e9 7a ad ff ff 48 89 ef e8 12 9b ff ff eb d1 90 49 8b 14 24 48 8b 33 48 c7 c7 d0 cd d2 8c e8 ac 67 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
[  424.591501] RSP: 0018:ffffa6170005bd70 EFLAGS: 00010286
[  424.591935] RAX: 0000000000000000 RBX: ffffffff8c9472c0 RCX: 00000000ffffdfff
[  424.592362] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[  424.592833] RBP: 0000000000000000 R08: ffffffff8d178508 R09: 00000000ffffdfff
[  424.593297] R10: ffffffff8d098520 R11: ffffffff8d148520 R12: ffff951e42a70610
[  424.593690] R13: ffffa6170005be08 R14: ffff951e42a70b80 R15: ffff951e42a7c550
[  424.594157] FS:  0000000000000000(0000) GS:ffff951e7ec00000(0000) knlGS:0000000000000000
[  424.594623] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  424.595036] CR2: 00007fcf8a7db270 CR3: 0000000007860002 CR4: 0000000000770ef0
[  424.595441] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  424.595870] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  424.596391] PKRU: 55555554
[  424.596633] Call Trace:
[  424.596843]  
[  424.597050]  ? __warn+0x84/0x170
[  424.597315]  ? sysfs_remove_group+0x75/0x90
[  424.597623]  ? report_bug+0x199/0x1b0
[  424.597947]  ? handle_bug+0x3d/0x70
[  424.598264]  ? exc_invalid_op+0x18/0x70
[  424.598511]  ? asm_exc_invalid_op+0x1a/0x20
[  424.598769]  ? sysfs_remove_group+0x75/0x90
[  424.599072]  br_dev_delete+0x88/0xa0
[  424.599312]  br_net_exit_batch_rtnl+0x70/0xd0
[  424.599589]  cleanup_net+0x24e/0x400
[  424.599866]  ? process_one_work+0x16c/0x4b0
[  424.600162]  process_one_work+0x1d6/0x4b0
[  424.600414]  worker_thread+0x1c1/0x3d0
[  424.600693]  ? __pfx_worker_thread+0x10/0x10
[  424.601118]  kthread+0xda/0x110
[  424.601339]  ? __pfx_kthread+0x10/0x10
[  424.601583]  ret_from_fork+0x31/0x50
[  424.601891]  ? __pfx_kthread+0x10/0x10
[  424.602194]  ret_from_fork_asm+0x1b/0x30
[  424.602486]  
[  424.602655] irq event stamp: 607201
[  424.602913] hardirqs last  enabled at (607215): [] console_unlock+0x10d/0x130
[  424.603575] hardirqs last disabled at (607226): [] console_unlock+0xf2/0x130
[  424.604318] softirqs last  enabled at (606732): [] __do_softirq+0x2c2/0x37a
[  424.605007] softirqs last disabled at (606725): [] irq_exit_rcu+0x7f/0xa0
[  424.605688] ---[ end trace 0000000000000000 ]---
# 
# Tests passed:  82
# Tests failed:   1
[  424.718002] vx0: left allmulticast mode
[  424.718461] vx0: left promiscuous mode
[  424.718840] br0: port 2(vx0) entered disabled state
[  424.734254] swp1: left allmulticast mode
[  424.734528] swp1: left promiscuous mode
[  424.734750] br0: port 1(swp1) entered disabled state
not ok 1 selftests: net: test_bridge_backup_port.sh # exit=1
make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net'
make: Leaving directory '/home/virtme/testing-1/tools/testing/selftests'
xx__-> [  424.744098] ------------[ cut here ]------------
[  424.744440] sysfs group 'bridge' not found for kobject 'br0'
[  424.744778] WARNING: CPU: 1 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[  424.745257] Modules linked in: cls_matchall act_gact cls_flower vxlan ip6_udp_tunnel udp_tunnel xt_mark sch_ingress act_mirred cls_basic sch_fq_codel sha1_generic xfrm_user xt_policy nft_compat nf_tables libcrc32c
[  424.746364] CPU: 1 PID: 10 Comm: kworker/u8:0 Tainted: G        W          6.8.0-rc2-virtme #1
[  424.746826] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[  424.747510] Workqueue: netns cleanup_net
[  424.747723] RIP: 0010:sysfs_remove_group+0x75/0x90
[  424.748019] Code: 48 89 ef 5d 41 5c e9 7a ad ff ff 48 89 ef e8 12 9b ff ff eb d1 90 49 8b 14 24 48 8b 33 48 c7 c7 d0 cd d2 8c e8 ac 67 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
[  424.749077] RSP: 0018:ffffa6170005bd70 EFLAGS: 00010286
[  424.749351] RAX: 0000000000000000 RBX: ffffffff8c9472c0 RCX: 00000000ffffdfff
[  424.749829] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[  424.750200] RBP: 0000000000000000 R08: ffffffff8d178508 R09: 00000000ffffdfff
[  424.750565] R10: ffffffff8d098520 R11: ffffffff8d148520 R12: ffff951e41906610
[  424.751035] R13: ffffa6170005be08 R14: ffff951e41906b80 R15: ffff951e41c44550
[  424.751433] FS:  0000000000000000(0000) GS:ffff951e7ec80000(0000) knlGS:0000000000000000
[  424.751877] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  424.752277] CR2: 00007fa41b6cb0e0 CR3: 0000000007860005 CR4: 0000000000770ef0
[  424.752689] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  424.753076] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  424.753453] PKRU: 55555554
[  424.753671] Call Trace:
[  424.753839]  
[  424.753960]  ? __warn+0x84/0x170
[  424.754140]  ? sysfs_remove_group+0x75/0x90
[  424.754367]  ? report_bug+0x199/0x1b0
[  424.754573]  ? handle_bug+0x3d/0x70
[  424.754774]  ? exc_invalid_op+0x18/0x70
[  424.755079]  ? asm_exc_invalid_op+0x1a/0x20
[  424.755307]  ? sysfs_remove_group+0x75/0x90
[  424.755532]  br_dev_delete+0x88/0xa0
[  424.755729]  br_net_exit_batch_rtnl+0x70/0xd0
[  424.755992]  cleanup_net+0x24e/0x400
[  424.756244]  ? process_one_work+0x16c/0x4b0
[  424.756543]  process_one_work+0x1d6/0x4b0
[  424.756766]  worker_thread+0x1c1/0x3d0
[  424.756985]  ? __pfx_worker_thread+0x10/0x10
[  424.757218]  kthread+0xda/0x110
[  424.757389]  ? __pfx_kthread+0x10/0x10
[  424.757808]  ret_from_fork+0x31/0x50
[  424.758016]  ? __pfx_kthread+0x10/0x10
xx__-> [  424.758219]  ret_from_fork_asm+0x1b/0x30
[  424.758641]  
[  424.758796] irq event stamp: 632839
xx__-> [  424.759058] hardirqs last  enabled at (632851): [] console_unlock+0x10d/0x130
[  424.759638] hardirqs last disabled at (632866): [] console_unlock+0xf2/0x130
[  424.760128] softirqs last  enabled at (632438): [] __do_softirq+0x2c2/0x37a
[  424.760716] softirqs last disabled at (632427): [] irq_exit_rcu+0x7f/0xa0
[  424.761277] ---[ end trace 0000000000000000 ]---
xx__-> 
xx__-> echo $?
0
xx__->