Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-6385

LintTest fails when run in source distribution

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.36.0
    • 1.37.0
    • None

    Description

      Steps to reproduce:

      1. Download https://dist.apache.org/repos/dist/dev/calcite/apache-calcite-1.37.0-rc0/apache-calcite-1.37.0-src.tar.gz
      2. tar -xvf apache-calcite-1.37.0-src.tar.gz
      3. cd apache-calcite-1.37.0-src
      4. /opt/gradle/gradle-7.6.1/bin/gradle cleanTest :core:test --tests LintTest
      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
      

      Attachments

        Issue Links

          Activity

            People

              zabetak Stamatis Zampetakis
              zabetak Stamatis Zampetakis
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: