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.59 [+12.59] # 12.59 [+0.00] Backup port # 12.59 [+0.00] ----------- # 14.63 [+2.04] TEST: Forwarding out of swp1 [ OK ] # 14.96 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 15.31 [+0.35] TEST: swp1 carrier off [ OK ] # 15.97 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 16.32 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 16.67 [+0.35] TEST: swp1 carrier on [ OK ] # 16.95 [+0.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.67 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 18.02 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 18.38 [+0.36] TEST: swp1 carrier off [ OK ] # 19.03 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 19.40 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 19.79 [+0.40] TEST: swp1 carrier on [ OK ] # 20.47 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 20.82 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 21.08 [+0.26] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.73 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 22.07 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 22.44 [+0.37] TEST: swp1 carrier off [ OK ] # 23.19 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 23.53 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 37.31 [+13.78] # 37.31 [+0.00] Backup nexthop ID # 37.31 [+0.00] ----------------- # 39.70 [+2.39] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.37 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 40.75 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 41.12 [+0.37] TEST: swp1 carrier off [ OK ] # 41.80 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 42.15 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 42.51 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 42.83 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 43.18 [+0.34] TEST: swp1 carrier on [ OK ] # 43.44 [+0.26] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 44.14 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 44.49 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 44.88 [+0.39] TEST: swp1 carrier off [ OK ] # 45.63 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 46.00 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 46.37 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 46.72 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.12 [+0.40] TEST: swp1 carrier on [ OK ] # 47.79 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 48.16 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 48.50 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 48.87 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.15 [+0.29] TEST: No backup nexthop ID configured for swp1 [ OK ] # 49.87 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 50.24 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 50.62 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 50.97 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.36 [+0.39] TEST: swp1 carrier off [ OK ] # 52.14 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 52.46 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 52.81 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 53.15 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 66.91 [+13.75] # 66.91 [+0.00] Backup nexthop ID - invalid IDs # 66.91 [+0.00] ------------------------------- # 69.21 [+2.30] TEST: vx0 configured as backup port of swp1 [ OK ] # 69.51 [+0.30] TEST: Valid nexthop as backup nexthop [ OK ] # 69.85 [+0.34] TEST: swp1 carrier off [ OK ] # 70.47 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 70.83 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 71.17 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 71.35 [+0.18] TEST: No Tx drop increase [ OK ] # 71.62 [+0.27] TEST: Non-existent nexthop as backup nexthop [ OK ] # 72.30 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 72.64 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 73.01 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 73.17 [+0.16] TEST: Tx drop increased [ OK ] # 73.59 [+0.42] TEST: Blackhole nexthop as backup nexthop [ OK ] # 74.25 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 74.59 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 74.94 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 75.12 [+0.18] TEST: Tx drop increased [ OK ] # 75.40 [+0.28] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 76.06 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 76.39 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 76.75 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 76.92 [+0.17] TEST: Tx drop increased [ OK ] # 77.60 [+0.68] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 78.28 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 78.64 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 79.03 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 79.18 [+0.15] TEST: Tx drop increased [ OK ] # 93.53 [+14.35] # 93.53 [+0.00] Backup nexthop ID - ping # 93.53 [+0.00] ------------------------ # 97.87 [+4.34] TEST: Ping with backup nexthop ID [ OK ] # 103.38 [+5.51] TEST: Ping after disabling backup nexthop ID [ OK ] # 117.41 [+14.03] # 117.41 [+0.00] Backup nexthop ID - torture test # 117.41 [+0.00] -------------------------------- # 148.51 [+31.10] TEST: Torture test [ OK ] # 149.47 [+0.95] # 149.47 [+0.00] Tests passed: 83 # 149.47 [+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__->