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 # 12.34 [+12.34] # 12.34 [+0.00] Backup port # 12.34 [+0.00] ----------- # 13.89 [+1.54] TEST: Forwarding out of swp1 [ OK ] # 14.24 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 14.60 [+0.36] TEST: swp1 carrier off [ OK ] # 15.25 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 15.66 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 16.00 [+0.34] TEST: swp1 carrier on [ OK ] # 16.26 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.87 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 17.24 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 17.60 [+0.37] TEST: swp1 carrier off [ OK ] # 18.27 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 18.65 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 19.02 [+0.37] TEST: swp1 carrier on [ OK ] # 19.69 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 20.05 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 20.36 [+0.31] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.00 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 21.33 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 21.66 [+0.33] TEST: swp1 carrier off [ OK ] # 22.30 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 22.63 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 36.50 [+13.86] # 36.50 [+0.00] Backup nexthop ID # 36.50 [+0.00] ----------------- # 38.94 [+2.44] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.64 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 40.07 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 40.42 [+0.35] TEST: swp1 carrier off [ OK ] # 41.11 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 41.44 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 41.83 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 42.17 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.57 [+0.40] TEST: swp1 carrier on [ OK ] # 42.82 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.48 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 43.83 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 44.16 [+0.33] TEST: swp1 carrier off [ OK ] # 44.83 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 45.21 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 45.58 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 45.98 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.30 [+0.32] TEST: swp1 carrier on [ OK ] # 46.93 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 47.31 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 47.69 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 48.02 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.30 [+0.28] TEST: No backup nexthop ID configured for swp1 [ OK ] # 49.06 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 49.46 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 49.86 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 50.23 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.59 [+0.36] TEST: swp1 carrier off [ OK ] # 51.29 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 51.62 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 51.98 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 52.34 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 66.54 [+14.20] # 66.54 [+0.00] Backup nexthop ID - invalid IDs # 66.54 [+0.00] ------------------------------- # 69.10 [+2.56] TEST: vx0 configured as backup port of swp1 [ OK ] # 69.36 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 69.73 [+0.36] TEST: swp1 carrier off [ OK ] # 70.40 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 70.73 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 71.10 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 71.28 [+0.18] TEST: No Tx drop increase [ OK ] # 71.54 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 72.20 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 72.54 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 72.89 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 73.05 [+0.15] TEST: Tx drop increased [ OK ] # 73.45 [+0.41] TEST: Blackhole nexthop as backup nexthop [ OK ] # 74.07 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 74.39 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 74.72 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 74.88 [+0.16] TEST: Tx drop increased [ OK ] # 75.11 [+0.23] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 75.77 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 76.09 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 76.46 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 76.61 [+0.16] TEST: Tx drop increased [ OK ] # 77.29 [+0.67] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 77.96 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 78.31 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 78.68 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 78.85 [+0.17] TEST: Tx drop increased [ OK ] # 92.77 [+13.93] # 92.77 [+0.00] Backup nexthop ID - ping # 92.78 [+0.00] ------------------------ # 97.15 [+4.38] TEST: Ping with backup nexthop ID [ OK ] # 102.62 [+5.46] TEST: Ping after disabling backup nexthop ID [ OK ] # 116.22 [+13.60] # 116.22 [+0.00] Backup nexthop ID - torture test # 116.22 [+0.00] -------------------------------- # 147.32 [+31.10] TEST: Torture test [ OK ] # 148.23 [+0.91] # 148.23 [+0.00] Tests passed: 83 # 148.23 [+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__->