[ 
https://issues.apache.org/jira/browse/HBASE-16384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15414470#comment-15414470
 ] 

Dima Spivak commented on HBASE-16384:
-------------------------------------

Just as an example of what I'm proposing instead:
{noformat}
dspivak-MBP:~ dspivak$ cat my_url_parser.py 
#!/usr/bin/env python
 
from argparse import ArgumentParser
 
parser = ArgumentParser(description='My URL parser!')
parser.add_argument('--url', metavar='URL', action='append', required=True,
                    help='URL to analyze')
parser.add_argument('--excluded-builds', metavar='[n1,n2]', action='append',
                    help='List of build numbers to exclude (or "None")')
parser.add_argument('--max-builds', metavar='n', action='append',
                    help='The maximum number of builds to use')
args = parser.parse_args()
 
print args
dspivak-MBP:~ dspivak$ python my_url_parser.py --url=url1 
--excluded-builds=None --max-builds=20 \
>     --url=url2 --excluded-builds=10,12,13 --max-builds=10
Namespace(excluded_builds=['None', '10,12,13'], max_builds=['20', '10'], 
url=['url1', 'url2'])
{noformat}

> Update report-flakies.py script to allow specifying a list of build ids to be 
> excluded
> --------------------------------------------------------------------------------------
>
>                 Key: HBASE-16384
>                 URL: https://issues.apache.org/jira/browse/HBASE-16384
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Appy
>            Assignee: Appy
>         Attachments: HBASE-16384.master.001.patch, 
> HBASE-16384.master.002.patch
>
>
> Sometimes, builds fail mysteriously and leave lots of tests hanging. This 
> makes  [flaky 
> list|https://builds.apache.org/job/HBase-Find-Flaky-Tests/lastSuccessfulBuild/artifact/dashboard.html]
>  go crazy.
> This patch adds that feature to specify build ids to exclude in 
> report-flakies.py.
> If we find that a build screwed up, we can exclude it using "exclude=" option 
> in --urls param and rerun the job to fix the flaky list.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to