GitHub PullRequestEvent at 2014-08-06 08:07:40
Repository: tp-qemu
Actor: ypu
Payload: {"action":"closed","number":75,"pull_request":{"url":"https://api.github.com/repos/autotest/tp-qemu/pulls/75","id":14811879,"html_url":"https://github.com/autotest/tp-qemu/pull/75","diff_url":"https://github.com/autotest/tp-qemu/pull/75.diff","patch_url":"https://github.com/autotest/tp-qemu/pull/75.patch","issue_url":"https://api.github.com/repos/autotest/tp-qemu/issues/75","number":75,"state":"closed","title":"generic.tests: Update the method get ncpu from server","user":{"login":"ypu","id":1137786,"avatar_url":"https://avatars.githubusercontent.com/u/1137786?v=2","gravatar_id":"e2f6d3a2874112d7c43975bd27ad5261","url":"https://api.github.com/users/ypu","html_url":"https://github.com/ypu","followers_url":"https://api.github.com/users/ypu/followers","following_url":"https://api.github.com/users/ypu/following{/other_user}","gists_url":"https://api.github.com/users/ypu/gists{/gist_id}","starred_url":"https://api.github.com/users/ypu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ypu/subscriptions","organizations_url":"https://api.github.com/users/ypu/orgs","repos_url":"https://api.github.com/users/ypu/repos","events_url":"https://api.github.com/users/ypu/events{/privacy}","received_events_url":"https://api.github.com/users/ypu/received_events","type":"User","site_admin":false},"body":"Sometime the output from server include some unexpect letters include\r\nsome numbers. So the old method will failed to get the correct cpu\r\nnumber.\r\n\r\nThe failed case logs from our test:\r\n/netperf.py\", line 426, in count_interrupt\r\n    intr += int(stat.split()[cpu + 1])\r\nValueError: invalid literal for int() with base 10: 'PCI-MSI-edge'\r\n\r\nThe output of command try to get ncpu:\r\n2014-02-07 22:03:18: cat /proc/cpuinfo |grep processor |w<tperf-2.6.0]# cat /proc/cpuinfo |grep processor |wc                         \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b -l\r\n2014-02-07 22:03:18: 1\r\n\r\nThe output of command that try to count interrupt:\r\n2014-02-07 22:03:49:  45:        587   PCI-MSI-edge      virtio2-input.0","created_at":"2014-04-16T08:46:23Z","updated_at":"2014-08-06T08:07:40Z","closed_at":"2014-08-06T08:07:40Z","merged_at":"2014-08-06T08:07:40Z","merge_commit_sha":"c4cdad2065458c43595977d2a54a4100a2a3dbb2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/autotest/tp-qemu/pulls/75/commits","review_comments_url":"https://api.github.com/repos/autotest/tp-qemu/pulls/75/comments","review_comment_url":"https://api.github.com/repos/autotest/tp-qemu/pulls/comments/{number}","comments_url":"https://api.github.com/repos/autotest/tp-qemu/issues/75/comments","statuses_url":"https://api.github.com/repos/autotest/tp-qemu/statuses/563e9a5d8af0313b2e675e6c495d83c2663a977d","head":{"label":"ypu:netperf-fix","ref":"netperf-fix","sha":"563e9a5d8af0313b2e675e6c495d83c2663a977d","user":{"login":"ypu","id":1137786,"avatar_url":"https://avatars.githubusercontent.com/u/1137786?v=2","gravatar_id":"e2f6d3a2874112d7c43975bd27ad5261","url":"https://api.github.com/users/ypu","html_url":"https://github.com/ypu","followers_url":"https://api.github.com/users/ypu/followers","following_url":"https://api.github.com/users/ypu/following{/other_user}","gists_url":"https://api.github.com/users/ypu/gists{/gist_id}","starred_url":"https://api.github.com/users/ypu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ypu/subscriptions","organizations_url":"https://api.github.com/users/ypu/orgs","repos_url":"https://api.github.com/users/ypu/repos","events_url":"https://api.github.com/users/ypu/events{/privacy}","received_events_url":"https://api.github.com/users/ypu/received_events","type":"User","site_admin":false},"repo":{"id":16687713,"name":"tp-qemu","full_name":"ypu/tp-qemu","owner":{"login":"ypu","id":1137786,"avatar_url":"https://avatars.githubusercontent.com/u/1137786?v=2","gravatar_id":"e2f6d3a2874112d7c43975bd27ad5261","url":"https://api.github.com/users/ypu","html_url":"https://github.com/ypu","followers_url":"https://api.github.com/users/ypu/followers","following_url":"https://api.github.com/users/ypu/following{/other_user}","gists_url":"https://api.github.com/users/ypu/gists{/gist_id}","starred_url":"https://api.github.com/users/ypu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ypu/subscriptions","organizations_url":"https://api.github.com/users/ypu/orgs","repos_url":"https://api.github.com/users/ypu/repos","events_url":"https://api.github.com/users/ypu/events{/privacy}","received_events_url":"https://api.github.com/users/ypu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ypu/tp-qemu","description":"Virt Test Provider for qemu and other related virtualization backends","fork":true,"url":"https://api.github.com/repos/ypu/tp-qemu","forks_url":"https://api.github.com/repos/ypu/tp-qemu/forks","keys_url":"https://api.github.com/repos/ypu/tp-qemu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ypu/tp-qemu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ypu/tp-qemu/teams","hooks_url":"https://api.github.com/repos/ypu/tp-qemu/hooks","issue_events_url":"https://api.github.com/repos/ypu/tp-qemu/issues/events{/number}","events_url":"https://api.github.com/repos/ypu/tp-qemu/events","assignees_url":"https://api.github.com/repos/ypu/tp-qemu/assignees{/user}","branches_url":"https://api.github.com/repos/ypu/tp-qemu/branches{/branch}","tags_url":"https://api.github.com/repos/ypu/tp-qemu/tags","blobs_url":"https://api.github.com/repos/ypu/tp-qemu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ypu/tp-qemu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ypu/tp-qemu/git/refs{/sha}","trees_url":"https://api.github.com/repos/ypu/tp-qemu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ypu/tp-qemu/statuses/{sha}","languages_url":"https://api.github.com/repos/ypu/tp-qemu/languages","stargazers_url":"https://api.github.com/repos/ypu/tp-qemu/stargazers","contributors_url":"https://api.github.com/repos/ypu/tp-qemu/contributors","subscribers_url":"https://api.github.com/repos/ypu/tp-qemu/subscribers","subscription_url":"https://api.github.com/repos/ypu/tp-qemu/subscription","commits_url":"https://api.github.com/repos/ypu/tp-qemu/commits{/sha}","git_commits_url":"https://api.github.com/repos/ypu/tp-qemu/git/commits{/sha}","comments_url":"https://api.github.com/repos/ypu/tp-qemu/comments{/number}","issue_comment_url":"https://api.github.com/repos/ypu/tp-qemu/issues/comments/{number}","contents_url":"https://api.github.com/repos/ypu/tp-qemu/contents/{+path}","compare_url":"https://api.github.com/repos/ypu/tp-qemu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ypu/tp-qemu/merges","archive_url":"https://api.github.com/repos/ypu/tp-qemu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ypu/tp-qemu/downloads","issues_url":"https://api.github.com/repos/ypu/tp-qemu/issues{/number}","pulls_url":"https://api.github.com/repos/ypu/tp-qemu/pulls{/number}","milestones_url":"https://api.github.com/repos/ypu/tp-qemu/milestones{/number}","notifications_url":"https://api.github.com/repos/ypu/tp-qemu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ypu/tp-qemu/labels{/name}","releases_url":"https://api.github.com/repos/ypu/tp-qemu/releases{/id}","created_at":"2014-02-10T07:26:27Z","updated_at":"2014-06-25T09:36:52Z","pushed_at":"2014-08-01T02:03:36Z","git_url":"git://github.com/ypu/tp-qemu.git","ssh_url":"git@github.com:ypu/tp-qemu.git","clone_url":"https://github.com/ypu/tp-qemu.git","svn_url":"https://github.com/ypu/tp-qemu","homepage":null,"size":9696,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"3e15869b4b838c47ce9ea0d4916e1edb89ccc58e","user":{"login":"autotest","id":472856,"avatar_url":"https://avatars.githubusercontent.com/u/472856?v=2","gravatar_id":"276c864911264411989b6720fd80f611","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":16180304,"name":"tp-qemu","full_name":"autotest/tp-qemu","owner":{"login":"autotest","id":472856,"avatar_url":"https://avatars.githubusercontent.com/u/472856?v=2","gravatar_id":"276c864911264411989b6720fd80f611","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-qemu","description":"Virt Test Provider for qemu and other related virtualization backends","fork":false,"url":"https://api.github.com/repos/autotest/tp-qemu","forks_url":"https://api.github.com/repos/autotest/tp-qemu/forks","keys_url":"https://api.github.com/repos/autotest/tp-qemu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/autotest/tp-qemu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/autotest/tp-qemu/teams","hooks_url":"https://api.github.com/repos/autotest/tp-qemu/hooks","issue_events_url":"https://api.github.com/repos/autotest/tp-qemu/issues/events{/number}","events_url":"https://api.github.com/repos/autotest/tp-qemu/events","assignees_url":"https://api.github.com/repos/autotest/tp-qemu/assignees{/user}","branches_url":"https://api.github.com/repos/autotest/tp-qemu/branches{/branch}","tags_url":"https://api.github.com/repos/autotest/tp-qemu/tags","blobs_url":"https://api.github.com/repos/autotest/tp-qemu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/autotest/tp-qemu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/autotest/tp-qemu/git/refs{/sha}","trees_url":"https://api.github.com/repos/autotest/tp-qemu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/autotest/tp-qemu/statuses/{sha}","languages_url":"https://api.github.com/repos/autotest/tp-qemu/languages","stargazers_url":"https://api.github.com/repos/autotest/tp-qemu/stargazers","contributors_url":"https://api.github.com/repos/autotest/tp-qemu/contributors","subscribers_url":"https://api.github.com/repos/autotest/tp-qemu/subscribers","subscription_url":"https://api.github.com/repos/autotest/tp-qemu/subscription","commits_url":"https://api.github.com/repos/autotest/tp-qemu/commits{/sha}","git_commits_url":"https://api.github.com/repos/autotest/tp-qemu/git/commits{/sha}","comments_url":"https://api.github.com/repos/autotest/tp-qemu/comments{/number}","issue_comment_url":"https://api.github.com/repos/autotest/tp-qemu/issues/comments/{number}","contents_url":"https://api.github.com/repos/autotest/tp-qemu/contents/{+path}","compare_url":"https://api.github.com/repos/autotest/tp-qemu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/autotest/tp-qemu/merges","archive_url":"https://api.github.com/repos/autotest/tp-qemu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/autotest/tp-qemu/downloads","issues_url":"https://api.github.com/repos/autotest/tp-qemu/issues{/number}","pulls_url":"https://api.github.com/repos/autotest/tp-qemu/pulls{/number}","milestones_url":"https://api.github.com/repos/autotest/tp-qemu/milestones{/number}","notifications_url":"https://api.github.com/repos/autotest/tp-qemu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/autotest/tp-qemu/labels{/name}","releases_url":"https://api.github.com/repos/autotest/tp-qemu/releases{/id}","created_at":"2014-01-23T17:51:34Z","updated_at":"2014-06-26T06:05:23Z","pushed_at":"2014-08-06T08:07:40Z","git_url":"git://github.com/autotest/tp-qemu.git","ssh_url":"git@github.com:autotest/tp-qemu.git","clone_url":"https://github.com/autotest/tp-qemu.git","svn_url":"https://github.com/autotest/tp-qemu","homepage":null,"size":12280,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":27,"mirror_url":null,"open_issues_count":40,"forks":27,"open_issues":40,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/autotest/tp-qemu/pulls/75"},"html":{"href":"https://github.com/autotest/tp-qemu/pull/75"},"issue":{"href":"https://api.github.com/repos/autotest/tp-qemu/issues/75"},"comments":{"href":"https://api.github.com/repos/autotest/tp-qemu/issues/75/comments"},"review_comments":{"href":"https://api.github.com/repos/autotest/tp-qemu/pulls/75/comments"},"review_comment":{"href":"https://api.github.com/repos/autotest/tp-qemu/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/autotest/tp-qemu/pulls/75/commits"},"statuses":{"href":"https://api.github.com/repos/autotest/tp-qemu/statuses/563e9a5d8af0313b2e675e6c495d83c2663a977d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ypu","id":1137786,"avatar_url":"https://avatars.githubusercontent.com/u/1137786?v=2","gravatar_id":"e2f6d3a2874112d7c43975bd27ad5261","url":"https://api.github.com/users/ypu","html_url":"https://github.com/ypu","followers_url":"https://api.github.com/users/ypu/followers","following_url":"https://api.github.com/users/ypu/following{/other_user}","gists_url":"https://api.github.com/users/ypu/gists{/gist_id}","starred_url":"https://api.github.com/users/ypu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ypu/subscriptions","organizations_url":"https://api.github.com/users/ypu/orgs","repos_url":"https://api.github.com/users/ypu/repos","events_url":"https://api.github.com/users/ypu/events{/privacy}","received_events_url":"https://api.github.com/users/ypu/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}