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.63 [+12.63] # 12.63 [+0.00] Backup port # 12.63 [+0.00] ----------- # 14.54 [+1.91] TEST: Forwarding out of swp1 [ OK ] # 14.90 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 15.27 [+0.37] TEST: swp1 carrier off [ OK ] # 15.97 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 16.35 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 16.68 [+0.34] TEST: swp1 carrier on [ OK ] # 16.94 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.59 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 17.93 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 18.30 [+0.37] TEST: swp1 carrier off [ OK ] # 18.99 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 19.35 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 19.75 [+0.41] TEST: swp1 carrier on [ OK ] # 20.44 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 20.83 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 21.14 [+0.30] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.81 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 22.16 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 22.50 [+0.34] TEST: swp1 carrier off [ OK ] # 23.15 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 23.49 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 37.38 [+13.89] # 37.38 [+0.00] Backup nexthop ID # 37.38 [+0.00] ----------------- # 39.65 [+2.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.32 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 40.68 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 41.05 [+0.36] TEST: swp1 carrier off [ OK ] # 41.73 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 42.08 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 42.44 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 42.83 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 43.17 [+0.34] TEST: swp1 carrier on [ OK ] # 43.43 [+0.26] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 44.09 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 44.45 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 44.82 [+0.37] TEST: swp1 carrier off [ OK ] # 45.47 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 45.83 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 46.18 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 46.52 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.86 [+0.33] TEST: swp1 carrier on [ OK ] # 47.51 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 47.91 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 48.25 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 48.59 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.83 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 49.45 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 49.78 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 50.12 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 50.50 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.83 [+0.34] TEST: swp1 carrier off [ OK ] # 51.52 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 51.90 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 52.29 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 52.65 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 66.19 [+13.53] # 66.19 [+0.00] Backup nexthop ID - invalid IDs # 66.19 [+0.00] ------------------------------- # 68.54 [+2.35] TEST: vx0 configured as backup port of swp1 [ OK ] # 68.81 [+0.27] TEST: Valid nexthop as backup nexthop [ OK ] # 69.16 [+0.35] TEST: swp1 carrier off [ OK ] # 69.83 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 70.14 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 70.46 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 70.60 [+0.14] TEST: No Tx drop increase [ OK ] # 70.84 [+0.23] TEST: Non-existent nexthop as backup nexthop [ OK ] # 71.42 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 71.81 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 72.12 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 72.30 [+0.18] TEST: Tx drop increased [ OK ] # 72.70 [+0.40] TEST: Blackhole nexthop as backup nexthop [ OK ] # 73.40 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 73.75 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 74.12 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 74.32 [+0.20] TEST: Tx drop increased [ OK ] # 74.57 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 75.18 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 75.49 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 75.86 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 75.99 [+0.12] TEST: Tx drop increased [ OK ] # 76.64 [+0.65] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 77.28 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 77.63 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 78.00 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 78.13 [+0.14] TEST: Tx drop increased [ OK ] # 91.70 [+13.57] # 91.70 [+0.00] Backup nexthop ID - ping # 91.70 [+0.00] ------------------------ # 96.02 [+4.33] TEST: Ping with backup nexthop ID [ OK ] # 101.51 [+5.49] TEST: Ping after disabling backup nexthop ID [ OK ] # 114.98 [+13.47] # 114.98 [+0.00] Backup nexthop ID - torture test # 114.98 [+0.00] -------------------------------- # 146.04 [+31.06] TEST: Torture test [ OK ] # 147.10 [+1.06] # 147.10 [+0.00] Tests passed: 83 # 147.10 [+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__->