Skip to content

[Foxy backport] Topic fix rcl lifecycle test issue (#715)#796

Merged
sloretz merged 1 commit intofoxyfrom
foxy_flaky_test_rcl_lifecycle
Sep 9, 2020
Merged

[Foxy backport] Topic fix rcl lifecycle test issue (#715)#796
sloretz merged 1 commit intofoxyfrom
foxy_flaky_test_rcl_lifecycle

Conversation

@sloretz
Copy link
Copy Markdown
Contributor

@sloretz sloretz commented Sep 9, 2020

Backports to fix flaky test in Foxy CI debug CI jobs: http://build.ros2.org/job/Fci__nightly-debug_ubuntu_focal_amd64/181/testReport/junit/(root)/projectroot/test_rcl_lifecycle/

Without this backport, I'm able to reproduce the test crashing consistently with a few dozen attempts. With this backport I was not able to reproduce the test failure with --retest-until-fail 1000

Backports #715

* Fix missing call fini() for lifecycle_transition and node in test_rcl_lifecycle

Signed-off-by: Barry Xu <barry.xu@sony.com>

* Fix error overwritten while allocator is Nullptr.

Signed-off-by: Barry Xu <barry.xu@sony.com>

* Optimize used variables

Signed-off-by: Barry Xu <barry.xu@sony.com>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
@sloretz sloretz self-assigned this Sep 9, 2020
Copy link
Copy Markdown
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

LGTM

@sloretz
Copy link
Copy Markdown
Contributor Author

sloretz commented Sep 9, 2020

Merging with just PR job since it's a cherry-pick

@sloretz sloretz merged commit 055d7eb into foxy Sep 9, 2020
@delete-merged-branch delete-merged-branch bot deleted the foxy_flaky_test_rcl_lifecycle branch September 9, 2020 22:25
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.

3 participants