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

[jsk_data] add bagfile_prefix arg for record.launch #1437

Merged
merged 4 commits into from
Sep 5, 2016

Conversation

furushchev
Copy link
Member

  • add bagfile_prefix argument for XXX_record.launch

destination bag file is $(arg save_dir)/$(arg bagfile_prefix)_YYYY-mm-dd-HH-MM-SS.bag

Without this PR, we can set only directory and prefix is always empty.

/removable/bagfile/furushchev/elevator_20160106$ ls
_2016-01-05-23-50-54.bag  _2016-01-14-13-22-40.bag  _2016-01-18-06-35-41.bag  _2016-01-20-11-00-44.bag
_2016-01-05-23-59-42.bag  _2016-01-14-13-30-23.bag  _2016-01-18-06-37-03.bag  _2016-01-20-13-28-10.bag.active
_2016-01-06-00-24-13.bag  _2016-01-14-13-38-59.bag  _2016-01-20-08-28-31.bag  _2016-01-20-13-28-10.bag.orig.active
_2016-01-14-12-50-16.bag  _2016-01-14-13-47-10.bag  _2016-01-20-08-35-36.bag  _2016-01-20-22-28-59.bag.active
_2016-01-14-12-51-39.bag  _2016-01-14-13-50-01.bag  _2016-01-20-09-58-33.bag  _2016-01-20-22-28-59.bag.orig.active
_2016-01-14-12-53-00.bag  _2016-01-14-13-58-04.bag  _2016-01-20-10-00-51.bag
_2016-01-14-12-53-38.bag  _2016-01-18-04-09-10.bag  _2016-01-20-10-03-20.bag
_2016-01-14-13-00-23.bag  _2016-01-18-04-30-19.bag  _2016-01-20-10-22-35.bag
  • add test for roslanch

@furushchev
Copy link
Member Author

furushchev commented Aug 11, 2016

I confirmed bag file is successfully created on PR1012 real robot. using pr2_record.launch

@k-okada
Copy link
Member

k-okada commented Aug 12, 2016

@furushchev ask someone for review

@furushchev
Copy link
Member Author

@mmurooka @wkentaro @chiwunau please review for hrp2, baxter, pr2.

2016年8月12日金曜日、Kei Okadanotifications@github.comさんは書きました:

@furushchev https://github.com/furushchev ask someone for review


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#1437 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB0B0A_GXrT0zWs1R41S6eRgrfEWpqQNks5qfBE2gaJpZM4JiKNM
.

⌘ Yuki Furuta

@@ -11,7 +11,8 @@
<arg name="save_multisense" default="false" />
<arg name="camera_namespace" default="openni"/>

<arg name="save_dir" default="$(env HOME)/.ros"/>
<arg name="save_dir"/> <!-- destination directory of bagfile -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By default rosbag record records bag file on cwd.
This argument implicitly sets save destination to $HOME/.ros, and this can be dangerous for machine which has limited space.
(e.g. PR2 has external HDD for recording bag files, but $HOME which is mounted as system HDD has only 1~10GB and this is shared with system region, so it may occurs failure of booting next time.
Anyway it's better to be another PR for this part. So I reverted this time.

@mmurooka
Copy link
Member

For HRP2 specific part, no problem except for #1437 (comment).

@furushchev
Copy link
Member Author

@mmurooka @wkentaro Thank you for review! I updated the commit.

@k-okada
Copy link
Member

k-okada commented Aug 15, 2016

This might be difficult problem, increasing depends might be not welcomed
by other people like
jsk-ros-pkg/jsk_recognition#1820, but dropping
dependency means jsk_data is not tested

  1. add baxter_description to the package.xml
  • users may want to remove this in future
  • if that package is not released on newer distro, that blocks releasing
    jsk_data
    2) remove test for the baxter
  • baxter record.launch is not under test
  • baxter user may not want to use record.launch, because of lack of the
    testing
