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
[ 323.870972] veth0: renamed from veth1
[ 324.030513] br0: port 1(swp1) entered blocking state
[ 324.030902] br0: port 1(swp1) entered disabled state
[ 324.031193] swp1: entered allmulticast mode
[ 324.031490] swp1: entered promiscuous mode
[ 324.031812] br0: port 1(swp1) entered blocking state
[ 324.032101] br0: port 1(swp1) entered forwarding state
[ 324.085050] br0: port 2(vx0) entered blocking state
[ 324.085347] br0: port 2(vx0) entered disabled state
[ 324.085630] vx0: entered allmulticast mode
[ 324.085938] vx0: entered promiscuous mode
[ 324.086321] br0: port 2(vx0) entered blocking state
[ 324.086573] br0: port 2(vx0) entered forwarding state
[ 324.276995] br0: port 1(swp1) entered blocking state
[ 324.277287] br0: port 1(swp1) entered disabled state
[ 324.277556] swp1: entered allmulticast mode
[ 324.277856] swp1: entered promiscuous mode
[ 324.278125] br0: port 1(swp1) entered blocking state
[ 324.278395] br0: port 1(swp1) entered forwarding state
[ 324.309510] br0: port 2(vx0) entered blocking state
[ 324.309944] br0: port 2(vx0) entered disabled state
[ 324.310330] vx0: entered allmulticast mode
[ 324.310741] vx0: entered promiscuous mode
[ 324.311081] br0: port 2(vx0) entered blocking state
[ 324.311464] br0: port 2(vx0) entered forwarding state
#
# Backup port
# -----------
[ 329.433906] GACT probability NOT on
# TEST: Forwarding out of swp1 [ OK ]
# TEST: No forwarding out of vx0 [ OK ]
[ 329.846149] 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 ]
[ 330.208248] br0: port 1(swp1) entered blocking state
[ 330.208540] 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 ]
[ 330.852807] br0: port 1(swp1) entered disabled state
# TEST: Forwarding out of vx0 [ OK ]
[ 330.957913] br0: port 1(swp1) entered blocking state
[ 330.958200] 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 ]
[ 331.861729] br0: port 1(swp1) entered disabled state
# TEST: No forwarding out of swp1 [FAIL]
# TEST: No forwarding out of vx0 [ OK ]
[ 332.053912] vx0: left allmulticast mode
[ 332.054352] vx0: left promiscuous mode
[ 332.054831] br0: port 2(vx0) entered disabled state
[ 332.067780] swp1: left allmulticast mode
[ 332.068137] swp1: left promiscuous mode
[ 332.068495] br0: port 1(swp1) entered disabled state
[ 332.079035] ------------[ cut here ]------------
[ 332.079553] refcount_t: underflow; use-after-free.
[ 332.080229] WARNING: CPU: 3 PID: 10 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130
[ 332.081294] 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
[ 332.083751] CPU: 3 PID: 10 Comm: kworker/u8:0 Not tainted 6.8.0-rc2-virtme #1
[ 332.084777] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 332.086342] Workqueue: netns cleanup_net
[ 332.086941] RIP: 0010:refcount_warn_saturate+0xd0/0x130
[ 332.087432] 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 b8 37 73 92 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
[ 332.088873] RSP: 0018:ffffb01f8005bd78 EFLAGS: 00010286
[ 332.089275] RAX: 0000000000000000 RBX: ffff95c0c4306000 RCX: 00000000ffffdfff
[ 332.089723] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 332.090088] RBP: ffff95c0c4306610 R08: ffffffff92b78508 R09: 00000000ffffdfff
[ 332.090479] R10: ffffffff92a98520 R11: ffffffff92b48520 R12: ffff95c0c4306000
[ 332.090845] R13: ffffb01f8005be08 R14: ffff95c0c4306b80 R15: ffff95c0c2bf4550
[ 332.091211] FS: 0000000000000000(0000) GS:ffff95c0fed80000(0000) knlGS:0000000000000000
[ 332.091639] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 332.091942] CR2: 00007f56e7315d40 CR3: 0000000004cec005 CR4: 0000000000770ef0
[ 332.092309] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 332.092675] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 332.093032] PKRU: 55555554
[ 332.093178] Call Trace:
[ 332.093317]
[ 332.093434] ? __warn+0x84/0x170
[ 332.093605] ? refcount_warn_saturate+0xd0/0x130
[ 332.093850] ? report_bug+0x199/0x1b0
[ 332.094043] ? handle_bug+0x3d/0x70
[ 332.094239] ? exc_invalid_op+0x18/0x70
[ 332.094439] ? asm_exc_invalid_op+0x1a/0x20
[ 332.094679] ? refcount_warn_saturate+0xd0/0x130
[ 332.094919] ? refcount_warn_saturate+0xcf/0x130
[ 332.095157] br_sysfs_delbr+0x1d/0x40
[ 332.095362] br_dev_delete+0x88/0xa0
[ 332.095554] br_net_exit_batch_rtnl+0x70/0xd0
[ 332.095791] cleanup_net+0x24e/0x400
[ 332.095984] ? process_one_work+0x16c/0x4b0
[ 332.096201] process_one_work+0x1d6/0x4b0
[ 332.096412] worker_thread+0x1c1/0x3d0
[ 332.096611] ? __pfx_worker_thread+0x10/0x10
[ 332.096841] kthread+0xda/0x110
[ 332.097011] ? __pfx_kthread+0x10/0x10
[ 332.097207] ret_from_fork+0x31/0x50
[ 332.097399] ? __pfx_kthread+0x10/0x10
[ 332.097594] ret_from_fork_asm+0x1b/0x30
[ 332.097811]
[ 332.097931] irq event stamp: 416065
[ 332.098114] hardirqs last enabled at (416075): [] console_unlock+0x10d/0x130
[ 332.098567] hardirqs last disabled at (416084): [] console_unlock+0xf2/0x130
[ 332.099003] softirqs last enabled at (415608): [] __do_softirq+0x2c2/0x37a
[ 332.099446] softirqs last disabled at (415603): [] irq_exit_rcu+0x7f/0xa0
[ 332.099971] ---[ end trace 0000000000000000 ]---
[ 332.100378] ------------[ cut here ]------------
[ 332.100865] sysfs group 'bridge' not found for kobject 'br0'
[ 332.101589] WARNING: CPU: 2 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 332.102143] 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
[ 332.104086] CPU: 2 PID: 10 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 332.105375] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 332.106527] Workqueue: netns cleanup_net
[ 332.106975] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 332.107499] 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 a0 cd 72 92 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
[ 332.109343] RSP: 0018:ffffb01f8005bd70 EFLAGS: 00010286
[ 332.109849] RAX: 0000000000000000 RBX: ffffffff923472c0 RCX: 00000000ffffdfff
[ 332.110589] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 332.111285] RBP: 0000000000000000 R08: ffffffff92b78508 R09: 00000000ffffdfff
[ 332.111974] R10: ffffffff92a98520 R11: ffffffff92b48520 R12: ffff95c0c4306610
[ 332.112675] R13: ffffb01f8005be08 R14: ffff95c0c4306b80 R15: ffff95c0c2bf4550
[ 332.113412] FS: 0000000000000000(0000) GS:ffff95c0fed00000(0000) knlGS:0000000000000000
[ 332.114233] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 332.114861] CR2: 00007fad13784000 CR3: 000000003aa60006 CR4: 0000000000770ef0
[ 332.115348] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 332.115739] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 332.116170] PKRU: 55555554
[ 332.116353] Call Trace:
[ 332.116516]
[ 332.116683] ? __warn+0x84/0x170
[ 332.116941] ? sysfs_remove_group+0x75/0x90
[ 332.117299] ? report_bug+0x199/0x1b0
[ 332.117726] ? handle_bug+0x3d/0x70
[ 332.118044] ? exc_invalid_op+0x18/0x70
[ 332.118348] ? asm_exc_invalid_op+0x1a/0x20
[ 332.118844] ? sysfs_remove_group+0x75/0x90
[ 332.119432] br_dev_delete+0x88/0xa0
[ 332.119949] br_net_exit_batch_rtnl+0x70/0xd0
[ 332.120539] cleanup_net+0x24e/0x400
[ 332.121037] ? process_one_work+0x16c/0x4b0
[ 332.121623] process_one_work+0x1d6/0x4b0
[ 332.122181] worker_thread+0x1c1/0x3d0
[ 332.122683] ? __pfx_worker_thread+0x10/0x10
[ 332.123124] kthread+0xda/0x110
[ 332.123426] ? __pfx_kthread+0x10/0x10
[ 332.123797] ret_from_fork+0x31/0x50
[ 332.124239] ? __pfx_kthread+0x10/0x10
[ 332.124585] ret_from_fork_asm+0x1b/0x30
[ 332.125061]
[ 332.125358] irq event stamp: 416751
[ 332.125663] hardirqs last enabled at (416763): [] console_unlock+0x10d/0x130
[ 332.126819] hardirqs last disabled at (416774): [] console_unlock+0xf2/0x130
[ 332.127869] softirqs last enabled at (416304): [] __do_softirq+0x2c2/0x37a
[ 332.128919] softirqs last disabled at (416299): [] irq_exit_rcu+0x7f/0xa0
[ 332.129874] ---[ end trace 0000000000000000 ]---
[ 332.240867] vx0: left allmulticast mode
[ 332.241182] vx0: left promiscuous mode
[ 332.241504] br0: port 2(vx0) entered disabled state
[ 332.252809] swp1: left allmulticast mode
[ 332.253047] swp1: left promiscuous mode
[ 332.253297] br0: port 1(swp1) entered disabled state
[ 332.266885] ------------[ cut here ]------------
[ 332.267208] sysfs group 'bridge' not found for kobject 'br0'
[ 332.267603] WARNING: CPU: 0 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 332.268192] 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
[ 332.269455] CPU: 0 PID: 10 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 332.270076] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 332.270867] Workqueue: netns cleanup_net
[ 332.271137] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 332.271482] 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 a0 cd 72 92 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
[ 332.272532] RSP: 0018:ffffb01f8005bd70 EFLAGS: 00010286
[ 332.272805] RAX: 0000000000000000 RBX: ffffffff923472c0 RCX: 00000000ffffdfff
[ 332.273227] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 332.273585] RBP: 0000000000000000 R08: ffffffff92b78508 R09: 00000000ffffdfff
[ 332.273990] R10: ffffffff92a98520 R11: ffffffff92b48520 R12: ffff95c0c4300610
[ 332.274474] R13: ffffb01f8005be08 R14: ffff95c0c4300b80 R15: ffff95c0c2758050
[ 332.274853] FS: 0000000000000000(0000) GS:ffff95c0fec00000(0000) knlGS:0000000000000000
[ 332.275354] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 332.275765] CR2: 00007f149cb21000 CR3: 000000003aa60003 CR4: 0000000000770ef0
[ 332.276271] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 332.276772] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 332.277275] PKRU: 55555554
[ 332.277470] Call Trace:
[ 332.277662]
[ 332.277827] ? __warn+0x84/0x170
[ 332.278064] ? sysfs_remove_group+0x75/0x90
[ 332.278352] ? report_bug+0x199/0x1b0
[ 332.278607] ? handle_bug+0x3d/0x70
[ 332.278863] ? exc_invalid_op+0x18/0x70
[ 332.279138] ? asm_exc_invalid_op+0x1a/0x20
[ 332.279427] ? sysfs_remove_group+0x75/0x90
[ 332.279738] br_dev_delete+0x88/0xa0
[ 332.279988] br_net_exit_batch_rtnl+0x70/0xd0
[ 332.280305] cleanup_net+0x24e/0x400
[ 332.280541] ? process_one_work+0x16c/0x4b0
[ 332.280848] process_one_work+0x1d6/0x4b0
[ 332.281117] worker_thread+0x1c1/0x3d0
[ 332.281380] ? __pfx_worker_thread+0x10/0x10
[ 332.281610] kthread+0xda/0x110
[ 332.281785] ? __pfx_kthread+0x10/0x10
[ 332.281994] ret_from_fork+0x31/0x50
[ 332.282182] ? __pfx_kthread+0x10/0x10
[ 332.282394] ret_from_fork_asm+0x1b/0x30
[ 332.282607]
[ 332.282732] irq event stamp: 442883
[ 332.282915] hardirqs last enabled at (442893): [] console_unlock+0x10d/0x130
[ 332.283348] hardirqs last disabled at (442902): [] console_unlock+0xf2/0x130
[ 332.283780] softirqs last enabled at (442582): [] __do_softirq+0x2c2/0x37a
[ 332.284208] softirqs last disabled at (442577): [] irq_exit_rcu+0x7f/0xa0
[ 332.284633] ---[ end trace 0000000000000000 ]---
[ 332.609059] veth0: renamed from veth1
[ 332.752559] br0: port 1(swp1) entered blocking state
[ 332.752869] br0: port 1(swp1) entered disabled state
[ 332.753143] swp1: entered allmulticast mode
[ 332.753436] swp1: entered promiscuous mode
[ 332.753713] br0: port 1(swp1) entered blocking state
[ 332.753971] br0: port 1(swp1) entered forwarding state
[ 332.781777] br0: port 2(vx0) entered blocking state
[ 332.782173] br0: port 2(vx0) entered disabled state
[ 332.782542] vx0: entered allmulticast mode
[ 332.783009] vx0: entered promiscuous mode
[ 332.783239] br0: port 2(vx0) entered blocking state
[ 332.783506] br0: port 2(vx0) entered forwarding state
[ 332.955018] br0: port 1(swp1) entered blocking state
[ 332.955306] br0: port 1(swp1) entered disabled state
[ 332.955568] swp1: entered allmulticast mode
[ 332.955866] swp1: entered promiscuous mode
[ 332.956134] br0: port 1(swp1) entered blocking state
[ 332.956390] br0: port 1(swp1) entered forwarding state
[ 332.983259] br0: port 2(vx0) entered blocking state
[ 332.983552] br0: port 2(vx0) entered disabled state
[ 332.983837] vx0: entered allmulticast mode
[ 332.984137] vx0: entered promiscuous mode
[ 332.984382] br0: port 2(vx0) entered blocking state
[ 332.984672] br0: port 2(vx0) entered forwarding state
#
# Backup nexthop ID
# -----------------
# TEST: vx0 configured as backup port of swp1 [ OK ]
# TEST: Forwarding out of swp1 [ OK ]
# TEST: No forwarding out of vx0 [ OK ]
[ 338.634899] 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 ]
[ 339.299678] br0: port 1(swp1) entered blocking state
[ 339.299976] 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 ]
[ 339.679959] 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 ]
[ 340.321388] br0: port 1(swp1) entered blocking state
[ 340.321709] 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 ]
[ 341.595393] 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 ]
[ 342.243882] vx0: left allmulticast mode
[ 342.244114] vx0: left promiscuous mode
[ 342.244319] br0: port 2(vx0) entered disabled state
[ 342.251859] swp1: left allmulticast mode
[ 342.252108] swp1: left promiscuous mode
[ 342.252356] br0: port 1(swp1) entered disabled state
[ 342.265864] ------------[ cut here ]------------
[ 342.266172] sysfs group 'bridge' not found for kobject 'br0'
[ 342.266515] WARNING: CPU: 0 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 342.266973] 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
[ 342.267909] CPU: 0 PID: 10 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 342.268416] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 342.269056] Workqueue: netns cleanup_net
[ 342.269293] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 342.269574] 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 a0 cd 72 92 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
[ 342.270571] RSP: 0018:ffffb01f8005bd70 EFLAGS: 00010286
[ 342.270874] RAX: 0000000000000000 RBX: ffffffff923472c0 RCX: 00000000ffffdfff
[ 342.271279] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 342.271701] RBP: 0000000000000000 R08: ffffffff92b78508 R09: 00000000ffffdfff
[ 342.272168] R10: ffffffff92a98520 R11: ffffffff92b48520 R12: ffff95c0c4fc4610
[ 342.272540] R13: ffffb01f8005be08 R14: ffff95c0c4fc4b80 R15: ffff95c0c4069750
[ 342.272939] FS: 0000000000000000(0000) GS:ffff95c0fec00000(0000) knlGS:0000000000000000
[ 342.273400] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 342.273726] CR2: 00007f27868c7000 CR3: 000000003aa60001 CR4: 0000000000770ef0
[ 342.274113] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 342.274541] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 342.274989] PKRU: 55555554
[ 342.275193] Call Trace:
[ 342.275343]
[ 342.275503] ? __warn+0x84/0x170
[ 342.275745] ? sysfs_remove_group+0x75/0x90
[ 342.276038] ? report_bug+0x199/0x1b0
[ 342.276254] ? handle_bug+0x3d/0x70
[ 342.276458] ? exc_invalid_op+0x18/0x70
[ 342.276700] ? asm_exc_invalid_op+0x1a/0x20
[ 342.276982] ? sysfs_remove_group+0x75/0x90
[ 342.277240] br_dev_delete+0x88/0xa0
[ 342.277500] br_net_exit_batch_rtnl+0x70/0xd0
[ 342.277792] cleanup_net+0x24e/0x400
[ 342.278044] ? process_one_work+0x16c/0x4b0
[ 342.278293] process_one_work+0x1d6/0x4b0
[ 342.278561] worker_thread+0x1c1/0x3d0
[ 342.278830] ? __pfx_worker_thread+0x10/0x10
[ 342.279138] kthread+0xda/0x110
[ 342.279349] ? __pfx_kthread+0x10/0x10
[ 342.279600] ret_from_fork+0x31/0x50
[ 342.279858] ? __pfx_kthread+0x10/0x10
[ 342.280104] ret_from_fork_asm+0x1b/0x30
[ 342.280350]
[ 342.280517] irq event stamp: 464763
[ 342.280768] hardirqs last enabled at (464777): [] console_unlock+0x10d/0x130
[ 342.281290] hardirqs last disabled at (464788): [] console_unlock+0xf2/0x130
[ 342.281784] softirqs last enabled at (464470): [] __do_softirq+0x2c2/0x37a
[ 342.282285] softirqs last disabled at (464463): [] irq_exit_rcu+0x7f/0xa0
[ 342.282788] ---[ end trace 0000000000000000 ]---
[ 342.391780] vx0: left allmulticast mode
[ 342.392189] vx0: left promiscuous mode
[ 342.392586] br0: port 2(vx0) entered disabled state
[ 342.407805] swp1: left allmulticast mode
[ 342.408262] swp1: left promiscuous mode
[ 342.408691] br0: port 1(swp1) entered disabled state
[ 342.421878] ------------[ cut here ]------------
[ 342.422166] sysfs group 'bridge' not found for kobject 'br0'
[ 342.422488] WARNING: CPU: 3 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 342.422951] 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
[ 342.423917] CPU: 3 PID: 10 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 342.424365] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 342.424978] Workqueue: netns cleanup_net
[ 342.425199] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 342.425450] 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 a0 cd 72 92 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
[ 342.426416] RSP: 0018:ffffb01f8005bd70 EFLAGS: 00010286
[ 342.426707] RAX: 0000000000000000 RBX: ffffffff923472c0 RCX: 00000000ffffdfff
[ 342.427083] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 342.427461] RBP: 0000000000000000 R08: ffffffff92b78508 R09: 00000000ffffdfff
[ 342.427856] R10: ffffffff92a98520 R11: ffffffff92b48520 R12: ffff95c0c4306610
[ 342.428238] R13: ffffb01f8005be08 R14: ffff95c0c4306b80 R15: ffff95c0c4225c50
[ 342.428625] FS: 0000000000000000(0000) GS:ffff95c0fed80000(0000) knlGS:0000000000000000
[ 342.429073] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 342.429390] CR2: 00007f25afd84d40 CR3: 0000000004cec004 CR4: 0000000000770ef0
[ 342.429787] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 342.430178] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 342.430557] PKRU: 55555554
[ 342.430727] Call Trace:
[ 342.430874]
[ 342.430999] ? __warn+0x84/0x170
[ 342.431180] ? sysfs_remove_group+0x75/0x90
[ 342.431417] ? report_bug+0x199/0x1b0
[ 342.431626] ? handle_bug+0x3d/0x70
[ 342.431845] ? exc_invalid_op+0x18/0x70
[ 342.432057] ? asm_exc_invalid_op+0x1a/0x20
[ 342.432290] ? sysfs_remove_group+0x75/0x90
[ 342.432530] br_dev_delete+0x88/0xa0
[ 342.432742] br_net_exit_batch_rtnl+0x70/0xd0
[ 342.432990] cleanup_net+0x24e/0x400
[ 342.433199] ? process_one_work+0x16c/0x4b0
[ 342.433425] process_one_work+0x1d6/0x4b0
[ 342.433663] worker_thread+0x1c1/0x3d0
[ 342.433870] ? __pfx_worker_thread+0x10/0x10
[ 342.434091] kthread+0xda/0x110
[ 342.434261] ? __pfx_kthread+0x10/0x10
[ 342.434470] ret_from_fork+0x31/0x50
[ 342.434676] ? __pfx_kthread+0x10/0x10
[ 342.434872] ret_from_fork_asm+0x1b/0x30
[ 342.435083]
[ 342.435201] irq event stamp: 490501
[ 342.435383] hardirqs last enabled at (490511): [] console_unlock+0x10d/0x130
[ 342.435832] hardirqs last disabled at (490522): [] console_unlock+0xf2/0x130
[ 342.436264] softirqs last enabled at (490236): [] __do_softirq+0x2c2/0x37a
[ 342.436702] softirqs last disabled at (490231): [] irq_exit_rcu+0x7f/0xa0
[ 342.437119] ---[ end trace 0000000000000000 ]---
[ 342.712886] veth0: renamed from veth1
[ 342.843565] br0: port 1(swp1) entered blocking state
[ 342.844004] br0: port 1(swp1) entered disabled state
[ 342.844399] swp1: entered allmulticast mode
[ 342.844869] swp1: entered promiscuous mode
[ 342.845272] br0: port 1(swp1) entered blocking state
[ 342.845663] br0: port 1(swp1) entered forwarding state
[ 342.872399] br0: port 2(vx0) entered blocking state
[ 342.872717] br0: port 2(vx0) entered disabled state
[ 342.872990] vx0: entered allmulticast mode
[ 342.873299] vx0: entered promiscuous mode
[ 342.873535] br0: port 2(vx0) entered blocking state
[ 342.873811] br0: port 2(vx0) entered forwarding state
[ 343.040560] br0: port 1(swp1) entered blocking state
[ 343.040875] br0: port 1(swp1) entered disabled state
[ 343.041159] swp1: entered allmulticast mode
[ 343.041457] swp1: entered promiscuous mode
[ 343.041745] br0: port 1(swp1) entered blocking state
[ 343.042010] br0: port 1(swp1) entered forwarding state
[ 343.069009] br0: port 2(vx0) entered blocking state
[ 343.069303] br0: port 2(vx0) entered disabled state
[ 343.069559] vx0: entered allmulticast mode
[ 343.069974] vx0: entered promiscuous mode
[ 343.070224] br0: port 2(vx0) entered blocking state
[ 343.070476] br0: port 2(vx0) entered forwarding state
#
# Backup nexthop ID - invalid IDs
# -------------------------------
[ 348.150742] tc (15722) used greatest stack depth: 11696 bytes left
# TEST: vx0 configured as backup port of swp1 [ OK ]
# TEST: Valid nexthop as backup nexthop [ OK ]
[ 348.400487] 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 ]
[ 351.209790] vx0: left allmulticast mode
[ 351.210048] vx0: left promiscuous mode
[ 351.210373] br0: port 2(vx0) entered disabled state
[ 351.221780] swp1: left allmulticast mode
[ 351.222008] swp1: left promiscuous mode
[ 351.222220] br0: port 1(swp1) entered disabled state
[ 351.229851] ------------[ cut here ]------------
[ 351.230105] sysfs group 'bridge' not found for kobject 'br0'
[ 351.230410] WARNING: CPU: 2 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 351.230830] 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
[ 351.231792] CPU: 2 PID: 10 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 351.232233] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 351.232854] Workqueue: netns cleanup_net
[ 351.233154] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 351.233558] 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 a0 cd 72 92 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
[ 351.235112] RSP: 0018:ffffb01f8005bd70 EFLAGS: 00010286
[ 351.235589] RAX: 0000000000000000 RBX: ffffffff923472c0 RCX: 00000000ffffdfff
[ 351.236192] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 351.236837] RBP: 0000000000000000 R08: ffffffff92b78508 R09: 00000000ffffdfff
[ 351.237333] R10: ffffffff92a98520 R11: ffffffff92b48520 R12: ffff95c0c4fc2610
[ 351.237710] R13: ffffb01f8005be08 R14: ffff95c0c4fc2b80 R15: ffff95c0c2bf4550
[ 351.238130] FS: 0000000000000000(0000) GS:ffff95c0fed00000(0000) knlGS:0000000000000000
[ 351.238548] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 351.238853] CR2: 00007f2b46d132a8 CR3: 00000000026bc003 CR4: 0000000000770ef0
[ 351.239213] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 351.239578] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 351.239945] PKRU: 55555554
[ 351.240088] Call Trace:
[ 351.240220]
[ 351.240341] ? __warn+0x84/0x170
[ 351.240514] ? sysfs_remove_group+0x75/0x90
[ 351.240740] ? report_bug+0x199/0x1b0
[ 351.240942] ? handle_bug+0x3d/0x70
[ 351.241144] ? exc_invalid_op+0x18/0x70
[ 351.241348] ? asm_exc_invalid_op+0x1a/0x20
[ 351.241569] ? sysfs_remove_group+0x75/0x90
[ 351.241801] br_dev_delete+0x88/0xa0
[ 351.241993] br_net_exit_batch_rtnl+0x70/0xd0
[ 351.242221] cleanup_net+0x24e/0x400
[ 351.242411] ? process_one_work+0x16c/0x4b0
[ 351.242633] process_one_work+0x1d6/0x4b0
[ 351.242857] worker_thread+0x1c1/0x3d0
[ 351.243056] ? __pfx_worker_thread+0x10/0x10
[ 351.243278] kthread+0xda/0x110
[ 351.243445] ? __pfx_kthread+0x10/0x10
[ 351.243653] ret_from_fork+0x31/0x50
[ 351.243844] ? __pfx_kthread+0x10/0x10
[ 351.244038] ret_from_fork_asm+0x1b/0x30
[ 351.244248]
[ 351.244374] irq event stamp: 512509
[ 351.244566] hardirqs last enabled at (512519): [] console_unlock+0x10d/0x130
[ 351.245019] hardirqs last disabled at (512546): [] console_unlock+0xf2/0x130
[ 351.245449] softirqs last enabled at (512542): [] __do_softirq+0x2c2/0x37a
[ 351.245889] softirqs last disabled at (512565): [] irq_exit_rcu+0x7f/0xa0
[ 351.246305] ---[ end trace 0000000000000000 ]---
[ 351.321859] vx0: left allmulticast mode
[ 351.322447] vx0: left promiscuous mode
[ 351.323001] br0: port 2(vx0) entered disabled state
[ 351.337777] swp1: left allmulticast mode
[ 351.338008] swp1: left promiscuous mode
[ 351.338219] br0: port 1(swp1) entered disabled state
[ 351.343931] ------------[ cut here ]------------
[ 351.344317] sysfs group 'bridge' not found for kobject 'br0'
[ 351.344813] WARNING: CPU: 2 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 351.345435] 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
[ 351.346895] CPU: 2 PID: 10 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 351.347552] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 351.348274] Workqueue: netns cleanup_net
[ 351.348481] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 351.348734] 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 a0 cd 72 92 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
[ 351.349748] RSP: 0018:ffffb01f8005bd70 EFLAGS: 00010286
[ 351.350022] RAX: 0000000000000000 RBX: ffffffff923472c0 RCX: 00000000ffffdfff
[ 351.350380] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 351.350877] RBP: 0000000000000000 R08: ffffffff92b78508 R09: 00000000ffffdfff
[ 351.351404] R10: ffffffff92a98520 R11: ffffffff92b48520 R12: ffff95c0c4300610
[ 351.351764] R13: ffffb01f8005be08 R14: ffff95c0c4300b80 R15: ffff95c0c2bf0050
[ 351.352123] FS: 0000000000000000(0000) GS:ffff95c0fed00000(0000) knlGS:0000000000000000
[ 351.352527] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 351.352825] CR2: 00007f2b46d132a8 CR3: 000000003aa60004 CR4: 0000000000770ef0
[ 351.353183] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 351.353538] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 351.353900] PKRU: 55555554
[ 351.354044] Call Trace:
[ 351.354177]
[ 351.354291] ? __warn+0x84/0x170
[ 351.354463] ? sysfs_remove_group+0x75/0x90
[ 351.354697] ? report_bug+0x199/0x1b0
[ 351.354891] ? handle_bug+0x3d/0x70
[ 351.355075] ? exc_invalid_op+0x18/0x70
[ 351.355272] ? asm_exc_invalid_op+0x1a/0x20
[ 351.355491] ? sysfs_remove_group+0x75/0x90
[ 351.355717] br_dev_delete+0x88/0xa0
[ 351.355908] br_net_exit_batch_rtnl+0x70/0xd0
[ 351.356136] cleanup_net+0x24e/0x400
[ 351.356326] ? process_one_work+0x16c/0x4b0
[ 351.356541] process_one_work+0x1d6/0x4b0
[ 351.356758] worker_thread+0x1c1/0x3d0
[ 351.356956] ? __pfx_worker_thread+0x10/0x10
[ 351.357176] kthread+0xda/0x110
[ 351.357343] ? __pfx_kthread+0x10/0x10
[ 351.357537] ret_from_fork+0x31/0x50
[ 351.357734] ? __pfx_kthread+0x10/0x10
[ 351.357927] ret_from_fork_asm+0x1b/0x30
[ 351.358140]
[ 351.358259] irq event stamp: 538351
[ 351.358439] hardirqs last enabled at (538361): [] console_unlock+0x10d/0x130
[ 351.358880] hardirqs last disabled at (538372): [] console_unlock+0xf2/0x130
[ 351.359309] softirqs last enabled at (537944): [] __do_softirq+0x2c2/0x37a
[ 351.359739] softirqs last disabled at (537939): [] irq_exit_rcu+0x7f/0xa0
[ 351.360156] ---[ end trace 0000000000000000 ]---
[ 351.701951] veth0: renamed from veth1
[ 351.846033] br0: port 1(swp1) entered blocking state
[ 351.846324] br0: port 1(swp1) entered disabled state
[ 351.846586] swp1: entered allmulticast mode
[ 351.846888] swp1: entered promiscuous mode
[ 351.847162] br0: port 1(swp1) entered blocking state
[ 351.847420] br0: port 1(swp1) entered forwarding state
[ 351.875916] br0: port 2(vx0) entered blocking state
[ 351.876333] br0: port 2(vx0) entered disabled state
[ 351.876719] vx0: entered allmulticast mode
[ 351.877006] vx0: entered promiscuous mode
[ 351.877244] br0: port 2(vx0) entered blocking state
[ 351.877496] br0: port 2(vx0) entered forwarding state
[ 352.052509] br0: port 1(swp1) entered blocking state
[ 352.052931] br0: port 1(swp1) entered disabled state
[ 352.053315] swp1: entered allmulticast mode
[ 352.053694] swp1: entered promiscuous mode
[ 352.053961] br0: port 1(swp1) entered blocking state
[ 352.054216] br0: port 1(swp1) entered forwarding state
[ 352.083152] br0: port 2(vx0) entered blocking state
[ 352.083438] br0: port 2(vx0) entered disabled state
[ 352.083754] vx0: entered allmulticast mode
[ 352.084028] vx0: entered promiscuous mode
[ 352.084254] br0: port 2(vx0) entered blocking state
[ 352.084521] br0: port 2(vx0) entered forwarding state
#
# Backup nexthop ID - ping
# ------------------------
[ 357.399367] br0: port 1(swp1) entered disabled state
# TEST: Ping with backup nexthop ID [ OK ]
[ 358.412720] br0: port 1(swp1) entered disabled state
# TEST: Ping after disabling backup nexthop ID [ OK ]
[ 363.461823] vx0: left allmulticast mode
[ 363.462328] vx0: left promiscuous mode
[ 363.462770] br0: port 2(vx0) entered disabled state
[ 363.473827] swp1: left allmulticast mode
[ 363.474084] swp1: left promiscuous mode
[ 363.474294] br0: port 1(swp1) entered disabled state
[ 363.487986] ------------[ cut here ]------------
[ 363.488264] sysfs group 'bridge' not found for kobject 'br0'
[ 363.488576] WARNING: CPU: 0 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 363.489000] 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
[ 363.490030] CPU: 0 PID: 10 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 363.490501] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 363.491120] Workqueue: netns cleanup_net
[ 363.491387] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 363.491765] 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 a0 cd 72 92 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
[ 363.492737] RSP: 0018:ffffb01f8005bd70 EFLAGS: 00010286
[ 363.493057] RAX: 0000000000000000 RBX: ffffffff923472c0 RCX: 00000000ffffdfff
[ 363.493472] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 363.493875] RBP: 0000000000000000 R08: ffffffff92b78508 R09: 00000000ffffdfff
[ 363.494263] R10: ffffffff92a98520 R11: ffffffff92b48520 R12: ffff95c0c4fc4610
[ 363.494683] R13: ffffb01f8005be08 R14: ffff95c0c4fc4b80 R15: ffff95c0c2759750
[ 363.495098] FS: 0000000000000000(0000) GS:ffff95c0fec00000(0000) knlGS:0000000000000000
[ 363.495543] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 363.495868] CR2: 00007fe3ace6a270 CR3: 000000000268a004 CR4: 0000000000770ef0
[ 363.496291] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 363.496717] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 363.497121] PKRU: 55555554
[ 363.497284] Call Trace:
[ 363.497447]
[ 363.497615] ? __warn+0x84/0x170
[ 363.497829] ? sysfs_remove_group+0x75/0x90
[ 363.498064] ? report_bug+0x199/0x1b0
[ 363.498298] ? handle_bug+0x3d/0x70
[ 363.498541] ? exc_invalid_op+0x18/0x70
[ 363.498787] ? asm_exc_invalid_op+0x1a/0x20
[ 363.499030] ? sysfs_remove_group+0x75/0x90
[ 363.499301] br_dev_delete+0x88/0xa0
[ 363.499551] br_net_exit_batch_rtnl+0x70/0xd0
[ 363.499823] cleanup_net+0x24e/0x400
[ 363.500042] ? process_one_work+0x16c/0x4b0
[ 363.500284] process_one_work+0x1d6/0x4b0
[ 363.500546] worker_thread+0x1c1/0x3d0
[ 363.500786] ? __pfx_worker_thread+0x10/0x10
[ 363.501028] kthread+0xda/0x110
[ 363.501238] ? __pfx_kthread+0x10/0x10
[ 363.501497] ret_from_fork+0x31/0x50
[ 363.501744] ? __pfx_kthread+0x10/0x10
[ 363.501983] ret_from_fork_asm+0x1b/0x30
[ 363.502263]
[ 363.502418] irq event stamp: 560389
[ 363.502665] hardirqs last enabled at (560403): [] console_unlock+0x10d/0x130
[ 363.503143] hardirqs last disabled at (560414): [] console_unlock+0xf2/0x130
[ 363.503607] softirqs last enabled at (559996): [] __do_softirq+0x2c2/0x37a
[ 363.504080] softirqs last disabled at (559985): [] irq_exit_rcu+0x7f/0xa0
[ 363.504544] ---[ end trace 0000000000000000 ]---
[ 363.572821] vx0: left allmulticast mode
[ 363.573094] vx0: left promiscuous mode
[ 363.573339] br0: port 2(vx0) entered disabled state
[ 363.579796] swp1: left allmulticast mode
[ 363.580036] swp1: left promiscuous mode
[ 363.580267] br0: port 1(swp1) entered disabled state
[ 363.587866] ------------[ cut here ]------------
[ 363.588131] sysfs group 'bridge' not found for kobject 'br0'
[ 363.588469] WARNING: CPU: 0 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 363.588931] 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
[ 363.589927] CPU: 0 PID: 10 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 363.590358] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 363.590936] Workqueue: netns cleanup_net
[ 363.591144] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 363.591389] 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 a0 cd 72 92 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
[ 363.592311] RSP: 0018:ffffb01f8005bd70 EFLAGS: 00010286
[ 363.592578] RAX: 0000000000000000 RBX: ffffffff923472c0 RCX: 00000000ffffdfff
[ 363.592944] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 363.593306] RBP: 0000000000000000 R08: ffffffff92b78508 R09: 00000000ffffdfff
[ 363.593671] R10: ffffffff92a98520 R11: ffffffff92b48520 R12: ffff95c0c41ea610
[ 363.594029] R13: ffffb01f8005be08 R14: ffff95c0c41eab80 R15: ffff95c0c2bf0050
[ 363.594384] FS: 0000000000000000(0000) GS:ffff95c0fec00000(0000) knlGS:0000000000000000
[ 363.594805] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 363.595097] CR2: 00007fe3ace6a270 CR3: 000000003aa60006 CR4: 0000000000770ef0
[ 363.595454] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 363.595820] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 363.596178] PKRU: 55555554
[ 363.596321] Call Trace:
[ 363.596454]
[ 363.596571] ? __warn+0x84/0x170
[ 363.596755] ? sysfs_remove_group+0x75/0x90
[ 363.596975] ? report_bug+0x199/0x1b0
[ 363.597180] ? handle_bug+0x3d/0x70
[ 363.597366] ? exc_invalid_op+0x18/0x70
[ 363.597565] ? asm_exc_invalid_op+0x1a/0x20
[ 363.597795] ? sysfs_remove_group+0x75/0x90
[ 363.598012] br_dev_delete+0x88/0xa0
[ 363.598203] br_net_exit_batch_rtnl+0x70/0xd0
[ 363.598433] cleanup_net+0x24e/0x400
[ 363.598623] ? process_one_work+0x16c/0x4b0
[ 363.598847] process_one_work+0x1d6/0x4b0
[ 363.599059] worker_thread+0x1c1/0x3d0
[ 363.599257] ? __pfx_worker_thread+0x10/0x10
[ 363.599482] kthread+0xda/0x110
[ 363.599657] ? __pfx_kthread+0x10/0x10
[ 363.599853] ret_from_fork+0x31/0x50
[ 363.600044] ? __pfx_kthread+0x10/0x10
[ 363.600236] ret_from_fork_asm+0x1b/0x30
[ 363.600449]
[ 363.600566] irq event stamp: 586251
[ 363.600757] hardirqs last enabled at (586263): [] console_unlock+0x10d/0x130
[ 363.601195] hardirqs last disabled at (586272): [] console_unlock+0xf2/0x130
[ 363.601624] softirqs last enabled at (585998): [] __do_softirq+0x2c2/0x37a
[ 363.602059] softirqs last disabled at (585993): [] irq_exit_rcu+0x7f/0xa0
[ 363.602478] ---[ end trace 0000000000000000 ]---
[ 363.964055] veth0: renamed from veth1
[ 364.102131] br0: port 1(swp1) entered blocking state
[ 364.102497] br0: port 1(swp1) entered disabled state
[ 364.102929] swp1: entered allmulticast mode
[ 364.103362] swp1: entered promiscuous mode
[ 364.103878] br0: port 1(swp1) entered blocking state
[ 364.104255] br0: port 1(swp1) entered forwarding state
[ 364.130261] br0: port 2(vx0) entered blocking state
[ 364.130544] br0: port 2(vx0) entered disabled state
[ 364.130874] vx0: entered allmulticast mode
[ 364.131147] vx0: entered promiscuous mode
[ 364.131383] br0: port 2(vx0) entered blocking state
[ 364.131635] br0: port 2(vx0) entered forwarding state
[ 364.308469] br0: port 1(swp1) entered blocking state
[ 364.308831] br0: port 1(swp1) entered disabled state
[ 364.309143] swp1: entered allmulticast mode
[ 364.309447] swp1: entered promiscuous mode
[ 364.309759] br0: port 1(swp1) entered blocking state
[ 364.310016] br0: port 1(swp1) entered forwarding state
[ 364.337806] br0: port 2(vx0) entered blocking state
[ 364.338184] br0: port 2(vx0) entered disabled state
[ 364.338508] vx0: entered allmulticast mode
[ 364.338955] vx0: entered promiscuous mode
[ 364.339278] br0: port 2(vx0) entered blocking state
[ 364.339529] br0: port 2(vx0) entered forwarding state
#
# Backup nexthop ID - torture test
# --------------------------------
[ 369.479784] br0: port 1(swp1) entered disabled state
# TEST: Torture test [ OK ]
[ 399.525805] vx0: left allmulticast mode
[ 399.526186] vx0: left promiscuous mode
[ 399.526521] br0: port 2(vx0) entered disabled state
[ 399.541817] swp1: left allmulticast mode
[ 399.542219] swp1: left promiscuous mode
[ 399.542437] br0: port 1(swp1) entered disabled state
[ 399.557996] ------------[ cut here ]------------
[ 399.558283] sysfs group 'bridge' not found for kobject 'br0'
[ 399.559021] WARNING: CPU: 1 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 399.560114] 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
[ 399.562120] CPU: 1 PID: 10 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 399.563073] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 399.564566] Workqueue: netns cleanup_net
[ 399.565155] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 399.565890] 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 a0 cd 72 92 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
[ 399.568390] RSP: 0018:ffffb01f8005bd70 EFLAGS: 00010286
[ 399.569156] RAX: 0000000000000000 RBX: ffffffff923472c0 RCX: 00000000ffffdfff
[ 399.570000] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 399.570626] RBP: 0000000000000000 R08: ffffffff92b78508 R09: 00000000ffffdfff
[ 399.571187] R10: ffffffff92a98520 R11: ffffffff92b48520 R12: ffff95c0c4fc4610
[ 399.571750] R13: ffffb01f8005be08 R14: ffff95c0c4fc4b80 R15: ffff95c0c275ae50
[ 399.572458] FS: 0000000000000000(0000) GS:ffff95c0fec80000(0000) knlGS:0000000000000000
[ 399.573263] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 399.573992] CR2: 00007ffc6caaaa78 CR3: 000000003aa60006 CR4: 0000000000770ef0
[ 399.574983] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 399.575960] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 399.576976] PKRU: 55555554
[ 399.577435] Call Trace:
[ 399.577880]
[ 399.578237] ? __warn+0x84/0x170
[ 399.578789] ? sysfs_remove_group+0x75/0x90
[ 399.579469] ? report_bug+0x199/0x1b0
[ 399.580092] ? handle_bug+0x3d/0x70
[ 399.580704] ? exc_invalid_op+0x18/0x70
[ 399.581303] ? asm_exc_invalid_op+0x1a/0x20
[ 399.581896] ? sysfs_remove_group+0x75/0x90
[ 399.582543] br_dev_delete+0x88/0xa0
[ 399.583085] br_net_exit_batch_rtnl+0x70/0xd0
[ 399.583769] cleanup_net+0x24e/0x400
[ 399.584198] ? process_one_work+0x16c/0x4b0
[ 399.584758] process_one_work+0x1d6/0x4b0
[ 399.585310] worker_thread+0x1c1/0x3d0
[ 399.585800] ? __pfx_worker_thread+0x10/0x10
[ 399.586142] kthread+0xda/0x110
[ 399.586448] ? __pfx_kthread+0x10/0x10
[ 399.586798] ret_from_fork+0x31/0x50
[ 399.587163] ? __pfx_kthread+0x10/0x10
[ 399.587514] ret_from_fork_asm+0x1b/0x30
[ 399.587997]
[ 399.588182] irq event stamp: 608083
[ 399.588453] hardirqs last enabled at (608093): [] console_unlock+0x10d/0x130
#
# Tests passed: 82
# Tests failed: 1
[ 399.590723] hardirqs last disabled at (608160): [] console_unlock+0xf2/0x130
[ 399.592004] softirqs last enabled at (607620): [] __do_softirq+0x2c2/0x37a
[ 399.593215] softirqs last disabled at (607613): [] irq_exit_rcu+0x7f/0xa0
[ 399.594478] ---[ end trace 0000000000000000 ]---
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'
[ 399.684829] vx0: left allmulticast mode
[ 399.685051] vx0: left promiscuous mode
[ 399.685260] br0: port 2(vx0) entered disabled state
xx__-> [ 399.698845] swp1: left allmulticast mode
[ 399.699173] swp1: left promiscuous mode
[ 399.699483] br0: port 1(swp1) entered disabled state
[ 399.710895] ------------[ cut here ]------------
[ 399.711176] sysfs group 'bridge' not found for kobject 'br0'
[ 399.711498] WARNING: CPU: 2 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 399.711939] 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
[ 399.712934] CPU: 2 PID: 10 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 399.713369] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 399.713952] Workqueue: netns cleanup_net
[ 399.714163] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 399.714708] 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 a0 cd 72 92 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
[ 399.715633] RSP: 0018:ffffb01f8005bd70 EFLAGS: 00010286
[ 399.715905] RAX: 0000000000000000 RBX: ffffffff923472c0 RCX: 00000000ffffdfff
[ 399.716306] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 399.716684] RBP: 0000000000000000 R08: ffffffff92b78508 R09: 00000000ffffdfff
[ 399.717102] R10: ffffffff92a98520 R11: ffffffff92b48520 R12: ffff95c0c41ec610
[ 399.717545] R13: ffffb01f8005be08 R14: ffff95c0c41ecb80 R15: ffff95c0c2bf0050
[ 399.717921] FS: 0000000000000000(0000) GS:ffff95c0fed00000(0000) knlGS:0000000000000000
[ 399.718337] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 399.718660] CR2: 00007f91163a68e8 CR3: 000000003aa60002 CR4: 0000000000770ef0
[ 399.719039] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
xx__-> [ 399.719492] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 399.719926] PKRU: 55555554
[ 399.720071] Call Trace:
[ 399.720216]
[ 399.720341] ? __warn+0x84/0x170
[ 399.720602] ? sysfs_remove_group+0x75/0x90
[ 399.720856] ? report_bug+0x199/0x1b0
[ 399.721063] ? handle_bug+0x3d/0x70
[ 399.721262] ? exc_invalid_op+0x18/0x70
xx__-> [ 399.721549] ? asm_exc_invalid_op+0x1a/0x20
[ 399.721838] ? sysfs_remove_group+0x75/0x90
[ 399.722064] br_dev_delete+0x88/0xa0
[ 399.722260] br_net_exit_batch_rtnl+0x70/0xd0
[ 399.722493] cleanup_net+0x24e/0x400
[ 399.722696] ? process_one_work+0x16c/0x4b0
[ 399.722923] process_one_work+0x1d6/0x4b0
[ 399.723133] worker_thread+0x1c1/0x3d0
[ 399.723348] ? __pfx_worker_thread+0x10/0x10
[ 399.723573] kthread+0xda/0x110
[ 399.723751] ? __pfx_kthread+0x10/0x10
[ 399.723947] ret_from_fork+0x31/0x50
[ 399.724137] ? __pfx_kthread+0x10/0x10
[ 399.724345] ret_from_fork_asm+0x1b/0x30
[ 399.724571]
[ 399.724707] irq event stamp: 633929
[ 399.724911] hardirqs last enabled at (633939): [] console_unlock+0x10d/0x130
[ 399.725380] hardirqs last disabled at (633948): [] console_unlock+0xf2/0x130
[ 399.725825] softirqs last enabled at (633598): [] __do_softirq+0x2c2/0x37a
[ 399.726278] softirqs last disabled at (633593): [] irq_exit_rcu+0x7f/0xa0
[ 399.726732] ---[ end trace 0000000000000000 ]---
xx__->
xx__->
xx__->
xx__-> echo $?
0
xx__->