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

Steve Loughran commented on HADOOP-16476:
-----------------------------------------

Seen this too, while some network things were playing up

Two point:
* Whole test to 300 seconds; locking up one of my 12 threads for 5 minutes. 
Retrying more will make the slow tests even slower
* Do we need to run these tests *at all* 

If we do want to retain this test, let's declare it a scale test

{code}
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 300.816 
s <<< FAILURE! - in org.apache.hadoop.fs.s3a.s3guard.ITestS3GuardConcurrentOps
[ERROR] 
testConcurrentTableCreations(org.apache.hadoop.fs.s3a.s3guard.ITestS3GuardConcurrentOps)
  Time elapsed: 300.012 s  <<< ERROR!
java.lang.Exception: test timed out after 300000 milliseconds
        at java.lang.Thread.sleep(Native Method)
        at 
com.amazonaws.waiters.FixedDelayStrategy.delayBeforeNextRetry(FixedDelayStrategy.java:45)
        at 
com.amazonaws.waiters.WaiterExecution.safeCustomDelay(WaiterExecution.java:118)
        at 
com.amazonaws.waiters.WaiterExecution.pollResource(WaiterExecution.java:82)
        at com.amazonaws.waiters.WaiterImpl.run(WaiterImpl.java:88)
        at 
com.amazonaws.services.dynamodbv2.document.Table.waitForDelete(Table.java:502)
        at 
org.apache.hadoop.fs.s3a.s3guard.ITestS3GuardConcurrentOps.deleteTable(ITestS3GuardConcurrentOps.java:77)
        at 
org.apache.hadoop.fs.s3a.s3guard.ITestS3GuardConcurrentOps.testConcurrentTableCreations(ITestS3GuardConcurrentOps.java:168)
        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.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)

{code}

> Intermittent failure of ITestS3GuardConcurrentOps#testConcurrentTableCreations
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-16476
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16476
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 3.3.0
>            Reporter: Gabor Bota
>            Priority: Minor
>
> Test is failing intermittently. One possible solution would be to wait 
> (retry) more because the table will be deleted eventually - it's not there 
> after the whole test run.
> {noformat}
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 142.471 s <<< FAILURE! - in 
> org.apache.hadoop.fs.s3a.s3guard.ITestS3GuardConcurrentOps
> [ERROR] 
> testConcurrentTableCreations(org.apache.hadoop.fs.s3a.s3guard.ITestS3GuardConcurrentOps)
>   Time elapsed: 142.286 s  <<< ERROR!
> java.lang.IllegalArgumentException: Table 
> s3guard.test.testConcurrentTableCreations-1265635747 is not deleted.
>       at 
> com.amazonaws.services.dynamodbv2.document.Table.waitForDelete(Table.java:505)
>       at 
> org.apache.hadoop.fs.s3a.s3guard.ITestS3GuardConcurrentOps.deleteTable(ITestS3GuardConcurrentOps.java:87)
>       at 
> org.apache.hadoop.fs.s3a.s3guard.ITestS3GuardConcurrentOps.testConcurrentTableCreations(ITestS3GuardConcurrentOps.java:178)
>       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.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.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
>       at 
> org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       at java.lang.Thread.run(Thread.java:748)
> Caused by: com.amazonaws.waiters.WaiterTimedOutException: Reached maximum 
> attempts without transitioning to the desired state
>       at 
> com.amazonaws.waiters.WaiterExecution.pollResource(WaiterExecution.java:86)
>       at com.amazonaws.waiters.WaiterImpl.run(WaiterImpl.java:88)
>       at 
> com.amazonaws.services.dynamodbv2.document.Table.waitForDelete(Table.java:502)
>       ... 16 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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

Reply via email to