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.68 [+11.68] # 11.68 [+0.00] Backup port # 11.68 [+0.00] ----------- # 13.03 [+1.35] TEST: Forwarding out of swp1 [ OK ] # 13.33 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 13.65 [+0.32] TEST: swp1 carrier off [ OK ] # 14.23 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 14.54 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 14.84 [+0.30] TEST: swp1 carrier on [ OK ] # 15.09 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.68 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 16.02 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 16.32 [+0.30] TEST: swp1 carrier off [ OK ] # 16.90 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 17.24 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 17.53 [+0.29] TEST: swp1 carrier on [ OK ] # 18.09 [+0.56] TEST: Forwarding out of swp1 [ OK ] # 18.38 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 18.70 [+0.32] TEST: swp1 administratively down [ OK ] # 19.27 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 19.62 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 19.92 [+0.31] TEST: swp1 administratively up [ OK ] # 20.51 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 20.84 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 21.05 [+0.21] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.63 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 21.98 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 22.27 [+0.30] TEST: swp1 carrier off [ OK ] # 22.86 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 23.20 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 36.30 [+13.11] # 36.31 [+0.00] Backup nexthop ID # 36.31 [+0.00] ----------------- # 38.37 [+2.06] TEST: vx0 configured as backup port of swp1 [ OK ] # 38.95 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 39.28 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 39.61 [+0.33] TEST: swp1 carrier off [ OK ] # 40.20 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 40.49 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 40.82 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 41.17 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.49 [+0.32] TEST: swp1 carrier on [ OK ] # 41.74 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.36 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 42.67 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 42.97 [+0.30] TEST: swp1 carrier off [ OK ] # 43.56 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 43.87 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 44.22 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 44.59 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.90 [+0.31] TEST: swp1 carrier on [ OK ] # 45.47 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 45.81 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 46.16 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 46.48 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.82 [+0.34] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.56 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 48.04 [+0.48] TEST: No forwarding out of vx0 [ OK ] # 48.45 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 48.78 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.09 [+0.31] TEST: swp1 carrier off [ OK ] # 49.69 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 50.01 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 50.34 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 50.65 [+0.31] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.05 [+13.40] # 64.05 [+0.00] Backup nexthop ID - invalid IDs # 64.05 [+0.00] ------------------------------- # 67.07 [+3.02] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.45 [+0.38] TEST: Valid nexthop as backup nexthop [ OK ] # 67.91 [+0.45] TEST: swp1 carrier off [ OK ] # 68.68 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 69.11 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 69.60 [+0.49] TEST: Forwarding using backup nexthop ID [ OK ] # 69.83 [+0.23] TEST: No Tx drop increase [ OK ] # 70.26 [+0.43] TEST: Non-existent nexthop as backup nexthop [ OK ] # 71.01 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 71.42 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 71.78 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 71.97 [+0.19] TEST: Tx drop increased [ OK ] # 72.38 [+0.41] TEST: Blackhole nexthop as backup nexthop [ OK ] # 73.06 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 73.41 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 73.80 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 73.96 [+0.16] TEST: Tx drop increased [ OK ] # 74.23 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 74.97 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 75.30 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 75.70 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 75.86 [+0.16] TEST: Tx drop increased [ OK ] # 76.59 [+0.73] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 77.34 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 77.73 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 78.06 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 78.22 [+0.16] TEST: Tx drop increased [ OK ] # 91.92 [+13.70] # 91.92 [+0.00] Backup nexthop ID - ping # 91.92 [+0.00] ------------------------ # 96.08 [+4.15] TEST: Ping with backup nexthop ID [ OK ] # 101.53 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 114.63 [+13.11] # 114.63 [+0.00] Backup nexthop ID - torture test # 114.63 [+0.00] -------------------------------- # 145.60 [+30.97] TEST: Torture test [ OK ] # 146.51 [+0.91] # 146.51 [+0.00] Tests passed: 89 # 146.51 [+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__->