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

Missing test dependencies in master #1715

Closed
SteveMacenski opened this issue May 9, 2020 · 9 comments
Closed

Missing test dependencies in master #1715

SteveMacenski opened this issue May 9, 2020 · 9 comments

Comments

@SteveMacenski
Copy link
Member

Reports of missing test dependencies we need to add to the package.xml files. Can be reproduced by

cd tools
docker build -t nav2:release -f release.Dockerfile .

after reenabling https://github.com/ros-planning/navigation2/blob/master/tools/release.Dockerfile#L91-L102

@siddhya
Copy link
Contributor

siddhya commented May 10, 2020

How do I get the build logs out from docker? Will need those to find out what dependencies need to be added to each package.xml

#21 3.429 build/costmap_queue/Testing/20200510-0904/Test.xml: 7 tests, 0 errors, 7 failures, 0 skipped #21 3.429 build/dwb_core/Testing/20200510-0904/Test.xml: 5 tests, 0 errors, 5 failures, 0 skipped #21 3.429 build/dwb_critics/Testing/20200510-0904/Test.xml: 5 tests, 0 errors, 5 failures, 0 skipped

@SteveMacenski
Copy link
Member Author

#1718 covers @siddhya I see that I have a PM on Slack from you, I will get to that today promise 😄

In the future, if you go into the docker container, you should be able to see the logs with colcon test-result --verbose. I agree, I would really like that to be the output ( or an option of the output ) of the test call itself.

@SteveMacenski
Copy link
Member Author

@siddhya did that get you unblocked?

@siddhya
Copy link
Contributor

siddhya commented May 13, 2020

Yes but when I comment out the vcs import and uncomment COPY to use my local navigation2 code in the docker I get the below error. Local code is on latest master.

#17 3.472 ERROR: Rosdep experienced an error: Multiple packages found with the same name "nav2_gazebo_spawner":
#17 3.472 - ros-planning/navigation2/install/nav2_gazebo_spawner/share/nav2_gazebo_spawner
#17 3.472 - ros-planning/navigation2/nav2_bringup/nav2_gazebo_spawner

@SteveMacenski
Copy link
Member Author

Did you run one build with symlink and other without it?

@siddhya
Copy link
Contributor

siddhya commented May 14, 2020

Adding the middle line fixed the dependency issues for me. Will raise a PR if it makes sense.

But this file uses ros:eloquent as base and that has stopped working since #1714

+RUN if [ -z "$RUN_TESTS" ]; then \
+        . /opt/ros/$ROS_DISTRO/setup.sh && \
+        colcon test \

@SteveMacenski
Copy link
Member Author

@ruffsl does that sound right to you? I was thinking maybe not the best since that implies potentially packages from the docker image and not through rosdep necessarily, however, I do see that we do that for building the overlay workspace https://github.com/ros-planning/navigation2/blob/master/tools/release.Dockerfile#L76. So that seems reasonable to me. Since you reported this issue, would this be a good solution?

@ruffsl
Copy link
Member

ruffsl commented May 14, 2020

+        . /opt/ros/$ROS_DISTRO/setup.sh && \

Derp. Never mind this issues then. It'll be included in the refresh of the Dockerfiles: df955b2

@ruffsl ruffsl closed this as completed May 14, 2020
@SteveMacenski
Copy link
Member Author

SteveMacenski commented May 14, 2020

Thanks @siddhya for taking a look! It also appears the planner test issue wasn't actually fixed... mind working with Alexey on that again? Its come back on every PR so far.

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

No branches or pull requests

3 participants