Uploaded image for project: 'Metron'
  1. Metron
  2. METRON-2166

FileFilterUtilTest.test_getPaths_leftEdge:116 expected:<1> but was:<2>

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Next + 1
    • Labels:
      None

      Description

      This seems to be an intermittent test failure.  For example, see https://api.travis-ci.org/v3/job/551324929/log.txt

      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.298 sec - in org.apache.metron.enrichment.converter.EnrichmentConverterTest
      Running org.apache.metron.enrichment.stellar.ObjectGetTest
      Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.95 sec - in org.apache.metron.pcap.PcapHelperTest
      Running org.apache.metron.pcap.mr.PcapJobTest
      Running org.apache.metron.profiler.client.HBaseProfilerClientTest
      Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.33 sec - in org.apache.metron.pcap.mr.PcapJobTest
      Running org.apache.metron.pcap.mr.OutputDirFormatterTest
      Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec - in org.apache.metron.pcap.mr.OutputDirFormatterTest
      Running org.apache.metron.pcap.mr.FileFilterUtilTest
      Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.114 sec <<< FAILURE! - in org.apache.metron.pcap.mr.FileFilterUtilTest
      test_getPaths_leftEdge(org.apache.metron.pcap.mr.FileFilterUtilTest)  Time elapsed: 0.026 sec  <<< FAILURE!
      java.lang.AssertionError: expected:<1> but was:<2>
      	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.mr.FileFilterUtilTest.test_getPaths_leftEdge(FileFilterUtilTest.java:116)
      	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.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	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: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)
      
      Running org.apache.metron.pcap.PcapPackerComparatorTest
      Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.112 sec - in org.apache.metron.pcap.PcapPackerComparatorTest
      Running org.apache.metron.pcap.pattern.ByteArrayMatchingUtilTest
      Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.819 sec - in org.apache.metron.profiler.client.HBaseProfilerClientTest
      Running org.apache.metron.profiler.client.stellar.IntervalPredicateTest
      Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec - in org.apache.metron.profiler.client.stellar.IntervalPredicateTest
      Running org.apache.metron.profiler.client.stellar.WindowLookbackTest
      Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.367 sec - in org.apache.metron.enrichment.stellar.ObjectGetTest
      Running org.apache.metron.enrichment.stellar.AsnEnrichmentFunctionsTest
      Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.988 sec - in org.apache.metron.pcap.pattern.ByteArrayMatchingUtilTest
      Running org.apache.metron.pcap.PcapPagesTest
      Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec - in org.apache.metron.pcap.PcapPagesTest
      Running org.apache.metron.pcap.utils.PcapUtilsTest
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec - in org.apache.metron.pcap.utils.PcapUtilsTest
      
      Results :
      
      Failed tests: 
        FileFilterUtilTest.test_getPaths_leftEdge:116 expected:<1> but was:<2>
      
      
      
      Tests run: 54, Failures: 1, Errors: 0, Skipped: 0

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mmiklavcic Michael Miklavcic
                Reporter:
                nickwallen Nick Allen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 0.5h
                  0.5h