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 0
# selftests: net/forwarding: tc_actions.sh
# TEST: gact drop and ok (skip_hw) [ OK ]
[ 1117.101783] 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 ]
[ 1121.775177] ping (6965) used greatest stack depth: 11512 bytes left
# TEST: mirred_egress_to_ingress (skip_hw) [ OK ]
# [ 1128.716099] irq 4: nobody cared (try booting with the "irqpoll" option)
[ 1128.716489] CPU: 1 PID: 6238 Comm: perl Not tainted 6.8.0-rc1-virtme #1
[ 1128.716840] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 1128.717435] Call Trace:
[ 1128.717569]
[ 1128.717686] dump_stack_lvl+0x4b/0x80
[ 1128.717886] __report_bad_irq+0x2b/0xc0
[ 1128.718092] note_interrupt+0x2a7/0x2f0
[ 1128.718300] handle_irq_event+0x72/0x80
[ 1128.718508] handle_edge_irq+0x8b/0x230
[ 1128.718716] __common_interrupt+0x4e/0x100
[ 1128.718937] common_interrupt+0x81/0xa0
[ 1128.719147]
[ 1128.719267]
[ 1128.719387] asm_common_interrupt+0x26/0x40
[ 1128.719612] RIP: 0010:_raw_spin_unlock_irqrestore+0x39/0x50
[ 1128.719908] Code: c7 18 53 48 89 f3 48 8b 74 24 10 e8 f1 39 39 ff 48 89 ef e8 a9 6a 39 ff 80 e7 02 74 06 e8 2f 93 46 ff fb 65 ff 0d 8f e4 bf 6e <74> 07 5b 5d c3 cc cc cc cc 0f 1f 44 00 00 5b 5d c3 cc cc cc cc 66
[ 1128.720869] RSP: 0018:ffffbc9ac6a0fd18 EFLAGS: 00000286
[ 1128.721149] RAX: 000000000052feb7 RBX: 0000000000000282 RCX: 0000000000000040
[ 1128.721524] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff91430ab1
[ 1128.721923] RBP: ffffffff93600f20 R08: 0000000000000001 R09: 0000000000000001
[ 1128.722302] R10: 0000000000000005 R11: 0000000000000001 R12: 0000000000000001
[ 1128.722745] R13: 0000000000000000 R14: ffff9c5b82468801 R15: ffff9c5b82270000
[ 1128.723254] ? _raw_spin_unlock_irqrestore+0x31/0x50
[ 1128.723634] ? _raw_spin_unlock_irqrestore+0x31/0x50
[ 1128.724022] uart_write+0x103/0x1d0
[ 1128.724323] n_tty_write+0x1a9/0x530
[ 1128.724620] ? __pfx_woken_wake_function+0x10/0x10
[ 1128.725003] file_tty_write.constprop.0+0x167/0x340
[ 1128.725389] vfs_write+0x390/0x550
[ 1128.725668] ksys_write+0x69/0xf0
[ 1128.725942] do_syscall_64+0xcc/0x1e0
[ 1128.726237] entry_SYSCALL_64_after_hwframe+0x6f/0x77
[ 1128.726639] RIP: 0033:0x7f3313af8957
[ 1128.726925] 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
[ 1128.728330] RSP: 002b:00007ffc2826de28 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 1128.728925] RAX: ffffffffffffffda RBX: 000055e1d4f8edb0 RCX: 00007f3313af8957
[ 1128.729475] RDX: 0000000000000001 RSI: 000055e1d4f8edb0 RDI: 0000000000000001
[ 1128.730023] RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000002000
[ 1128.730569] R10: 0000000000000001 R11: 0000000000000246 R12: 000055e1d4f7b4e0
[ 1128.731115] R13: 000055e1d4f5c2a0 R14: 0000000000000001 R15: 000055e1d4f7b4e0
[ 1128.731686]
[ 1128.731864] handlers:
[ 1128.732048] [<0000000037cb2f59>] serial8250_interrupt
[ 1128.732524] Disabling IRQ #4
[ 1143.640840] ncat (7084) used greatest stack depth: 10672 bytes left
[ 1159.961903]
[ 1159.962001] ============================================
[ 1159.962290] WARNING: possible recursive locking detected
[ 1159.962574] 6.8.0-rc1-virtme #1 Not tainted
[ 1159.962799] --------------------------------------------
[ 1159.963081] perl/6238 is trying to acquire lock:
[ 1159.963330] ffff9c5b865700b0 (slock-AF_INET/1){+.-.}-{2:2}, at: tcp_v4_rcv+0xdb5/0xef0
[ 1159.963747]
[ 1159.963747] but task is already holding lock:
[ 1159.964059] ffff9c5b86570cb0 (slock-AF_INET/1){+.-.}-{2:2}, at: tcp_v4_rcv+0xdb5/0xef0
[ 1159.964481]
[ 1159.964481] other info that might help us debug this:
[ 1159.964819] Possible unsafe locking scenario:
[ 1159.964819]
[ 1159.965131] CPU0
[ 1159.965270] ----
[ 1159.965403] lock(slock-AF_INET/1);
[ 1159.965599] lock(slock-AF_INET/1);
[ 1159.965790]
[ 1159.965790] *** DEADLOCK ***
[ 1159.965790]
[ 1159.966104] May be due to missing lock nesting notation
[ 1159.966104]
[ 1159.966459] 12 locks held by perl/6238:
[ 1159.966670] #0: ffff9c5b819420a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x28/0x60
[ 1159.967134] #1: ffff9c5b81942130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write.constprop.0+0xa5/0x340
[ 1159.967677] #2: ffff9c5b819422e8 (&tty->termios_rwsem){++++}-{3:3}, at: n_tty_write+0xa4/0x530
[ 1159.968126] #3: ffffbc9ac0257380 (&ldata->output_lock){+.+.}-{3:3}, at: n_tty_write+0x236/0x530
[ 1159.968581] #4: ffffffff921678c0 (rcu_read_lock){....}-{1:2}, at: process_backlog+0x6f/0x260
[ 1159.969032] #5: ffffffff921678c0 (rcu_read_lock){....}-{1:2}, at: ip_local_deliver_finish+0x6f/0x180
[ 1159.969514] #6: ffff9c5b86570cb0 (slock-AF_INET/1){+.-.}-{2:2}, at: tcp_v4_rcv+0xdb5/0xef0
[ 1159.969951] #7: ffffffff921678c0 (rcu_read_lock){....}-{1:2}, at: __ip_queue_xmit+0x3f/0x6f0
[ 1159.970401] #8: ffffffff921678c0 (rcu_read_lock){....}-{1:2}, at: ip_finish_output2+0xc6/0xa20
[ 1159.970858] #9: ffffffff92167880 (rcu_read_lock_bh){....}-{1:2}, at: __dev_queue_xmit+0x6e/0x1180
[ 1159.971325] #10: ffffffff921678c0 (rcu_read_lock){....}-{1:2}, at: netif_receive_skb+0x58/0x2c0
[ 1159.971781] #11: ffffffff921678c0 (rcu_read_lock){....}-{1:2}, at: ip_local_deliver_finish+0x6f/0x180
[ 1159.972263]
[ 1159.972263] stack backtrace:
[ 1159.972495] CPU: 0 PID: 6238 Comm: perl Not tainted 6.8.0-rc1-virtme #1
[ 1159.972837] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 1159.973424] Call Trace:
[ 1159.973559]
[ 1159.973674] dump_stack_lvl+0x4b/0x80
[ 1159.973876] __lock_acquire+0x1215/0x1750
[ 1159.974096] ? sk_filter_trim_cap+0x53/0x360
[ 1159.974341] lock_acquire+0xc1/0x2b0
[ 1159.974537] ? tcp_v4_rcv+0xdb5/0xef0
[ 1159.974732] ? sk_filter_trim_cap+0x11a/0x360
[ 1159.974963] _raw_spin_lock_nested+0x2e/0x40
[ 1159.975193] ? tcp_v4_rcv+0xdb5/0xef0
[ 1159.975392] tcp_v4_rcv+0xdb5/0xef0
[ 1159.975584] ip_protocol_deliver_rcu+0x4b/0x1e0
[ 1159.975829] ip_local_deliver_finish+0xaf/0x180
[ 1159.976074] __netif_receive_skb_one_core+0x8b/0xa0
[ 1159.976337] netif_receive_skb+0x87/0x2c0
[ 1159.976554] tcf_mirred_to_dev+0x1f6/0x410 [act_mirred]
[ 1159.976837] tcf_mirred_act+0xee/0x560 [act_mirred]
[ 1159.977103] ? tcf_skbedit_act+0x1d6/0x410 [act_skbedit]
[ 1159.977386] tcf_action_exec+0xaf/0x230
[ 1159.977592] fl_classify+0x20e/0x260 [cls_flower]
[ 1159.977851] ? fl_mask_lookup+0x17e/0x5a0 [cls_flower]
[ 1159.978122] ? __pfx_usage_match+0x10/0x10
[ 1159.978343] ? __bfs+0xf6/0x240
[ 1159.978513] ? check_irq_usage+0x19c/0xc40
[ 1159.978733] ? check_path.constprop.0+0x24/0x50
[ 1159.978979] ? check_noncircular+0x81/0x150
[ 1159.979204] ? lock_release+0xbe/0x270
[ 1159.979413] ? __lock_acquire+0xa6e/0x1750
[ 1159.979633] tcf_classify+0x17d/0x540
[ 1159.979834] tc_run+0x9f/0x150
[ 1159.980004] __dev_queue_xmit+0x311/0x1180
[ 1159.980223] ? mark_held_locks+0x49/0x80
[ 1159.980432] ip_finish_output2+0x39f/0xa20
[ 1159.980651] ? __ip_queue_xmit+0x1d5/0x6f0
[ 1159.980870] __ip_queue_xmit+0x1d5/0x6f0
[ 1159.981081] __tcp_transmit_skb+0xb65/0xd30
[ 1159.981308] ? __alloc_skb+0xdc/0x1a0
[ 1159.981508] tcp_fin+0x116/0x380
[ 1159.981686] tcp_data_queue+0x9d0/0xf60
[ 1159.981890] tcp_rcv_state_process+0x489/0x11f0
[ 1159.982129] ? tcp_v4_rcv+0xdb5/0xef0
[ 1159.982325] ? tcp_v4_do_rcv+0x64/0x360
[ 1159.982529] tcp_v4_do_rcv+0x64/0x360
[ 1159.982727] tcp_v4_rcv+0xe4f/0xef0
[ 1159.982917] ? process_backlog+0x6f/0x260
[ 1159.983130] ip_protocol_deliver_rcu+0x4b/0x1e0
[ 1159.983371] ip_local_deliver_finish+0xaf/0x180
[ 1159.983613] __netif_receive_skb_one_core+0x8b/0xa0
[ 1159.983870] process_backlog+0x7c/0x260
[ 1159.984076] __napi_poll.constprop.0+0x2a/0x1e0
[ 1159.984328] net_rx_action+0x2be/0x340
[ 1159.984537] __do_softirq+0xcb/0x37a
[ 1159.984731] irq_exit_rcu+0x7f/0xa0
[ 1159.984926] sysvec_apic_timer_interrupt+0x78/0x90
[ 1159.985186]
[ 1159.985302]
[ 1159.985419] asm_sysvec_apic_timer_interrupt+0x1a/0x20
[ 1159.985694] RIP: 0010:_raw_spin_unlock_irqrestore+0x39/0x50
[ 1159.986010] Code: c7 18 53 48 89 f3 48 8b 74 24 10 e8 f1 39 39 ff 48 89 ef e8 a9 6a 39 ff 80 e7 02 74 06 e8 2f 93 46 ff fb 65 ff 0d 8f e4 bf 6e <74> 07 5b 5d c3 cc cc cc cc 0f 1f 44 00 00 5b 5d c3 cc cc cc cc 66
[ 1159.986974] RSP: 0018:ffffbc9ac6a0fd18 EFLAGS: 00000286
[ 1159.987252] RAX: 0000000002815a59 RBX: 0000000000000282 RCX: 0000000000000040
[ 1159.987626] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff91430ab1
[ 1159.988006] RBP: ffffffff93600f20 R08: 0000000000000001 R09: 0000000000000001
[ 1159.988383] R10: 0000000000000005 R11: 0000000000000001 R12: 0000000000000001
[ 1159.988756] R13: 0000000000000000 R14: ffff9c5b82468801 R15: ffff9c5b82270000
[ 1159.989130] ? _raw_spin_unlock_irqrestore+0x31/0x50
[ 1159.989397] ? _raw_spin_unlock_irqrestore+0x31/0x50
[ 1159.989659] uart_write+0x103/0x1d0
[ 1159.989853] n_tty_write+0x1a9/0x530
[ 1159.990050] ? __pfx_woken_wake_function+0x10/0x10
[ 1159.990305] file_tty_write.constprop.0+0x167/0x340
[ 1159.990569] vfs_write+0x390/0x550
[ 1159.990757] ksys_write+0x69/0xf0
[ 1159.990938] do_syscall_64+0xcc/0x1e0
[ 1159.991136] entry_SYSCALL_64_after_hwframe+0x6f/0x77
[ 1159.991404] RIP: 0033:0x7f3313af8957
[ 1159.991597] 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
[ 1159.992561] RSP: 002b:00007ffc2826de28 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 1159.992956] RAX: ffffffffffffffda RBX: 000055e1d4f8edb0 RCX: 00007f3313af8957
[ 1159.993326] RDX: 0000000000000001 RSI: 000055e1d4f8edb0 RDI: 0000000000000001
[ 1159.993697] RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000002000
[ 1159.994065] R10: 0000000000000001 R11: 0000000000000246 R12: 000055e1d4f7b4e0
[ 1159.994448] R13: 000055e1d4f5c2a0 R14: 0000000000000001 R15: 000055e1d4f7b4e0
[ 1159.994827]
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