You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Brian Hulette (Jira)" <ji...@apache.org> on 2020/08/11 20:33:00 UTC

[jira] [Commented] (BEAM-10500) Flake / failure in Samza runner KeyedTimerDataTest > testCoder

    [ https://issues.apache.org/jira/browse/BEAM-10500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17175825#comment-17175825 ] 

Brian Hulette commented on BEAM-10500:
--------------------------------------

Failed again in https://ci-beam.apache.org/job/beam_PreCommit_Java_Phrase/2602/, this time with more info in the KeyedTimerData. Looks like the delta is outputTimestamp is off by 1ms.

{code}
java.lang.AssertionError: 
Expected: <KeyedTimerData{key=timer-key, keyBytes=[9, 116, 105, 109, 101, 114, 45, 107, 101, 121], timerData=TimerData{timerId=timer, timerFamilyId=, namespace=Global, timestamp=2020-08-11T19:51:31.622Z, outputTimestamp=2020-08-11T19:51:31.623Z, domain=EVENT_TIME}}>
     but: was <KeyedTimerData{key=timer-key, keyBytes=[9, 116, 105, 109, 101, 114, 45, 107, 101, 121], timerData=TimerData{timerId=timer, timerFamilyId=, namespace=Global, timestamp=2020-08-11T19:51:31.622Z, outputTimestamp=2020-08-11T19:51:31.622Z, domain=EVENT_TIME}}>
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
	at org.junit.Assert.assertThat(Assert.java:966)
	at org.junit.Assert.assertThat(Assert.java:931)
	at org.apache.beam.sdk.testing.CoderProperties.coderDecodeEncodeEqualInContext(CoderProperties.java:104)
	at org.apache.beam.sdk.testing.CoderProperties.coderDecodeEncodeEqual(CoderProperties.java:94)
	at org.apache.beam.runners.samza.runtime.KeyedTimerDataTest.testCoder(KeyedTimerDataTest.java:50)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
{code}

> Flake / failure in Samza runner KeyedTimerDataTest > testCoder
> --------------------------------------------------------------
>
>                 Key: BEAM-10500
>                 URL: https://issues.apache.org/jira/browse/BEAM-10500
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-samza, test-failures
>            Reporter: Kenneth Knowles
>            Priority: P1
>              Labels: flake
>
> https://ci-beam.apache.org/job/beam_PreCommit_Java_Commit/12383/testReport/junit/org.apache.beam.runners.samza.runtime/KeyedTimerDataTest/testCoder/
> {code}
> java.lang.AssertionError: 
> Expected: <or...@876de0e>
>      but: was <or...@843234f>
> 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
> 	at org.junit.Assert.assertThat(Assert.java:966)
> 	at org.junit.Assert.assertThat(Assert.java:931)
> 	at org.apache.beam.sdk.testing.CoderProperties.coderDecodeEncodeEqualInContext(CoderProperties.java:104)
> 	at org.apache.beam.sdk.testing.CoderProperties.coderDecodeEncodeEqual(CoderProperties.java:94)
> 	at org.apache.beam.runners.samza.runtime.KeyedTimerDataTest.testCoder(KeyedTimerDataTest.java:50)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)