{"action":"created","issue":{"url":"https://api.github.com/repos/start-jsk/rtmros_common/issues/975","repository_url":"https://api.github.com/repos/start-jsk/rtmros_common","labels_url":"https://api.github.com/repos/start-jsk/rtmros_common/issues/975/labels{/name}","comments_url":"https://api.github.com/repos/start-jsk/rtmros_common/issues/975/comments","events_url":"https://api.github.com/repos/start-jsk/rtmros_common/issues/975/events","html_url":"https://github.com/start-jsk/rtmros_common/issues/975","id":183475870,"number":975,"title":"roseus test in hrpsys_ros_bridge is not called in jenkins","user":{"login":"mmurooka","id":6636600,"avatar_url":"https://avatars.githubusercontent.com/u/6636600?v=3","gravatar_id":"","url":"https://api.github.com/users/mmurooka","html_url":"https://github.com/mmurooka","followers_url":"https://api.github.com/users/mmurooka/followers","following_url":"https://api.github.com/users/mmurooka/following{/other_user}","gists_url":"https://api.github.com/users/mmurooka/gists{/gist_id}","starred_url":"https://api.github.com/users/mmurooka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmurooka/subscriptions","organizations_url":"https://api.github.com/users/mmurooka/orgs","repos_url":"https://api.github.com/users/mmurooka/repos","events_url":"https://api.github.com/users/mmurooka/events{/privacy}","received_events_url":"https://api.github.com/users/mmurooka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-17T17:20:18Z","updated_at":"2016-10-18T04:37:48Z","closed_at":null,"body":"[hrpsys_ros_bridge内のroseusのテスト](https://github.com/start-jsk/rtmros_common/blob/master/hrpsys_ros_bridge/CMakeLists.txt#L269-L270) がjenkinsのテストで呼ばれていないことが，https://github.com/start-jsk/rtmros_common/pull/972#issuecomment-254111547 で分かりました．\r\ntravisからjenkinsに環境変数`IS_EUSLISP_TRAVIS_TEST`を渡していないことが原因です（https://github.com/start-jsk/rtmros_common/pull/973 ）．\r\n\r\n関連するPRが複数あるので解決策と合わせて整理すると（上から順に望ましい？），\r\n\r\n（１） [環境変数のif文](https://github.com/start-jsk/rtmros_common/blob/master/hrpsys_ros_bridge/CMakeLists.txt#L268)をそもそも無くす． https://github.com/start-jsk/rtmros_common/pull/976\r\n　このif文は何を目的としているでしょうか．\r\n（２） cmake-argsをtravisからjenkinsに渡すようにして，環境変数`IS_EUSLISP_TRAVIS_TEST`の代わりにこれを使う．（https://github.com/start-jsk/rtmros_common/pull/973#issuecomment-254132210 ）\r\n　（４）案よりも汎用的\r\n（３） すべてのテストをtravisで走らせる． https://github.com/start-jsk/rtmros_common/pull/974\r\n　hydroやkineticではtravisが使えない？\r\n（４） jsk_travis/travis_jenkins.pyで環境変数`IS_EUSLISP_TRAVIS_TEST`をjenkinsに渡す．（https://github.com/jsk-ros-pkg/jsk_travis/blob/master/travis_jenkins.py#L25-L40 ）\r\n　他のリポジトリでも使うところに個別のことを書かないほうが良い．\r\n\r\n\r\nまた，そもそもroseusのテストが走るようにすると49分くらい経過して\r\n> The log length has exceeded the limit of 4 MB (this usually means that the test suite is raising the same exception over and over).\r\n\r\nと出て終わってしまったので，テストが走るようになったとして，travis/jenkins上でできるように何か変更が必要．\r\nhttps://travis-ci.org/start-jsk/rtmros_common/jobs/168202321"},"comment":{"url":"https://api.github.com/repos/start-jsk/rtmros_common/issues/comments/254404810","html_url":"https://github.com/start-jsk/rtmros_common/issues/975#issuecomment-254404810","issue_url":"https://api.github.com/repos/start-jsk/rtmros_common/issues/975","id":254404810,"user":{"login":"mmurooka","id":6636600,"avatar_url":"https://avatars.githubusercontent.com/u/6636600?v=3","gravatar_id":"","url":"https://api.github.com/users/mmurooka","html_url":"https://github.com/mmurooka","followers_url":"https://api.github.com/users/mmurooka/followers","following_url":"https://api.github.com/users/mmurooka/following{/other_user}","gists_url":"https://api.github.com/users/mmurooka/gists{/gist_id}","starred_url":"https://api.github.com/users/mmurooka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmurooka/subscriptions","organizations_url":"https://api.github.com/users/mmurooka/orgs","repos_url":"https://api.github.com/users/mmurooka/repos","events_url":"https://api.github.com/users/mmurooka/events{/privacy}","received_events_url":"https://api.github.com/users/mmurooka/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T04:37:48Z","updated_at":"2016-10-18T04:37:48Z","body":"> 1. 今はtravisが走ったときに、travis上とjenkins上の両方でテストが走る？\r\n\r\nhttps://github.com/start-jsk/rtmros_common/blob/master/.travis.yml#L20-L37\r\nでUSE_TRAVISとUSE_JENKINSのどちらかがtrueになっていて切り分けられています．\r\n\r\n> 2. jenkinsを呼ぶときには、元々travis上で設定されてた環境変数などは渡されない？\r\n\r\nはい．\r\nhttps://github.com/jsk-ros-pkg/jsk_travis/blob/master/travis_jenkins.py#L25-L40\r\nで個別にtravisからjenkinsに渡す環境変数をひとつずつ列挙しています．\r\nすべての環境変数を渡せるといいですが，そのやり方はわからないです．\r\n"}}
{"actor":{"display_login":"mmurooka"}}