{"action":"reopened","issue":{"url":"https://api.github.com/repos/RobotLocomotion/drake/issues/3429","repository_url":"https://api.github.com/repos/RobotLocomotion/drake","labels_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/3429/labels{/name}","comments_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/3429/comments","events_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/3429/events","html_url":"https://github.com/RobotLocomotion/drake/issues/3429","id":176666871,"number":3429,"title":"ROS CI Unable to Log and Test Results Directories Due to Insufficient Permissions","user":{"login":"liangfok","id":1388098,"avatar_url":"https://avatars.githubusercontent.com/u/1388098?v=3","gravatar_id":"","url":"https://api.github.com/users/liangfok","html_url":"https://github.com/liangfok","followers_url":"https://api.github.com/users/liangfok/followers","following_url":"https://api.github.com/users/liangfok/following{/other_user}","gists_url":"https://api.github.com/users/liangfok/gists{/gist_id}","starred_url":"https://api.github.com/users/liangfok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liangfok/subscriptions","organizations_url":"https://api.github.com/users/liangfok/orgs","repos_url":"https://api.github.com/users/liangfok/repos","events_url":"https://api.github.com/users/liangfok/events{/privacy}","received_events_url":"https://api.github.com/users/liangfok/received_events","type":"User","site_admin":false},"labels":[{"id":410893579,"url":"https://api.github.com/repos/RobotLocomotion/drake/labels/configuration:%20ros","name":"configuration: ros","color":"fbca04","default":false},{"id":77798016,"url":"https://api.github.com/repos/RobotLocomotion/drake/labels/priority:%20low","name":"priority: low","color":"e99695","default":false},{"id":321022023,"url":"https://api.github.com/repos/RobotLocomotion/drake/labels/team:%20kitware","name":"team: kitware","color":"0052cc","default":false},{"id":77074782,"url":"https://api.github.com/repos/RobotLocomotion/drake/labels/type:%20bug","name":"type: bug","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"jhoare","id":871831,"avatar_url":"https://avatars.githubusercontent.com/u/871831?v=3","gravatar_id":"","url":"https://api.github.com/users/jhoare","html_url":"https://github.com/jhoare","followers_url":"https://api.github.com/users/jhoare/followers","following_url":"https://api.github.com/users/jhoare/following{/other_user}","gists_url":"https://api.github.com/users/jhoare/gists{/gist_id}","starred_url":"https://api.github.com/users/jhoare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhoare/subscriptions","organizations_url":"https://api.github.com/users/jhoare/orgs","repos_url":"https://api.github.com/users/jhoare/repos","events_url":"https://api.github.com/users/jhoare/events{/privacy}","received_events_url":"https://api.github.com/users/jhoare/received_events","type":"User","site_admin":false},"assignees":[{"login":"jhoare","id":871831,"avatar_url":"https://avatars.githubusercontent.com/u/871831?v=3","gravatar_id":"","url":"https://api.github.com/users/jhoare","html_url":"https://github.com/jhoare","followers_url":"https://api.github.com/users/jhoare/followers","following_url":"https://api.github.com/users/jhoare/following{/other_user}","gists_url":"https://api.github.com/users/jhoare/gists{/gist_id}","starred_url":"https://api.github.com/users/jhoare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhoare/subscriptions","organizations_url":"https://api.github.com/users/jhoare/orgs","repos_url":"https://api.github.com/users/jhoare/repos","events_url":"https://api.github.com/users/jhoare/events{/privacy}","received_events_url":"https://api.github.com/users/jhoare/received_events","type":"User","site_admin":false},{"login":"liangfok","id":1388098,"avatar_url":"https://avatars.githubusercontent.com/u/1388098?v=3","gravatar_id":"","url":"https://api.github.com/users/liangfok","html_url":"https://github.com/liangfok","followers_url":"https://api.github.com/users/liangfok/followers","following_url":"https://api.github.com/users/liangfok/following{/other_user}","gists_url":"https://api.github.com/users/liangfok/gists{/gist_id}","starred_url":"https://api.github.com/users/liangfok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liangfok/subscriptions","organizations_url":"https://api.github.com/users/liangfok/orgs","repos_url":"https://api.github.com/users/liangfok/repos","events_url":"https://api.github.com/users/liangfok/events{/privacy}","received_events_url":"https://api.github.com/users/liangfok/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-09-13T15:07:18Z","updated_at":"2016-11-05T23:32:55Z","closed_at":null,"body":"# Problem Definition\n\nThe error below was taken from: https://drake-jenkins.csail.mit.edu/job/linux-clang-experimental-ros/62/console\n\n```\n10:41:51 2: WARNING: cannot create log directory [/home/ubuntu/workspace/linux-clang-experimental-ros/log]. Please set ROS_LOG_DIR to a writable location.\n10:41:52 2: Traceback (most recent call last):\n10:41:52 2:   File \"/opt/ros/indigo/share/rostest/cmake/../../../bin/rostest\", line 36, in <module>\n10:41:52 2:     rostestmain()\n10:41:52 2:   File \"/opt/ros/indigo/lib/python2.7/dist-packages/rostest/__init__.py\", line 273, in rostestmain\n10:41:52 2:     _main()\n10:41:52 2:   File \"/opt/ros/indigo/lib/python2.7/dist-packages/rostest/rostest_main.py\", line 167, in rostestmain\n10:41:52 2:     results_file = xmlResultsFile(pkg, outname, is_rostest, env=env)\n10:41:52 2:   File \"/opt/ros/indigo/lib/python2.7/dist-packages/rosunit/core.py\", line 102, in xml_results_file\n10:41:52 2:     raise IOError(\"cannot create test results directory [%s]. Please check permissions.\"%(test_dir))\n10:41:52 2: IOError: cannot create test results directory [/home/ubuntu/workspace/linux-clang-experimental-ros/build/drake_ros_common_test/test_results/drake_ros_common_test]. Please check permissions.\n```\n\nThe following error was taken from: https://drake-cdash.csail.mit.edu/testDetails.php?test=2652303&build=109867\n\n```\nWARNING: cannot create log directory [/home/ubuntu/workspace/linux-clang-experimental-ros/log]. Please set ROS_LOG_DIR to a writable location.\nTraceback (most recent call last):\n  File \"/opt/ros/indigo/share/rostest/cmake/../../../bin/rostest\", line 36, in <module>\n    rostestmain()\n  File \"/opt/ros/indigo/lib/python2.7/dist-packages/rostest/__init__.py\", line 273, in rostestmain\n    _main()\n  File \"/opt/ros/indigo/lib/python2.7/dist-packages/rostest/rostest_main.py\", line 167, in rostestmain\n    results_file = xmlResultsFile(pkg, outname, is_rostest, env=env)\n  File \"/opt/ros/indigo/lib/python2.7/dist-packages/rosunit/core.py\", line 102, in xml_results_file\n    raise IOError(\"cannot create test results directory [%s]. Please check permissions.\"%(test_dir))\nIOError: cannot create test results directory [/home/ubuntu/workspace/linux-clang-experimental-ros/build/drake_ros_common_test/test_results/drake_ros_common_test]. Please check permissions.\nCannot find results, writing failure results to '/home/ubuntu/workspace/linux-clang-experimental-ros/build/drake_ros_common_test/test_results/drake_ros_common_test/MISSING-rostest-test_simulation_abort_function_test.xml'\n-- run_tests.py: execute commands\n  /opt/ros/indigo/share/rostest/cmake/../../../bin/rostest --pkgdir=/home/ubuntu/workspace/linux-clang-experimental-ros/src/drake_ros_integration/drake_ros_common_test --package=drake_ros_common_test --results-filename test_simulation_abort_function_test.xml --results-base-dir \"/home/ubuntu/workspace/linux-clang-experimental-ros/build/drake_ros_common_test/test_results\" /home/ubuntu/workspace/linux-clang-experimental-ros/src/drake_ros_integration/drake_ros_common_test/test/simulation_abort_function_test.test \n-- run_tests.py: verify result \"/home/ubuntu/workspace/linux-clang-experimental-ros/build/drake_ros_common_test/test_results/drake_ros_common_test/rostest-test_simulation_abort_function_test.xml\"\n\n```\n# Question\n\nShould environment variable `ROS_LOG_DIR` be set to a different location?\n"}}
{"actor":{"display_login":"liangfok"}}