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.57 [+12.57] # 12.57 [+0.00] Backup port # 12.57 [+0.00] ----------- # 14.08 [+1.51] TEST: Forwarding out of swp1 [ OK ] # 14.42 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 14.73 [+0.32] TEST: swp1 carrier off [ OK ] # 15.41 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 15.79 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 16.18 [+0.38] TEST: swp1 carrier on [ OK ] # 16.43 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.11 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 17.46 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 17.83 [+0.37] TEST: swp1 carrier off [ OK ] # 18.50 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 18.88 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 19.30 [+0.41] TEST: swp1 carrier on [ OK ] # 20.00 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 20.40 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 20.67 [+0.27] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.35 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 21.70 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 22.08 [+0.38] TEST: swp1 carrier off [ OK ] # 22.76 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 23.13 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 37.53 [+14.40] # 37.53 [+0.00] Backup nexthop ID # 37.54 [+0.00] ----------------- # 40.02 [+2.49] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.74 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 41.11 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 41.49 [+0.38] TEST: swp1 carrier off [ OK ] # 42.16 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 42.56 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 42.90 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 43.26 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 43.59 [+0.32] TEST: swp1 carrier on [ OK ] # 43.84 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 44.47 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 44.81 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 45.13 [+0.32] TEST: swp1 carrier off [ OK ] # 45.81 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 46.15 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 46.50 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 46.89 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.21 [+0.33] TEST: swp1 carrier on [ OK ] # 47.86 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 48.25 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 48.60 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 49.01 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.31 [+0.30] TEST: No backup nexthop ID configured for swp1 [ OK ] # 50.00 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 50.38 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 50.75 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 51.11 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.48 [+0.37] TEST: swp1 carrier off [ OK ] # 52.16 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 52.52 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 52.86 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 53.23 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 66.80 [+13.57] # 66.80 [+0.00] Backup nexthop ID - invalid IDs # 66.80 [+0.00] ------------------------------- # 69.26 [+2.46] TEST: vx0 configured as backup port of swp1 [ OK ] # 69.52 [+0.27] TEST: Valid nexthop as backup nexthop [ OK ] # 69.89 [+0.36] TEST: swp1 carrier off [ OK ] # 70.57 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 70.92 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 71.29 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 71.55 [+0.26] TEST: No Tx drop increase [ OK ] # 71.81 [+0.27] TEST: Non-existent nexthop as backup nexthop [ OK ] # 72.47 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 72.84 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 73.20 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 73.37 [+0.16] TEST: Tx drop increased [ OK ] # 73.79 [+0.43] TEST: Blackhole nexthop as backup nexthop [ OK ] # 74.48 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 74.82 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 75.20 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 75.40 [+0.20] TEST: Tx drop increased [ OK ] # 75.68 [+0.28] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 76.43 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 76.85 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 77.22 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 77.41 [+0.19] TEST: Tx drop increased [ OK ] # 78.19 [+0.78] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 79.06 [+0.87] TEST: No forwarding out of swp1 [ OK ] # 79.40 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 79.76 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 79.98 [+0.22] TEST: Tx drop increased [ OK ] # 93.26 [+13.27] # 93.26 [+0.00] Backup nexthop ID - ping # 93.26 [+0.00] ------------------------ # 97.57 [+4.32] TEST: Ping with backup nexthop ID [ OK ] # 103.02 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 116.71 [+13.69] # 116.72 [+0.00] Backup nexthop ID - torture test # 116.72 [+0.00] -------------------------------- # 147.67 [+30.95] TEST: Torture test [ OK ] # 148.61 [+0.94] # 148.61 [+0.00] Tests passed: 83 # 148.61 [+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__->