Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 27782 invoked from network); 7 Apr 2009 22:22:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Apr 2009 22:22:37 -0000 Received: (qmail 41604 invoked by uid 500); 7 Apr 2009 22:22:36 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 41520 invoked by uid 500); 7 Apr 2009 22:22:36 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 41510 invoked by uid 99); 7 Apr 2009 22:22:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Apr 2009 22:22:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Tue, 07 Apr 2009 22:22:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 159CF234C004 for ; Tue, 7 Apr 2009 15:22:13 -0700 (PDT) Message-ID: <877508383.1239142933073.JavaMail.jira@brutus> Date: Tue, 7 Apr 2009 15:22:13 -0700 (PDT) From: "Ravi Phulari (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Issue Comment Edited: (HADOOP-5080) Update TestCLI and split the test as HDFS,MR and core In-Reply-To: <1288732011.1232426219602.JavaMail.jira@brutus> 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/HADOOP-5080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696676#action_12696676 ] Ravi Phulari edited comment on HADOOP-5080 at 4/7/09 3:21 PM: -------------------------------------------------------------- -1 ant test-core failed against current hadoop trunk. Test 643: version: display the version of current hadoop failed . ---------------------------------------------- jar-test: [jar] Building jar: /home/rphulari/tasks/5080/hadoop/build/hadoop-0.21.0-dev-test.jar test-core: [mkdir] Created dir: /home/rphulari/tasks/5080/hadoop/build/test/data [mkdir] Created dir: /home/rphulari/tasks/5080/hadoop/build/test/logs [copy] Copying 1 file to /home/rphulari/tasks/5080/hadoop/build/test/extraconf [junit] Running org.apache.hadoop.cli.TestCLI [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 95.039 sec [junit] Test org.apache.hadoop.cli.TestCLI FAILED [junit] Running org.apache.hadoop.conf.TestConfiguration [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 0.868 sec [junit] Running org.apache.hadoop.conf.TestConfigurationSubclass Log from TEST-org.apache.hadoop.cli.TestCLI.txt ------------------------------------- 2009-04-07 18:27:43,927 INFO cli.TestCLI (TestCLI.java:displayResults(233)) - 2009-04-07 18:27:43,927 INFO cli.TestCLI (TestCLI.java:displayResults(237)) - Summary results: 2009-04-07 18:27:43,927 INFO cli.TestCLI (TestCLI.java:displayResults(238)) - ---------------------------------- 2009-04-07 18:27:43,927 INFO cli.TestCLI (TestCLI.java:displayResults(258)) - Testing mode: test 2009-04-07 18:27:43,927 INFO cli.TestCLI (TestCLI.java:displayResults(259)) - 2009-04-07 18:27:43,928 INFO cli.TestCLI (TestCLI.java:displayResults(260)) - Overall result: --- FAIL --- 2009-04-07 18:27:43,928 INFO cli.TestCLI (TestCLI.java:displayResults(262)) - # Tests pass: 642 (99%) 2009-04-07 18:27:43,928 INFO cli.TestCLI (TestCLI.java:displayResults(264)) - # Tests fail: 1 (0%) 2009-04-07 18:27:43,928 INFO cli.TestCLI (TestCLI.java:displayResults(266)) - # Validations done: 1860 (each test may do multiple validations) 2009-04-07 18:27:43,928 INFO cli.TestCLI (TestCLI.java:displayResults(269)) - 2009-04-07 18:27:43,928 INFO cli.TestCLI (TestCLI.java:displayResults(270)) - Failing tests: 2009-04-07 18:27:43,928 INFO cli.TestCLI (TestCLI.java:displayResults(271)) - -------------- 2009-04-07 18:27:43,928 INFO cli.TestCLI (TestCLI.java:displayResults(277)) - 643: version: display the version of current hadoop 2009-04-07 18:27:43,929 INFO cli.TestCLI (TestCLI.java:displayResults(287)) - 2009-04-07 18:27:43,929 INFO cli.TestCLI (TestCLI.java:displayResults(288)) - Passing tests: 2009-04-07 18:27:43,929 INFO cli.TestCLI (TestCLI.java:displayResults(289)) - -------------- 2009-04-07 18:27:43,929 INFO cli.TestCLI (TestCLI.java:displayResults(293)) - 1: ls: file using absolute path 2009-04-07 18:27:43,929 INFO cli.TestCLI (TestCLI.java:displayResults(293)) - 2: ls: file using relative path 2009-04-07 18:27:43,929 INFO cli.TestCLI (TestCLI.java:displayResults(293)) - 3: ls: files using globbing 2009-04-07 18:27:43,929 INFO cli.TestCLI (TestCLI.java:displayResults(293)) - 4: ls: directory using absolute path 2009-04-07 18:27:43,929 INFO cli.TestCLI (TestCLI.java:displayResults(293)) - 5: ls: directory using relative path was (Author: raviphulari): +1 reviewed the Updated patch and ran the ant test. > Update TestCLI and split the test as HDFS,MR and core > ----------------------------------------------------- > > Key: HADOOP-5080 > URL: https://issues.apache.org/jira/browse/HADOOP-5080 > Project: Hadoop Core > Issue Type: Test > Components: test > Affects Versions: 0.20.0 > Reporter: Ramya R > Priority: Minor > Fix For: 0.21.0 > > Attachments: Hadoop-5080.patch, Hadoop-5080Updated.patch, hadoop-5080v1.patch, hadoop5080.patch, patch5080-v1.txt, TEST-org.apache.hadoop.cli.TestCLI.txt, TestCLI.doc > > > Currently TestCLI contains few of the dfs commands and verifies some of the error messages for quota and refreshServiceAcl.. Here is a proposal to add additional test cases to TestCLI to cover an exhaustive list of Hadoop commands. Here is a list of action items for the same: > 1) Complete the test cases for dfs commands which are not yet automated such as count, chmod, chown, chgrp etc > 2) Verify help messages in fs, dfsadmin, mradmin > 3) Add other Hadoop commands such as archives, dfsadmin, balancer, job, queue, version, jar, distcp, daemonlog etc to the command line test. > 4) Also, this test needs to be broken up as MR, HDFS, Core -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.