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.29 [+12.29] # 12.29 [+0.00] Backup port # 12.30 [+0.00] ----------- # 13.77 [+1.47] TEST: Forwarding out of swp1 [ OK ] # 14.12 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 14.46 [+0.33] TEST: swp1 carrier off [ OK ] # 15.08 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 15.43 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 15.80 [+0.37] TEST: swp1 carrier on [ OK ] # 16.07 [+0.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.73 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 17.06 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 17.40 [+0.34] TEST: swp1 carrier off [ OK ] # 18.03 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 18.36 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 18.70 [+0.34] TEST: swp1 carrier on [ OK ] # 19.35 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 19.72 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 19.98 [+0.26] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.63 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 20.97 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 21.32 [+0.35] TEST: swp1 carrier off [ OK ] # 22.01 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 22.35 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 35.82 [+13.47] # 35.82 [+0.00] Backup nexthop ID # 35.82 [+0.00] ----------------- # 38.12 [+2.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 38.74 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 39.09 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 39.44 [+0.35] TEST: swp1 carrier off [ OK ] # 40.09 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 40.45 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 40.80 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 41.16 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.49 [+0.33] TEST: swp1 carrier on [ OK ] # 41.76 [+0.26] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.41 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 42.76 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 43.09 [+0.33] TEST: swp1 carrier off [ OK ] # 43.78 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 44.11 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 44.46 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 44.82 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.13 [+0.31] TEST: swp1 carrier on [ OK ] # 45.77 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 46.12 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 46.46 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 46.79 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.07 [+0.28] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.70 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 48.06 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 48.45 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 48.78 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.12 [+0.34] TEST: swp1 carrier off [ OK ] # 49.79 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 50.13 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 50.48 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 50.82 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.49 [+13.67] # 64.49 [+0.00] Backup nexthop ID - invalid IDs # 64.49 [+0.00] ------------------------------- # 66.88 [+2.39] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.12 [+0.24] TEST: Valid nexthop as backup nexthop [ OK ] # 67.45 [+0.33] TEST: swp1 carrier off [ OK ] # 68.13 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 68.46 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 68.79 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 68.93 [+0.15] TEST: No Tx drop increase [ OK ] # 69.19 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.86 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 70.17 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 70.53 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 70.68 [+0.15] TEST: Tx drop increased [ OK ] # 71.06 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.71 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 72.06 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 72.44 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 72.61 [+0.17] TEST: Tx drop increased [ OK ] # 72.85 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.53 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 73.91 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 74.25 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 74.42 [+0.16] TEST: Tx drop increased [ OK ] # 75.07 [+0.66] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.70 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 76.05 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 76.40 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 76.56 [+0.16] TEST: Tx drop increased [ OK ] # 90.06 [+13.49] # 90.06 [+0.00] Backup nexthop ID - ping # 90.06 [+0.00] ------------------------ # 94.30 [+4.24] TEST: Ping with backup nexthop ID [ OK ] # 99.78 [+5.48] TEST: Ping after disabling backup nexthop ID [ OK ] # 113.34 [+13.56] # 113.34 [+0.00] Backup nexthop ID - torture test # 113.34 [+0.00] -------------------------------- # 144.36 [+31.03] TEST: Torture test [ OK ] # 145.27 [+0.90] # 145.27 [+0.00] Tests passed: 83 # 145.27 [+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__->