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.41 [+12.41] # 12.41 [+0.00] Backup port # 12.41 [+0.00] ----------- # 13.92 [+1.52] TEST: Forwarding out of swp1 [ OK ] # 14.27 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 14.61 [+0.34] TEST: swp1 carrier off [ OK ] # 15.36 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 15.73 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 16.06 [+0.33] TEST: swp1 carrier on [ OK ] # 16.32 [+0.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.01 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 17.35 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 17.69 [+0.34] TEST: swp1 carrier off [ OK ] # 18.30 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 18.65 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 18.99 [+0.34] TEST: swp1 carrier on [ OK ] # 19.61 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 19.94 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 20.20 [+0.26] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.87 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 21.24 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 21.57 [+0.33] TEST: swp1 carrier off [ OK ] # 22.19 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 22.52 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 36.12 [+13.60] # 36.12 [+0.00] Backup nexthop ID # 36.12 [+0.00] ----------------- # 38.51 [+2.39] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.18 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 39.54 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 39.88 [+0.34] TEST: swp1 carrier off [ OK ] # 40.58 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 40.95 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 41.32 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 41.69 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.10 [+0.41] TEST: swp1 carrier on [ OK ] # 42.35 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.07 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 43.45 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 43.83 [+0.38] TEST: swp1 carrier off [ OK ] # 44.54 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 44.91 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 45.32 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 45.69 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.10 [+0.41] TEST: swp1 carrier on [ OK ] # 46.83 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 47.20 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 47.62 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 48.06 [+0.44] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.42 [+0.36] TEST: No backup nexthop ID configured for swp1 [ OK ] # 49.28 [+0.86] TEST: Forwarding out of swp1 [ OK ] # 49.72 [+0.44] TEST: No forwarding out of vx0 [ OK ] # 50.16 [+0.44] TEST: No forwarding using backup nexthop ID [ OK ] # 50.60 [+0.44] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.09 [+0.50] TEST: swp1 carrier off [ OK ] # 51.84 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 52.28 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 52.67 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 53.07 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 67.69 [+14.62] # 67.69 [+0.00] Backup nexthop ID - invalid IDs # 67.69 [+0.00] ------------------------------- # 70.13 [+2.43] TEST: vx0 configured as backup port of swp1 [ OK ] # 70.41 [+0.28] TEST: Valid nexthop as backup nexthop [ OK ] # 70.75 [+0.34] TEST: swp1 carrier off [ OK ] # 71.49 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 71.83 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 72.20 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 72.37 [+0.17] TEST: No Tx drop increase [ OK ] # 72.64 [+0.27] TEST: Non-existent nexthop as backup nexthop [ OK ] # 73.27 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 73.63 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 73.97 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 74.14 [+0.17] TEST: Tx drop increased [ OK ] # 74.55 [+0.41] TEST: Blackhole nexthop as backup nexthop [ OK ] # 75.22 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 75.56 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 75.91 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 76.08 [+0.17] TEST: Tx drop increased [ OK ] # 76.38 [+0.30] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 77.03 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 77.37 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 77.73 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 77.89 [+0.16] TEST: Tx drop increased [ OK ] # 78.52 [+0.63] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 79.18 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 79.52 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 79.85 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 80.02 [+0.16] TEST: Tx drop increased [ OK ] # 93.54 [+13.52] # 93.54 [+0.00] Backup nexthop ID - ping # 93.54 [+0.00] ------------------------ # 97.78 [+4.24] TEST: Ping with backup nexthop ID [ OK ] # 103.23 [+5.46] TEST: Ping after disabling backup nexthop ID [ OK ] # 116.68 [+13.45] # 116.68 [+0.00] Backup nexthop ID - torture test # 116.68 [+0.00] -------------------------------- # 147.68 [+30.99] TEST: Torture test [ OK ] # 148.58 [+0.91] # 148.58 [+0.00] Tests passed: 83 # 148.59 [+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__->