make -C tools/testing/selftests TARGETS=net TEST_PROGS=test_bridge_backup__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' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: test_bridge_backup_port.sh [ 3785.428051][T30709] veth0: renamed from veth1 [ 3787.044625][T30726] br0: port 1(swp1) entered blocking state [ 3787.045852][T30726] br0: port 1(swp1) entered disabled state [ 3787.046222][T30726] swp1: entered allmulticast mode [ 3787.047687][T30726] swp1: entered promiscuous mode [ 3787.049660][T30726] br0: port 1(swp1) entered blocking state [ 3787.049981][T30726] br0: port 1(swp1) entered forwarding state [ 3787.387464][T30728] br0: port 2(vx0) entered blocking state [ 3787.387820][T30728] br0: port 2(vx0) entered disabled state [ 3787.388150][T30728] vx0: entered allmulticast mode [ 3787.389581][T30728] vx0: entered promiscuous mode [ 3787.390325][T30728] br0: port 2(vx0) entered blocking state [ 3787.390631][T30728] br0: port 2(vx0) entered forwarding state [ 3789.523792][T30741] br0: port 1(swp1) entered blocking state [ 3789.524137][T30741] br0: port 1(swp1) entered disabled state [ 3789.524486][T30741] swp1: entered allmulticast mode [ 3789.526635][T30741] swp1: entered promiscuous mode [ 3789.528045][T30741] br0: port 1(swp1) entered blocking state [ 3789.528360][T30741] br0: port 1(swp1) entered forwarding state [ 3789.869697][T30743] br0: port 2(vx0) entered blocking state [ 3789.870037][T30743] br0: port 2(vx0) entered disabled state [ 3789.870364][T30743] vx0: entered allmulticast mode [ 3789.871760][T30743] vx0: entered promiscuous mode [ 3789.872448][T30743] br0: port 2(vx0) entered blocking state [ 3789.872775][T30743] br0: port 2(vx0) entered forwarding state # # Backup port # ----------- [ 3796.491381][T30755] GACT probability NOT on # TEST: Forwarding out of swp1 [ OK ] # TEST: No forwarding out of vx0 [ OK ] [ 3798.341207][T17083] br0: port 1(swp1) entered disabled state # TEST: swp1 carrier off [ OK ] # TEST: No forwarding out of swp1 [ OK ] # TEST: No forwarding out of vx0 [ OK ] [ 3799.898716][T17046] br0: port 1(swp1) entered blocking state [ 3799.899074][T17046] br0: port 1(swp1) entered forwarding state # TEST: swp1 carrier on [ OK ] # TEST: vx0 configured as backup port of swp1 [ OK ] # TEST: Forwarding out of swp1 [ OK ] # TEST: No forwarding out of vx0 [ OK ] [ 3801.789788][T17046] br0: port 1(swp1) entered disabled state # TEST: swp1 carrier off [ OK ] # TEST: No forwarding out of swp1 [ OK ] # TEST: Forwarding out of vx0 [ OK ] [ 3803.359509][T17083] br0: port 1(swp1) entered blocking state [ 3803.359879][T17083] br0: port 1(swp1) entered forwarding state # TEST: swp1 carrier on [ OK ] # TEST: Forwarding out of swp1 [ OK ] # TEST: No forwarding out of vx0 [ OK ] # TEST: vx0 not configured as backup port of swp1 [ OK ] # TEST: Forwarding out of swp1 [ OK ] # TEST: No forwarding out of vx0 [ OK ] [ 3806.329719][T17083] br0: port 1(swp1) entered disabled state # TEST: swp1 carrier off [ OK ] # TEST: No forwarding out of swp1 [ OK ] # TEST: No forwarding out of vx0 [ OK ] [ 3808.099831][ T11] vx0: left allmulticast mode [ 3808.100229][ T11] vx0: left promiscuous mode [ 3808.100822][ T11] br0: port 2(vx0) entered disabled state [ 3808.103571][ T11] swp1: left allmulticast mode [ 3808.103970][ T11] swp1: left promiscuous mode [ 3808.104524][ T11] br0: port 1(swp1) entered disabled state [ 3808.634705][ T11] vx0: left allmulticast mode [ 3808.634993][ T11] vx0: left promiscuous mode [ 3808.635389][ T11] br0: port 2(vx0) entered disabled state [ 3808.644480][ T11] swp1: left allmulticast mode [ 3808.644772][ T11] swp1: left promiscuous mode [ 3808.645145][ T11] br0: port 1(swp1) entered disabled state [ 3813.180270][T30902] veth0: renamed from veth1 [ 3814.808343][T30918] br0: port 1(swp1) entered blocking state [ 3814.809206][T30918] br0: port 1(swp1) entered disabled state [ 3814.809562][T30918] swp1: entered allmulticast mode [ 3814.810995][T30918] swp1: entered promiscuous mode [ 3814.812424][T30918] br0: port 1(swp1) entered blocking state [ 3814.812759][T30918] br0: port 1(swp1) entered forwarding state [ 3815.136006][T30920] br0: port 2(vx0) entered blocking state [ 3815.136347][T30920] br0: port 2(vx0) entered disabled state [ 3815.136686][T30920] vx0: entered allmulticast mode [ 3815.138056][T30920] vx0: entered promiscuous mode [ 3815.138770][T30920] br0: port 2(vx0) entered blocking state [ 3815.139075][T30920] br0: port 2(vx0) entered forwarding state [ 3817.248180][T30933] br0: port 1(swp1) entered blocking state [ 3817.248534][T30933] br0: port 1(swp1) entered disabled state [ 3817.248907][T30933] swp1: entered allmulticast mode [ 3817.250285][T30933] swp1: entered promiscuous mode [ 3817.252406][T30933] br0: port 1(swp1) entered blocking state [ 3817.252739][T30933] br0: port 1(swp1) entered forwarding state [ 3817.578530][T30935] br0: port 2(vx0) entered blocking state [ 3817.578879][T30935] br0: port 2(vx0) entered disabled state [ 3817.579210][T30935] vx0: entered allmulticast mode [ 3817.580616][T30935] vx0: entered promiscuous mode [ 3817.581202][T30935] br0: port 2(vx0) entered blocking state [ 3817.581504][T30935] br0: port 2(vx0) entered forwarding state # # Backup nexthop ID # ----------------- # TEST: vx0 configured as backup port of swp1 [ OK ] # TEST: Forwarding out of swp1 [ OK ] # TEST: No forwarding out of vx0 [ OK ] [ 3827.271764][T15066] br0: port 1(swp1) entered disabled state # TEST: swp1 carrier off [ OK ] # TEST: No forwarding out of swp1 [ OK ] # TEST: Forwarding out of vx0 [ OK ] # TEST: No forwarding using backup nexthop ID [ OK ] # TEST: Forwarding using VXLAN FDB entry [ OK ] [ 3829.632575][T17083] br0: port 1(swp1) entered blocking state [ 3829.632943][T17083] br0: port 1(swp1) entered forwarding state # TEST: swp1 carrier on [ OK ] # TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # TEST: Forwarding out of swp1 [ OK ] # TEST: No forwarding out of vx0 [ OK ] [ 3831.525722][T17083] br0: port 1(swp1) entered disabled state # TEST: swp1 carrier off [ OK ] # TEST: No forwarding out of swp1 [ OK ] # TEST: Forwarding out of vx0 [ OK ] # TEST: Forwarding using backup nexthop ID [ OK ] # TEST: No forwarding using VXLAN FDB entry [ OK ] [ 3833.852826][T17083] br0: port 1(swp1) entered blocking state [ 3833.853180][T17083] br0: port 1(swp1) entered forwarding state # TEST: swp1 carrier on [ OK ] # TEST: Forwarding out of swp1 [ OK ] # TEST: No forwarding out of vx0 [ OK ] # TEST: No forwarding using backup nexthop ID [ OK ] # TEST: No forwarding using VXLAN FDB entry [ OK ] # TEST: No backup nexthop ID configured for swp1 [ OK ] # TEST: Forwarding out of swp1 [ OK ] # TEST: No forwarding out of vx0 [ OK ] # TEST: No forwarding using backup nexthop ID [ OK ] # TEST: No forwarding using VXLAN FDB entry [ OK ] [ 3838.543278][T17083] br0: port 1(swp1) entered disabled state # TEST: swp1 carrier off [ OK ] # TEST: No forwarding out of swp1 [ OK ] # TEST: Forwarding out of vx0 [ OK ] # TEST: No forwarding using backup nexthop ID [ OK ] # TEST: Forwarding using VXLAN FDB entry [ OK ] [ 3840.849001][ T11] vx0: left allmulticast mode [ 3840.849423][ T11] vx0: left promiscuous mode [ 3840.850029][ T11] br0: port 2(vx0) entered disabled state [ 3840.852542][ T11] swp1: left allmulticast mode [ 3840.852963][ T11] swp1: left promiscuous mode [ 3840.853529][ T11] br0: port 1(swp1) entered disabled state [ 3841.330731][ T11] vx0: left allmulticast mode [ 3841.331018][ T11] vx0: left promiscuous mode [ 3841.331416][ T11] br0: port 2(vx0) entered disabled state [ 3841.338239][ T11] swp1: left allmulticast mode [ 3841.338518][ T11] swp1: left promiscuous mode [ 3841.338906][ T11] br0: port 1(swp1) entered disabled state [ 3845.899928][T31151] veth0: renamed from veth1 [ 3847.503515][T31168] br0: port 1(swp1) entered blocking state [ 3847.503877][T31168] br0: port 1(swp1) entered disabled state [ 3847.504231][T31168] swp1: entered allmulticast mode [ 3847.506441][T31168] swp1: entered promiscuous mode [ 3847.507856][T31168] br0: port 1(swp1) entered blocking state [ 3847.508177][T31168] br0: port 1(swp1) entered forwarding state [ 3847.833722][T31170] br0: port 2(vx0) entered blocking state [ 3847.834060][T31170] br0: port 2(vx0) entered disabled state [ 3847.834388][T31170] vx0: entered allmulticast mode [ 3847.835779][T31170] vx0: entered promiscuous mode [ 3847.836477][T31170] br0: port 2(vx0) entered blocking state [ 3847.836802][T31170] br0: port 2(vx0) entered forwarding state [ 3849.979725][T31183] br0: port 1(swp1) entered blocking state [ 3849.980069][T31183] br0: port 1(swp1) entered disabled state [ 3849.980423][T31183] swp1: entered allmulticast mode [ 3849.981828][T31183] swp1: entered promiscuous mode [ 3849.983556][T31183] br0: port 1(swp1) entered blocking state [ 3849.983900][T31183] br0: port 1(swp1) entered forwarding state [ 3850.316142][T31185] br0: port 2(vx0) entered blocking state [ 3850.316480][T31185] br0: port 2(vx0) entered disabled state [ 3850.316820][T31185] vx0: entered allmulticast mode [ 3850.318238][T31185] vx0: entered promiscuous mode [ 3850.318955][T31185] br0: port 2(vx0) entered blocking state [ 3850.319262][T31185] br0: port 2(vx0) entered forwarding state # # Backup nexthop ID - invalid IDs # ------------------------------- # TEST: vx0 configured as backup port of swp1 [ OK ] # TEST: Valid nexthop as backup nexthop [ OK ] [ 3858.980248][T17046] br0: port 1(swp1) entered disabled state # TEST: swp1 carrier off [ OK ] # TEST: No forwarding out of swp1 [ OK ] # TEST: Forwarding out of vx0 [ OK ] # TEST: Forwarding using backup nexthop ID [ OK ] # TEST: No Tx drop increase [ OK ] # TEST: Non-existent nexthop as backup nexthop [ OK ] # TEST: No forwarding out of swp1 [ OK ] # TEST: Forwarding out of vx0 [ OK ] # TEST: No forwarding using backup nexthop ID [ OK ] # TEST: Tx drop increased [ OK ] # TEST: Blackhole nexthop as backup nexthop [ OK ] # TEST: No forwarding out of swp1 [ OK ] # TEST: Forwarding out of vx0 [ OK ] # TEST: No forwarding using backup nexthop ID [ OK ] # TEST: Tx drop increased [ OK ] # TEST: Non-group FDB nexthop as backup nexthop [ OK ] # TEST: No forwarding out of swp1 [ OK ] # TEST: Forwarding out of vx0 [ OK ] # TEST: No forwarding using backup nexthop ID [ OK ] # TEST: Tx drop increased [ OK ] # TEST: IPv6 address family nexthop as backup nexthop [ OK ] # TEST: No forwarding out of swp1 [ OK ] # TEST: Forwarding out of vx0 [ OK ] # TEST: No forwarding using backup nexthop ID [ OK ] # TEST: Tx drop increased [ OK ] [ 3869.780359][ T11] vx0: left allmulticast mode [ 3869.780673][ T11] vx0: left promiscuous mode [ 3869.781068][ T11] br0: port 2(vx0) entered disabled state [ 3869.782696][ T11] swp1: left allmulticast mode [ 3869.782969][ T11] swp1: left promiscuous mode [ 3869.783357][ T11] br0: port 1(swp1) entered disabled state [ 3870.250458][ T11] vx0: left allmulticast mode [ 3870.250788][ T11] vx0: left promiscuous mode [ 3870.251186][ T11] br0: port 2(vx0) entered disabled state [ 3870.252754][ T11] swp1: left allmulticast mode [ 3870.253092][ T11] swp1: left promiscuous mode [ 3870.253466][ T11] br0: port 1(swp1) entered disabled state [ 3874.912174][T31376] veth0: renamed from veth1 [ 3876.579488][T31393] br0: port 1(swp1) entered blocking state [ 3876.579855][T31393] br0: port 1(swp1) entered disabled state [ 3876.580211][T31393] swp1: entered allmulticast mode [ 3876.581618][T31393] swp1: entered promiscuous mode [ 3876.583699][T31393] br0: port 1(swp1) entered blocking state [ 3876.584019][T31393] br0: port 1(swp1) entered forwarding state [ 3876.910983][T31395] br0: port 2(vx0) entered blocking state [ 3876.911332][T31395] br0: port 2(vx0) entered disabled state [ 3876.912023][T31395] vx0: entered allmulticast mode [ 3876.913448][T31395] vx0: entered promiscuous mode [ 3876.914061][T31395] br0: port 2(vx0) entered blocking state [ 3876.914365][T31395] br0: port 2(vx0) entered forwarding state [ 3879.125588][T31408] br0: port 1(swp1) entered blocking state [ 3879.126292][T31408] br0: port 1(swp1) entered disabled state [ 3879.126665][T31408] swp1: entered allmulticast mode [ 3879.128133][T31408] swp1: entered promiscuous mode [ 3879.129547][T31408] br0: port 1(swp1) entered blocking state [ 3879.129879][T31408] br0: port 1(swp1) entered forwarding state [ 3879.460671][T31410] br0: port 2(vx0) entered blocking state [ 3879.461013][T31410] br0: port 2(vx0) entered disabled state [ 3879.461341][T31410] vx0: entered allmulticast mode [ 3879.462769][T31410] vx0: entered promiscuous mode [ 3879.463464][T31410] br0: port 2(vx0) entered blocking state [ 3879.463798][T31410] br0: port 2(vx0) entered forwarding state # # Backup nexthop ID - ping # ------------------------ [ 3887.610244][T29878] br0: port 1(swp1) entered disabled state [ 3888.638467][T17046] br0: port 1(swp1) entered disabled state # TEST: Ping with backup nexthop ID [ OK ] # TEST: Ping after disabling backup nexthop ID [ OK ] [ 3895.959768][ T11] vx0: left allmulticast mode [ 3895.960057][ T11] vx0: left promiscuous mode [ 3895.960448][ T11] br0: port 2(vx0) entered disabled state [ 3895.962161][ T11] swp1: left allmulticast mode [ 3895.962429][ T11] swp1: left promiscuous mode [ 3895.962836][ T11] br0: port 1(swp1) entered disabled state [ 3896.467619][ T11] vx0: left allmulticast mode [ 3896.467943][ T11] vx0: left promiscuous mode [ 3896.468343][ T11] br0: port 2(vx0) entered disabled state [ 3896.469863][ T11] swp1: left allmulticast mode [ 3896.470135][ T11] swp1: left promiscuous mode [ 3896.470510][ T11] br0: port 1(swp1) entered disabled state [ 3901.043504][T31503] veth0: renamed from veth1 [ 3902.638408][T31520] br0: port 1(swp1) entered blocking state [ 3902.638770][T31520] br0: port 1(swp1) entered disabled state [ 3902.639126][T31520] swp1: entered allmulticast mode [ 3902.640527][T31520] swp1: entered promiscuous mode [ 3902.642885][T31520] br0: port 1(swp1) entered blocking state [ 3902.643206][T31520] br0: port 1(swp1) entered forwarding state [ 3902.966880][T31522] br0: port 2(vx0) entered blocking state [ 3902.967218][T31522] br0: port 2(vx0) entered disabled state [ 3902.967546][T31522] vx0: entered allmulticast mode [ 3902.968970][T31522] vx0: entered promiscuous mode [ 3902.969685][T31522] br0: port 2(vx0) entered blocking state [ 3902.969990][T31522] br0: port 2(vx0) entered forwarding state [ 3905.107503][T31535] br0: port 1(swp1) entered blocking state [ 3905.107875][T31535] br0: port 1(swp1) entered disabled state [ 3905.108228][T31535] swp1: entered allmulticast mode [ 3905.109629][T31535] swp1: entered promiscuous mode [ 3905.111059][T31535] br0: port 1(swp1) entered blocking state [ 3905.111375][T31535] br0: port 1(swp1) entered forwarding state [ 3905.442103][T31537] br0: port 2(vx0) entered blocking state [ 3905.442452][T31537] br0: port 2(vx0) entered disabled state [ 3905.442804][T31537] vx0: entered allmulticast mode [ 3905.444212][T31537] vx0: entered promiscuous mode [ 3905.444824][T31537] br0: port 2(vx0) entered blocking state [ 3905.445130][T31537] br0: port 2(vx0) entered forwarding state # # Backup nexthop ID - torture test # -------------------------------- [ 3912.199789][T17046] br0: port 1(swp1) entered disabled state # TEST: Torture test [ OK ] [ 3942.429140][ T11] vx0: left allmulticast mode [ 3942.429433][ T11] vx0: left promiscuous mode [ 3942.429851][ T11] br0: port 2(vx0) entered disabled state [ 3942.432184][ T11] swp1: left allmulticast mode [ 3942.432457][ T11] swp1: left promiscuous mode [ 3942.432844][ T11] br0: port 1(swp1) entered disabled state [ 3942.913370][ T11] vx0: left allmulticast mode [ 3942.913728][ T11] vx0: left promiscuous mode [ 3942.914168][ T11] br0: port 2(vx0) entered disabled state [ 3942.916204][ T11] swp1: left allmulticast mode [ 3942.916493][ T11] swp1: left promiscuous mode [ 3942.916968][ T11] br0: port 1(swp1) entered disabled state # # Tests passed: 83 # 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__->