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.87 [+11.87] # 11.87 [+0.00] Backup port # 11.87 [+0.00] ----------- # 13.32 [+1.45] TEST: Forwarding out of swp1 [ OK ] # 13.66 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 13.97 [+0.31] TEST: swp1 carrier off [ OK ] # 14.62 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 14.94 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 15.26 [+0.33] TEST: swp1 carrier on [ OK ] # 15.49 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.12 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 16.45 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 16.81 [+0.36] TEST: swp1 carrier off [ OK ] # 17.41 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 17.76 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 18.09 [+0.32] TEST: swp1 carrier on [ OK ] # 18.69 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 19.04 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 19.30 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.92 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 20.25 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 20.57 [+0.31] TEST: swp1 carrier off [ OK ] # 21.19 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 21.53 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 34.53 [+13.00] # 34.53 [+0.00] Backup nexthop ID # 34.53 [+0.00] ----------------- # 36.76 [+2.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 37.40 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 37.71 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 38.05 [+0.34] TEST: swp1 carrier off [ OK ] # 38.68 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 39.02 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 39.34 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 39.70 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 40.04 [+0.34] TEST: swp1 carrier on [ OK ] # 40.27 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 40.87 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 41.19 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 41.53 [+0.34] TEST: swp1 carrier off [ OK ] # 42.15 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 42.50 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 42.81 [+0.31] TEST: Forwarding using backup nexthop ID [ OK ] # 43.16 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.50 [+0.35] TEST: swp1 carrier on [ OK ] # 44.15 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 44.47 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 44.81 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 45.14 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.37 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 46.01 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 46.32 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 46.68 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 47.02 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.34 [+0.32] TEST: swp1 carrier off [ OK ] # 47.96 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 48.30 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 48.65 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 48.98 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 61.97 [+12.99] # 61.97 [+0.00] Backup nexthop ID - invalid IDs # 61.97 [+0.00] ------------------------------- # 64.35 [+2.38] TEST: vx0 configured as backup port of swp1 [ OK ] # 64.58 [+0.23] TEST: Valid nexthop as backup nexthop [ OK ] # 64.89 [+0.31] TEST: swp1 carrier off [ OK ] # 65.50 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 65.83 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 66.18 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 66.35 [+0.17] TEST: No Tx drop increase [ OK ] # 66.60 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 67.22 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 67.59 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 67.92 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 68.07 [+0.15] TEST: Tx drop increased [ OK ] # 68.43 [+0.36] TEST: Blackhole nexthop as backup nexthop [ OK ] # 69.05 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 69.38 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 69.71 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 69.88 [+0.17] TEST: Tx drop increased [ OK ] # 70.13 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 70.75 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 71.11 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 71.42 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 71.57 [+0.15] TEST: Tx drop increased [ OK ] # 72.16 [+0.60] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 72.81 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 73.13 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 73.47 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 73.60 [+0.13] TEST: Tx drop increased [ OK ] # 86.60 [+13.01] # 86.60 [+0.00] Backup nexthop ID - ping # 86.61 [+0.00] ------------------------ # 90.65 [+4.04] TEST: Ping with backup nexthop ID [ OK ] # 96.08 [+5.43] TEST: Ping after disabling backup nexthop ID [ OK ] # 109.07 [+12.99] # 109.07 [+0.00] Backup nexthop ID - torture test # 109.07 [+0.00] -------------------------------- # 140.06 [+30.99] TEST: Torture test [ OK ] # 140.96 [+0.90] # 140.96 [+0.00] Tests passed: 83 # 140.96 [+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__->