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.31 [+12.31] # 12.31 [+0.00] Backup port # 12.31 [+0.00] ----------- # 14.17 [+1.87] TEST: Forwarding out of swp1 [ OK ] # 14.50 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 14.83 [+0.32] TEST: swp1 carrier off [ OK ] # 15.48 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 15.84 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 16.20 [+0.36] TEST: swp1 carrier on [ OK ] # 16.46 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.13 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 17.47 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 17.81 [+0.34] TEST: swp1 carrier off [ OK ] # 18.47 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 18.84 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 19.23 [+0.39] TEST: swp1 carrier on [ OK ] # 19.89 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 20.24 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 20.49 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.18 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 21.52 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 21.91 [+0.39] TEST: swp1 carrier off [ OK ] # 22.56 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 22.88 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 36.63 [+13.74] # 36.63 [+0.00] Backup nexthop ID # 36.63 [+0.00] ----------------- # 38.97 [+2.34] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.71 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 40.08 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 40.45 [+0.37] TEST: swp1 carrier off [ OK ] # 41.21 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 41.55 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 41.95 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 42.32 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.67 [+0.34] TEST: swp1 carrier on [ OK ] # 42.92 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.63 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 44.02 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 44.41 [+0.40] TEST: swp1 carrier off [ OK ] # 45.15 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 45.49 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 45.87 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 46.26 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.66 [+0.40] TEST: swp1 carrier on [ OK ] # 47.43 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 47.81 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 48.23 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 48.64 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.96 [+0.32] TEST: No backup nexthop ID configured for swp1 [ OK ] # 49.72 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 50.13 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 50.54 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 50.97 [+0.43] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.41 [+0.44] TEST: swp1 carrier off [ OK ] # 52.18 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 52.59 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 53.05 [+0.46] TEST: No forwarding using backup nexthop ID [ OK ] # 53.43 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 68.95 [+15.52] # 68.95 [+0.00] Backup nexthop ID - invalid IDs # 68.95 [+0.00] ------------------------------- # 71.81 [+2.86] TEST: vx0 configured as backup port of swp1 [ OK ] # 72.20 [+0.39] TEST: Valid nexthop as backup nexthop [ OK ] # 72.57 [+0.38] TEST: swp1 carrier off [ OK ] # 73.43 [+0.86] TEST: No forwarding out of swp1 [ OK ] # 73.84 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 74.23 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 74.38 [+0.15] TEST: No Tx drop increase [ OK ] # 74.72 [+0.33] TEST: Non-existent nexthop as backup nexthop [ OK ] # 75.48 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 75.85 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 76.26 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 76.43 [+0.17] TEST: Tx drop increased [ OK ] # 76.88 [+0.45] TEST: Blackhole nexthop as backup nexthop [ OK ] # 77.64 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 78.02 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 78.44 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 78.60 [+0.16] TEST: Tx drop increased [ OK ] # 78.89 [+0.29] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 79.54 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 79.91 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 80.24 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 80.39 [+0.15] TEST: Tx drop increased [ OK ] # 81.07 [+0.68] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 81.72 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 82.07 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 82.42 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 82.58 [+0.16] TEST: Tx drop increased [ OK ] # 95.89 [+13.31] # 95.89 [+0.00] Backup nexthop ID - ping # 95.89 [+0.00] ------------------------ # 99.99 [+4.10] TEST: Ping with backup nexthop ID [ OK ] # 105.44 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 118.81 [+13.37] # 118.81 [+0.00] Backup nexthop ID - torture test # 118.81 [+0.00] -------------------------------- # 149.79 [+30.98] TEST: Torture test [ OK ] # 150.75 [+0.96] # 150.75 [+0.00] Tests passed: 83 # 150.75 [+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__->