Skip to content

マネージャ起動時のポート接続、アクティベート失敗時に異常終了しないようにする#274

Merged
n-ando merged 4 commits into
OpenRTM:masterfrom
Nobu19800:feature/corbartcutilexception
May 11, 2026
Merged

マネージャ起動時のポート接続、アクティベート失敗時に異常終了しないようにする#274
n-ando merged 4 commits into
OpenRTM:masterfrom
Nobu19800:feature/corbartcutilexception

Conversation

@Nobu19800

Copy link
Copy Markdown

Identify the Bug

Description of the Change

以下と同じ。

Verification

  • Did you succeed the build?
  • No warnings for the build?
  • Have you passed the unit tests?

@Nobu19800 Nobu19800 added the bug Something isn't working label Mar 11, 2022
@Nobu19800 Nobu19800 requested a review from n-ando March 11, 2022 00:53
@Nobu19800 Nobu19800 self-assigned this Mar 11, 2022
@n-kawauchi n-kawauchi marked this pull request as ready for review April 30, 2026 02:00
@n-kawauchi

Copy link
Copy Markdown

@Nobu19800

最新masterへマージしたところコンフリクトしました。

$ git merge feature/corbartcutilexception
Auto-merging OpenRTM_aist/CORBA_RTCUtil.py
Auto-merging OpenRTM_aist/CorbaNaming.py
CONFLICT (content): Merge conflict in OpenRTM_aist/CorbaNaming.py
Auto-merging OpenRTM_aist/InPortBase.py
Auto-merging OpenRTM_aist/Manager.py
Auto-merging OpenRTM_aist/OutPortBase.py
Auto-merging OpenRTM_aist/ext/http/rtc.https.conf
Auto-merging OpenRTM_aist/ext/http/rtc.wss.conf
Auto-merging OpenRTM_aist/ext/ssl/rtc.ssl.conf
Automatic merge failed; fix conflicts and then commit the result.

@Nobu19800

Copy link
Copy Markdown
Author

コンフリクトを修正しました。
@n-kawauchi

n-kawauchi
n-kawauchi previously approved these changes Apr 30, 2026

@n-kawauchi n-kawauchi left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

テスト用のC++版RTCActivationTestCompを使い、異常終了しないことを確認できた。

  1. ポート接続エラーにならないことを確認
$ ./RTCActivationTestComp
$ python3 ConsoleOut.py -o "manager.components.preconnect:rtcname://localhost:2809/*/RTCActivationTest0.out?port=ConsoleOut0.in"
------------------------------
Listener:        ON_CONNECT
Profile::name:   rtcname://localhost:2809/*/RTCActivationTest0.out?port=ConsoleOut0.in
  1. アクティブ化エラーにならないことを確認
$ ./RTCActivationTestComp -o "exec_cxt.activation_timeout:10000"
$ python3 ConsoleOut.py -o "rtcname://localhost:2809/*/RTCActivationTest0"
  • RTSE上へ両RTCをD&Dし、ポート間は手動で接続した
  • ただし接続が完了するまえの間にRTSEが接続に失敗しましたのダイアログが出るが、しばらく待つとポート間は接続できている
  • All Activateすると、ConsoleOutはアクティブ化するが、RTCActivationTestはしばらく待たないとアクティブ状態にならなかった
  • それでも両RTCともアクティブ化されるので、この後はAll Deactivate, All Exitで終了できた

n-ando
n-ando previously approved these changes May 11, 2026
@n-ando n-ando dismissed stale reviews from n-kawauchi and themself via aa8a07b May 11, 2026 01:05
@n-ando n-ando merged commit 4f25bbb into OpenRTM:master May 11, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants