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 # 11.89 [+11.89] # 11.89 [+0.00] Backup port # 11.89 [+0.00] ----------- # 13.32 [+1.43] TEST: Forwarding out of swp1 [ OK ] # 13.65 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 13.97 [+0.32] TEST: swp1 carrier off [ OK ] # 14.60 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 14.95 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 15.28 [+0.33] TEST: swp1 carrier on [ OK ] # 15.51 [+0.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.13 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 16.47 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 16.81 [+0.34] TEST: swp1 carrier off [ OK ] # 17.47 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 17.80 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 18.12 [+0.33] TEST: swp1 carrier on [ OK ] # 18.76 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 19.11 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 19.38 [+0.27] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.00 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 20.32 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 20.66 [+0.34] TEST: swp1 carrier off [ OK ] # 21.30 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 21.63 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 34.71 [+13.08] # 34.71 [+0.00] Backup nexthop ID # 34.71 [+0.00] ----------------- # 36.89 [+2.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 37.56 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 37.88 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 38.23 [+0.35] TEST: swp1 carrier off [ OK ] # 38.86 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 39.19 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 39.54 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 39.87 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 40.22 [+0.35] TEST: swp1 carrier on [ OK ] # 40.44 [+0.22] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 41.08 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 41.45 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 41.76 [+0.31] TEST: swp1 carrier off [ OK ] # 42.35 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 42.68 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 43.02 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 43.35 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.64 [+0.28] TEST: swp1 carrier on [ OK ] # 44.25 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 44.58 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 44.92 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 45.28 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.51 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 46.13 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 46.49 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 46.84 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 47.18 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.50 [+0.32] TEST: swp1 carrier off [ OK ] # 48.14 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 48.49 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 48.83 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 49.19 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 62.39 [+13.20] # 62.39 [+0.00] Backup nexthop ID - invalid IDs # 62.39 [+0.00] ------------------------------- # 64.77 [+2.38] TEST: vx0 configured as backup port of swp1 [ OK ] # 65.02 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 65.37 [+0.35] TEST: swp1 carrier off [ OK ] # 66.01 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 66.35 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 66.72 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 66.87 [+0.15] TEST: No Tx drop increase [ OK ] # 67.15 [+0.28] TEST: Non-existent nexthop as backup nexthop [ OK ] # 67.82 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 68.14 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 68.49 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 68.65 [+0.16] TEST: Tx drop increased [ OK ] # 69.03 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 69.73 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 70.06 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 70.43 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 70.60 [+0.17] TEST: Tx drop increased [ OK ] # 70.87 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 71.55 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 71.87 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 72.24 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 72.39 [+0.15] TEST: Tx drop increased [ OK ] # 73.02 [+0.63] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 73.68 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 74.03 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 74.35 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 74.51 [+0.16] TEST: Tx drop increased [ OK ] # 88.04 [+13.52] # 88.04 [+0.00] Backup nexthop ID - ping # 88.04 [+0.00] ------------------------ # 92.18 [+4.14] TEST: Ping with backup nexthop ID [ OK ] # 97.65 [+5.47] TEST: Ping after disabling backup nexthop ID [ OK ] # 111.16 [+13.52] # 111.17 [+0.00] Backup nexthop ID - torture test # 111.17 [+0.00] -------------------------------- # 142.15 [+30.99] TEST: Torture test [ OK ] # 143.05 [+0.90] # 143.05 [+0.00] Tests passed: 83 # 143.05 [+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__->