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

Steve Loughran commented on HADOOP-17797:
-----------------------------------------

Test came from HADOOP-17475; but its the "before" iterator which is being 
stressed. Old, stable, code.

{code}
[INFO] Running org.apache.hadoop.fs.azurebfs.ITestAbfsListStatusRemoteIterator
[ERROR] Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 63.582 
s <<< FAILURE! - in 
org.apache.hadoop.fs.azurebfs.ITestAbfsListStatusRemoteIterator
[ERROR] 
testWithAbfsIteratorDisabledWithoutHasNext(org.apache.hadoop.fs.azurebfs.ITestAbfsListStatusRemoteIterator)
  Time elapsed: 61.045 s  <<< FAILURE!
org.junit.ComparisonFailure: [After removing every iterm found from the 
iterator, there should be no more elements in the fileNames] expected:<[0]> but 
was:<[1]>
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at 
org.apache.hadoop.fs.azurebfs.ITestAbfsListStatusRemoteIterator.testWithAbfsIteratorDisabledWithoutHasNext(ITestAbfsListStatusRemoteIterator.java:184)
        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:59)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
        at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
        at 
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
        at 
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.lang.Thread.run(Thread.java:748)

[INFO] Running org.apache.hadoop.fs.azurebfs.ITestSh
{code}

> transient faiure of 
> ITestAbfsListStatusRemoteIterator.testWithAbfsIteratorDisabledWithoutHasNext
> ------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-17797
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17797
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure
>    Affects Versions: 3.4.0
>            Reporter: Steve Loughran
>            Priority: Minor
>
> assert failure of 
> {{ITestAbfsListStatusRemoteIterator.estWithAbfsIteratorDisabledWithoutHasNext}}
>   on a (probably) overloaded parallel test run.
> Did not occur standalone. 
> Before identifying/fixing causes, the test case could be improved for more 
> informative error reporting
> * report when the fileNames.remove(pathStr) call returned false: the listing 
> had found an  unexpected value
> * tune the assert which did fail to include the unknown element.
> This may just be a bug from duplicate filenames, in which case the patch in 
> progress for that should make it "go away"



--
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