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.33 [+12.33] # 12.33 [+0.00] Backup port # 12.33 [+0.00] ----------- # 14.09 [+1.76] TEST: Forwarding out of swp1 [ OK ] # 14.45 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 14.79 [+0.34] TEST: swp1 carrier off [ OK ] # 15.42 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 15.78 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 16.13 [+0.34] TEST: swp1 carrier on [ OK ] # 16.38 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.02 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 17.34 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 17.66 [+0.33] TEST: swp1 carrier off [ OK ] # 18.32 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 18.69 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 19.04 [+0.35] TEST: swp1 carrier on [ OK ] # 19.68 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 20.01 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 20.24 [+0.23] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.90 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 21.24 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 21.56 [+0.31] TEST: swp1 carrier off [ OK ] # 22.18 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 22.54 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 36.11 [+13.57] # 36.11 [+0.00] Backup nexthop ID # 36.11 [+0.00] ----------------- # 38.45 [+2.34] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.06 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 39.43 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 39.79 [+0.36] TEST: swp1 carrier off [ OK ] # 40.46 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 40.82 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 41.16 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 41.48 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.80 [+0.32] TEST: swp1 carrier on [ OK ] # 42.09 [+0.29] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.77 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 43.11 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 43.44 [+0.33] TEST: swp1 carrier off [ OK ] # 44.08 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 44.42 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 44.79 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 45.12 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.46 [+0.35] TEST: swp1 carrier on [ OK ] # 46.11 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 46.45 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 46.81 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 47.15 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.41 [+0.26] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.08 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 48.41 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 48.78 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 49.12 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.44 [+0.32] TEST: swp1 carrier off [ OK ] # 50.09 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 50.45 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 50.77 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 51.14 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.66 [+13.53] # 64.66 [+0.00] Backup nexthop ID - invalid IDs # 64.66 [+0.00] ------------------------------- # 66.98 [+2.31] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.22 [+0.24] TEST: Valid nexthop as backup nexthop [ OK ] # 67.53 [+0.31] TEST: swp1 carrier off [ OK ] # 68.21 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 68.53 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 68.88 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 69.04 [+0.16] TEST: No Tx drop increase [ OK ] # 69.29 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.94 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 70.32 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 70.62 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 70.77 [+0.16] TEST: Tx drop increased [ OK ] # 71.18 [+0.41] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.78 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 72.12 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 72.48 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 72.64 [+0.16] TEST: Tx drop increased [ OK ] # 72.89 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.51 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 73.84 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 74.19 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 74.34 [+0.15] TEST: Tx drop increased [ OK ] # 75.02 [+0.68] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.65 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 76.01 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 76.35 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 76.52 [+0.16] TEST: Tx drop increased [ OK ] # 90.08 [+13.56] # 90.08 [+0.00] Backup nexthop ID - ping # 90.08 [+0.00] ------------------------ # 94.30 [+4.22] TEST: Ping with backup nexthop ID [ OK ] # 99.75 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 113.16 [+13.41] # 113.16 [+0.00] Backup nexthop ID - torture test # 113.17 [+0.00] -------------------------------- # 144.16 [+30.99] TEST: Torture test [ OK ] # 145.05 [+0.89] # 145.05 [+0.00] Tests passed: 83 # 145.05 [+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__->