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.60 [+12.60] # 12.60 [+0.00] Backup port # 12.60 [+0.00] ----------- # 14.53 [+1.93] TEST: Forwarding out of swp1 [ OK ] # 14.88 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 15.22 [+0.34] TEST: swp1 carrier off [ OK ] # 15.92 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 16.27 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 16.60 [+0.33] TEST: swp1 carrier on [ OK ] # 16.85 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.51 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 17.85 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 18.19 [+0.35] TEST: swp1 carrier off [ OK ] # 18.84 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 19.20 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 19.55 [+0.35] TEST: swp1 carrier on [ OK ] # 20.23 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 20.56 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 20.82 [+0.26] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.52 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 21.88 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 22.21 [+0.34] TEST: swp1 carrier off [ OK ] # 22.90 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 23.24 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 36.89 [+13.66] # 36.89 [+0.00] Backup nexthop ID # 36.89 [+0.00] ----------------- # 39.23 [+2.34] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.91 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 40.27 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 40.64 [+0.37] TEST: swp1 carrier off [ OK ] # 41.30 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 41.65 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 42.00 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 42.38 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.73 [+0.35] TEST: swp1 carrier on [ OK ] # 43.00 [+0.28] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.69 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 44.02 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 44.37 [+0.34] TEST: swp1 carrier off [ OK ] # 45.04 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 45.38 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 45.72 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 46.07 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.42 [+0.36] TEST: swp1 carrier on [ OK ] # 47.11 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 47.45 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 47.79 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 48.15 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.42 [+0.26] TEST: No backup nexthop ID configured for swp1 [ OK ] # 49.06 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 49.43 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 49.79 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 50.14 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.47 [+0.33] TEST: swp1 carrier off [ OK ] # 51.12 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 51.47 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 51.84 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 52.19 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 65.79 [+13.60] # 65.79 [+0.00] Backup nexthop ID - invalid IDs # 65.80 [+0.00] ------------------------------- # 68.16 [+2.36] TEST: vx0 configured as backup port of swp1 [ OK ] # 68.42 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 68.74 [+0.32] TEST: swp1 carrier off [ OK ] # 69.41 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 69.73 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 70.10 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 70.26 [+0.16] TEST: No Tx drop increase [ OK ] # 70.54 [+0.28] TEST: Non-existent nexthop as backup nexthop [ OK ] # 71.25 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 71.63 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 71.97 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 72.13 [+0.16] TEST: Tx drop increased [ OK ] # 72.53 [+0.40] TEST: Blackhole nexthop as backup nexthop [ OK ] # 73.18 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 73.53 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 73.88 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 74.03 [+0.16] TEST: Tx drop increased [ OK ] # 74.27 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 74.97 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 75.34 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 75.69 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 75.84 [+0.15] TEST: Tx drop increased [ OK ] # 76.50 [+0.66] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 77.20 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 77.55 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 77.93 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 78.07 [+0.14] TEST: Tx drop increased [ OK ] # 91.85 [+13.78] # 91.85 [+0.00] Backup nexthop ID - ping # 91.85 [+0.00] ------------------------ # 96.21 [+4.36] TEST: Ping with backup nexthop ID [ OK ] # 101.70 [+5.49] TEST: Ping after disabling backup nexthop ID [ OK ] # 115.38 [+13.68] # 115.38 [+0.00] Backup nexthop ID - torture test # 115.38 [+0.00] -------------------------------- # 146.38 [+31.00] TEST: Torture test [ OK ] # 147.34 [+0.96] # 147.34 [+0.00] Tests passed: 83 # 147.34 [+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__->