-
Notifications
You must be signed in to change notification settings - Fork 261
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
move wait_for_shutdown() call out of the context manager #466
Conversation
Signed-off-by: Dirk Thomas <[email protected]>
@Karsten1987 @emersonknapp Please continue looking into this issue. While this patch fixes the incorrect logic of the test it still fails on Windows due to being unable to delete the temporary directory. Since this is a the last failing test please try to resolve it within a week. Otherwise I am tempted to mark the test as |
Thanks for this! We are looking at it this week and will mark it xfail if we do not have a resolution by the end of the week. |
@emersonknapp is this good to go or do you guys have another round of review for this? |
It's good to go. We're working on fixing the test more thoroughly but this change is good. |
Signed-off-by: Dirk Thomas <[email protected]>
Signed-off-by: Dirk Thomas <[email protected]>
* Fix for CI regression in TestRos2BagRecord - Replace get_actual_qos() to the qos_profile() as it was before #1335 For some reason on Foxy it doesn't work as expected. Probably due to the missing some underlying dependencies in other core packages. Signed-off-by: Michael Orlov <[email protected]> * Revert "Fix for CI regression in TestRos2BagRecord" This reverts commit f50f46a. Signed-off-by: Michael Orlov <[email protected]> * Skip test_record_qos_profiles on Windows since they are flaky - test_record_qos_profiles failures is a known issue described in the #454 - To fix those tests need to backport #462, #466, #470, #472, #525 - Skipping them for a while Signed-off-by: Michael Orlov <[email protected]> --------- Signed-off-by: Michael Orlov <[email protected]>
Hopefully fixes (no, it doesn't) #454 this time.
The subprocess started by
launch_testing.tools.launch_process()
is only signaled to terminate when the context exits. Therefore callingwait_for_shutdown()
within thewith
block doesn't do anything but wait for the timeout. Afterwards it was a race if the process terminated quickly enough so that the file handles from the subprocess where released before the tear down function of the test tries to delete the temporary directory.Moving the
wait_for_shutdown()
call outside thewith
block ensures to give the shutdown event enough time to be processed.Windows build testing
ros2bag
with--retest-until-fail 10
:Full CI just because: