Skip to content

Regression: test_duplicate_route.py failing log checks after sairedis update #20231

@eswaran-nexthop

Description

@eswaran-nexthop

Is it platform specific

generic

Importance or Severity

High

Previous Working Version

Prior to sonic-net/sonic-sairedis#1613

Steps to Reproduce

Run test_duplicate_route.py before including the sonic-sairedis change from sonic-net/sonic-sairedis#1613 in the sonic image.

The sonic-sairedis change modified the behavior of BULK operations which resulted in the log spew looking different before and after. This impacts test_duplicate_route.py

Impact of this regression

sonic-buildimage cannot upgrade to the latest version of sonic-sairedis submodule because this sonic-mgmt test is failing if that change is included

Relevant log output

E               Match Messages:
E               2025 Aug 12 08:17:37.006206 vlab-01 ERR swss#orchagent: :- meta_generic_validation_create: object key SAI_OBJECT_TYPE_ROUTE_ENTRY:{"dest":"10.1.0.32/32","switch_id":"oid:0x21000000000000","vr":"oid:0x3000000000022"} already exists
E               
E               2025 Aug 12 08:17:37.011069 vlab-01 ERR syncd#syncd: :- meta_generic_validation_create: object key SAI_OBJECT_TYPE_ROUTE_ENTRY:{"dest":"10.1.0.32/32","switch_id":"oid:0x2100000000","vr":"oid:0x300000000"} already exists
E               
E               2025 Aug 12 08:17:37.011104 vlab-01 ERR syncd#syncd: :- create_internal: create failed, object already exists, object type: SAI_OBJECT_TYPE_ROUTE_ENTRY: id: {"dest":"10.1.0.32/32","switch_id":"oid:0x2100000000","vr":"oid:0x300000000"}
E               
E               2025 Aug 12 08:17:37.011115 vlab-01 ERR syncd#syncd: :- bulkCreate: Failed to create object with type = 37
E               
E               2025 Aug 12 08:17:37.011125 vlab-01 ERR syncd#syncd: :- sendApiResponse: api SAI_COMMON_API_BULK_CREATE failed in syncd mode: SAI_STATUS_FAILURE
E               
E               2025 Aug 12 08:17:37.011586 vlab-01 ERR swss#orchagent: :- flush_creating_entries: EntityBulker.flush create entries failed, number of entries to create: 1, status: SAI_STATUS_FAILURE
E               
E               Expected Messages:
E               2025 Aug 12 08:17:37.005940 vlab-01 ERR swss#orchagent: :- meta_sai_validate_route_entry: object key SAI_OBJECT_TYPE_ROUTE_ENTRY:{"dest":"10.1.0.32/32","switch_id":"oid:0x21000000000000","vr":"oid:0x3000000000022"} already exists
E               
E               2025 Aug 12 08:17:37.011048 vlab-01 ERR syncd#syncd: :- meta_sai_validate_route_entry: object key SAI_OBJECT_TYPE_ROUTE_ENTRY:{"dest":"10.1.0.32/32","switch_id":"oid:0x2100000000","vr":"oid:0x300000000"} already exists
E               
E               2025 Aug 12 08:17:37.011610 vlab-01 ERR swss#orchagent: :- addRoutePost: Failed to create route 10.1.0.32/32 with next hop(s) 30.1.0.2@PortChannel101
E               
E               Expected Messages that are missing:
E               .*ERR.* status: SAI_STATUS_ITEM_ALREADY_EXISTS.*
E               .*ERR.* handleSaiFailure: Encountered failure in create operation, SAI API: SAI_API_ROUTE.*

Output of show version

Attach files (if any)

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions