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.81 [+11.81] # 11.81 [+0.00] Backup port # 11.81 [+0.00] ----------- # 13.19 [+1.38] TEST: Forwarding out of swp1 [ OK ] # 13.50 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 13.82 [+0.32] TEST: swp1 carrier off [ OK ] # 14.46 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 14.77 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 15.09 [+0.32] TEST: swp1 carrier on [ OK ] # 15.35 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.97 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 16.32 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 16.67 [+0.34] TEST: swp1 carrier off [ OK ] # 17.29 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 17.62 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 17.94 [+0.32] TEST: swp1 carrier on [ OK ] # 18.54 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 18.89 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 19.13 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.71 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 20.04 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 20.35 [+0.31] TEST: swp1 carrier off [ OK ] # 20.95 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 21.28 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 34.56 [+13.28] # 34.56 [+0.00] Backup nexthop ID # 34.56 [+0.00] ----------------- # 36.65 [+2.10] TEST: vx0 configured as backup port of swp1 [ OK ] # 37.27 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 37.64 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 37.96 [+0.33] TEST: swp1 carrier off [ OK ] # 38.60 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 38.90 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 39.23 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 39.55 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 39.86 [+0.31] TEST: swp1 carrier on [ OK ] # 40.12 [+0.26] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 40.73 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 41.06 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 41.37 [+0.31] TEST: swp1 carrier off [ OK ] # 41.99 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 42.32 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 42.65 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 42.96 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.28 [+0.32] TEST: swp1 carrier on [ OK ] # 43.92 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 44.23 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 44.60 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 44.93 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.18 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 45.83 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 46.15 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 46.51 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 46.83 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.16 [+0.33] TEST: swp1 carrier off [ OK ] # 47.79 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 48.12 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 48.47 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 48.81 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 61.97 [+13.16] # 61.97 [+0.00] Backup nexthop ID - invalid IDs # 61.97 [+0.00] ------------------------------- # 64.29 [+2.32] TEST: vx0 configured as backup port of swp1 [ OK ] # 64.55 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 64.89 [+0.33] TEST: swp1 carrier off [ OK ] # 65.50 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 65.80 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 66.14 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 66.29 [+0.14] TEST: No Tx drop increase [ OK ] # 66.55 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 67.13 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 67.48 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 67.78 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 67.91 [+0.13] TEST: Tx drop increased [ OK ] # 68.30 [+0.39] TEST: Blackhole nexthop as backup nexthop [ OK ] # 68.92 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 69.28 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 69.64 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 69.80 [+0.15] TEST: Tx drop increased [ OK ] # 70.05 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 70.66 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 70.98 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 71.30 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 71.45 [+0.16] TEST: Tx drop increased [ OK ] # 72.07 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 72.66 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 72.97 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 73.32 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 73.47 [+0.15] TEST: Tx drop increased [ OK ] # 86.66 [+13.19] # 86.66 [+0.00] Backup nexthop ID - ping # 86.67 [+0.00] ------------------------ # 90.72 [+4.05] TEST: Ping with backup nexthop ID [ OK ] # 96.15 [+5.43] TEST: Ping after disabling backup nexthop ID [ OK ] # 109.11 [+12.96] # 109.12 [+0.00] Backup nexthop ID - torture test # 109.12 [+0.00] -------------------------------- # 140.08 [+30.96] TEST: Torture test [ OK ] # 140.95 [+0.87] # 140.95 [+0.00] Tests passed: 83 # 140.95 [+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' [?2004hxx__-> 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__->