[ 
https://issues.apache.org/jira/browse/DRILL-1489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14158334#comment-14158334
 ] 

Aditya Kishore commented on DRILL-1489:
---------------------------------------

The test failed because of timeout. Unless there was another failure little 
early in the log, it is possible that we need to increase the timeout (50sec 
currently).

Or do you see another failure earlier in the log which we failed to propagate 
to foreman and fail the query?

> Test failures in TestClassTransformation and TestTpchSingleMode under JDK 1.8.
> ------------------------------------------------------------------------------
>
>                 Key: DRILL-1489
>                 URL: https://issues.apache.org/jira/browse/DRILL-1489
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Julian Hyde
>
> 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:
> {code}
> 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 ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to