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.04 [+13.04] # 13.04 [+0.00] Backup port # 13.04 [+0.00] ----------- # 14.93 [+1.89] TEST: Forwarding out of swp1 [ OK ] # 15.36 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 15.83 [+0.48] TEST: swp1 carrier off [ OK ] # 16.68 [+0.85] TEST: No forwarding out of swp1 [ OK ] # 17.11 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 17.60 [+0.49] TEST: swp1 carrier on [ OK ] # 17.95 [+0.35] TEST: vx0 configured as backup port of swp1 [ OK ] # 18.68 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 19.08 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 19.50 [+0.43] TEST: swp1 carrier off [ OK ] # 20.21 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 20.65 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 21.02 [+0.37] TEST: swp1 carrier on [ OK ] # 21.74 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 22.12 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 22.40 [+0.28] TEST: vx0 not configured as backup port of swp1 [ OK ] # 23.07 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 23.41 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 23.77 [+0.36] TEST: swp1 carrier off [ OK ] # 24.48 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 24.86 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 38.93 [+14.06] # 38.93 [+0.00] Backup nexthop ID # 38.93 [+0.00] ----------------- # 41.12 [+2.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 41.76 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 42.08 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 42.45 [+0.38] TEST: swp1 carrier off [ OK ] # 43.08 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 43.44 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 43.77 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 44.15 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 44.52 [+0.36] TEST: swp1 carrier on [ OK ] # 44.77 [+0.26] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 45.43 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 45.86 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 46.19 [+0.33] TEST: swp1 carrier off [ OK ] # 46.87 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 47.24 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 47.57 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 47.96 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.30 [+0.35] TEST: swp1 carrier on [ OK ] # 48.94 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 49.30 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 49.63 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 49.98 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.23 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 50.82 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 51.17 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 51.50 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 51.83 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 52.14 [+0.31] TEST: swp1 carrier off [ OK ] # 52.81 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 53.13 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 53.53 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 53.87 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 67.31 [+13.44] # 67.31 [+0.00] Backup nexthop ID - invalid IDs # 67.31 [+0.00] ------------------------------- # 69.82 [+2.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 70.10 [+0.27] TEST: Valid nexthop as backup nexthop [ OK ] # 70.44 [+0.35] TEST: swp1 carrier off [ OK ] # 71.09 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 71.41 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 71.74 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 71.91 [+0.17] TEST: No Tx drop increase [ OK ] # 72.20 [+0.29] TEST: Non-existent nexthop as backup nexthop [ OK ] # 72.88 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 73.24 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 73.59 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 73.73 [+0.15] TEST: Tx drop increased [ OK ] # 74.11 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 74.73 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 75.07 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 75.44 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 75.59 [+0.16] TEST: Tx drop increased [ OK ] # 75.85 [+0.26] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 76.49 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 76.82 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 77.13 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 77.31 [+0.18] TEST: Tx drop increased [ OK ] # 77.96 [+0.65] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 78.62 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 78.98 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 79.35 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 79.52 [+0.17] TEST: Tx drop increased [ OK ] # 93.22 [+13.70] # 93.22 [+0.00] Backup nexthop ID - ping # 93.22 [+0.00] ------------------------ # 97.40 [+4.18] TEST: Ping with backup nexthop ID [ OK ] # 102.88 [+5.48] TEST: Ping after disabling backup nexthop ID [ OK ] # 116.27 [+13.39] # 116.27 [+0.00] Backup nexthop ID - torture test # 116.27 [+0.00] -------------------------------- # 147.27 [+31.00] TEST: Torture test [ OK ] # 148.19 [+0.92] # 148.19 [+0.00] Tests passed: 83 # 148.19 [+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__->