Intermitent Coredump into snmpSubAgent component
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Agustin Carranza |
Bug Description
Brief Description
Coredump has been identified into snmpSubAgent component.
The issue is intermittent and has only be detected on Dx and Std environment.
Severity
<Minor: System/Feature is usable with minor issue>
Steps to Reproduce
After configuring SNMP following
https:/
1.- perform any snmp get/walk/bulk request.
2.- perform swact to controller-1 and repeat previous operation
3.- A coredump for snmpAgent is detected at ....
Note: if the coredump is not found, repeat the previous steps until the file is generated.
Expected Behavior
The system shall respond to snmp requests WITHOUT a coredump.
Actual Behavior
The system responds to snmp request WITH a coredump.
Reproducibility
Intermitent, sometime happen, sometime does not happen.
System Configuration
AIO-DX
Last Pass
Timestamp/Logs
The problem looks to ocurrs while performing snmpget request at follow
[2022-11-24 23:35:43,843] 416 INFO MainThread snmp_helper.
[2022-11-24 23:35:53,852] 409 INFO MainThread snmp_helper.
[2022-11-24 23:35:53,852] 410 INFO MainThread snmp_helper.
[2022-11-24 23:35:54,072] 416 INFO MainThread snmp_helper.
[2022-11-24 23:36:04,080] 409 INFO MainThread snmp_helper.
[2022-11-24 23:36:04,081] 410 INFO MainThread snmp_helper.
[2022-11-24 23:36:04,249] 416 INFO MainThread snmp_helper.
[2022-11-24 23:36:14,260] 409 INFO MainThread snmp_helper.
[2022-11-24 23:36:14,260] 410 INFO MainThread snmp_helper.
[2022-11-24 23:36:20,390] 416 INFO MainThread snmp_helper.
[2022-11-24 23:36:30,400] 409 INFO MainThread snmp_helper.
[2022-11-24 23:36:30,400] 410 INFO MainThread snmp_helper.
[2022-11-24 23:36:36,652] 416 INFO MainThread snmp_helper.
[2022-11-24 23:36:46,660] 409 INFO MainThread snmp_helper.
[2022-11-24 23:36:46,660] 410 INFO MainThread snmp_helper.
[2022-11-24 23:36:46,916] 416 INFO MainThread snmp_helper.
snmpget operation is requested as follow
[2022-11-24 23:36:04,249] 416 INFO MainThread snmp_helper.
the TC is considered pass after the response is validated
[2022-11-24 23:36:46,916] 416 INFO MainThread snmp_helper.
But the coredump is detected here
[2022-11-24 23:37:11,380] 534 DEBUG MainThread ssh.exec_cmd:: Executing command...
[2022-11-24 23:37:11,380] 541 DEBUG MainThread ssh.exec_cmd:: Running command: ls -l --time-
[2022-11-24 23:37:11,381] 351 DEBUG MainThread ssh.send :: Send 'ls -l --time-
[2022-11-24 23:37:11,431] 548 DEBUG MainThread ssh.exec_cmd:: Expecting .*controller-0[:| ].*\$ in prompt
[2022-11-24 23:37:11,436] 473 DEBUG MainThread ssh.expect :: Output:
-rw-r----- 1 root root 435509 2022-11-24_23-36-08 core.snmpSubAge
Alarms
+------
| UUID | Alarm ID | Reason Text | Entity ID | Severity | Time Stamp |
+------
| 4feda790-
| 630d66b2-
| 06e5972a-
+------
Test Activity
Regression Testing
Workaround
Not identified
Changed in starlingx: | |
assignee: | nobody → Agustin Carranza (acarranz) |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.9.0 stx.fault |
Fix proposed to branch: master /review. opendev. org/c/starlingx /snmp-armada- app/+/879689
Review: https:/