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.00 [+12.00] # 12.00 [+0.00] Backup port # 12.00 [+0.00] ----------- # 13.71 [+1.70] TEST: Forwarding out of swp1 [ OK ] # 14.04 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 14.39 [+0.35] TEST: swp1 carrier off [ OK ] # 15.08 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 15.47 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 15.80 [+0.34] TEST: swp1 carrier on [ OK ] # 16.08 [+0.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.77 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 17.13 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 17.48 [+0.35] TEST: swp1 carrier off [ OK ] # 18.36 [+0.88] TEST: No forwarding out of swp1 [ OK ] # 18.77 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 19.18 [+0.41] TEST: swp1 carrier on [ OK ] # 19.97 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 20.37 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 20.68 [+0.31] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.62 [+0.94] TEST: Forwarding out of swp1 [ OK ] # 22.11 [+0.49] TEST: No forwarding out of vx0 [ OK ] # 22.65 [+0.55] TEST: swp1 carrier off [ OK ] # 23.40 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 23.79 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 37.08 [+13.29] # 37.08 [+0.00] Backup nexthop ID # 37.08 [+0.00] ----------------- # 39.38 [+2.30] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.01 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 40.40 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 40.76 [+0.35] TEST: swp1 carrier off [ OK ] # 41.39 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 41.76 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 42.14 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 42.52 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.86 [+0.35] TEST: swp1 carrier on [ OK ] # 43.14 [+0.28] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.79 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 44.15 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 44.50 [+0.35] TEST: swp1 carrier off [ OK ] # 45.18 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 45.51 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 45.85 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 46.19 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.51 [+0.32] TEST: swp1 carrier on [ OK ] # 47.15 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 47.49 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 47.82 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 48.16 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.40 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 49.05 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 49.41 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 49.76 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 50.12 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.44 [+0.32] TEST: swp1 carrier off [ OK ] # 51.08 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 51.43 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 51.77 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 52.12 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 65.71 [+13.59] # 65.71 [+0.00] Backup nexthop ID - invalid IDs # 65.71 [+0.00] ------------------------------- # 67.98 [+2.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 68.26 [+0.27] TEST: Valid nexthop as backup nexthop [ OK ] # 68.60 [+0.35] TEST: swp1 carrier off [ OK ] # 69.29 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 69.65 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 69.99 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 70.13 [+0.15] TEST: No Tx drop increase [ OK ] # 70.42 [+0.28] TEST: Non-existent nexthop as backup nexthop [ OK ] # 71.07 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 71.42 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 71.76 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 71.90 [+0.14] TEST: Tx drop increased [ OK ] # 72.28 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 72.89 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 73.23 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 73.58 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 73.76 [+0.18] TEST: Tx drop increased [ OK ] # 74.03 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 74.65 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 74.99 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 75.32 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 75.49 [+0.17] TEST: Tx drop increased [ OK ] # 76.10 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 76.74 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 77.07 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 77.39 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 77.55 [+0.16] TEST: Tx drop increased [ OK ] # 90.91 [+13.36] # 90.92 [+0.00] Backup nexthop ID - ping # 90.92 [+0.00] ------------------------ # 95.10 [+4.19] TEST: Ping with backup nexthop ID [ OK ] # 100.57 [+5.47] TEST: Ping after disabling backup nexthop ID [ OK ] # 113.95 [+13.37] # 113.95 [+0.00] Backup nexthop ID - torture test # 113.95 [+0.00] -------------------------------- # 144.97 [+31.02] TEST: Torture test [ OK ] # 145.83 [+0.87] # 145.84 [+0.00] Tests passed: 83 # 145.84 [+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__->