[jsk_data] -- run_tests.py: execute commands ^M^M
[jsk_data]   /usr/bin/cmake -E make_directory
/workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data ^M^M
[jsk_data]
/opt/ros/hydro/share/roslaunch/cmake/../scripts/roslaunch-check -o
/workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data/roslaunch-check_\
launch_baxter_play.launch.xml
/workspace/ros/ws_jsk_common/src/jsk_common/jsk_data/launch/baxter_play.launch
^M^M
[jsk_data] checking
/workspace/ros/ws_jsk_common/src/jsk_common/jsk_data/launch/baxter_play.launch
^M^M
[jsk_data] Traceback (most recent call last): ^M^M
[jsk_data]   File
"/opt/ros/hydro/share/roslaunch/cmake/../scripts/roslaunch-check", line 85,
in <module> ^M^M
[jsk_data]     error_msg = check_roslaunch_file(roslaunch_path) ^M^M
[jsk_data]   File
"/opt/ros/hydro/share/roslaunch/cmake/../scripts/roslaunch-check", line 45,
in check_roslaunch_file ^M^M
[jsk_data]     error_msg = roslaunch.rlutil.check_roslaunch(roslaunch_file)
^M^M
[jsk_data]   File
"/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/rlutil.py", line 192,
in check_roslaunch ^M^M
[jsk_data]     rl_config = roslaunch.config.load_config_default([f],
DEFAULT_MASTER_PORT, verbose=False) ^M^M
[jsk_data]   File
"/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/config.py", line 428,
in load_config_default ^M^M
[jsk_data]     loader.load(f, config, verbose=verbose) ^M^M
[jsk_data]   File
"/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line
698, in load ^M^M
[jsk_data]     self._load_launch(launch, ros_config, is_core=core,
filename=filename, argv=argv, verbose=verbose) ^M^M
[jsk_data]   File
"/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line
670, in _load_launch ^M^M
[jsk_data]     self._recurse_load(ros_config, launch.childNodes,
self.root_context, None, is_core, verbose) ^M^M
[jsk_data]   File
"/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line
614, in _recurse_load ^M^M
[jsk_data]     self._param_tag(tag, context, ros_config, verbose=verbose)
^M^M
[jsk_data]   File
"/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line
95, in call ^M^M
[jsk_data]     return f(*args, **kwds) ^M^M
[jsk_data]   File
"/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line
232, in _param_tag ^M^M
[jsk_data]     vals = self.opt_attrs(tag, context, ('value', 'textfile',
'binfile', 'command')) ^M^M
[jsk_data]   File
"/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line
178, in opt_attrs ^M^M
[jsk_data]     return [self.resolve_args(tag_value(tag,a), context) for a
in attrs] ^M^M
[jsk_data]   File
"/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line
159, in resolve_args ^M^M
[jsk_data]     return substitution_args.resolve_args(args,
context=context.resolve_dict, resolve_anon=self.resolve_anon) ^M^M
[jsk_data]   File
"/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/substitution_args.py",
line 299, in resolve_args ^M^M
[jsk_data]     resolved = _resolve_args(resolved, context, resolve_anon,
commands) ^M^M
[jsk_data]   File
"/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/substitution_args.py",
line 312, in _resolve_args ^M^M
[jsk_data]     resolved = commands[command](resolved, a, args, context) ^M^M
[jsk_data]   File
"/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/substitution_args.py",
line 137, in _find ^M^M
[jsk_data]     return _find_executable(resolve_without_path, a, [args[0],
path], context) ^M^M
[jsk_data]   File
"/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/substitution_args.py",
line 173, in _find_executable ^M^M
[jsk_data]     full_path = _get_executable_path(rp.get_path(args[0]), path)
^M^M
[jsk_data]   File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py",
line 200, in get_path ^M^M
[jsk_data]     raise ResourceNotFound(name, ros_paths=self._ros_paths) ^M^M
[jsk_data] rospkg.common.ResourceNotFound: baxter_description ^M^M
[jsk_data] ROS path [0]=/opt/ros/hydro/share/ros ^M^M
[jsk_data] ROS path
[1]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/3rdparty/downward
^M^M
[jsk_data] ROS path
[2]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/3rdparty/assimp_devel
^M^M
[jsk_data] ROS path
[3]=/workspace/ros/ws_jsk_common/src/jsk_common/jsk_coordination_system/dynamic_tf_publisher
^M^M

◉ Kei Okada

On Sun, Aug 14, 2016 at 9:59 AM, Furushchev notifications@github.com
wrote:

@mmurooka https://github.com/mmurooka @wkentaro
https://github.com/wkentaro Thank you for review! I updated the commit.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#1437 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAeG3HkyUbsmuHeWHn2fmG5RaT2Ez8msks5qfmh4gaJpZM4JiKNM
.

@chiwunau
Copy link
Contributor

chiwunau commented Aug 17, 2016

