[
https://issues.apache.org/jira/browse/HIVE-22714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17012428#comment-17012428
]
Hive QA commented on HIVE-22714:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12990462/HIVE-22714.1.patch
{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 17860 tests
executed
*Failed tests:*
{noformat}
org.apache.hive.service.TestHS2ImpersonationWithRemoteMS.org.apache.hive.service.TestHS2ImpersonationWithRemoteMS
(batchId=286)
{noformat}
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/20137/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/20137/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-20137/
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 1 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12990462 - PreCommit-HIVE-Build
> TestScheduledQueryService is flaky
> ----------------------------------
>
> Key: HIVE-22714
> URL: https://issues.apache.org/jira/browse/HIVE-22714
> Project: Hive
> Issue Type: Bug
> Components: Tests
> Reporter: Jason Dere
> Assignee: Jason Dere
> Priority: Major
> Attachments: HIVE-22714.1.patch
>
>
> {noformat}
> [ERROR] Failures:
> [ERROR] TestScheduledQueryService.testScheduledQueryExecution:152
> Expected: <5>
> but: was <0>
> [INFO]
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
> {noformat}
> Looks like sometimes we are not waiting long enough for the INSERT query to
> complete and the SELECT runs before it finishes:
> {noformat}
> $ egrep "insert|select"
> target/surefire-reports/org.apache.hadoop.hive.ql.schq.TestScheduledQueryService-output.txt
> | grep HOOK
> PREHOOK: query: insert into tu values(1),(2),(3),(4),(5)
> 2020-01-09T14:49:09,497 INFO [SchQ 0] SessionState: PREHOOK: query: insert
> into tu values(1),(2),(3),(4),(5)
> PREHOOK: query: select 1 from tu
> 2020-01-09T14:49:11,452 INFO [main] SessionState: PREHOOK: query: select 1
> from tu
> POSTHOOK: query: select 1 from tu
> 2020-01-09T14:49:11,452 INFO [main] SessionState: POSTHOOK: query: select 1
> from tu
> POSTHOOK: query: insert into tu values(1),(2),(3),(4),(5)
> 2020-01-09T14:49:12,062 INFO [SchQ 0] SessionState: POSTHOOK: query: insert
> into tu values(1),(2),(3),(4),(5)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)