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.36 [+13.36] # 13.36 [+0.00] Backup port # 13.36 [+0.00] ----------- # 14.93 [+1.57] TEST: Forwarding out of swp1 [ OK ] # 15.28 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 15.63 [+0.35] TEST: swp1 carrier off [ OK ] # 16.31 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 16.66 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 17.02 [+0.36] TEST: swp1 carrier on [ OK ] # 17.28 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.93 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 18.25 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 18.61 [+0.36] TEST: swp1 carrier off [ OK ] # 19.23 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 19.58 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 19.91 [+0.33] TEST: swp1 carrier on [ OK ] # 20.56 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 20.88 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 21.12 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.78 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 22.16 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 22.47 [+0.31] TEST: swp1 carrier off [ OK ] # 23.09 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 23.47 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 37.09 [+13.63] # 37.09 [+0.00] Backup nexthop ID # 37.09 [+0.00] ----------------- # 39.51 [+2.42] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.20 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 40.52 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 40.86 [+0.34] TEST: swp1 carrier off [ OK ] # 41.48 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 41.81 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 42.15 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 42.47 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.81 [+0.34] TEST: swp1 carrier on [ OK ] # 43.07 [+0.26] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.69 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 44.05 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 44.39 [+0.34] TEST: swp1 carrier off [ OK ] # 45.04 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 45.36 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 45.68 [+0.31] TEST: Forwarding using backup nexthop ID [ OK ] # 46.00 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.34 [+0.34] TEST: swp1 carrier on [ OK ] # 46.98 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 47.33 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 47.67 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 48.01 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.28 [+0.27] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.91 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 49.26 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 49.62 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 49.95 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.27 [+0.32] TEST: swp1 carrier off [ OK ] # 50.91 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 51.26 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 51.62 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 51.95 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 65.41 [+13.46] # 65.41 [+0.00] Backup nexthop ID - invalid IDs # 65.41 [+0.00] ------------------------------- # 67.77 [+2.36] TEST: vx0 configured as backup port of swp1 [ OK ] # 68.03 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 68.36 [+0.33] TEST: swp1 carrier off [ OK ] # 69.05 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 69.42 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 69.76 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 69.95 [+0.19] TEST: No Tx drop increase [ OK ] # 70.22 [+0.27] TEST: Non-existent nexthop as backup nexthop [ OK ] # 70.86 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 71.19 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 71.55 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 71.71 [+0.17] TEST: Tx drop increased [ OK ] # 72.09 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 72.76 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 73.10 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 73.47 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 73.63 [+0.16] TEST: Tx drop increased [ OK ] # 73.87 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 74.54 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 74.86 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 75.19 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 75.35 [+0.16] TEST: Tx drop increased [ OK ] # 76.04 [+0.69] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 76.72 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 77.06 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 77.42 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 77.61 [+0.18] TEST: Tx drop increased [ OK ] # 91.18 [+13.57] # 91.18 [+0.00] Backup nexthop ID - ping # 91.18 [+0.00] ------------------------ # 95.38 [+4.20] TEST: Ping with backup nexthop ID [ OK ] # 100.85 [+5.47] TEST: Ping after disabling backup nexthop ID [ OK ] # 114.42 [+13.56] # 114.42 [+0.00] Backup nexthop ID - torture test # 114.42 [+0.00] -------------------------------- # 145.41 [+30.99] TEST: Torture test [ OK ] # 146.30 [+0.89] # 146.30 [+0.00] Tests passed: 83 # 146.30 [+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__->