Skip to content

[Copp tests]: Changing ip2me config fails  #1555

@chitra-raghavan

Description

@chitra-raghavan

Description

Changing ip2me config fails .

root@sonic-s5232-01:~# cat /root/ip2me_600.json
[
	{
		 "COPP_TABLE:trap.group.ip2me": {
			 "cir":"600",
			 "cbs":"600"
		 },
		 "OP": "SET"
	 }
]
syslog: 
root@sonic-s5232-01:~# swssconfig /root/ip2me_600.json
Apr  9 14:05:21.162061 sonic-s5232-01 NOTICE swss#swssconfig: :- main: Loading config from JSON file:/root/ip2me_600.json...
Apr  9 14:05:21.164409 sonic-s5232-01 WARNING swss#orchagent: :- processCoppRule: Creating policer for existing Trap group:11000000000753 (name:trap.group.ip2me).
Apr  9 14:05:21.164409 sonic-s5232-01 ERR swss#orchagent: :- meta_generic_validation_create: SAI_POLICER_ATTR_METER_TYPE:SAI_ATTR_VALUE_TYPE_INT32 attribute is mandatory but not passed in attr list
Apr  9 14:05:21.164409 sonic-s5232-01 ERR swss#orchagent: :- createPolicer: Failed to create policer trap group trap.group.ip2me, rc=-14
Apr  9 14:05:21.164409 sonic-s5232-01 ERR swss#orchagent: :- doTask: Processing copp task item failed, exiting.

Due to this SNMP,SSH,IP2ME tests are failing

Steps to reproduce the issue:
1.run copp tests in 201911 branch

Describe the results you received:

Describe the results you expected:

Additional information you deem important:

sonic-net/sonic-swss#1253

Output of show version:

root@sonic-s6100-07:~#
root@sonic-s6100-07:~# show ver

SONiC Software Version: SONiC.HEAD.31-055d7cd1
Distribution: Debian 9.12
Kernel: 4.9.0-11-2-amd64
Build commit: 055d7cd1
Build date: Mon Mar 16 20:46:35 UTC 2020
Built by: johnar@jenkins-worker-7

Platform: x86_64-dell_s6100_c2538-r0
HwSKU: Force10-S6100
ASIC: broadcom
Serial Number: 2G5ZZP2
Uptime: 06:05:45 up 16:23,  1 user,  load average: 2.49, 2.44, 2.45


**Attach debug file `sudo generate_dump`:**

```
(paste your output here)
```

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions