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 # 11.78 [+11.78] # 11.79 [+0.00] Backup port # 11.79 [+0.00] ----------- # 13.51 [+1.72] TEST: Forwarding out of swp1 [ OK ] # 13.82 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 14.13 [+0.31] TEST: swp1 carrier off [ OK ] # 14.73 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 15.07 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 15.41 [+0.33] TEST: swp1 carrier on [ OK ] # 15.63 [+0.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.25 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 16.56 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 16.87 [+0.31] TEST: swp1 carrier off [ OK ] # 17.49 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 17.82 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 18.12 [+0.31] TEST: swp1 carrier on [ OK ] # 18.72 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 19.04 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 19.27 [+0.23] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.87 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 20.22 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 20.53 [+0.30] TEST: swp1 carrier off [ OK ] # 21.16 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 21.46 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 34.50 [+13.03] # 34.50 [+0.00] Backup nexthop ID # 34.50 [+0.00] ----------------- # 36.61 [+2.11] TEST: vx0 configured as backup port of swp1 [ OK ] # 37.23 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 37.53 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 37.88 [+0.34] TEST: swp1 carrier off [ OK ] # 38.44 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 38.77 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 39.09 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 39.40 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 39.73 [+0.33] TEST: swp1 carrier on [ OK ] # 39.97 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 40.55 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 40.87 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 41.20 [+0.33] TEST: swp1 carrier off [ OK ] # 41.84 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 42.21 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 42.57 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 42.92 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.24 [+0.32] TEST: swp1 carrier on [ OK ] # 43.82 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 44.16 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 44.49 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 44.80 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.03 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 45.66 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 45.96 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 46.30 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 46.63 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.94 [+0.31] TEST: swp1 carrier off [ OK ] # 47.53 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 47.85 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 48.17 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 48.48 [+0.30] TEST: Forwarding using VXLAN FDB entry [ OK ] # 61.33 [+12.86] # 61.33 [+0.00] Backup nexthop ID - invalid IDs # 61.33 [+0.00] ------------------------------- # 63.57 [+2.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 63.82 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 64.14 [+0.32] TEST: swp1 carrier off [ OK ] # 64.76 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 65.09 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 65.43 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 65.59 [+0.16] TEST: No Tx drop increase [ OK ] # 65.83 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 66.42 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 66.76 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 67.09 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 67.23 [+0.15] TEST: Tx drop increased [ OK ] # 67.59 [+0.36] TEST: Blackhole nexthop as backup nexthop [ OK ] # 68.18 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 68.52 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 68.84 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 68.99 [+0.15] TEST: Tx drop increased [ OK ] # 69.23 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 69.80 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 70.15 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 70.47 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 70.62 [+0.15] TEST: Tx drop increased [ OK ] # 71.19 [+0.57] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 71.80 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 72.13 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 72.48 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 72.63 [+0.15] TEST: Tx drop increased [ OK ] # 85.57 [+12.94] # 85.57 [+0.00] Backup nexthop ID - ping # 85.57 [+0.00] ------------------------ # 89.63 [+4.07] TEST: Ping with backup nexthop ID [ OK ] # 95.08 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 108.26 [+13.18] # 108.26 [+0.00] Backup nexthop ID - torture test # 108.26 [+0.00] -------------------------------- # 139.24 [+30.98] TEST: Torture test [ OK ] # 140.15 [+0.91] # 140.16 [+0.00] Tests passed: 83 # 140.16 [+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__->