Skip to content
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

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

Merged
merged 2 commits into from
Jun 7, 2024

Conversation

mergify[bot]
Copy link
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 <[email protected]>

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

Signed-off-by: Tomoya Fujita <[email protected]>

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

Signed-off-by: Tomoya Fujita <[email protected]>

---------

Signed-off-by: Tomoya Fujita <[email protected]>
(cherry picked from commit 3bc364a)
Copy link
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
Collaborator

CI:

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

@Barry-Xu-2018
Copy link
Collaborator

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

@fujitatomoya
Copy link
Collaborator

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

@fujitatomoya
Copy link
Collaborator

CI:

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

@fujitatomoya
Copy link
Collaborator

CI:

  • Linux-aarch64 Build Status

@fujitatomoya
Copy link
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
Collaborator

@fujitatomoya fujitatomoya merged commit 8ab10aa into jazzy Jun 7, 2024
3 checks passed
@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 <[email protected]>
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 <[email protected]>
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