PR2 / pr2_common

46 stars 78 forks source link

pr2_description: failing test (ros ticket #3529) #169

Closed ahendrix closed 11 years ago

ahendrix commented 11 years ago

In pr2_description/latest, a test is failing.

Looks like the problem is that test/test_urdf.cpp refers to pr2_defs, which isn't released.

http://build.willowgarage.com/view/wg-ros-pkg/job/wg-ros-pkg-test-ubuntu-hardy-x86/lastBuild/testReport/

{{{ make[4]: Entering directory `/home/wgsim/workspace/wg-ros-pkg-test-ubuntu-hardy-x86/wg-ros-pkg/pr2_common/pr2_description/build' [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from URDF [ RUN ] URDF.CorrectFormat [rospack] couldn't find package [pr2_defs] sh: cannot create /test/tmp.urdf: Directory nonexistent [rospack] couldn't find package [pr2_defs] ERROR: Could not load the xml into TiXmlElement

testing: /home/wgsim/workspace/wg-ros-pkg-test-ubuntu-hardy-x86/wg-ros-pkg/pr2_common/pr2_description/robots/pr2.urdf.xacro Not found /home/wgsim/workspace/wg-ros-pkg-test-ubuntu-hardy-x86/wg-ros-pkg/pr2_common/pr2_description/test/test_urdf.cpp:103: Failure Value of: test_result == 0 Actual: false Expected: true [ FAILED ] URDF.CorrectFormat [----------] Global test environment tear-down [==========] 1 test from 1 test case ran. [ PASSED ] 0 tests. [ FAILED ] 1 test, listed below: [ FAILED ] URDF.CorrectFormat

1 FAILED TEST make[4]: *\ [CMakeFiles/test_test_urdf] Error 1 }}}

trac data:

ahendrix commented 11 years ago

[hsu] r29033 in trunk, awaiting test on hardware and release.

ahendrix commented 11 years ago

[watts] I removed the "tmp.urdf" file. This shouldn't have been committed. Thanks for the fix, good catch on all this stuff.

Looking at the changelist, we're OK. We need to retest the pr2_description package on a gripper anyway to recheck the calibration. That's in another ticket.