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.18 [+12.18] # 12.18 [+0.00] Backup port # 12.18 [+0.00] ----------- # 13.64 [+1.45] TEST: Forwarding out of swp1 [ OK ] # 14.02 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 14.36 [+0.34] TEST: swp1 carrier off [ OK ] # 15.04 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 15.37 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 15.70 [+0.33] TEST: swp1 carrier on [ OK ] # 15.98 [+0.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.59 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 16.91 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 17.25 [+0.34] TEST: swp1 carrier off [ OK ] # 17.88 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 18.24 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 18.57 [+0.33] TEST: swp1 carrier on [ OK ] # 19.23 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 19.57 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 19.86 [+0.29] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.51 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 20.87 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 21.18 [+0.32] TEST: swp1 carrier off [ OK ] # 21.81 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 22.15 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 35.46 [+13.31] # 35.46 [+0.00] Backup nexthop ID # 35.46 [+0.00] ----------------- # 37.84 [+2.38] TEST: vx0 configured as backup port of swp1 [ OK ] # 38.45 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 38.79 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 39.15 [+0.36] TEST: swp1 carrier off [ OK ] # 39.83 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 40.19 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 40.58 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 40.95 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.28 [+0.33] TEST: swp1 carrier on [ OK ] # 41.54 [+0.27] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.18 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 42.52 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 42.87 [+0.34] TEST: swp1 carrier off [ OK ] # 43.49 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 43.84 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 44.18 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 44.55 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.90 [+0.36] TEST: swp1 carrier on [ OK ] # 45.56 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 45.90 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 46.27 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 46.65 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.93 [+0.28] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.68 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 48.07 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 48.45 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 48.82 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.20 [+0.38] TEST: swp1 carrier off [ OK ] # 49.92 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 50.28 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 50.66 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 51.02 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 67.00 [+15.98] # 67.00 [+0.00] Backup nexthop ID - invalid IDs # 67.00 [+0.00] ------------------------------- # 69.83 [+2.82] TEST: vx0 configured as backup port of swp1 [ OK ] # 70.13 [+0.31] TEST: Valid nexthop as backup nexthop [ OK ] # 70.53 [+0.40] TEST: swp1 carrier off [ OK ] # 71.23 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 71.56 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 71.97 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 72.15 [+0.18] TEST: No Tx drop increase [ OK ] # 72.50 [+0.35] TEST: Non-existent nexthop as backup nexthop [ OK ] # 73.16 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 73.53 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 73.89 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 74.08 [+0.20] TEST: Tx drop increased [ OK ] # 74.49 [+0.41] TEST: Blackhole nexthop as backup nexthop [ OK ] # 75.23 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 75.59 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 75.98 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 76.13 [+0.16] TEST: Tx drop increased [ OK ] # 76.41 [+0.28] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 77.03 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 77.35 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 77.71 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 77.87 [+0.15] TEST: Tx drop increased [ OK ] # 78.62 [+0.75] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 79.31 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 79.68 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 80.06 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 80.24 [+0.18] TEST: Tx drop increased [ OK ] # 94.03 [+13.79] # 94.03 [+0.00] Backup nexthop ID - ping # 94.03 [+0.00] ------------------------ # 98.31 [+4.27] TEST: Ping with backup nexthop ID [ OK ] # 103.79 [+5.48] TEST: Ping after disabling backup nexthop ID [ OK ] # 117.17 [+13.38] # 117.17 [+0.00] Backup nexthop ID - torture test # 117.17 [+0.00] -------------------------------- # 148.17 [+31.00] TEST: Torture test [ OK ] # 149.06 [+0.89] # 149.06 [+0.00] Tests passed: 83 # 149.06 [+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__->