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

test_low_pass_filter is flaky #210

Open
christophfroehlich opened this issue Sep 12, 2024 · 0 comments
Open

test_low_pass_filter is flaky #210

christophfroehlich opened this issue Sep 12, 2024 · 0 comments
Labels

Comments

@christophfroehlich
Copy link
Contributor

2024-09-12T02:24:56.9259275Z test 4
2024-09-12T02:24:56.9259495Z     Start 4: test_low_pass_filter
2024-09-12T02:24:56.9259701Z 
2024-09-12T02:24:56.9263997Z 4: Test command: /usr/bin/python3 "-u" "/opt/ros/jazzy/share/ament_cmake_test/cmake/run_test.py" "/home/runner/work/ros2_control_ci/ros2_control_ci/.work/target_ws/build/control_toolbox/test_results/control_toolbox/test_low_pass_filter.gtest.xml" "--package-name" "control_toolbox" "--output-file" "/home/runner/work/ros2_control_ci/ros2_control_ci/.work/target_ws/build/control_toolbox/test_results/control_toolbox/test_low_pass_filter.txt" "--command" "/home/runner/work/ros2_control_ci/ros2_control_ci/.work/target_ws/build/control_toolbox/test_low_pass_filter" "--ros-args" "--params-file" "/home/runner/work/ros2_control_ci/ros2_control_ci/.work/target_ws/src/ros-controls/control_toolbox/test/control_filters/test_low_pass_filter_parameters.yaml" "--" "--gtest_output=xml:/home/runner/work/ros2_control_ci/ros2_control_ci/.work/target_ws/build/control_toolbox/test_results/control_toolbox/test_low_pass_filter.gtest.xml"
2024-09-12T02:24:56.9268243Z 4: Working Directory: /home/runner/work/ros2_control_ci/ros2_control_ci/.work/target_ws/build/control_toolbox
2024-09-12T02:24:56.9268867Z 4: Test timeout computed to be: 60
2024-09-12T02:24:56.9269860Z 4: -- run_test.py: invoking following command in '/home/runner/work/ros2_control_ci/ros2_control_ci/.work/target_ws/build/control_toolbox':
2024-09-12T02:24:56.9272579Z 4:  - /home/runner/work/ros2_control_ci/ros2_control_ci/.work/target_ws/build/control_toolbox/test_low_pass_filter --ros-args --params-file /home/runner/work/ros2_control_ci/ros2_control_ci/.work/target_ws/src/ros-controls/control_toolbox/test/control_filters/test_low_pass_filter_parameters.yaml -- --gtest_output=xml:/home/runner/work/ros2_control_ci/ros2_control_ci/.work/target_ws/build/control_toolbox/test_results/control_toolbox/test_low_pass_filter.gtest.xml
2024-09-12T02:24:56.9274648Z 4: [==========] Running 4 tests from 1 test suite.
2024-09-12T02:24:56.9275078Z 4: [----------] Global test environment set-up.
2024-09-12T02:24:56.9275490Z 4: [----------] 4 tests from LowPassFilterTest
2024-09-12T02:24:56.9275988Z 4: [ RUN      ] LowPassFilterTest.TestLowPassWrenchFilterAllParameters
2024-09-12T02:24:56.9276813Z 4: [WARN] [1726107836.863870147] [TestLowPassWrenchFilterAllParameters]: Filter TestLowPassFilter already being reconfigured
2024-09-12T02:24:56.9277670Z 4: [       OK ] LowPassFilterTest.TestLowPassWrenchFilterAllParameters (14 ms)
2024-09-12T02:24:56.9278330Z 4: [ RUN      ] LowPassFilterTest.TestLowPassWrenchFilterMissingParameter
2024-09-12T02:24:56.9279537Z 4: [ERROR] [1726107836.870652884] [TestLowPassWrenchFilterMissingParameter.TestLowPassFilter]: LowPass filter cannot be configured: parameter 'sampling_frequency' is not initialized
2024-09-12T02:24:56.9280826Z 4: [       OK ] LowPassFilterTest.TestLowPassWrenchFilterMissingParameter (6 ms)
2024-09-12T02:24:56.9281544Z 4: [ RUN      ] LowPassFilterTest.TestLowPassWrenchFilterInvalidThenFixedParameter
2024-09-12T02:24:57.8923895Z 4: [ERROR] [1726107836.876615026] [TestLowPassWrenchFilterInvalidThenFixedParameter.TestLowPassFilter]: LowPass filter cannot be configured: Invalid value set during initialization for parameter 'sampling_frequency': Parameter 'sampling_frequency' with the value '0' must be greater than '0'
2024-09-12T02:24:57.8925931Z 4: [       OK ] LowPassFilterTest.TestLowPassWrenchFilterInvalidThenFixedParameter (5 ms)
2024-09-12T02:24:57.8926730Z 4: [ RUN      ] LowPassFilterTest.TestLowPassFilterComputation
2024-09-12T02:24:57.8927310Z 4/5 Test #4: test_low_pass_filter .............***Timeout  60.04 sec

normally this finishes in a couple of ms

ros-controls/ros2_control_ci#137

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant