{"action":"created","comment":{"url":"https://api.github.com/repos/Samsung/js-remote-test/pulls/comments/135442864","pull_request_review_id":58854240,"id":135442864,"diff_hunk":"@@ -0,0 +1,118 @@\n+# Copyright 2017-present Samsung Electronics Co., Ltd. and other contributors\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtain a copy of the License at\n+#\n+#     http://www.apache.org/licenses/LICENSE-2.0\n+#\n+# Unless required by applicable law or agreed to in writing, software\n+# distributed under the License is distributed on an \"AS IS\" BASIS\n+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+# See the License for the specific language governing permissions and\n+# limitations under the License.\n+\n+import base\n+\n+import connection\n+import re\n+import signal\n+import time\n+\n+from ..common import (console, paths, utils)\n+\n+\n+class Device(base.DeviceBase):\n+    '''\n+    Artik053 device class. (Only for testing the testrunner.)\n+    '''\n+    def __init__(self, options):\n+        super(self.__class__, self).__init__('artik053', remote_path='/')\n+        self.serial = connection.serialcom.Connection(options, 'TASH>>')\n+        self.platform = utils.get_system().lower() + utils.get_architecture()\n+\n+    def install_dependencies(self):\n+        '''\n+        Install dependencies of the board.\n+        '''\n+        pass\n+\n+    def get_test_path(self):\n+        '''\n+        Return the test path on the device.\n+        '''\n+        return '/rom/test'\n+\n+    def flash(self, os):\n+        '''\n+        Flash the given operating system to the board.\n+        '''\n+        utils.execute(paths.TIZENRT_OS_PATH, 'make', ['download', 'ALL'])\n+\n+    def reset(self):\n+        '''\n+        Reset the board.\n+        '''\n+        try:\n+            # TODO: Fix error message\n+            utils.execute(paths.TIZENRT_OPENOCD_PATH, './%s/openocd' % self.platform, \n+            ['-f', 'artik053.cfg', '-c', 'reset'], quiet=True, errorQuiet=True)","path":"API/device/artik053.py","position":null,"original_position":59,"commit_id":"47423e4d067030bc19d08cd82450b3bdae9d46fd","original_commit_id":"e05cce91d84a6f24faa339a333eddc5fba3db72f","user":{"login":"hs0225","id":18204719,"avatar_url":"https://avatars3.githubusercontent.com/u/18204719?v=4","gravatar_id":"","url":"https://api.github.com/users/hs0225","html_url":"https://github.com/hs0225","followers_url":"https://api.github.com/users/hs0225/followers","following_url":"https://api.github.com/users/hs0225/following{/other_user}","gists_url":"https://api.github.com/users/hs0225/gists{/gist_id}","starred_url":"https://api.github.com/users/hs0225/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hs0225/subscriptions","organizations_url":"https://api.github.com/users/hs0225/orgs","repos_url":"https://api.github.com/users/hs0225/repos","events_url":"https://api.github.com/users/hs0225/events{/privacy}","received_events_url":"https://api.github.com/users/hs0225/received_events","type":"User","site_admin":false},"body":"I resolved a problem the other way. So I do not need to hide the error message.","created_at":"2017-08-28T05:12:59Z","updated_at":"2017-08-28T05:13:00Z","html_url":"https://github.com/Samsung/js-remote-test/pull/16#discussion_r135442864","pull_request_url":"https://api.github.com/repos/Samsung/js-remote-test/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/Samsung/js-remote-test/pulls/comments/135442864"},"html":{"href":"https://github.com/Samsung/js-remote-test/pull/16#discussion_r135442864"},"pull_request":{"href":"https://api.github.com/repos/Samsung/js-remote-test/pulls/16"}},"in_reply_to_id":135356776},"pull_request":{"url":"https://api.github.com/repos/Samsung/js-remote-test/pulls/16","id":137592314,"html_url":"https://github.com/Samsung/js-remote-test/pull/16","diff_url":"https://github.com/Samsung/js-remote-test/pull/16.diff","patch_url":"https://github.com/Samsung/js-remote-test/pull/16.patch","issue_url":"https://api.github.com/repos/Samsung/js-remote-test/issues/16","number":16,"state":"open","locked":false,"title":"Support iotjs on TizenRT","user":{"login":"hs0225","id":18204719,"avatar_url":"https://avatars3.githubusercontent.com/u/18204719?v=4","gravatar_id":"","url":"https://api.github.com/users/hs0225","html_url":"https://github.com/hs0225","followers_url":"https://api.github.com/users/hs0225/followers","following_url":"https://api.github.com/users/hs0225/following{/other_user}","gists_url":"https://api.github.com/users/hs0225/gists{/gist_id}","starred_url":"https://api.github.com/users/hs0225/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hs0225/subscriptions","organizations_url":"https://api.github.com/users/hs0225/orgs","repos_url":"https://api.github.com/users/hs0225/repos","events_url":"https://api.github.com/users/hs0225/events{/privacy}","received_events_url":"https://api.github.com/users/hs0225/received_events","type":"User","site_admin":false},"body":"JSRemoteTest-DCO-1.0-Signed-off-by: Hosung Kim hs852.kim@samsung.com","created_at":"2017-08-25T03:09:14Z","updated_at":"2017-08-28T05:13:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"af3980f84e3ccdfcdb904d5b99fe8de6e86f0237","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Samsung/js-remote-test/pulls/16/commits","review_comments_url":"https://api.github.com/repos/Samsung/js-remote-test/pulls/16/comments","review_comment_url":"https://api.github.com/repos/Samsung/js-remote-test/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Samsung/js-remote-test/issues/16/comments","statuses_url":"https://api.github.com/repos/Samsung/js-remote-test/statuses/47423e4d067030bc19d08cd82450b3bdae9d46fd","head":{"label":"hs0225:tizenrt","ref":"tizenrt","sha":"47423e4d067030bc19d08cd82450b3bdae9d46fd","user":{"login":"hs0225","id":18204719,"avatar_url":"https://avatars3.githubusercontent.com/u/18204719?v=4","gravatar_id":"","url":"https://api.github.com/users/hs0225","html_url":"https://github.com/hs0225","followers_url":"https://api.github.com/users/hs0225/followers","following_url":"https://api.github.com/users/hs0225/following{/other_user}","gists_url":"https://api.github.com/users/hs0225/gists{/gist_id}","starred_url":"https://api.github.com/users/hs0225/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hs0225/subscriptions","organizations_url":"https://api.github.com/users/hs0225/orgs","repos_url":"https://api.github.com/users/hs0225/repos","events_url":"https://api.github.com/users/hs0225/events{/privacy}","received_events_url":"https://api.github.com/users/hs0225/received_events","type":"User","site_admin":false},"repo":{"id":101155658,"name":"js-remote-test","full_name":"hs0225/js-remote-test","owner":{"login":"hs0225","id":18204719,"avatar_url":"https://avatars3.githubusercontent.com/u/18204719?v=4","gravatar_id":"","url":"https://api.github.com/users/hs0225","html_url":"https://github.com/hs0225","followers_url":"https://api.github.com/users/hs0225/followers","following_url":"https://api.github.com/users/hs0225/following{/other_user}","gists_url":"https://api.github.com/users/hs0225/gists{/gist_id}","starred_url":"https://api.github.com/users/hs0225/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hs0225/subscriptions","organizations_url":"https://api.github.com/users/hs0225/orgs","repos_url":"https://api.github.com/users/hs0225/repos","events_url":"https://api.github.com/users/hs0225/events{/privacy}","received_events_url":"https://api.github.com/users/hs0225/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hs0225/js-remote-test","description":"This repository is includes the automatic test results of iotjs  ","fork":true,"url":"https://api.github.com/repos/hs0225/js-remote-test","forks_url":"https://api.github.com/repos/hs0225/js-remote-test/forks","keys_url":"https://api.github.com/repos/hs0225/js-remote-test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hs0225/js-remote-test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hs0225/js-remote-test/teams","hooks_url":"https://api.github.com/repos/hs0225/js-remote-test/hooks","issue_events_url":"https://api.github.com/repos/hs0225/js-remote-test/issues/events{/number}","events_url":"https://api.github.com/repos/hs0225/js-remote-test/events","assignees_url":"https://api.github.com/repos/hs0225/js-remote-test/assignees{/user}","branches_url":"https://api.github.com/repos/hs0225/js-remote-test/branches{/branch}","tags_url":"https://api.github.com/repos/hs0225/js-remote-test/tags","blobs_url":"https://api.github.com/repos/hs0225/js-remote-test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hs0225/js-remote-test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hs0225/js-remote-test/git/refs{/sha}","trees_url":"https://api.github.com/repos/hs0225/js-remote-test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hs0225/js-remote-test/statuses/{sha}","languages_url":"https://api.github.com/repos/hs0225/js-remote-test/languages","stargazers_url":"https://api.github.com/repos/hs0225/js-remote-test/stargazers","contributors_url":"https://api.github.com/repos/hs0225/js-remote-test/contributors","subscribers_url":"https://api.github.com/repos/hs0225/js-remote-test/subscribers","subscription_url":"https://api.github.com/repos/hs0225/js-remote-test/subscription","commits_url":"https://api.github.com/repos/hs0225/js-remote-test/commits{/sha}","git_commits_url":"https://api.github.com/repos/hs0225/js-remote-test/git/commits{/sha}","comments_url":"https://api.github.com/repos/hs0225/js-remote-test/comments{/number}","issue_comment_url":"https://api.github.com/repos/hs0225/js-remote-test/issues/comments{/number}","contents_url":"https://api.github.com/repos/hs0225/js-remote-test/contents/{+path}","compare_url":"https://api.github.com/repos/hs0225/js-remote-test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hs0225/js-remote-test/merges","archive_url":"https://api.github.com/repos/hs0225/js-remote-test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hs0225/js-remote-test/downloads","issues_url":"https://api.github.com/repos/hs0225/js-remote-test/issues{/number}","pulls_url":"https://api.github.com/repos/hs0225/js-remote-test/pulls{/number}","milestones_url":"https://api.github.com/repos/hs0225/js-remote-test/milestones{/number}","notifications_url":"https://api.github.com/repos/hs0225/js-remote-test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hs0225/js-remote-test/labels{/name}","releases_url":"https://api.github.com/repos/hs0225/js-remote-test/releases{/id}","deployments_url":"https://api.github.com/repos/hs0225/js-remote-test/deployments","created_at":"2017-08-23T08:15:14Z","updated_at":"2017-08-23T08:15:15Z","pushed_at":"2017-08-28T05:09:51Z","git_url":"git://github.com/hs0225/js-remote-test.git","ssh_url":"git@github.com:hs0225/js-remote-test.git","clone_url":"https://github.com/hs0225/js-remote-test.git","svn_url":"https://github.com/hs0225/js-remote-test","homepage":null,"size":773,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Samsung:master","ref":"master","sha":"1430845504d2571bd8c57cfe89b0df26028b693f","user":{"login":"Samsung","id":6210390,"avatar_url":"https://avatars3.githubusercontent.com/u/6210390?v=4","gravatar_id":"","url":"https://api.github.com/users/Samsung","html_url":"https://github.com/Samsung","followers_url":"https://api.github.com/users/Samsung/followers","following_url":"https://api.github.com/users/Samsung/following{/other_user}","gists_url":"https://api.github.com/users/Samsung/gists{/gist_id}","starred_url":"https://api.github.com/users/Samsung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Samsung/subscriptions","organizations_url":"https://api.github.com/users/Samsung/orgs","repos_url":"https://api.github.com/users/Samsung/repos","events_url":"https://api.github.com/users/Samsung/events{/privacy}","received_events_url":"https://api.github.com/users/Samsung/received_events","type":"Organization","site_admin":false},"repo":{"id":84928946,"name":"js-remote-test","full_name":"Samsung/js-remote-test","owner":{"login":"Samsung","id":6210390,"avatar_url":"https://avatars3.githubusercontent.com/u/6210390?v=4","gravatar_id":"","url":"https://api.github.com/users/Samsung","html_url":"https://github.com/Samsung","followers_url":"https://api.github.com/users/Samsung/followers","following_url":"https://api.github.com/users/Samsung/following{/other_user}","gists_url":"https://api.github.com/users/Samsung/gists{/gist_id}","starred_url":"https://api.github.com/users/Samsung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Samsung/subscriptions","organizations_url":"https://api.github.com/users/Samsung/orgs","repos_url":"https://api.github.com/users/Samsung/repos","events_url":"https://api.github.com/users/Samsung/events{/privacy}","received_events_url":"https://api.github.com/users/Samsung/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Samsung/js-remote-test","description":"This repository is includes the automatic test results of iotjs  ","fork":false,"url":"https://api.github.com/repos/Samsung/js-remote-test","forks_url":"https://api.github.com/repos/Samsung/js-remote-test/forks","keys_url":"https://api.github.com/repos/Samsung/js-remote-test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Samsung/js-remote-test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Samsung/js-remote-test/teams","hooks_url":"https://api.github.com/repos/Samsung/js-remote-test/hooks","issue_events_url":"https://api.github.com/repos/Samsung/js-remote-test/issues/events{/number}","events_url":"https://api.github.com/repos/Samsung/js-remote-test/events","assignees_url":"https://api.github.com/repos/Samsung/js-remote-test/assignees{/user}","branches_url":"https://api.github.com/repos/Samsung/js-remote-test/branches{/branch}","tags_url":"https://api.github.com/repos/Samsung/js-remote-test/tags","blobs_url":"https://api.github.com/repos/Samsung/js-remote-test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Samsung/js-remote-test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Samsung/js-remote-test/git/refs{/sha}","trees_url":"https://api.github.com/repos/Samsung/js-remote-test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Samsung/js-remote-test/statuses/{sha}","languages_url":"https://api.github.com/repos/Samsung/js-remote-test/languages","stargazers_url":"https://api.github.com/repos/Samsung/js-remote-test/stargazers","contributors_url":"https://api.github.com/repos/Samsung/js-remote-test/contributors","subscribers_url":"https://api.github.com/repos/Samsung/js-remote-test/subscribers","subscription_url":"https://api.github.com/repos/Samsung/js-remote-test/subscription","commits_url":"https://api.github.com/repos/Samsung/js-remote-test/commits{/sha}","git_commits_url":"https://api.github.com/repos/Samsung/js-remote-test/git/commits{/sha}","comments_url":"https://api.github.com/repos/Samsung/js-remote-test/comments{/number}","issue_comment_url":"https://api.github.com/repos/Samsung/js-remote-test/issues/comments{/number}","contents_url":"https://api.github.com/repos/Samsung/js-remote-test/contents/{+path}","compare_url":"https://api.github.com/repos/Samsung/js-remote-test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Samsung/js-remote-test/merges","archive_url":"https://api.github.com/repos/Samsung/js-remote-test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Samsung/js-remote-test/downloads","issues_url":"https://api.github.com/repos/Samsung/js-remote-test/issues{/number}","pulls_url":"https://api.github.com/repos/Samsung/js-remote-test/pulls{/number}","milestones_url":"https://api.github.com/repos/Samsung/js-remote-test/milestones{/number}","notifications_url":"https://api.github.com/repos/Samsung/js-remote-test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Samsung/js-remote-test/labels{/name}","releases_url":"https://api.github.com/repos/Samsung/js-remote-test/releases{/id}","deployments_url":"https://api.github.com/repos/Samsung/js-remote-test/deployments","created_at":"2017-03-14T09:15:12Z","updated_at":"2017-08-23T08:05:08Z","pushed_at":"2017-08-28T05:09:53Z","git_url":"git://github.com/Samsung/js-remote-test.git","ssh_url":"git@github.com:Samsung/js-remote-test.git","clone_url":"https://github.com/Samsung/js-remote-test.git","svn_url":"https://github.com/Samsung/js-remote-test","homepage":null,"size":763,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":10,"mirror_url":null,"open_issues_count":4,"forks":10,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Samsung/js-remote-test/pulls/16"},"html":{"href":"https://github.com/Samsung/js-remote-test/pull/16"},"issue":{"href":"https://api.github.com/repos/Samsung/js-remote-test/issues/16"},"comments":{"href":"https://api.github.com/repos/Samsung/js-remote-test/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/Samsung/js-remote-test/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/Samsung/js-remote-test/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Samsung/js-remote-test/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/Samsung/js-remote-test/statuses/47423e4d067030bc19d08cd82450b3bdae9d46fd"}}}}
{"actor":{"display_login":"hs0225"}}