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.17 [+12.17] # 12.17 [+0.00] Backup port # 12.17 [+0.00] ----------- # 13.65 [+1.48] TEST: Forwarding out of swp1 [ OK ] # 13.98 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 14.29 [+0.31] TEST: swp1 carrier off [ OK ] # 14.93 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 15.26 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 15.59 [+0.33] TEST: swp1 carrier on [ OK ] # 15.82 [+0.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.46 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 16.79 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 17.14 [+0.35] TEST: swp1 carrier off [ OK ] # 17.77 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 18.10 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 18.44 [+0.34] TEST: swp1 carrier on [ OK ] # 19.19 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 19.67 [+0.48] TEST: No forwarding out of vx0 [ OK ] # 20.02 [+0.35] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.72 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 21.09 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 21.41 [+0.32] TEST: swp1 carrier off [ OK ] # 22.09 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 22.46 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 37.51 [+15.05] # 37.51 [+0.00] Backup nexthop ID # 37.51 [+0.00] ----------------- # 40.28 [+2.77] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.92 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 41.30 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 41.70 [+0.40] TEST: swp1 carrier off [ OK ] # 42.44 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 42.80 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 43.21 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 43.58 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 43.92 [+0.34] TEST: swp1 carrier on [ OK ] # 44.20 [+0.28] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 44.88 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 45.25 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 45.59 [+0.34] TEST: swp1 carrier off [ OK ] # 46.23 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 46.59 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 46.92 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 47.29 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.66 [+0.37] TEST: swp1 carrier on [ OK ] # 48.33 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 48.71 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 49.05 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 49.40 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.68 [+0.28] TEST: No backup nexthop ID configured for swp1 [ OK ] # 50.33 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 50.68 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 51.02 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 51.35 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.70 [+0.35] TEST: swp1 carrier off [ OK ] # 52.33 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 52.67 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 53.00 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 53.34 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 66.58 [+13.24] # 66.58 [+0.00] Backup nexthop ID - invalid IDs # 66.58 [+0.00] ------------------------------- # 68.97 [+2.39] TEST: vx0 configured as backup port of swp1 [ OK ] # 69.21 [+0.24] TEST: Valid nexthop as backup nexthop [ OK ] # 69.54 [+0.33] TEST: swp1 carrier off [ OK ] # 70.17 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 70.49 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 70.83 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 71.00 [+0.18] TEST: No Tx drop increase [ OK ] # 71.24 [+0.23] TEST: Non-existent nexthop as backup nexthop [ OK ] # 71.82 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 72.16 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 72.50 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 72.65 [+0.15] TEST: Tx drop increased [ OK ] # 72.98 [+0.34] TEST: Blackhole nexthop as backup nexthop [ OK ] # 73.57 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 73.90 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 74.25 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 74.39 [+0.14] TEST: Tx drop increased [ OK ] # 74.64 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 75.25 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 75.58 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 75.92 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 76.06 [+0.14] TEST: Tx drop increased [ OK ] # 76.66 [+0.60] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 77.30 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 77.63 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 77.99 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 78.13 [+0.15] TEST: Tx drop increased [ OK ] # 91.09 [+12.96] # 91.10 [+0.00] Backup nexthop ID - ping # 91.10 [+0.00] ------------------------ # 95.14 [+4.05] TEST: Ping with backup nexthop ID [ OK ] # 100.61 [+5.46] TEST: Ping after disabling backup nexthop ID [ OK ] # 113.57 [+12.96] # 113.57 [+0.00] Backup nexthop ID - torture test # 113.57 [+0.00] -------------------------------- # 144.53 [+30.96] TEST: Torture test [ OK ] # 145.39 [+0.85] # 145.39 [+0.00] Tests passed: 83 # 145.39 [+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__->