Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-5606

Some tests fail after creating a fresh clone

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.9.0, 1.11.0
    • 1.12.0
    • Tools, Build & Test
    • None

    Description

      I cloned Drill from Github using this url: https://github.com/apache/drill.git and I didn't change the branch afterwards, so I'm using master.

      Afterwards, I ran the following command

      mvn clean install
      

      I attached the full log but here is a snippet indicating the failing tests:

      Failed tests: 
        TestExtendedTypes.checkReadWriteExtended:60 expected:<...ateDay" : "1997-07-1[6"
        },
        "drill_timestamp" : {
          "$date" : "2009-02-23T08:00:00.000Z"
        },
        "time" : {
          "$time" : "19:20:30.450Z"
        },
        "interval" : {
          "$interval" : "PT26.400S"
        },
        "integer" : {
          "$numberLong" : 4
        },
        "inner" : {
          "bin" : {
            "$binary" : "ZHJpbGw="
          },
          "drill_date" : {
            "$dateDay" : "1997-07-16]"
          },
          "drill_...> but was:<...ateDay" : "1997-07-1[5"
        },
        "drill_timestamp" : {
          "$date" : "2009-02-23T08:00:00.000Z"
        },
        "time" : {
          "$time" : "19:20:30.450Z"
        },
        "interval" : {
          "$interval" : "PT26.400S"
        },
        "integer" : {
          "$numberLong" : 4
        },
        "inner" : {
          "bin" : {
            "$binary" : "ZHJpbGw="
          },
          "drill_date" : {
            "$dateDay" : "1997-07-15]"
          },
          "drill_...>
      
      Tests in error: 
        TestCastFunctions.testToDateForTimeStamp:79 »  at position 0 column '`col`' mi...
        TestNewDateFunctions.testIsDate:61 »  After matching 0 records, did not find e...
      
      Tests run: 2128, Failures: 1, Errors: 2, Skipped: 139
      
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] Apache Drill Root POM .............................. SUCCESS [ 19.805 s]
      [INFO] tools/Parent Pom ................................... SUCCESS [  0.605 s]
      [INFO] tools/freemarker codegen tooling ................... SUCCESS [  7.077 s]
      [INFO] Drill Protocol ..................................... SUCCESS [  7.959 s]
      [INFO] Common (Logical Plan, Base expressions) ............ SUCCESS [  7.734 s]
      [INFO] Logical Plan, Base expressions ..................... SUCCESS [  8.099 s]
      [INFO] exec/Parent Pom .................................... SUCCESS [  0.575 s]
      [INFO] exec/memory/Parent Pom ............................. SUCCESS [  0.513 s]
      [INFO] exec/memory/base ................................... SUCCESS [  4.666 s]
      [INFO] exec/rpc ........................................... SUCCESS [  2.684 s]
      [INFO] exec/Vectors ....................................... SUCCESS [01:11 min]
      [INFO] contrib/Parent Pom ................................. SUCCESS [  0.547 s]
      [INFO] contrib/data/Parent Pom ............................ SUCCESS [  0.496 s]
      [INFO] contrib/data/tpch-sample-data ...................... SUCCESS [  2.698 s]
      [INFO] exec/Java Execution Engine ......................... FAILURE [19:09 min]
      

      Attachments

        1. failing_tests.tar.gz
          3 kB
          Mohamed Mohsen
        2. full_log.txt.tar.gz
          123 kB
          Mohamed Mohsen
        3. surefire-reports.tar.gz
          68 kB
          Mohamed Mohsen

        Activity

          People

            Unassigned Unassigned
            mgelbana Mohamed Mohsen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: