Uploaded image for project: 'Metron'
  1. Metron
  2. METRON-2088 Support HDP 3.1.0
  3. METRON-2252

PcapTopologyIntegrationTest Intermittent Failures

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      On the feature/METRON-2088-support-hdp-3.1 feature branch, the PcapTopologyIntegrationTest is failing intermittently.

      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running org.apache.metron.pcap.integration.PcapTopologyIntegrationTest
      Setting up test components
      Formatting using clusterid: testClusterID
      Sent pcap data: 20
      Tearing down test infrastructure
      Stopping runner
      Done stopping runner
      Clearing output directories
      Finished
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 20.894 sec <<< FAILURE! - in org.apache.metron.pcap.integration.PcapTopologyIntegrationTest
      org.apache.metron.pcap.integration.PcapTopologyIntegrationTest  Time elapsed: 20.893 sec  <<< FAILURE!
      java.lang.AssertionError: expected:<20> but was:<1>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:834)
      	at org.junit.Assert.assertEquals(Assert.java:645)
      	at org.junit.Assert.assertEquals(Assert.java:631)
      	at org.apache.metron.pcap.integration.PcapTopologyIntegrationTest$4.send(PcapTopologyIntegrationTest.java:165)
      	at org.apache.metron.pcap.integration.PcapTopologyIntegrationTest.setupTopology(PcapTopologyIntegrationTest.java:269)
      	at org.apache.metron.pcap.integration.PcapTopologyIntegrationTest.setupAll(PcapTopologyIntegrationTest.java:150)
      	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.RunBefores.evaluate(RunBefores.java:24)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      
      
      Results :
      
      Failed tests: 
        PcapTopologyIntegrationTest.setupAll:150->setupTopology:269 expected:<20> but was:<1>
      
      
      
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
      
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] Metron ............................................. SUCCESS [  0.648 s]
      [INFO] metron-stellar ..................................... SUCCESS [  0.198 s]
      [INFO] stellar-common ..................................... SUCCESS [ 17.301 s]
      [INFO] metron-analytics ................................... SUCCESS [  0.071 s]
      [INFO] metron-maas-common ................................. SUCCESS [  7.721 s]
      [INFO] metron-platform .................................... SUCCESS [  0.050 s]
      [INFO] metron-zookeeper ................................... SUCCESS [  0.046 s]
      [INFO] metron-test-utilities .............................. SUCCESS [  0.516 s]
      [INFO] metron-integration-test ............................ SUCCESS [  0.401 s]
      [INFO] metron-maas-service ................................ SUCCESS [01:01 min]
      [INFO] metron-common ...................................... SUCCESS [ 56.376 s]
      [INFO] metron-statistics .................................. SUCCESS [  2.104 s]
      [INFO] metron-common-streaming ............................ SUCCESS [  0.013 s]
      [INFO] metron-common-storm ................................ SUCCESS [  0.049 s]
      [INFO] metron-hbase ....................................... SUCCESS [  0.014 s]
      [INFO] metron-hbase-common ................................ SUCCESS [  3.544 s]
      [INFO] metron-enrichment .................................. SUCCESS [  0.079 s]
      [INFO] metron-enrichment-common ........................... SUCCESS [  3.109 s]
      [INFO] metron-writer ...................................... SUCCESS [  0.011 s]
      [INFO] metron-writer-common ............................... SUCCESS [  0.055 s]
      [INFO] metron-writer-storm ................................ SUCCESS [  0.575 s]
      [INFO] metron-storm-kafka-override ........................ SUCCESS [  0.075 s]
      [INFO] metron-storm-kafka ................................. SUCCESS [  0.043 s]
      [INFO] metron-profiler-common ............................. SUCCESS [  0.039 s]
      [INFO] metron-profiler-client ............................. SUCCESS [  0.056 s]
      [INFO] metron-profiler-storm .............................. SUCCESS [05:24 min]
      [INFO] metron-profiler-spark .............................. SUCCESS [ 38.310 s]
      [INFO] metron-profiler-repl ............................... SUCCESS [  0.036 s]
      [INFO] metron-hbase-client ................................ SUCCESS [  0.028 s]
      [INFO] metron-enrichment-storm ............................ SUCCESS [01:14 min]
      [INFO] metron-indexing .................................... SUCCESS [  0.012 s]
      [INFO] metron-indexing-common ............................. SUCCESS [  1.820 s]
      [INFO] metron-solr ........................................ SUCCESS [  0.014 s]
      [INFO] metron-solr-common ................................. SUCCESS [04:59 min]
      [INFO] metron-indexing-storm .............................. SUCCESS [ 28.391 s]
      [INFO] metron-solr-storm .................................. SUCCESS [ 39.928 s]
      [INFO] metron-job ......................................... SUCCESS [  0.030 s]
      [INFO] metron-pcap ........................................ SUCCESS [  0.071 s]
      [INFO] metron-pcap-backend ................................ FAILURE [ 21.839 s]
      
      

        Attachments

          Activity

            People

            • Assignee:
              nickwallen Nick Allen
              Reporter:
              nickwallen Nick Allen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m