Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Increase in test failures on windows debug with actions tests #167

Closed
sloretz opened this issue Feb 28, 2019 · 7 comments
Closed

Increase in test failures on windows debug with actions tests #167

sloretz opened this issue Feb 28, 2019 · 7 comments

Comments

@sloretz
Copy link

sloretz commented Feb 28, 2019

Windows debug has a lot of failing tests, but suddenly there are a few more in https://ci.ros2.org/view/nightly/job/nightly_win_deb/1174/#showFailuresLink

New failures

projectroot.test_action_client_server__Fibonacci__rclcpp__rmw_connext_cpp
projectroot.test_action_client_server__Fibonacci__rclcpp__rmw_fastrtps_cpp
projectroot.test_action_client_server__NestedMessage__rclcpp__rmw_connext_cpp
projectroot.test_action_client_server__NestedMessage__rclcpp__rmw_fastrtps_cpp
projectroot.test_client_scope_consistency_cpp__rmw_connext_cpp
projectroot.test_client_scope_consistency_cpp__rmw_fastrtps_cpp
projectroot.test_client_scope_cpp__rmw_connext_cpp
projectroot.test_client_scope_cpp__rmw_fastrtps_cpp
projectroot.test_parameter_server_cpp__rmw_connext_cpp
projectroot.test_parameter_server_cpp__rmw_fastrtps_cpp
projectroot.test_services_cpp__rmw_connext_cpp
projectroot.test_services_cpp__rmw_fastrtps_cpp
test_communication.build.test_communication.test_action_client_server__Fibonacci__rclcpp__rmw_connext_cpp_Debug.test_action_client_server
test_communication.build.test_communication.test_action_client_server__Fibonacci__rclcpp__rmw_fastrtps_cpp_Debug.test_action_client_server
test_communication.build.test_communication.test_action_client_server__NestedMessage__rclcpp__rmw_connext_cpp_Debug.test_action_client_server
test_communication.build.test_communication.test_action_client_server__NestedMessage__rclcpp__rmw_fastrtps_cpp_Debug.test_action_client_server
test_rclcpp.build.test_rclcpp.test_client_scope_consistency_cpp__rmw_connext_cpp_Debug.test_client_scope_consistency_cpp
test_rclcpp.build.test_rclcpp.test_client_scope_consistency_cpp__rmw_fastrtps_cpp_Debug.test_client_scope_consistency_cpp
test_rclcpp.build.test_rclcpp.test_client_scope_cpp__rmw_connext_cpp_Debug.test_client_scope_cpp
test_rclcpp.build.test_rclcpp.test_client_scope_cpp__rmw_fastrtps_cpp_Debug.test_client_scope_cpp
test_rclcpp.build.test_rclcpp.test_parameter_server_cpp__rmw_connext_cpp_Debug.test_parameter_server_cpp
test_rclcpp.build.test_rclcpp.test_parameter_server_cpp__rmw_fastrtps_cpp_Debug.test_parameter_server_cpp
test_rclcpp.build.test_rclcpp.test_services_cpp__rmw_connext_cpp_Debug.test_services_cpp
test_rclcpp.build.test_rclcpp.test_services_cpp__rmw_fastrtps_cpp_Debug.test_services_cpp
@sloretz
Copy link
Author

sloretz commented Feb 28, 2019

Not sure what the cause is. First guess is the legacy launch API removal.

CI windows debug with lastest code on all repos testing just test_communication and test_rclcpp
Build Status (23 test failures)

CI windows debug excluding:

@sloretz
Copy link
Author

sloretz commented Feb 28, 2019

Looks like there are 24 more test failures on windows debug after the removal of the launch legacy API. Since the test falures are test_communication it seems like ros2/system_tests#328 might be the cause.

@hidmic may I ask you to investigate if these new test failures?

@hidmic
Copy link

hidmic commented Feb 28, 2019

I'll take a look, though I'd bet that it's not the launch API migration itself that broke the tests, but the fact that the legacy launch API based tests did not check process exit codes on Windows. So if it was failing before, we couldn't have noticed.

I'm amazed though, I ran CI many many times with those PRs.

@sloretz
Copy link
Author

sloretz commented Feb 28, 2019

I'm amazed though, I ran CI many many times with those PRs.

It only fails on windows with CMAKE_BUILD_TYPE=Debug

@hidmic
Copy link

hidmic commented Mar 1, 2019

@sloretz as I thought, the executables built for debug on Windows don't even run but fail in various ways depending on the RMW_IMPLEMENTATION chosen. What changed after the launch API migration is that now launch tests fail when the launched executable tests exit with a non-zero returncode.

BTW I get a lot of test failures on my local setup, and many have nothing to do with launch. Is this normal?

@sloretz
Copy link
Author

sloretz commented Mar 1, 2019

BTW I get a lot of test failures on my local setup, and many have nothing to do with launch. Is this normal?

Unfortunately yeah. There are a lot of failures on windows debug.

@dirk-thomas
Copy link
Member

dirk-thomas commented Apr 5, 2019

Seems to be resolved after #176 and ros2/rclcpp#682.


Resolved during #168.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants