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.38 [+12.38] # 12.38 [+0.00] Backup port # 12.38 [+0.00] ----------- # 13.92 [+1.54] TEST: Forwarding out of swp1 [ OK ] # 14.27 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 14.61 [+0.35] TEST: swp1 carrier off [ OK ] # 15.31 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 15.68 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 16.06 [+0.38] TEST: swp1 carrier on [ OK ] # 16.37 [+0.31] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.06 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 17.46 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 17.84 [+0.38] TEST: swp1 carrier off [ OK ] # 18.55 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 18.92 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 19.30 [+0.38] TEST: swp1 carrier on [ OK ] # 20.04 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 20.39 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 20.70 [+0.31] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.49 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 21.89 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 22.28 [+0.39] TEST: swp1 carrier off [ OK ] # 23.09 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 23.51 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 39.94 [+16.43] # 39.94 [+0.00] Backup nexthop ID # 39.95 [+0.00] ----------------- # 42.59 [+2.64] TEST: vx0 configured as backup port of swp1 [ OK ] # 43.26 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 43.66 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 44.00 [+0.34] TEST: swp1 carrier off [ OK ] # 44.69 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 45.04 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 45.40 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 45.76 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.09 [+0.33] TEST: swp1 carrier on [ OK ] # 46.37 [+0.28] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 47.06 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 47.41 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 47.74 [+0.33] TEST: swp1 carrier off [ OK ] # 48.40 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 48.75 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 49.10 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 49.46 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.78 [+0.32] TEST: swp1 carrier on [ OK ] # 50.42 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 50.75 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 51.09 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 51.42 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.67 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 52.34 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 52.66 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 53.02 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 53.35 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 53.66 [+0.31] TEST: swp1 carrier off [ OK ] # 54.30 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 54.66 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 54.99 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 55.33 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 68.56 [+13.22] # 68.56 [+0.00] Backup nexthop ID - invalid IDs # 68.56 [+0.00] ------------------------------- # 71.04 [+2.48] TEST: vx0 configured as backup port of swp1 [ OK ] # 71.28 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 71.62 [+0.34] TEST: swp1 carrier off [ OK ] # 72.29 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 72.61 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 72.97 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 73.13 [+0.15] TEST: No Tx drop increase [ OK ] # 73.38 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 74.02 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 74.34 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 74.68 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 74.83 [+0.15] TEST: Tx drop increased [ OK ] # 75.20 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 75.85 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 76.19 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 76.54 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 76.69 [+0.15] TEST: Tx drop increased [ OK ] # 76.92 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 77.56 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 77.89 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 78.21 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 78.35 [+0.15] TEST: Tx drop increased [ OK ] # 78.99 [+0.64] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 79.62 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 79.96 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 80.31 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 80.44 [+0.13] TEST: Tx drop increased [ OK ] # 93.63 [+13.19] # 93.63 [+0.00] Backup nexthop ID - ping # 93.64 [+0.00] ------------------------ # 97.74 [+4.10] TEST: Ping with backup nexthop ID [ OK ] # 103.18 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 116.48 [+13.30] # 116.48 [+0.00] Backup nexthop ID - torture test # 116.48 [+0.00] -------------------------------- # 147.47 [+30.99] TEST: Torture test [ OK ] # 148.36 [+0.89] # 148.36 [+0.00] Tests passed: 83 # 148.36 [+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__->