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 # 2.20 [+2.20] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 2.31 [+0.12] TEST: vx20: Expected 5 FDB entries, got 5 [ OK ] # 2.40 [+0.08] TEST: Flush FDB by dev vx10 [ OK ] # 2.51 [+0.11] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 2.51 [+0.00] TEST: Flush FDB by dev vx10 - test vx10 entries [ OK ] # 2.63 [+0.12] TEST: vx20: Expected 5 FDB entries, got 5 [ OK ] # 2.63 [+0.00] TEST: Flush FDB by dev vx10 - test vx20 entries [ OK ] # 5.04 [+2.41] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 5.14 [+0.10] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 5.23 [+0.09] TEST: Flush FDB by dev vx10 and vni 4000 [ OK ] # 5.34 [+0.10] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 5.34 [+0.00] TEST: Test entries with vni 3000 [ OK ] # 5.45 [+0.10] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 5.45 [+0.00] TEST: Test entries with vni 4000 [ OK ] # 8.09 [+2.64] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 8.18 [+0.09] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 8.26 [+0.08] TEST: Flush FDB by dev vx10 and src_vni 3000 [ OK ] # 8.35 [+0.10] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 8.35 [+0.00] TEST: Test entries with src_vni 4000 [ OK ] # 8.45 [+0.10] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 8.45 [+0.00] TEST: Test entries with src_vni 3000 [ OK ] # 10.89 [+2.44] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 11.02 [+0.12] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 11.11 [+0.09] TEST: Flush FDB by dev vx10 and port 4321 [ OK ] # 11.21 [+0.10] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 11.21 [+0.00] TEST: Test entries with port 1234 [ OK ] # 11.33 [+0.12] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 11.33 [+0.00] TEST: Test entries with port 4321 [ OK ] # 13.78 [+2.45] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 13.89 [+0.11] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 13.97 [+0.09] TEST: Flush FDB by dev vx10 and dst 192.0.2.2 [ OK ] # 14.11 [+0.14] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 14.12 [+0.00] TEST: Test entries with dst 192.0.2.1 [ OK ] # 14.20 [+0.08] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 14.20 [+0.00] TEST: Test entries with dst 192.0.2.2 [ OK ] # 17.17 [+2.97] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 17.27 [+0.11] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 17.38 [+0.11] TEST: Flush FDB by dev vx10 and nhid 200 [ OK ] # 17.47 [+0.09] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 17.47 [+0.00] TEST: Test entries with nhid 100 [ OK ] # 17.59 [+0.12] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 17.59 [+0.00] TEST: Test entries with nhid 200 [ OK ] # 17.69 [+0.10] TEST: Flush FDB by dev vx10 and nhid 100 [ OK ] # 17.77 [+0.09] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 17.78 [+0.00] TEST: Test entries with 'nhid' keyword [ OK ] # 17.85 [+0.08] TEST: Flush FDB by nhid when there are no entries with nexthop [ OK ] # 20.14 [+2.28] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 20.24 [+0.10] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 20.33 [+0.09] TEST: Flush FDB by dev vx10 and state permanent [ OK ] # 20.41 [+0.08] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 20.42 [+0.00] TEST: Test entries with state permanent [ OK ] # 20.52 [+0.10] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 20.52 [+0.00] TEST: Test entries with state extern_learn [ OK ] # 22.81 [+2.29] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 22.92 [+0.11] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 23.01 [+0.08] TEST: Flush FDB by dev vx10 and state nopermanent [ OK ] # 23.11 [+0.10] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 23.12 [+0.01] TEST: Test entries with state permanent [ OK ] # 23.23 [+0.11] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 23.23 [+0.00] TEST: Test entries with state static [ OK ] # 25.56 [+2.33] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 25.65 [+0.09] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 25.74 [+0.09] TEST: Flush FDB by dev vx10 and state static [ OK ] # 25.81 [+0.08] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 25.82 [+0.00] TEST: Test entries with state static [ OK ] # 25.92 [+0.10] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 25.92 [+0.00] TEST: Test entries with state dynamic [ OK ] # 28.21 [+2.29] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 28.32 [+0.11] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 28.41 [+0.09] TEST: Flush FDB by dev vx10 and state nostatic [ OK ] # 28.51 [+0.09] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 28.51 [+0.00] TEST: Test entries with state permanent [ OK ] # 28.60 [+0.09] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 28.60 [+0.00] TEST: Test entries with state dynamic [ OK ] # 30.93 [+2.33] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 31.01 [+0.08] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 31.10 [+0.09] TEST: Flush FDB by dev vx10 and state dynamic [ OK ] # 31.19 [+0.08] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 31.19 [+0.00] TEST: Test entries with state dynamic [ OK ] # 31.28 [+0.10] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 31.29 [+0.00] TEST: Test entries with state static [ OK ] # 33.62 [+2.33] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 33.70 [+0.09] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 33.79 [+0.09] TEST: Flush FDB by dev vx10 and state nodynamic [ OK ] # 33.89 [+0.10] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 33.90 [+0.00] TEST: Test entries with state permanent [ OK ] # 34.01 [+0.11] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 34.01 [+0.00] TEST: Test entries with state dynamic [ OK ] # 36.32 [+2.31] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 36.42 [+0.10] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 36.51 [+0.09] TEST: Flush FDB by dev vx10 and flag extern_learn [ OK ] # 36.61 [+0.09] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 36.61 [+0.00] TEST: Test entries with flag extern_learn [ OK ] # 36.70 [+0.09] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 36.70 [+0.00] TEST: Test entries with flag router [ OK ] # 38.99 [+2.29] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 39.09 [+0.09] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 39.18 [+0.09] TEST: Flush FDB by dev vx10 and flag noextern_learn [ OK ] # 39.27 [+0.10] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 39.28 [+0.00] TEST: Test entries with flag extern_learn [ OK ] # 39.38 [+0.11] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 39.39 [+0.00] TEST: Test entries with flag router [ OK ] # 41.69 [+2.31] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 41.77 [+0.08] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 41.86 [+0.08] TEST: Flush FDB by dev vx10 and flag router [ OK ] # 41.96 [+0.10] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 41.96 [+0.00] TEST: Test entries with flag router [ OK ] # 42.07 [+0.11] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 42.07 [+0.00] TEST: Test entries with flag extern_learn [ OK ] # 44.40 [+2.33] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 44.50 [+0.10] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 44.59 [+0.09] TEST: Flush FDB by dev vx10 and flag norouter [ OK ] # 44.69 [+0.10] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 44.69 [+0.00] TEST: Test entries with flag router [ OK ] # 44.79 [+0.10] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 44.79 [+0.00] TEST: Test entries with flag extern_learn [ OK ] # 47.24 [+2.45] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 47.34 [+0.10] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 47.42 [+0.08] TEST: Flush FDB by dev vx10 nhid 100 router [ OK ] # 47.52 [+0.10] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 47.52 [+0.00] TEST: Test entries with state permanent [ OK ] # 47.60 [+0.08] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 47.61 [+0.00] TEST: Test entries with state static [ OK ] # 48.43 [+0.83] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 48.53 [+0.09] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 48.62 [+0.09] TEST: Flush FDB by dev vx10 vni 3000 port 1234 dst 192.0.2.2 [ OK ] # 48.73 [+0.11] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 48.73 [+0.00] TEST: Test entries with dst 192.0.2.1 [ OK ] # 48.82 [+0.09] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 48.83 [+0.00] TEST: Test entries with dst 192.0.2.2 [ OK ] # 51.05 [+2.22] TEST: vx10: Expected 1 FDB entries, got 1 [ OK ] # 51.23 [+0.19] TEST: Flush FDB by dev vx10 dst 192.0.2.1 port 1111 vni 2000 [ OK ] # 51.36 [+0.12] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 51.46 [+0.10] TEST: Check how many entries were flushed [ OK ] # 51.56 [+0.10] TEST: vx10: Expected 2 FDB entries, got 2 [ OK ] # 51.74 [+0.18] TEST: Flush FDB by dev vx10 dst 192.0.2.2 port 2222 [ OK ] # 51.86 [+0.12] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 51.95 [+0.09] TEST: Check how many entries were flushed [ OK ] # 52.05 [+0.10] TEST: vx10: Expected 1 FDB entries, got 1 [ OK ] # 52.22 [+0.18] TEST: Flush FDB by dev vx10 vni 3000 src_vni 5000 [ OK ] # 52.32 [+0.09] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 52.40 [+0.08] TEST: Check how many entries were flushed [ OK ] # 52.50 [+0.10] TEST: vx10: Expected 2 FDB entries, got 2 [ OK ] # 52.68 [+0.18] TEST: Flush FDB by dev vx10 dst 192.0.2.1 [ OK ] # 52.80 [+0.11] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 52.87 [+0.07] TEST: Check how many entries were flushed [ OK ] # 55.45 [+2.58] TEST: br0: Expected 12 FDB entries, got 12 [ OK ] # 55.55 [+0.10] TEST: br1: Expected 12 FDB entries, got 12 [ OK ] # 55.63 [+0.09] TEST: Flush FDB by dev br0 [ OK ] # 55.72 [+0.09] TEST: br0: Expected 1 FDB entries, got 1 [ OK ] # 55.73 [+0.00] TEST: Flush FDB by dev br0 - test br0 entries [ OK ] # 55.83 [+0.11] TEST: br1: Expected 12 FDB entries, got 12 [ OK ] # 55.84 [+0.00] TEST: Flush FDB by dev br0 - test br1 entries [ OK ] # 58.46 [+2.62] TEST: br0: Expected 6 FDB entries, got 6 [ OK ] # 58.55 [+0.09] TEST: br0: Expected 6 FDB entries, got 6 [ OK ] # 58.64 [+0.09] TEST: Flush FDB by dev br0 and vlan 10 [ OK ] # 58.74 [+0.10] TEST: br0: Expected 0 FDB entries, got 0 [ OK ] # 58.74 [+0.00] TEST: Test entries with vlan 10 [ OK ] # 58.83 [+0.09] TEST: br0: Expected 6 FDB entries, got 6 [ OK ] # 58.83 [+0.00] TEST: Test entries with vlan 20 [ OK ] # 61.02 [+2.19] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 61.13 [+0.10] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 61.21 [+0.09] TEST: Flush FDB by dev vx10, vlan 10, master and self [ OK ] # 61.30 [+0.09] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 61.30 [+0.00] TEST: Test entries with vlan 10 [ OK ] # 61.41 [+0.11] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 61.42 [+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__->