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 # 13.36 [+13.36] # 13.36 [+0.00] Backup port # 13.36 [+0.00] ----------- # 14.85 [+1.48] TEST: Forwarding out of swp1 [ OK ] # 15.17 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 15.51 [+0.34] TEST: swp1 carrier off [ OK ] # 16.17 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 16.55 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 16.89 [+0.34] TEST: swp1 carrier on [ OK ] # 17.15 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.79 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 18.14 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 18.49 [+0.35] TEST: swp1 carrier off [ OK ] # 19.13 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 19.48 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 19.78 [+0.30] TEST: swp1 carrier on [ OK ] # 20.42 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 20.78 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 21.01 [+0.23] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.64 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 21.99 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 22.36 [+0.37] TEST: swp1 carrier off [ OK ] # 22.98 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 23.34 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 36.55 [+13.20] # 36.55 [+0.00] Backup nexthop ID # 36.55 [+0.00] ----------------- # 38.74 [+2.20] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.39 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 39.76 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 40.10 [+0.34] TEST: swp1 carrier off [ OK ] # 40.75 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 41.06 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 41.39 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 41.71 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.06 [+0.34] TEST: swp1 carrier on [ OK ] # 42.30 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.96 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 43.32 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 43.64 [+0.32] TEST: swp1 carrier off [ OK ] # 44.25 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 44.59 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 44.96 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 45.28 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.62 [+0.33] TEST: swp1 carrier on [ OK ] # 46.24 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 46.57 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 46.92 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 47.24 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.48 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.10 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 48.45 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 48.80 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 49.14 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.45 [+0.31] TEST: swp1 carrier off [ OK ] # 50.07 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 50.42 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 50.78 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 51.09 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.18 [+13.08] # 64.18 [+0.00] Backup nexthop ID - invalid IDs # 64.18 [+0.00] ------------------------------- # 66.47 [+2.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.73 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 67.03 [+0.30] TEST: swp1 carrier off [ OK ] # 67.70 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 68.03 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 68.35 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 68.50 [+0.15] TEST: No Tx drop increase [ OK ] # 68.75 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.34 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 69.67 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 70.00 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 70.16 [+0.16] TEST: Tx drop increased [ OK ] # 70.54 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.17 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 71.50 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 71.85 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 71.99 [+0.15] TEST: Tx drop increased [ OK ] # 72.23 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 72.85 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 73.19 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 73.53 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 73.71 [+0.18] TEST: Tx drop increased [ OK ] # 74.35 [+0.64] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.23 [+0.88] TEST: No forwarding out of swp1 [ OK ] # 75.55 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 75.89 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 76.05 [+0.16] TEST: Tx drop increased [ OK ] # 89.35 [+13.30] # 89.35 [+0.00] Backup nexthop ID - ping # 89.35 [+0.00] ------------------------ # 93.50 [+4.15] TEST: Ping with backup nexthop ID [ OK ] # 98.96 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 112.23 [+13.28] # 112.23 [+0.00] Backup nexthop ID - torture test # 112.24 [+0.00] -------------------------------- # 143.22 [+30.98] TEST: Torture test [ OK ] # 144.10 [+0.88] # 144.10 [+0.00] Tests passed: 83 # 144.10 [+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__->