[57/94] [abbrv] hbase git commit: HBASE-18341 Generalize regex matchers in findHangingTests.py script to match new consoleText of trunk build.
HBASE-18341 Generalize regex matchers in findHangingTests.py script to match new consoleText of trunk build. Change-Id: I0a4215827d3d561eef3f583da666c617f690d934 Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/590f02aa Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/590f02aa Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/590f02aa Branch: refs/heads/HBASE-14070.HLC Commit: 590f02aad013a2955b82a3809202331b86bb2f12 Parents: 30d06df Author: Apekshit SharmaAuthored: Sat Jul 8 00:49:31 2017 -0700 Committer: Apekshit Sharma Committed: Sat Jul 8 00:50:20 2017 -0700 -- dev-support/findHangingTests.py | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/590f02aa/dev-support/findHangingTests.py -- diff --git a/dev-support/findHangingTests.py b/dev-support/findHangingTests.py index 54275df..a8abdab 100755 --- a/dev-support/findHangingTests.py +++ b/dev-support/findHangingTests.py @@ -60,18 +60,18 @@ def get_bad_tests(console_url): failed_tests_set = set() timeout_tests_set = set() for line in response.content.splitlines(): -result1 = re.match("^Running org.apache.hadoop.hbase.(\\w*\\.)*(\\w*)", line) -if result1: -test_case = result1.group(2) +result1 = re.findall("Running org.apache.hadoop.hbase.(.*)", line) +if len(result1) == 1: +test_case = result1[0] if test_case in all_tests_set: print ("ERROR! Multiple tests with same name '{}'. Might get wrong results " "for this test.".format(test_case)) else: hanging_tests_set.add(test_case) all_tests_set.add(test_case) -result2 = re.match("^Tests run:.*- in org.apache.hadoop.hbase.(\\w*\\.)*(\\w*)", line) -if result2: -test_case = result2.group(2) +result2 = re.findall("Tests run:.*?- in org.apache.hadoop.hbase.(.*)", line) +if len(result2) == 1: +test_case = result2[0] if "FAILURE!" in line: failed_tests_set.add(test_case) if test_case not in hanging_tests_set:
[01/22] hbase git commit: HBASE-18341 Generalize regex matchers in findHangingTests.py script to match new consoleText of trunk build. [Forced Update!]
Repository: hbase Updated Branches: refs/heads/HBASE-18147 59ec40882 -> 28a3b5ede (forced update) HBASE-18341 Generalize regex matchers in findHangingTests.py script to match new consoleText of trunk build. Change-Id: I0a4215827d3d561eef3f583da666c617f690d934 Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/590f02aa Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/590f02aa Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/590f02aa Branch: refs/heads/HBASE-18147 Commit: 590f02aad013a2955b82a3809202331b86bb2f12 Parents: 30d06df Author: Apekshit SharmaAuthored: Sat Jul 8 00:49:31 2017 -0700 Committer: Apekshit Sharma Committed: Sat Jul 8 00:50:20 2017 -0700 -- dev-support/findHangingTests.py | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/590f02aa/dev-support/findHangingTests.py -- diff --git a/dev-support/findHangingTests.py b/dev-support/findHangingTests.py index 54275df..a8abdab 100755 --- a/dev-support/findHangingTests.py +++ b/dev-support/findHangingTests.py @@ -60,18 +60,18 @@ def get_bad_tests(console_url): failed_tests_set = set() timeout_tests_set = set() for line in response.content.splitlines(): -result1 = re.match("^Running org.apache.hadoop.hbase.(\\w*\\.)*(\\w*)", line) -if result1: -test_case = result1.group(2) +result1 = re.findall("Running org.apache.hadoop.hbase.(.*)", line) +if len(result1) == 1: +test_case = result1[0] if test_case in all_tests_set: print ("ERROR! Multiple tests with same name '{}'. Might get wrong results " "for this test.".format(test_case)) else: hanging_tests_set.add(test_case) all_tests_set.add(test_case) -result2 = re.match("^Tests run:.*- in org.apache.hadoop.hbase.(\\w*\\.)*(\\w*)", line) -if result2: -test_case = result2.group(2) +result2 = re.findall("Tests run:.*?- in org.apache.hadoop.hbase.(.*)", line) +if len(result2) == 1: +test_case = result2[0] if "FAILURE!" in line: failed_tests_set.add(test_case) if test_case not in hanging_tests_set:
hbase git commit: HBASE-18341 Generalize regex matchers in findHangingTests.py script to match new consoleText of trunk build.
Repository: hbase Updated Branches: refs/heads/branch-2 5d4e4f200 -> c05a40809 HBASE-18341 Generalize regex matchers in findHangingTests.py script to match new consoleText of trunk build. Change-Id: I0a4215827d3d561eef3f583da666c617f690d934 Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/c05a4080 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/c05a4080 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/c05a4080 Branch: refs/heads/branch-2 Commit: c05a4080938fe7a7ec3e3914740bc8a0c8c1b6c2 Parents: 5d4e4f2 Author: Apekshit SharmaAuthored: Sat Jul 8 00:49:31 2017 -0700 Committer: Apekshit Sharma Committed: Sat Jul 8 00:52:16 2017 -0700 -- dev-support/findHangingTests.py | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/c05a4080/dev-support/findHangingTests.py -- diff --git a/dev-support/findHangingTests.py b/dev-support/findHangingTests.py index 54275df..a8abdab 100755 --- a/dev-support/findHangingTests.py +++ b/dev-support/findHangingTests.py @@ -60,18 +60,18 @@ def get_bad_tests(console_url): failed_tests_set = set() timeout_tests_set = set() for line in response.content.splitlines(): -result1 = re.match("^Running org.apache.hadoop.hbase.(\\w*\\.)*(\\w*)", line) -if result1: -test_case = result1.group(2) +result1 = re.findall("Running org.apache.hadoop.hbase.(.*)", line) +if len(result1) == 1: +test_case = result1[0] if test_case in all_tests_set: print ("ERROR! Multiple tests with same name '{}'. Might get wrong results " "for this test.".format(test_case)) else: hanging_tests_set.add(test_case) all_tests_set.add(test_case) -result2 = re.match("^Tests run:.*- in org.apache.hadoop.hbase.(\\w*\\.)*(\\w*)", line) -if result2: -test_case = result2.group(2) +result2 = re.findall("Tests run:.*?- in org.apache.hadoop.hbase.(.*)", line) +if len(result2) == 1: +test_case = result2[0] if "FAILURE!" in line: failed_tests_set.add(test_case) if test_case not in hanging_tests_set:
hbase git commit: HBASE-18341 Generalize regex matchers in findHangingTests.py script to match new consoleText of trunk build.
Repository: hbase Updated Branches: refs/heads/master 30d06dfe3 -> 590f02aad HBASE-18341 Generalize regex matchers in findHangingTests.py script to match new consoleText of trunk build. Change-Id: I0a4215827d3d561eef3f583da666c617f690d934 Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/590f02aa Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/590f02aa Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/590f02aa Branch: refs/heads/master Commit: 590f02aad013a2955b82a3809202331b86bb2f12 Parents: 30d06df Author: Apekshit SharmaAuthored: Sat Jul 8 00:49:31 2017 -0700 Committer: Apekshit Sharma Committed: Sat Jul 8 00:50:20 2017 -0700 -- dev-support/findHangingTests.py | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/590f02aa/dev-support/findHangingTests.py -- diff --git a/dev-support/findHangingTests.py b/dev-support/findHangingTests.py index 54275df..a8abdab 100755 --- a/dev-support/findHangingTests.py +++ b/dev-support/findHangingTests.py @@ -60,18 +60,18 @@ def get_bad_tests(console_url): failed_tests_set = set() timeout_tests_set = set() for line in response.content.splitlines(): -result1 = re.match("^Running org.apache.hadoop.hbase.(\\w*\\.)*(\\w*)", line) -if result1: -test_case = result1.group(2) +result1 = re.findall("Running org.apache.hadoop.hbase.(.*)", line) +if len(result1) == 1: +test_case = result1[0] if test_case in all_tests_set: print ("ERROR! Multiple tests with same name '{}'. Might get wrong results " "for this test.".format(test_case)) else: hanging_tests_set.add(test_case) all_tests_set.add(test_case) -result2 = re.match("^Tests run:.*- in org.apache.hadoop.hbase.(\\w*\\.)*(\\w*)", line) -if result2: -test_case = result2.group(2) +result2 = re.findall("Tests run:.*?- in org.apache.hadoop.hbase.(.*)", line) +if len(result2) == 1: +test_case = result2[0] if "FAILURE!" in line: failed_tests_set.add(test_case) if test_case not in hanging_tests_set: