Return-Path: Delivered-To: apmail-hadoop-chukwa-dev-archive@minotaur.apache.org Received: (qmail 89639 invoked from network); 28 Mar 2010 17:35:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Mar 2010 17:35:49 -0000 Received: (qmail 46690 invoked by uid 500); 28 Mar 2010 17:35:49 -0000 Delivered-To: apmail-hadoop-chukwa-dev-archive@hadoop.apache.org Received: (qmail 46630 invoked by uid 500); 28 Mar 2010 17:35:48 -0000 Mailing-List: contact chukwa-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chukwa-dev@hadoop.apache.org Delivered-To: mailing list chukwa-dev@hadoop.apache.org Received: (qmail 46622 invoked by uid 99); 28 Mar 2010 17:35:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Mar 2010 17:35:48 +0000 X-ASF-Spam-Status: No, hits=-1156.6 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Mar 2010 17:35:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 387FA234C4AC for ; Sun, 28 Mar 2010 17:35:27 +0000 (UTC) Message-ID: <1303888846.536281269797727230.JavaMail.jira@brutus.apache.org> Date: Sun, 28 Mar 2010 17:35:27 +0000 (UTC) From: "Eric Yang (JIRA)" To: chukwa-dev@hadoop.apache.org Subject: [jira] Updated: (CHUKWA-456) Fix test failing test cases In-Reply-To: <202716090.449811266886536981.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CHUKWA-456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Yang updated CHUKWA-456: ----------------------------- Attachment: CHUKWA-456-2.patch hudson is stuck on having bad data in /tmp/chukwa/hicc. A clean up fix should do the trick. > Fix test failing test cases > --------------------------- > > Key: CHUKWA-456 > URL: https://issues.apache.org/jira/browse/CHUKWA-456 > Project: Hadoop Chukwa > Issue Type: Bug > Components: build and test code > Affects Versions: 0.4.0 > Environment: Redhat EL 5.1, Java 6. > Reporter: Eric Yang > Assignee: Eric Yang > Priority: Blocker > Fix For: 0.4.0 > > Attachments: CHUKWA-456-2.patch, CHUKWA-456.patch, TEST-org.apache.hadoop.chukwa.rest.resource.TestViewResource.txt, TEST-org.apache.hadoop.chukwa.rest.resource.TestWidgetResource.txt > > > Gearing toward 0.4.0 release. A couple reported test case fails: > From Ari: > ... > [junit] Test org.apache.hadoop.chukwa.rest.resource.TestViewResource FAILED > [junit] Running org.apache.hadoop.chukwa.rest.resource.TestWidgetResource > [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 4.969 sec > [junit] 2010-02-22 12:22:57.748::INFO: Shutdown hook executing > [junit] 2010-02-22 12:22:57.748::INFO: Graceful shutdown > SelectChannelConnector@0.0.0.0:8080 > [junit] 2010-02-22 12:22:57.749::INFO: Graceful shutdown > org.mortbay.jetty.webapp.WebAppContext@6e75d758{/hicc,jar:file:/Users/asrabkin/apache_foundation/chukwa-trunk/build/test/classes/webapps/hicc.war!/} > [junit] 2010-02-22 12:22:58.891::INFO: Shutdown hook complete > [junit] Test > org.apache.hadoop.chukwa.rest.resource.TestWidgetResource FAILED > [junit] Running > org.apache.hadoop.chukwa.tools.backfilling.TestBackfillingLoader > [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 77.251 sec > [junit] Running org.apache.hadoop.chukwa.util.TestCRValidator > [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.656 sec. > From Bill: > Testsuite: org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader > Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.435 sec > ------------- Standard Output --------------- > pipeline established; now pushing a chunk > ------------- ---------------- --------------- > Testcase: > testSocketTee(org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader): > FAILED > expected: but was:<[B@2353f67e> > junit.framework.AssertionFailedError: expected: but was:<[B@2353f67e> > at > org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader.testSocketTee(TestSocketDataLoader.java:63) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.