make -C tools/testing/selftests TARGETS="net" TEST_PROGS=fdb_flush.sh TESTT_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: fdb_flush.sh # 3.81 [+3.81] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 3.93 [+0.12] TEST: vx20: Expected 5 FDB entries, got 5 [ OK ] # 4.09 [+0.16] TEST: Flush FDB by dev vx10 [ OK ] # 4.21 [+0.12] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 4.21 [+0.00] TEST: Flush FDB by dev vx10 - test vx10 entries [ OK ] # 4.34 [+0.12] TEST: vx20: Expected 5 FDB entries, got 5 [ OK ] # 4.34 [+0.00] TEST: Flush FDB by dev vx10 - test vx20 entries [ OK ] # 8.88 [+4.54] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 9.01 [+0.13] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 9.15 [+0.14] TEST: Flush FDB by dev vx10 and vni 4000 [ OK ] # 9.27 [+0.12] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 9.27 [+0.00] TEST: Test entries with vni 3000 [ OK ] # 9.41 [+0.13] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 9.41 [+0.00] TEST: Test entries with vni 4000 [ OK ] # 13.94 [+4.53] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 14.07 [+0.13] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 14.24 [+0.17] TEST: Flush FDB by dev vx10 and src_vni 3000 [ OK ] # 14.36 [+0.12] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 14.36 [+0.00] TEST: Test entries with src_vni 4000 [ OK ] # 14.49 [+0.12] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 14.49 [+0.00] TEST: Test entries with src_vni 3000 [ OK ] # 18.87 [+4.38] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 19.01 [+0.14] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 19.17 [+0.16] TEST: Flush FDB by dev vx10 and port 4321 [ OK ] # 19.31 [+0.14] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 19.31 [+0.00] TEST: Test entries with port 1234 [ OK ] # 19.43 [+0.12] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 19.43 [+0.00] TEST: Test entries with port 4321 [ OK ] # 23.80 [+4.36] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 23.91 [+0.12] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 24.07 [+0.16] TEST: Flush FDB by dev vx10 and dst 192.0.2.2 [ OK ] # 24.20 [+0.13] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 24.20 [+0.00] TEST: Test entries with dst 192.0.2.1 [ OK ] # 24.32 [+0.12] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 24.32 [+0.00] TEST: Test entries with dst 192.0.2.2 [ OK ] # 29.17 [+4.85] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 29.32 [+0.15] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 29.47 [+0.16] TEST: Flush FDB by dev vx10 and nhid 200 [ OK ] # 29.58 [+0.10] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 29.58 [+0.00] TEST: Test entries with nhid 100 [ OK ] # 29.71 [+0.13] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 29.71 [+0.00] TEST: Test entries with nhid 200 [ OK ] # 29.86 [+0.15] TEST: Flush FDB by dev vx10 and nhid 100 [ OK ] # 29.98 [+0.12] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 29.98 [+0.00] TEST: Test entries with 'nhid' keyword [ OK ] # 30.13 [+0.15] TEST: Flush FDB by nhid when there are no entries with nexthop [ OK ] # 34.47 [+4.34] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 34.57 [+0.10] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 34.74 [+0.18] TEST: Flush FDB by dev vx10 and state permanent [ OK ] # 34.86 [+0.12] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 34.87 [+0.00] TEST: Test entries with state permanent [ OK ] # 35.01 [+0.14] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 35.01 [+0.00] TEST: Test entries with state extern_learn [ OK ] # 39.40 [+4.39] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 39.55 [+0.15] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 39.69 [+0.14] TEST: Flush FDB by dev vx10 and state nopermanent [ OK ] # 39.80 [+0.11] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 39.80 [+0.00] TEST: Test entries with state permanent [ OK ] # 39.93 [+0.13] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 39.93 [+0.00] TEST: Test entries with state static [ OK ] # 44.34 [+4.40] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 44.45 [+0.12] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 44.61 [+0.16] TEST: Flush FDB by dev vx10 and state static [ OK ] # 44.74 [+0.12] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 44.74 [+0.00] TEST: Test entries with state static [ OK ] # 44.86 [+0.12] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 44.86 [+0.00] TEST: Test entries with state dynamic [ OK ] # 49.29 [+4.43] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 49.44 [+0.15] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 49.63 [+0.19] TEST: Flush FDB by dev vx10 and state nostatic [ OK ] # 49.76 [+0.13] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 49.76 [+0.00] TEST: Test entries with state permanent [ OK ] # 49.89 [+0.13] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 49.90 [+0.00] TEST: Test entries with state dynamic [ OK ] # 54.38 [+4.49] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 54.51 [+0.13] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 54.67 [+0.16] TEST: Flush FDB by dev vx10 and state dynamic [ OK ] # 54.80 [+0.13] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 54.81 [+0.00] TEST: Test entries with state dynamic [ OK ] # 54.94 [+0.13] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 54.94 [+0.00] TEST: Test entries with state static [ OK ] # 59.39 [+4.45] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 59.52 [+0.13] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 59.68 [+0.16] TEST: Flush FDB by dev vx10 and state nodynamic [ OK ] # 59.82 [+0.14] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 59.82 [+0.00] TEST: Test entries with state permanent [ OK ] # 59.96 [+0.14] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 59.96 [+0.00] TEST: Test entries with state dynamic [ OK ] # 64.41 [+4.45] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 64.54 [+0.12] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 64.70 [+0.16] TEST: Flush FDB by dev vx10 and flag extern_learn [ OK ] # 64.84 [+0.14] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 64.84 [+0.00] TEST: Test entries with flag extern_learn [ OK ] # 64.97 [+0.13] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 64.97 [+0.00] TEST: Test entries with flag router [ OK ] # 69.45 [+4.48] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 69.59 [+0.15] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 69.77 [+0.17] TEST: Flush FDB by dev vx10 and flag noextern_learn [ OK ] # 69.89 [+0.13] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 69.90 [+0.00] TEST: Test entries with flag extern_learn [ OK ] # 70.01 [+0.12] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 70.02 [+0.00] TEST: Test entries with flag router [ OK ] # 74.39 [+4.38] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 74.52 [+0.13] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 74.68 [+0.15] TEST: Flush FDB by dev vx10 and flag router [ OK ] # 74.80 [+0.12] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 74.80 [+0.00] TEST: Test entries with flag router [ OK ] # 74.91 [+0.10] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 74.91 [+0.00] TEST: Test entries with flag extern_learn [ OK ] # 79.18 [+4.27] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 79.29 [+0.11] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 79.44 [+0.15] TEST: Flush FDB by dev vx10 and flag norouter [ OK ] # 79.56 [+0.12] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 79.56 [+0.00] TEST: Test entries with flag router [ OK ] # 79.69 [+0.13] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 79.69 [+0.00] TEST: Test entries with flag extern_learn [ OK ] # 84.31 [+4.62] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 84.44 [+0.13] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 84.59 [+0.15] TEST: Flush FDB by dev vx10 nhid 100 router [ OK ] # 84.71 [+0.12] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 84.71 [+0.00] TEST: Test entries with state permanent [ OK ] # 84.85 [+0.14] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 84.85 [+0.00] TEST: Test entries with state static [ OK ] # 86.42 [+1.57] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 86.56 [+0.14] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 86.72 [+0.16] TEST: Flush FDB by dev vx10 vni 3000 port 1234 dst 192.0.2.2 [ OK ] # 86.82 [+0.10] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 86.83 [+0.00] TEST: Test entries with dst 192.0.2.1 [ OK ] # 86.95 [+0.12] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 86.95 [+0.00] TEST: Test entries with dst 192.0.2.2 [ OK ] # 91.03 [+4.07] TEST: vx10: Expected 1 FDB entries, got 1 [ OK ] # 91.32 [+0.29] TEST: Flush FDB by dev vx10 dst 192.0.2.1 port 1111 vni 2000 [ OK ] # 91.44 [+0.12] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 91.56 [+0.12] TEST: Check how many entries were flushed [ OK ] # 91.67 [+0.11] TEST: vx10: Expected 2 FDB entries, got 2 [ OK ] # 91.95 [+0.28] TEST: Flush FDB by dev vx10 dst 192.0.2.2 port 2222 [ OK ] # 92.08 [+0.13] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 92.20 [+0.12] TEST: Check how many entries were flushed [ OK ] # 92.32 [+0.12] TEST: vx10: Expected 1 FDB entries, got 1 [ OK ] # 92.60 [+0.28] TEST: Flush FDB by dev vx10 vni 3000 src_vni 5000 [ OK ] # 92.74 [+0.14] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 92.88 [+0.13] TEST: Check how many entries were flushed [ OK ] # 93.01 [+0.13] TEST: vx10: Expected 2 FDB entries, got 2 [ OK ] # 93.31 [+0.30] TEST: Flush FDB by dev vx10 dst 192.0.2.1 [ OK ] # 93.43 [+0.13] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 93.55 [+0.12] TEST: Check how many entries were flushed [ OK ] # 98.17 [+4.61] TEST: br0: Expected 12 FDB entries, got 12 [ OK ] # 98.30 [+0.13] TEST: br1: Expected 12 FDB entries, got 12 [ OK ] # 98.45 [+0.16] TEST: Flush FDB by dev br0 [ OK ] # 98.59 [+0.13] TEST: br0: Expected 1 FDB entries, got 1 [ OK ] # 98.59 [+0.00] TEST: Flush FDB by dev br0 - test br0 entries [ OK ] # 98.72 [+0.13] TEST: br1: Expected 12 FDB entries, got 12 [ OK ] # 98.72 [+0.00] TEST: Flush FDB by dev br0 - test br1 entries [ OK ] # 103.63 [+4.91] TEST: br0: Expected 6 FDB entries, got 6 [ OK ] # 103.76 [+0.13] TEST: br0: Expected 6 FDB entries, got 6 [ OK ] # 103.91 [+0.15] TEST: Flush FDB by dev br0 and vlan 10 [ OK ] # 104.03 [+0.12] TEST: br0: Expected 0 FDB entries, got 0 [ OK ] # 104.03 [+0.00] TEST: Test entries with vlan 10 [ OK ] # 104.16 [+0.13] TEST: br0: Expected 6 FDB entries, got 6 [ OK ] # 104.16 [+0.00] TEST: Test entries with vlan 20 [ OK ] # 108.17 [+4.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 108.29 [+0.12] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 108.46 [+0.17] TEST: Flush FDB by dev vx10, vlan 10, master and self [ OK ] # 108.58 [+0.12] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 108.58 [+0.00] TEST: Test entries with vlan 10 [ OK ] # 108.70 [+0.11] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 108.70 [+0.00] TEST: Test entries with dst 192.0.2.1 [ OK ] ok 1 selftests: net: fdb_flush.sh 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__->