You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Shanthoosh Venkataraman (JIRA)" <ji...@apache.org> on 2019/03/16 18:29:00 UTC

[jira] [Updated] (SAMZA-2128) Fix samza-sql flaky tests.

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

Shanthoosh Venkataraman updated SAMZA-2128:
-------------------------------------------
    Description: 
While doing the release validation for samza 1.1 release, we observed that some test-cases in samza-sql module were flaky. Here're the stacktraces emitted from failed gradle build:


{code:java}
testEndToEndStreamTableInnerJoinWithUdf FAILED
    java.lang.AssertionError: expected:<20> but was:<19>
        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.samza.test.samzasql.TestSamzaSqlEndToEnd.testEndToEndStreamTableInnerJoinWithUdf(TestSamzaSqlEndToEnd.java:517)

testSourceEndToEndWithKeyWithNullForeignKeys FAILED
    java.lang.AssertionError: expected:<10> but was:<0>
        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.samza.test.samzasql.TestSamzaSqlRemoteTable.testSourceEndToEndWithKeyWithNullForeignKeys(TestSamzaSqlRemoteTable.java:181)


testSourceEndToEndWithKey FAILED
    java.lang.AssertionError: expected:<20> but was:<0>
        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.samza.test.samzasql.TestSamzaSqlRemoteTable.testSourceEndToEndWithKey(TestSamzaSqlRemoteTable.java:118)

testEndToEndFanOut FAILED
    java.lang.AssertionError: expected:<40> but was:<0>
        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.samza.test.samzasql.TestSamzaSqlEndToEnd.testEndToEndFanOut(TestSamzaSqlEndToEnd.java:256)        
{code}

This JIRA tracks the work required for fixing the flaky samza-sql integration tests


  was:
While doing the release validation for samza 1.1 release, we observed that some test-cases in samza-sql module were flaky. Here're the stacktraces emitted from failed gradle build:


{code:java}
testEndToEndStreamTableInnerJoinWithUdf FAILED
    java.lang.AssertionError: expected:<20> but was:<19>
        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.samza.test.samzasql.TestSamzaSqlEndToEnd.testEndToEndStreamTableInnerJoinWithUdf(TestSamzaSqlEndToEnd.java:517)

testSourceEndToEndWithKeyWithNullForeignKeys FAILED
    java.lang.AssertionError: expected:<10> but was:<0>
        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.samza.test.samzasql.TestSamzaSqlRemoteTable.testSourceEndToEndWithKeyWithNullForeignKeys(TestSamzaSqlRemoteTable.java:181)


testSourceEndToEndWithKey FAILED
    java.lang.AssertionError: expected:<20> but was:<0>
        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.samza.test.samzasql.TestSamzaSqlRemoteTable.testSourceEndToEndWithKey(TestSamzaSqlRemoteTable.java:118)

testEndToEndFanOut FAILED
    java.lang.AssertionError: expected:<40> but was:<0>
        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.samza.test.samzasql.TestSamzaSqlEndToEnd.testEndToEndFanOut(TestSamzaSqlEndToEnd.java:256)        
{code}

This JIRA tracks the work required for fix the samza-sql integration tests



> Fix samza-sql flaky tests.
> --------------------------
>
>                 Key: SAMZA-2128
>                 URL: https://issues.apache.org/jira/browse/SAMZA-2128
>             Project: Samza
>          Issue Type: Task
>            Reporter: Shanthoosh Venkataraman
>            Assignee: Aditya
>            Priority: Major
>
> While doing the release validation for samza 1.1 release, we observed that some test-cases in samza-sql module were flaky. Here're the stacktraces emitted from failed gradle build:
> {code:java}
> testEndToEndStreamTableInnerJoinWithUdf FAILED
>     java.lang.AssertionError: expected:<20> but was:<19>
>         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.samza.test.samzasql.TestSamzaSqlEndToEnd.testEndToEndStreamTableInnerJoinWithUdf(TestSamzaSqlEndToEnd.java:517)
> testSourceEndToEndWithKeyWithNullForeignKeys FAILED
>     java.lang.AssertionError: expected:<10> but was:<0>
>         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.samza.test.samzasql.TestSamzaSqlRemoteTable.testSourceEndToEndWithKeyWithNullForeignKeys(TestSamzaSqlRemoteTable.java:181)
> testSourceEndToEndWithKey FAILED
>     java.lang.AssertionError: expected:<20> but was:<0>
>         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.samza.test.samzasql.TestSamzaSqlRemoteTable.testSourceEndToEndWithKey(TestSamzaSqlRemoteTable.java:118)
> testEndToEndFanOut FAILED
>     java.lang.AssertionError: expected:<40> but was:<0>
>         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.samza.test.samzasql.TestSamzaSqlEndToEnd.testEndToEndFanOut(TestSamzaSqlEndToEnd.java:256)        
> {code}
> This JIRA tracks the work required for fixing the flaky samza-sql integration tests



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)