Sorry for being very late, I tested on my account in PR2 and everything looks good .

@furushchev
Copy link
Member Author

@chiwunau thanks!

@furushchev
Copy link
Member Author

@k-okada +1 for adding deps especially for this package.
Data can be lost with changes by other robot users without testing.
It is very sad when we success on experiments but no data/result is recorded, I think.

Another possible solution is setup testing environment on which dependencies are already installed without rosdep and test by manually launching *.launch files.

@k-okada
Copy link
Member

k-okada commented Aug 25, 2016

please ask baxter users whether if they want to include baxter for the test
case (but they take responsibility to keep the test working, mostly keep
asking to release baxter package to every new distro) or inot.

◉ Kei Okada

On Tue, Aug 23, 2016 at 4:35 PM, Furushchev notifications@github.com
wrote:

@k-okada https://github.com/k-okada +1 for adding deps especially for
this package.
Data can be lost with changes by other robot users without testing.
It is very sad when we success on experiments but no data/result is
recorded, I think.

Another possible solution is setup testing environment on which
dependencies are already installed without rosdep and test by manually
launching *.launch files.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#1437 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAeG3EDV9IrrtUB1mk_9xJ2iBiKiJ8VBks5qiqLGgaJpZM4JiKNM
.

@furushchev
Copy link
Member Author

@wkentaro How do you think about what @k-okada said?

@wkentaro
Copy link
Member

please ask baxter users whether if they want to include baxter for the test
case (but they take responsibility to keep the test working, mostly keep
asking to release baxter package to every new distro) or inot.

What do you mean? there is no baxter package: https://github.com/furushchev/jsk_common/blob/b8dfff11b81ebb65e51428bb420ce7b5ee54dafe/jsk_data/package.xml

@k-okada
Copy link
Member

k-okada commented Aug 27, 2016

yes, that's why travis test fails -> https://travis-ci.org/jsk-ros-pkg/jsk_common/jobs/152131969

[jsk_data]   /usr/bin/cmake -E make_directory /workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data 
[jsk_data]   /opt/ros/hydro/share/roslaunch/cmake/../scripts/roslaunch-check -o /workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data/roslaunch-check_launch_baxter_play.launch.xml /workspace/ros/ws_jsk_common/src/jsk_common/jsk_data/launch/baxter_play.launch 
[jsk_data] checking /workspace/ros/ws_jsk_common/src/jsk_common/jsk_data/launch/baxter_play.launch 
[jsk_data] Traceback (most recent call last): 
[jsk_data]   File "/opt/ros/hydro/share/roslaunch/cmake/../scripts/roslaunch-check", line 85, in <module> 
[jsk_data]     error_msg = check_roslaunch_file(roslaunch_path) 
[jsk_data]   File "/opt/ros/hydro/share/roslaunch/cmake/../scripts/roslaunch-check", line 45, in check_roslaunch_file 
[jsk_data]     error_msg = roslaunch.rlutil.check_roslaunch(roslaunch_file) 
[jsk_data]   File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/rlutil.py", line 192, in check_roslaunch 
[jsk_data]     rl_config = roslaunch.config.load_config_default([f], DEFAULT_MASTER_PORT, verbose=False) 
[jsk_data]   File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/config.py", line 428, in load_config_default 
[jsk_data]     loader.load(f, config, verbose=verbose) 
[jsk_data]   File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 698, in load 
[jsk_data]     self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose) 
[jsk_data]   File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 670, in _load_launch 
[jsk_data]     self._recurse_load(ros_config, launch.childNodes, self.root_context, None, is_core, verbose) 
[jsk_data]   File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 614, in _recurse_load 
[jsk_data]     self._param_tag(tag, context, ros_config, verbose=verbose) 
[jsk_data]   File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 95, in call 
[jsk_data]     return f(*args, **kwds) 
[jsk_data]   File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 232, in _param_tag 
[jsk_data]     vals = self.opt_attrs(tag, context, ('value', 'textfile', 'binfile', 'command')) 
[jsk_data]   File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 178, in opt_attrs 
[jsk_data]     return [self.resolve_args(tag_value(tag,a), context) for a in attrs] 
[jsk_data]   File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 159, in resolve_args 
[jsk_data]     return substitution_args.resolve_args(args, context=context.resolve_dict, resolve_anon=self.resolve_anon) 
[jsk_data]   File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 299, in resolve_args 
[jsk_data]     resolved = _resolve_args(resolved, context, resolve_anon, commands) 
[jsk_data]   File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 312, in _resolve_args 
[jsk_data]     resolved = commands[command](resolved, a, args, context) 
[jsk_data]   File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 137, in _find 
[jsk_data]     return _find_executable(resolve_without_path, a, [args[0], path], context) 
[jsk_data]   File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 173, in _find_executable 
[jsk_data]     full_path = _get_executable_path(rp.get_path(args[0]), path) 
[jsk_data]   File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 200, in get_path 
[jsk_data]     raise ResourceNotFound(name, ros_paths=self._ros_paths) 
[jsk_data] rospkg.common.ResourceNotFound: baxter_description 
[jsk_data] ROS path [0]=/opt/ros/hydro/share/ros 
[jsk_data] ROS path [1]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/3rdparty/downward 
[jsk_data] ROS path [2]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/3rdparty/assimp_devel 
[jsk_data] ROS path [3]=/workspace/ros/ws_jsk_common/src/jsk_common/jsk_coordination_system/dynamic_tf_publisher 
[jsk_data] ROS path [4]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/bayesian_belief_networks 
[jsk_data] ROS path [5]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/3rdparty/ff 
[jsk_data] ROS path [6]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/3rdparty/ffha 
[jsk_data] ROS path [7]=/workspace/ros/ws_jsk_common/src/jsk_common/jsk_ros_patch/image_view2 
[jsk_data] ROS path [8]=/workspace/ros/ws_jsk_common/src/jsk_common/jsk_data 
[jsk_data] ROS path [9]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/3rdparty/downward 
[jsk_data] ROS path [10]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/3rdparty/assimp_devel 
[jsk_data] ROS path [11]=/workspace/ros/ws_jsk_common/src/jsk_common/jsk_coordination_system/dynamic_tf_publisher 
[jsk_data] ROS path [12]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/bayesian_belief_networks 
[jsk_data] ROS path [13]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/3rdparty/ff 
[jsk_data] ROS path [14]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/3rdparty/ffha 
[jsk_data] ROS path [15]=/workspace/ros/ws_jsk_common/src/jsk_common/jsk_ros_patch/image_view2 
[jsk_data] ROS path [16]=/workspace/ros/ws_jsk_common/src/jsk_common/jsk_data 
[jsk_data] ROS path [17]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_common_msgs/jsk_footstep_msgs 
[jsk_data] ROS path [18]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_common_msgs/jsk_gui_msgs 
[jsk_data] ROS path [19]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_common_msgs/jsk_hark_msgs 
[jsk_data] ROS path [20]=/workspace/ros/ws_jsk_common/src/jsk_common/jsk_network_tools 
[jsk_data] ROS path [21]=/workspace/ros/ws_jsk_common/src/jsk_common/jsk_tilt_laser 
[jsk_data] ROS path [22]=/workspace/ros/ws_jsk_common/src/jsk_common/jsk_tools 
[jsk_data] ROS path [23]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/3rdparty/julius 
[jsk_data] ROS path [24]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/jsk_ros_patch/laser_filters_jsk_patch 
[jsk_data] ROS path [25]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/3rdparty/libcmt 
[jsk_data] ROS path [26]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/3rdparty/libsiftfast 
[jsk_data] ROS path [27]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/3rdparty/mini_maxwell 
[jsk_data] ROS path [28]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/3rdparty/nlopt 
[jsk_data] ROS path [29]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/opt_camera 
[jsk_data] ROS path [30]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/pgm_learner 
[jsk_data] ROS path [31]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_common_msgs/posedetection_msgs 
[jsk_data] ROS path [32]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/rospatlite 
[jsk_data] ROS path [33]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/rosping 
[jsk_data] ROS path [34]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/rostwitter 
[jsk_data] ROS path [35]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_common_msgs/speech_recognition_msgs 
[jsk_data] ROS path [36]=/workspace/ros/ws_jsk_common/src/jsk_common/virtual_force_publisher 
[jsk_data] ROS path [37]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/3rdparty/voice_text 
[jsk_data] ROS path [38]=/workspace/ros/ws_jsk_common/src/jsk_common/jsk_topic_tools 
[jsk_data] ROS path [39]=/workspace/ros/ws_jsk_common/src/jsk-ros-pkg/jsk_3rdparty/jsk_ros_patch/collada_urdf_jsk_patch 
[jsk_data] ROS path [40]=/workspace/ros/ws_jsk_common/src/jsk_common/jsk_ros_patch/multi_map_server 
[jsk_data] ROS path [41]=/opt/ros/hydro/share 
[jsk_data] ROS path [42]=/opt/ros/hydro/stacks 
[jsk_data] -- run_tests.py: verify result "/workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data/roslaunch-check_launch_baxter_play.launch.xml" 
[jsk_data] Cannot find results, writing failure results to '/workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data/MISSING-roslaunch-check_launch_baxter_play.launch.xml' 
[jsk_data] Built target _run_tests_jsk_data_roslaunch-check_launch_baxter_play.launch 
[jsk_data] Scanning dependencies of target _run_tests_jsk_data_roslaunch-check_launch_baxter_record.launch 
[jsk_data] -- run_tests.py: execute commands 
[jsk_data]   /usr/bin/cmake -E make_directory /workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data 
[jsk_data]   /opt/ros/hydro/share/roslaunch/cmake/../scripts/roslaunch-check -o /workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data/roslaunch-check_launch_baxter_record.launch.xml /workspace/ros/ws_jsk_common/src/jsk_common/jsk_data/launch/baxter_record.launch 
[jsk_data] checking /workspace/ros/ws_jsk_common/src/jsk_common/jsk_data/launch/baxter_record.launch 
[jsk_data] ...writing test results to /workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data/roslaunch-check_launch_baxter_record.launch.xml 
[jsk_data] passed 
[jsk_data] -- run_tests.py: verify result "/workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data/roslaunch-check_launch_baxter_record.launch.xml" 
[jsk_data] Built target _run_tests_jsk_data_roslaunch-check_launch_baxter_record.launch 
[jsk_data] Scanning dependencies of target _run_tests_jsk_data_roslaunch-check_launch_pr2_play.launch 
[jsk_data] -- run_tests.py: execute commands 
[jsk_data]   /usr/bin/cmake -E make_directory /workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data 
[jsk_data]   /opt/ros/hydro/share/roslaunch/cmake/../scripts/roslaunch-check -o /workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data/roslaunch-check_launch_pr2_play.launch.xml /workspace/ros/ws_jsk_common/src/jsk_common/jsk_data/launch/pr2_play.launch 
[jsk_data] checking /workspace/ros/ws_jsk_common/src/jsk_common/jsk_data/launch/pr2_play.launch 
[jsk_data] ...writing test results to /workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data/roslaunch-check_launch_pr2_play.launch.xml 
[jsk_data] passed 
[jsk_data] -- run_tests.py: verify result "/workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data/roslaunch-check_launch_pr2_play.launch.xml" 
[jsk_data] Built target _run_tests_jsk_data_roslaunch-check_launch_pr2_play.launch 
[jsk_data] Scanning dependencies of target _run_tests_jsk_data_roslint_package 
[jsk_data] -- run_tests.py: execute commands with working directory "/workspace/ros/ws_jsk_common/build/jsk_data" 
[jsk_data]   /opt/ros/hydro/share/roslint/cmake/../../../lib/roslint/test_wrapper /workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data/roslint-jsk_data.xml make roslint_jsk_data 
[jsk_data] -- run_tests.py: verify result "/workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data/roslint-jsk_data.xml" 
[jsk_data] Built target _run_tests_jsk_data_roslint_package 
[jsk_data] Scanning dependencies of target _run_tests_jsk_data_nosetests_src.jsk_data.tests 
[jsk_data] -- run_tests.py: execute commands 
[jsk_data]   /usr/bin/cmake -E make_directory /workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data 
[jsk_data]   /usr/bin/nosetests-2.7 -P --process-timeout=60 --where=/workspace/ros/ws_jsk_common/src/jsk_common/jsk_data/src/jsk_data/tests --with-xunit --xunit-file=/workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data/nosetests-src.jsk_data.tests.xml 
[jsk_data] . 
[jsk_data] ---------------------------------------------------------------------- 
[jsk_data] Ran 1 test in 0.379s 

