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

[ros2param] Provide tests for ros2param verbs #389

Open
wants to merge 7 commits into
base: rolling
Choose a base branch
from

Conversation

BMarchi
Copy link
Contributor

@BMarchi BMarchi commented Oct 30, 2019

As the title says, this PR provides a set of tests covering the usage of all the verbs for ros2param

  • Linux Build Status
  • Arch Build Status
  • Windows Build Status
  • OSX Build Status

Connected to ros2/rclpy#455

Signed-off-by: Brian Ezequiel Marchi <brian.marchi65@gmail.com>
Signed-off-by: Brian Ezequiel Marchi <brian.marchi65@gmail.com>
@BMarchi BMarchi changed the title Provide tests for ros2param verbs [ros2param] Provide tests for ros2param verbs Nov 1, 2019
Copy link
Contributor

@hidmic hidmic left a comment

Choose a reason for hiding this comment

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

First pass!

ros2param/test/test_cli.py Show resolved Hide resolved
ros2param/test/test_cli.py Outdated Show resolved Hide resolved
ros2param/test/test_cli.py Outdated Show resolved Hide resolved
ros2param/test/test_cli.py Outdated Show resolved Hide resolved
ros2param/test/test_cli.py Outdated Show resolved Hide resolved
ros2param/test/test_cli.py Outdated Show resolved Hide resolved
ros2param/test/test_cli.py Outdated Show resolved Hide resolved
ros2param/test/test_cli.py Outdated Show resolved Hide resolved
ros2param/test/fixtures/param_node.py Outdated Show resolved Hide resolved
ros2param/test/test_cli_delete.py Show resolved Hide resolved
Signed-off-by: Brian Ezequiel Marchi <brian.marchi65@gmail.com>
Signed-off-by: Brian Ezequiel Marchi <brian.marchi65@gmail.com>
@BMarchi BMarchi requested a review from hidmic November 5, 2019 12:08
Copy link
Contributor

@hidmic hidmic left a comment

Choose a reason for hiding this comment

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

Second pass!

ros2param/test/test_cli.py Show resolved Hide resolved
ros2param/test/param_node.py Outdated Show resolved Hide resolved
ros2param/test/test_cli.py Show resolved Hide resolved
ros2param/test/test_cli.py Outdated Show resolved Hide resolved
ros2param/test/test_cli.py Outdated Show resolved Hide resolved
ros2param/test/test_cli_set.py Outdated Show resolved Hide resolved
ros2param/test/test_cli_set.py Outdated Show resolved Hide resolved
ros2param/test/test_cli_delete.py Outdated Show resolved Hide resolved
ros2param/test/test_cli.py Outdated Show resolved Hide resolved
ros2param/test/test_cli.py Outdated Show resolved Hide resolved
Signed-off-by: Brian Ezequiel Marchi <brian.marchi65@gmail.com>
Signed-off-by: Brian Ezequiel Marchi <brian.marchi65@gmail.com>
@BMarchi BMarchi requested a review from hidmic November 6, 2019 18:11
Copy link
Contributor

@hidmic hidmic left a comment

Choose a reason for hiding this comment

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

LGTM but for a few more comments and pending green CI

ros2param/test/test_cli.py Outdated Show resolved Hide resolved
ros2param/test/test_cli_delete.py Outdated Show resolved Hide resolved
ros2param/test/test_cli.py Outdated Show resolved Hide resolved
Signed-off-by: Brian Ezequiel Marchi <brian.marchi65@gmail.com>
Copy link
Contributor

@hidmic hidmic left a comment

Choose a reason for hiding this comment

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

LGTM pending one last CI run

@BMarchi
Copy link
Contributor Author

BMarchi commented Nov 11, 2019

Yep, lets hope it doesn't hang

@BMarchi
Copy link
Contributor Author

BMarchi commented Nov 11, 2019

  • Linux Build Status
  • Arch Build Status
  • Windows Build Status
  • OSX Build Status

@BMarchi
Copy link
Contributor Author

BMarchi commented Nov 25, 2019

Playing around with a Windows VM I was able to get all test running just fine if and only if I run them individually for each rmw_implementation, when I combine them (at least fastrtps, cyclone and connext), some tests hang and return exit code 1 after a sigterm is sent. I wasn't able yet to determine the root cause of this. Any thoughts?

@claireyywang
Copy link
Contributor

Playing around with a Windows VM I was able to get all test running just fine if and only if I run them individually for each rmw_implementation, when I combine them (at least fastrtps, cyclone and connext), some tests hang and return exit code 1 after a sigterm is sent. I wasn't able yet to determine the root cause of this. Any thoughts?

I've encountered similar situation when running CI on another ros2cli PR on windows. It seems like there's no definite fix for it yet according to @nuclearsandwich 's investigation ros2/rclpy#456 and ros2/build_farmer#248

@nuclearsandwich
Copy link
Member

I've encountered similar situation when running CI on another ros2cli PR on windows. It seems like there's no definite fix for it yet according to @nuclearsandwich 's investigation ros2/rclpy#456 and ros2/build_cop#248

The hangs in ros2/build_farmer#248 were resolved by eProsima/Fast-DDS#871 and the hung processes were deadlocked requiring a SIGKILL so it is likely something else going on here.

@ivanpauno
Copy link
Member

@hidmic I assigned you, so it doesn't appear more in our triage search, I also understand you're planning to follow-up on this.

@audrow audrow changed the base branch from master to rolling June 28, 2022 14:23
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.

5 participants