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

Test case failures on Linux

    XMLWordPrintableJSON

Details

    Description

      <copied from dev list>
      I am getting unit test failures (NPEs) on my Linux VM on the latest master (commit: 8493713). I tried this multiple times (47 errors first time, 22 second time, 7 third time, 15 fourth time ..) on multiple machines.

      Some setup information:

      root@perfnode207:~/dev# cat /proc/version
      Linux version 3.2.0-76-generic (buildd@batsu) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #111-Ubuntu SMP Tue Jan 13 22:16:09 UTC 2015
      
      root@perfnode207:~/dev# java -version
      java version "1.7.0_75"
      OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~precise1)
      OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)
      
      root@perfnode207:~/dev# mvn --version
      Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T17:37:52+00:00)
      Maven home: /usr/share/maven3
      Java version: 1.7.0_75, vendor: Oracle Corporation
      Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
      Default locale: en_US, platform encoding: UTF-8
      OS name: "linux", version: "3.2.0-76-generic", arch: "amd64", family: "unix"
      

      And here’s how to replicate:

      root@perfnode207:~/dev# git clone https://github.com/apache/drill.git drill_master
      …
      root@perfnode207:~/dev# cd drill_master
      root@perfnode207:~/dev/drill_master# mvn clean install
      …
      Running org.apache.drill.TestTpchExplain#tpch12
      Exception (no rows returned): org.apache.drill.exec.rpc.RpcException: NullPointerException:
      
      Running org.apache.drill.TestTpchExplain#tpch13
      Exception (no rows returned): org.apache.drill.exec.rpc.RpcException: NullPointerException:
      
      Running org.apache.drill.TestTpchExplain#tpch14
      Exception (no rows returned): org.apache.drill.exec.rpc.RpcException: NullPointerException:
      
      Running org.apache.drill.TestTpchExplain#tpch16
      Exception (no rows returned): org.apache.drill.exec.rpc.RpcException: NullPointerException:
      …
      

      I have attached (as .json and .txt) the event from Lilith for the following test:

      Test Failed (d: 0 B(64.0 MiB), h: 2.8 MiB(534.0 MiB), nh: 237.7 KiB(65.3 MiB)): testEmptyResultSet(org.apache.drill.TestFrameworkTest)
      org.apache.drill.exec.rpc.RpcException NullPointerException: 
      at org.apache.drill.exec.rpc.user.QueryResultHandler.batchArrived(QueryResultHandler.java:157) ~[classes/:na]
      at org.apache.drill.exec.rpc.user.UserClient.handleReponse(UserClient.java:93) ~[classes/:na]
      

      Attachments

        1. DRILL-2572.1.patch.txt
          2 kB
          Sudheesh Katkam

        Activity

          People

            sudheeshkatkam Sudheesh Katkam
            sudheeshkatkam Sudheesh Katkam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: