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.32 [+12.32] # 12.32 [+0.00] Backup port # 12.32 [+0.00] ----------- # 13.87 [+1.55] TEST: Forwarding out of swp1 [ OK ] # 14.20 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 14.52 [+0.32] TEST: swp1 carrier off [ OK ] # 15.18 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 15.54 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 15.89 [+0.35] TEST: swp1 carrier on [ OK ] # 16.14 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.82 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 17.15 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 17.49 [+0.34] TEST: swp1 carrier off [ OK ] # 18.10 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 18.45 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 18.79 [+0.34] TEST: swp1 carrier on [ OK ] # 19.40 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 19.76 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 20.02 [+0.26] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.66 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 21.02 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 21.35 [+0.34] TEST: swp1 carrier off [ OK ] # 21.96 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 22.33 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 36.06 [+13.73] # 36.06 [+0.00] Backup nexthop ID # 36.06 [+0.00] ----------------- # 38.44 [+2.37] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.08 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 39.44 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 39.77 [+0.33] TEST: swp1 carrier off [ OK ] # 40.41 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 40.77 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 41.13 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 41.46 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.83 [+0.37] TEST: swp1 carrier on [ OK ] # 42.10 [+0.27] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.76 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 43.11 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 43.44 [+0.32] TEST: swp1 carrier off [ OK ] # 44.09 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 44.47 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 44.81 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 45.14 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.47 [+0.33] TEST: swp1 carrier on [ OK ] # 46.11 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 46.47 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 46.81 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 47.15 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.41 [+0.26] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.05 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 48.40 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 48.74 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 49.10 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.44 [+0.33] TEST: swp1 carrier off [ OK ] # 50.09 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 50.45 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 50.82 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 51.16 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.86 [+13.70] # 64.86 [+0.00] Backup nexthop ID - invalid IDs # 64.86 [+0.00] ------------------------------- # 67.49 [+2.62] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.75 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 68.11 [+0.36] TEST: swp1 carrier off [ OK ] # 68.79 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 69.12 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 69.50 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 69.67 [+0.17] TEST: No Tx drop increase [ OK ] # 69.95 [+0.28] TEST: Non-existent nexthop as backup nexthop [ OK ] # 70.71 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 71.11 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 71.47 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 71.64 [+0.17] TEST: Tx drop increased [ OK ] # 72.19 [+0.54] TEST: Blackhole nexthop as backup nexthop [ OK ] # 72.85 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 73.19 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 73.54 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 73.70 [+0.16] TEST: Tx drop increased [ OK ] # 73.96 [+0.26] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 74.58 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 74.92 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 75.25 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 75.42 [+0.17] TEST: Tx drop increased [ OK ] # 76.06 [+0.64] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 76.70 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 77.04 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 77.36 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 77.52 [+0.16] TEST: Tx drop increased [ OK ] # 90.97 [+13.45] # 90.98 [+0.00] Backup nexthop ID - ping # 90.98 [+0.00] ------------------------ # 95.15 [+4.17] TEST: Ping with backup nexthop ID [ OK ] # 100.59 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 114.32 [+13.73] # 114.33 [+0.00] Backup nexthop ID - torture test # 114.33 [+0.00] -------------------------------- # 145.41 [+31.08] TEST: Torture test [ OK ] # 145.59 [+0.18] kill: sending signal to 3205 failed: No such process # 146.44 [+0.86] # 146.44 [+0.00] Tests passed: 83 # 146.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__->