make -C tools/testing/selftests TARGETS="net" TEST_PROGS=run_afpackettestss TEST_GEN_PROGS="" run_tests
make: Entering directory '/home/virtme/testing-3/tools/testing/selftests'
make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net'
make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net'
TAP version 13
1..1
# overriding timeout to 7200
# selftests: net: run_afpackettests
# 0.06 [+0.06] --------------------
# 0.06 [+0.00] running psock_fanout test
# 0.06 [+0.00] --------------------
# 0.44 [+0.38] test: unbound fanout
# 0.48 [+0.03] test: control single socket
# 0.49 [+0.01] test: control multiple sockets
# 0.59 [+0.10] test: control multiple sockets with link down toggle
# 0.72 [+0.13] test: control multiple sockets, max_num_members
# 0.81 [+0.09] test: unique ids
# 0.88 [+0.07] 
# 0.88 [+0.00] test: datapath 0x0 ports 8000,8002
# 0.92 [+0.04] info: count=0,0, expect=0,0
# 0.92 [+0.00] info: count=0,20, expect=15,5
# 0.92 [+0.00] warning: incorrect queue lengths
# 0.93 [+0.00] info: count=0,20, expect=20,5
# 0.93 [+0.00] warning: incorrect queue lengths
# 0.98 [+0.06] info: trying alternate ports (20)
# 0.98 [+0.00] 
# 0.98 [+0.00] test: datapath 0x0 ports 8000,8003
# 1.02 [+0.04] info: count=0,0, expect=0,0
# 1.02 [+0.00] info: count=0,20, expect=15,5
# 1.03 [+0.00] warning: incorrect queue lengths
# 1.03 [+0.00] info: count=0,20, expect=20,5
# 1.03 [+0.00] warning: incorrect queue lengths
# 1.07 [+0.05] info: trying alternate ports (19)
# 1.08 [+0.00] 
# 1.08 [+0.00] test: datapath 0x0 ports 8000,8004
# 1.12 [+0.04] info: count=0,0, expect=0,0
# 1.12 [+0.00] info: count=5,15, expect=15,5
# 1.12 [+0.00] info: count=5,20, expect=20,5
# 1.17 [+0.05] 
# 1.17 [+0.00] test: datapath 0x1000 ports 8000,8004
# 1.21 [+0.03] info: count=0,0, expect=0,0
# 1.21 [+0.00] info: count=5,15, expect=15,5
# 1.21 [+0.00] info: count=15,20, expect=20,15
# 1.26 [+0.05] 
# 1.26 [+0.00] test: datapath 0x1 ports 8000,8004
# 1.30 [+0.03] info: count=0,0, expect=0,0
# 1.30 [+0.00] info: count=10,10, expect=10,10
# 1.30 [+0.00] info: count=17,18, expect=18,17
# 1.36 [+0.06] 
# 1.36 [+0.00] test: datapath 0x3 ports 8000,8004
# 1.40 [+0.04] info: count=0,0, expect=0,0
# 1.40 [+0.00] info: count=15,5, expect=15,5
# 1.41 [+0.00] info: count=20,15, expect=20,15
# 1.46 [+0.06] 
# 1.46 [+0.00] test: datapath 0x6 ports 8000,8004
# 1.51 [+0.05] info: count=0,0, expect=0,0
# 1.52 [+0.00] info: count=5,15, expect=15,5
# 1.52 [+0.00] info: count=20,15, expect=15,20
# 1.59 [+0.07] 
# 1.59 [+0.00] test: datapath 0x7 ports 8000,8004
# 1.63 [+0.04] info: count=0,0, expect=0,0
# 1.63 [+0.00] info: count=5,15, expect=15,5
# 1.63 [+0.00] info: count=20,15, expect=15,20
# 1.69 [+0.06] 
# 1.69 [+0.00] test: datapath 0x2 ports 8000,8004
# 1.73 [+0.03] info: count=0,0, expect=0,0
# 1.73 [+0.00] info: count=20,0, expect=20,0
# 1.73 [+0.00] info: count=20,0, expect=20,0
# 1.78 [+0.05] 
# 1.78 [+0.00] test: datapath 0x2 ports 8000,8004
# 1.83 [+0.04] info: count=0,0, expect=0,0
# 1.83 [+0.00] info: count=0,20, expect=0,20
# 1.83 [+0.00] info: count=0,20, expect=0,20
# 1.86 [+0.03] 
# 1.86 [+0.00] test: datapath 0x2000 ports 8000,8004
# 1.89 [+0.03] info: count=0,0, expect=0,0
# 1.89 [+0.00] info: count=20,20, expect=20,20
# 1.89 [+0.00] info: count=20,20, expect=20,20
# 1.95 [+0.06] OK. All tests passed
# 2.05 [+0.10] [PASS]
# 2.05 [+0.00] --------------------
# 2.05 [+0.00] running psock_tpacket test
# 2.05 [+0.00] --------------------
# 2.45 [+0.40] test: TPACKET_V1 with PACKET_RX_RING .................... 100 pkts (14200 bytes)
# 2.52 [+0.07] test: TPACKET_V1 with PACKET_TX_RING .................... 100 pkts (14200 bytes)
# 2.64 [+0.12] test: TPACKET_V2 with PACKET_RX_RING .................... 100 pkts (14200 bytes)
# 2.72 [+0.08] test: TPACKET_V2 with PACKET_TX_RING .................... 100 pkts (14200 bytes)
# 2.84 [+0.12] test: TPACKET_V3 with PACKET_RX_RING .................... 100 pkts (14200 bytes)
# 2.96 [+0.12] test: TPACKET_V3 with PACKET_TX_RING .................... 100 pkts (14200 bytes)
# 3.04 [+0.08] OK. All tests passed
# 3.12 [+0.08] [PASS]
# 3.12 [+0.00] --------------------
# 3.12 [+0.00] running txring_overwrite test
# 3.12 [+0.00] --------------------
# 3.55 [+0.42] read: a (0x61)
# 3.55 [+0.00] read: b (0x62)
# 3.69 [+0.15] [PASS]
ok 1 selftests: net: run_afpackettests
make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net'
make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests'
xx__-> echo $?
0
xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak
xx__->