You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@samza.apache.org by Milinda Pathirage <mp...@umail.iu.edu> on 2015/02/25 06:48:37 UTC

Test failure in samza-sql branch

Hi Devs,

Has anyone seen following test failure:

testShouldGetOldestNewestAndNextOffsets FAILED

    java.lang.AssertionError: expected:<0> but was:<null>

        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:145)

        at
org.apache.samza.system.kafka.TestKafkaSystemAdmin.testShouldGetOldestNewestAndNextOffsets(TestKafkaSystemAdmin.scala:239)


I got this on samza-sql branch.

Thanks

Milinda




-- 
Milinda Pathirage

PhD Student | Research Assistant
School of Informatics and Computing | Data to Insight Center
Indiana University

twitter: milindalakmal
skype: milinda.pathirage
blog: http://milinda.pathirage.org

Re: Test failure in samza-sql branch

Posted by Chris Riccomini <cr...@apache.org>.
Hey all,

I've opened:

  https://issues.apache.org/jira/browse/SAMZA-576

Likely some timing issue in the test with Kafka. This test is really an
integration test, masquerading as a JUnit test. We should investigate and
fix.

Cheers,
Chris

On Wed, Feb 25, 2015 at 10:39 AM, Yi Pan <ni...@gmail.com> wrote:

> Hi, Milinda,
>
> I have seen a similar intermittent test failure on my boxes as well, just
> did not have time to dig into it yet. It seems to be a timing issue in the
> unit test.
>
> Could you open a JIRA s.t. we don't forget it?
>
> -Yi
>
> On Wed, Feb 25, 2015 at 6:54 AM, Milinda Pathirage <mp...@umail.iu.edu>
> wrote:
>
> > Hi Chris,
> >
> > I think above is a intermittent issue. When I ran ./bin/check-all.sh this
> > morning, it worked.
> >
> > Thanks
> > Milinda
> >
> > On Wed, Feb 25, 2015 at 2:34 AM, Chris Riccomini <cr...@apache.org>
> > wrote:
> >
> > > Hey Milinda,
> > >
> > > No, I haven't seen this fail. Is this transient or does it happen every
> > > time? I ran a bin/check-all.sh after the merge this morning, and didn't
> > see
> > > any failures.
> > >
> > > Cheers,
> > > Chris
> > >
> > > On Tuesday, February 24, 2015, Milinda Pathirage <
> mpathira@umail.iu.edu>
> > > wrote:
> > >
> > > > Hi Devs,
> > > >
> > > > Has anyone seen following test failure:
> > > >
> > > > testShouldGetOldestNewestAndNextOffsets FAILED
> > > >
> > > >     java.lang.AssertionError: expected:<0> but was:<null>
> > > >
> > > >         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:145)
> > > >
> > > >         at
> > > >
> > > >
> > >
> >
> org.apache.samza.system.kafka.TestKafkaSystemAdmin.testShouldGetOldestNewestAndNextOffsets(TestKafkaSystemAdmin.scala:239)
> > > >
> > > >
> > > > I got this on samza-sql branch.
> > > >
> > > > Thanks
> > > >
> > > > Milinda
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Milinda Pathirage
> > > >
> > > > PhD Student | Research Assistant
> > > > School of Informatics and Computing | Data to Insight Center
> > > > Indiana University
> > > >
> > > > twitter: milindalakmal
> > > > skype: milinda.pathirage
> > > > blog: http://milinda.pathirage.org
> > > >
> > >
> >
> >
> >
> > --
> > Milinda Pathirage
> >
> > PhD Student | Research Assistant
> > School of Informatics and Computing | Data to Insight Center
> > Indiana University
> >
> > twitter: milindalakmal
> > skype: milinda.pathirage
> > blog: http://milinda.pathirage.org
> >
>

Re: Test failure in samza-sql branch

Posted by Yi Pan <ni...@gmail.com>.
Hi, Milinda,

I have seen a similar intermittent test failure on my boxes as well, just
did not have time to dig into it yet. It seems to be a timing issue in the
unit test.

Could you open a JIRA s.t. we don't forget it?

-Yi

On Wed, Feb 25, 2015 at 6:54 AM, Milinda Pathirage <mp...@umail.iu.edu>
wrote:

> Hi Chris,
>
> I think above is a intermittent issue. When I ran ./bin/check-all.sh this
> morning, it worked.
>
> Thanks
> Milinda
>
> On Wed, Feb 25, 2015 at 2:34 AM, Chris Riccomini <cr...@apache.org>
> wrote:
>
> > Hey Milinda,
> >
> > No, I haven't seen this fail. Is this transient or does it happen every
> > time? I ran a bin/check-all.sh after the merge this morning, and didn't
> see
> > any failures.
> >
> > Cheers,
> > Chris
> >
> > On Tuesday, February 24, 2015, Milinda Pathirage <mp...@umail.iu.edu>
> > wrote:
> >
> > > Hi Devs,
> > >
> > > Has anyone seen following test failure:
> > >
> > > testShouldGetOldestNewestAndNextOffsets FAILED
> > >
> > >     java.lang.AssertionError: expected:<0> but was:<null>
> > >
> > >         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:145)
> > >
> > >         at
> > >
> > >
> >
> org.apache.samza.system.kafka.TestKafkaSystemAdmin.testShouldGetOldestNewestAndNextOffsets(TestKafkaSystemAdmin.scala:239)
> > >
> > >
> > > I got this on samza-sql branch.
> > >
> > > Thanks
> > >
> > > Milinda
> > >
> > >
> > >
> > >
> > > --
> > > Milinda Pathirage
> > >
> > > PhD Student | Research Assistant
> > > School of Informatics and Computing | Data to Insight Center
> > > Indiana University
> > >
> > > twitter: milindalakmal
> > > skype: milinda.pathirage
> > > blog: http://milinda.pathirage.org
> > >
> >
>
>
>
> --
> Milinda Pathirage
>
> PhD Student | Research Assistant
> School of Informatics and Computing | Data to Insight Center
> Indiana University
>
> twitter: milindalakmal
> skype: milinda.pathirage
> blog: http://milinda.pathirage.org
>

Re: Test failure in samza-sql branch

Posted by Milinda Pathirage <mp...@umail.iu.edu>.
Hi Chris,

I think above is a intermittent issue. When I ran ./bin/check-all.sh this
morning, it worked.

Thanks
Milinda

On Wed, Feb 25, 2015 at 2:34 AM, Chris Riccomini <cr...@apache.org>
wrote:

> Hey Milinda,
>
> No, I haven't seen this fail. Is this transient or does it happen every
> time? I ran a bin/check-all.sh after the merge this morning, and didn't see
> any failures.
>
> Cheers,
> Chris
>
> On Tuesday, February 24, 2015, Milinda Pathirage <mp...@umail.iu.edu>
> wrote:
>
> > Hi Devs,
> >
> > Has anyone seen following test failure:
> >
> > testShouldGetOldestNewestAndNextOffsets FAILED
> >
> >     java.lang.AssertionError: expected:<0> but was:<null>
> >
> >         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:145)
> >
> >         at
> >
> >
> org.apache.samza.system.kafka.TestKafkaSystemAdmin.testShouldGetOldestNewestAndNextOffsets(TestKafkaSystemAdmin.scala:239)
> >
> >
> > I got this on samza-sql branch.
> >
> > Thanks
> >
> > Milinda
> >
> >
> >
> >
> > --
> > Milinda Pathirage
> >
> > PhD Student | Research Assistant
> > School of Informatics and Computing | Data to Insight Center
> > Indiana University
> >
> > twitter: milindalakmal
> > skype: milinda.pathirage
> > blog: http://milinda.pathirage.org
> >
>



-- 
Milinda Pathirage

PhD Student | Research Assistant
School of Informatics and Computing | Data to Insight Center
Indiana University

twitter: milindalakmal
skype: milinda.pathirage
blog: http://milinda.pathirage.org

Re: Test failure in samza-sql branch

Posted by Chris Riccomini <cr...@apache.org>.
Hey Milinda,

No, I haven't seen this fail. Is this transient or does it happen every
time? I ran a bin/check-all.sh after the merge this morning, and didn't see
any failures.

Cheers,
Chris

On Tuesday, February 24, 2015, Milinda Pathirage <mp...@umail.iu.edu>
wrote:

> Hi Devs,
>
> Has anyone seen following test failure:
>
> testShouldGetOldestNewestAndNextOffsets FAILED
>
>     java.lang.AssertionError: expected:<0> but was:<null>
>
>         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:145)
>
>         at
>
> org.apache.samza.system.kafka.TestKafkaSystemAdmin.testShouldGetOldestNewestAndNextOffsets(TestKafkaSystemAdmin.scala:239)
>
>
> I got this on samza-sql branch.
>
> Thanks
>
> Milinda
>
>
>
>
> --
> Milinda Pathirage
>
> PhD Student | Research Assistant
> School of Informatics and Computing | Data to Insight Center
> Indiana University
>
> twitter: milindalakmal
> skype: milinda.pathirage
> blog: http://milinda.pathirage.org
>