make -C tools/testing/selftests TARGETS="net" TEST_PROGS=test_bridge_backuup_port.sh 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/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net/lib' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: test_bridge_backup_port.sh # 11.99 [+11.99] # 11.99 [+0.00] Backup port # 11.99 [+0.00] ----------- # 13.40 [+1.41] TEST: Forwarding out of swp1 [ OK ] # 13.72 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 14.04 [+0.32] TEST: swp1 carrier off [ OK ] # 14.66 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 15.00 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 15.36 [+0.36] TEST: swp1 carrier on [ OK ] # 15.61 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.23 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 16.58 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 16.91 [+0.33] TEST: swp1 carrier off [ OK ] # 17.51 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 17.86 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 18.17 [+0.31] TEST: swp1 carrier on [ OK ] # 18.80 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 19.12 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 19.38 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.02 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 20.39 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 20.71 [+0.32] TEST: swp1 carrier off [ OK ] # 21.33 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 21.65 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 34.68 [+13.04] # 34.68 [+0.00] Backup nexthop ID # 34.69 [+0.00] ----------------- # 36.88 [+2.20] TEST: vx0 configured as backup port of swp1 [ OK ] # 37.48 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 37.80 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 38.15 [+0.36] TEST: swp1 carrier off [ OK ] # 38.76 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 39.10 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 39.43 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 39.79 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 40.10 [+0.31] TEST: swp1 carrier on [ OK ] # 40.33 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 40.94 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 41.26 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 41.57 [+0.31] TEST: swp1 carrier off [ OK ] # 42.16 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 42.50 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 42.83 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 43.20 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.52 [+0.33] TEST: swp1 carrier on [ OK ] # 44.12 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 44.45 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 44.80 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 45.11 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.37 [+0.26] TEST: No backup nexthop ID configured for swp1 [ OK ] # 46.01 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 46.36 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 46.70 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 47.03 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.35 [+0.32] TEST: swp1 carrier off [ OK ] # 47.97 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 48.30 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 48.61 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 48.94 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 61.98 [+13.04] # 61.98 [+0.00] Backup nexthop ID - invalid IDs # 61.98 [+0.00] ------------------------------- # 64.29 [+2.31] TEST: vx0 configured as backup port of swp1 [ OK ] # 64.52 [+0.23] TEST: Valid nexthop as backup nexthop [ OK ] # 64.82 [+0.30] TEST: swp1 carrier off [ OK ] # 65.49 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 65.82 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 66.17 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 66.34 [+0.17] TEST: No Tx drop increase [ OK ] # 66.62 [+0.28] TEST: Non-existent nexthop as backup nexthop [ OK ] # 67.24 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 67.58 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 67.89 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 68.07 [+0.18] TEST: Tx drop increased [ OK ] # 68.42 [+0.36] TEST: Blackhole nexthop as backup nexthop [ OK ] # 69.05 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 69.37 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 69.72 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 69.85 [+0.13] TEST: Tx drop increased [ OK ] # 70.13 [+0.28] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 70.80 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 71.14 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 71.48 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 71.63 [+0.15] TEST: Tx drop increased [ OK ] # 72.25 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 72.88 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 73.24 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 73.57 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 73.72 [+0.15] TEST: Tx drop increased [ OK ] # 86.77 [+13.05] # 86.77 [+0.00] Backup nexthop ID - ping # 86.77 [+0.00] ------------------------ # 90.84 [+4.07] TEST: Ping with backup nexthop ID [ OK ] # 96.28 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 109.45 [+13.17] # 109.45 [+0.00] Backup nexthop ID - torture test # 109.45 [+0.00] -------------------------------- # 140.40 [+30.95] TEST: Torture test [ OK ] # 141.27 [+0.87] # 141.27 [+0.00] Tests passed: 83 # 141.27 [+0.00] Tests failed: 0 ok 1 selftests: net: test_bridge_backup_port.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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->