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 2015/11/23 13:49:11 UTC
[jira] [Commented] (HADOOP-12590) TestCompressorDecompressor
failing without stack traces
[ https://issues.apache.org/jira/browse/HADOOP-12590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15022045#comment-15022045 ]
Steve Loughran commented on HADOOP-12590:
-----------------------------------------
Same for the other test
{code}
org.apache.hadoop.io.compress.TestCompressorDecompressor.testCompressorDecompressorWithExeedBufferLimit
Failing for the past 6 builds (Since Failed#1186 )
Took 60 ms.
Error Message
testCompressorDecompressorWithExeedBufferLimit error !!!java.lang.NullPointerException
Stacktrace
java.lang.AssertionError: testCompressorDecompressorWithExeedBufferLimit error !!!java.lang.NullPointerException
at org.junit.Assert.fail(Assert.java:88)
at org.apache.hadoop.io.compress.TestCompressorDecompressor.testCompressorDecompressorWithExeedBufferLimit(TestCompressorDecompressor.java:91)
Standard Output
2015-11-23 11:47:39,540 WARN compress.CompressDecompressTester (CompressDecompressTester.java:isNativeSnappyLoadable(87)) - Snappy native library is available
2015-11-23 11:47:39,540 INFO compress.CompressDecompressTester (CompressDecompressTester.java:isNativeSnappyLoadable(92)) - Snappy native library loaded
{code}
As well as the root cause, the test need to have their try/catch logic cut; JUnit will handle the exceptions being raised itself
> TestCompressorDecompressor failing without stack traces
> -------------------------------------------------------
>
> Key: HADOOP-12590
> URL: https://issues.apache.org/jira/browse/HADOOP-12590
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Affects Versions: 2.8.0
> Environment: jenkins
> Reporter: Steve Loughran
> Priority: Critical
>
> Jenkins failing on {{TestCompressorDecompressor}}.
> The exception is being caught and converted to a fail *so there is no stack trace of any value*
> {code}
> testCompressorDecompressor error !!!java.lang.NullPointerException
> Stacktrace
> java.lang.AssertionError: testCompressorDecompressor error !!!java.lang.NullPointerException
> at org.junit.Assert.fail(Assert.java:88)
> at org.apache.hadoop.io.compress.TestCompressorDecompressor.testCompressorDecompressor(TestCompressorDecompressor.java:69)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)