hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-19971) TestRuntimeStats.testCleanup() is flaky
Date Wed, 27 Jun 2018 08:19:00 GMT

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

Hive QA commented on HIVE-19971:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12929258/HIVE-19971.3.patch

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 14609 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMiniDruidCliDriver.testCliDriver[druid_timestamptz] (batchId=191)
org.apache.hadoop.hive.cli.TestMiniDruidCliDriver.testCliDriver[druidmini_joins] (batchId=191)
org.apache.hive.jdbc.TestJdbcWithMiniHS2.testParallelCompilation3 (batchId=250)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/12180/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/12180/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-12180/

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: 3 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12929258 - PreCommit-HIVE-Build

> TestRuntimeStats.testCleanup() is flaky
> ---------------------------------------
>
>                 Key: HIVE-19971
>                 URL: https://issues.apache.org/jira/browse/HIVE-19971
>             Project: Hive
>          Issue Type: Task
>            Reporter: Andrew Sherman
>            Assignee: Andrew Sherman
>            Priority: Major
>         Attachments: HIVE-19971.1.patch, HIVE-19971.2.patch, HIVE-19971.3.patch
>
>
> This test is timing dependent and sometimes fails. [You can see that it sometimes fails
in otherwise clean runs|https://issues.apache.org/jira/issues/?jql=text%20~%20%22TestRuntimeStats%22].  The
test inserts a stat, sleeps for 2 seconds, inserts another stat, then deletes stats that are
older than 1 second. The test asserts that exactly one stat is deleted. If the deletion is
slow for some reason (perhaps a GC?) then 2 stats will be deleted and the test will fail.
The trouble is that the 1 second window is too small to work consistently.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message