make -C tools/testing/selftests TARGETS="net" TEST_PROGS=fdb_flush.sh TESTT_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-1/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' TAP version 13 1..1 # timeout set to 3600 # selftests: net: fdb_flush.sh # 0.26 [+0.26] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 0.27 [+0.01] TEST: vx20: Expected 5 FDB entries, got 5 [ OK ] # 0.29 [+0.01] TEST: Flush FDB by dev vx10 [ OK ] # 0.30 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 0.30 [+0.00] TEST: Flush FDB by dev vx10 - test vx10 entries [ OK ] # 0.31 [+0.01] TEST: vx20: Expected 5 FDB entries, got 5 [ OK ] # 0.31 [+0.00] TEST: Flush FDB by dev vx10 - test vx20 entries [ OK ] # 0.68 [+0.37] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 0.69 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 0.70 [+0.01] TEST: Flush FDB by dev vx10 and vni 4000 [ OK ] # 0.72 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 0.72 [+0.00] TEST: Test entries with vni 3000 [ OK ] # 0.73 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 0.73 [+0.00] TEST: Test entries with vni 4000 [ OK ] # 1.10 [+0.38] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 1.11 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 1.12 [+0.01] TEST: Flush FDB by dev vx10 and src_vni 3000 [ OK ] # 1.13 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 1.14 [+0.00] TEST: Test entries with src_vni 4000 [ OK ] # 1.14 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 1.15 [+0.00] TEST: Test entries with src_vni 3000 [ OK ] # 1.54 [+0.40] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 1.55 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 1.56 [+0.01] TEST: Flush FDB by dev vx10 and port 4321 [ OK ] # 1.57 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 1.57 [+0.00] TEST: Test entries with port 1234 [ OK ] # 1.58 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 1.58 [+0.00] TEST: Test entries with port 4321 [ OK ] # 1.95 [+0.37] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 1.96 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 1.97 [+0.01] TEST: Flush FDB by dev vx10 and dst 192.0.2.2 [ OK ] # 1.98 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 1.98 [+0.00] TEST: Test entries with dst 192.0.2.1 [ OK ] # 1.99 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 1.99 [+0.00] TEST: Test entries with dst 192.0.2.2 [ OK ] # 2.36 [+0.38] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 2.37 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 2.38 [+0.01] TEST: Flush FDB by dev vx10 and nhid 200 [ OK ] # 2.40 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 2.40 [+0.00] TEST: Test entries with nhid 100 [ OK ] # 2.41 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 2.41 [+0.00] TEST: Test entries with nhid 200 [ OK ] # 2.42 [+0.01] TEST: Flush FDB by dev vx10 and nhid 100 [ OK ] # 2.43 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 2.43 [+0.00] TEST: Test entries with 'nhid' keyword [ OK ] # 2.44 [+0.01] TEST: Flush FDB by nhid when there are no entries with nexthop [ OK ] # 2.75 [+0.32] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 2.77 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 2.77 [+0.01] TEST: Flush FDB by dev vx10 and state permanent [ OK ] # 2.79 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 2.79 [+0.00] TEST: Test entries with state permanent [ OK ] # 2.79 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 2.80 [+0.00] TEST: Test entries with state extern_learn [ OK ] # 3.15 [+0.36] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 3.16 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 3.17 [+0.01] TEST: Flush FDB by dev vx10 and state nopermanent [ OK ] # 3.18 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 3.18 [+0.00] TEST: Test entries with state permanent [ OK ] # 3.19 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 3.19 [+0.00] TEST: Test entries with state static [ OK ] # 3.51 [+0.32] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 3.53 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 3.53 [+0.01] TEST: Flush FDB by dev vx10 and state static [ OK ] # 3.55 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 3.55 [+0.00] TEST: Test entries with state static [ OK ] # 3.56 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 3.56 [+0.00] TEST: Test entries with state dynamic [ OK ] # 3.86 [+0.31] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 3.87 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 3.88 [+0.01] TEST: Flush FDB by dev vx10 and state nostatic [ OK ] # 3.89 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 3.90 [+0.00] TEST: Test entries with state permanent [ OK ] # 3.91 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 3.91 [+0.00] TEST: Test entries with state dynamic [ OK ] # 4.26 [+0.35] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 4.27 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 4.28 [+0.01] TEST: Flush FDB by dev vx10 and state dynamic [ OK ] # 4.29 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 4.29 [+0.00] TEST: Test entries with state dynamic [ OK ] # 4.30 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 4.30 [+0.00] TEST: Test entries with state static [ OK ] # 4.65 [+0.35] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 4.66 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 4.68 [+0.01] TEST: Flush FDB by dev vx10 and state nodynamic [ OK ] # 4.69 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 4.69 [+0.00] TEST: Test entries with state permanent [ OK ] # 4.70 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 4.70 [+0.00] TEST: Test entries with state dynamic [ OK ] # 5.12 [+0.42] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 5.13 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 5.14 [+0.01] TEST: Flush FDB by dev vx10 and flag extern_learn [ OK ] # 5.15 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 5.15 [+0.00] TEST: Test entries with flag extern_learn [ OK ] # 5.16 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 5.16 [+0.00] TEST: Test entries with flag router [ OK ] # 5.54 [+0.38] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 5.55 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 5.57 [+0.01] TEST: Flush FDB by dev vx10 and flag noextern_learn [ OK ] # 5.58 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 5.58 [+0.00] TEST: Test entries with flag extern_learn [ OK ] # 5.59 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 5.59 [+0.00] TEST: Test entries with flag router [ OK ] # 5.94 [+0.34] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 5.95 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 5.96 [+0.01] TEST: Flush FDB by dev vx10 and flag router [ OK ] # 5.97 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 5.97 [+0.00] TEST: Test entries with flag router [ OK ] # 5.98 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 5.98 [+0.00] TEST: Test entries with flag extern_learn [ OK ] # 6.33 [+0.35] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 6.34 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 6.36 [+0.01] TEST: Flush FDB by dev vx10 and flag norouter [ OK ] # 6.37 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 6.37 [+0.00] TEST: Test entries with flag router [ OK ] # 6.38 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 6.38 [+0.00] TEST: Test entries with flag extern_learn [ OK ] # 6.75 [+0.37] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 6.77 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 6.78 [+0.01] TEST: Flush FDB by dev vx10 nhid 100 router [ OK ] # 6.79 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 6.79 [+0.00] TEST: Test entries with state permanent [ OK ] # 6.80 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 6.80 [+0.00] TEST: Test entries with state static [ OK ] # 6.90 [+0.10] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 6.91 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 6.92 [+0.01] TEST: Flush FDB by dev vx10 vni 3000 port 1234 dst 192.0.2.2 [ OK ] # 6.94 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 6.94 [+0.00] TEST: Test entries with dst 192.0.2.1 [ OK ] # 6.95 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 6.95 [+0.00] TEST: Test entries with dst 192.0.2.2 [ OK ] # 7.34 [+0.39] TEST: vx10: Expected 1 FDB entries, got 1 [ OK ] # 7.36 [+0.02] TEST: Flush FDB by dev vx10 dst 192.0.2.1 port 1111 vni 2000 [ OK ] # 7.37 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 7.38 [+0.01] TEST: Check how many entries were flushed [ OK ] # 7.39 [+0.01] TEST: vx10: Expected 2 FDB entries, got 2 [ OK ] # 7.41 [+0.02] TEST: Flush FDB by dev vx10 dst 192.0.2.2 port 2222 [ OK ] # 7.42 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 7.43 [+0.01] TEST: Check how many entries were flushed [ OK ] # 7.44 [+0.01] TEST: vx10: Expected 1 FDB entries, got 1 [ OK ] # 7.46 [+0.02] TEST: Flush FDB by dev vx10 vni 3000 src_vni 5000 [ OK ] # 7.48 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 7.49 [+0.01] TEST: Check how many entries were flushed [ OK ] # 7.50 [+0.01] TEST: vx10: Expected 2 FDB entries, got 2 [ OK ] # 7.52 [+0.03] TEST: Flush FDB by dev vx10 dst 192.0.2.1 [ OK ] # 7.54 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 7.55 [+0.01] TEST: Check how many entries were flushed [ OK ] # 7.95 [+0.40] TEST: br0: Expected 12 FDB entries, got 12 [ OK ] # 7.96 [+0.01] TEST: br1: Expected 12 FDB entries, got 12 [ OK ] # 7.97 [+0.01] TEST: Flush FDB by dev br0 [ OK ] # 7.98 [+0.01] TEST: br0: Expected 1 FDB entries, got 1 [ OK ] # 7.99 [+0.00] TEST: Flush FDB by dev br0 - test br0 entries [ OK ] # 8.00 [+0.01] TEST: br1: Expected 12 FDB entries, got 12 [ OK ] # 8.00 [+0.00] TEST: Flush FDB by dev br0 - test br1 entries [ OK ] # 8.41 [+0.41] TEST: br0: Expected 6 FDB entries, got 6 [ OK ] # 8.42 [+0.01] TEST: br0: Expected 6 FDB entries, got 6 [ OK ] # 8.43 [+0.01] TEST: Flush FDB by dev br0 and vlan 10 [ OK ] # 8.45 [+0.01] TEST: br0: Expected 0 FDB entries, got 0 [ OK ] # 8.45 [+0.00] TEST: Test entries with vlan 10 [ OK ] # 8.46 [+0.02] TEST: br0: Expected 6 FDB entries, got 6 [ OK ] # 8.47 [+0.00] TEST: Test entries with vlan 20 [ OK ] # 8.83 [+0.36] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 8.84 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 8.85 [+0.01] TEST: Flush FDB by dev vx10, vlan 10, master and self [ OK ] # 8.87 [+0.01] TEST: vx10: Expected 0 FDB entries, got 0 [ OK ] # 8.87 [+0.00] TEST: Test entries with vlan 10 [ OK ] # 8.88 [+0.01] TEST: vx10: Expected 5 FDB entries, got 5 [ OK ] # 8.88 [+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-1/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-1/tools/testing/selftests' xx__-> echo $? 0 xx__->