You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by to...@apache.org on 2016/02/18 03:16:00 UTC

[4/4] incubator-kudu git commit: build: fix ignoring of clock sync errors in flaky test list

build: fix ignoring of clock sync errors in flaky test list

Previously, I tried to add this same functionality, but used 'grep' instead of
'zgrep'. In the production test slaves, the test logs are gzipped, so we need
to 'zgrep'. It turns out that zgrep is also smart enough to grep non-compressed
files, so it's safe to use it regardless of the file extension.

Change-Id: Ic8645f6f046700a28d3306e0db1be9dbfb06a433
Reviewed-on: http://gerrit.cloudera.org:8080/2218
Reviewed-by: Adar Dembo <ad...@cloudera.com>
Tested-by: Kudu Jenkins


Project: http://git-wip-us.apache.org/repos/asf/incubator-kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kudu/commit/3e6c3033
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kudu/tree/3e6c3033
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kudu/diff/3e6c3033

Branch: refs/heads/master
Commit: 3e6c303375eb82e59d86bcd4c6bdf999336342ff
Parents: 9ca4127
Author: Todd Lipcon <to...@apache.org>
Authored: Wed Feb 17 17:32:39 2016 -0800
Committer: Todd Lipcon <to...@apache.org>
Committed: Thu Feb 18 02:14:55 2016 +0000

----------------------------------------------------------------------
 build-support/report-test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/3e6c3033/build-support/report-test.sh
----------------------------------------------------------------------
diff --git a/build-support/report-test.sh b/build-support/report-test.sh
index f5298dc..e375c90 100755
--- a/build-support/report-test.sh
+++ b/build-support/report-test.sh
@@ -72,7 +72,7 @@ fi
 
 # We sometimes have flaky infrastructure where NTP is broken. In that case
 # do not report it as a failed test.
-if grep -q 'Clock considered unsynchronized' $LOGFILE ; then
+if zgrep -q 'Clock considered unsynchronized' $LOGFILE ; then
   echo Not reporting test that failed due to NTP issues.
   exit 1
 fi