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.92 [+12.92] # 12.92 [+0.00] Backup port # 12.92 [+0.00] ----------- # 14.80 [+1.88] TEST: Forwarding out of swp1 [ OK ] # 15.20 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 15.55 [+0.35] TEST: swp1 carrier off [ OK ] # 16.29 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 16.62 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 16.97 [+0.35] TEST: swp1 carrier on [ OK ] # 17.24 [+0.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.91 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 18.28 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 18.62 [+0.34] TEST: swp1 carrier off [ OK ] # 19.28 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 19.63 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 19.99 [+0.36] TEST: swp1 carrier on [ OK ] # 20.67 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 21.02 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 21.30 [+0.28] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.91 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 22.25 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 22.57 [+0.32] TEST: swp1 carrier off [ OK ] # 23.33 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 23.69 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 37.50 [+13.81] # 37.50 [+0.00] Backup nexthop ID # 37.50 [+0.00] ----------------- # 40.10 [+2.60] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.79 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 41.14 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 41.50 [+0.36] TEST: swp1 carrier off [ OK ] # 42.24 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 42.57 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 42.97 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 43.35 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 43.71 [+0.36] TEST: swp1 carrier on [ OK ] # 43.98 [+0.27] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 44.63 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 45.04 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 45.40 [+0.36] TEST: swp1 carrier off [ OK ] # 46.11 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 46.47 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 46.82 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 47.23 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.57 [+0.34] TEST: swp1 carrier on [ OK ] # 48.28 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 48.67 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 49.01 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 49.39 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.68 [+0.28] TEST: No backup nexthop ID configured for swp1 [ OK ] # 50.40 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 50.77 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 51.13 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 51.52 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.93 [+0.40] TEST: swp1 carrier off [ OK ] # 52.82 [+0.89] TEST: No forwarding out of swp1 [ OK ] # 53.17 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 53.51 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 53.85 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 67.66 [+13.81] # 67.66 [+0.00] Backup nexthop ID - invalid IDs # 67.66 [+0.00] ------------------------------- # 69.98 [+2.32] TEST: vx0 configured as backup port of swp1 [ OK ] # 70.24 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 70.58 [+0.34] TEST: swp1 carrier off [ OK ] # 71.25 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 71.60 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 71.94 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 72.10 [+0.16] TEST: No Tx drop increase [ OK ] # 72.34 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 73.01 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 73.41 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 73.73 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 73.89 [+0.16] TEST: Tx drop increased [ OK ] # 74.26 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 74.88 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 75.22 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 75.60 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 75.79 [+0.20] TEST: Tx drop increased [ OK ] # 76.09 [+0.30] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 76.77 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 77.14 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 77.49 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 77.64 [+0.15] TEST: Tx drop increased [ OK ] # 78.24 [+0.60] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 78.92 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 79.27 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 79.59 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 79.77 [+0.17] TEST: Tx drop increased [ OK ] # 93.32 [+13.55] # 93.32 [+0.00] Backup nexthop ID - ping # 93.32 [+0.00] ------------------------ # 97.51 [+4.19] TEST: Ping with backup nexthop ID [ OK ] # 102.97 [+5.46] TEST: Ping after disabling backup nexthop ID [ OK ] # 116.39 [+13.41] # 116.39 [+0.00] Backup nexthop ID - torture test # 116.39 [+0.00] -------------------------------- # 147.40 [+31.01] TEST: Torture test [ OK ] # 148.61 [+1.21] # 148.61 [+0.00] Tests passed: 83 # 148.62 [+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__->