{"action":"created","comment":{"url":"https://api.github.com/repos/autotest/tp-libvirt/pulls/comments/26457004","id":26457004,"diff_hunk":"@@ -64,6 +71,12 @@ def run(test, params, env):\n                 raise error.TestFail(\"No volume in pool: %s\", src_pool_name)\n         # Prepare vol xml file\n         dest_vol_name = \"dest_vol\"\n+        # According to BZ#1138523, we need inpect the right name\n+        # (disk partition) for new volume\n+        if dest_pool_type == \"disk\":\n+            dest_vol_name = utlv.new_disk_vol_name(dest_pool_name)","path":"libvirt/tests/src/virsh_cmd/volume/virsh_vol_create_from.py","position":28,"original_position":28,"commit_id":"63a8cf1ec970180ecb27be1cc02825a5519ea089","original_commit_id":"63a8cf1ec970180ecb27be1cc02825a5519ea089","user":{"login":"will-Do","id":1916899,"avatar_url":"https://avatars.githubusercontent.com/u/1916899?v=3","gravatar_id":"","url":"https://api.github.com/users/will-Do","html_url":"https://github.com/will-Do","followers_url":"https://api.github.com/users/will-Do/followers","following_url":"https://api.github.com/users/will-Do/following{/other_user}","gists_url":"https://api.github.com/users/will-Do/gists{/gist_id}","starred_url":"https://api.github.com/users/will-Do/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/will-Do/subscriptions","organizations_url":"https://api.github.com/users/will-Do/orgs","repos_url":"https://api.github.com/users/will-Do/repos","events_url":"https://api.github.com/users/will-Do/events{/privacy}","received_events_url":"https://api.github.com/users/will-Do/received_events","type":"User","site_admin":false},"body":"Forgot to attach the dependent PR: https://github.com/autotest/virt-test/pull/2065\r\nThanks.","created_at":"2015-03-16T02:40:58Z","updated_at":"2015-03-16T02:40:58Z","html_url":"https://github.com/autotest/tp-libvirt/pull/477#discussion_r26457004","pull_request_url":"https://api.github.com/repos/autotest/tp-libvirt/pulls/477","_links":{"self":{"href":"https://api.github.com/repos/autotest/tp-libvirt/pulls/comments/26457004"},"html":{"href":"https://github.com/autotest/tp-libvirt/pull/477#discussion_r26457004"},"pull_request":{"href":"https://api.github.com/repos/autotest/tp-libvirt/pulls/477"}}},"pull_request":{"url":"https://api.github.com/repos/autotest/tp-libvirt/pulls/477","id":30149803,"html_url":"https://github.com/autotest/tp-libvirt/pull/477","diff_url":"https://github.com/autotest/tp-libvirt/pull/477.diff","patch_url":"https://github.com/autotest/tp-libvirt/pull/477.patch","issue_url":"https://api.github.com/repos/autotest/tp-libvirt/issues/477","number":477,"state":"open","locked":false,"title":"Fix several storage related bugs","user":{"login":"will-Do","id":1916899,"avatar_url":"https://avatars.githubusercontent.com/u/1916899?v=3","gravatar_id":"","url":"https://api.github.com/users/will-Do","html_url":"https://github.com/will-Do","followers_url":"https://api.github.com/users/will-Do/followers","following_url":"https://api.github.com/users/will-Do/following{/other_user}","gists_url":"https://api.github.com/users/will-Do/gists{/gist_id}","starred_url":"https://api.github.com/users/will-Do/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/will-Do/subscriptions","organizations_url":"https://api.github.com/users/will-Do/orgs","repos_url":"https://api.github.com/users/will-Do/repos","events_url":"https://api.github.com/users/will-Do/events{/privacy}","received_events_url":"https://api.github.com/users/will-Do/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Yanbing Du <ydu@redhat.com>","created_at":"2015-02-27T08:48:04Z","updated_at":"2015-03-16T02:40:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3fcda3744af2794610e4fdcc4ca5127818dc96c4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/autotest/tp-libvirt/pulls/477/commits","review_comments_url":"https://api.github.com/repos/autotest/tp-libvirt/pulls/477/comments","review_comment_url":"https://api.github.com/repos/autotest/tp-libvirt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/autotest/tp-libvirt/issues/477/comments","statuses_url":"https://api.github.com/repos/autotest/tp-libvirt/statuses/63a8cf1ec970180ecb27be1cc02825a5519ea089","head":{"label":"will-Do:storage_fix","ref":"storage_fix","sha":"63a8cf1ec970180ecb27be1cc02825a5519ea089","user":{"login":"will-Do","id":1916899,"avatar_url":"https://avatars.githubusercontent.com/u/1916899?v=3","gravatar_id":"","url":"https://api.github.com/users/will-Do","html_url":"https://github.com/will-Do","followers_url":"https://api.github.com/users/will-Do/followers","following_url":"https://api.github.com/users/will-Do/following{/other_user}","gists_url":"https://api.github.com/users/will-Do/gists{/gist_id}","starred_url":"https://api.github.com/users/will-Do/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/will-Do/subscriptions","organizations_url":"https://api.github.com/users/will-Do/orgs","repos_url":"https://api.github.com/users/will-Do/repos","events_url":"https://api.github.com/users/will-Do/events{/privacy}","received_events_url":"https://api.github.com/users/will-Do/received_events","type":"User","site_admin":false},"repo":{"id":16639735,"name":"tp-libvirt","full_name":"will-Do/tp-libvirt","owner":{"login":"will-Do","id":1916899,"avatar_url":"https://avatars.githubusercontent.com/u/1916899?v=3","gravatar_id":"","url":"https://api.github.com/users/will-Do","html_url":"https://github.com/will-Do","followers_url":"https://api.github.com/users/will-Do/followers","following_url":"https://api.github.com/users/will-Do/following{/other_user}","gists_url":"https://api.github.com/users/will-Do/gists{/gist_id}","starred_url":"https://api.github.com/users/will-Do/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/will-Do/subscriptions","organizations_url":"https://api.github.com/users/will-Do/orgs","repos_url":"https://api.github.com/users/will-Do/repos","events_url":"https://api.github.com/users/will-Do/events{/privacy}","received_events_url":"https://api.github.com/users/will-Do/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/will-Do/tp-libvirt","description":"Test Provider for Libvirt and related virtualization backends","fork":true,"url":"https://api.github.com/repos/will-Do/tp-libvirt","forks_url":"https://api.github.com/repos/will-Do/tp-libvirt/forks","keys_url":"https://api.github.com/repos/will-Do/tp-libvirt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/will-Do/tp-libvirt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/will-Do/tp-libvirt/teams","hooks_url":"https://api.github.com/repos/will-Do/tp-libvirt/hooks","issue_events_url":"https://api.github.com/repos/will-Do/tp-libvirt/issues/events{/number}","events_url":"https://api.github.com/repos/will-Do/tp-libvirt/events","assignees_url":"https://api.github.com/repos/will-Do/tp-libvirt/assignees{/user}","branches_url":"https://api.github.com/repos/will-Do/tp-libvirt/branches{/branch}","tags_url":"https://api.github.com/repos/will-Do/tp-libvirt/tags","blobs_url":"https://api.github.com/repos/will-Do/tp-libvirt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/will-Do/tp-libvirt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/will-Do/tp-libvirt/git/refs{/sha}","trees_url":"https://api.github.com/repos/will-Do/tp-libvirt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/will-Do/tp-libvirt/statuses/{sha}","languages_url":"https://api.github.com/repos/will-Do/tp-libvirt/languages","stargazers_url":"https://api.github.com/repos/will-Do/tp-libvirt/stargazers","contributors_url":"https://api.github.com/repos/will-Do/tp-libvirt/contributors","subscribers_url":"https://api.github.com/repos/will-Do/tp-libvirt/subscribers","subscription_url":"https://api.github.com/repos/will-Do/tp-libvirt/subscription","commits_url":"https://api.github.com/repos/will-Do/tp-libvirt/commits{/sha}","git_commits_url":"https://api.github.com/repos/will-Do/tp-libvirt/git/commits{/sha}","comments_url":"https://api.github.com/repos/will-Do/tp-libvirt/comments{/number}","issue_comment_url":"https://api.github.com/repos/will-Do/tp-libvirt/issues/comments{/number}","contents_url":"https://api.github.com/repos/will-Do/tp-libvirt/contents/{+path}","compare_url":"https://api.github.com/repos/will-Do/tp-libvirt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/will-Do/tp-libvirt/merges","archive_url":"https://api.github.com/repos/will-Do/tp-libvirt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/will-Do/tp-libvirt/downloads","issues_url":"https://api.github.com/repos/will-Do/tp-libvirt/issues{/number}","pulls_url":"https://api.github.com/repos/will-Do/tp-libvirt/pulls{/number}","milestones_url":"https://api.github.com/repos/will-Do/tp-libvirt/milestones{/number}","notifications_url":"https://api.github.com/repos/will-Do/tp-libvirt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/will-Do/tp-libvirt/labels{/name}","releases_url":"https://api.github.com/repos/will-Do/tp-libvirt/releases{/id}","created_at":"2014-02-08T09:03:29Z","updated_at":"2015-02-26T07:51:35Z","pushed_at":"2015-03-12T08:01:21Z","git_url":"git://github.com/will-Do/tp-libvirt.git","ssh_url":"git@github.com:will-Do/tp-libvirt.git","clone_url":"https://github.com/will-Do/tp-libvirt.git","svn_url":"https://github.com/will-Do/tp-libvirt","homepage":null,"size":10100,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"autotest:master","ref":"master","sha":"57931c2ede028134987e9bccdab493ffc24b28ae","user":{"login":"autotest","id":472856,"avatar_url":"https://avatars.githubusercontent.com/u/472856?v=3","gravatar_id":"","url":"https://api.github.com/users/autotest","html_url":"https://github.com/autotest","followers_url":"https://api.github.com/users/autotest/followers","following_url":"https://api.github.com/users/autotest/following{/other_user}","gists_url":"https://api.github.com/users/autotest/gists{/gist_id}","starred_url":"https://api.github.com/users/autotest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autotest/subscriptions","organizations_url":"https://api.github.com/users/autotest/orgs","repos_url":"https://api.github.com/users/autotest/repos","events_url":"https://api.github.com/users/autotest/events{/privacy}","received_events_url":"https://api.github.com/users/autotest/received_events","type":"Organization","site_admin":false},"repo":{"id":16180517,"name":"tp-libvirt","full_name":"autotest/tp-libvirt","owner":{"login":"autotest","id":472856,"avatar_url":"https://avatars.githubusercontent.com/u/472856?v=3","gravatar_id":"","url":"https://api.github.com/users/autotest","html_url":"https://github.com/autotest","followers_url":"https://api.github.com/users/autotest/followers","following_url":"https://api.github.com/users/autotest/following{/other_user}","gists_url":"https://api.github.com/users/autotest/gists{/gist_id}","starred_url":"https://api.github.com/users/autotest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autotest/subscriptions","organizations_url":"https://api.github.com/users/autotest/orgs","repos_url":"https://api.github.com/users/autotest/repos","events_url":"https://api.github.com/users/autotest/events{/privacy}","received_events_url":"https://api.github.com/users/autotest/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/autotest/tp-libvirt","description":"Test Provider for Libvirt and related virtualization backends","fork":false,"url":"https://api.github.com/repos/autotest/tp-libvirt","forks_url":"https://api.github.com/repos/autotest/tp-libvirt/forks","keys_url":"https://api.github.com/repos/autotest/tp-libvirt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/autotest/tp-libvirt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/autotest/tp-libvirt/teams","hooks_url":"https://api.github.com/repos/autotest/tp-libvirt/hooks","issue_events_url":"https://api.github.com/repos/autotest/tp-libvirt/issues/events{/number}","events_url":"https://api.github.com/repos/autotest/tp-libvirt/events","assignees_url":"https://api.github.com/repos/autotest/tp-libvirt/assignees{/user}","branches_url":"https://api.github.com/repos/autotest/tp-libvirt/branches{/branch}","tags_url":"https://api.github.com/repos/autotest/tp-libvirt/tags","blobs_url":"https://api.github.com/repos/autotest/tp-libvirt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/autotest/tp-libvirt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/autotest/tp-libvirt/git/refs{/sha}","trees_url":"https://api.github.com/repos/autotest/tp-libvirt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/autotest/tp-libvirt/statuses/{sha}","languages_url":"https://api.github.com/repos/autotest/tp-libvirt/languages","stargazers_url":"https://api.github.com/repos/autotest/tp-libvirt/stargazers","contributors_url":"https://api.github.com/repos/autotest/tp-libvirt/contributors","subscribers_url":"https://api.github.com/repos/autotest/tp-libvirt/subscribers","subscription_url":"https://api.github.com/repos/autotest/tp-libvirt/subscription","commits_url":"https://api.github.com/repos/autotest/tp-libvirt/commits{/sha}","git_commits_url":"https://api.github.com/repos/autotest/tp-libvirt/git/commits{/sha}","comments_url":"https://api.github.com/repos/autotest/tp-libvirt/comments{/number}","issue_comment_url":"https://api.github.com/repos/autotest/tp-libvirt/issues/comments{/number}","contents_url":"https://api.github.com/repos/autotest/tp-libvirt/contents/{+path}","compare_url":"https://api.github.com/repos/autotest/tp-libvirt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/autotest/tp-libvirt/merges","archive_url":"https://api.github.com/repos/autotest/tp-libvirt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/autotest/tp-libvirt/downloads","issues_url":"https://api.github.com/repos/autotest/tp-libvirt/issues{/number}","pulls_url":"https://api.github.com/repos/autotest/tp-libvirt/pulls{/number}","milestones_url":"https://api.github.com/repos/autotest/tp-libvirt/milestones{/number}","notifications_url":"https://api.github.com/repos/autotest/tp-libvirt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/autotest/tp-libvirt/labels{/name}","releases_url":"https://api.github.com/repos/autotest/tp-libvirt/releases{/id}","created_at":"2014-01-23T17:58:18Z","updated_at":"2015-03-13T06:40:51Z","pushed_at":"2015-03-13T06:40:51Z","git_url":"git://github.com/autotest/tp-libvirt.git","ssh_url":"git@github.com:autotest/tp-libvirt.git","clone_url":"https://github.com/autotest/tp-libvirt.git","svn_url":"https://github.com/autotest/tp-libvirt","homepage":null,"size":16281,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":43,"forks":40,"open_issues":43,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/autotest/tp-libvirt/pulls/477"},"html":{"href":"https://github.com/autotest/tp-libvirt/pull/477"},"issue":{"href":"https://api.github.com/repos/autotest/tp-libvirt/issues/477"},"comments":{"href":"https://api.github.com/repos/autotest/tp-libvirt/issues/477/comments"},"review_comments":{"href":"https://api.github.com/repos/autotest/tp-libvirt/pulls/477/comments"},"review_comment":{"href":"https://api.github.com/repos/autotest/tp-libvirt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/autotest/tp-libvirt/pulls/477/commits"},"statuses":{"href":"https://api.github.com/repos/autotest/tp-libvirt/statuses/63a8cf1ec970180ecb27be1cc02825a5519ea089"}}}}