insights-core icon indicating copy to clipboard operation
insights-core copied to clipboard

Special input lines of `Sepcs.ps_eo`

Open JoySnow opened this issue 11 months ago • 0 comments

Get the following exceptions from "Insights Times and Errors Report 2024-03-05" :

count component request_id exception
140843 insights.specs.Specs.ps_eo some_request_id ValueError("invalid literal for int() with base 10: ' 1'")
140843 insights.specs.Specs.sysctl some_request_id ValueError("invalid literal for int() with base 10: ' 1'")
57962 insights.specs.Specs.sysctl some_request_id ValueError("invalid literal for int() with base 10: 'callback 1'")
57962 insights.specs.Specs.ps_eo some_request_id ValueError("invalid literal for int() with base 10: 'callback 1'")

The ValueError was raised for parsing special input data of Specs.ps_eo, some example lines:

  PID  PPID COMMAND         NLWP
    1     0 systemd            1
  863     1 falcond            1
  865   863 falcon-sensor     29
3106 2 NFSv4 callback 1
20570   865 falco <defunct>    1

Filled the special input data to test case in https://github.com/RedHatInsights/insights-core/pull/4053 .

JoySnow avatar Mar 14 '24 08:03 JoySnow