-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hotfix: correct reopen_socket() invocation #58
hotfix: correct reopen_socket() invocation #58
Conversation
この部分は、process diedだと思うので、表現の訂正をお願いします。リスポーンは、その結果の挙動だと思います。 |
syslogに、process diedがない事の確認を追加してほしいです。 |
→ LANポートの無効化だけでは、前提条件になるため、手順の記載をお願いします。 |
typo:
|
CI解消後マージください。 |
@masahiro-kubota @yn-mrse |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ciの解消を確認したため、approve
Description
このPRはUDPの通信エラーに起因したプロセス死亡を防止するためのものである。
LANポートを無効化した(UDPの通信エラーが発生した)ときにreopen_socket()が見つからず、v2i_interfaceノードが終了してリスポーンしてしまうため、処理負荷が低減できずv2i_interface起因でwarning-19が発生してしまう可能性がある。
本PRでは、下記の機能をサポートする。
Error countermeasures
Related Links
TIER IV INTERNAL LINK
How to reproduce
※ベンチの場合は修正前コードの150行目と151行目の間に
self._request_array = [1]
を入れてUDP通信を行わせる必要がある。機能評価
UDPの通信エラー時にプロセス死亡の発生を防止できることを検証
[ERROR] [v2i_interface.py-75]: process has died
がでないことを確認ps aux | grep v2i
でPIDが変化していないことを確認UDPの通信エラー復旧後に既存のノードの振る舞いを再開することを検証
netstat -anp | grep <PID>
で確認Regression test
今回は、機能のロジックに関する差分がないので、設計者テストでのregression testは不要と判断。
別途、実車評価で評価する。