You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Jeff Zhang (JIRA)" <ji...@apache.org> on 2014/11/06 12:09:34 UTC

[jira] [Comment Edited] (TEZ-1746) Flaky test in TestVertexImpl and TestExceptionPropagation

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

Jeff Zhang edited comment on TEZ-1746 at 11/6/14 11:09 AM:
-----------------------------------------------------------

Attach the patch.

* TestVertexImpl failed due to race issue between Initializer thread and AsynDispatcher thread, besides the failure in the description, also fix some other potential places.
* TestExceptionPropagation due to timeout, increase the time for test


was (Author: zjffdu):
Attach the patch.

* TestVertexImpl failed due to race issue between Initializer thread and AsynDispatcher thread
* TestExceptionPropagation due to timeout, increase the time for test

> Flaky test in TestVertexImpl and TestExceptionPropagation
> ---------------------------------------------------------
>
>                 Key: TEZ-1746
>                 URL: https://issues.apache.org/jira/browse/TEZ-1746
>             Project: Apache Tez
>          Issue Type: Bug
>    Affects Versions: 0.5.1
>            Reporter: Jeff Zhang
>            Assignee: Jeff Zhang
>         Attachments: TEZ-1746.patch
>
>
> *TestVertexImpl*
> {code}
> Error Message
> expected:<FAILED> but was:<INITIALIZING>
> Stacktrace
> java.lang.AssertionError: expected:<FAILED> but was:<INITIALIZING>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:743)
> 	at org.junit.Assert.assertEquals(Assert.java:118)
> 	at org.junit.Assert.assertEquals(Assert.java:144)
> 	at org.apache.tez.dag.app.dag.impl.TestVertexImpl.testExceptionFromII_OnVertexStateUpdated(TestVertexImpl.java:5212)
> {code}
> *TestExceptionProgagation*
> {code}
> Error Message
> test timed out after 180000 milliseconds
> Stacktrace
> java.lang.Exception: test timed out after 180000 milliseconds
> 	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.tez.dag.api.client.DAGClientImpl._waitForCompletionWithStatusUpdates(DAGClientImpl.java:367)
> 	at org.apache.tez.dag.api.client.DAGClientImpl.waitForCompletion(DAGClientImpl.java:213)
> 	at org.apache.tez.test.TestExceptionPropagation.testExceptionPropagationSession(TestExceptionPropagation.java:223)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)