{"action":"closed","number":1231,"pull_request":{"url":"https://api.github.com/repos/avocado-framework/avocado-vt/pulls/1231","id":153436836,"html_url":"https://github.com/avocado-framework/avocado-vt/pull/1231","diff_url":"https://github.com/avocado-framework/avocado-vt/pull/1231.diff","patch_url":"https://github.com/avocado-framework/avocado-vt/pull/1231.patch","issue_url":"https://api.github.com/repos/avocado-framework/avocado-vt/issues/1231","number":1231,"state":"closed","locked":false,"title":"utils_env: Fix a stuck issue","user":{"login":"luckyh","id":7801589,"avatar_url":"https://avatars1.githubusercontent.com/u/7801589?v=4","gravatar_id":"","url":"https://api.github.com/users/luckyh","html_url":"https://github.com/luckyh","followers_url":"https://api.github.com/users/luckyh/followers","following_url":"https://api.github.com/users/luckyh/following{/other_user}","gists_url":"https://api.github.com/users/luckyh/gists{/gist_id}","starred_url":"https://api.github.com/users/luckyh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luckyh/subscriptions","organizations_url":"https://api.github.com/users/luckyh/orgs","repos_url":"https://api.github.com/users/luckyh/repos","events_url":"https://api.github.com/users/luckyh/events{/privacy}","received_events_url":"https://api.github.com/users/luckyh/received_events","type":"User","site_admin":false},"body":"On some (buggy?) system when `_start_tcpdump()` is being executed,\r\nthe job emits \"Could not start tcpdump\" and then will stuck at\r\nthis point since it is waiting for a file lock held by another\r\nprocess. This is caused by the wrong result given by the following\r\ncheck: it returns `None` because time has already expired before\r\ninvoking the callback function (btw, we should consider about the\r\ntime resolution of `wait_for` when we use it next time).\r\n\r\n```python\r\n  utils_misc.wait_for(lambda: self._tcpdump.is_alive(),\r\n                      1.0, 0.1, 0.1)\r\n```\r\n\r\nThe fix removes `wait_for` from the check because `_tcpdump.is_alive`\r\nis already safe enough.\r\n\r\nSigned-off-by: Xu Han <xuhan@redhat.com>","created_at":"2017-11-18T05:59:54Z","updated_at":"2017-11-23T08:51:54Z","closed_at":"2017-11-23T08:51:53Z","merged_at":"2017-11-23T08:51:53Z","merge_commit_sha":"2044cceff2ab4bbea4b0b1488f10c07062983edd","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/avocado-framework/avocado-vt/pulls/1231/commits","review_comments_url":"https://api.github.com/repos/avocado-framework/avocado-vt/pulls/1231/comments","review_comment_url":"https://api.github.com/repos/avocado-framework/avocado-vt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/avocado-framework/avocado-vt/issues/1231/comments","statuses_url":"https://api.github.com/repos/avocado-framework/avocado-vt/statuses/dfd24772d1e29a4ae92860eb764650c656b5e309","head":{"label":"luckyh:fix-a-stuck-issue","ref":"fix-a-stuck-issue","sha":"dfd24772d1e29a4ae92860eb764650c656b5e309","user":{"login":"luckyh","id":7801589,"avatar_url":"https://avatars1.githubusercontent.com/u/7801589?v=4","gravatar_id":"","url":"https://api.github.com/users/luckyh","html_url":"https://github.com/luckyh","followers_url":"https://api.github.com/users/luckyh/followers","following_url":"https://api.github.com/users/luckyh/following{/other_user}","gists_url":"https://api.github.com/users/luckyh/gists{/gist_id}","starred_url":"https://api.github.com/users/luckyh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luckyh/subscriptions","organizations_url":"https://api.github.com/users/luckyh/orgs","repos_url":"https://api.github.com/users/luckyh/repos","events_url":"https://api.github.com/users/luckyh/events{/privacy}","received_events_url":"https://api.github.com/users/luckyh/received_events","type":"User","site_admin":false},"repo":{"id":45234255,"name":"avocado-vt","full_name":"luckyh/avocado-vt","owner":{"login":"luckyh","id":7801589,"avatar_url":"https://avatars1.githubusercontent.com/u/7801589?v=4","gravatar_id":"","url":"https://api.github.com/users/luckyh","html_url":"https://github.com/luckyh","followers_url":"https://api.github.com/users/luckyh/followers","following_url":"https://api.github.com/users/luckyh/following{/other_user}","gists_url":"https://api.github.com/users/luckyh/gists{/gist_id}","starred_url":"https://api.github.com/users/luckyh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luckyh/subscriptions","organizations_url":"https://api.github.com/users/luckyh/orgs","repos_url":"https://api.github.com/users/luckyh/repos","events_url":"https://api.github.com/users/luckyh/events{/privacy}","received_events_url":"https://api.github.com/users/luckyh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/luckyh/avocado-vt","description":"Avocado VT Plugin","fork":true,"url":"https://api.github.com/repos/luckyh/avocado-vt","forks_url":"https://api.github.com/repos/luckyh/avocado-vt/forks","keys_url":"https://api.github.com/repos/luckyh/avocado-vt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/luckyh/avocado-vt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/luckyh/avocado-vt/teams","hooks_url":"https://api.github.com/repos/luckyh/avocado-vt/hooks","issue_events_url":"https://api.github.com/repos/luckyh/avocado-vt/issues/events{/number}","events_url":"https://api.github.com/repos/luckyh/avocado-vt/events","assignees_url":"https://api.github.com/repos/luckyh/avocado-vt/assignees{/user}","branches_url":"https://api.github.com/repos/luckyh/avocado-vt/branches{/branch}","tags_url":"https://api.github.com/repos/luckyh/avocado-vt/tags","blobs_url":"https://api.github.com/repos/luckyh/avocado-vt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/luckyh/avocado-vt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/luckyh/avocado-vt/git/refs{/sha}","trees_url":"https://api.github.com/repos/luckyh/avocado-vt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/luckyh/avocado-vt/statuses/{sha}","languages_url":"https://api.github.com/repos/luckyh/avocado-vt/languages","stargazers_url":"https://api.github.com/repos/luckyh/avocado-vt/stargazers","contributors_url":"https://api.github.com/repos/luckyh/avocado-vt/contributors","subscribers_url":"https://api.github.com/repos/luckyh/avocado-vt/subscribers","subscription_url":"https://api.github.com/repos/luckyh/avocado-vt/subscription","commits_url":"https://api.github.com/repos/luckyh/avocado-vt/commits{/sha}","git_commits_url":"https://api.github.com/repos/luckyh/avocado-vt/git/commits{/sha}","comments_url":"https://api.github.com/repos/luckyh/avocado-vt/comments{/number}","issue_comment_url":"https://api.github.com/repos/luckyh/avocado-vt/issues/comments{/number}","contents_url":"https://api.github.com/repos/luckyh/avocado-vt/contents/{+path}","compare_url":"https://api.github.com/repos/luckyh/avocado-vt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/luckyh/avocado-vt/merges","archive_url":"https://api.github.com/repos/luckyh/avocado-vt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/luckyh/avocado-vt/downloads","issues_url":"https://api.github.com/repos/luckyh/avocado-vt/issues{/number}","pulls_url":"https://api.github.com/repos/luckyh/avocado-vt/pulls{/number}","milestones_url":"https://api.github.com/repos/luckyh/avocado-vt/milestones{/number}","notifications_url":"https://api.github.com/repos/luckyh/avocado-vt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/luckyh/avocado-vt/labels{/name}","releases_url":"https://api.github.com/repos/luckyh/avocado-vt/releases{/id}","deployments_url":"https://api.github.com/repos/luckyh/avocado-vt/deployments","created_at":"2015-10-30T06:52:37Z","updated_at":"2015-10-30T06:52:41Z","pushed_at":"2017-11-18T05:59:18Z","git_url":"git://github.com/luckyh/avocado-vt.git","ssh_url":"git@github.com:luckyh/avocado-vt.git","clone_url":"https://github.com/luckyh/avocado-vt.git","svn_url":"https://github.com/luckyh/avocado-vt","homepage":"http://avocado-vt.readthedocs.org/","size":26643,"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,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"avocado-framework:master","ref":"master","sha":"391827197f8c813a2cea8d07a7ff5c28b653490a","user":{"login":"avocado-framework","id":7245719,"avatar_url":"https://avatars3.githubusercontent.com/u/7245719?v=4","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":36371959,"name":"avocado-vt","full_name":"avocado-framework/avocado-vt","owner":{"login":"avocado-framework","id":7245719,"avatar_url":"https://avatars3.githubusercontent.com/u/7245719?v=4","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-vt","description":"Avocado VT Plugin","fork":false,"url":"https://api.github.com/repos/avocado-framework/avocado-vt","forks_url":"https://api.github.com/repos/avocado-framework/avocado-vt/forks","keys_url":"https://api.github.com/repos/avocado-framework/avocado-vt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/avocado-framework/avocado-vt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/avocado-framework/avocado-vt/teams","hooks_url":"https://api.github.com/repos/avocado-framework/avocado-vt/hooks","issue_events_url":"https://api.github.com/repos/avocado-framework/avocado-vt/issues/events{/number}","events_url":"https://api.github.com/repos/avocado-framework/avocado-vt/events","assignees_url":"https://api.github.com/repos/avocado-framework/avocado-vt/assignees{/user}","branches_url":"https://api.github.com/repos/avocado-framework/avocado-vt/branches{/branch}","tags_url":"https://api.github.com/repos/avocado-framework/avocado-vt/tags","blobs_url":"https://api.github.com/repos/avocado-framework/avocado-vt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/avocado-framework/avocado-vt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/avocado-framework/avocado-vt/git/refs{/sha}","trees_url":"https://api.github.com/repos/avocado-framework/avocado-vt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/avocado-framework/avocado-vt/statuses/{sha}","languages_url":"https://api.github.com/repos/avocado-framework/avocado-vt/languages","stargazers_url":"https://api.github.com/repos/avocado-framework/avocado-vt/stargazers","contributors_url":"https://api.github.com/repos/avocado-framework/avocado-vt/contributors","subscribers_url":"https://api.github.com/repos/avocado-framework/avocado-vt/subscribers","subscription_url":"https://api.github.com/repos/avocado-framework/avocado-vt/subscription","commits_url":"https://api.github.com/repos/avocado-framework/avocado-vt/commits{/sha}","git_commits_url":"https://api.github.com/repos/avocado-framework/avocado-vt/git/commits{/sha}","comments_url":"https://api.github.com/repos/avocado-framework/avocado-vt/comments{/number}","issue_comment_url":"https://api.github.com/repos/avocado-framework/avocado-vt/issues/comments{/number}","contents_url":"https://api.github.com/repos/avocado-framework/avocado-vt/contents/{+path}","compare_url":"https://api.github.com/repos/avocado-framework/avocado-vt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/avocado-framework/avocado-vt/merges","archive_url":"https://api.github.com/repos/avocado-framework/avocado-vt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/avocado-framework/avocado-vt/downloads","issues_url":"https://api.github.com/repos/avocado-framework/avocado-vt/issues{/number}","pulls_url":"https://api.github.com/repos/avocado-framework/avocado-vt/pulls{/number}","milestones_url":"https://api.github.com/repos/avocado-framework/avocado-vt/milestones{/number}","notifications_url":"https://api.github.com/repos/avocado-framework/avocado-vt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/avocado-framework/avocado-vt/labels{/name}","releases_url":"https://api.github.com/repos/avocado-framework/avocado-vt/releases{/id}","deployments_url":"https://api.github.com/repos/avocado-framework/avocado-vt/deployments","created_at":"2015-05-27T14:22:13Z","updated_at":"2017-11-10T06:17:01Z","pushed_at":"2017-11-23T08:51:53Z","git_url":"git://github.com/avocado-framework/avocado-vt.git","ssh_url":"git@github.com:avocado-framework/avocado-vt.git","clone_url":"https://github.com/avocado-framework/avocado-vt.git","svn_url":"https://github.com/avocado-framework/avocado-vt","homepage":"http://avocado-vt.readthedocs.org/","size":26689,"stargazers_count":28,"watchers_count":28,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":120,"mirror_url":null,"archived":false,"open_issues_count":94,"forks":120,"open_issues":94,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/avocado-framework/avocado-vt/pulls/1231"},"html":{"href":"https://github.com/avocado-framework/avocado-vt/pull/1231"},"issue":{"href":"https://api.github.com/repos/avocado-framework/avocado-vt/issues/1231"},"comments":{"href":"https://api.github.com/repos/avocado-framework/avocado-vt/issues/1231/comments"},"review_comments":{"href":"https://api.github.com/repos/avocado-framework/avocado-vt/pulls/1231/comments"},"review_comment":{"href":"https://api.github.com/repos/avocado-framework/avocado-vt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/avocado-framework/avocado-vt/pulls/1231/commits"},"statuses":{"href":"https://api.github.com/repos/avocado-framework/avocado-vt/statuses/dfd24772d1e29a4ae92860eb764650c656b5e309"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"luckyh","id":7801589,"avatar_url":"https://avatars1.githubusercontent.com/u/7801589?v=4","gravatar_id":"","url":"https://api.github.com/users/luckyh","html_url":"https://github.com/luckyh","followers_url":"https://api.github.com/users/luckyh/followers","following_url":"https://api.github.com/users/luckyh/following{/other_user}","gists_url":"https://api.github.com/users/luckyh/gists{/gist_id}","starred_url":"https://api.github.com/users/luckyh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luckyh/subscriptions","organizations_url":"https://api.github.com/users/luckyh/orgs","repos_url":"https://api.github.com/users/luckyh/repos","events_url":"https://api.github.com/users/luckyh/events{/privacy}","received_events_url":"https://api.github.com/users/luckyh/received_events","type":"User","site_admin":false},"comments":7,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"luckyh"}}