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.37 [+13.37] # 13.37 [+0.00] Backup port # 13.37 [+0.00] ----------- # 14.84 [+1.47] 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.58 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 16.92 [+0.34] TEST: swp1 carrier on [ OK ] # 17.18 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.78 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 18.12 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 18.45 [+0.33] TEST: swp1 carrier off [ OK ] # 19.09 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 19.43 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 19.75 [+0.32] TEST: swp1 carrier on [ OK ] # 20.35 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 20.68 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 20.92 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.54 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 21.89 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 22.21 [+0.32] TEST: swp1 carrier off [ OK ] # 22.85 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 23.19 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 36.39 [+13.20] # 36.39 [+0.00] Backup nexthop ID # 36.39 [+0.00] ----------------- # 38.59 [+2.20] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.19 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 39.53 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 39.86 [+0.33] TEST: swp1 carrier off [ OK ] # 40.51 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 40.83 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 41.20 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 41.55 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.88 [+0.33] TEST: swp1 carrier on [ OK ] # 42.12 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.77 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 43.10 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 43.44 [+0.34] TEST: swp1 carrier off [ OK ] # 44.08 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 44.43 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 44.80 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 45.12 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.43 [+0.31] TEST: swp1 carrier on [ OK ] # 46.04 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 46.37 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 46.71 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 47.06 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.31 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.97 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 48.30 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 48.62 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 48.94 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.27 [+0.33] TEST: swp1 carrier off [ OK ] # 49.86 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 50.24 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 50.55 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 50.92 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.46 [+13.54] # 64.47 [+0.00] Backup nexthop ID - invalid IDs # 64.47 [+0.00] ------------------------------- # 66.91 [+2.45] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.18 [+0.27] TEST: Valid nexthop as backup nexthop [ OK ] # 67.52 [+0.33] TEST: swp1 carrier off [ OK ] # 68.14 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 68.46 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 68.82 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 68.98 [+0.16] TEST: No Tx drop increase [ OK ] # 69.27 [+0.29] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.90 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 70.25 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 70.60 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 70.77 [+0.17] TEST: Tx drop increased [ OK ] # 71.13 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.77 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 72.11 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 72.44 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 72.60 [+0.16] TEST: Tx drop increased [ OK ] # 72.84 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.58 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 73.90 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 74.26 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 74.42 [+0.16] TEST: Tx drop increased [ OK ] # 75.12 [+0.70] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.77 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 76.13 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 76.47 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 76.63 [+0.15] TEST: Tx drop increased [ OK ] # 90.16 [+13.53] # 90.16 [+0.00] Backup nexthop ID - ping # 90.16 [+0.00] ------------------------ # 94.34 [+4.19] TEST: Ping with backup nexthop ID [ OK ] # 99.80 [+5.46] TEST: Ping after disabling backup nexthop ID [ OK ] # 113.25 [+13.45] # 113.26 [+0.00] Backup nexthop ID - torture test # 113.26 [+0.00] -------------------------------- # 144.26 [+31.00] TEST: Torture test [ OK ] # 145.16 [+0.90] # 145.16 [+0.00] Tests passed: 83 # 145.16 [+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__->