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.67 [+12.67] # 12.67 [+0.00] Backup port # 12.67 [+0.00] ----------- # 14.78 [+2.10] TEST: Forwarding out of swp1 [ OK ] # 15.20 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 15.63 [+0.43] TEST: swp1 carrier off [ OK ] # 16.46 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 16.90 [+0.45] TEST: No forwarding out of vx0 [ OK ] # 17.39 [+0.49] TEST: swp1 carrier on [ OK ] # 17.73 [+0.35] TEST: vx0 configured as backup port of swp1 [ OK ] # 18.56 [+0.82] TEST: Forwarding out of swp1 [ OK ] # 19.02 [+0.46] TEST: No forwarding out of vx0 [ OK ] # 19.49 [+0.47] TEST: swp1 carrier off [ OK ] # 20.28 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 20.67 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 21.07 [+0.40] TEST: swp1 carrier on [ OK ] # 21.81 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 22.20 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 22.54 [+0.34] TEST: vx0 not configured as backup port of swp1 [ OK ] # 23.30 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 23.63 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 24.02 [+0.39] TEST: swp1 carrier off [ OK ] # 24.72 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 25.08 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 39.25 [+14.17] # 39.25 [+0.00] Backup nexthop ID # 39.25 [+0.00] ----------------- # 41.55 [+2.30] TEST: vx0 configured as backup port of swp1 [ OK ] # 42.21 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 42.56 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 42.93 [+0.37] TEST: swp1 carrier off [ OK ] # 43.61 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 43.94 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 44.26 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 44.61 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 44.95 [+0.34] TEST: swp1 carrier on [ OK ] # 45.21 [+0.26] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 45.86 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 46.21 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 46.54 [+0.33] TEST: swp1 carrier off [ OK ] # 47.17 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 47.50 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 47.84 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 48.19 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.54 [+0.35] TEST: swp1 carrier on [ OK ] # 49.16 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 49.53 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 49.87 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 50.19 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.45 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 51.12 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 51.46 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 51.82 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 52.14 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 52.50 [+0.36] TEST: swp1 carrier off [ OK ] # 53.20 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 53.58 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 53.91 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 54.25 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 67.93 [+13.69] # 67.93 [+0.00] Backup nexthop ID - invalid IDs # 67.94 [+0.00] ------------------------------- # 70.16 [+2.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 70.41 [+0.24] TEST: Valid nexthop as backup nexthop [ OK ] # 70.76 [+0.36] TEST: swp1 carrier off [ OK ] # 71.39 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 71.76 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 72.08 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 72.26 [+0.18] TEST: No Tx drop increase [ OK ] # 72.55 [+0.29] TEST: Non-existent nexthop as backup nexthop [ OK ] # 73.18 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 73.53 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 73.86 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 74.02 [+0.16] TEST: Tx drop increased [ OK ] # 74.42 [+0.40] TEST: Blackhole nexthop as backup nexthop [ OK ] # 75.03 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 75.38 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 75.75 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 75.93 [+0.18] TEST: Tx drop increased [ OK ] # 76.18 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 76.85 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 77.18 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 77.52 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 77.70 [+0.17] TEST: Tx drop increased [ OK ] # 78.32 [+0.63] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 78.97 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 79.29 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 79.65 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 79.82 [+0.16] TEST: Tx drop increased [ OK ] # 93.21 [+13.39] # 93.21 [+0.00] Backup nexthop ID - ping # 93.21 [+0.00] ------------------------ # 97.40 [+4.19] TEST: Ping with backup nexthop ID [ OK ] # 102.86 [+5.46] TEST: Ping after disabling backup nexthop ID [ OK ] # 116.19 [+13.33] # 116.19 [+0.00] Backup nexthop ID - torture test # 116.19 [+0.00] -------------------------------- # 147.16 [+30.97] TEST: Torture test [ OK ] # 148.10 [+0.94] # 148.10 [+0.00] Tests passed: 83 # 148.10 [+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__->