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' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: test_bridge_backup_port.sh # 13.45 [+13.45] # 13.45 [+0.00] Backup port # 13.45 [+0.00] ----------- # 15.44 [+1.99] TEST: Forwarding out of swp1 [ OK ] # 15.82 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 16.21 [+0.39] TEST: swp1 carrier off [ OK ] # 16.94 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 17.31 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 17.71 [+0.40] TEST: swp1 carrier on [ OK ] # 17.99 [+0.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 18.73 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 19.12 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 19.51 [+0.39] TEST: swp1 carrier off [ OK ] # 20.24 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 20.63 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 21.04 [+0.40] TEST: swp1 carrier on [ OK ] # 21.76 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 22.15 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 22.44 [+0.29] TEST: vx0 not configured as backup port of swp1 [ OK ] # 23.19 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 23.57 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 23.97 [+0.40] TEST: swp1 carrier off [ OK ] # 24.71 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 25.10 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 40.11 [+15.01] # 40.11 [+0.00] Backup nexthop ID # 40.11 [+0.00] ----------------- # 42.79 [+2.68] TEST: vx0 configured as backup port of swp1 [ OK ] # 43.53 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 43.92 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 44.34 [+0.42] TEST: swp1 carrier off [ OK ] # 45.08 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 45.46 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 45.84 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 46.22 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.62 [+0.40] TEST: swp1 carrier on [ OK ] # 46.90 [+0.28] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 47.64 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 48.02 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 48.44 [+0.42] TEST: swp1 carrier off [ OK ] # 49.17 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 49.54 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 49.93 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 50.33 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.73 [+0.40] TEST: swp1 carrier on [ OK ] # 51.47 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 51.87 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 52.26 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 52.65 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 52.98 [+0.33] TEST: No backup nexthop ID configured for swp1 [ OK ] # 53.71 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 54.07 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 54.45 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 54.84 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.26 [+0.41] TEST: swp1 carrier off [ OK ] # 55.98 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 56.37 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 56.73 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 57.13 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 72.09 [+14.96] # 72.09 [+0.00] Backup nexthop ID - invalid IDs # 72.09 [+0.00] ------------------------------- # 74.80 [+2.71] TEST: vx0 configured as backup port of swp1 [ OK ] # 75.10 [+0.29] TEST: Valid nexthop as backup nexthop [ OK ] # 75.51 [+0.41] TEST: swp1 carrier off [ OK ] # 76.25 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 76.64 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 77.02 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 77.18 [+0.16] TEST: No Tx drop increase [ OK ] # 77.47 [+0.29] TEST: Non-existent nexthop as backup nexthop [ OK ] # 78.21 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 78.60 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 78.96 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 79.11 [+0.15] TEST: Tx drop increased [ OK ] # 79.55 [+0.44] TEST: Blackhole nexthop as backup nexthop [ OK ] # 80.29 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 80.67 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 81.04 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 81.22 [+0.18] TEST: Tx drop increased [ OK ] # 81.50 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 82.24 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 82.64 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 83.01 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 83.18 [+0.17] TEST: Tx drop increased [ OK ] # 83.94 [+0.76] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 84.67 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 85.06 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 85.42 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 85.59 [+0.17] TEST: Tx drop increased [ OK ] # 100.78 [+15.19] # 100.78 [+0.00] Backup nexthop ID - ping # 100.78 [+0.00] ------------------------ # 105.52 [+4.74] TEST: Ping with backup nexthop ID [ OK ] # 111.12 [+5.60] TEST: Ping after disabling backup nexthop ID [ OK ] # 126.16 [+15.04] # 126.16 [+0.00] Backup nexthop ID - torture test # 126.16 [+0.00] -------------------------------- # 157.33 [+31.17] TEST: Torture test [ OK ] # 158.48 [+1.15] # 158.48 [+0.00] Tests passed: 83 # 158.48 [+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__->