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

ICI_workflow: No issues are reported any more #37

Closed
christophfroehlich opened this issue Mar 17, 2024 · 5 comments
Closed

ICI_workflow: No issues are reported any more #37

christophfroehlich opened this issue Mar 17, 2024 · 5 comments
Assignees

Comments

@christophfroehlich
Copy link
Contributor

Humble workflow fails during testing, like here
https://github.com/ros-controls/ros2_control_ci/actions/runs/8304468913/job/22730143420

[ RUN ] TestLoadController.multi_ctrls_test_type_in_param
...
[INFO] [1710554585.628199404] [test_controller_manager]: Configuring controller 'ctrl_1'
terminate called after throwing an instance of 'std::runtime_error'
what(): Can not get command interface configuration until the controller is configured.

Why are no issues reported any more? 🤔

@saikishor
Copy link
Member

@christophfroehlich this is weird there is no logic changed in the code. It Is very unlikely that this happens. I'll take a look and get back to you

@fmauch
Copy link
Contributor

fmauch commented Mar 17, 2024

I guess it relates to the condition to be precise:

if: ${{ always() && (steps.ici.outputs.build_target_workspace == '2' || steps.ici.outputs.target_test_results == '1') && github.event_name == 'schedule'}}

That only triggers on a build test or on a failed test. However, in the run test-results seem not to be evaluated due to the exception being raised. Probably we should add checking for run_target_test having a return code !=0


Edit: I take that back. run_target_test did return 0. I'll further check.

@fmauch
Copy link
Contributor

fmauch commented Mar 17, 2024

I tried to reproduce this locally, but I didn't succeed. Adding a segfault to a test or raising an exception all resulted in colcon test step returning 0 and colcon test-result returning 1. I also tried generating a timeout during a test, same result. colcon test-result returning 1 should result in steps.ici.outputs.target_test_results == '1' and therefore create an issue.

@fmauch
Copy link
Contributor

fmauch commented Mar 18, 2024

ros-industrial/industrial_ci#853

@christophfroehlich
Copy link
Contributor Author

Seems to be fixed with ros-industrial/industrial_ci#854 👍

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

No branches or pull requests

3 participants