Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore log error in test_pfcwd_status for Clearlake (sonic-net#11350)
What is the motivation for this PR? The test failed in the log checking stage for the errors below: Jan 4 22:44:30.824770 ck304 ERR syncd#syncd: [none] SAI_API_QUEUE:_brcm_sai_cosq_stat_get:1972 cosq stat get failed with error Invalid parameter (0xfffffffc). Jan 4 22:44:30.824919 ck304 ERR syncd#syncd: [none] SAI_API_SWITCH:sai_bulk_object_get_stats:670 get bulk queue stats failed with error -5. How did you do it? The error is from running checkBulkCapability(https://github.com/sonic-net/sonic-sairedis/blob/master/syncd/FlexCounter.cpp#L463), the program can continue even returning false as it will use the none-bulk way to create counters thereafter. We could safely ignore the log. We are told that the sai_bulk_object_get_stats used by checkBulkCapability is not supported on TD2 now, so the change here will be applied to all TD2 platforms. How did you verify/test it? The test can pass with this change. Any platform specific information? The change will apply to all TD2 platforms
- Loading branch information