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 2017/11/17 10:43:00 UTC

[jira] [Commented] (HADOOP-15048) ITestNativeAzureFileSystemLive.testLeaseAsDistributedLock assert failure in parallel run

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

Steve Loughran commented on HADOOP-15048:
-----------------------------------------

Actually, looking at the stack trace, a suspend/resume must have taken place during the run and it was just a wraparound of currentTimeMillis after 1h20. A correct failure, though reporting could be improved at some point. wontfix for now


{code}
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.039 sec - in org.apache.hadoop.fs.azure.ITestFileSystemOperationsExceptionHandlingMultiThreaded
Running org.apache.hadoop.fs.azure.ITestFileSystemOperationsWithThreads
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 240.068 sec - in org.apache.hadoop.fs.azure.ITestFileSystemOperationsWithThreads
Running org.apache.hadoop.fs.azure.ITestNativeAzureFileSystemLive
Tests run: 51, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4,634.474 sec <<< FAILURE! - in org.apache.hadoop.fs.azure.ITestNativeAzureFileSystemLive
testLeaseAsDistributedLock(org.apache.hadoop.fs.azure.ITestNativeAzureFileSystemLive)  Time elapsed: 1,245.166 sec  <<< FAILURE!
java.lang.AssertionError: null
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	at org.apache.hadoop.fs.azure.NativeAzureFileSystemBaseTest.testLeaseAsDistributedLock(NativeAzureFileSystemBaseTest.java:1643)
	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}




> ITestNativeAzureFileSystemLive.testLeaseAsDistributedLock assert failure in parallel run
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-15048
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15048
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure
>    Affects Versions: 3.1.0
>            Reporter: Steve Loughran
>            Priority: Minor
>
> ITestNativeAzureFileSystemLive.testLeaseAsDistributedLock failed with assert(irstEndTime < secondStartTime)
> Fairly uniformative stack trace on an assert failure, test run {{-Dparallel-tests -DtestsThreadCount=10  -Dscale}}
> Irrespective of root cause, exception needs changing to provide enough information; include raised exceptions in thrown failures, etc.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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