{"action":"created","comment":{"url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/pulls/comments/58595145","id":58595145,"diff_hunk":"@@ -20,12 +20,12 @@ def setUp(self):\n         Source:\n          https://oss.oracle.com/~mason/aio-stress/aio-stress.c\n         \"\"\"\n-        aiostress_c = self.params.get('aiostress_c', default='aio-stress.c')\n-        c_path = self.get_data_path(aiostress_c)\n-        shutil.copy(c_path, self.srcdir)\n+        aiostress = self.fetch_asset('https://oss.oracle.com/~mason/aio-stress/aio-stress.c')\n+        shutil.copy(aiostress, self.srcdir)\n         os.chdir(self.srcdir)\n         # This requires libaio.h in order to build\n-        process.run('gcc -Wall -laio -lpthread -o aio-stress %s' % aiostress_c)\n+        process.run('gcc -Wall -laio -lpthread -o aio-stress %s' %\n+                    os.path.basename(aiostress))","path":"perf/aiostress.py","position":13,"original_position":13,"commit_id":"c3be3a9433c531af2f13acc1bd1d4afa0716224f","original_commit_id":"c3be3a9433c531af2f13acc1bd1d4afa0716224f","user":{"login":"clebergnu","id":447178,"avatar_url":"https://avatars.githubusercontent.com/u/447178?v=3","gravatar_id":"","url":"https://api.github.com/users/clebergnu","html_url":"https://github.com/clebergnu","followers_url":"https://api.github.com/users/clebergnu/followers","following_url":"https://api.github.com/users/clebergnu/following{/other_user}","gists_url":"https://api.github.com/users/clebergnu/gists{/gist_id}","starred_url":"https://api.github.com/users/clebergnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clebergnu/subscriptions","organizations_url":"https://api.github.com/users/clebergnu/orgs","repos_url":"https://api.github.com/users/clebergnu/repos","events_url":"https://api.github.com/users/clebergnu/events{/privacy}","received_events_url":"https://api.github.com/users/clebergnu/received_events","type":"User","site_admin":false},"body":"Right, I missed that line. Anyway, no need to copy it, and yes, it failed on me.","created_at":"2016-04-05T18:53:09Z","updated_at":"2016-04-05T18:53:09Z","html_url":"https://github.com/avocado-framework/avocado-misc-tests/pull/6#discussion_r58595145","pull_request_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/pulls/comments/58595145"},"html":{"href":"https://github.com/avocado-framework/avocado-misc-tests/pull/6#discussion_r58595145"},"pull_request":{"href":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/pulls/6","id":65352497,"html_url":"https://github.com/avocado-framework/avocado-misc-tests/pull/6","diff_url":"https://github.com/avocado-framework/avocado-misc-tests/pull/6.diff","patch_url":"https://github.com/avocado-framework/avocado-misc-tests/pull/6.patch","issue_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/issues/6","number":6,"state":"open","locked":false,"title":"Fix tests after get_data_path() removal [v2]","user":{"login":"apahim","id":4717757,"avatar_url":"https://avatars.githubusercontent.com/u/4717757?v=3","gravatar_id":"","url":"https://api.github.com/users/apahim","html_url":"https://github.com/apahim","followers_url":"https://api.github.com/users/apahim/followers","following_url":"https://api.github.com/users/apahim/following{/other_user}","gists_url":"https://api.github.com/users/apahim/gists{/gist_id}","starred_url":"https://api.github.com/users/apahim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apahim/subscriptions","organizations_url":"https://api.github.com/users/apahim/orgs","repos_url":"https://api.github.com/users/apahim/repos","events_url":"https://api.github.com/users/apahim/events{/privacy}","received_events_url":"https://api.github.com/users/apahim/received_events","type":"User","site_admin":false},"body":"v1: #5 \r\n - Fix `stress` test, dropping `get_data_path()`.\r\n\r\nv2:\r\n - Fix all all occurrences of `get_data_path()` in the miscs tests repository.","created_at":"2016-04-05T18:32:49Z","updated_at":"2016-04-05T18:53:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"90c68200a98ba66b879333aab474be822e9c437f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/pulls/6/commits","review_comments_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/pulls/6/comments","review_comment_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/issues/6/comments","statuses_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/statuses/c3be3a9433c531af2f13acc1bd1d4afa0716224f","head":{"label":"apahim:bug_getdatapath_v2","ref":"bug_getdatapath_v2","sha":"c3be3a9433c531af2f13acc1bd1d4afa0716224f","user":{"login":"apahim","id":4717757,"avatar_url":"https://avatars.githubusercontent.com/u/4717757?v=3","gravatar_id":"","url":"https://api.github.com/users/apahim","html_url":"https://github.com/apahim","followers_url":"https://api.github.com/users/apahim/followers","following_url":"https://api.github.com/users/apahim/following{/other_user}","gists_url":"https://api.github.com/users/apahim/gists{/gist_id}","starred_url":"https://api.github.com/users/apahim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apahim/subscriptions","organizations_url":"https://api.github.com/users/apahim/orgs","repos_url":"https://api.github.com/users/apahim/repos","events_url":"https://api.github.com/users/apahim/events{/privacy}","received_events_url":"https://api.github.com/users/apahim/received_events","type":"User","site_admin":false},"repo":{"id":49902095,"name":"avocado-misc-tests","full_name":"apahim/avocado-misc-tests","owner":{"login":"apahim","id":4717757,"avatar_url":"https://avatars.githubusercontent.com/u/4717757?v=3","gravatar_id":"","url":"https://api.github.com/users/apahim","html_url":"https://github.com/apahim","followers_url":"https://api.github.com/users/apahim/followers","following_url":"https://api.github.com/users/apahim/following{/other_user}","gists_url":"https://api.github.com/users/apahim/gists{/gist_id}","starred_url":"https://api.github.com/users/apahim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apahim/subscriptions","organizations_url":"https://api.github.com/users/apahim/orgs","repos_url":"https://api.github.com/users/apahim/repos","events_url":"https://api.github.com/users/apahim/events{/privacy}","received_events_url":"https://api.github.com/users/apahim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/apahim/avocado-misc-tests","description":"Avocado tests repository","fork":true,"url":"https://api.github.com/repos/apahim/avocado-misc-tests","forks_url":"https://api.github.com/repos/apahim/avocado-misc-tests/forks","keys_url":"https://api.github.com/repos/apahim/avocado-misc-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apahim/avocado-misc-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apahim/avocado-misc-tests/teams","hooks_url":"https://api.github.com/repos/apahim/avocado-misc-tests/hooks","issue_events_url":"https://api.github.com/repos/apahim/avocado-misc-tests/issues/events{/number}","events_url":"https://api.github.com/repos/apahim/avocado-misc-tests/events","assignees_url":"https://api.github.com/repos/apahim/avocado-misc-tests/assignees{/user}","branches_url":"https://api.github.com/repos/apahim/avocado-misc-tests/branches{/branch}","tags_url":"https://api.github.com/repos/apahim/avocado-misc-tests/tags","blobs_url":"https://api.github.com/repos/apahim/avocado-misc-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apahim/avocado-misc-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apahim/avocado-misc-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/apahim/avocado-misc-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apahim/avocado-misc-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/apahim/avocado-misc-tests/languages","stargazers_url":"https://api.github.com/repos/apahim/avocado-misc-tests/stargazers","contributors_url":"https://api.github.com/repos/apahim/avocado-misc-tests/contributors","subscribers_url":"https://api.github.com/repos/apahim/avocado-misc-tests/subscribers","subscription_url":"https://api.github.com/repos/apahim/avocado-misc-tests/subscription","commits_url":"https://api.github.com/repos/apahim/avocado-misc-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/apahim/avocado-misc-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/apahim/avocado-misc-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/apahim/avocado-misc-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/apahim/avocado-misc-tests/contents/{+path}","compare_url":"https://api.github.com/repos/apahim/avocado-misc-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apahim/avocado-misc-tests/merges","archive_url":"https://api.github.com/repos/apahim/avocado-misc-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apahim/avocado-misc-tests/downloads","issues_url":"https://api.github.com/repos/apahim/avocado-misc-tests/issues{/number}","pulls_url":"https://api.github.com/repos/apahim/avocado-misc-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/apahim/avocado-misc-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/apahim/avocado-misc-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apahim/avocado-misc-tests/labels{/name}","releases_url":"https://api.github.com/repos/apahim/avocado-misc-tests/releases{/id}","deployments_url":"https://api.github.com/repos/apahim/avocado-misc-tests/deployments","created_at":"2016-01-18T20:08:59Z","updated_at":"2016-01-18T20:09:00Z","pushed_at":"2016-04-05T18:30:49Z","git_url":"git://github.com/apahim/avocado-misc-tests.git","ssh_url":"git@github.com:apahim/avocado-misc-tests.git","clone_url":"https://github.com/apahim/avocado-misc-tests.git","svn_url":"https://github.com/apahim/avocado-misc-tests","homepage":null,"size":1319,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"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":"avocado-framework:master","ref":"master","sha":"53559bc2558eb3a180ac52d2815ad66722492d1a","user":{"login":"avocado-framework","id":7245719,"avatar_url":"https://avatars.githubusercontent.com/u/7245719?v=3","gravatar_id":"","url":"https://api.github.com/users/avocado-framework","html_url":"https://github.com/avocado-framework","followers_url":"https://api.github.com/users/avocado-framework/followers","following_url":"https://api.github.com/users/avocado-framework/following{/other_user}","gists_url":"https://api.github.com/users/avocado-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/avocado-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avocado-framework/subscriptions","organizations_url":"https://api.github.com/users/avocado-framework/orgs","repos_url":"https://api.github.com/users/avocado-framework/repos","events_url":"https://api.github.com/users/avocado-framework/events{/privacy}","received_events_url":"https://api.github.com/users/avocado-framework/received_events","type":"Organization","site_admin":false},"repo":{"id":49900980,"name":"avocado-misc-tests","full_name":"avocado-framework/avocado-misc-tests","owner":{"login":"avocado-framework","id":7245719,"avatar_url":"https://avatars.githubusercontent.com/u/7245719?v=3","gravatar_id":"","url":"https://api.github.com/users/avocado-framework","html_url":"https://github.com/avocado-framework","followers_url":"https://api.github.com/users/avocado-framework/followers","following_url":"https://api.github.com/users/avocado-framework/following{/other_user}","gists_url":"https://api.github.com/users/avocado-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/avocado-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avocado-framework/subscriptions","organizations_url":"https://api.github.com/users/avocado-framework/orgs","repos_url":"https://api.github.com/users/avocado-framework/repos","events_url":"https://api.github.com/users/avocado-framework/events{/privacy}","received_events_url":"https://api.github.com/users/avocado-framework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/avocado-framework/avocado-misc-tests","description":"Avocado tests repository","fork":false,"url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests","forks_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/forks","keys_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/teams","hooks_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/hooks","issue_events_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/issues/events{/number}","events_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/events","assignees_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/assignees{/user}","branches_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/branches{/branch}","tags_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/tags","blobs_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/languages","stargazers_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/stargazers","contributors_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/contributors","subscribers_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/subscribers","subscription_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/subscription","commits_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/contents/{+path}","compare_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/merges","archive_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/downloads","issues_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/issues{/number}","pulls_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/labels{/name}","releases_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/releases{/id}","deployments_url":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/deployments","created_at":"2016-01-18T19:48:34Z","updated_at":"2016-01-18T19:49:50Z","pushed_at":"2016-04-05T18:32:49Z","git_url":"git://github.com/avocado-framework/avocado-misc-tests.git","ssh_url":"git@github.com:avocado-framework/avocado-misc-tests.git","clone_url":"https://github.com/avocado-framework/avocado-misc-tests.git","svn_url":"https://github.com/avocado-framework/avocado-misc-tests","homepage":null,"size":1316,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/pulls/6"},"html":{"href":"https://github.com/avocado-framework/avocado-misc-tests/pull/6"},"issue":{"href":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/issues/6"},"comments":{"href":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/avocado-framework/avocado-misc-tests/statuses/c3be3a9433c531af2f13acc1bd1d4afa0716224f"}}}}