payload: {"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/pulls/6","id":356119065,"node_id":"MDExOlB1bGxSZXF1ZXN0MzU2MTE5MDY1","html_url":"https://github.com/parallel-fs-utils/fs-drift/pull/6","diff_url":"https://github.com/parallel-fs-utils/fs-drift/pull/6.diff","patch_url":"https://github.com/parallel-fs-utils/fs-drift/pull/6.patch","issue_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/issues/6","number":6,"state":"open","locked":false,"title":"Python3 fixes","user":{"login":"rsevilla87","id":4614641,"node_id":"MDQ6VXNlcjQ2MTQ2NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/4614641?v=4","gravatar_id":"","url":"https://api.github.com/users/rsevilla87","html_url":"https://github.com/rsevilla87","followers_url":"https://api.github.com/users/rsevilla87/followers","following_url":"https://api.github.com/users/rsevilla87/following{/other_user}","gists_url":"https://api.github.com/users/rsevilla87/gists{/gist_id}","starred_url":"https://api.github.com/users/rsevilla87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsevilla87/subscriptions","organizations_url":"https://api.github.com/users/rsevilla87/orgs","repos_url":"https://api.github.com/users/rsevilla87/repos","events_url":"https://api.github.com/users/rsevilla87/events{/privacy}","received_events_url":"https://api.github.com/users/rsevilla87/received_events","type":"User","site_admin":false},"body":"These fixes make the `rsptime_stats.py` script able to work on python3.\r\n\r\nTypeError: 'dict_keys' object does not support indexing\r\n```\r\nsh-4.4$ python3 rsptime_stats.py --time-interval 1 /tmp/fs_drift_test_data/network-shared\r\ntime interval is 1 seconds\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/rsptime_stats.py\", line 252, in <module>\r\n    first_host = hosts[hosts.keys()[0]]\r\nTypeError: 'dict_keys' object does not support indexing\r\n```\r\n\r\n \r\nTypeError: object of type 'map' has no len()\r\n```\r\nsh-4.4$ python3 rsptime_stats.py --time-interval 1 /tmp/fs_drift_test_data/network-shared\r\nTraceback (most recent call last):                                                                       \r\n  File \"/usr/local/bin/rsptime_stats.py\", line 315, in <module>                                          \r\n    to_time=to_t)                                                                                        \r\n  File \"/usr/local/bin/rsptime_stats.py\", line 110, in reduce_thread_set\r\n    start_index = find_le(sorted_keys, from_time)                                                        \r\n  File \"/usr/local/bin/rsptime_stats.py\", line 91, in find_le                                            \r\n    i = bisect.bisect_right(a, x)                                                                                                                                                                                  \r\nTypeError: object of type 'map' has no len()  \r\n```\r\n\r\n\r\n","created_at":"2019-12-22T20:41:07Z","updated_at":"2019-12-22T20:41:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/pulls/6/commits","review_comments_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/pulls/6/comments","review_comment_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/pulls/comments{/number}","comments_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/issues/6/comments","statuses_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/statuses/15d56648c314c107b4312dc257ff67b5826a55a5","head":{"label":"rsevilla87:python3","ref":"python3","sha":"15d56648c314c107b4312dc257ff67b5826a55a5","user":{"login":"rsevilla87","id":4614641,"node_id":"MDQ6VXNlcjQ2MTQ2NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/4614641?v=4","gravatar_id":"","url":"https://api.github.com/users/rsevilla87","html_url":"https://github.com/rsevilla87","followers_url":"https://api.github.com/users/rsevilla87/followers","following_url":"https://api.github.com/users/rsevilla87/following{/other_user}","gists_url":"https://api.github.com/users/rsevilla87/gists{/gist_id}","starred_url":"https://api.github.com/users/rsevilla87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsevilla87/subscriptions","organizations_url":"https://api.github.com/users/rsevilla87/orgs","repos_url":"https://api.github.com/users/rsevilla87/repos","events_url":"https://api.github.com/users/rsevilla87/events{/privacy}","received_events_url":"https://api.github.com/users/rsevilla87/received_events","type":"User","site_admin":false},"repo":{"id":229614282,"node_id":"MDEwOlJlcG9zaXRvcnkyMjk2MTQyODI=","name":"fs-drift","full_name":"rsevilla87/fs-drift","private":false,"owner":{"login":"rsevilla87","id":4614641,"node_id":"MDQ6VXNlcjQ2MTQ2NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/4614641?v=4","gravatar_id":"","url":"https://api.github.com/users/rsevilla87","html_url":"https://github.com/rsevilla87","followers_url":"https://api.github.com/users/rsevilla87/followers","following_url":"https://api.github.com/users/rsevilla87/following{/other_user}","gists_url":"https://api.github.com/users/rsevilla87/gists{/gist_id}","starred_url":"https://api.github.com/users/rsevilla87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsevilla87/subscriptions","organizations_url":"https://api.github.com/users/rsevilla87/orgs","repos_url":"https://api.github.com/users/rsevilla87/repos","events_url":"https://api.github.com/users/rsevilla87/events{/privacy}","received_events_url":"https://api.github.com/users/rsevilla87/received_events","type":"User","site_admin":false},"html_url":"https://github.com/rsevilla87/fs-drift","description":"mixed-workload filesystem aging test","fork":true,"url":"https://api.github.com/repos/rsevilla87/fs-drift","forks_url":"https://api.github.com/repos/rsevilla87/fs-drift/forks","keys_url":"https://api.github.com/repos/rsevilla87/fs-drift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rsevilla87/fs-drift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rsevilla87/fs-drift/teams","hooks_url":"https://api.github.com/repos/rsevilla87/fs-drift/hooks","issue_events_url":"https://api.github.com/repos/rsevilla87/fs-drift/issues/events{/number}","events_url":"https://api.github.com/repos/rsevilla87/fs-drift/events","assignees_url":"https://api.github.com/repos/rsevilla87/fs-drift/assignees{/user}","branches_url":"https://api.github.com/repos/rsevilla87/fs-drift/branches{/branch}","tags_url":"https://api.github.com/repos/rsevilla87/fs-drift/tags","blobs_url":"https://api.github.com/repos/rsevilla87/fs-drift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rsevilla87/fs-drift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rsevilla87/fs-drift/git/refs{/sha}","trees_url":"https://api.github.com/repos/rsevilla87/fs-drift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rsevilla87/fs-drift/statuses/{sha}","languages_url":"https://api.github.com/repos/rsevilla87/fs-drift/languages","stargazers_url":"https://api.github.com/repos/rsevilla87/fs-drift/stargazers","contributors_url":"https://api.github.com/repos/rsevilla87/fs-drift/contributors","subscribers_url":"https://api.github.com/repos/rsevilla87/fs-drift/subscribers","subscription_url":"https://api.github.com/repos/rsevilla87/fs-drift/subscription","commits_url":"https://api.github.com/repos/rsevilla87/fs-drift/commits{/sha}","git_commits_url":"https://api.github.com/repos/rsevilla87/fs-drift/git/commits{/sha}","comments_url":"https://api.github.com/repos/rsevilla87/fs-drift/comments{/number}","issue_comment_url":"https://api.github.com/repos/rsevilla87/fs-drift/issues/comments{/number}","contents_url":"https://api.github.com/repos/rsevilla87/fs-drift/contents/{+path}","compare_url":"https://api.github.com/repos/rsevilla87/fs-drift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rsevilla87/fs-drift/merges","archive_url":"https://api.github.com/repos/rsevilla87/fs-drift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rsevilla87/fs-drift/downloads","issues_url":"https://api.github.com/repos/rsevilla87/fs-drift/issues{/number}","pulls_url":"https://api.github.com/repos/rsevilla87/fs-drift/pulls{/number}","milestones_url":"https://api.github.com/repos/rsevilla87/fs-drift/milestones{/number}","notifications_url":"https://api.github.com/repos/rsevilla87/fs-drift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rsevilla87/fs-drift/labels{/name}","releases_url":"https://api.github.com/repos/rsevilla87/fs-drift/releases{/id}","deployments_url":"https://api.github.com/repos/rsevilla87/fs-drift/deployments","created_at":"2019-12-22T18:45:22Z","updated_at":"2019-12-22T18:47:46Z","pushed_at":"2019-12-22T20:35:40Z","git_url":"git://github.com/rsevilla87/fs-drift.git","ssh_url":"git@github.com:rsevilla87/fs-drift.git","clone_url":"https://github.com/rsevilla87/fs-drift.git","svn_url":"https://github.com/rsevilla87/fs-drift","homepage":null,"size":232,"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,"disabled":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"parallel-fs-utils:master","ref":"master","sha":"478d35617b1e234e0fa9db9f0b1eddc7a3ae44ee","user":{"login":"parallel-fs-utils","id":13735181,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNzM1MTgx","avatar_url":"https://avatars3.githubusercontent.com/u/13735181?v=4","gravatar_id":"","url":"https://api.github.com/users/parallel-fs-utils","html_url":"https://github.com/parallel-fs-utils","followers_url":"https://api.github.com/users/parallel-fs-utils/followers","following_url":"https://api.github.com/users/parallel-fs-utils/following{/other_user}","gists_url":"https://api.github.com/users/parallel-fs-utils/gists{/gist_id}","starred_url":"https://api.github.com/users/parallel-fs-utils/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parallel-fs-utils/subscriptions","organizations_url":"https://api.github.com/users/parallel-fs-utils/orgs","repos_url":"https://api.github.com/users/parallel-fs-utils/repos","events_url":"https://api.github.com/users/parallel-fs-utils/events{/privacy}","received_events_url":"https://api.github.com/users/parallel-fs-utils/received_events","type":"Organization","site_admin":false},"repo":{"id":30486327,"node_id":"MDEwOlJlcG9zaXRvcnkzMDQ4NjMyNw==","name":"fs-drift","full_name":"parallel-fs-utils/fs-drift","private":false,"owner":{"login":"parallel-fs-utils","id":13735181,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNzM1MTgx","avatar_url":"https://avatars3.githubusercontent.com/u/13735181?v=4","gravatar_id":"","url":"https://api.github.com/users/parallel-fs-utils","html_url":"https://github.com/parallel-fs-utils","followers_url":"https://api.github.com/users/parallel-fs-utils/followers","following_url":"https://api.github.com/users/parallel-fs-utils/following{/other_user}","gists_url":"https://api.github.com/users/parallel-fs-utils/gists{/gist_id}","starred_url":"https://api.github.com/users/parallel-fs-utils/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parallel-fs-utils/subscriptions","organizations_url":"https://api.github.com/users/parallel-fs-utils/orgs","repos_url":"https://api.github.com/users/parallel-fs-utils/repos","events_url":"https://api.github.com/users/parallel-fs-utils/events{/privacy}","received_events_url":"https://api.github.com/users/parallel-fs-utils/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/parallel-fs-utils/fs-drift","description":"mixed-workload filesystem aging test","fork":false,"url":"https://api.github.com/repos/parallel-fs-utils/fs-drift","forks_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/forks","keys_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/teams","hooks_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/hooks","issue_events_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/issues/events{/number}","events_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/events","assignees_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/assignees{/user}","branches_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/branches{/branch}","tags_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/tags","blobs_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/git/refs{/sha}","trees_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/statuses/{sha}","languages_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/languages","stargazers_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/stargazers","contributors_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/contributors","subscribers_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/subscribers","subscription_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/subscription","commits_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/commits{/sha}","git_commits_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/git/commits{/sha}","comments_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/comments{/number}","issue_comment_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/issues/comments{/number}","contents_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/contents/{+path}","compare_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/merges","archive_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/downloads","issues_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/issues{/number}","pulls_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/pulls{/number}","milestones_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/milestones{/number}","notifications_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/labels{/name}","releases_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/releases{/id}","deployments_url":"https://api.github.com/repos/parallel-fs-utils/fs-drift/deployments","created_at":"2015-02-08T09:14:28Z","updated_at":"2019-12-16T21:40:56Z","pushed_at":"2019-12-22T18:55:35Z","git_url":"git://github.com/parallel-fs-utils/fs-drift.git","ssh_url":"git@github.com:parallel-fs-utils/fs-drift.git","clone_url":"https://github.com/parallel-fs-utils/fs-drift.git","svn_url":"https://github.com/parallel-fs-utils/fs-drift","homepage":null,"size":227,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":4,"open_issues":2,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/parallel-fs-utils/fs-drift/pulls/6"},"html":{"href":"https://github.com/parallel-fs-utils/fs-drift/pull/6"},"issue":{"href":"https://api.github.com/repos/parallel-fs-utils/fs-drift/issues/6"},"comments":{"href":"https://api.github.com/repos/parallel-fs-utils/fs-drift/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/parallel-fs-utils/fs-drift/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/parallel-fs-utils/fs-drift/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/parallel-fs-utils/fs-drift/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/parallel-fs-utils/fs-drift/statuses/15d56648c314c107b4312dc257ff67b5826a55a5"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":2,"deletions":2,"changed_files":1}}
other: {"actor":{"display_login":"rsevilla87"}}