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.85 [+11.85] # 11.85 [+0.00] Backup port # 11.85 [+0.00] ----------- # 13.33 [+1.49] TEST: Forwarding out of swp1 [ OK ] # 13.65 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 13.95 [+0.30] TEST: swp1 carrier off [ OK ] # 14.61 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 14.94 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 15.28 [+0.34] TEST: swp1 carrier on [ OK ] # 15.53 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.13 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 16.47 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 16.80 [+0.33] TEST: swp1 carrier off [ OK ] # 17.45 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 17.77 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 18.09 [+0.32] TEST: swp1 carrier on [ OK ] # 18.73 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 19.07 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 19.29 [+0.22] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.96 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 20.28 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 20.60 [+0.31] TEST: swp1 carrier off [ OK ] # 21.22 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 21.57 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 34.69 [+13.13] # 34.70 [+0.00] Backup nexthop ID # 34.70 [+0.00] ----------------- # 36.91 [+2.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 37.53 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 37.85 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 38.21 [+0.36] TEST: swp1 carrier off [ OK ] # 38.85 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 39.20 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 39.52 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 39.87 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 40.20 [+0.33] TEST: swp1 carrier on [ OK ] # 40.44 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 41.07 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 41.42 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 41.76 [+0.33] TEST: swp1 carrier off [ OK ] # 42.38 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 42.71 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 43.03 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 43.39 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.71 [+0.32] TEST: swp1 carrier on [ OK ] # 44.34 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 44.72 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 45.11 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 45.48 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.79 [+0.31] TEST: No backup nexthop ID configured for swp1 [ OK ] # 46.50 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 46.88 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 47.28 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 47.65 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.03 [+0.38] TEST: swp1 carrier off [ OK ] # 48.71 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 49.09 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 49.43 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 49.77 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.25 [+13.48] # 63.25 [+0.00] Backup nexthop ID - invalid IDs # 63.25 [+0.00] ------------------------------- # 65.91 [+2.66] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.16 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 66.52 [+0.36] TEST: swp1 carrier off [ OK ] # 67.18 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 67.56 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 67.88 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 68.05 [+0.17] TEST: No Tx drop increase [ OK ] # 68.32 [+0.28] TEST: Non-existent nexthop as backup nexthop [ OK ] # 68.98 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 69.35 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 69.77 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 69.95 [+0.18] TEST: Tx drop increased [ OK ] # 70.42 [+0.47] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.16 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 71.56 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 71.98 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 72.18 [+0.19] TEST: Tx drop increased [ OK ] # 72.48 [+0.31] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.25 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 73.66 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 74.08 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 74.29 [+0.22] TEST: Tx drop increased [ OK ] # 75.15 [+0.86] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.93 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 76.28 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 76.65 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 76.82 [+0.18] TEST: Tx drop increased [ OK ] # 90.66 [+13.83] # 90.66 [+0.00] Backup nexthop ID - ping # 90.66 [+0.00] ------------------------ # 94.95 [+4.29] TEST: Ping with backup nexthop ID [ OK ] # 100.44 [+5.49] TEST: Ping after disabling backup nexthop ID [ OK ] # 114.62 [+14.18] # 114.62 [+0.00] Backup nexthop ID - torture test # 114.62 [+0.00] -------------------------------- # 145.83 [+31.21] TEST: Torture test [ OK ] # 146.76 [+0.93] # 146.76 [+0.00] Tests passed: 83 # 146.76 [+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__->