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.09 [+12.09] # 12.09 [+0.00] Backup port # 12.09 [+0.00] ----------- # 13.65 [+1.56] TEST: Forwarding out of swp1 [ OK ] # 14.00 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 14.35 [+0.36] TEST: swp1 carrier off [ OK ] # 14.98 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 15.34 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 15.75 [+0.41] TEST: swp1 carrier on [ OK ] # 16.02 [+0.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.68 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 17.01 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 17.35 [+0.34] TEST: swp1 carrier off [ OK ] # 18.00 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 18.33 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 18.68 [+0.35] TEST: swp1 carrier on [ OK ] # 19.32 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 19.65 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 19.90 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.54 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 20.88 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 21.22 [+0.34] TEST: swp1 carrier off [ OK ] # 21.82 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 22.16 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 35.85 [+13.69] # 35.85 [+0.00] Backup nexthop ID # 35.85 [+0.00] ----------------- # 38.24 [+2.39] TEST: vx0 configured as backup port of swp1 [ OK ] # 38.91 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 39.24 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 39.58 [+0.34] TEST: swp1 carrier off [ OK ] # 40.23 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 40.60 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 40.96 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 41.33 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.68 [+0.35] TEST: swp1 carrier on [ OK ] # 41.91 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.56 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 42.90 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 43.21 [+0.31] TEST: swp1 carrier off [ OK ] # 43.85 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 44.19 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 44.53 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 44.86 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.19 [+0.33] TEST: swp1 carrier on [ OK ] # 45.86 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 46.18 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 46.54 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 46.89 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.14 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.79 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 48.13 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 48.48 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 48.85 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.18 [+0.33] TEST: swp1 carrier off [ OK ] # 49.84 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 50.19 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 50.54 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 50.85 [+0.31] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.42 [+13.57] # 64.42 [+0.00] Backup nexthop ID - invalid IDs # 64.42 [+0.00] ------------------------------- # 66.84 [+2.41] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.11 [+0.27] TEST: Valid nexthop as backup nexthop [ OK ] # 67.45 [+0.34] TEST: swp1 carrier off [ OK ] # 68.12 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 68.47 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 68.82 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 68.99 [+0.17] TEST: No Tx drop increase [ OK ] # 69.23 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.86 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 70.23 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 70.55 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 70.69 [+0.13] TEST: Tx drop increased [ OK ] # 71.09 [+0.40] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.70 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 72.06 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 72.43 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 72.59 [+0.15] TEST: Tx drop increased [ OK ] # 72.84 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.48 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 73.85 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 74.17 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 74.32 [+0.15] TEST: Tx drop increased [ OK ] # 74.98 [+0.66] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.62 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 75.98 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 76.31 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 76.47 [+0.16] TEST: Tx drop increased [ OK ] # 89.85 [+13.38] # 89.85 [+0.00] Backup nexthop ID - ping # 89.85 [+0.00] ------------------------ # 94.01 [+4.16] TEST: Ping with backup nexthop ID [ OK ] # 99.47 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 112.72 [+13.25] # 112.72 [+0.00] Backup nexthop ID - torture test # 112.72 [+0.00] -------------------------------- # 143.79 [+31.07] TEST: Torture test [ OK ] # 144.67 [+0.89] # 144.67 [+0.00] Tests passed: 83 # 144.67 [+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__->