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.12 [+12.12] # 12.13 [+0.00] Backup port # 12.13 [+0.00] ----------- # 13.58 [+1.45] TEST: Forwarding out of swp1 [ OK ] # 13.95 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 14.28 [+0.34] TEST: swp1 carrier off [ OK ] # 14.91 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 15.27 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 15.59 [+0.31] TEST: swp1 carrier on [ OK ] # 15.85 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.49 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 16.84 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 17.18 [+0.33] TEST: swp1 carrier off [ OK ] # 17.83 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 18.16 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 18.49 [+0.34] TEST: swp1 carrier on [ OK ] # 19.12 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 19.45 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 19.69 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.33 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 20.68 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 20.99 [+0.31] TEST: swp1 carrier off [ OK ] # 21.61 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 21.96 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 36.38 [+14.42] # 36.38 [+0.00] Backup nexthop ID # 36.38 [+0.00] ----------------- # 40.20 [+3.82] TEST: vx0 configured as backup port of swp1 [ OK ] # 41.13 [+0.93] TEST: Forwarding out of swp1 [ OK ] # 41.61 [+0.48] TEST: No forwarding out of vx0 [ OK ] # 42.14 [+0.53] TEST: swp1 carrier off [ OK ] # 43.12 [+0.99] TEST: No forwarding out of swp1 [ OK ] # 43.61 [+0.49] TEST: Forwarding out of vx0 [ OK ] # 44.18 [+0.57] TEST: No forwarding using backup nexthop ID [ OK ] # 44.70 [+0.52] TEST: Forwarding using VXLAN FDB entry [ OK ] # 45.22 [+0.51] TEST: swp1 carrier on [ OK ] # 45.61 [+0.40] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 46.55 [+0.94] TEST: Forwarding out of swp1 [ OK ] # 47.08 [+0.53] TEST: No forwarding out of vx0 [ OK ] # 47.45 [+0.38] TEST: swp1 carrier off [ OK ] # 48.24 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 48.62 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 48.97 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 49.40 [+0.43] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.79 [+0.39] TEST: swp1 carrier on [ OK ] # 50.51 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 50.87 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 51.22 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 51.60 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.87 [+0.27] TEST: No backup nexthop ID configured for swp1 [ OK ] # 52.54 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 52.92 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 53.31 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 53.67 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.04 [+0.37] TEST: swp1 carrier off [ OK ] # 54.73 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 55.07 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 55.42 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 55.81 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 69.60 [+13.79] # 69.60 [+0.00] Backup nexthop ID - invalid IDs # 69.60 [+0.00] ------------------------------- # 72.05 [+2.45] TEST: vx0 configured as backup port of swp1 [ OK ] # 72.36 [+0.31] TEST: Valid nexthop as backup nexthop [ OK ] # 72.67 [+0.31] TEST: swp1 carrier off [ OK ] # 73.31 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 73.65 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 74.01 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 74.17 [+0.15] TEST: No Tx drop increase [ OK ] # 74.42 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 75.03 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 75.39 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 75.72 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 75.90 [+0.18] TEST: Tx drop increased [ OK ] # 76.26 [+0.36] TEST: Blackhole nexthop as backup nexthop [ OK ] # 76.93 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 77.24 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 77.63 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 77.79 [+0.17] TEST: Tx drop increased [ OK ] # 78.03 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 78.70 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 79.04 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 79.38 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 79.54 [+0.15] TEST: Tx drop increased [ OK ] # 80.17 [+0.63] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 80.82 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 81.15 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 81.50 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 81.67 [+0.16] TEST: Tx drop increased [ OK ] # 95.18 [+13.51] # 95.18 [+0.00] Backup nexthop ID - ping # 95.18 [+0.00] ------------------------ # 99.33 [+4.15] TEST: Ping with backup nexthop ID [ OK ] # 104.78 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 118.12 [+13.35] # 118.12 [+0.00] Backup nexthop ID - torture test # 118.12 [+0.00] -------------------------------- # 149.12 [+30.99] TEST: Torture test [ OK ] # 150.01 [+0.89] # 150.01 [+0.00] Tests passed: 83 # 150.01 [+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__->