You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Ruben Q L (Jira)" <ji...@apache.org> on 2019/11/27 13:53:00 UTC

[jira] [Commented] (CALCITE-2442) Cassandra unit test intermittent failures

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

Ruben Q L commented on CALCITE-2442:
------------------------------------

Any updates on this topic?

Please note that, with the recent migration to gradle (CALCITE-2905), leaving the "cassandra/.toDelete" file is a bit more annoying. I'm experiencing that any subsequent build will fail on the task "rat":
{code:java}
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':rat'.
> A failure occurred while executing org.nosphere.apache.rat.RatWork
   > Apache Rat audit failure - 1 unapproved license
        See file:///C:/work/calcite_gradle/calcite/build/reports/rat/index.html
{code}
Looking at "build/reports/rat/index.html", I can see that the reason is that precisely this "cassandra/.toDelete" file is flagged as an "unapproved license":
{code:java}
Unapproved Licenses:
C:/work/calcite_gradle/calcite/cassandra/.toDelete
{code}

This is not a big issue. One just needs to manually delete the "cassandra/.toDelete" file and the build works fine again, but it would be nice to solve this problem.

> Cassandra unit test intermittent failures
> -----------------------------------------
>
>                 Key: CALCITE-2442
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2442
>             Project: Calcite
>          Issue Type: Bug
>          Components: cassandra-adapter
>            Reporter: Andrei Sereda
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.22.0
>
>
> We have noticed that there are failures due to : 
> # Wrong parsing of new [JDK version scheme|http://openjdk.java.net/jeps/223] (by calcite and cassandra dependencies like jamm). {{10-ea}} vs {{10.0.2}} 
> # Cassandra startup timeout on Linux Jenkins CI server. Contrary to github travis CI (the one which validates PRs), it takes about 20s for embedded cassandra to start (still under investigation).
> # [~Sergey Nuyanzin] reported that [CassandraUnit|https://github.com/jsevellec/cassandra-unit] leaves {{.toDelete}} folder in maven module folder ({{cassandra/}}) rather than {{target/}} where all build and temporary files should be located. Not a failure but annoyance. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)