Return-Path: X-Original-To: apmail-tez-issues-archive@minotaur.apache.org Delivered-To: apmail-tez-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6514B10B7B for ; Wed, 28 Aug 2013 21:13:18 +0000 (UTC) Received: (qmail 63754 invoked by uid 500); 28 Aug 2013 21:13:18 -0000 Delivered-To: apmail-tez-issues-archive@tez.apache.org Received: (qmail 63719 invoked by uid 500); 28 Aug 2013 21:13:18 -0000 Mailing-List: contact issues-help@tez.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tez.incubator.apache.org Delivered-To: mailing list issues@tez.incubator.apache.org Received: (qmail 63712 invoked by uid 99); 28 Aug 2013 21:13:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Aug 2013 21:13:17 +0000 X-ASF-Spam-Status: No, hits=-2002.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 28 Aug 2013 21:13:15 +0000 Received: (qmail 62306 invoked by uid 99); 28 Aug 2013 21:12:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Aug 2013 21:12:53 +0000 Date: Wed, 28 Aug 2013 21:12:53 +0000 (UTC) From: "Siddharth Seth (JIRA)" To: issues@tez.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (TEZ-405) Failing unit test in TestContainerReuse MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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, > , > Container: [ContainerId: container_1_0001_01_000001, NodeId: randomHost:0, NodeHttpAddress: randomHost:0, Resource: , 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