Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-1182

Apache Samza build status has been failing due to flaky tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.13.0
    • None
    • None

    Description

      There are a couple of flaky tests that are failing all our Jenkin builds - PR check validation and post-commit build. We will comment it out until the tests are fixed.
      testProcessInOrder FAILED
      java.lang.AssertionError: expected:<2> but was:<1>
      at org.junit.Assert.fail(Assert.java:91)
      at org.junit.Assert.failNotEquals(Assert.java:645)
      at org.junit.Assert.assertEquals(Assert.java:126)
      at org.junit.Assert.assertEquals(Assert.java:470)
      at org.junit.Assert.assertEquals(Assert.java:454)
      at org.apache.samza.task.TestAsyncRunLoop.testProcessInOrder(TestAsyncRunLoop.java:248)

      testCommitBehaviourWhenAsyncCommitIsEnabled FAILED
      java.lang.AssertionError: expected:<3> but was:<406>
      at org.junit.Assert.fail(Assert.java:91)
      at org.junit.Assert.failNotEquals(Assert.java:645)
      at org.junit.Assert.assertEquals(Assert.java:126)
      at org.junit.Assert.assertEquals(Assert.java:470)
      at org.junit.Assert.assertEquals(Assert.java:454)
      at org.apache.samza.task.TestAsyncRunLoop.testCommitBehaviourWhenAsyncCommitIsEnabled(TestAsyncRunLoop.java:579)
      shouldDeleteTaskStoreWhenTaskPreferredStoreIsNotLocalHost FAILED
      junit.framework.AssertionFailedError: expected:<2> but was:<1>
      at junit.framework.Assert.fail(Assert.java:57)
      at junit.framework.Assert.failNotEquals(Assert.java:329)
      at junit.framework.Assert.assertEquals(Assert.java:78)
      at junit.framework.Assert.assertEquals(Assert.java:159)
      at junit.framework.Assert.assertEquals(Assert.java:166)
      at junit.framework.TestCase.assertEquals(TestCase.java:324)
      at org.apache.samza.monitor.TestLocalStoreMonitor.shouldDeleteTaskStoreWhenTaskPreferredStoreIsNotLocalHost(TestLocalStoreMonitor.java:144)

      shouldDeleteLocalTaskStoreWhenItHasNoOffsetFile FAILED
      junit.framework.AssertionFailedError: expected:<2> but was:<1>
      at junit.framework.Assert.fail(Assert.java:57)
      at junit.framework.Assert.failNotEquals(Assert.java:329)
      at junit.framework.Assert.assertEquals(Assert.java:78)
      at junit.framework.Assert.assertEquals(Assert.java:159)
      at junit.framework.Assert.assertEquals(Assert.java:166)
      at junit.framework.TestCase.assertEquals(TestCase.java:324)
      at org.apache.samza.monitor.TestLocalStoreMonitor.shouldDeleteLocalTaskStoreWhenItHasNoOffsetFile(TestLocalStoreMonitor.java:91)

      We will fix these tests in separate JIRAs.

      Attachments

        Issue Links

          Activity

            People

              spvenkat Shanthoosh Venkataraman
              navina Navina Ramesh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: