You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2024/04/25 13:36:00 UTC

[jira] [Resolved] (CALCITE-6385) LintTest fails when run in source distribution

     [ https://issues.apache.org/jira/browse/CALCITE-6385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stamatis Zampetakis resolved CALCITE-6385.
------------------------------------------
    Fix Version/s: 1.37.0
       Resolution: Fixed

Fixed in [f78dd940d745a5242c35546308ebf74a97f26610|https://github.com/apache/calcite/commit/f78dd940d745a5242c35546308ebf74a97f26610]. Thanks for the reviews [~rubenql] and [~Sergey Nuyanzin]!

> LintTest fails when run in source distribution
> ----------------------------------------------
>
>                 Key: CALCITE-6385
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6385
>             Project: Calcite
>          Issue Type: Bug
>    Affects Versions: 1.36.0
>            Reporter: Stamatis Zampetakis
>            Assignee: Stamatis Zampetakis
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.37.0
>
>
> Steps to reproduce:
> # Download [https://dist.apache.org/repos/dist/dev/calcite/apache-calcite-1.37.0-rc0/apache-calcite-1.37.0-src.tar.gz]
> # tar -xvf apache-calcite-1.37.0-src.tar.gz
> # cd apache-calcite-1.37.0-src
> #  /opt/gradle/gradle-7.6.1/bin/gradle cleanTest :core:test --tests LintTest
> {noformat}
> FAILURE   0.1sec, org.apache.calcite.test.LintTest > testContributorsFileIsSorted()
>     java.lang.RuntimeException: command [git, ls-files, *.bat, *.cmd, *.csv, *.fmpp, *.ftl, *.iq, *.java, *.json, *.jj, *.kt, *.kts, .mailmap, *.md, *.properties, *.sh, *.sql, *.txt, *.xml, *.yaml, *.yml]: failed with exception
>         at org.apache.calcite.util.TestUnsafe.getGitFiles(TestUnsafe.java:185)
>         at org.apache.calcite.util.TestUnsafe.getTextFiles(TestUnsafe.java:158)
>         at org.apache.calcite.test.LintTest.testContributorsFileIsSorted(LintTest.java:400)
>         Caused by: java.lang.RuntimeException: command [git, ls-files, *.bat, *.cmd, *.csv, *.fmpp, *.ftl, *.iq, *.java, *.json, *.jj, *.kt, *.kts, .mailmap, *.md, *.properties, *.sh, *.sql, *.txt, *.xml, *.yaml, *.yml]: exited with status 128
>             at org.apache.calcite.util.TestUnsafe.getGitFiles(TestUnsafe.java:180)
>             ... 2 more
> FAILURE   0.0sec, org.apache.calcite.test.LintTest > testMailmapFile()
>     java.lang.RuntimeException: command [git, ls-files, *.bat, *.cmd, *.csv, *.fmpp, *.ftl, *.iq, *.java, *.json, *.jj, *.kt, *.kts, .mailmap, *.md, *.properties, *.sh, *.sql, *.txt, *.xml, *.yaml, *.yml]: failed with exception
>         at org.apache.calcite.util.TestUnsafe.getGitFiles(TestUnsafe.java:185)
>         at org.apache.calcite.util.TestUnsafe.getTextFiles(TestUnsafe.java:158)
>         at org.apache.calcite.test.LintTest.testMailmapFile(LintTest.java:419)
>         Caused by: java.lang.RuntimeException: command [git, ls-files, *.bat, *.cmd, *.csv, *.fmpp, *.ftl, *.iq, *.java, *.json, *.jj, *.kt, *.kts, .mailmap, *.md, *.properties, *.sh, *.sql, *.txt, *.xml, *.yaml, *.yml]: exited with status 128
>             at org.apache.calcite.util.TestUnsafe.getGitFiles(TestUnsafe.java:180)
>             ... 2 more
> FAILURE   0.1sec,    6 completed,   2 failed,   2 skipped, org.apache.calcite.test.LintTest
> {noformat}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)