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.51 [+12.51] # 12.51 [+0.00] Backup port # 12.51 [+0.00] ----------- # 14.30 [+1.79] TEST: Forwarding out of swp1 [ OK ] # 14.66 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 15.03 [+0.37] TEST: swp1 carrier off [ OK ] # 15.71 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 16.08 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 16.47 [+0.38] TEST: swp1 carrier on [ OK ] # 16.73 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.50 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 17.86 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 18.21 [+0.35] TEST: swp1 carrier off [ OK ] # 18.91 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 19.29 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 19.66 [+0.37] TEST: swp1 carrier on [ OK ] # 20.32 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 20.69 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 20.97 [+0.29] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.63 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 22.04 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 22.37 [+0.33] TEST: swp1 carrier off [ OK ] # 23.01 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 23.33 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 36.83 [+13.50] # 36.83 [+0.00] Backup nexthop ID # 36.83 [+0.00] ----------------- # 39.09 [+2.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.71 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 40.08 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 40.43 [+0.35] TEST: swp1 carrier off [ OK ] # 41.07 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 41.44 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 41.78 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 42.11 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.44 [+0.33] TEST: swp1 carrier on [ OK ] # 42.68 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.30 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 43.69 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 44.03 [+0.34] TEST: swp1 carrier off [ OK ] # 44.63 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 44.97 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 45.33 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 45.67 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.00 [+0.33] TEST: swp1 carrier on [ OK ] # 46.62 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 46.97 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 47.31 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 47.68 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.95 [+0.27] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.58 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 48.92 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 49.27 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 49.61 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.93 [+0.32] TEST: swp1 carrier off [ OK ] # 50.57 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 50.94 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 51.27 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 51.60 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 65.07 [+13.47] # 65.07 [+0.00] Backup nexthop ID - invalid IDs # 65.07 [+0.00] ------------------------------- # 67.38 [+2.31] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.64 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 67.97 [+0.33] TEST: swp1 carrier off [ OK ] # 68.60 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 68.93 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 69.25 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 69.44 [+0.19] TEST: No Tx drop increase [ OK ] # 69.68 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 70.36 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 70.70 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 71.04 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 71.20 [+0.16] TEST: Tx drop increased [ OK ] # 71.57 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 72.20 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 72.54 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 72.90 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 73.07 [+0.17] TEST: Tx drop increased [ OK ] # 73.35 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.95 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 74.31 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 74.67 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 74.83 [+0.16] TEST: Tx drop increased [ OK ] # 75.49 [+0.65] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 76.11 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 76.43 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 76.76 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 76.90 [+0.15] TEST: Tx drop increased [ OK ] # 90.46 [+13.55] # 90.46 [+0.00] Backup nexthop ID - ping # 90.46 [+0.00] ------------------------ # 94.68 [+4.22] TEST: Ping with backup nexthop ID [ OK ] # 100.16 [+5.47] TEST: Ping after disabling backup nexthop ID [ OK ] # 113.60 [+13.44] # 113.60 [+0.00] Backup nexthop ID - torture test # 113.60 [+0.00] -------------------------------- # 144.65 [+31.05] TEST: Torture test [ OK ] # 145.53 [+0.88] # 145.53 [+0.00] Tests passed: 83 # 145.53 [+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__->