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.60 [+12.60] # 12.60 [+0.00] Backup port # 12.60 [+0.00] ----------- # 14.50 [+1.90] TEST: Forwarding out of swp1 [ OK ] # 14.87 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 15.21 [+0.35] TEST: swp1 carrier off [ OK ] # 15.89 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 16.28 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 16.63 [+0.36] TEST: swp1 carrier on [ OK ] # 16.90 [+0.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.66 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 18.03 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 18.39 [+0.36] TEST: swp1 carrier off [ OK ] # 19.13 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 19.54 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 19.94 [+0.40] TEST: swp1 carrier on [ OK ] # 20.75 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 21.16 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 21.50 [+0.34] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.28 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 22.70 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 23.11 [+0.40] TEST: swp1 carrier off [ OK ] # 23.88 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 24.29 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 40.64 [+16.35] # 40.64 [+0.00] Backup nexthop ID # 40.64 [+0.00] ----------------- # 43.14 [+2.50] TEST: vx0 configured as backup port of swp1 [ OK ] # 43.80 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 44.17 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 44.51 [+0.34] TEST: swp1 carrier off [ OK ] # 45.15 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 45.49 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 45.84 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 46.18 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.55 [+0.36] TEST: swp1 carrier on [ OK ] # 46.79 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 47.48 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 47.83 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 48.16 [+0.33] TEST: swp1 carrier off [ OK ] # 48.81 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 49.17 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 49.52 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 49.88 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.22 [+0.34] TEST: swp1 carrier on [ OK ] # 50.89 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 51.21 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 51.55 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 51.91 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 52.18 [+0.27] TEST: No backup nexthop ID configured for swp1 [ OK ] # 52.82 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 53.14 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 53.52 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 53.85 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.22 [+0.36] TEST: swp1 carrier off [ OK ] # 54.86 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 55.19 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 55.55 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 55.91 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 69.55 [+13.64] # 69.56 [+0.00] Backup nexthop ID - invalid IDs # 69.56 [+0.00] ------------------------------- # 71.86 [+2.30] TEST: vx0 configured as backup port of swp1 [ OK ] # 72.12 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 72.48 [+0.36] TEST: swp1 carrier off [ OK ] # 73.14 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 73.46 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 73.82 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 73.95 [+0.14] TEST: No Tx drop increase [ OK ] # 74.22 [+0.27] TEST: Non-existent nexthop as backup nexthop [ OK ] # 74.86 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 75.19 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 75.56 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 75.70 [+0.14] TEST: Tx drop increased [ OK ] # 76.07 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 76.75 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 77.07 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 77.39 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 77.54 [+0.15] TEST: Tx drop increased [ OK ] # 77.79 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 78.40 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 78.76 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 79.09 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 79.25 [+0.16] TEST: Tx drop increased [ OK ] # 79.86 [+0.61] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 80.48 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 80.81 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 81.15 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 81.32 [+0.17] TEST: Tx drop increased [ OK ] # 94.72 [+13.41] # 94.72 [+0.00] Backup nexthop ID - ping # 94.72 [+0.00] ------------------------ # 98.94 [+4.21] TEST: Ping with backup nexthop ID [ OK ] # 104.38 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 117.92 [+13.53] # 117.92 [+0.00] Backup nexthop ID - torture test # 117.92 [+0.00] -------------------------------- # 148.90 [+30.98] TEST: Torture test [ OK ] # 149.88 [+0.98] # 149.88 [+0.00] Tests passed: 83 # 149.88 [+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__->