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.11 [+12.11] # 12.11 [+0.00] Backup port # 12.11 [+0.00] ----------- # 13.98 [+1.87] TEST: Forwarding out of swp1 [ OK ] # 14.32 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 14.68 [+0.36] TEST: swp1 carrier off [ OK ] # 15.33 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 15.70 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 16.02 [+0.32] TEST: swp1 carrier on [ OK ] # 16.28 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.89 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 17.22 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 17.55 [+0.33] TEST: swp1 carrier off [ OK ] # 18.18 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 18.51 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 18.84 [+0.33] TEST: swp1 carrier on [ OK ] # 19.48 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 19.80 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 20.07 [+0.28] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.72 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 21.07 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 21.41 [+0.34] TEST: swp1 carrier off [ OK ] # 22.05 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 22.41 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 35.68 [+13.26] # 35.68 [+0.00] Backup nexthop ID # 35.68 [+0.00] ----------------- # 37.87 [+2.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 38.49 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 38.81 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 39.16 [+0.35] TEST: swp1 carrier off [ OK ] # 39.82 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 40.15 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 40.49 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 40.82 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.16 [+0.34] TEST: swp1 carrier on [ OK ] # 41.41 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.03 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 42.38 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 42.71 [+0.32] TEST: swp1 carrier off [ OK ] # 43.32 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 43.69 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 44.01 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 44.36 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.72 [+0.36] TEST: swp1 carrier on [ OK ] # 45.33 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 45.66 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 46.05 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 46.39 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.62 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.23 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 47.53 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 47.88 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 48.22 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.58 [+0.36] TEST: swp1 carrier off [ OK ] # 49.22 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 49.61 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 49.97 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 50.33 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.89 [+13.56] # 63.89 [+0.00] Backup nexthop ID - invalid IDs # 63.89 [+0.00] ------------------------------- # 66.16 [+2.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.42 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 66.73 [+0.31] TEST: swp1 carrier off [ OK ] # 67.60 [+0.87] TEST: No forwarding out of swp1 [ OK ] # 67.94 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 68.30 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 68.47 [+0.17] TEST: No Tx drop increase [ OK ] # 68.71 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.36 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 69.71 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 70.04 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 70.22 [+0.18] TEST: Tx drop increased [ OK ] # 70.59 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.24 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 71.58 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 71.89 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 72.07 [+0.18] TEST: Tx drop increased [ OK ] # 72.32 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 72.97 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 73.32 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 73.65 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 73.79 [+0.14] TEST: Tx drop increased [ OK ] # 74.44 [+0.65] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.11 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 75.43 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 75.76 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 75.91 [+0.15] TEST: Tx drop increased [ OK ] # 89.12 [+13.21] # 89.12 [+0.00] Backup nexthop ID - ping # 89.12 [+0.00] ------------------------ # 93.35 [+4.23] TEST: Ping with backup nexthop ID [ OK ] # 98.80 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 112.15 [+13.36] # 112.15 [+0.00] Backup nexthop ID - torture test # 112.15 [+0.00] -------------------------------- # 143.14 [+30.99] TEST: Torture test [ OK ] # 144.00 [+0.86] # 144.01 [+0.00] Tests passed: 83 # 144.01 [+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__->