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

Steve Loughran commented on HADOOP-16650:
-----------------------------------------

{code}
[ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.626 s 
<<< FAILURE! - in org.apache.hadoop.fs.s3a.ITestS3AClosedFS
[ERROR] org.apache.hadoop.fs.s3a.ITestS3AClosedFS  Time elapsed: 0.485 s  <<< 
FAILURE!
java.lang.AssertionError: 
[The threads at the end of the test run] 
Expecting :
 <["Finalizer",
    "JUnit",
    "JUnit-testClosedOpen",
    "MutableQuantiles-0",
    "Reference Handler",
    "Signal Dispatcher",
    "org.apache.hadoop.fs.FileSystem$Statistics$StatisticsDataReferenceCleaner",
    "process reaper",
    "surefire-forkedjvm-command-thread",
    "surefire-forkedjvm-ping-30s"]>
to be subset of
 <["Attach Listener",
    "Finalizer",
    "JUnit",
    "MutableQuantiles-0",
    "Reference Handler",
    "Signal Dispatcher",
    "java-sdk-http-connection-reaper",
    "java-sdk-progress-listener-callback-thread",
    "org.apache.hadoop.fs.FileSystem$Statistics$StatisticsDataReferenceCleaner",
    "process reaper",
    "surefire-forkedjvm-command-thread",
    "surefire-forkedjvm-ping-30s"]>
but found these extra elements:
 <["JUnit-testClosedOpen"]>
        at 
org.apache.hadoop.fs.s3a.ITestS3AClosedFS.checkForThreadLeakage(ITestS3AClosedFS.java:61)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
        at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
        at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
{code}

> ITestS3AClosedFS failing -junit test thread
> -------------------------------------------
>
>                 Key: HADOOP-16650
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16650
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3, test
>    Affects Versions: 3.3.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Blocker
>
> The new thread leak test in HADOOP-16570 is failing for me in test runs; need 
> to strip out all Junit-* threads for the filter to be reliable



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to