Stamatis Zampetakis created CALCITE-6385:
--------------------------------------------

             Summary: 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


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)

Reply via email to