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
[ 92.332019] veth0: renamed from veth1
[ 92.493894] br0: port 1(swp1) entered blocking state
[ 92.494289] br0: port 1(swp1) entered disabled state
[ 92.494578] swp1: entered allmulticast mode
[ 92.494915] swp1: entered promiscuous mode
[ 92.495226] br0: port 1(swp1) entered blocking state
[ 92.495525] br0: port 1(swp1) entered forwarding state
[ 92.554655] br0: port 2(vx0) entered blocking state
[ 92.554983] br0: port 2(vx0) entered disabled state
[ 92.555257] vx0: entered allmulticast mode
[ 92.555572] vx0: entered promiscuous mode
[ 92.555826] br0: port 2(vx0) entered blocking state
[ 92.556103] br0: port 2(vx0) entered forwarding state
[ 92.749125] br0: port 1(swp1) entered blocking state
[ 92.749452] br0: port 1(swp1) entered disabled state
[ 92.749768] swp1: entered allmulticast mode
[ 92.750063] swp1: entered promiscuous mode
[ 92.750330] br0: port 1(swp1) entered blocking state
[ 92.750586] br0: port 1(swp1) entered forwarding state
[ 92.782616] br0: port 2(vx0) entered blocking state
[ 92.782926] br0: port 2(vx0) entered disabled state
[ 92.783186] vx0: entered allmulticast mode
[ 92.783468] vx0: entered promiscuous mode
[ 92.783911] br0: port 2(vx0) entered blocking state
[ 92.784173] br0: port 2(vx0) entered forwarding state
#
# Backup port
# -----------
[ 97.905548] GACT probability NOT on
[ 97.907705] tc (2678) used greatest stack depth: 11920 bytes left
# TEST: Forwarding out of swp1 [ OK ]
# TEST: No forwarding out of vx0 [ OK ]
[ 98.317262] 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 ]
[ 98.696465] br0: port 1(swp1) entered blocking state
[ 98.696768] 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 ]
[ 99.317783] br0: port 1(swp1) entered disabled state
# TEST: Forwarding out of vx0 [ OK ]
[ 99.458635] br0: port 1(swp1) entered blocking state
[ 99.458939] 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 ]
[ 100.325795] br0: port 1(swp1) entered disabled state
# TEST: No forwarding out of swp1 [FAIL]
# TEST: No forwarding out of vx0 [ OK ]
[ 100.545885] vx0: left allmulticast mode
[ 100.546156] vx0: left promiscuous mode
[ 100.546370] br0: port 2(vx0) entered disabled state
[ 100.559840] swp1: left allmulticast mode
[ 100.560254] swp1: left promiscuous mode
[ 100.560477] br0: port 1(swp1) entered disabled state
[ 100.579138] ------------[ cut here ]------------
[ 100.579445] refcount_t: underflow; use-after-free.
[ 100.579760] WARNING: CPU: 1 PID: 11 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130
[ 100.580468] Modules linked in: act_gact cls_flower vxlan ip6_udp_tunnel udp_tunnel xt_mark nft_compat nf_tables libcrc32c sch_ingress act_mirred cls_basic sch_fq_codel
[ 100.581868] CPU: 1 PID: 11 Comm: kworker/u8:0 Not tainted 6.8.0-rc2-virtme #1
[ 100.582494] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 100.583501] Workqueue: netns cleanup_net
[ 100.583741] RIP: 0010:refcount_warn_saturate+0xd0/0x130
[ 100.584031] 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 93 b3 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
[ 100.585270] RSP: 0018:ffffb9c8c0063d78 EFLAGS: 00010286
[ 100.585746] RAX: 0000000000000000 RBX: ffffa0d605740000 RCX: 00000000ffffdfff
[ 100.586177] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 100.586751] RBP: ffffa0d605740610 R08: ffffffffb3d78508 R09: 00000000ffffdfff
[ 100.587415] R10: ffffffffb3c98520 R11: ffffffffb3d48520 R12: ffffa0d605740000
[ 100.588065] R13: ffffb9c8c0063e08 R14: ffffa0d605740b80 R15: ffffa0d60347c550
[ 100.588698] FS: 0000000000000000(0000) GS:ffffa0d63ec80000(0000) knlGS:0000000000000000
[ 100.589403] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 100.589926] CR2: 00007f0d2bd7b270 CR3: 000000002cc60001 CR4: 0000000000770ef0
[ 100.590623] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 100.591336] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 100.591960] PKRU: 55555554
[ 100.592269] Call Trace:
[ 100.592511]
[ 100.592686] ? __warn+0x84/0x170
[ 100.593015] ? refcount_warn_saturate+0xd0/0x130
[ 100.593414] ? report_bug+0x199/0x1b0
[ 100.593772] ? handle_bug+0x3d/0x70
[ 100.594079] ? exc_invalid_op+0x18/0x70
[ 100.594391] ? asm_exc_invalid_op+0x1a/0x20
[ 100.594796] ? refcount_warn_saturate+0xd0/0x130
[ 100.595164] ? refcount_warn_saturate+0xcf/0x130
[ 100.595533] br_sysfs_delbr+0x1d/0x40
[ 100.595873] br_dev_delete+0x88/0xa0
[ 100.596123] br_net_exit_batch_rtnl+0x70/0xd0
[ 100.596354] cleanup_net+0x24e/0x400
[ 100.596569] ? process_one_work+0x16c/0x4b0
[ 100.596838] process_one_work+0x1d6/0x4b0
[ 100.597094] worker_thread+0x1c1/0x3d0
[ 100.597382] ? __pfx_worker_thread+0x10/0x10
[ 100.597661] kthread+0xda/0x110
[ 100.597837] ? __pfx_kthread+0x10/0x10
[ 100.598034] ret_from_fork+0x31/0x50
[ 100.598224] ? __pfx_kthread+0x10/0x10
[ 100.598495] ret_from_fork_asm+0x1b/0x30
[ 100.598823]
[ 100.599022] irq event stamp: 359941
[ 100.599219] hardirqs last enabled at (359951): [] console_unlock+0x10d/0x130
[ 100.599872] hardirqs last disabled at (359962): [] console_unlock+0xf2/0x130
[ 100.600699] softirqs last enabled at (359558): [] __do_softirq+0x2c2/0x37a
[ 100.601507] softirqs last disabled at (359553): [] irq_exit_rcu+0x7f/0xa0
[ 100.602375] ---[ end trace 0000000000000000 ]---
[ 100.602828] ------------[ cut here ]------------
[ 100.603110] sysfs group 'bridge' not found for kobject 'br0'
[ 100.603423] WARNING: CPU: 2 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 100.604077] Modules linked in: act_gact cls_flower vxlan ip6_udp_tunnel udp_tunnel xt_mark nft_compat nf_tables libcrc32c sch_ingress act_mirred cls_basic sch_fq_codel
[ 100.605527] CPU: 2 PID: 11 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 100.606327] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 100.607301] Workqueue: netns cleanup_net
[ 100.607629] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 100.608068] 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 92 b3 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
[ 100.609616] RSP: 0018:ffffb9c8c0063d70 EFLAGS: 00010286
[ 100.610049] RAX: 0000000000000000 RBX: ffffffffb35472c0 RCX: 00000000ffffdfff
[ 100.610476] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 100.610860] RBP: 0000000000000000 R08: ffffffffb3d78508 R09: 00000000ffffdfff
[ 100.611254] R10: ffffffffb3c98520 R11: ffffffffb3d48520 R12: ffffa0d605740610
[ 100.611768] R13: ffffb9c8c0063e08 R14: ffffa0d605740b80 R15: ffffa0d60347c550
[ 100.612133] FS: 0000000000000000(0000) GS:ffffa0d63ed00000(0000) knlGS:0000000000000000
[ 100.612541] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 100.612961] CR2: 00007f0c001d7270 CR3: 000000002cc60003 CR4: 0000000000770ef0
[ 100.613576] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 100.614098] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 100.614650] PKRU: 55555554
[ 100.614831] Call Trace:
[ 100.614963]
[ 100.615082] ? __warn+0x84/0x170
[ 100.615310] ? sysfs_remove_group+0x75/0x90
[ 100.615611] ? report_bug+0x199/0x1b0
[ 100.615927] ? handle_bug+0x3d/0x70
[ 100.616237] ? exc_invalid_op+0x18/0x70
[ 100.616572] ? asm_exc_invalid_op+0x1a/0x20
[ 100.616935] ? sysfs_remove_group+0x75/0x90
[ 100.617308] br_dev_delete+0x88/0xa0
[ 100.617631] br_net_exit_batch_rtnl+0x70/0xd0
[ 100.618010] cleanup_net+0x24e/0x400
[ 100.618332] ? process_one_work+0x16c/0x4b0
[ 100.618721] process_one_work+0x1d6/0x4b0
[ 100.619070] worker_thread+0x1c1/0x3d0
[ 100.619382] ? __pfx_worker_thread+0x10/0x10
[ 100.619753] kthread+0xda/0x110
[ 100.620046] ? __pfx_kthread+0x10/0x10
[ 100.620382] ret_from_fork+0x31/0x50
[ 100.620679] ? __pfx_kthread+0x10/0x10
[ 100.621002] ret_from_fork_asm+0x1b/0x30
[ 100.621343]
[ 100.621527] irq event stamp: 360597
[ 100.621829] hardirqs last enabled at (360609): [] console_unlock+0x10d/0x130
[ 100.622306] hardirqs last disabled at (360618): [] console_unlock+0xf2/0x130
[ 100.622812] softirqs last enabled at (360180): [] __do_softirq+0x2c2/0x37a
[ 100.623247] softirqs last disabled at (360175): [] irq_exit_rcu+0x7f/0xa0
[ 100.623752] ---[ end trace 0000000000000000 ]---
[ 100.691834] vx0: left allmulticast mode
[ 100.692122] vx0: left promiscuous mode
[ 100.692395] br0: port 2(vx0) entered disabled state
[ 100.700838] swp1: left allmulticast mode
[ 100.701242] swp1: left promiscuous mode
[ 100.701612] br0: port 1(swp1) entered disabled state
[ 100.709017] ------------[ cut here ]------------
[ 100.709710] sysfs group 'bridge' not found for kobject 'br0'
[ 100.710423] WARNING: CPU: 2 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 100.711500] Modules linked in: act_gact cls_flower vxlan ip6_udp_tunnel udp_tunnel xt_mark nft_compat nf_tables libcrc32c sch_ingress act_mirred cls_basic sch_fq_codel
[ 100.713361] CPU: 2 PID: 11 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 100.714351] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 100.715741] Workqueue: netns cleanup_net
[ 100.716254] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 100.716653] 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 92 b3 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
[ 100.718280] RSP: 0018:ffffb9c8c0063d70 EFLAGS: 00010286
[ 100.718646] RAX: 0000000000000000 RBX: ffffffffb35472c0 RCX: 00000000ffffdfff
[ 100.719463] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 100.719992] RBP: 0000000000000000 R08: ffffffffb3d78508 R09: 00000000ffffdfff
[ 100.720738] R10: ffffffffb3c98520 R11: ffffffffb3d48520 R12: ffffa0d60374c610
[ 100.721368] R13: ffffb9c8c0063e08 R14: ffffa0d60374cb80 R15: ffffa0d60347ae50
[ 100.722021] FS: 0000000000000000(0000) GS:ffffa0d63ed00000(0000) knlGS:0000000000000000
[ 100.722848] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 100.723510] CR2: 00007f0c001d7270 CR3: 000000002cc60003 CR4: 0000000000770ef0
[ 100.724369] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 100.725346] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 100.726309] PKRU: 55555554
[ 100.726721] Call Trace:
[ 100.727104]
[ 100.727445] ? __warn+0x84/0x170
[ 100.727879] ? sysfs_remove_group+0x75/0x90
[ 100.728297] ? report_bug+0x199/0x1b0
[ 100.728745] ? handle_bug+0x3d/0x70
[ 100.729219] ? exc_invalid_op+0x18/0x70
[ 100.729710] ? asm_exc_invalid_op+0x1a/0x20
[ 100.730167] ? sysfs_remove_group+0x75/0x90
[ 100.730639] br_dev_delete+0x88/0xa0
[ 100.731129] br_net_exit_batch_rtnl+0x70/0xd0
[ 100.731662] cleanup_net+0x24e/0x400
[ 100.732007] ? process_one_work+0x16c/0x4b0
[ 100.732227] process_one_work+0x1d6/0x4b0
[ 100.732469] worker_thread+0x1c1/0x3d0
[ 100.732688] ? __pfx_worker_thread+0x10/0x10
[ 100.733016] kthread+0xda/0x110
[ 100.733200] ? __pfx_kthread+0x10/0x10
[ 100.733396] ret_from_fork+0x31/0x50
[ 100.733588] ? __pfx_kthread+0x10/0x10
[ 100.733806] ret_from_fork_asm+0x1b/0x30
[ 100.734019]
[ 100.734139] irq event stamp: 386337
[ 100.734321] hardirqs last enabled at (386347): [] console_unlock+0x10d/0x130
[ 100.734768] hardirqs last disabled at (386358): [] console_unlock+0xf2/0x130
[ 100.735200] softirqs last enabled at (385916): [] __do_softirq+0x2c2/0x37a
[ 100.735630] softirqs last disabled at (385911): [] irq_exit_rcu+0x7f/0xa0
[ 100.736056] ---[ end trace 0000000000000000 ]---
[ 101.006968] veth0: renamed from veth1
[ 101.142564] br0: port 1(swp1) entered blocking state
[ 101.142974] br0: port 1(swp1) entered disabled state
[ 101.143261] swp1: entered allmulticast mode
[ 101.143575] swp1: entered promiscuous mode
[ 101.144124] br0: port 1(swp1) entered blocking state
[ 101.144384] br0: port 1(swp1) entered forwarding state
[ 101.174510] br0: port 2(vx0) entered blocking state
[ 101.174819] br0: port 2(vx0) entered disabled state
[ 101.175078] vx0: entered allmulticast mode
[ 101.175357] vx0: entered promiscuous mode
[ 101.175599] br0: port 2(vx0) entered blocking state
[ 101.175862] br0: port 2(vx0) entered forwarding state
[ 101.377820] br0: port 1(swp1) entered blocking state
[ 101.378132] br0: port 1(swp1) entered disabled state
[ 101.378404] swp1: entered allmulticast mode
[ 101.378719] swp1: entered promiscuous mode
[ 101.378995] br0: port 1(swp1) entered blocking state
[ 101.379251] br0: port 1(swp1) entered forwarding state
[ 101.413390] br0: port 2(vx0) entered blocking state
[ 101.413834] br0: port 2(vx0) entered disabled state
[ 101.414093] vx0: entered allmulticast mode
[ 101.414375] vx0: entered promiscuous mode
[ 101.414619] br0: port 2(vx0) entered blocking state
[ 101.414968] 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 ]
[ 107.063904] 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 ]
[ 107.722250] br0: port 1(swp1) entered blocking state
[ 107.722541] 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 ]
[ 108.106273] 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 ]
[ 108.752227] br0: port 1(swp1) entered blocking state
[ 108.752518] 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 ]
[ 110.090972] 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 ]
[ 110.768882] vx0: left allmulticast mode
[ 110.769178] vx0: left promiscuous mode
[ 110.769544] br0: port 2(vx0) entered disabled state
[ 110.779809] swp1: left allmulticast mode
[ 110.780368] swp1: left promiscuous mode
[ 110.780640] br0: port 1(swp1) entered disabled state
[ 110.796976] ------------[ cut here ]------------
[ 110.797510] sysfs group 'bridge' not found for kobject 'br0'
[ 110.798218] WARNING: CPU: 2 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 110.798827] Modules linked in: act_gact cls_flower vxlan ip6_udp_tunnel udp_tunnel xt_mark nft_compat nf_tables libcrc32c sch_ingress act_mirred cls_basic sch_fq_codel
[ 110.800561] CPU: 2 PID: 11 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 110.801662] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 110.803271] Workqueue: netns cleanup_net
[ 110.803845] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 110.804497] 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 92 b3 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
[ 110.807071] RSP: 0018:ffffb9c8c0063d70 EFLAGS: 00010286
[ 110.807836] RAX: 0000000000000000 RBX: ffffffffb35472c0 RCX: 00000000ffffdfff
[ 110.808807] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 110.809294] RBP: 0000000000000000 R08: ffffffffb3d78508 R09: 00000000ffffdfff
[ 110.809911] R10: ffffffffb3c98520 R11: ffffffffb3d48520 R12: ffffa0d605740610
[ 110.810384] R13: ffffb9c8c0063e08 R14: ffffa0d605740b80 R15: ffffa0d602994550
[ 110.811038] FS: 0000000000000000(0000) GS:ffffa0d63ed00000(0000) knlGS:0000000000000000
[ 110.811761] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 110.812495] CR2: 00007fc86cb49d40 CR3: 00000000035ee003 CR4: 0000000000770ef0
[ 110.813498] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 110.814447] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 110.815431] PKRU: 55555554
[ 110.815807] Call Trace:
[ 110.816157]
[ 110.816456] ? __warn+0x84/0x170
[ 110.816947] ? sysfs_remove_group+0x75/0x90
[ 110.817511] ? report_bug+0x199/0x1b0
[ 110.818017] ? handle_bug+0x3d/0x70
[ 110.818508] ? exc_invalid_op+0x18/0x70
[ 110.819064] ? asm_exc_invalid_op+0x1a/0x20
[ 110.819633] ? sysfs_remove_group+0x75/0x90
[ 110.820120] br_dev_delete+0x88/0xa0
[ 110.820531] br_net_exit_batch_rtnl+0x70/0xd0
[ 110.821066] cleanup_net+0x24e/0x400
[ 110.821543] ? process_one_work+0x16c/0x4b0
[ 110.822073] process_one_work+0x1d6/0x4b0
[ 110.822591] worker_thread+0x1c1/0x3d0
[ 110.823126] ? __pfx_worker_thread+0x10/0x10
[ 110.823712] kthread+0xda/0x110
[ 110.823941] ? __pfx_kthread+0x10/0x10
[ 110.824199] ret_from_fork+0x31/0x50
[ 110.824485] ? __pfx_kthread+0x10/0x10
[ 110.824851] ret_from_fork_asm+0x1b/0x30
[ 110.825133]
[ 110.825478] irq event stamp: 408067
[ 110.825728] hardirqs last enabled at (408079): [] console_unlock+0x10d/0x130
[ 110.826299] hardirqs last disabled at (408088): [] console_unlock+0xf2/0x130
[ 110.826981] softirqs last enabled at (407614): [] __do_softirq+0x2c2/0x37a
[ 110.827883] softirqs last disabled at (407609): [] irq_exit_rcu+0x7f/0xa0
[ 110.828820] ---[ end trace 0000000000000000 ]---
[ 110.923838] vx0: left allmulticast mode
[ 110.924427] vx0: left promiscuous mode
[ 110.924942] br0: port 2(vx0) entered disabled state
[ 110.940800] swp1: left allmulticast mode
[ 110.941157] swp1: left promiscuous mode
[ 110.941590] br0: port 1(swp1) entered disabled state
[ 110.951882] ------------[ cut here ]------------
[ 110.952451] sysfs group 'bridge' not found for kobject 'br0'
[ 110.953099] WARNING: CPU: 2 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 110.953900] Modules linked in: act_gact cls_flower vxlan ip6_udp_tunnel udp_tunnel xt_mark nft_compat nf_tables libcrc32c sch_ingress act_mirred cls_basic sch_fq_codel
[ 110.955056] CPU: 2 PID: 11 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 110.955620] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 110.956380] Workqueue: netns cleanup_net
[ 110.956652] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 110.956986] 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 92 b3 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
[ 110.958202] RSP: 0018:ffffb9c8c0063d70 EFLAGS: 00010286
[ 110.958552] RAX: 0000000000000000 RBX: ffffffffb35472c0 RCX: 00000000ffffdfff
[ 110.959034] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 110.959505] RBP: 0000000000000000 R08: ffffffffb3d78508 R09: 00000000ffffdfff
[ 110.959985] R10: ffffffffb3c98520 R11: ffffffffb3d48520 R12: ffffa0d60374e610
[ 110.960453] R13: ffffb9c8c0063e08 R14: ffffa0d60374eb80 R15: ffffa0d603479750
[ 110.960938] FS: 0000000000000000(0000) GS:ffffa0d63ed00000(0000) knlGS:0000000000000000
[ 110.961473] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 110.961865] CR2: 00007fc86cb49d40 CR3: 00000000035ee003 CR4: 0000000000770ef0
[ 110.962336] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 110.962814] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 110.963286] PKRU: 55555554
[ 110.963473] Call Trace:
[ 110.963660]
[ 110.963821] ? __warn+0x84/0x170
[ 110.964048] ? sysfs_remove_group+0x75/0x90
[ 110.964334] ? report_bug+0x199/0x1b0
[ 110.964592] ? handle_bug+0x3d/0x70
[ 110.964845] ? exc_invalid_op+0x18/0x70
[ 110.965108] ? asm_exc_invalid_op+0x1a/0x20
[ 110.965401] ? sysfs_remove_group+0x75/0x90
[ 110.965697] br_dev_delete+0x88/0xa0
[ 110.965950] br_net_exit_batch_rtnl+0x70/0xd0
[ 110.966251] cleanup_net+0x24e/0x400
[ 110.966501] ? process_one_work+0x16c/0x4b0
[ 110.966795] process_one_work+0x1d6/0x4b0
[ 110.967075] worker_thread+0x1c1/0x3d0
[ 110.967335] ? __pfx_worker_thread+0x10/0x10
[ 110.967625] kthread+0xda/0x110
[ 110.967859] ? __pfx_kthread+0x10/0x10
[ 110.968119] ret_from_fork+0x31/0x50
[ 110.968367] ? __pfx_kthread+0x10/0x10
[ 110.968623] ret_from_fork_asm+0x1b/0x30
[ 110.968912]
[ 110.969069] irq event stamp: 433805
[ 110.969308] hardirqs last enabled at (433815): [] console_unlock+0x10d/0x130
[ 110.969888] hardirqs last disabled at (433826): [] console_unlock+0xf2/0x130
[ 110.970453] softirqs last enabled at (433458): [] __do_softirq+0x2c2/0x37a
[ 110.971026] softirqs last disabled at (433453): [] irq_exit_rcu+0x7f/0xa0
[ 110.971574] ---[ end trace 0000000000000000 ]---
[ 111.298350] veth0: renamed from veth1
[ 111.456946] br0: port 1(swp1) entered blocking state
[ 111.457261] br0: port 1(swp1) entered disabled state
[ 111.457558] swp1: entered allmulticast mode
[ 111.457890] swp1: entered promiscuous mode
[ 111.458174] br0: port 1(swp1) entered blocking state
[ 111.458431] br0: port 1(swp1) entered forwarding state
[ 111.489702] br0: port 2(vx0) entered blocking state
[ 111.490070] br0: port 2(vx0) entered disabled state
[ 111.490406] vx0: entered allmulticast mode
[ 111.490793] vx0: entered promiscuous mode
[ 111.491087] br0: port 2(vx0) entered blocking state
[ 111.491418] br0: port 2(vx0) entered forwarding state
[ 111.680632] br0: port 1(swp1) entered blocking state
[ 111.681070] br0: port 1(swp1) entered disabled state
[ 111.681416] swp1: entered allmulticast mode
[ 111.681814] swp1: entered promiscuous mode
[ 111.682162] br0: port 1(swp1) entered blocking state
[ 111.682494] br0: port 1(swp1) entered forwarding state
[ 111.713191] br0: port 2(vx0) entered blocking state
[ 111.713554] br0: port 2(vx0) entered disabled state
[ 111.713908] vx0: entered allmulticast mode
[ 111.714275] vx0: entered promiscuous mode
[ 111.714567] br0: port 2(vx0) entered blocking state
[ 111.714904] br0: port 2(vx0) entered forwarding state
#
# Backup nexthop ID - invalid IDs
# -------------------------------
[ 116.800708] tc (3080) used greatest stack depth: 11696 bytes left
# TEST: vx0 configured as backup port of swp1 [ OK ]
# TEST: Valid nexthop as backup nexthop [ OK ]
[ 117.049289] 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 ]
[ 119.946863] vx0: left allmulticast mode
[ 119.947145] vx0: left promiscuous mode
[ 119.947401] br0: port 2(vx0) entered disabled state
[ 119.959872] swp1: left allmulticast mode
[ 119.960165] swp1: left promiscuous mode
[ 119.960399] br0: port 1(swp1) entered disabled state
[ 119.978978] ------------[ cut here ]------------
[ 119.979286] sysfs group 'bridge' not found for kobject 'br0'
[ 119.979697] WARNING: CPU: 0 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 119.980263] Modules linked in: cls_matchall act_gact cls_flower vxlan ip6_udp_tunnel udp_tunnel xt_mark nft_compat nf_tables libcrc32c sch_ingress act_mirred cls_basic sch_fq_codel
[ 119.981288] CPU: 0 PID: 11 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 119.981972] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 119.982801] Workqueue: netns cleanup_net
[ 119.983118] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 119.983509] 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 92 b3 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
[ 119.984830] RSP: 0018:ffffb9c8c0063d70 EFLAGS: 00010286
[ 119.985278] RAX: 0000000000000000 RBX: ffffffffb35472c0 RCX: 00000000ffffdfff
[ 119.985806] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 119.986310] RBP: 0000000000000000 R08: ffffffffb3d78508 R09: 00000000ffffdfff
[ 119.986885] R10: ffffffffb3c98520 R11: ffffffffb3d48520 R12: ffffa0d605740610
[ 119.987434] R13: ffffb9c8c0063e08 R14: ffffa0d605740b80 R15: ffffa0d603728050
[ 119.987948] FS: 0000000000000000(0000) GS:ffffa0d63ec00000(0000) knlGS:0000000000000000
[ 119.988429] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 119.988763] CR2: 000055c29f106dec CR3: 000000000259e001 CR4: 0000000000770ef0
[ 119.989201] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 119.989631] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 119.990035] PKRU: 55555554
[ 119.990224] Call Trace:
[ 119.990392]
[ 119.990539] ? __warn+0x84/0x170
[ 119.990776] ? sysfs_remove_group+0x75/0x90
[ 119.991022] ? report_bug+0x199/0x1b0
[ 119.991264] ? handle_bug+0x3d/0x70
[ 119.991520] ? exc_invalid_op+0x18/0x70
[ 119.991768] ? asm_exc_invalid_op+0x1a/0x20
[ 119.992012] ? sysfs_remove_group+0x75/0x90
[ 119.992274] br_dev_delete+0x88/0xa0
[ 119.992510] br_net_exit_batch_rtnl+0x70/0xd0
[ 119.992820] cleanup_net+0x24e/0x400
[ 119.993059] ? process_one_work+0x16c/0x4b0
[ 119.993306] process_one_work+0x1d6/0x4b0
[ 119.993607] worker_thread+0x1c1/0x3d0
[ 119.993877] ? __pfx_worker_thread+0x10/0x10
[ 119.994171] kthread+0xda/0x110
[ 119.994377] ? __pfx_kthread+0x10/0x10
[ 119.994595] ret_from_fork+0x31/0x50
[ 119.994845] ? __pfx_kthread+0x10/0x10
[ 119.995083] ret_from_fork_asm+0x1b/0x30
[ 119.995367]
[ 119.995530] irq event stamp: 455857
[ 119.995756] hardirqs last enabled at (455871): [] console_unlock+0x10d/0x130
[ 119.996258] hardirqs last disabled at (455882): [] console_unlock+0xf2/0x130
[ 119.996706] softirqs last enabled at (455416): [] __do_softirq+0x2c2/0x37a
[ 119.997191] softirqs last disabled at (455409): [] irq_exit_rcu+0x7f/0xa0
[ 119.997686] ---[ end trace 0000000000000000 ]---
[ 120.087902] vx0: left allmulticast mode
[ 120.088606] vx0: left promiscuous mode
[ 120.089211] br0: port 2(vx0) entered disabled state
[ 120.095865] swp1: left allmulticast mode
[ 120.096457] swp1: left promiscuous mode
[ 120.097061] br0: port 1(swp1) entered disabled state
[ 120.103952] ------------[ cut here ]------------
[ 120.104344] sysfs group 'bridge' not found for kobject 'br0'
[ 120.104849] WARNING: CPU: 3 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 120.105479] Modules linked in: cls_matchall act_gact cls_flower vxlan ip6_udp_tunnel udp_tunnel xt_mark nft_compat nf_tables libcrc32c sch_ingress act_mirred cls_basic sch_fq_codel
[ 120.106750] CPU: 3 PID: 11 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 120.107417] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 120.108295] Workqueue: netns cleanup_net
[ 120.108612] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 120.109006] 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 92 b3 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
[ 120.110454] RSP: 0018:ffffb9c8c0063d70 EFLAGS: 00010286
[ 120.110880] RAX: 0000000000000000 RBX: ffffffffb35472c0 RCX: 00000000ffffdfff
[ 120.111443] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 120.112012] RBP: 0000000000000000 R08: ffffffffb3d78508 R09: 00000000ffffdfff
[ 120.112564] R10: ffffffffb3c98520 R11: ffffffffb3d48520 R12: ffffa0d605742610
[ 120.113135] R13: ffffb9c8c0063e08 R14: ffffa0d605742b80 R15: ffffa0d6028aae50
[ 120.113712] FS: 0000000000000000(0000) GS:ffffa0d63ed80000(0000) knlGS:0000000000000000
[ 120.114334] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 120.114798] CR2: 00007f5d7f9ac000 CR3: 000000002cc60006 CR4: 0000000000770ef0
[ 120.115363] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 120.115934] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 120.116486] PKRU: 55555554
[ 120.116721] Call Trace:
[ 120.116925]
[ 120.117108] ? __warn+0x84/0x170
[ 120.117376] ? sysfs_remove_group+0x75/0x90
[ 120.117723] ? report_bug+0x199/0x1b0
[ 120.118028] ? handle_bug+0x3d/0x70
[ 120.118313] ? exc_invalid_op+0x18/0x70
[ 120.118624] ? asm_exc_invalid_op+0x1a/0x20
[ 120.118981] ? sysfs_remove_group+0x75/0x90
[ 120.119332] br_dev_delete+0x88/0xa0
[ 120.119628] br_net_exit_batch_rtnl+0x70/0xd0
[ 120.119993] cleanup_net+0x24e/0x400
[ 120.120291] ? process_one_work+0x16c/0x4b0
[ 120.120627] process_one_work+0x1d6/0x4b0
[ 120.120963] worker_thread+0x1c1/0x3d0
[ 120.121275] ? __pfx_worker_thread+0x10/0x10
[ 120.121613] kthread+0xda/0x110
[ 120.121888] ? __pfx_kthread+0x10/0x10
[ 120.122194] ret_from_fork+0x31/0x50
[ 120.122486] ? __pfx_kthread+0x10/0x10
[ 120.122804] ret_from_fork_asm+0x1b/0x30
[ 120.123136]
[ 120.123318] irq event stamp: 481713
[ 120.123611] hardirqs last enabled at (481723): [] console_unlock+0x10d/0x130
[ 120.124291] hardirqs last disabled at (481734): [] console_unlock+0xf2/0x130
[ 120.124977] softirqs last enabled at (481352): [] __do_softirq+0x2c2/0x37a
[ 120.125632] softirqs last disabled at (481347): [] irq_exit_rcu+0x7f/0xa0
[ 120.126283] ---[ end trace 0000000000000000 ]---
[ 120.495060] veth0: renamed from veth1
[ 120.647597] br0: port 1(swp1) entered blocking state
[ 120.647903] br0: port 1(swp1) entered disabled state
[ 120.648177] swp1: entered allmulticast mode
[ 120.648476] swp1: entered promiscuous mode
[ 120.648801] br0: port 1(swp1) entered blocking state
[ 120.649060] br0: port 1(swp1) entered forwarding state
[ 120.679149] br0: port 2(vx0) entered blocking state
[ 120.679437] br0: port 2(vx0) entered disabled state
[ 120.679704] vx0: entered allmulticast mode
[ 120.679989] vx0: entered promiscuous mode
[ 120.680227] br0: port 2(vx0) entered blocking state
[ 120.680479] br0: port 2(vx0) entered forwarding state
[ 120.872711] br0: port 1(swp1) entered blocking state
[ 120.873134] br0: port 1(swp1) entered disabled state
[ 120.873532] swp1: entered allmulticast mode
[ 120.873997] swp1: entered promiscuous mode
[ 120.874404] br0: port 1(swp1) entered blocking state
[ 120.874806] br0: port 1(swp1) entered forwarding state
[ 120.907519] br0: port 2(vx0) entered blocking state
[ 120.908005] br0: port 2(vx0) entered disabled state
[ 120.908390] vx0: entered allmulticast mode
[ 120.908844] vx0: entered promiscuous mode
[ 120.909185] br0: port 2(vx0) entered blocking state
[ 120.909560] br0: port 2(vx0) entered forwarding state
#
# Backup nexthop ID - ping
# ------------------------
[ 126.243938] br0: port 1(swp1) entered disabled state
# TEST: Ping with backup nexthop ID [ OK ]
[ 127.293816] br0: port 1(swp1) entered disabled state
# TEST: Ping after disabling backup nexthop ID [ OK ]
[ 132.319816] vx0: left allmulticast mode
[ 132.320329] vx0: left promiscuous mode
[ 132.320812] br0: port 2(vx0) entered disabled state
[ 132.328835] swp1: left allmulticast mode
[ 132.329254] swp1: left promiscuous mode
[ 132.329610] br0: port 1(swp1) entered disabled state
[ 132.336914] ------------[ cut here ]------------
[ 132.337356] sysfs group 'bridge' not found for kobject 'br0'
[ 132.337786] WARNING: CPU: 2 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 132.338274] Modules linked in: cls_matchall act_gact cls_flower vxlan ip6_udp_tunnel udp_tunnel xt_mark nft_compat nf_tables libcrc32c sch_ingress act_mirred cls_basic sch_fq_codel
[ 132.339447] CPU: 2 PID: 11 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 132.339968] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 132.340697] Workqueue: netns cleanup_net
[ 132.341179] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 132.341505] 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 92 b3 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
[ 132.343051] RSP: 0018:ffffb9c8c0063d70 EFLAGS: 00010286
[ 132.343561] RAX: 0000000000000000 RBX: ffffffffb35472c0 RCX: 00000000ffffdfff
[ 132.344198] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 132.344970] RBP: 0000000000000000 R08: ffffffffb3d78508 R09: 00000000ffffdfff
[ 132.345820] R10: ffffffffb3c98520 R11: ffffffffb3d48520 R12: ffffa0d6024d8610
[ 132.346801] R13: ffffb9c8c0063e08 R14: ffffa0d6024d8b80 R15: ffffa0d603729750
[ 132.347800] FS: 0000000000000000(0000) GS:ffffa0d63ed00000(0000) knlGS:0000000000000000
[ 132.348769] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 132.349337] CR2: 000055c2a02bf6c8 CR3: 000000002cc60001 CR4: 0000000000770ef0
[ 132.350095] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 132.350737] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 132.351415] PKRU: 55555554
[ 132.351609] Call Trace:
[ 132.351896]
[ 132.352150] ? __warn+0x84/0x170
[ 132.352438] ? sysfs_remove_group+0x75/0x90
[ 132.352853] ? report_bug+0x199/0x1b0
[ 132.353052] ? handle_bug+0x3d/0x70
[ 132.353240] ? exc_invalid_op+0x18/0x70
[ 132.353478] ? asm_exc_invalid_op+0x1a/0x20
[ 132.353723] ? sysfs_remove_group+0x75/0x90
[ 132.353978] br_dev_delete+0x88/0xa0
[ 132.354171] br_net_exit_batch_rtnl+0x70/0xd0
[ 132.354404] cleanup_net+0x24e/0x400
[ 132.354600] ? process_one_work+0x16c/0x4b0
[ 132.354826] process_one_work+0x1d6/0x4b0
[ 132.355041] worker_thread+0x1c1/0x3d0
[ 132.355242] ? __pfx_worker_thread+0x10/0x10
[ 132.355466] kthread+0xda/0x110
[ 132.355637] ? __pfx_kthread+0x10/0x10
[ 132.355841] ret_from_fork+0x31/0x50
[ 132.356035] ? __pfx_kthread+0x10/0x10
[ 132.356232] ret_from_fork_asm+0x1b/0x30
[ 132.356450]
[ 132.356572] irq event stamp: 503505
[ 132.356764] hardirqs last enabled at (503517): [] console_unlock+0x10d/0x130
[ 132.357209] hardirqs last disabled at (503526): [] console_unlock+0xf2/0x130
[ 132.357647] softirqs last enabled at (503152): [] __do_softirq+0x2c2/0x37a
[ 132.358086] softirqs last disabled at (503141): [] irq_exit_rcu+0x7f/0xa0
[ 132.358512] ---[ end trace 0000000000000000 ]---
[ 132.423847] vx0: left allmulticast mode
[ 132.424094] vx0: left promiscuous mode
[ 132.424322] br0: port 2(vx0) entered disabled state
[ 132.434837] swp1: left allmulticast mode
[ 132.435101] swp1: left promiscuous mode
[ 132.435313] br0: port 1(swp1) entered disabled state
[ 132.442875] ------------[ cut here ]------------
[ 132.443131] sysfs group 'bridge' not found for kobject 'br0'
[ 132.443447] WARNING: CPU: 2 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 132.443889] Modules linked in: cls_matchall act_gact cls_flower vxlan ip6_udp_tunnel udp_tunnel xt_mark nft_compat nf_tables libcrc32c sch_ingress act_mirred cls_basic sch_fq_codel
[ 132.444729] CPU: 2 PID: 11 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 132.445161] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 132.445748] Workqueue: netns cleanup_net
[ 132.445958] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 132.446206] 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 92 b3 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
[ 132.447177] RSP: 0018:ffffb9c8c0063d70 EFLAGS: 00010286
[ 132.447458] RAX: 0000000000000000 RBX: ffffffffb35472c0 RCX: 00000000ffffdfff
[ 132.447846] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 132.448218] RBP: 0000000000000000 R08: ffffffffb3d78508 R09: 00000000ffffdfff
[ 132.448601] R10: ffffffffb3c98520 R11: ffffffffb3d48520 R12: ffffa0d602ac8610
[ 132.448991] R13: ffffb9c8c0063e08 R14: ffffa0d602ac8b80 R15: ffffa0d6028aae50
[ 132.449375] FS: 0000000000000000(0000) GS:ffffa0d63ed00000(0000) knlGS:0000000000000000
[ 132.449821] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 132.450140] CR2: 000055c2a02bf6c8 CR3: 000000002cc60001 CR4: 0000000000770ef0
[ 132.450523] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 132.450917] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 132.451297] PKRU: 55555554
[ 132.451452] Call Trace:
[ 132.451595]
[ 132.451729] ? __warn+0x84/0x170
[ 132.451918] ? sysfs_remove_group+0x75/0x90
[ 132.452155] ? report_bug+0x199/0x1b0
[ 132.452368] ? handle_bug+0x3d/0x70
[ 132.452565] ? exc_invalid_op+0x18/0x70
[ 132.452791] ? asm_exc_invalid_op+0x1a/0x20
[ 132.453032] ? sysfs_remove_group+0x75/0x90
[ 132.453282] br_dev_delete+0x88/0xa0
[ 132.453497] br_net_exit_batch_rtnl+0x70/0xd0
[ 132.453880] cleanup_net+0x24e/0x400
[ 132.454083] ? process_one_work+0x16c/0x4b0
[ 132.454303] process_one_work+0x1d6/0x4b0
[ 132.454520] worker_thread+0x1c1/0x3d0
[ 132.454727] ? __pfx_worker_thread+0x10/0x10
[ 132.454953] kthread+0xda/0x110
[ 132.455124] ? __pfx_kthread+0x10/0x10
[ 132.455323] ret_from_fork+0x31/0x50
[ 132.455517] ? __pfx_kthread+0x10/0x10
[ 132.455724] ret_from_fork_asm+0x1b/0x30
[ 132.455943]
[ 132.456064] irq event stamp: 529069
[ 132.456250] hardirqs last enabled at (529079): [] console_unlock+0x10d/0x130
[ 132.456703] hardirqs last disabled at (529090): [] console_unlock+0xf2/0x130
[ 132.457141] softirqs last enabled at (528812): [] __do_softirq+0x2c2/0x37a
[ 132.457576] softirqs last disabled at (528807): [] irq_exit_rcu+0x7f/0xa0
[ 132.458007] ---[ end trace 0000000000000000 ]---
[ 132.776042] ip (3363) used greatest stack depth: 11688 bytes left
[ 132.821955] veth0: renamed from veth1
[ 132.973028] br0: port 1(swp1) entered blocking state
[ 132.973438] br0: port 1(swp1) entered disabled state
[ 132.973780] swp1: entered allmulticast mode
[ 132.974082] swp1: entered promiscuous mode
[ 132.974358] br0: port 1(swp1) entered blocking state
[ 132.974744] br0: port 1(swp1) entered forwarding state
[ 133.002970] br0: port 2(vx0) entered blocking state
[ 133.003387] br0: port 2(vx0) entered disabled state
[ 133.003863] vx0: entered allmulticast mode
[ 133.004301] vx0: entered promiscuous mode
[ 133.004658] br0: port 2(vx0) entered blocking state
[ 133.005052] br0: port 2(vx0) entered forwarding state
[ 133.184660] br0: port 1(swp1) entered blocking state
[ 133.185087] br0: port 1(swp1) entered disabled state
[ 133.185481] swp1: entered allmulticast mode
[ 133.186011] swp1: entered promiscuous mode
[ 133.186415] br0: port 1(swp1) entered blocking state
[ 133.186804] br0: port 1(swp1) entered forwarding state
[ 133.214708] br0: port 2(vx0) entered blocking state
[ 133.215083] br0: port 2(vx0) entered disabled state
[ 133.215462] vx0: entered allmulticast mode
[ 133.215829] vx0: entered promiscuous mode
[ 133.216145] br0: port 2(vx0) entered blocking state
[ 133.216517] br0: port 2(vx0) entered forwarding state
#
# Backup nexthop ID - torture test
# --------------------------------
[ 138.382296] br0: port 1(swp1) entered disabled state
# TEST: Torture test [ OK ]
[ 168.428849] vx0: left allmulticast mode
[ 168.429229] vx0: left promiscuous mode
[ 168.429531] br0: port 2(vx0) entered disabled state
[ 168.440810] swp1: left allmulticast mode
[ 168.441289] swp1: left promiscuous mode
[ 168.441642] br0: port 1(swp1) entered disabled state
[ 168.453891] ------------[ cut here ]------------
[ 168.454353] sysfs group 'bridge' not found for kobject 'br0'
[ 168.454898] WARNING: CPU: 2 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 168.455593] Modules linked in: cls_matchall act_gact cls_flower vxlan ip6_udp_tunnel udp_tunnel xt_mark nft_compat nf_tables libcrc32c sch_ingress act_mirred cls_basic sch_fq_codel
[ 168.457016] CPU: 2 PID: 11 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 168.457572] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 168.458196] Workqueue: netns cleanup_net
[ 168.458424] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 168.458691] 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 92 b3 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
[ 168.459686] RSP: 0018:ffffb9c8c0063d70 EFLAGS: 00010286
[ 168.459952] RAX: 0000000000000000 RBX: ffffffffb35472c0 RCX: 00000000ffffdfff
[ 168.460340] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 168.460725] RBP: 0000000000000000 R08: ffffffffb3d78508 R09: 00000000ffffdfff
[ 168.461104] R10: ffffffffb3c98520 R11: ffffffffb3d48520 R12: ffffa0d6024de610
[ 168.461491] R13: ffffb9c8c0063e08 R14: ffffa0d6024deb80 R15: ffffa0d6028ac550
[ 168.461877] FS: 0000000000000000(0000) GS:ffffa0d63ed00000(0000) knlGS:0000000000000000
[ 168.462313] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 168.462617] CR2: 00007fa90942c000 CR3: 000000002cc60002 CR4: 0000000000770ef0
[ 168.463005] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 168.463575] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 168.463955] PKRU: 55555554
[ 168.464104] Call Trace:
[ 168.464241]
[ 168.464373] ? __warn+0x84/0x170
[ 168.464555] ? sysfs_remove_group+0x75/0x90
[ 168.464796] ? report_bug+0x199/0x1b0
[ 168.465007] ? handle_bug+0x3d/0x70
[ 168.465202] ? exc_invalid_op+0x18/0x70
[ 168.465414] ? asm_exc_invalid_op+0x1a/0x20
[ 168.465640] ? sysfs_remove_group+0x75/0x90
[ 168.465868] br_dev_delete+0x88/0xa0
[ 168.466061] br_net_exit_batch_rtnl+0x70/0xd0
[ 168.466291] cleanup_net+0x24e/0x400
[ 168.466490] ? process_one_work+0x16c/0x4b0
[ 168.466713] process_one_work+0x1d6/0x4b0
[ 168.466927] worker_thread+0x1c1/0x3d0
[ 168.467124] ? __pfx_worker_thread+0x10/0x10
[ 168.467345] kthread+0xda/0x110
[ 168.467519] ? __pfx_kthread+0x10/0x10
[ 168.467730] ret_from_fork+0x31/0x50
[ 168.467923] ? __pfx_kthread+0x10/0x10
[ 168.468119] ret_from_fork_asm+0x1b/0x30
[ 168.468335]
[ 168.468454] irq event stamp: 550853
[ 168.468635] hardirqs last enabled at (550863): [] console_unlock+0x10d/0x130
[ 168.469087] hardirqs last disabled at (550874): [] console_unlock+0xf2/0x130
[ 168.469542] softirqs last enabled at (550556): [] __do_softirq+0x2c2/0x37a
[ 168.469993] softirqs last disabled at (550551): [] irq_exit_rcu+0x7f/0xa0
[ 168.470415] ---[ end trace 0000000000000000 ]---
#
# Tests passed: 82
# Tests failed: 1
[ 168.553832] vx0: left allmulticast mode
[ 168.554246] vx0: left promiscuous mode
[ 168.554656] br0: port 2(vx0) entered disabled state
[ 168.564844] swp1: left allmulticast mode
[ 168.565377] swp1: left promiscuous mode
[ 168.565937] br0: port 1(swp1) entered disabled state
not ok 1 selftes[ 168.579907] ------------[ cut here ]------------
ts: net: test_br[ 168.580264] sysfs group 'bridge' not found for kobject 'br0'
idge_backup_port[ 168.580662] WARNING: CPU: 3 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
.sh # exit=1[ 168.581140] Modules linked in: cls_matchall act_gact cls_flower vxlan ip6_udp_tunnel udp_tunnel xt_mark nft_compat nf_tables libcrc32c sch_ingress act_mirred cls_basic sch_fq_codel
[ 168.582047] CPU: 3 PID: 11 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 168.582513] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 168.583227] Workqueue: netns cleanup_net
make[1]: Leaving[ 168.583482] RIP: 0010:sysfs_remove_group+0x75/0x90
directory '/hom[ 168.583836] 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 92 b3 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
e/virtme/testing[ 168.584860] RSP: 0018:ffffb9c8c0063d70 EFLAGS: 00010286
-1/tools/testing[ 168.585209] RAX: 0000000000000000 RBX: ffffffffb35472c0 RCX: 00000000ffffdfff
/selftests/net'[ 168.585698] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 168.586161] RBP: 0000000000000000 R08: ffffffffb3d78508 R09: 00000000ffffdfff
[ 168.586553] R10: ffffffffb3c98520 R11: ffffffffb3d48520 R12: ffffa0d6024da610
[ 168.586978] R13: ffffb9c8c0063e08 R14: ffffa0d6024dab80 R15: ffffa0d6028aae50
[ 168.587546] FS: 0000000000000000(0000) GS:ffffa0d63ed80000(0000) knlGS:0000000000000000
[ 168.588004] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 168.588300] CR2: 00007f750bbd5a30 CR3: 000000002cc60005 CR4: 0000000000770ef0
[ 168.588673] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 168.589034] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 168.589425] PKRU: 55555554
[ 168.589605] Call Trace:
[ 168.589786]
[ 168.590018] ? __warn+0x84/0x170
make: Leaving di[ 168.590350] ? sysfs_remove_group+0x75/0x90
rectory '/home/v[ 168.590796] ? report_bug+0x199/0x1b0
irtme/testing-1/[ 168.591160] ? handle_bug+0x3d/0x70
tools/testing/se[ 168.591522] ? exc_invalid_op+0x18/0x70
lftests'
[ 168.591913] ? asm_exc_invalid_op+0x1a/0x20
[ 168.592317] ? sysfs_remove_group+0x75/0x90
[ 168.592705] br_dev_delete+0x88/0xa0
[ 168.593208] br_net_exit_batch_rtnl+0x70/0xd0
[ 168.593593] cleanup_net+0x24e/0x400
[ 168.593896] ? process_one_work+0x16c/0x4b0
[ 168.594267] process_one_work+0x1d6/0x4b0
xx__-> [ 168.594588] worker_thread+0x1c1/0x3d0
[ 168.594932] ? __pfx_worker_thread+0x10/0x10
[ 168.595268] kthread+0xda/0x110
[ 168.595517] ? __pfx_kthread+0x10/0x10
[ 168.595826] ret_from_fork+0x31/0x50
[ 168.596113] ? __pfx_kthread+0x10/0x10
[ 168.596401] ret_from_fork_asm+0x1b/0x30
[ 168.596741]
[ 168.596909] irq event stamp: 576499
[ 168.597157] hardirqs last enabled at (576509): [] console_unlock+0x10d/0x130
[ 168.597805] hardirqs last disabled at (576520): [] console_unlock+0xf2/0x130
[ 168.598249] softirqs last enabled at (576180): [] __do_softirq+0x2c2/0x37a
[ 168.598699] softirqs last disabled at (576161): [] irq_exit_rcu+0x7f/0xa0
[ 168.599252] ---[ end trace 0000000000000000 ]---
xx__->
xx__-> echo $?
0
xx__->