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.26 [+12.26] # 12.26 [+0.00] Backup port # 12.26 [+0.00] ----------- # 14.08 [+1.82] TEST: Forwarding out of swp1 [ OK ] # 14.41 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 14.73 [+0.32] TEST: swp1 carrier off [ OK ] # 15.34 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 15.73 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 16.08 [+0.35] TEST: swp1 carrier on [ OK ] # 16.35 [+0.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.00 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 17.33 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 17.65 [+0.32] TEST: swp1 carrier off [ OK ] # 18.31 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 18.67 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 18.98 [+0.31] TEST: swp1 carrier on [ OK ] # 19.60 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 19.94 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 20.19 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.84 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 21.17 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 21.49 [+0.32] TEST: swp1 carrier off [ OK ] # 22.13 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 22.49 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 35.86 [+13.37] # 35.87 [+0.00] Backup nexthop ID # 35.87 [+0.00] ----------------- # 38.20 [+2.33] TEST: vx0 configured as backup port of swp1 [ OK ] # 38.84 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 39.17 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 39.52 [+0.36] TEST: swp1 carrier off [ OK ] # 40.16 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 40.53 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 40.87 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 41.20 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.54 [+0.34] TEST: swp1 carrier on [ OK ] # 41.75 [+0.21] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.36 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 42.72 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 43.01 [+0.29] TEST: swp1 carrier off [ OK ] # 43.64 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 44.00 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 44.33 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 44.68 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.99 [+0.31] TEST: swp1 carrier on [ OK ] # 45.63 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 45.96 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 46.30 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 46.62 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.87 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.49 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 47.82 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 48.15 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 48.47 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.79 [+0.32] TEST: swp1 carrier off [ OK ] # 49.44 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 49.78 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 50.12 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 50.46 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.68 [+13.22] # 63.69 [+0.00] Backup nexthop ID - invalid IDs # 63.69 [+0.00] ------------------------------- # 66.15 [+2.47] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.46 [+0.31] TEST: Valid nexthop as backup nexthop [ OK ] # 66.81 [+0.35] TEST: swp1 carrier off [ OK ] # 67.56 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 67.94 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 68.32 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 68.49 [+0.17] TEST: No Tx drop increase [ OK ] # 68.79 [+0.29] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.53 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 69.92 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 70.32 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 70.50 [+0.18] TEST: Tx drop increased [ OK ] # 70.93 [+0.43] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.69 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 72.11 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 72.55 [+0.45] TEST: No forwarding using backup nexthop ID [ OK ] # 72.76 [+0.20] TEST: Tx drop increased [ OK ] # 73.14 [+0.38] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.92 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 74.32 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 74.71 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 74.92 [+0.21] TEST: Tx drop increased [ OK ] # 75.68 [+0.76] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 76.53 [+0.85] TEST: No forwarding out of swp1 [ OK ] # 76.90 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 77.33 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 77.54 [+0.21] TEST: Tx drop increased [ OK ] # 91.72 [+14.18] # 91.72 [+0.00] Backup nexthop ID - ping # 91.72 [+0.00] ------------------------ # 95.92 [+4.19] TEST: Ping with backup nexthop ID [ OK ] # 101.35 [+5.43] TEST: Ping after disabling backup nexthop ID [ OK ] # 114.38 [+13.03] # 114.38 [+0.00] Backup nexthop ID - torture test # 114.38 [+0.00] -------------------------------- # 145.37 [+30.98] TEST: Torture test [ OK ] # 146.23 [+0.86] # 146.23 [+0.00] Tests passed: 83 # 146.23 [+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__->