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.22 [+12.22] # 12.22 [+0.00] Backup port # 12.22 [+0.00] ----------- # 13.98 [+1.76] TEST: Forwarding out of swp1 [ OK ] # 14.33 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 14.67 [+0.34] TEST: swp1 carrier off [ OK ] # 15.36 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 15.73 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 16.10 [+0.38] TEST: swp1 carrier on [ OK ] # 16.37 [+0.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.01 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 17.35 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 17.68 [+0.33] TEST: swp1 carrier off [ OK ] # 18.34 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 18.68 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 19.01 [+0.33] TEST: swp1 carrier on [ OK ] # 19.67 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 20.01 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 20.31 [+0.30] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.92 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 21.27 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 21.60 [+0.33] TEST: swp1 carrier off [ OK ] # 22.26 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 22.62 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 36.07 [+13.44] # 36.07 [+0.00] Backup nexthop ID # 36.07 [+0.00] ----------------- # 38.33 [+2.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 38.98 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 39.29 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 39.62 [+0.33] TEST: swp1 carrier off [ OK ] # 40.26 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 40.60 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 40.96 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 41.30 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.65 [+0.34] TEST: swp1 carrier on [ OK ] # 41.92 [+0.28] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.57 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 42.91 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 43.21 [+0.31] TEST: swp1 carrier off [ OK ] # 43.87 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 44.22 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 44.57 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 44.89 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.22 [+0.32] TEST: swp1 carrier on [ OK ] # 45.87 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 46.20 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 46.54 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 46.88 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.14 [+0.27] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.76 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 48.09 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 48.39 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 48.72 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.06 [+0.33] TEST: swp1 carrier off [ OK ] # 49.71 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 50.06 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 50.41 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 50.75 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.16 [+13.41] # 64.16 [+0.00] Backup nexthop ID - invalid IDs # 64.16 [+0.00] ------------------------------- # 66.42 [+2.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.68 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 67.01 [+0.33] TEST: swp1 carrier off [ OK ] # 67.69 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 68.04 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 68.38 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 68.54 [+0.16] TEST: No Tx drop increase [ OK ] # 68.82 [+0.28] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.47 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 69.84 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 70.16 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 70.30 [+0.14] TEST: Tx drop increased [ OK ] # 70.69 [+0.39] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.34 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 71.66 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 72.04 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 72.19 [+0.15] TEST: Tx drop increased [ OK ] # 72.45 [+0.26] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.09 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 73.42 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 73.75 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 73.92 [+0.17] TEST: Tx drop increased [ OK ] # 74.53 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.19 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 75.52 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 75.87 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 76.04 [+0.17] TEST: Tx drop increased [ OK ] # 89.30 [+13.26] # 89.30 [+0.00] Backup nexthop ID - ping # 89.30 [+0.00] ------------------------ # 93.52 [+4.22] TEST: Ping with backup nexthop ID [ OK ] # 99.00 [+5.47] TEST: Ping after disabling backup nexthop ID [ OK ] # 112.36 [+13.36] # 112.36 [+0.00] Backup nexthop ID - torture test # 112.36 [+0.00] -------------------------------- # 143.35 [+30.99] TEST: Torture test [ OK ] # 144.27 [+0.92] # 144.27 [+0.00] Tests passed: 83 # 144.27 [+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__->