metron-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (METRON-408) Intermittent Failures of Profile Integration Tests
Date Wed, 07 Sep 2016 16:25:20 GMT

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

ASF GitHub Bot commented on METRON-408:
---------------------------------------

GitHub user nickwallen reopened a pull request:

    https://github.com/apache/incubator-metron/pull/245

    METRON-408 Intermittent Failures of Profile Integration Tests

    [METRON-408](https://issues.apache.org/jira/browse/METRON-408)
    
    The profiler configuration was not being updated from Zookeeper correctly in all cases.
 After some period of time the configurations would be updated and the tests would work. 
But if this period of time was greater than 90 seconds, the amount of time the profile integration
tests wait, then the tests would fail.  
    
    In all cases, messages were being sent through Storm prior to the bolt actually receiving
the profiler configuration, which would cause the `ProfileSplitterBolt` to throw an exception
indicating that the configuration could not be found. This message `Fatal: Unable to find
valid profiler definition` was a symptom of the problem and occurred much more frequently
than the tests actually failed.
    
    Since this issue was intermittent, I cannot be sure it is completely gone, but I have
been unable to replicate the problem after these changes.  I also am unable to replicate the
`Fatal: Unable to find valid profiler definition` error after this fix.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nickwallen/incubator-metron METRON-408

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-metron/pull/245.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #245
    
----
commit d496b4b3a169f6224d5ab07927299277e3cc85b2
Author: Nick Allen <nick@nickallen.org>
Date:   2016-09-07T14:40:33Z

    METRON-408 Intermittent Failures of Profile Integration Tests

----


> Intermittent Failures of Profile Integration Tests 
> ---------------------------------------------------
>
>                 Key: METRON-408
>                 URL: https://issues.apache.org/jira/browse/METRON-408
>             Project: Metron
>          Issue Type: Bug
>            Reporter: Nick Allen
>            Assignee: Nick Allen
>
> {code}
> Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 104.015 sec <<<
FAILURE!
> testExample1(org.apache.metron.profiler.integration.ProfilerIntegrationTest)  Time elapsed:
27.212 sec  <<< ERROR!
> java.lang.IllegalStateException: No results found
> 	at org.apache.metron.profiler.integration.ProfilerIntegrationTest.readDouble(ProfilerIntegrationTest.java:231)
> 	at org.apache.metron.profiler.integration.ProfilerIntegrationTest.testExample1(ProfilerIntegrationTest.java:136)
> 	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:483)
> 	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.RunAfters.evaluate(RunAfters.java:27)
> 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
> 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
> 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
> 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
> 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
> 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
> 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
> 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
> 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
> 	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:483)
> 	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> 	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> 	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
> 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
> Results :
> Tests in error: 
>   testExample1(org.apache.metron.profiler.integration.ProfilerIntegrationTest): No results
found
> {code}



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

Mime
View raw message