-
Notifications
You must be signed in to change notification settings - Fork 16
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
make ros_comm unit tests pass #33
Comments
On 23.04 see an error related to not having ROS_ROOT, set that manually just for the tests
|
Run just one set of tests
How about run one single test?
Try another testing command line, still same as pytest
recursive search and replace of assertEquals:
specific test
sudo apt install python3-mock
|
Probably missing an install, duplicate this in Docker:
-> Don't set ROS_DISTRO to |
In 22.04 docker and 23.04 local:
Just commented those lines out for now,
Need this for
but then get
How about using C++11?
if that works try using it for only that test No it didn't help, try running the same dockerfile in 20.04
|
Try github actions and Docker file on
also run 20.04 tests |
failed in 20.04 action:
does roswtf even work by itself?
why does it matter what directory ros_root is?
Probably should just add 127.0.1.1 to the list |
Where are these coming from? Don't see any cases of
|
Current failures in 22.04
Only roswtf is failing in 20.04
Does pytest fail to get the roscore running? No it looks like the test is supposed to launch it, but that isn't working |
Switching development over to https://github.com/lucasw/ros_comm/tree/salsa_noetic_aggregated so can run tests 23.04 locally then see how 20.04 and 22.04 actions do
|
Switch to a single package:
or even more specific
fix roswtf next
Don't set PYTHONPATH to use $DEST unless some other python install creates it? That only occurs locally, don't see that message in the github action Experiment with docker 20.04 build and see if roswtf can be fixed
where is the rosmake dependency? |
The issue is that GetParam() encoded returns a blank stream (which it is supposed to), then the decoder segfaults on that (even though encoded_size is properly 0)
GetParam is from gtest |
Calling this done since https://github.com/lucasw/ros_comm/tree/salsa_noetic_aggregated is passing for both 20.04 and 22.04, but need to revisit the failing tests that were disabled |
Did a rebase that makes running tests work with python 3.12 (on Ubuntu 24.04), and using more gitlab ros_comm patches from https://salsa.debian.org/science-team/ros-ros-comm/-/tree/master/debian/patches now. |
->
No that didn't fix it -> assert_eventually() |
I think this has been deprecated
|
This never finishes, nosetest hangs:
No it was this one?
Running that standalone also never finishes Maybe because this?
|
Possibly catkin_make run_tests will show results more clearly.
Added github action files for ubuntu 20.04 and 22.04 to ros_comm branches- https://github.com/lucasw/ros_comm/tree/noetic_devel_github_action, https://github.com/lucasw/ros_comm/tree/salsa_noetic_aggregated, and https://github.com/lucasw/ros_comm/tree/zenoh_pub_sub_cpp
current results are seen here (every push):
https://github.com/lucasw/ros_comm/actions
Also make them pass locally on 23.04/23.10
lucasw/ros_one2z#7 (comment)
The text was updated successfully, but these errors were encountered: