[Ros-release] need help figuring out why this pre-release test fails

Dirk Thomas dthomas at osrfoundation.org
Wed Jul 24 22:33:19 UTC 2013

Hi Jack,

I built and ran the tests locally and get exactly the same results as on the farm.
Six junit files generated, `catkin_test_results` reports eight tests with four of them failing.

You see "more" tests than you expect since each grouping level (rostest around a set of rosunit) has to generate its own result file.

Why do the tests fail for me and on the farm but not for you?

After taking a look to the test files of velodyne_height_map it looks like they are using test data which is not available when the dependencies are installed form Debians.
E.g. $(find velodyne_pointcloud)/tests/class.pcap in heightmap_node_hz.test
Your package seems to only download its own testdata but not the other stuff.

Your are likely running the tests locally on top of the dependencies from source for which you have ran the tests before and therefore have the additional test data available.

- Dirk

On 24.07.2013 09:59, Jack O'Quin wrote:
> I recently converted velodyne_height_map to catkin. The unit tests work fine in my catkin workspace with a Precise, amd64 development machine. But, I can't get a Hydro pre-release test to work.
> There should only be four tests, yet the pre-release Test Result page shows eight of them with four failing:
> http://jenkins.willowgarage.com:8080/job/prerelease-hydro-velodyne_height_map/ARCH_PARAM=amd64,UBUNTU_PARAM=precise,label=prerelease/3/testReport/
> What are the __main__ tests?
> When running locally, I see six test results files:
> rostest-tests_heightmap_node_hz.xml
> rostest-tests_heightmap_nodelet_hz.xml
> rosunit-heightmap_node_clear_hz_test.xml
> rosunit-heightmap_nodelet_clear_hz_test.xml
> rosunit-heightmap_nodelet_obstacles_hz_test.xml
> rosunit-heightmap_node_obstacles_hz_test.xml
> Did I configure them wrong?
> https://github.com/jack-oquin/velodyne_height_map/blob/master/CMakeLists.txt#L63
> Are these rostest scripts broken?
> https://github.com/jack-oquin/velodyne_height_map/tree/master/tests
> --
>   joq
> _______________________________________________
> Ros-release mailing list
> Ros-release at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-release

More information about the Ros-release mailing list