Uploaded image for project: 'Fast Datapath Product'
  1. Fast Datapath Product
  2. FDP-3110

Test Coverage: [balance-slb] remove bond-rebalance-interval got larger time(about 110s)

    • False
    • False
    • Hide

      ( ) The test coverage is aligned with the epic's acceptance criteria

      Show
      ( ) The test coverage is aligned with the epic's acceptance criteria
    • rhel-10
    • None
    • 3
    • OVS/DPDK - Sprint 15 - West
    • 1
    • +

      This task is tracking the test case writing activities to cover the bug described below.

      balance-slb remove bond-rebalance-interval got larger time

       Problem Description: Clearly explain the issue.

      create balance_slb bond port and set the bond-rebalance-interval to 60000(60mins), then remove bond-rebalance-interval. it let current time duration increase to 110000(110s). But default bond-rebalance-interval should be 10000(10s) 

       Impact Assessment: Describe the severity and impact (e.g., network down,availability of a workaround, etc.).

      bond-rebalance-interval setting didn't work on balance_slb + no lacp scenario

       Software Versions: Specify the exact versions in use (e.g.,openvswitch3.1-3.1.0-147.el8fdp).

      openvswitch3.7-3.7.0-0.1.el10fdp.x86_64

      kernel-6.12.0-55.54.1.el10_0.x86_64

        Issue Type: Indicate whether this is a new issue or a regression (if a regression, state the last known working version).

      new issue

       Reproducibility: Confirm if the issue can be reproduced consistently. If not, describe how often it occurs.

      100%

       Reproduction Steps: Provide detailed steps or scripts to replicate the issue.

      ovs-vsctl set Open_vSwitch . other_config={}
      ovs-vsctl --may-exist add-br bondbridge
      ovs-vsctl add-bond bondbridge balance-slb ens7f0np0 ens7f1np1 lacp=off bond_mode=balance-slb  -- set Interface ens7f0np0 mtu_request=9000  -- set Interface ens7f1np1 mtu_request=9000
      ovs-appctl bond/show
      sleep 1
      ovs-vsctl set port balance-slb other_config:bond-rebalance-interval=60000
      sleep 1
      ovs-appctl bond/show

      ovs-vsctl remove port balance-slb other_config bond-rebalance-interval
      sleep 1
      ovs-appctl bond/show

       

       Expected Behavior: Describe what should happen under normal circumstances.

      remove original bond-rebalance-interval=60000, will let bond-rebalance-interval reset to default setting(10s)

       Observed Behavior: Explain what actually happens.

      remove original bond-rebalance-interval=60000, reset the time to 110s. the full output log

      [root@dell-per760-08 ovs_bond_function]# bash test.sh 
      + ovs-vsctl set Open_vSwitch . 'other_config={}'
      + ovs-vsctl --may-exist add-br bondbridge
      + ovs-vsctl add-bond bondbridge balance-slb ens7f0np0 ens7f1np1 lacp=off bond_mode=balance-slb – set Interface ens7f0np0 mtu_request=9000 – set Interface ens7f1np1 mtu_request=9000
      + ovs-appctl bond/show
      ---- balance-slb ----
      bond_mode: balance-slb
      bond may use recirculation: no, Recirc-ID : -1
      bond-hash-basis: 0
      lb_output action: disabled, bond-id: -1
      all members active: false
      updelay: 0 ms
      downdelay: 0 ms
      next rebalance: 9983 ms
      lacp_status: off
      lacp_fallback_ab: false
      active-backup primary: <none>
      active member mac: 68:05:ca:30:57:25(ens7f1np1)member ens7f0np0: enabled
      may_enable: truemember ens7f1np1: enabled
      active member
      may_enable: true+ sleep 1
      + ovs-vsctl set port balance-slb other_config:bond-rebalance-interval=60000
      + sleep 1
      + ovs-appctl bond/show
      ---- balance-slb ----
      bond_mode: balance-slb
      bond may use recirculation: no, Recirc-ID : -1
      bond-hash-basis: 0
      lb_output action: disabled, bond-id: -1
      all members active: false
      updelay: 0 ms
      downdelay: 0 ms
      next rebalance: 59474 ms
      lacp_status: off
      lacp_fallback_ab: false
      active-backup primary: <none>
      active member mac: 68:05:ca:30:57:25(ens7f1np1)member ens7f0np0: enabled
      may_enable: truemember ens7f1np1: enabled
      active member
      may_enable: true+ ovs-vsctl remove port balance-slb other_config bond-rebalance-interval
      + sleep 1
      + ovs-appctl bond/show
      ---- balance-slb ----
      bond_mode: balance-slb
      bond may use recirculation: no, Recirc-ID : -1
      bond-hash-basis: 0
      lb_output action: disabled, bond-id: -1
      all members active: false
      updelay: 0 ms
      downdelay: 0 ms
      next rebalance: 108460 ms
      lacp_status: off
      lacp_fallback_ab: false
      active-backup primary: <none>
      active member mac: 68:05:ca:30:57:25(ens7f1np1)
      member ens7f0np0: enabled
      may_enable: true
      member ens7f1np1: enabled
      active member
      may_enable: true

       Troubleshooting Actions: Outline the steps taken to diagnose or resolve the issue so far.

      This issue was occured when run ovs bond function test. test case is 
      ovs_bonding_balance_slb_appctl_migrate.
      https://beaker.engineering.redhat.com/recipes/20595260#task211735132

       Logs: If you collected logs please provide them (e.g. sos report, /var/log/openvswitch/* , testpmd console)

      full of openvswitch log

      2026-02-04T08:24:30.114Z|00001|vlog|INFO|opened log file /var/log/openvswitch/ovs-vswitchd.log
      2026-02-04T08:24:30.118Z|00002|ovs_numa|INFO|Discovered 32 CPU cores on NUMA node 1
      2026-02-04T08:24:30.118Z|00003|ovs_numa|INFO|Discovered 32 CPU cores on NUMA node 0
      2026-02-04T08:24:30.118Z|00004|ovs_numa|INFO|Discovered 2 NUMA nodes and 64 CPU cores
      2026-02-04T08:24:30.119Z|00005|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connecting...
      2026-02-04T08:24:30.119Z|00006|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connected
      2026-02-04T08:24:30.120Z|00007|dpdk|INFO|DPDK Disabled - Use other_config:dpdk-init to enable
      2026-02-04T08:24:30.123Z|00008|bridge|INFO|ovs-vswitchd (Open vSwitch) 3.7.0-0.1.el10fdp
      2026-02-04T08:24:34.482Z|00009|dpif_netlink|INFO|Datapath dispatch mode: per-cpu
      2026-02-04T08:24:34.483Z|00010|ofproto_dpif|INFO|system@ovs-system: Datapath supports recirculation
      2026-02-04T08:24:34.483Z|00011|ofproto_dpif|INFO|system@ovs-system: VLAN header stack length probed as 2
      2026-02-04T08:24:34.483Z|00012|ofproto_dpif|INFO|system@ovs-system: MPLS label stack length probed as 3
      2026-02-04T08:24:34.483Z|00013|ofproto_dpif|INFO|system@ovs-system: Datapath supports truncate action
      2026-02-04T08:24:34.483Z|00014|ofproto_dpif|INFO|system@ovs-system: Datapath supports unique flow ids
      2026-02-04T08:24:34.483Z|00015|ofproto_dpif|INFO|system@ovs-system: Datapath supports clone action
      2026-02-04T08:24:34.483Z|00016|ofproto_dpif|INFO|system@ovs-system: Max sample nesting level probed as 10
      2026-02-04T08:24:34.483Z|00017|ofproto_dpif|INFO|system@ovs-system: Datapath supports eventmask in conntrack action
      2026-02-04T08:24:34.483Z|00018|ofproto_dpif|INFO|system@ovs-system: Datapath supports ct_clear action
      2026-02-04T08:24:34.483Z|00019|ofproto_dpif|INFO|system@ovs-system: Max dp_hash algorithm probed to be 1
      2026-02-04T08:24:34.483Z|00020|ofproto_dpif|INFO|system@ovs-system: Datapath supports check_pkt_len action
      2026-02-04T08:24:34.485Z|00021|ofproto_dpif|INFO|system@ovs-system: Datapath supports timeout policy in conntrack action
      2026-02-04T08:24:34.485Z|00022|ofproto_dpif|INFO|system@ovs-system: Datapath supports explicit drop action
      2026-02-04T08:24:34.485Z|00023|ofproto_dpif|INFO|system@ovs-system: Datapath supports ct_zero_snat
      2026-02-04T08:24:34.485Z|00024|ofproto_dpif|INFO|system@ovs-system: Datapath supports add_mpls action
      2026-02-04T08:24:34.485Z|00025|ofproto_dpif|INFO|system@ovs-system: Datapath supports psample action
      2026-02-04T08:24:34.485Z|00026|ofproto_dpif|INFO|system@ovs-system: Datapath supports ct_state
      2026-02-04T08:24:34.485Z|00027|ofproto_dpif|INFO|system@ovs-system: Datapath supports ct_zone
      2026-02-04T08:24:34.485Z|00028|ofproto_dpif|INFO|system@ovs-system: Datapath supports ct_mark
      2026-02-04T08:24:34.485Z|00029|ofproto_dpif|INFO|system@ovs-system: Datapath supports ct_label
      2026-02-04T08:24:34.485Z|00030|ofproto_dpif|INFO|system@ovs-system: Datapath supports ct_state_nat
      2026-02-04T08:24:34.486Z|00031|ofproto_dpif|INFO|system@ovs-system: Datapath supports ct_orig_tuple
      2026-02-04T08:24:34.486Z|00032|ofproto_dpif|INFO|system@ovs-system: Datapath supports ct_orig_tuple6
      2026-02-04T08:24:34.486Z|00033|ofproto_dpif|INFO|system@ovs-system: Datapath does not support IPv6 ND Extensions
      2026-02-04T08:24:34.486Z|00034|ofproto_dpif_upcall|INFO|Overriding n-handler-threads to 3, setting n-revalidator-threads to 1
      2026-02-04T08:24:34.486Z|00035|ofproto_dpif_upcall|INFO|Starting 4 threads
      2026-02-04T08:24:34.493Z|00036|bridge|INFO|bridge bondbridge: added interface bondbridge on port 65534
      2026-02-04T08:24:34.493Z|00037|bridge|INFO|bridge bondbridge: using datapath ID 000042e8fb2b3848
      2026-02-04T08:24:34.493Z|00038|connmgr|INFO|bondbridge: added service controller "punix:/var/run/openvswitch/bondbridge.mgmt"
      2026-02-04T08:24:34.511Z|00039|bridge|INFO|bridge bondbridge: added interface ens7f1np1 on port 1
      2026-02-04T08:24:34.511Z|00040|bridge|INFO|bridge bondbridge: added interface ens7f0np0 on port 2
      2026-02-04T08:24:34.511Z|00041|bridge|INFO|bridge bondbridge: using datapath ID 00006805ca305724
      2026-02-04T08:24:34.512Z|00042|bond|INFO|member ens7f1np1: enabled
      2026-02-04T08:24:34.512Z|00043|bond|INFO|member ens7f0np0: enabled
      2026-02-04T08:24:34.512Z|00044|bond|INFO|bond balance-slb: active member is now ens7f1np1
      2026-02-04T08:24:40.125Z|00045|memory|INFO|25496 kB peak resident set size after 10.0 seconds
      2026-02-04T08:24:40.125Z|00046|memory|INFO|handlers:3 idl-cells-Open_vSwitch:188 ports:3 revalidators:1 rules:5

       

              ovs-qe Openvswtich Quality Engineering Bot
              mhou@redhat.com HOU MINXI
              HOU MINXI HOU MINXI
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: