Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-1491 Support for JDK 8
  3. DRILL-1489

Test failures in TestClassTransformation and TestTpchSingleMode under JDK 1.8.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6.0
    • Future
    • Execution - Codegen
    • None

    Description

      I downloaded the 0.6.0-rc1 source tarball, built and ran tests using "mvn install" under JDK 1.8 on mac os x.

      I got 1 error in TestClassTransformation and 3 errors in TestTpchSingleMode:

      Tests run: 23, Failures: 0, Errors: 3, Skipped: 7, Time elapsed: 124.805 sec <<< FAILURE! - in org.apache.drill.TestTpchSingleMode
      tpch04(org.apache.drill.TestTpchSingleMode)  Time elapsed: 50.01 sec  <<< ERROR!
      java.lang.Exception: test timed out after 50000 milliseconds
      	at sun.misc.Unsafe.park(Native Method)
      	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
      	at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
      	at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:997)
      	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1304)
      	at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:231)
      	at org.apache.drill.exec.client.PrintingResultsListener.await(PrintingResultsListener.java:96)
      	at org.apache.drill.BaseTestQuery.testRunAndPrint(BaseTestQuery.java:162)
      	at org.apache.drill.BaseTestQuery.test(BaseTestQuery.java:191)
      	at org.apache.drill.TestTpchSingleMode.testSingleMode(TestTpchSingleMode.java:32)
      	at org.apache.drill.TestTpchSingleMode.tpch04(TestTpchSingleMode.java:53)
      
      tpch16(org.apache.drill.TestTpchSingleMode)  Time elapsed: 50.004 sec  <<< ERROR!
      java.lang.Exception: test timed out after 50000 milliseconds
      	at sun.misc.Unsafe.park(Native Method)
      	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
      	at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
      	at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:997)
      	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1304)
      	at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:231)
      	at org.apache.drill.exec.client.PrintingResultsListener.await(PrintingResultsListener.java:96)
      	at org.apache.drill.BaseTestQuery.testRunAndPrint(BaseTestQuery.java:162)
      	at org.apache.drill.BaseTestQuery.test(BaseTestQuery.java:191)
      	at org.apache.drill.TestTpchSingleMode.testSingleMode(TestTpchSingleMode.java:32)
      	at org.apache.drill.TestTpchSingleMode.tpch16(TestTpchSingleMode.java:115)
      
      org.apache.drill.TestTpchSingleMode  Time elapsed: 10.107 sec  <<< ERROR!
      java.lang.IllegalStateException: Failure while trying to close allocator: Child level allocators not closed. Stack trace: 
      		java.lang.Thread.getStackTrace(Thread.java:1551)
      		org.apache.drill.exec.memory.TopLevelAllocator.getChildAllocator(TopLevelAllocator.java:115)
      		org.apache.drill.exec.ops.FragmentContext.<init>(FragmentContext.java:113)
      		org.apache.drill.exec.work.foreman.QueryManager.runFragments(QueryManager.java:100)
      		org.apache.drill.exec.work.foreman.Foreman.runPhysicalPlan(Foreman.java:410)
      		org.apache.drill.exec.work.foreman.Foreman.runSQL(Foreman.java:427)
      		org.apache.drill.exec.work.foreman.Foreman.run(Foreman.java:219)
      		org.apache.drill.exec.work.WorkManager$RunnableWrapper.run(WorkManager.java:250)
      		java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      		java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      		java.lang.Thread.run(Thread.java:744)
      
      	at org.apache.drill.exec.memory.TopLevelAllocator.close(TopLevelAllocator.java:148)
      	at org.apache.drill.exec.server.BootStrapContext.close(BootStrapContext.java:73)
      	at com.google.common.io.Closeables.close(Closeables.java:77)
      	at com.google.common.io.Closeables.closeQuietly(Closeables.java:108)
      	at org.apache.drill.exec.server.Drillbit.close(Drillbit.java:185)
      	at org.apache.drill.BaseTestQuery.closeClient(BaseTestQuery.java:125)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.lang.reflect.Method.invoke(Method.java:483)
      	at java.lang.reflect.Method.invoke(Method.java:483)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      
      
      Results :
      
      Tests in error: 
        TestClassTransformation.testJDKClassCompiler:67->compilationInnerClass:109 » IllegalArgument
        TestTpchSingleMode.tpch04:53->testSingleMode:32->BaseTestQuery.test:191->BaseTestQuery.testRunAndPrint:162 » 
        TestTpchSingleMode.tpch16:115->testSingleMode:32->BaseTestQuery.test:191->BaseTestQuery.testRunAndPrint:162 » 
        TestTpchSingleMode>BaseTestQuery.closeClient:125 » IllegalState Failure while ...
      

      Attachments

        1. hs_err_pid21519.log
          74 kB
          Julian Hyde

        Activity

          People

            Unassigned Unassigned
            julianhyde Julian Hyde
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: