chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Yang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CHUKWA-716) Frequent unit test failures org.apache.hadoop.chukwa.inputtools.TestInputFormat.testInputFormatIllegalRegex
Date Fri, 04 Jul 2014 01:48:33 GMT

     [ https://issues.apache.org/jira/browse/CHUKWA-716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eric Yang updated CHUKWA-716:
-----------------------------

    Attachment: CHUKWA-716.patch

Fixed test case or run in linear order, and also fixed undefined system variable for test
cases.

> Frequent unit test failures org.apache.hadoop.chukwa.inputtools.TestInputFormat.testInputFormatIllegalRegex
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CHUKWA-716
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-716
>             Project: Chukwa
>          Issue Type: Bug
>    Affects Versions: 0.6.0
>         Environment: Ubuntu Linux + Java 6.
>            Reporter: Eric Yang
>             Fix For: 0.6.0
>
>         Attachments: CHUKWA-716.patch
>
>
> Frequent test case failure in Jenkins.
> Test case 1:
> org.apache.hadoop.chukwa.inputtools.TestInputFormat.testInputFormatIllegalRegex
> Failing for the past 1 build (Since Failed#491 )
> Took 0.5 sec.
> Error Message
> IO exception java.io.FileNotFoundException: File file:/tmp/tmpSeqFile does not exist.
> Stacktrace
> junit.framework.AssertionFailedError: IO exception java.io.FileNotFoundException: File
file:/tmp/tmpSeqFile does not exist.
> 	at junit.framework.Assert.fail(Assert.java:50)
> 	at org.apache.hadoop.chukwa.inputtools.TestInputFormat.testInputFormatIllegalRegex(TestInputFormat.java:105)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)
> 	at junit.framework.TestResult$1.protect(TestResult.java:110)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.framework.TestResult.run(TestResult.java:113)
> 	at junit.framework.TestCase.run(TestCase.java:124)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:243)
> 	at junit.framework.TestSuite.run(TestSuite.java:238)
> 	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
> 	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
> 	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
> 	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
> 	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:81)
> 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message