make -C tools/testing/selftests TARGETS=net/forwarding TEST_PROGS=tc_actioons.sh TEST_GEN_PROGS="" run_tests
make: Entering directory '/home/virtme/testing-2/tools/testing/selftests'
make[1]: Entering directory '/home/virtme/testing-2/tools/testing/selftests/net/forwarding'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/virtme/testing-2/tools/testing/selftests/net/forwarding'
make[1]: Entering directory '/home/virtme/testing-2/tools/testing/selftests/net/forwarding'
TAP version 13
1..1
# timeout set to 10800
# selftests: net/forwarding: tc_actions.sh
# TEST: gact drop and ok (skip_hw) [ OK ]
[ 1143.134433] Mirror/redirect action on
# TEST: mirred egress flower redirect (skip_hw) [ OK ]
# TEST: mirred egress flower mirror (skip_hw) [ OK ]
# TEST: mirred egress matchall mirror (skip_hw) [ OK ]
[ 1145.737607] tc (5386) used greatest stack depth: 11688 bytes left
[ 1147.932868] ping (5509) used greatest stack depth: 11512 bytes left
# TEST: mirred_egress_to_ingress (skip_hw) [ OK ]
# [ 1152.983855]
[ 1152.983993] ============================================
[ 1152.984303] WARNING: possible recursive locking detected
[ 1152.984577] 6.8.0-rc3-virtme #1 Not tainted
[ 1152.984811] --------------------------------------------
[ 1152.985085] ksoftirqd/3/32 is trying to acquire lock:
[ 1152.985365] ffff95d5c59b8cb0 (slock-AF_INET/1){+.-.}-{2:2}, at: tcp_v4_rcv+0xdb5/0xef0
[ 1152.985796]
[ 1152.985796] but task is already holding lock:
[ 1152.986098] ffff95d5c59b80b0 (slock-AF_INET/1){+.-.}-{2:2}, at: tcp_v4_rcv+0xdb5/0xef0
[ 1152.986516]
[ 1152.986516] other info that might help us debug this:
[ 1152.986850] Possible unsafe locking scenario:
[ 1152.986850]
[ 1152.987156] CPU0
[ 1152.987306] ----
[ 1152.987438] lock(slock-AF_INET/1);
[ 1152.987641] lock(slock-AF_INET/1);
[ 1152.987846]
[ 1152.987846] *** DEADLOCK ***
[ 1152.987846]
[ 1152.988150] May be due to missing lock nesting notation
[ 1152.988150]
[ 1152.988514] 8 locks held by ksoftirqd/3/32:
[ 1152.988736] #0: ffffffff873678c0 (rcu_read_lock){....}-{1:2}, at: process_backlog+0x6f/0x260
[ 1152.989187] #1: ffffffff873678c0 (rcu_read_lock){....}-{1:2}, at: ip_local_deliver_finish+0x6f/0x180
[ 1152.989676] #2: ffff95d5c59b80b0 (slock-AF_INET/1){+.-.}-{2:2}, at: tcp_v4_rcv+0xdb5/0xef0
[ 1152.990120] #3: ffffffff873678c0 (rcu_read_lock){....}-{1:2}, at: __ip_queue_xmit+0x3f/0x6f0
[ 1152.990556] #4: ffffffff873678c0 (rcu_read_lock){....}-{1:2}, at: ip_finish_output2+0xc6/0xa20
[ 1152.991015] #5: ffffffff87367880 (rcu_read_lock_bh){....}-{1:2}, at: __dev_queue_xmit+0x6e/0x1180
[ 1152.991476] #6: ffffffff873678c0 (rcu_read_lock){....}-{1:2}, at: netif_receive_skb+0x58/0x2c0
[ 1152.991937] #7: ffffffff873678c0 (rcu_read_lock){....}-{1:2}, at: ip_local_deliver_finish+0x6f/0x180
[ 1152.992418]
[ 1152.992418] stack backtrace:
[ 1152.992669] CPU: 3 PID: 32 Comm: ksoftirqd/3 Not tainted 6.8.0-rc3-virtme #1
[ 1152.993045] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 1152.993625] Call Trace:
[ 1152.993773]
[ 1152.993894] dump_stack_lvl+0x4b/0x80
[ 1152.994098] __lock_acquire+0x1215/0x1750
[ 1152.994327] ? sk_filter_trim_cap+0x53/0x360
[ 1152.994566] lock_acquire+0xc1/0x2b0
[ 1152.994771] ? tcp_v4_rcv+0xdb5/0xef0
[ 1152.994966] ? sk_filter_trim_cap+0x11a/0x360
[ 11
DETECTED CRASH, lowering timeout
52.995210] _raw_spin_lock_nested+0x2e/0x40
[ 1152.995450] ? tcp_v4_rcv+0xdb5/0xef0
[ 1152.995659] tcp_v4_rcv+0xdb5/0xef0
[ 1152.995862] ip_protocol_deliver_rcu+0x4b/0x1e0
[ 1152.996100] ip_local_deliver_finish+0xaf/0x180
[ 1152.996358] __netif_receive_skb_one_core+0x8b/0xa0
[ 1152.996613] netif_receive_skb+0x87/0x2c0
[ 1152.996840] tcf_mirred_to_dev+0x1f6/0x410 [act_mirred]
[ 1152.997144] tcf_mirred_act+0xee/0x560 [act_mirred]
[ 1152.997412] ? tcf_skbedit_act+0x1d6/0x410 [act_skbedit]
[ 1152.997705] tcf_action_exec+0xac/0x230
[ 1152.997932] fl_classify+0x20e/0x260 [cls_flower]
[ 1152.998197] ? fl_mask_lookup+0x17e/0x5a0 [cls_flower]
[ 1152.998478] ? __bfs+0xf3/0x240
[ 1152.998663] ? check_irq_usage+0x19c/0xc40
[ 1152.998900] ? check_path.constprop.0+0x24/0x50
[ 1152.999138] ? check_noncircular+0x81/0x150
[ 1152.999371] ? __lock_acquire+0xa6e/0x1750
[ 1152.999603] tcf_classify+0x17a/0x540
[ 1152.999812] tc_run+0x9f/0x150
[ 1152.999985] __dev_queue_xmit+0x311/0x1180
[ 1153.000217] ? mark_held_locks+0x49/0x80
[ 1153.000439] ip_finish_output2+0x39f/0xa20
[ 1153.000668] ? __ip_queue_xmit+0x1d5/0x6f0
[ 1153.000907] __ip_queue_xmit+0x1d5/0x6f0
[ 1153.001114] __tcp_transmit_skb+0xb65/0xd30
[ 1153.001347] tcp_write_xmit+0x492/0x1400
[ 1153.001571] __tcp_push_pending_frames+0x36/0xc0
[ 1153.001827] tcp_rcv_state_process+0x4d3/0x11f0
[ 1153.002082] ? tcp_v4_rcv+0xdb5/0xef0
[ 1153.002291] ? tcp_v4_do_rcv+0x64/0x360
[ 1153.002514] tcp_v4_do_rcv+0x64/0x360
[ 1153.002724] tcp_v4_rcv+0xe4f/0xef0
[ 1153.002934] ? process_backlog+0x6f/0x260
[ 1153.003143] ip_protocol_deliver_rcu+0x4b/0x1e0
[ 1153.003397] ip_local_deliver_finish+0xaf/0x180
[ 1153.003646] __netif_receive_skb_one_core+0x8b/0xa0
[ 1153.003923] process_backlog+0x7c/0x260
[ 1153.004127] __napi_poll.constprop.0+0x27/0x1e0
[ 1153.004379] net_rx_action+0x2be/0x340
[ 1153.004593] __do_softirq+0xc8/0x37a
[ 1153.004797] ? __pfx_smpboot_thread_fn+0x10/0x10
[ 1153.005046] run_ksoftirqd+0x2e/0x40
[ 1153.005257] smpboot_thread_fn+0xd9/0x1d0
[ 1153.005485] kthread+0xda/0x110
[ 1153.005666] ? __pfx_kthread+0x10/0x10
[ 1153.005880] ret_from_fork+0x31/0x50
[ 1153.006071] ? __pfx_kthread+0x10/0x10
[ 1153.006283] ret_from_fork_asm+0x1b/0x30
[ 1153.006507]
[ 1153.295325] irq 4: nobody cared (try booting with the "irqpoll" option)
[ 1153.295680] CPU: 1 PID: 4828 Comm: perl Not tainted 6.8.0-rc3-virtme #1
[ 1153.296020] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 1153.296598] Call Trace:
[ 1153.296734]
[ 1153.296849] dump_stack_lvl+0x4b/0x80
[ 1153.297051] __report_bad_irq+0x2b/0xc0
[ 1153.297255] note_interrupt+0x2a7/0x2f0
[ 1153.297455] handle_irq_event+0x72/0x80
[ 1153.297661] handle_edge_irq+0x8b/0x230
[ 1153.297868] __common_interrupt+0x4b/0x100
[ 1153.298094] common_interrupt+0x81/0xa0
[ 1153.298297]
[ 1153.298413]
[ 1153.298529] asm_common_interrupt+0x26/0x40
[ 1153.298751] RIP: 0010:_raw_spin_unlock_irqrestore+0x39/0x50
[ 1153.299041] Code: c7 18 53 48 89 f3 48 8b 74 24 10 e8 81 bc 38 ff 48 89 ef e8 39 ed 38 ff 80 e7 02 74 06 e8 4f 16 46 ff fb 65 ff 0d cf 68 9f 79 <74> 07 5b 5d c3 cc cc cc cc 0f 1f 44 00 00 5b 5d c3 cc cc cc cc 66
[ 1153.299987] RSP: 0018:ffffb08d826ffd18 EFLAGS: 00000286
[ 1153.300266] RAX: 0000000000000001 RBX: 0000000000000282 RCX: 0000000000000017
[ 1153.300640] RDX: ffffffff861c77e2 RSI: ffffffff86638671 RDI: ffffffff86638671
[ 1153.301007] RBP: ffffffff88802f20 R08: 0000000000000000 R09: 0000000000000000
[ 1153.301374] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001
[ 1153.301743] R13: 0000000000000000 R14: ffff95d5c24d4401 R15: ffff95d5c20e0000
[ 1153.302125] ? rpm_suspend+0x232/0x700
[ 1153.302324] ? _raw_spin_unlock_irqrestore+0x31/0x50
[ 1153.302581] ? _raw_spin_unlock_irqrestore+0x31/0x50
[ 1153.302841] ? _raw_spin_unlock_irqrestore+0x31/0x50
[ 1153.303098] uart_write+0x103/0x1d0
[ 1153.303287] n_tty_write+0x1a6/0x530
[ 1153.303478] ? __pfx_woken_wake_function+0x10/0x10
[ 1153.303730] file_tty_write.constprop.0+0x164/0x340
[ 1153.304003] vfs_write+0x38d/0x550
[ 1153.304187] ksys_write+0x69/0xf0
[ 1153.304365] do_syscall_64+0xc9/0x1e0
[ 1153.304559] entry_SYSCALL_64_after_hwframe+0x6f/0x77
[ 1153.304822] RIP: 0033:0x7f6518adf957
[ 1153.305012] Code: 0b 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24
[ 1153.305945] RSP: 002b:00007fff1236b758 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 1153.306336] RAX: ffffffffffffffda RBX: 0000562bcb11dec0 RCX: 00007f6518adf957
[ 1153.306698] RDX: 0000000000000001 RSI: 0000562bcb11dec0 RDI: 0000000000000001
[ 1153.307063] RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000002000
[ 1153.307428] R10: 0000000000000001 R11: 0000000000000246 R12: 0000562bcb10a500
[ 1153.307791] R13: 0000562bcb0eb2a0 R14: 0000000000000001 R15: 0000562bcb10a500
[ 1153.308170]
[ 1153.308290] handlers:
[ 1153.308414] [<0000000098453fc3>] serial8250_interrupt
[ 1153.308681] Disabling IRQ #4
[ 1165.769818] ncat (5633) used greatest stack depth: 10680 bytes left
TEST: mirred_egress_to_ingress_tcp (skip_hw) [ OK ]
# INFO: Could not test offloaded functionality
ok 1 selftests:
WAIT TIMEOUT stdout
Ctrl-C stdout
Ctrl-C stdout
WAIT TIMEOUT stdout