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 # 13.17 [+13.17] # 13.17 [+0.00] Backup port # 13.17 [+0.00] ----------- # 15.12 [+1.95] TEST: Forwarding out of swp1 [ OK ] # 15.43 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 15.79 [+0.36] TEST: swp1 carrier off [ OK ] # 16.42 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 16.75 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 17.10 [+0.35] TEST: swp1 carrier on [ OK ] # 17.33 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.96 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 18.28 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 18.65 [+0.36] TEST: swp1 carrier off [ OK ] # 19.24 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 19.60 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 19.92 [+0.32] TEST: swp1 carrier on [ OK ] # 20.58 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 20.90 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 21.16 [+0.26] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.78 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 22.09 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 22.42 [+0.33] TEST: swp1 carrier off [ OK ] # 23.06 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 23.41 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 36.70 [+13.30] # 36.70 [+0.00] Backup nexthop ID # 36.71 [+0.00] ----------------- # 38.94 [+2.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.56 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 39.91 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 40.25 [+0.34] TEST: swp1 carrier off [ OK ] # 40.92 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 41.24 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 41.59 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 41.93 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.28 [+0.35] TEST: swp1 carrier on [ OK ] # 42.52 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.16 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 43.50 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 43.83 [+0.34] TEST: swp1 carrier off [ OK ] # 44.46 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 44.79 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 45.12 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 45.46 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.80 [+0.35] TEST: swp1 carrier on [ OK ] # 46.47 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 46.85 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 47.24 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 47.59 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.85 [+0.26] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.47 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 48.83 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 49.17 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 49.50 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.84 [+0.34] TEST: swp1 carrier off [ OK ] # 50.46 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 50.81 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 51.13 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 51.46 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.73 [+13.27] # 64.73 [+0.00] Backup nexthop ID - invalid IDs # 64.73 [+0.00] ------------------------------- # 67.09 [+2.36] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.36 [+0.27] TEST: Valid nexthop as backup nexthop [ OK ] # 67.73 [+0.37] TEST: swp1 carrier off [ OK ] # 68.37 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 68.71 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 69.07 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 69.21 [+0.14] TEST: No Tx drop increase [ OK ] # 69.49 [+0.28] TEST: Non-existent nexthop as backup nexthop [ OK ] # 70.17 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 70.52 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 70.88 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 71.02 [+0.14] TEST: Tx drop increased [ OK ] # 71.40 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 72.04 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 72.40 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 72.75 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 72.91 [+0.16] TEST: Tx drop increased [ OK ] # 73.15 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.78 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 74.13 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 74.46 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 74.63 [+0.17] TEST: Tx drop increased [ OK ] # 75.33 [+0.70] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.99 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 76.28 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 76.63 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 76.77 [+0.14] TEST: Tx drop increased [ OK ] # 89.98 [+13.22] # 89.98 [+0.00] Backup nexthop ID - ping # 89.99 [+0.00] ------------------------ # 94.17 [+4.18] TEST: Ping with backup nexthop ID [ OK ] # 99.63 [+5.46] TEST: Ping after disabling backup nexthop ID [ OK ] # 112.92 [+13.29] # 112.92 [+0.00] Backup nexthop ID - torture test # 112.92 [+0.00] -------------------------------- # 143.90 [+30.97] TEST: Torture test [ OK ] # 144.78 [+0.88] # 144.78 [+0.00] Tests passed: 83 # 144.78 [+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__->