[jira] [Commented] (CALCITE-1561) Intermittent test failures
[ https://issues.apache.org/jira/browse/CALCITE-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16361764#comment-16361764 ] Julian Hyde commented on CALCITE-1561: -- 8. ConcurrentModificationException in BlockBuilder.optimize called from misc.iq {noformat}java.lang.AssertionError: Files differ: /Users/jhyde/open1/calcite.1/core/target/surefire/sql/misc.iq /Users/jhyde/open1/calcite.1/core/target/test-classes/sql/misc.iq 626,633c626,699 < ++ < | P | < ++ < | {0, 12}| < | {null, 12} | < ++ < (2 rows) < --- > java.sql.SQLException: Error while executing SQL "select period("sqlDate", > INTERVAL '1' YEAR) as p > from "everyTypes" > ": null > at org.apache.calcite.avatica.Helper.createException(Helper.java:56) > at org.apache.calcite.avatica.Helper.createException(Helper.java:41) > at > org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:156) > at > org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:218) > at > net.hydromatic.quidem.Quidem$CheckResultCommand.execute(Quidem.java:830) > at > net.hydromatic.quidem.Quidem$CompositeCommand.execute(Quidem.java:1450) > at net.hydromatic.quidem.Quidem.execute(Quidem.java:197) > at org.apache.calcite.test.QuidemTest.checkRun(QuidemTest.java:152) > at > org.apache.calcite.test.CoreQuidemTest.testSqlMisc(CoreQuidemTest.java:67) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at org.apache.calcite.test.QuidemTest.test(QuidemTest.java:207) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) > at org.junit.runners.ParentRunner.run(ParentRunner.java:363) > at org.junit.runners.Suite.runChild(Suite.java:128) > at org.junit.runners.Suite.runChild(Suite.java:27) > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) > at org.junit.runners.ParentRunner.run(ParentRunner.java:363) > at org.junit.runners.Suite.runChild(Suite.java:128) > at org.junit.runners.Suite.runChild(Suite.java:27) > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) > at org.junit.runners.ParentRunner.run(ParentRunner.java:363) > at org.junit.runner.JUnitCore.run(JUnitCore.java:137) > at > com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68) > at > com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47) > at > com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242) > at > com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70) > Caused by: java.util.ConcurrentModificatio
[jira] [Commented] (CALCITE-1561) Intermittent test failures
[ https://issues.apache.org/jira/browse/CALCITE-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16186444#comment-16186444 ] Julian Hyde commented on CALCITE-1561: -- 7. LatticeTest.testDistinctCount against hsqldb under JDK 1.7 {noformat} Caused by: java.sql.SQLException: java.lang.ClassCastException: org.hsqldb.index.NodeAVL cannot be cast to java.lang.Number java.lang.ClassCastException: org.hsqldb.index.NodeAVL cannot be cast to java.lang.Number at org.apache.calcite.test.LatticeTest.testDistinctCount(LatticeTest.java:530) {noformat} > Intermittent test failures > -- > > Key: CALCITE-1561 > URL: https://issues.apache.org/jira/browse/CALCITE-1561 > Project: Calcite > Issue Type: Bug >Reporter: Julian Hyde >Assignee: Julian Hyde > > A few tests are currently failing intermittently. > 1. UdfTest > {noformat} > UdfTest.testUserDefinedFunction:162 > Expected: is <9> > but: was <10> > {noformat} > 2. StreamTest.testInfiniteStreamsDoNotBufferInMemory > {noformat} > FAILURE! - in org.apache.calcite.test.StreamTest > testInfiniteStreamsDoNotBufferInMemory(org.apache.calcite.test.StreamTest) > Time elapsed: 0.218 sec <<< ERROR! > java.lang.RuntimeException: exception while executing [select stream * from > orders] > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > Caused by: java.util.NoSuchElementException > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > {noformat} > I don't consider any of them serious -- they are test issues, not product > correctness issues -- but they are inconvenient because false negatives waste > developer time. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (CALCITE-1561) Intermittent test failures
[ https://issues.apache.org/jira/browse/CALCITE-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16011730#comment-16011730 ] Julian Hyde commented on CALCITE-1561: -- 6. ConcurrentModificationException in testAmbiguousDynamicStar2 under JDK 7 {noformat} Caused by: java.util.ConcurrentModificationException at org.apache.calcite.test.SqlValidatorTest.testAmbiguousDynamicStar2(SqlValidatorTest.java:9431) {noformat} > Intermittent test failures > -- > > Key: CALCITE-1561 > URL: https://issues.apache.org/jira/browse/CALCITE-1561 > Project: Calcite > Issue Type: Bug >Reporter: Julian Hyde >Assignee: Julian Hyde > > A few tests are currently failing intermittently. > 1. UdfTest > {noformat} > UdfTest.testUserDefinedFunction:162 > Expected: is <9> > but: was <10> > {noformat} > 2. StreamTest.testInfiniteStreamsDoNotBufferInMemory > {noformat} > FAILURE! - in org.apache.calcite.test.StreamTest > testInfiniteStreamsDoNotBufferInMemory(org.apache.calcite.test.StreamTest) > Time elapsed: 0.218 sec <<< ERROR! > java.lang.RuntimeException: exception while executing [select stream * from > orders] > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > Caused by: java.util.NoSuchElementException > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > {noformat} > I don't consider any of them serious -- they are test issues, not product > correctness issues -- but they are inconvenient because false negatives waste > developer time. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CALCITE-1561) Intermittent test failures
[ https://issues.apache.org/jira/browse/CALCITE-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15971445#comment-15971445 ] Josh Elser commented on CALCITE-1561: - bq. Note that "finished at" time, and its time zone. This test might have been run in the gap between one day and the next. Oh that's a funny test issue :). I'll try to take a look at this one. > Intermittent test failures > -- > > Key: CALCITE-1561 > URL: https://issues.apache.org/jira/browse/CALCITE-1561 > Project: Calcite > Issue Type: Bug >Reporter: Julian Hyde >Assignee: Julian Hyde > > A few tests are currently failing intermittently. > 1. UdfTest > {noformat} > UdfTest.testUserDefinedFunction:162 > Expected: is <9> > but: was <10> > {noformat} > 2. StreamTest.testInfiniteStreamsDoNotBufferInMemory > {noformat} > FAILURE! - in org.apache.calcite.test.StreamTest > testInfiniteStreamsDoNotBufferInMemory(org.apache.calcite.test.StreamTest) > Time elapsed: 0.218 sec <<< ERROR! > java.lang.RuntimeException: exception while executing [select stream * from > orders] > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > Caused by: java.util.NoSuchElementException > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > {noformat} > I don't consider any of them serious -- they are test issues, not product > correctness issues -- but they are inconvenient because false negatives waste > developer time. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CALCITE-1561) Intermittent test failures
[ https://issues.apache.org/jira/browse/CALCITE-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15971433#comment-15971433 ] Julian Hyde commented on CALCITE-1561: -- 5. RemoteDriverTest.testBatchInsertWithDates (avatica) {noformat} Failed tests: RemoteDriverTest.testBatchInsertWithDates:1376->eachConnection:226->access$1100:91->executeBatchInsertWithDates:1441 Wrong day for row 0 expected:<1 5> but was:<14> RemoteDriverTest.testBatchInsertWithDates:1376->eachConnection:226->access$1100:91->executeBatchInsertWithDates:1441 Wrong day for row 0 expected:<15> but was:<14> [INFO] Total time: 03:15 min [INFO] Finished at: 2017-04-15T11:13:24+01:00 {noformat} Note that "finished at" time, and its time zone. This test might have been run in the gap between one day and the next. cc [~elserj] > Intermittent test failures > -- > > Key: CALCITE-1561 > URL: https://issues.apache.org/jira/browse/CALCITE-1561 > Project: Calcite > Issue Type: Bug >Reporter: Julian Hyde >Assignee: Julian Hyde > > A few tests are currently failing intermittently. > 1. UdfTest > {noformat} > UdfTest.testUserDefinedFunction:162 > Expected: is <9> > but: was <10> > {noformat} > 2. StreamTest.testInfiniteStreamsDoNotBufferInMemory > {noformat} > FAILURE! - in org.apache.calcite.test.StreamTest > testInfiniteStreamsDoNotBufferInMemory(org.apache.calcite.test.StreamTest) > Time elapsed: 0.218 sec <<< ERROR! > java.lang.RuntimeException: exception while executing [select stream * from > orders] > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > Caused by: java.util.NoSuchElementException > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > {noformat} > I don't consider any of them serious -- they are test issues, not product > correctness issues -- but they are inconvenient because false negatives waste > developer time. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CALCITE-1561) Intermittent test failures
[ https://issues.apache.org/jira/browse/CALCITE-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15969480#comment-15969480 ] Josh Elser commented on CALCITE-1561: - Thanks, Eli! I had taken a look at the output but it wasn't obvious to me as to why they were failing. I appreciate you picking these up to review! > Intermittent test failures > -- > > Key: CALCITE-1561 > URL: https://issues.apache.org/jira/browse/CALCITE-1561 > Project: Calcite > Issue Type: Bug >Reporter: Julian Hyde >Assignee: Julian Hyde > > A few tests are currently failing intermittently. > 1. UdfTest > {noformat} > UdfTest.testUserDefinedFunction:162 > Expected: is <9> > but: was <10> > {noformat} > 2. StreamTest.testInfiniteStreamsDoNotBufferInMemory > {noformat} > FAILURE! - in org.apache.calcite.test.StreamTest > testInfiniteStreamsDoNotBufferInMemory(org.apache.calcite.test.StreamTest) > Time elapsed: 0.218 sec <<< ERROR! > java.lang.RuntimeException: exception while executing [select stream * from > orders] > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > Caused by: java.util.NoSuchElementException > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > {noformat} > I don't consider any of them serious -- they are test issues, not product > correctness issues -- but they are inconvenient because false negatives waste > developer time. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CALCITE-1561) Intermittent test failures
[ https://issues.apache.org/jira/browse/CALCITE-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15969386#comment-15969386 ] Eli Levine commented on CALCITE-1561: - Thanks for disabling the tests, [~elserj]. Unfortunately these tests are coming from local Pig and not easy to debug, since they only happen sporadically locally. My hunch is that it has something to do with file permissions of files Pig creates locally but finding a viable fix has been elusive. What I will do is split up tests in the pig sub-module into unit and integration tests so only integration tests actually run local Pig. > Intermittent test failures > -- > > Key: CALCITE-1561 > URL: https://issues.apache.org/jira/browse/CALCITE-1561 > Project: Calcite > Issue Type: Bug >Reporter: Julian Hyde >Assignee: Julian Hyde > > A few tests are currently failing intermittently. > 1. UdfTest > {noformat} > UdfTest.testUserDefinedFunction:162 > Expected: is <9> > but: was <10> > {noformat} > 2. StreamTest.testInfiniteStreamsDoNotBufferInMemory > {noformat} > FAILURE! - in org.apache.calcite.test.StreamTest > testInfiniteStreamsDoNotBufferInMemory(org.apache.calcite.test.StreamTest) > Time elapsed: 0.218 sec <<< ERROR! > java.lang.RuntimeException: exception while executing [select stream * from > orders] > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > Caused by: java.util.NoSuchElementException > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > {noformat} > I don't consider any of them serious -- they are test issues, not product > correctness issues -- but they are inconvenient because false negatives waste > developer time. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CALCITE-1561) Intermittent test failures
[ https://issues.apache.org/jira/browse/CALCITE-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15968448#comment-15968448 ] Julian Hyde commented on CALCITE-1561: -- Issue #4 is not fixed, so CALCITE-1751 disabled the test. > Intermittent test failures > -- > > Key: CALCITE-1561 > URL: https://issues.apache.org/jira/browse/CALCITE-1561 > Project: Calcite > Issue Type: Bug >Reporter: Julian Hyde >Assignee: Julian Hyde > > A few tests are currently failing intermittently. > 1. UdfTest > {noformat} > UdfTest.testUserDefinedFunction:162 > Expected: is <9> > but: was <10> > {noformat} > 2. StreamTest.testInfiniteStreamsDoNotBufferInMemory > {noformat} > FAILURE! - in org.apache.calcite.test.StreamTest > testInfiniteStreamsDoNotBufferInMemory(org.apache.calcite.test.StreamTest) > Time elapsed: 0.218 sec <<< ERROR! > java.lang.RuntimeException: exception while executing [select stream * from > orders] > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > Caused by: java.util.NoSuchElementException > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > {noformat} > I don't consider any of them serious -- they are test issues, not product > correctness issues -- but they are inconvenient because false negatives waste > developer time. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CALCITE-1561) Intermittent test failures
[ https://issues.apache.org/jira/browse/CALCITE-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15926418#comment-15926418 ] Julian Hyde commented on CALCITE-1561: -- Issue #4 fixed (we believe) by http://git-wip-us.apache.org/repos/asf/calcite/commit/713c8f4f. Thanks for the PR, [~elilevine]! > Intermittent test failures > -- > > Key: CALCITE-1561 > URL: https://issues.apache.org/jira/browse/CALCITE-1561 > Project: Calcite > Issue Type: Bug >Reporter: Julian Hyde >Assignee: Julian Hyde > > A few tests are currently failing intermittently. > 1. UdfTest > {noformat} > UdfTest.testUserDefinedFunction:162 > Expected: is <9> > but: was <10> > {noformat} > 2. StreamTest.testInfiniteStreamsDoNotBufferInMemory > {noformat} > FAILURE! - in org.apache.calcite.test.StreamTest > testInfiniteStreamsDoNotBufferInMemory(org.apache.calcite.test.StreamTest) > Time elapsed: 0.218 sec <<< ERROR! > java.lang.RuntimeException: exception while executing [select stream * from > orders] > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > Caused by: java.util.NoSuchElementException > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > {noformat} > I don't consider any of them serious -- they are test issues, not product > correctness issues -- but they are inconvenient because false negatives waste > developer time. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CALCITE-1561) Intermittent test failures
[ https://issues.apache.org/jira/browse/CALCITE-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15904112#comment-15904112 ] Eli Levine commented on CALCITE-1561: - Did a bunch more digging and as far as I can tell this is due to the fact that PigTest's local Pig execution mode cannot read data files. Why it happens sporadically I could not determine, since I could never consistently repro. I have added some code to make PigTest's cluster aware of the files. Let's see if it improves things. Submitted a PR here: https://github.com/apache/calcite/pull/397 [~julianhyde], FYI. > Intermittent test failures > -- > > Key: CALCITE-1561 > URL: https://issues.apache.org/jira/browse/CALCITE-1561 > Project: Calcite > Issue Type: Bug >Reporter: Julian Hyde >Assignee: Julian Hyde > > A few tests are currently failing intermittently. > 1. UdfTest > {noformat} > UdfTest.testUserDefinedFunction:162 > Expected: is <9> > but: was <10> > {noformat} > 2. StreamTest.testInfiniteStreamsDoNotBufferInMemory > {noformat} > FAILURE! - in org.apache.calcite.test.StreamTest > testInfiniteStreamsDoNotBufferInMemory(org.apache.calcite.test.StreamTest) > Time elapsed: 0.218 sec <<< ERROR! > java.lang.RuntimeException: exception while executing [select stream * from > orders] > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > Caused by: java.util.NoSuchElementException > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > {noformat} > I don't consider any of them serious -- they are test issues, not product > correctness issues -- but they are inconvenient because false negatives waste > developer time. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CALCITE-1561) Intermittent test failures
[ https://issues.apache.org/jira/browse/CALCITE-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15903774#comment-15903774 ] Eli Levine commented on CALCITE-1561: - [~julianhyde], this is a strange beast. I can't repro on either Mac or Linux. However, I remember that I was able to repro the inconsistent failures before, so not sure what's going on here. This test uses the PigTest class to execute Pig in local mode and perform data validation. PigTest creates data files in /tmp for result validation. I suspect these issues are related to local FS reads/writes but I can't confirm consistently, since I can't repro. What I remember from the last time I saw these failures is that one would only see the once. Everything worked fine on subsequent runs. What I will do is introduce a dummy run of PigTest before real tests are run in PigRelBuilderStyleTest. Let's see if it cuts down the noise. Will send a PR shortly. > Intermittent test failures > -- > > Key: CALCITE-1561 > URL: https://issues.apache.org/jira/browse/CALCITE-1561 > Project: Calcite > Issue Type: Bug >Reporter: Julian Hyde >Assignee: Julian Hyde > > A few tests are currently failing intermittently. > 1. UdfTest > {noformat} > UdfTest.testUserDefinedFunction:162 > Expected: is <9> > but: was <10> > {noformat} > 2. StreamTest.testInfiniteStreamsDoNotBufferInMemory > {noformat} > FAILURE! - in org.apache.calcite.test.StreamTest > testInfiniteStreamsDoNotBufferInMemory(org.apache.calcite.test.StreamTest) > Time elapsed: 0.218 sec <<< ERROR! > java.lang.RuntimeException: exception while executing [select stream * from > orders] > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > Caused by: java.util.NoSuchElementException > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > {noformat} > I don't consider any of them serious -- they are test issues, not product > correctness issues -- but they are inconvenient because false negatives waste > developer time. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CALCITE-1561) Intermittent test failures
[ https://issues.apache.org/jira/browse/CALCITE-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15901759#comment-15901759 ] Eli Levine commented on CALCITE-1561: - [~julianhyde], will take a look later today or tomorrow. > Intermittent test failures > -- > > Key: CALCITE-1561 > URL: https://issues.apache.org/jira/browse/CALCITE-1561 > Project: Calcite > Issue Type: Bug >Reporter: Julian Hyde >Assignee: Julian Hyde > > A few tests are currently failing intermittently. > 1. UdfTest > {noformat} > UdfTest.testUserDefinedFunction:162 > Expected: is <9> > but: was <10> > {noformat} > 2. StreamTest.testInfiniteStreamsDoNotBufferInMemory > {noformat} > FAILURE! - in org.apache.calcite.test.StreamTest > testInfiniteStreamsDoNotBufferInMemory(org.apache.calcite.test.StreamTest) > Time elapsed: 0.218 sec <<< ERROR! > java.lang.RuntimeException: exception while executing [select stream * from > orders] > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > Caused by: java.util.NoSuchElementException > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > {noformat} > I don't consider any of them serious -- they are test issues, not product > correctness issues -- but they are inconvenient because false negatives waste > developer time. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CALCITE-1561) Intermittent test failures
[ https://issues.apache.org/jira/browse/CALCITE-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15901638#comment-15901638 ] Julian Hyde commented on CALCITE-1561: -- 4. PigRelBuilderStyleTest.testImplWithGroupByCountDistinct {noformat} Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.925 sec <<< FAILURE! - in org.apache.calcite.test.PigRelBuilderStyleTest testImplWithGroupByCountDistinct(org.apache.calcite.test.PigRelBuilderStyleTest) Time elapsed: 0.676 sec <<< ERROR! java.lang.RuntimeException: org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1066: Unable to open iterator for alias t at org.apache.calcite.test.PigRelBuilderStyleTest.assertScriptAndResults(PigRelBuilderStyleTest.java:253) at org.apache.calcite.test.PigRelBuilderStyleTest.testImplWithGroupByCountDistinct(PigRelBuilderStyleTest.java:149) Caused by: org.apache.pig.impl.logicalLayer.FrontendException: Unable to open iterator for alias t at org.apache.calcite.test.PigRelBuilderStyleTest.assertScriptAndResults(PigRelBuilderStyleTest.java:251) at org.apache.calcite.test.PigRelBuilderStyleTest.testImplWithGroupByCountDistinct(PigRelBuilderStyleTest.java:149) Caused by: java.io.IOException: Job terminated with anomalous status FAILED at org.apache.calcite.test.PigRelBuilderStyleTest.assertScriptAndResults(PigRelBuilderStyleTest.java:251) at org.apache.calcite.test.PigRelBuilderStyleTest.testImplWithGroupByCountDistinct(PigRelBuilderStyleTest.java:149) {noformat} [~elilevine], Can you see if you can reproduce/fix this intermittent failure? Not JDK-specific: I've seen it under JDK 1.7, 1.8 and 9. > Intermittent test failures > -- > > Key: CALCITE-1561 > URL: https://issues.apache.org/jira/browse/CALCITE-1561 > Project: Calcite > Issue Type: Bug >Reporter: Julian Hyde >Assignee: Julian Hyde > > A few tests are currently failing intermittently. > 1. UdfTest > {noformat} > UdfTest.testUserDefinedFunction:162 > Expected: is <9> > but: was <10> > {noformat} > 2. StreamTest.testInfiniteStreamsDoNotBufferInMemory > {noformat} > FAILURE! - in org.apache.calcite.test.StreamTest > testInfiniteStreamsDoNotBufferInMemory(org.apache.calcite.test.StreamTest) > Time elapsed: 0.218 sec <<< ERROR! > java.lang.RuntimeException: exception while executing [select stream * from > orders] > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > Caused by: java.util.NoSuchElementException > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > {noformat} > I don't consider any of them serious -- they are test issues, not product > correctness issues -- but they are inconvenient because false negatives waste > developer time. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CALCITE-1561) Intermittent test failures
[ https://issues.apache.org/jira/browse/CALCITE-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15830379#comment-15830379 ] Julian Hyde commented on CALCITE-1561: -- 3. CalciteRemoteDriverTest.testRemoteExecuteQuery2 (under JDK9) {noformat} Running org.apache.calcite.jdbc.CalciteRemoteDriverTest Tests run: 27, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.558 sec <<< FAILURE! - in org.apache.calcite.jdbc.CalciteRemoteDriverTest testRemoteExecuteQuery2(org.apache.calcite.jdbc.CalciteRemoteDriverTest) Time elapsed: 0.063 sec <<< ERROR! org.apache.calcite.avatica.AvaticaSqlException: Error -1 (0) : Error while executing SQL "values (1, 'a'), (cast(null as integer), 'b')": Remote driver error: RuntimeException: org.apache.calcite.avatica.NoSuchStatementException -> NoSuchStatementException: (null exception message) at org.apache.calcite.jdbc.CalciteRemoteDriverTest.testRemoteExecuteQuery2(CalciteRemoteDriverTest.java:296) {noformat} > Intermittent test failures > -- > > Key: CALCITE-1561 > URL: https://issues.apache.org/jira/browse/CALCITE-1561 > Project: Calcite > Issue Type: Bug >Reporter: Julian Hyde >Assignee: Julian Hyde > > A few tests are currently failing intermittently. > 1. UdfTest > {noformat} > UdfTest.testUserDefinedFunction:162 > Expected: is <9> > but: was <10> > {noformat} > 2. StreamTest.testInfiniteStreamsDoNotBufferInMemory > {noformat} > FAILURE! - in org.apache.calcite.test.StreamTest > testInfiniteStreamsDoNotBufferInMemory(org.apache.calcite.test.StreamTest) > Time elapsed: 0.218 sec <<< ERROR! > java.lang.RuntimeException: exception while executing [select stream * from > orders] > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > Caused by: java.util.NoSuchElementException > at > org.apache.calcite.test.StreamTest.testInfiniteStreamsDoNotBufferInMemory(StreamTest.java:237) > {noformat} > I don't consider any of them serious -- they are test issues, not product > correctness issues -- but they are inconvenient because false negatives waste > developer time. -- This message was sent by Atlassian JIRA (v6.3.4#6332)