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.53 [+12.53] # 12.53 [+0.00] Backup port # 12.53 [+0.00] ----------- # 14.44 [+1.91] TEST: Forwarding out of swp1 [ OK ] # 14.77 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 15.10 [+0.33] TEST: swp1 carrier off [ OK ] # 15.73 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 16.11 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 16.45 [+0.33] TEST: swp1 carrier on [ OK ] # 16.69 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.32 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 17.65 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 18.00 [+0.35] TEST: swp1 carrier off [ OK ] # 18.61 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 18.94 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 19.28 [+0.34] TEST: swp1 carrier on [ OK ] # 19.89 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 20.22 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 20.46 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.10 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 21.45 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 21.77 [+0.32] TEST: swp1 carrier off [ OK ] # 22.41 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 22.77 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 36.05 [+13.28] # 36.06 [+0.00] Backup nexthop ID # 36.06 [+0.00] ----------------- # 38.29 [+2.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 38.95 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 39.28 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 39.63 [+0.34] TEST: swp1 carrier off [ OK ] # 40.40 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 40.77 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 41.14 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 41.50 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.87 [+0.37] TEST: swp1 carrier on [ OK ] # 42.15 [+0.28] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.83 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 43.19 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 43.51 [+0.32] TEST: swp1 carrier off [ OK ] # 44.14 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 44.48 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 44.85 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 45.19 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.51 [+0.32] TEST: swp1 carrier on [ OK ] # 46.14 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 46.46 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 46.80 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 47.15 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.40 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.02 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 48.36 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 48.68 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 48.99 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.32 [+0.33] TEST: swp1 carrier off [ OK ] # 49.94 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 50.32 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 50.65 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 51.02 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.30 [+13.28] # 64.30 [+0.00] Backup nexthop ID - invalid IDs # 64.30 [+0.00] ------------------------------- # 66.54 [+2.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.81 [+0.27] TEST: Valid nexthop as backup nexthop [ OK ] # 67.16 [+0.35] TEST: swp1 carrier off [ OK ] # 67.84 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 68.19 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 68.54 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 68.68 [+0.14] TEST: No Tx drop increase [ OK ] # 68.96 [+0.27] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.57 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 69.92 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 70.27 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 70.43 [+0.15] TEST: Tx drop increased [ OK ] # 70.82 [+0.40] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.43 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 71.79 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 72.14 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 72.30 [+0.16] TEST: Tx drop increased [ OK ] # 72.53 [+0.23] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.20 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 73.53 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 73.88 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 74.03 [+0.14] TEST: Tx drop increased [ OK ] # 74.68 [+0.65] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.32 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 75.65 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 76.02 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 76.17 [+0.15] TEST: Tx drop increased [ OK ] # 89.44 [+13.27] # 89.44 [+0.00] Backup nexthop ID - ping # 89.44 [+0.00] ------------------------ # 93.63 [+4.19] TEST: Ping with backup nexthop ID [ OK ] # 99.07 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 112.36 [+13.29] # 112.36 [+0.00] Backup nexthop ID - torture test # 112.36 [+0.00] -------------------------------- # 143.37 [+31.00] TEST: Torture test [ OK ] # 144.26 [+0.90] # 144.26 [+0.00] Tests passed: 83 # 144.26 [+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__->