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.04 [+12.04] # 12.04 [+0.00] Backup port # 12.04 [+0.00] ----------- # 13.81 [+1.77] TEST: Forwarding out of swp1 [ OK ] # 14.14 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 14.47 [+0.33] TEST: swp1 carrier off [ OK ] # 15.11 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 15.47 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 15.82 [+0.35] TEST: swp1 carrier on [ OK ] # 16.05 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.68 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 17.03 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 17.36 [+0.33] TEST: swp1 carrier off [ OK ] # 18.01 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 18.38 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 18.71 [+0.33] TEST: swp1 carrier on [ OK ] # 19.36 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 19.70 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 19.96 [+0.26] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.66 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 21.01 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 21.32 [+0.31] TEST: swp1 carrier off [ OK ] # 22.01 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 22.40 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 36.29 [+13.89] # 36.29 [+0.00] Backup nexthop ID # 36.29 [+0.00] ----------------- # 39.22 [+2.92] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.95 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 40.35 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 40.74 [+0.39] TEST: swp1 carrier off [ OK ] # 41.43 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 41.78 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 42.10 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 42.46 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.79 [+0.33] TEST: swp1 carrier on [ OK ] # 43.06 [+0.27] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.71 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 44.04 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 44.38 [+0.34] TEST: swp1 carrier off [ OK ] # 45.05 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 45.38 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 45.75 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 46.07 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.47 [+0.39] TEST: swp1 carrier on [ OK ] # 47.08 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 47.40 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 47.78 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 48.14 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.40 [+0.26] TEST: No backup nexthop ID configured for swp1 [ OK ] # 49.04 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 49.40 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 49.77 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 50.13 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.43 [+0.31] TEST: swp1 carrier off [ OK ] # 51.07 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 51.41 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 51.72 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 52.12 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 65.31 [+13.18] # 65.31 [+0.00] Backup nexthop ID - invalid IDs # 65.31 [+0.00] ------------------------------- # 67.67 [+2.36] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.91 [+0.24] TEST: Valid nexthop as backup nexthop [ OK ] # 68.22 [+0.31] TEST: swp1 carrier off [ OK ] # 68.86 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 69.19 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 69.52 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 69.68 [+0.16] TEST: No Tx drop increase [ OK ] # 69.93 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 70.55 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 70.86 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 71.17 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 71.34 [+0.17] TEST: Tx drop increased [ OK ] # 71.70 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 72.35 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 72.69 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 73.02 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 73.19 [+0.17] TEST: Tx drop increased [ OK ] # 73.46 [+0.28] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 74.13 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 74.48 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 74.81 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 74.96 [+0.15] TEST: Tx drop increased [ OK ] # 75.58 [+0.63] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 76.25 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 76.60 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 76.94 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 77.09 [+0.15] TEST: Tx drop increased [ OK ] # 90.50 [+13.41] # 90.50 [+0.00] Backup nexthop ID - ping # 90.51 [+0.00] ------------------------ # 94.68 [+4.17] TEST: Ping with backup nexthop ID [ OK ] # 100.10 [+5.42] TEST: Ping after disabling backup nexthop ID [ OK ] # 113.10 [+13.01] # 113.10 [+0.00] Backup nexthop ID - torture test # 113.10 [+0.00] -------------------------------- # 144.08 [+30.97] TEST: Torture test [ OK ] # 144.95 [+0.88] # 144.95 [+0.00] Tests passed: 83 # 144.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' 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__->