Uh oh!
There was an error while loading. Please reload this page.
[SQL][WIP] Refined Thrift server test suite - #2214
Conversation
liancheng
commented
Aug 30, 2014
test this please |
SparkQA
commented
Aug 30, 2014
QA tests have started for PR 2214 at commit
|
SparkQA
commented
Aug 30, 2014
QA tests have finished for PR 2214 at commit
|
983d030 to
94a83baComparemarmbrus
commented
Sep 3, 2014
ok to test |
liancheng
commented
Sep 3, 2014
test this please |
SparkQA
commented
Sep 3, 2014
QA tests have started for PR 2214 at commit
|
liancheng
commented
Sep 3, 2014
The test failures only occur when running on Jenkins, I couldn't reproduce it either locally or on Jenkins server node. May fire some debugging commits later to investigate this issue. |
SparkQA
commented
Sep 3, 2014
QA tests have finished for PR 2214 at commit
|
liancheng
commented
Sep 3, 2014
retest this please |
liancheng
commented
Sep 3, 2014
ok to test |
SparkQA
commented
Sep 3, 2014
QA tests have started for PR 2214 at commit
|
SparkQA
commented
Sep 3, 2014
QA tests have finished for PR 2214 at commit
|
liancheng
commented
Sep 3, 2014
Hmm, a summary about the failure pattern of
|
SparkQA
commented
Sep 3, 2014
QA tests have started for PR 2214 at commit
|
SparkQA
commented
Sep 4, 2014
QA tests have finished for PR 2214 at commit
|
1185d79 to
c537e37CompareSparkQA
commented
Sep 4, 2014
QA tests have started for PR 2214 at commit
|
liancheng
commented
Sep 4, 2014
add to whitelist |
liancheng
commented
Sep 4, 2014
ok to test |
SparkQA
commented
Sep 4, 2014
Tests timed out after a configured wait of |
SparkQA
commented
Sep 5, 2014
QA tests have started for PR 2214 at commit
|
SparkQA
commented
Sep 6, 2014
Tests timed out after a configured wait of |
marmbrus
commented
Sep 9, 2014
test this please |
marmbrus
commented
Sep 9, 2014
@liancheng are we still debugging issues here? or just waiting for it to pass? |
SparkQA
commented
Sep 9, 2014
QA tests have started for PR 2214 at commit
|
liancheng
commented
Sep 9, 2014
@marmbrus not ready yet, was not able to debug it since Jenkins was quite crazy these days. I'll remove the WIP tag once it's ready. |
SparkQA
commented
Sep 9, 2014
QA tests have finished for PR 2214 at commit
|
a1ad308 to
23d96f1CompareSparkQA
commented
Sep 11, 2014
QA tests have started for PR 2214 at commit
|
SparkQA
commented
Sep 11, 2014
QA tests have started for PR 2214 at commit
|
SparkQA
commented
Sep 11, 2014
QA tests have finished for PR 2214 at commit
|
SparkQA
commented
Sep 11, 2014
QA tests have finished for PR 2214 at commit
|
SparkQA
commented
Sep 14, 2014
QA tests have started for PR 2214 at commit
|
SparkQA
commented
Sep 14, 2014
QA tests have finished for PR 2214 at commit
|
liancheng
commented
Oct 8, 2014
#2675 supersedes this one, closing. |
As scwf pointed out, `HiveThriftServer2Suite` isn't effective anymore after the Thrift server was made a daemon. On the other hand, these test suites were known flaky, PR #2214 tried to fix them but failed because of unknown Jenkins build error. This PR fixes both sets of issues. In this PR, instead of watching `start-thriftserver.sh` output, the test code start a `tail` process to watch the log file. A `Thread.sleep` has to be introduced because the `kill` command used in `stop-thriftserver.sh` is not synchronous. As for the root cause of the mysterious Jenkins build failure. Please refer to [this comment](#2675 (comment)) below for details. ---- (Copied from PR description of #2214) This PR fixes two issues of `HiveThriftServer2Suite` and brings 1 enhancement: 1. Although metastore, warehouse directories and listening port are randomly chosen, all test cases share the same configuration. Due to parallel test execution, one of the two test case is doomed to fail 2. We caught any exceptions thrown from a test case and print diagnosis information, but forgot to re-throw the exception... 3. When the forked server process ends prematurely (e.g., fails to start), the `serverRunning` promise is completed with a failure, preventing the test code to keep waiting until timeout. So, embarrassingly, this test suite was failing continuously for several days but no one had ever noticed it... Fortunately no bugs in the production code were covered under the hood. Author: Cheng Lian <lian.cs.zju@gmail.com> Author: wangfei <wangfei1@huawei.com> Closes#2675 from liancheng/fix-thriftserver-tests and squashes the following commits: 1c384b7 [Cheng Lian] Minor code cleanup, restore the logging level hack in TestHive.scala 7805c33 [wangfei] reset SPARK_TESTING to avoid loading Log4J configurations in testing class paths af2b5a9 [Cheng Lian] Removes log level hacks from TestHiveContext d116405 [wangfei] make sure that log4j level is INFO ee92a82 [Cheng Lian] Relaxes timeout 7fd6757 [Cheng Lian] Fixes test suites in hive-thriftserver
As scwf pointed out, `HiveThriftServer2Suite` isn't effective anymore after the Thrift server was made a daemon. On the other hand, these test suites were known flaky, PR apache#2214 tried to fix them but failed because of unknown Jenkins build error. This PR fixes both sets of issues. In this PR, instead of watching `start-thriftserver.sh` output, the test code start a `tail` process to watch the log file. A `Thread.sleep` has to be introduced because the `kill` command used in `stop-thriftserver.sh` is not synchronous. As for the root cause of the mysterious Jenkins build failure. Please refer to [this comment](apache#2675 (comment)) below for details. ---- (Copied from PR description of apache#2214) This PR fixes two issues of `HiveThriftServer2Suite` and brings 1 enhancement: 1. Although metastore, warehouse directories and listening port are randomly chosen, all test cases share the same configuration. Due to parallel test execution, one of the two test case is doomed to fail 2. We caught any exceptions thrown from a test case and print diagnosis information, but forgot to re-throw the exception... 3. When the forked server process ends prematurely (e.g., fails to start), the `serverRunning` promise is completed with a failure, preventing the test code to keep waiting until timeout. So, embarrassingly, this test suite was failing continuously for several days but no one had ever noticed it... Fortunately no bugs in the production code were covered under the hood. Author: Cheng Lian <lian.cs.zju@gmail.com> Author: wangfei <wangfei1@huawei.com> Closesapache#2675 from liancheng/fix-thriftserver-tests and squashes the following commits: 1c384b7 [Cheng Lian] Minor code cleanup, restore the logging level hack in TestHive.scala 7805c33 [wangfei] reset SPARK_TESTING to avoid loading Log4J configurations in testing class paths af2b5a9 [Cheng Lian] Removes log level hacks from TestHiveContext d116405 [wangfei] make sure that log4j level is INFO ee92a82 [Cheng Lian] Relaxes timeout 7fd6757 [Cheng Lian] Fixes test suites in hive-thriftserver Conflicts: sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/CliSuite.scala
NOTE
This PR fixes two issues of
HiveThriftServer2Suiteand brings 1 enhancement:serverRunningpromise is completed with a failure, preventing the test code to keep waiting until timeout.So, embarrassingly, this test suite was failing continuously for several days but no one had ever noticed it... Fortunately no bugs in the production code were covered under the hood.