[
https://issues.apache.org/jira/browse/CALCITE-2953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16801320#comment-16801320
]
Jesus Camacho Rodriguez commented on CALCITE-2953:
--------------------------------------------------
I've realized this... It seems there is some flakiness in {{LatticeTest}}. For
instance, in the [last Travis
run|https://travis-ci.org/apache/calcite/jobs/511278223] two tests failed:
{code}
[ERROR] testTileAlgorithm2(org.apache.calcite.test.LatticeTest) Time elapsed:
38.453 s <<< FAILURE!
java.lang.AssertionError:
Expected: a string containing "EnumerableAggregate(group=[{4, 5}])\n
EnumerableTableScan(table=[[adhoc, m{16, 17, 27, 31, 32, 36, 37}]"
but: was "PLAN=EnumerableAggregate(group=[{3, 5}])\n
EnumerableTableScan(table=[[adhoc, m{16, 17, 27, 32, 35, 36, 37}]])\n\n"
at
org.apache.calcite.test.LatticeTest.checkTileAlgorithm(LatticeTest.java:513)
at
org.apache.calcite.test.LatticeTest.testTileAlgorithm2(LatticeTest.java:485)
[ERROR] testTileAlgorithm3(org.apache.calcite.test.LatticeTest) Time elapsed:
36.839 s <<< FAILURE!
java.lang.AssertionError:
Expected: a string containing "EnumerableAggregate(group=[{4, 5}])\n
EnumerableTableScan(table=[[adhoc, m{16, 17, 27, 31, 32, 36, 37}]"
but: was "PLAN=EnumerableAggregate(group=[{3, 5}])\n
EnumerableTableScan(table=[[adhoc, m{16, 17, 27, 32, 35, 36, 37}]])\n\n"
at
org.apache.calcite.test.LatticeTest.checkTileAlgorithm(LatticeTest.java:513)
at
org.apache.calcite.test.LatticeTest.testTileAlgorithm3(LatticeTest.java:496)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] LatticeTest.testTileAlgorithm2:485->checkTileAlgorithm:513
Expected: a string containing "EnumerableAggregate(group=[{4, 5}])\n
EnumerableTableScan(table=[[adhoc, m{16, 17, 27, 31, 32, 36, 37}]"
but: was "PLAN=EnumerableAggregate(group=[{3, 5}])\n
EnumerableTableScan(table=[[adhoc, m{16, 17, 27, 32, 35, 36, 37}]])\n\n"
[ERROR] LatticeTest.testTileAlgorithm3:496->checkTileAlgorithm:513
Expected: a string containing "EnumerableAggregate(group=[{4, 5}])\n
EnumerableTableScan(table=[[adhoc, m{16, 17, 27, 31, 32, 36, 37}]"
but: was "PLAN=EnumerableAggregate(group=[{3, 5}])\n
EnumerableTableScan(table=[[adhoc, m{16, 17, 27, 32, 35, 36, 37}]])\n\n"
[INFO]
[ERROR] Tests run: 210, Failures: 2, Errors: 0, Skipped: 23
{code}
However, I have run the test several times locally and it does not always fail.
> LatticeTest.testTileAlgorithm3 failed
> -------------------------------------
>
> Key: CALCITE-2953
> URL: https://issues.apache.org/jira/browse/CALCITE-2953
> Project: Calcite
> Issue Type: Bug
> Reporter: Haisheng Yuan
> Priority: Major
>
> https://travis-ci.org/apache/calcite/builds/511093846?utm_source=github_status&utm_medium=notification
> It failed after commit:
> https://github.com/apache/calcite/commit/2fa7fd79b7dbb09276574784baa80b99edf37412
> https://github.com/apache/calcite/pull/1128
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)