You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (Commented) (JIRA)" <ji...@apache.org> on 2012/01/18 20:50:39 UTC

[jira] [Commented] (HIVE-2725) Fix flaky testing infrastructure

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

Ashutosh Chauhan commented on HIVE-2725:
----------------------------------------

They are failing on apache jenkins build server.
When I try to debug them can't reproduce them locally. Both of them passed when ran individually.
My local environment information:
{code}
$ svn up
At revision 1233014.
$ svn info
Path: .
URL: https://svn.apache.org/repos/asf/hive/trunk
Repository Root: https://svn.apache.org/repos/asf
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 1233014
Node Kind: directory
Schedule: normal
Last Changed Author: cws
Last Changed Rev: 1232766
Last Changed Date: 2012-01-18 07:10:02 +0000 (Wed, 18 Jan 2012)

$ uname -a
Linux 2.6.18-238.1 #1 SMP Mon Feb 21 19:27:52 PST 2011 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 5.6 (Tikanga)
[hortonas@hrt8n30 hive-trunk]$ ant -version
Apache Ant(TM) version 1.8.2 compiled on December 20 2010

$ ant test -Dtestcase=TestCliDriver -Dqfile=inputddl5.q
junit] Running org.apache.hadoop.hive.cli.TestCliDriver
    [junit] Begin query: inputddl5.q
    [junit] Copying file: file:/home/ashutosh/hive-trunk/data/files/kv4.txt
    [junit] diff -a /home/ashutosh/hive-trunk/build/ql/test/logs/clientpositive/inputddl5.q.out /home/hortonas/hive-trunk/ql/src/test/results/clientpositive/inputddl5.q.out
    [junit] Done query: inputddl5.q
    [junit] Cleaning up TestCliDriver
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 10.351 sec

$ ant test -Dtestcase=TestCliDriver -Dqfile=insert2_overwrite_partitions.q
  [junit] Running org.apache.hadoop.hive.cli.TestCliDriver
    [junit] Begin query: insert2_overwrite_partitions.q
    [junit] Copying file: file:/home/ashutosh/hive-trunk/data/files/kv1.txt
    [junit] Copying file: file:/home/ashutosh/hive-trunk/data/files/kv3.txt
    [junit] Deleted pfile:/home/ashutosh/hive-trunk/build/ql/test/data/warehouse/db2.db/destintable/ds=2011-11-11
    [junit] diff -a /home/ashutosh/hive-trunk/build/ql/test/logs/clientpositive/insert2_overwrite_partitions.q.out /home/hortonas/hive-trunk/ql/src/test/results/clientpositive/insert2_overwrite_partitions.q.out
    [junit] Done query: insert2_overwrite_partitions.q
    [junit] Cleaning up TestCliDriver
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 27.886 sec
{code}

Does anyone have any idea why do these tests fail on apache jenkins server ?
                
> Fix flaky testing infrastructure 
> ---------------------------------
>
>                 Key: HIVE-2725
>                 URL: https://issues.apache.org/jira/browse/HIVE-2725
>             Project: Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>    Affects Versions: 0.9.0
>            Reporter: Ashutosh Chauhan
>
> To begin with  org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_insert2_overwrite_partitions and org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_inputddl5 are failing on trunk for a while now.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira