{"action":"created","comment":{"url":"https://api.github.com/repos/riptano/cassandra-dtest/pulls/comments/47233257","id":47233257,"diff_hunk":"@@ -21,6 +21,9 @@ def wait(delay=2):\n \n \n @require(10699)\n+@known_failure(failure_source='cassandra',\n+               jira_url='https://issues.apache.org/jira/browse/CASSANDRA-10699',","path":"concurrent_schema_changes_test.py","position":14,"original_position":14,"commit_id":"15c60ea862841d5593b36a597fbaa9631ae1af95","original_commit_id":"15c60ea862841d5593b36a597fbaa9631ae1af95","user":{"login":"ptnapoleon","id":3408144,"avatar_url":"https://avatars.githubusercontent.com/u/3408144?v=3","gravatar_id":"","url":"https://api.github.com/users/ptnapoleon","html_url":"https://github.com/ptnapoleon","followers_url":"https://api.github.com/users/ptnapoleon/followers","following_url":"https://api.github.com/users/ptnapoleon/following{/other_user}","gists_url":"https://api.github.com/users/ptnapoleon/gists{/gist_id}","starred_url":"https://api.github.com/users/ptnapoleon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptnapoleon/subscriptions","organizations_url":"https://api.github.com/users/ptnapoleon/orgs","repos_url":"https://api.github.com/users/ptnapoleon/repos","events_url":"https://api.github.com/users/ptnapoleon/events{/privacy}","received_events_url":"https://api.github.com/users/ptnapoleon/received_events","type":"User","site_admin":false},"body":"Surely we can change this to just jira, and autogenerate the url prefix?","created_at":"2015-12-10T14:41:29Z","updated_at":"2015-12-10T14:41:29Z","html_url":"https://github.com/riptano/cassandra-dtest/pull/700#discussion_r47233257","pull_request_url":"https://api.github.com/repos/riptano/cassandra-dtest/pulls/700","_links":{"self":{"href":"https://api.github.com/repos/riptano/cassandra-dtest/pulls/comments/47233257"},"html":{"href":"https://github.com/riptano/cassandra-dtest/pull/700#discussion_r47233257"},"pull_request":{"href":"https://api.github.com/repos/riptano/cassandra-dtest/pulls/700"}}},"pull_request":{"url":"https://api.github.com/repos/riptano/cassandra-dtest/pulls/700","id":53188136,"html_url":"https://github.com/riptano/cassandra-dtest/pull/700","diff_url":"https://github.com/riptano/cassandra-dtest/pull/700.diff","patch_url":"https://github.com/riptano/cassandra-dtest/pull/700.patch","issue_url":"https://api.github.com/repos/riptano/cassandra-dtest/issues/700","number":700,"state":"open","locked":false,"title":"Known failure decorator","user":{"login":"mambocab","id":3753769,"avatar_url":"https://avatars.githubusercontent.com/u/3753769?v=3","gravatar_id":"","url":"https://api.github.com/users/mambocab","html_url":"https://github.com/mambocab","followers_url":"https://api.github.com/users/mambocab/followers","following_url":"https://api.github.com/users/mambocab/following{/other_user}","gists_url":"https://api.github.com/users/mambocab/gists{/gist_id}","starred_url":"https://api.github.com/users/mambocab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mambocab/subscriptions","organizations_url":"https://api.github.com/users/mambocab/orgs","repos_url":"https://api.github.com/users/mambocab/repos","events_url":"https://api.github.com/users/mambocab/events{/privacy}","received_events_url":"https://api.github.com/users/mambocab/received_events","type":"User","site_admin":false},"body":"Adds simple decorator that tags a known failing test with some metadata about the failure. Also tags a couple tests for demo purposes. I smoke-tested this with\r\n\r\n```\r\nCASSANDRA_VERSION=git:cassandra-3.0 nosetests --collect-only -a known_failure -v\r\nCASSANDRA_VERSION=git:cassandra-3.0 nosetests --collect-only -a known_failure '!known_flaky' -v\r\nCASSANDRA_VERSION=git:cassandra-3.0 nosetests --collect-only -a known_failure=cassandra -v\r\nCASSANDRA_VERSION=git:cassandra-3.0 nosetests --collect-only -a known_failure=systemic -v\r\n```\r\n\r\nWhich demonstrates the basic functionality of the decorator.\r\n\r\nPrinting out associated ticket URLs is a little more difficult and will involve writing a small nose plugin, I believe. \r\n\r\n@ptnapoleon to review and give feedback. In particular\r\n\r\n- Are these tags the model of known failures we want to present?\r\n  - In particular, is it acceptable that we can only tag a given test with one kind of failure? I'm trying to avoid a huge proliferation of attributes, but we may want to tag some tests as, e.g. flaky because of a systemic issue, but also failing hard because of a C\\* bug.\r\n- Will this output be consumable in the way that the failure dashboard needs? Expect that, with the above-mentioned nose plugin, it will print the ticket URL after the name and module of the test.","created_at":"2015-12-09T22:31:05Z","updated_at":"2015-12-10T14:41:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"38940c028c5ef41b85190bf044d368be021116b9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/riptano/cassandra-dtest/pulls/700/commits","review_comments_url":"https://api.github.com/repos/riptano/cassandra-dtest/pulls/700/comments","review_comment_url":"https://api.github.com/repos/riptano/cassandra-dtest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/riptano/cassandra-dtest/issues/700/comments","statuses_url":"https://api.github.com/repos/riptano/cassandra-dtest/statuses/15c60ea862841d5593b36a597fbaa9631ae1af95","head":{"label":"mambocab:known_failure_decorator","ref":"known_failure_decorator","sha":"15c60ea862841d5593b36a597fbaa9631ae1af95","user":{"login":"mambocab","id":3753769,"avatar_url":"https://avatars.githubusercontent.com/u/3753769?v=3","gravatar_id":"","url":"https://api.github.com/users/mambocab","html_url":"https://github.com/mambocab","followers_url":"https://api.github.com/users/mambocab/followers","following_url":"https://api.github.com/users/mambocab/following{/other_user}","gists_url":"https://api.github.com/users/mambocab/gists{/gist_id}","starred_url":"https://api.github.com/users/mambocab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mambocab/subscriptions","organizations_url":"https://api.github.com/users/mambocab/orgs","repos_url":"https://api.github.com/users/mambocab/repos","events_url":"https://api.github.com/users/mambocab/events{/privacy}","received_events_url":"https://api.github.com/users/mambocab/received_events","type":"User","site_admin":false},"repo":{"id":31236640,"name":"cassandra-dtest","full_name":"mambocab/cassandra-dtest","owner":{"login":"mambocab","id":3753769,"avatar_url":"https://avatars.githubusercontent.com/u/3753769?v=3","gravatar_id":"","url":"https://api.github.com/users/mambocab","html_url":"https://github.com/mambocab","followers_url":"https://api.github.com/users/mambocab/followers","following_url":"https://api.github.com/users/mambocab/following{/other_user}","gists_url":"https://api.github.com/users/mambocab/gists{/gist_id}","starred_url":"https://api.github.com/users/mambocab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mambocab/subscriptions","organizations_url":"https://api.github.com/users/mambocab/orgs","repos_url":"https://api.github.com/users/mambocab/repos","events_url":"https://api.github.com/users/mambocab/events{/privacy}","received_events_url":"https://api.github.com/users/mambocab/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mambocab/cassandra-dtest","description":"Cassandra Distributed Tests","fork":true,"url":"https://api.github.com/repos/mambocab/cassandra-dtest","forks_url":"https://api.github.com/repos/mambocab/cassandra-dtest/forks","keys_url":"https://api.github.com/repos/mambocab/cassandra-dtest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mambocab/cassandra-dtest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mambocab/cassandra-dtest/teams","hooks_url":"https://api.github.com/repos/mambocab/cassandra-dtest/hooks","issue_events_url":"https://api.github.com/repos/mambocab/cassandra-dtest/issues/events{/number}","events_url":"https://api.github.com/repos/mambocab/cassandra-dtest/events","assignees_url":"https://api.github.com/repos/mambocab/cassandra-dtest/assignees{/user}","branches_url":"https://api.github.com/repos/mambocab/cassandra-dtest/branches{/branch}","tags_url":"https://api.github.com/repos/mambocab/cassandra-dtest/tags","blobs_url":"https://api.github.com/repos/mambocab/cassandra-dtest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mambocab/cassandra-dtest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mambocab/cassandra-dtest/git/refs{/sha}","trees_url":"https://api.github.com/repos/mambocab/cassandra-dtest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mambocab/cassandra-dtest/statuses/{sha}","languages_url":"https://api.github.com/repos/mambocab/cassandra-dtest/languages","stargazers_url":"https://api.github.com/repos/mambocab/cassandra-dtest/stargazers","contributors_url":"https://api.github.com/repos/mambocab/cassandra-dtest/contributors","subscribers_url":"https://api.github.com/repos/mambocab/cassandra-dtest/subscribers","subscription_url":"https://api.github.com/repos/mambocab/cassandra-dtest/subscription","commits_url":"https://api.github.com/repos/mambocab/cassandra-dtest/commits{/sha}","git_commits_url":"https://api.github.com/repos/mambocab/cassandra-dtest/git/commits{/sha}","comments_url":"https://api.github.com/repos/mambocab/cassandra-dtest/comments{/number}","issue_comment_url":"https://api.github.com/repos/mambocab/cassandra-dtest/issues/comments{/number}","contents_url":"https://api.github.com/repos/mambocab/cassandra-dtest/contents/{+path}","compare_url":"https://api.github.com/repos/mambocab/cassandra-dtest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mambocab/cassandra-dtest/merges","archive_url":"https://api.github.com/repos/mambocab/cassandra-dtest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mambocab/cassandra-dtest/downloads","issues_url":"https://api.github.com/repos/mambocab/cassandra-dtest/issues{/number}","pulls_url":"https://api.github.com/repos/mambocab/cassandra-dtest/pulls{/number}","milestones_url":"https://api.github.com/repos/mambocab/cassandra-dtest/milestones{/number}","notifications_url":"https://api.github.com/repos/mambocab/cassandra-dtest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mambocab/cassandra-dtest/labels{/name}","releases_url":"https://api.github.com/repos/mambocab/cassandra-dtest/releases{/id}","created_at":"2015-02-23T23:58:43Z","updated_at":"2015-03-20T18:05:58Z","pushed_at":"2015-12-09T22:21:18Z","git_url":"git://github.com/mambocab/cassandra-dtest.git","ssh_url":"git@github.com:mambocab/cassandra-dtest.git","clone_url":"https://github.com/mambocab/cassandra-dtest.git","svn_url":"https://github.com/mambocab/cassandra-dtest","homepage":"","size":13269,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"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":"riptano:master","ref":"master","sha":"5f43df90c3a9ce9386b130183bd488b582d81be2","user":{"login":"riptano","id":275430,"avatar_url":"https://avatars.githubusercontent.com/u/275430?v=3","gravatar_id":"","url":"https://api.github.com/users/riptano","html_url":"https://github.com/riptano","followers_url":"https://api.github.com/users/riptano/followers","following_url":"https://api.github.com/users/riptano/following{/other_user}","gists_url":"https://api.github.com/users/riptano/gists{/gist_id}","starred_url":"https://api.github.com/users/riptano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riptano/subscriptions","organizations_url":"https://api.github.com/users/riptano/orgs","repos_url":"https://api.github.com/users/riptano/repos","events_url":"https://api.github.com/users/riptano/events{/privacy}","received_events_url":"https://api.github.com/users/riptano/received_events","type":"Organization","site_admin":false},"repo":{"id":2674774,"name":"cassandra-dtest","full_name":"riptano/cassandra-dtest","owner":{"login":"riptano","id":275430,"avatar_url":"https://avatars.githubusercontent.com/u/275430?v=3","gravatar_id":"","url":"https://api.github.com/users/riptano","html_url":"https://github.com/riptano","followers_url":"https://api.github.com/users/riptano/followers","following_url":"https://api.github.com/users/riptano/following{/other_user}","gists_url":"https://api.github.com/users/riptano/gists{/gist_id}","starred_url":"https://api.github.com/users/riptano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riptano/subscriptions","organizations_url":"https://api.github.com/users/riptano/orgs","repos_url":"https://api.github.com/users/riptano/repos","events_url":"https://api.github.com/users/riptano/events{/privacy}","received_events_url":"https://api.github.com/users/riptano/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/riptano/cassandra-dtest","description":"Cassandra Distributed Tests","fork":false,"url":"https://api.github.com/repos/riptano/cassandra-dtest","forks_url":"https://api.github.com/repos/riptano/cassandra-dtest/forks","keys_url":"https://api.github.com/repos/riptano/cassandra-dtest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/riptano/cassandra-dtest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/riptano/cassandra-dtest/teams","hooks_url":"https://api.github.com/repos/riptano/cassandra-dtest/hooks","issue_events_url":"https://api.github.com/repos/riptano/cassandra-dtest/issues/events{/number}","events_url":"https://api.github.com/repos/riptano/cassandra-dtest/events","assignees_url":"https://api.github.com/repos/riptano/cassandra-dtest/assignees{/user}","branches_url":"https://api.github.com/repos/riptano/cassandra-dtest/branches{/branch}","tags_url":"https://api.github.com/repos/riptano/cassandra-dtest/tags","blobs_url":"https://api.github.com/repos/riptano/cassandra-dtest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/riptano/cassandra-dtest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/riptano/cassandra-dtest/git/refs{/sha}","trees_url":"https://api.github.com/repos/riptano/cassandra-dtest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/riptano/cassandra-dtest/statuses/{sha}","languages_url":"https://api.github.com/repos/riptano/cassandra-dtest/languages","stargazers_url":"https://api.github.com/repos/riptano/cassandra-dtest/stargazers","contributors_url":"https://api.github.com/repos/riptano/cassandra-dtest/contributors","subscribers_url":"https://api.github.com/repos/riptano/cassandra-dtest/subscribers","subscription_url":"https://api.github.com/repos/riptano/cassandra-dtest/subscription","commits_url":"https://api.github.com/repos/riptano/cassandra-dtest/commits{/sha}","git_commits_url":"https://api.github.com/repos/riptano/cassandra-dtest/git/commits{/sha}","comments_url":"https://api.github.com/repos/riptano/cassandra-dtest/comments{/number}","issue_comment_url":"https://api.github.com/repos/riptano/cassandra-dtest/issues/comments{/number}","contents_url":"https://api.github.com/repos/riptano/cassandra-dtest/contents/{+path}","compare_url":"https://api.github.com/repos/riptano/cassandra-dtest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/riptano/cassandra-dtest/merges","archive_url":"https://api.github.com/repos/riptano/cassandra-dtest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/riptano/cassandra-dtest/downloads","issues_url":"https://api.github.com/repos/riptano/cassandra-dtest/issues{/number}","pulls_url":"https://api.github.com/repos/riptano/cassandra-dtest/pulls{/number}","milestones_url":"https://api.github.com/repos/riptano/cassandra-dtest/milestones{/number}","notifications_url":"https://api.github.com/repos/riptano/cassandra-dtest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/riptano/cassandra-dtest/labels{/name}","releases_url":"https://api.github.com/repos/riptano/cassandra-dtest/releases{/id}","created_at":"2011-10-30T11:15:44Z","updated_at":"2015-11-18T08:52:25Z","pushed_at":"2015-12-09T22:31:05Z","git_url":"git://github.com/riptano/cassandra-dtest.git","ssh_url":"git@github.com:riptano/cassandra-dtest.git","clone_url":"https://github.com/riptano/cassandra-dtest.git","svn_url":"https://github.com/riptano/cassandra-dtest","homepage":"","size":13235,"stargazers_count":68,"watchers_count":68,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":50,"mirror_url":null,"open_issues_count":49,"forks":50,"open_issues":49,"watchers":68,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/riptano/cassandra-dtest/pulls/700"},"html":{"href":"https://github.com/riptano/cassandra-dtest/pull/700"},"issue":{"href":"https://api.github.com/repos/riptano/cassandra-dtest/issues/700"},"comments":{"href":"https://api.github.com/repos/riptano/cassandra-dtest/issues/700/comments"},"review_comments":{"href":"https://api.github.com/repos/riptano/cassandra-dtest/pulls/700/comments"},"review_comment":{"href":"https://api.github.com/repos/riptano/cassandra-dtest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/riptano/cassandra-dtest/pulls/700/commits"},"statuses":{"href":"https://api.github.com/repos/riptano/cassandra-dtest/statuses/15c60ea862841d5593b36a597fbaa9631ae1af95"}}}}