Skip to content

call shutdown in LifecycleNode dtor to avoid leaving the device in unknown state (2nd) (backport #2528)#2542

Merged
fujitatomoya merged 2 commits intojazzyfrom
mergify/bp/jazzy/pr-2528
Jun 7, 2024
Merged

call shutdown in LifecycleNode dtor to avoid leaving the device in unknown state (2nd) (backport #2528)#2542
fujitatomoya merged 2 commits intojazzyfrom
mergify/bp/jazzy/pr-2528

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented May 29, 2024

address #2520

depends on #2527


This is an automatic backport of pull request #2528 done by Mergify.

…known state (2nd) (#2528)

* Revert "Revert "call shutdown in LifecycleNode dtor to avoid leaving the device in un… (#2450)" (#2522)"

This reverts commit 42b0b57.

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>

* lifecycle node dtor shutdown should be called only in primary state.

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>

* adjust warning message if the node is still in transition state in dtor.

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>

---------

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
(cherry picked from commit 3bc364a)
Copy link
Copy Markdown
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

I will start the CI, and this also requires soak time.

@fujitatomoya
Copy link
Copy Markdown
Collaborator

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@Barry-Xu-2018
Copy link
Copy Markdown
Collaborator

The reason for the Linux-aarch64 failure is identical to issue #2528 (#2528 (comment))

@fujitatomoya
Copy link
Copy Markdown
Collaborator

please do not merge this yet, i think we need to add #2545.

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
@fujitatomoya
Copy link
Copy Markdown
Collaborator

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@fujitatomoya
Copy link
Copy Markdown
Collaborator

CI:

  • Linux-aarch64 Build Status

@fujitatomoya
Copy link
Copy Markdown
Collaborator

i think this is know issue of ros2/Mimick#36,

mimick: Initialization error: could not find definitions for vital function(s): 'abort' 'vfprintf'
-- run_test.py: return code -6

@fujitatomoya
Copy link
Copy Markdown
Collaborator

@fujitatomoya fujitatomoya merged commit 8ab10aa into jazzy Jun 7, 2024
@delete-merged-branch delete-merged-branch bot deleted the mergify/bp/jazzy/pr-2528 branch June 7, 2024 17:33
fujitatomoya added a commit that referenced this pull request Jun 10, 2024
…ce in unknown state (2nd) (backport #2528) (#2542)"

This reverts commit 8ab10aa.

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
fujitatomoya added a commit that referenced this pull request Jun 11, 2024
…ce in unknown state (2nd) (backport #2528) (#2542)" (#2558)

This reverts commit 8ab10aa.

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants