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

implement parameter_client #959

Merged
merged 34 commits into from
Jun 29, 2022

Conversation

ihasdapie
Copy link
Member

New pull request due to previous CI failures. This PR reverts the revert and then applies fixes for windows CI as well as wildcard parameter precedence and default parameter listing depth

See:

@ihasdapie
Copy link
Member Author

ihasdapie commented Jun 15, 2022

CI:

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

@ihasdapie
Copy link
Member Author

ihasdapie commented Jun 15, 2022

image
One test failure unrelated, other two are flaky tests in ros2param due to test timeout. (Reproduciable locally using stress and --retest-until-fail. I bumped timeout in ros2param and running CI again with more --retest-until-pass

@ihasdapie ihasdapie changed the title implement parameter_client" implement parameter_client Jun 16, 2022
@ihasdapie
Copy link
Member Author

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status
    CI passed (except for a flake8 issue I just fixed). Other failures unrelated

Copy link
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.

I've done another pass with recent changes. Just some feedback related to documentation.

rclpy/rclpy/__init__.py Outdated Show resolved Hide resolved
rclpy/rclpy/parameter.py Outdated Show resolved Hide resolved
rclpy/rclpy/parameter.py Outdated Show resolved Hide resolved
rclpy/rclpy/parameter.py Outdated Show resolved Hide resolved
rclpy/rclpy/parameter.py Show resolved Hide resolved
rclpy/rclpy/parameter_client.py Outdated Show resolved Hide resolved
rclpy/rclpy/parameter_client.py Outdated Show resolved Hide resolved
@ihasdapie
Copy link
Member Author

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

ihasdapie and others added 22 commits June 17, 2022 12:15
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
…os2param

Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
…es parameter msg

Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
…957)

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
See discussion @ #956

Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
@ihasdapie ihasdapie force-pushed the revert-958-revert-945-brianc/parameter_client branch from 9d4ef96 to fb21b66 Compare June 17, 2022 19:15
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
@jacobperron
Copy link
Member

There are some flake8 issues to address: https://build.ros2.org/job/Rpr__rclpy__ubuntu_jammy_amd64/105/testReport/junit/rclpy/

ihasdapie and others added 2 commits June 21, 2022 15:26
Co-authored-by: Jacob Perron <jacob@openrobotics.org>
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
@ihasdapie ihasdapie force-pushed the revert-958-revert-945-brianc/parameter_client branch from d11c6ac to bbf43c4 Compare June 21, 2022 22:26
@jacobperron
Copy link
Member

@ros-pull-request-builder retest this please

@ihasdapie
Copy link
Member Author

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

Windows failure:
image

@ivanpauno
Copy link
Member

The details of the windows error can be seen here https://ci.ros2.org/job/ci_windows/17278/consoleFull#console-section-786.
It's a Windows fatal exception: access violation (i.e. a segmentation fault).

It might be related to the PR or not, I'm not sure.

@ihasdapie
Copy link
Member Author

The same error occured in a nightly windows build yesterday https://ci.ros2.org/view/nightly/job/nightly_win_rel/2340/

@ivanpauno
Copy link
Member

The same error occured in a nightly windows build yesterday https://ci.ros2.org/view/nightly/job/nightly_win_rel/2340/

Ok, seems unrelated then

Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
Copy link
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.

I found a few small things to complain about. After addressing them, please run CI again to ensure we're not breaking anything, thanks!

rclpy/rclpy/parameter_client.py Outdated Show resolved Hide resolved
rclpy/rclpy/parameter_client.py Show resolved Hide resolved
rclpy/rclpy/parameter_client.py Outdated Show resolved Hide resolved
rclpy/rclpy/parameter_client.py Outdated Show resolved Hide resolved
rclpy/test/test_parameter.py Outdated Show resolved Hide resolved
rclpy/test/test_parameter_client.py Outdated Show resolved Hide resolved
rclpy/test/test_parameter_client.py Outdated Show resolved Hide resolved
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
@ihasdapie
Copy link
Member Author

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

@audrow audrow changed the base branch from master to rolling June 28, 2022 14:21
@ihasdapie
Copy link
Member Author

Windows pass:
Build Status

Seems to be some flaky tests, just ran CI again with same configuration

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.

4 participants