You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Siddharth Seth (JIRA)" <ji...@apache.org> on 2013/08/28 23:12:53 UTC

[jira] [Updated] (TEZ-405) Failing unit test in TestContainerReuse

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

Siddharth Seth updated TEZ-405:
-------------------------------

    Attachment: TEZ-405.txt

Patch to fix this.  Is already part of the prelim patch posted to TEZ-324, but that will take some time.

With the patch, haven't been able to reproduce the failures in 25 runs .
                
> Failing unit test in TestContainerReuse
> ---------------------------------------
>
>                 Key: TEZ-405
>                 URL: https://issues.apache.org/jira/browse/TEZ-405
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Hitesh Shah
>            Assignee: Siddharth Seth
>         Attachments: TEZ-405.txt
>
>
> Failed tests: 
>  TestContainerReuse.testReuseNonLocalRequest:454 
> Wanted but not invoked:
> taskSchedulerEventHandlerForTest.taskAllocated(
>    Mock for TaskAttempt, hashCode: 22892006,
>    <any>,
>    Container: [ContainerId: container_1_0001_01_000001, NodeId: randomHost:0, NodeHttpAddress: randomHost:0, Resource: <memory:1024, vCores:1>, Priority: 3, Token: null, ]
> );
> -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseNonLocalRequest(TestContainerReuse.java:454)
> However, there were other interactions with this mock:
> -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseNonLocalRequest(TestContainerReuse.java:420)
> -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseNonLocalRequest(TestContainerReuse.java:420)
> -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseNonLocalRequest(TestContainerReuse.java:420)
> -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseNonLocalRequest(TestContainerReuse.java:421)
> -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseNonLocalRequest(TestContainerReuse.java:421)
> -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseNonLocalRequest(TestContainerReuse.java:421)
> -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseNonLocalRequest(TestContainerReuse.java:421)
> -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseNonLocalRequest(TestContainerReuse.java:423)
> -> at org.apache.tez.dag.app.rm.TaskSchedulerAppCallbackWrapper$SetApplicationRegistrationDataCallable.call(TaskSchedulerAppCallbackWrapper.java:248)
> -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseNonLocalRequest(TestContainerReuse.java:448)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira