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

CI failing due to missing controller_manager #869

Open
1 task done
fmauch opened this issue Oct 30, 2023 · 2 comments
Open
1 task done

CI failing due to missing controller_manager #869

fmauch opened this issue Oct 30, 2023 · 2 comments
Assignees
Labels
ci-failure This issue describes a currently occuring CI failure

Comments

@fmauch
Copy link
Collaborator

fmauch commented Oct 30, 2023

Affected ROS2 Driver version(s)

Basically all PRs

Used ROS distribution.

Iron, Rolling

Which combination of platform is the ROS driver running on.

Docker

How is the UR ROS2 Driver installed.

Build the driver from source and using the UR Client Library from binary

Which robot platform is the driver connected to.

URSim in docker

Robot SW / URSim version(s)

The one from CI

How is the ROS driver used.

Headless without using the teach pendant

Issue details

Summary

Currently, some of our CI jobs regularly fail due to a missing connnection to /controller_manager

Issue details

It seems that sometimes our controller spawners seem not to be able to contact the controller_manager. For single controllers we get

 [spawner-8] [INFO] [1698650407.667882462] [spawner_scaled_joint_trajectory_controller]: Waiting for '/controller_manager' node to exist
    [spawner-8] [INFO] [1698650409.677460494] [spawner_scaled_joint_trajectory_controller]: Waiting for '/controller_manager' node to exist
    [spawner-8] [INFO] [1698650411.687458830] [spawner_scaled_joint_trajectory_controller]: Waiting for '/controller_manager' node to exist
    [spawner-8] [INFO] [1698650413.697357365] [spawner_scaled_joint_trajectory_controller]: Waiting for '/controller_manager' node to exist
    [spawner-8] [INFO] [1698650415.708340132] [spawner_scaled_joint_trajectory_controller]: Waiting for '/controller_manager' node to exist

And the tests finally fail because the controller never comes up.

Steps to Reproduce

Not sure how to reproduce this, as this happens in some pipeline runs, but not all.

Expected Behavior

It should work

Actual Behavior

e.g. https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver/actions/runs/6689460108/job/18173039411

Workaround Suggestion

none..

Relevant log output

No response

Accept Public visibility

  • I agree to make this context public
@fmauch fmauch added the ci-failure This issue describes a currently occuring CI failure label Oct 30, 2023
@KKSTB
Copy link

KKSTB commented Oct 31, 2023

Controller spawner has a wait for service timeout of 10sec only. Could this be caused by a newly started ursim where the boot time takes more than 10sec?

@fmauch
Copy link
Collaborator Author

fmauch commented Oct 31, 2023

Controller spawner has a wait for service timeout of 10sec only. Could this be caused by a newly started ursim where the boot time takes more than 10sec?

No, we specifically pass a timeout of 120 seconds in there. But thank you for the input @KKSTB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-failure This issue describes a currently occuring CI failure
Projects
None yet
Development

No branches or pull requests

2 participants