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.53 [+12.53] # 12.53 [+0.00] Backup port # 12.53 [+0.00] ----------- # 14.35 [+1.82] TEST: Forwarding out of swp1 [ OK ] # 14.68 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 15.01 [+0.34] TEST: swp1 carrier off [ OK ] # 15.68 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 16.04 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 16.39 [+0.35] TEST: swp1 carrier on [ OK ] # 16.64 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.31 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 17.65 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 17.96 [+0.32] TEST: swp1 carrier off [ OK ] # 18.59 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 18.94 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 19.28 [+0.33] TEST: swp1 carrier on [ OK ] # 19.92 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 20.23 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 20.47 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.13 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 21.48 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 21.78 [+0.30] TEST: swp1 carrier off [ OK ] # 22.43 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 22.78 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 36.27 [+13.48] # 36.27 [+0.00] Backup nexthop ID # 36.27 [+0.00] ----------------- # 38.54 [+2.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.18 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 39.55 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 39.87 [+0.32] TEST: swp1 carrier off [ OK ] # 40.58 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 40.94 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 41.29 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 41.65 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.98 [+0.33] TEST: swp1 carrier on [ OK ] # 42.24 [+0.26] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.88 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 43.22 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 43.56 [+0.34] TEST: swp1 carrier off [ OK ] # 44.16 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 44.52 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 44.86 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 45.18 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.53 [+0.35] TEST: swp1 carrier on [ OK ] # 46.18 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 46.53 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 46.89 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 47.24 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.49 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.11 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 48.44 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 48.83 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 49.14 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.48 [+0.34] TEST: swp1 carrier off [ OK ] # 50.10 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 50.43 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 50.81 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 51.13 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.49 [+13.35] # 64.49 [+0.00] Backup nexthop ID - invalid IDs # 64.49 [+0.00] ------------------------------- # 66.77 [+2.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.00 [+0.23] TEST: Valid nexthop as backup nexthop [ OK ] # 67.35 [+0.35] TEST: swp1 carrier off [ OK ] # 67.98 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 68.31 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 68.68 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 68.83 [+0.16] TEST: No Tx drop increase [ OK ] # 69.11 [+0.28] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.74 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 70.08 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 70.42 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 70.58 [+0.16] TEST: Tx drop increased [ OK ] # 70.97 [+0.39] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.65 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 71.96 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 72.27 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 72.43 [+0.16] TEST: Tx drop increased [ OK ] # 72.68 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.31 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 73.67 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 74.01 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 74.15 [+0.14] TEST: Tx drop increased [ OK ] # 74.78 [+0.63] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.42 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 75.77 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 76.13 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 76.26 [+0.13] TEST: Tx drop increased [ OK ] # 89.76 [+13.50] # 89.76 [+0.00] Backup nexthop ID - ping # 89.76 [+0.00] ------------------------ # 93.84 [+4.08] TEST: Ping with backup nexthop ID [ OK ] # 99.30 [+5.46] TEST: Ping after disabling backup nexthop ID [ OK ] # 112.22 [+12.92] # 112.22 [+0.00] Backup nexthop ID - torture test # 112.22 [+0.00] -------------------------------- # 143.16 [+30.94] TEST: Torture test [ OK ] # 144.10 [+0.94] # 144.10 [+0.00] Tests passed: 83 # 144.10 [+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__->