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.39 [+12.39] # 12.39 [+0.00] Backup port # 12.39 [+0.00] ----------- # 14.32 [+1.93] TEST: Forwarding out of swp1 [ OK ] # 14.67 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 15.02 [+0.35] TEST: swp1 carrier off [ OK ] # 15.70 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 16.05 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 16.41 [+0.36] TEST: swp1 carrier on [ OK ] # 16.65 [+0.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.31 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 17.66 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 17.99 [+0.34] TEST: swp1 carrier off [ OK ] # 18.64 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 18.99 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 19.33 [+0.34] TEST: swp1 carrier on [ OK ] # 19.99 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 20.33 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 20.59 [+0.26] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.22 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 21.58 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 21.90 [+0.33] TEST: swp1 carrier off [ OK ] # 22.56 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 22.91 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 36.70 [+13.79] # 36.70 [+0.00] Backup nexthop ID # 36.70 [+0.00] ----------------- # 39.08 [+2.38] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.72 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 40.05 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 40.40 [+0.35] TEST: swp1 carrier off [ OK ] # 41.10 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 41.46 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 41.80 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 42.17 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.53 [+0.36] TEST: swp1 carrier on [ OK ] # 42.78 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.42 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 43.78 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 44.08 [+0.31] TEST: swp1 carrier off [ OK ] # 44.77 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 45.11 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 45.43 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 45.78 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.11 [+0.33] TEST: swp1 carrier on [ OK ] # 46.73 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 47.08 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 47.41 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 47.74 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.97 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.65 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 48.99 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 49.35 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 49.70 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.04 [+0.34] TEST: swp1 carrier off [ OK ] # 50.68 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 51.03 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 51.37 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 51.73 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 65.05 [+13.32] # 65.05 [+0.00] Backup nexthop ID - invalid IDs # 65.05 [+0.00] ------------------------------- # 67.32 [+2.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.58 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 67.90 [+0.32] TEST: swp1 carrier off [ OK ] # 68.53 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 68.89 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 69.23 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 69.39 [+0.17] TEST: No Tx drop increase [ OK ] # 69.63 [+0.23] TEST: Non-existent nexthop as backup nexthop [ OK ] # 70.25 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 70.60 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 70.97 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 71.13 [+0.16] TEST: Tx drop increased [ OK ] # 71.52 [+0.39] TEST: Blackhole nexthop as backup nexthop [ OK ] # 72.16 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 72.48 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 72.82 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 73.00 [+0.17] TEST: Tx drop increased [ OK ] # 73.27 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.94 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 74.27 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 74.62 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 74.78 [+0.16] TEST: Tx drop increased [ OK ] # 75.41 [+0.63] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 76.06 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 76.40 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 76.76 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 76.92 [+0.16] TEST: Tx drop increased [ OK ] # 90.27 [+13.35] # 90.27 [+0.00] Backup nexthop ID - ping # 90.27 [+0.00] ------------------------ # 94.47 [+4.19] TEST: Ping with backup nexthop ID [ OK ] # 99.91 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 113.26 [+13.36] # 113.27 [+0.00] Backup nexthop ID - torture test # 113.27 [+0.00] -------------------------------- # 144.26 [+30.99] TEST: Torture test [ OK ] # 145.18 [+0.92] # 145.18 [+0.00] Tests passed: 83 # 145.18 [+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__->