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.97 [+12.97] # 12.97 [+0.00] Backup port # 12.97 [+0.00] ----------- # 14.96 [+1.99] TEST: Forwarding out of swp1 [ OK ] # 15.35 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 15.71 [+0.37] TEST: swp1 carrier off [ OK ] # 16.43 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 16.82 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 17.20 [+0.38] TEST: swp1 carrier on [ OK ] # 17.46 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 18.13 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 18.51 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 18.88 [+0.37] TEST: swp1 carrier off [ OK ] # 19.54 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 19.91 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 20.25 [+0.35] TEST: swp1 carrier on [ OK ] # 20.91 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 21.28 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 21.56 [+0.28] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.23 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 22.60 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 22.93 [+0.33] TEST: swp1 carrier off [ OK ] # 23.63 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 23.98 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 38.10 [+14.13] # 38.11 [+0.00] Backup nexthop ID # 38.11 [+0.00] ----------------- # 40.55 [+2.45] TEST: vx0 configured as backup port of swp1 [ OK ] # 41.22 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 41.58 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 41.94 [+0.36] TEST: swp1 carrier off [ OK ] # 42.67 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 43.00 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 43.35 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 43.73 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 44.11 [+0.38] TEST: swp1 carrier on [ OK ] # 44.38 [+0.27] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 45.09 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 45.45 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 45.80 [+0.35] TEST: swp1 carrier off [ OK ] # 46.50 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 46.86 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 47.23 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 47.62 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.99 [+0.37] TEST: swp1 carrier on [ OK ] # 48.65 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 49.01 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 49.36 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 49.70 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.97 [+0.27] TEST: No backup nexthop ID configured for swp1 [ OK ] # 50.60 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 50.98 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 51.35 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 51.73 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 52.10 [+0.37] TEST: swp1 carrier off [ OK ] # 52.79 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 53.14 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 53.54 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 53.93 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 67.93 [+14.00] # 67.93 [+0.00] Backup nexthop ID - invalid IDs # 67.93 [+0.00] ------------------------------- # 70.43 [+2.50] TEST: vx0 configured as backup port of swp1 [ OK ] # 70.72 [+0.29] TEST: Valid nexthop as backup nexthop [ OK ] # 71.09 [+0.37] TEST: swp1 carrier off [ OK ] # 71.80 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 72.18 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 72.52 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 72.70 [+0.18] TEST: No Tx drop increase [ OK ] # 72.97 [+0.27] TEST: Non-existent nexthop as backup nexthop [ OK ] # 73.65 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 74.02 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 74.37 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 74.56 [+0.18] TEST: Tx drop increased [ OK ] # 74.98 [+0.42] TEST: Blackhole nexthop as backup nexthop [ OK ] # 75.67 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 76.05 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 76.42 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 76.59 [+0.17] TEST: Tx drop increased [ OK ] # 76.85 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 77.56 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 77.92 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 78.32 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 78.49 [+0.17] TEST: Tx drop increased [ OK ] # 79.21 [+0.73] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 79.90 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 80.26 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 80.64 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 80.81 [+0.17] TEST: Tx drop increased [ OK ] # 94.89 [+14.08] # 94.89 [+0.00] Backup nexthop ID - ping # 94.89 [+0.00] ------------------------ # 99.40 [+4.50] TEST: Ping with backup nexthop ID [ OK ] # 104.91 [+5.51] TEST: Ping after disabling backup nexthop ID [ OK ] # 119.40 [+14.49] # 119.40 [+0.00] Backup nexthop ID - torture test # 119.40 [+0.00] -------------------------------- # 150.51 [+31.10] TEST: Torture test [ OK ] # 151.44 [+0.93] # 151.44 [+0.00] Tests passed: 83 # 151.44 [+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__->