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

Fix spawner unload on kill test #1675

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

saikishor
Copy link
Member

@saikishor saikishor commented Aug 14, 2024

This PR removed the removed --controller-type arg and this should fix #1674

1: [ RUN      ] TestLoadController.unload_on_kill
1: [WARN] [1723621281.285314383] [test_controller_manager]: 'update_rate' parameter not set, using default value of 100 Hz.
1: [INFO] [1723621281.285576429] [test_controller_manager]: Subscribing to '/robot_description' topic for robot description.
1: [INFO] [1723621281.285628469] [test_controller_manager]: Received robot description from topic.
1: [INFO] [1723621281.286638848] [ResourceManager.resource_manager]: Loading hardware 'TestActuatorHardware' 
1: [INFO] [1723621281.287215441] [ResourceManager.resource_manager]: Loaded hardware 'TestActuatorHardware' from plugin 'test_actuator'
1: [INFO] [1723621281.287257207] [ResourceManager.resource_manager]: Initialize hardware 'TestActuatorHardware' 
1: [INFO] [1723621281.287285122] [ResourceManager.resource_manager]: Successful initialization of hardware 'TestActuatorHardware'
1: [INFO] [1723621281.287339970] [ResourceManager.resource_manager]: Loading hardware 'TestSensorHardware' 
1: [INFO] [1723621281.287444969] [ResourceManager.resource_manager]: Loaded hardware 'TestSensorHardware' from plugin 'test_sensor'
1: [INFO] [1723621281.287473634] [ResourceManager.resource_manager]: Initialize hardware 'TestSensorHardware' 
1: [INFO] [1723621281.287504812] [ResourceManager.resource_manager]: Successful initialization of hardware 'TestSensorHardware'
1: [INFO] [1723621281.287529058] [ResourceManager.resource_manager]: Loading hardware 'TestSystemHardware' 
1: [INFO] [1723621281.287626232] [ResourceManager.resource_manager]: Loaded hardware 'TestSystemHardware' from plugin 'test_system'
1: [INFO] [1723621281.287651821] [ResourceManager.resource_manager]: Initialize hardware 'TestSystemHardware' 
1: [INFO] [1723621281.287686045] [ResourceManager.resource_manager]: Successful initialization of hardware 'TestSystemHardware'
1: [INFO] [1723621281.287920249] [resource_manager]: 'configure' hardware 'TestSystemHardware' 
1: [INFO] [1723621281.287928981] [resource_manager]: Successful 'configure' of hardware 'TestSystemHardware'
1: [INFO] [1723621281.287941251] [resource_manager]: 'activate' hardware 'TestSystemHardware' 
1: [INFO] [1723621281.287946200] [resource_manager]: Successful 'activate' of hardware 'TestSystemHardware'
1: [INFO] [1723621281.287957240] [resource_manager]: 'configure' hardware 'TestSensorHardware' 
1: [INFO] [1723621281.287961653] [resource_manager]: Successful 'configure' of hardware 'TestSensorHardware'
1: [INFO] [1723621281.287967852] [resource_manager]: 'activate' hardware 'TestSensorHardware' 
1: [INFO] [1723621281.287971254] [resource_manager]: Successful 'activate' of hardware 'TestSensorHardware'
1: [INFO] [1723621281.287979093] [resource_manager]: 'configure' hardware 'TestActuatorHardware' 
1: [INFO] [1723621281.287985027] [resource_manager]: Successful 'configure' of hardware 'TestActuatorHardware'
1: [INFO] [1723621281.287994292] [resource_manager]: 'activate' hardware 'TestActuatorHardware' 
1: [INFO] [1723621281.287998264] [resource_manager]: Successful 'activate' of hardware 'TestActuatorHardware'
1: [INFO] [1723621281.288009425] [test_controller_manager]: Resource Manager has been successfully initialized. Starting Controller Manager services...
1: [INFO] [1723621281.887493831] [test_controller_manager]: Loading controller 'ctrl_3'
1: [INFO] [1723621281.900996167] [spawner_ctrl_3]: Loaded ctrl_3
1: [INFO] [1723621281.901792560] [test_controller_manager]: Configuring controller 'ctrl_3'
1: [INFO] [1723621281.931057599] [spawner_ctrl_3]: Configured and activated ctrl_3
1: [INFO] [1723621281.931297701] [spawner_ctrl_3]: Waiting until interrupt to unload controllers
1: [INFO] [1723621286.353034818] [spawner_ctrl_3]: Interrupt captured, deactivating and unloading controller
1: [INFO] [1723621286.371612504] [spawner_ctrl_3]: Deactivated controller
1: [INFO] [1723621286.382513258] [spawner_ctrl_3]: Unloaded controller
1: [       OK ] TestLoadController.unload_on_kill (5304 ms)

Copy link
Contributor

@christophfroehlich christophfroehlich left a comment

Choose a reason for hiding this comment

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

Thanks for the quick fix

@saikishor
Copy link
Member Author

Thanks to you @christophfroehlich for finding it!

@christophfroehlich
Copy link
Contributor

💪 #1668

Copy link
Member

@bmagyar bmagyar left a comment

Choose a reason for hiding this comment

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

thank you!

@bmagyar bmagyar merged commit 07fb4f3 into ros-controls:master Aug 14, 2024
19 checks passed
@saikishor saikishor deleted the fix/spawner/unload-on-kill branch August 17, 2024 08:19
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.

TestLoadController.unload_on_kill is broken
3 participants