You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2016/10/12 14:29:20 UTC

[jira] [Commented] (HADOOP-13713) ITestS3AContractRootDir.testRmEmptyRootDirNonRecursive failing intermittently

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

Steve Loughran commented on HADOOP-13713:
-----------------------------------------

Initial failure at end of a parallel test run

{code}
Failed tests: 
  ITestS3AContractRootDir>AbstractContractRootDirectoryTest.testRmEmptyRootDirNonRecursive:97->Assert.fail:88 Deletion of child entries failed, still have2
  s3a://stevel-ireland/fork-7
  s3a://stevel-ireland/fork-8
{code}

immediate rerun of test only, with the parallell test profile still enabled
{code}
mvn -T 1C integration-test  -Dtest=moo -Dparallel-tests -DtestsThreadCount=8 -Dit.test=ITestS3AContractRootDir
{code}

outcome
{code}
  testRmEmptyRootDirNonRecursive(org.apache.hadoop.fs.contract.s3a.ITestS3AContractRootDir)  Time elapsed: 0.863 sec  <<< FAILURE!
  java.lang.AssertionError: Deletion of child entries failed, still have1
    s3a://stevel-ireland/fork-1

  	at org.junit.Assert.fail(Assert.java:88)
  	at org.apache.hadoop.fs.contract.AbstractContractRootDirectoryTest.testRmEmptyRootDirNonRecursive(AbstractContractRootDirectoryTest.java:97)
  	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:47)
  	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  	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:55)
  	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)

{code}

Next rerun: all well

> ITestS3AContractRootDir.testRmEmptyRootDirNonRecursive failing intermittently
> -----------------------------------------------------------------------------
>
>                 Key: HADOOP-13713
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13713
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 2.8.0
>         Environment: s3 ireland
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>
> intermittent failure of {{ITestS3AContractRootDir.testRmEmptyRootDirNonRecursive}} surfacing in HADOOP-12774 test run.
> This is a test which came in with HADOOP-12977, one test which deletes all children of the root dir, then verifies that they are gone. Although it tested happily during development, the sightings of two transient failures before it worked implied that it's either got some race condition with previous tests and/or maven build, or we are seeing listing inconsistency.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org