@k-okada
Copy link
Member

k-okada commented Aug 28, 2016

you need to add pr2_description to the tet_depend, or remove that from your test.


[jsk_data:make] -- run_tests.py: verify result "/workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data/roslaunch-check_launch_hrp2_record.launch.xml"
[jsk_data:make] make[3]: Leaving directory `/workspace/ros/ws_jsk_common/build/jsk_data'
[jsk_data:make] /usr/bin/cmake -E cmake_progress_report /workspace/ros/ws_jsk_common/build/jsk_data/CMakeFiles 
[jsk_data:make] Built target _run_tests_jsk_data_roslaunch-check_launch_hrp2_record.launch
[jsk_data:make] /usr/bin/make -f CMakeFiles/_run_tests_jsk_data_roslaunch-check_launch_pr2_play.launch.dir/build.make CMakeFiles/_run_tests_jsk_data_roslaunch-check_launch_pr2_play.launch.dir/depend
[jsk_data:make] make[3]: Entering directory `/workspace/ros/ws_jsk_common/build/jsk_data'
[jsk_data:make] cd /workspace/ros/ws_jsk_common/build/jsk_data && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /workspace/ros/ws_jsk_common/src/jsk_common/jsk_data /workspace/ros/ws_jsk_common/src/jsk_common/jsk_data /workspace/ros/ws_jsk_common/build/jsk_data /workspace/ros/ws_jsk_common/build/jsk_data /workspace/ros/ws_jsk_common/build/jsk_data/CMakeFiles/_run_tests_jsk_data_roslaunch-check_launch_pr2_play.launch.dir/DependInfo.cmake --color=
[jsk_data:make] Dependee "/workspace/ros/ws_jsk_common/build/jsk_data/CMakeFiles/_run_tests_jsk_data_roslaunch-check_launch_pr2_play.launch.dir/DependInfo.cmake" is newer than depender "/workspace/ros/ws_jsk_common/build/jsk_data/CMakeFiles/_run_tests_jsk_data_roslaunch-check_launch_pr2_play.launch.dir/depend.internal".
[jsk_data:make] Dependee "/workspace/ros/ws_jsk_common/build/jsk_data/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/workspace/ros/ws_jsk_common/build/jsk_data/CMakeFiles/_run_tests_jsk_data_roslaunch-check_launch_pr2_play.launch.dir/depend.internal".
[jsk_data:make] Scanning dependencies of target _run_tests_jsk_data_roslaunch-check_launch_pr2_play.launch
[jsk_data:make] make[3]: Leaving directory `/workspace/ros/ws_jsk_common/build/jsk_data'
[jsk_data:make] /usr/bin/make -f CMakeFiles/_run_tests_jsk_data_roslaunch-check_launch_pr2_play.launch.dir/build.make CMakeFiles/_run_tests_jsk_data_roslaunch-check_launch_pr2_play.launch.dir/build
[jsk_data:make] make[3]: Entering directory `/workspace/ros/ws_jsk_common/build/jsk_data'
[jsk_data:make] catkin_generated/env_cached.sh /usr/bin/python /opt/ros/indigo/share/catkin/cmake/test/run_tests.py /workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data/roslaunch-check_launch_pr2_play.launch.xml /usr/bin/cmake\ -E\ make_directory\ /workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data /opt/ros/indigo/share/roslaunch/cmake/../scripts/roslaunch-check\ -o\ '/workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data/roslaunch-check_launch_pr2_play.launch.xml'\ '/workspace/ros/ws_jsk_common/src/jsk_common/jsk_data/launch/pr2_play.launch'\ 
[jsk_data:make] -- run_tests.py: execute commands
[jsk_data:make]   /usr/bin/cmake -E make_directory /workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data
[jsk_data:make]   /opt/ros/indigo/share/roslaunch/cmake/../scripts/roslaunch-check -o /workspace/ros/ws_jsk_common/build/jsk_data/test_results/jsk_data/roslaunch-check_launch_pr2_play.launch.xml /workspace/ros/ws_jsk_common/src/jsk_common/jsk_data/launch/pr2_play.launch 
[jsk_data:make] checking /workspace/ros/ws_jsk_common/src/jsk_common/jsk_data/launch/pr2_play.launch
[jsk_data:make] Traceback (most recent call last):
[jsk_data:make]   File "/opt/ros/indigo/share/roslaunch/cmake/../scripts/roslaunch-check", line 86, in <module>
[jsk_data:make]     error_msg = check_roslaunch_file(roslaunch_path)
[jsk_data:make]   File "/opt/ros/indigo/share/roslaunch/cmake/../scripts/roslaunch-check", line 46, in check_roslaunch_file
[jsk_data:make]     error_msg = roslaunch.rlutil.check_roslaunch(roslaunch_file)
[jsk_data:make]   File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/rlutil.py", line 192, in check_roslaunch
[jsk_data:make]     rl_config = roslaunch.config.load_config_default([f], DEFAULT_MASTER_PORT, verbose=False)
[jsk_data:make]   File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/config.py", line 451, in load_config_default
[jsk_data:make]     loader.load(f, config, verbose=verbose)
[jsk_data:make]   File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 746, in load
[jsk_data:make]     self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose)
[jsk_data:make]   File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 718, in _load_launch
[jsk_data:make]     self._recurse_load(ros_config, launch.childNodes, self.root_context, None, is_core, verbose)
[jsk_data:make]   File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 662, in _recurse_load
[jsk_data:make]     self._param_tag(tag, context, ros_config, verbose=verbose)
[jsk_data:make]   File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 95, in call
[jsk_data:make]     return f(*args, **kwds)
[jsk_data:make]   File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 256, in _param_tag
[jsk_data:make]     vals = self.opt_attrs(tag, context, ('value', 'textfile', 'binfile', 'command'))
[jsk_data:make]   File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 202, in opt_attrs
[jsk_data:make]     return [self.resolve_args(tag_value(tag,a), context) for a in attrs]
[jsk_data:make]   File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 183, in resolve_args
[jsk_data:make]     return substitution_args.resolve_args(args, context=context.resolve_dict, resolve_anon=self.resolve_anon)
[jsk_data:make]   File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 312, in resolve_args
[jsk_data:make]     resolved = _resolve_args(resolved, context, resolve_anon, commands)
[jsk_data:make]   File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 325, in _resolve_args
[jsk_data:make]     resolved = commands[command](resolved, a, args, context)
[jsk_data:make]   File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 141, in _find
[jsk_data:make]     source_path_to_packages=source_path_to_packages)
[jsk_data:make]   File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 184, in _find_executable
[jsk_data:make]     full_path = _get_executable_path(rp.get_path(args[0]), path)
[jsk_data:make]   File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 200, in get_path
[jsk_data:make]     raise ResourceNotFound(name, ros_paths=self._ros_paths)
[jsk_data:make] rospkg.common.ResourceNotFound: pr2_description
[jsk_data:make] ROS path [0]=/opt/ros/indigo/share/ros
[jsk_data:make] ROS path [1]=/workspace/ros/ws_jsk_common/src/jsk_common/jsk_data
[jsk_data:make] ROS path [2]=/workspace/ros/ws_jsk_common/src/jsk_common/jsk_coordination_system/dynamic_tf_publisher
[jsk_data:make] ROS path [3]=/workspace/ros/ws_jsk_common/src/jsk_common/jsk_ros_patch/image_view2
[jsk_data:make] ROS path [4]=/workspace/ros/ws_jsk_common/src/jsk_common/jsk_data
[jsk_data:make] ROS path [5]=/workspace/ros/ws_jsk_common/src/jsk_common/jsk_network_tools
[jsk_data:make] ROS path [6]=/workspace/ros/ws_jsk_common/src/jsk_common/jsk_tilt_laser
[jsk_data:make] ROS path [7]=/workspace/ros/ws_jsk_common/src/jsk_common/jsk_tools
[jsk_data:make] ROS path [8]=/workspace/ros/ws_jsk_common/src/jsk_common/jsk_topic_tools
[jsk_data:make] ROS path [9]=/workspace/ros/ws_jsk_common/src/jsk_common/jsk_ros_patch/multi_map_server
[jsk_data:make] ROS path [10]=/workspace/ros/ws_jsk_common/src/jsk_common/virtual_force_publisher
[jsk_data:make] ROS path [11]=/opt/ros/indigo/share
[jsk_data:make] ROS path [12]=/opt/ros/indigo/stacks

@furushchev
Copy link
Member Author

problem of authentication in jenkins?

executing command [sudo -H apt-get install -y -qq ros-hydro-roslint]

WARNING: The following packages cannot be authenticated!

  ros-hydro-roslint

E: There are problems and -y was used without --force-yes

@k-okada k-okada merged commit c63a66f into jsk-ros-pkg:master Sep 5, 2016
@k-okada
Copy link
Member

k-okada commented Sep 5, 2016

closed via #1450

@furushchev furushchev deleted the bagfile-prefix branch November 2, 2017 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants