chaos-mesh / chaosd

A Chaos Engineering toolkit.
Apache License 2.0
132 stars 63 forks source link

[Bug] Chaos injection failed due to inability to retrieve process name #253

Open ShadowySpirits opened 7 months ago

ShadowySpirits commented 7 months ago

When the process is terminated, L46 will throw an error. This will cause a 500 response that failed injection but it could be a success in the previous loop. It's better to ignore this error and look up the following processes.

https://github.com/chaos-mesh/chaosd/blob/19a157239ebc523c9c6e8e3656c4918a1bc83929/pkg/server/chaosd/process.go#L38-L49