You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a preferred way to stop the application built on cn-infra platform? ctrl+c seems to sometimes work, but many times results in a go backtrace- which appears to abruptly halt the application.
The reason I ask this is because I'm trying to generate coverage report from the binary itself, and if the binary abruptly stops, the report is not generated.
Here's an example of when it doesn't shutdown properly:
@SUSHSADA I guess you have used the vpp-agent dev branch (this issue is not directly related to cn-infra). I remember we fixed this issue on master/pantheon-dev (agent v1) some time ago, but dev branch contains agent v2 together with an older version of v1 where the fix was not applied.
If you are using dev branch, please try to refer to linuxv2 plugin. If you need agent v1 for some reason, use the latest master or pantheon-dev branch.
@ondrej-fabry perhaps we should consider finally removing v1 plugins and other deprecated stuff from dev.
Also, I had to wait until all of the plugins to Init() before being able to terminate the app properly. I found out that waiting until AfterInit() of the app/agent was executed, it was safe to ask it to shutdown.
Is there a preferred way to stop the application built on cn-infra platform? ctrl+c seems to sometimes work, but many times results in a go backtrace- which appears to abruptly halt the application.
The reason I ask this is because I'm trying to generate coverage report from the binary itself, and if the binary abruptly stops, the report is not generated.
Here's an example of when it doesn't shutdown properly:
The text was updated successfully, but these errors were encountered: