You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "David Liu (Created) (JIRA)" <ji...@apache.org> on 2012/03/23 19:55:28 UTC

[jira] [Created] (BIGTOP-483) Smoke test of Hadoop fails with clitest missing testConf.xml file

Smoke test of Hadoop fails with clitest missing testConf.xml file
-----------------------------------------------------------------

                 Key: BIGTOP-483
                 URL: https://issues.apache.org/jira/browse/BIGTOP-483
             Project: Bigtop
          Issue Type: Bug
          Components: Tests
    Affects Versions: 0.3.0
         Environment: Found on ubuntu, but applies to all systems.
            Reporter: David Liu
             Fix For: 0.3.0


12/03/21 23:10:05 INFO cli.TestCLI: File: /home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data/testConf.xml not found
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!

Results :

Failed tests: 
  testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)

Tests run: 10, Failures: 1, Errors: 0, Skipped: 0


More details:

-------------------------------------------------------------------------------
Test set: org.apache.bigtop.itest.hadooptests.TestTestCLI
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)  Time elapsed: 0.096 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Error reading test config file
        at junit.framework.Assert.fail(Assert.java:47)
        at junit.framework.Assert.assertTrue(Assert.java:20)
        at org.apache.hadoop.cli.TestCLI.readTestConfigFile(TestCLI.java:105)
        at org.apache.hadoop.cli.TestCLI.setUp(TestCLI.java:114)


--
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

        

[jira] [Commented] (BIGTOP-483) Smoke test of Hadoop fails with clitest missing testConf.xml file

Posted by "Roman Shaposhnik (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250448#comment-13250448 ] 

Roman Shaposhnik commented on BIGTOP-483:
-----------------------------------------

David, would you be interested in working with upstream Hadoop on the following JIRA: HADOOP-7730 
Basically, at this point it would be very nice if you could look at the patches that are attached to that JIRA and create yet another patch that would apply to Hadoop's trunk (in its current form).

Does this sound like something you might want to give a try?
                
> Smoke test of Hadoop fails with clitest missing testConf.xml file
> -----------------------------------------------------------------
>
>                 Key: BIGTOP-483
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-483
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.3.0
>         Environment: Found on ubuntu, but applies to all systems.
>            Reporter: David Liu
>            Assignee: Roman Shaposhnik
>             Fix For: 0.4.0
>
>         Attachments: BIGTOP-483.patch.txt
>
>
> 12/03/21 23:10:05 INFO cli.TestCLI: File: /home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data/testConf.xml not found
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> Results :
> Failed tests: 
>   testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)
> Tests run: 10, Failures: 1, Errors: 0, Skipped: 0
> More details:
> -------------------------------------------------------------------------------
> Test set: org.apache.bigtop.itest.hadooptests.TestTestCLI
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)  Time elapsed: 0.096 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Error reading test config file
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.hadoop.cli.TestCLI.readTestConfigFile(TestCLI.java:105)
>         at org.apache.hadoop.cli.TestCLI.setUp(TestCLI.java:114)

--
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

        

[jira] [Issue Comment Edited] (BIGTOP-483) Smoke test of Hadoop fails with clitest missing testConf.xml file

Posted by "Konstantin Boudnik (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13247012#comment-13247012 ] 

Konstantin Boudnik edited comment on BIGTOP-483 at 4/5/12 4:41 AM:
-------------------------------------------------------------------

I think the second URL is a very old repo. The last update there came in back in Jun 18, 2009

Here's the [corrent trunk code for this file|https://github.com/apache/hadoop-common/blob/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/cli/TestCLI.java]
                
      was (Author: cos):
    I think the second URL is a very old repo. The last update there came in back in Jun 18, 2009
                  
> Smoke test of Hadoop fails with clitest missing testConf.xml file
> -----------------------------------------------------------------
>
>                 Key: BIGTOP-483
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-483
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.3.0
>         Environment: Found on ubuntu, but applies to all systems.
>            Reporter: David Liu
>            Assignee: Roman Shaposhnik
>             Fix For: 0.4.0
>
>         Attachments: BIGTOP-483.patch.txt
>
>
> 12/03/21 23:10:05 INFO cli.TestCLI: File: /home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data/testConf.xml not found
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> Results :
> Failed tests: 
>   testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)
> Tests run: 10, Failures: 1, Errors: 0, Skipped: 0
> More details:
> -------------------------------------------------------------------------------
> Test set: org.apache.bigtop.itest.hadooptests.TestTestCLI
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)  Time elapsed: 0.096 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Error reading test config file
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.hadoop.cli.TestCLI.readTestConfigFile(TestCLI.java:105)
>         at org.apache.hadoop.cli.TestCLI.setUp(TestCLI.java:114)

--
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

        

[jira] [Commented] (BIGTOP-483) Smoke test of Hadoop fails with clitest missing testConf.xml file

Posted by "David Liu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246948#comment-13246948 ] 

David Liu commented on BIGTOP-483:
----------------------------------

We can change the code to use the testConfCluster.xml which is almost same as testConf.xml. 
But I cannot figure out the lineage of of these similar files. Does this file originate from  Hadoop project, or it is specific to bigtop? Also what's the lineage of these paths?
https://github.com/apache/hadoop-common/blob/branch-0.22/common/src/test/core/org/apache/hadoop/cli/TestCLI.java
https://github.com/apache/hadoop/blob/trunk/src/test/core/org/apache/hadoop/cli/TestCLI.java
They are quite different. 

                
> Smoke test of Hadoop fails with clitest missing testConf.xml file
> -----------------------------------------------------------------
>
>                 Key: BIGTOP-483
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-483
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.3.0
>         Environment: Found on ubuntu, but applies to all systems.
>            Reporter: David Liu
>            Assignee: Roman Shaposhnik
>             Fix For: 0.4.0
>
>         Attachments: BIGTOP-483.patch.txt
>
>
> 12/03/21 23:10:05 INFO cli.TestCLI: File: /home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data/testConf.xml not found
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> Results :
> Failed tests: 
>   testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)
> Tests run: 10, Failures: 1, Errors: 0, Skipped: 0
> More details:
> -------------------------------------------------------------------------------
> Test set: org.apache.bigtop.itest.hadooptests.TestTestCLI
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)  Time elapsed: 0.096 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Error reading test config file
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.hadoop.cli.TestCLI.readTestConfigFile(TestCLI.java:105)
>         at org.apache.hadoop.cli.TestCLI.setUp(TestCLI.java:114)

--
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

        

[jira] [Commented] (BIGTOP-483) Smoke test of Hadoop fails with clitest missing testConf.xml file

Posted by "David Liu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13247799#comment-13247799 ] 

David Liu commented on BIGTOP-483:
----------------------------------

Digging further, it seems the real issue is iTest's TestCLI.groovy tries to use System.properties.setProperty() to change the xml file name to testConfCluster.xml, but that doesn't work, as the base class is using bigtop/build/hadoop/deb/hadoop-1.0.1/src/test/org/apache/hadoop/cli/TestCLI.java which has 
static String testConfigFile = "testConf.xml";
This code as is should work well if tests are from https://github.com/apache/hadoop-common/blob/branch-0.22/common/src/test/core/org/apache/hadoop/cli/CLITestHelper.java#L85

But I am not clear, how to attach branch-0.22's test code to bigtop, or whether that is possible. 

I am not versed in the history of the test setup, and too new to comment on the right approach. But I sure hope bigtop has its own set of minimal set of testing for each sub project that has no upstream dependencies just to verify the basic health of the build and setup.

                
> Smoke test of Hadoop fails with clitest missing testConf.xml file
> -----------------------------------------------------------------
>
>                 Key: BIGTOP-483
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-483
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.3.0
>         Environment: Found on ubuntu, but applies to all systems.
>            Reporter: David Liu
>            Assignee: Roman Shaposhnik
>             Fix For: 0.4.0
>
>         Attachments: BIGTOP-483.patch.txt
>
>
> 12/03/21 23:10:05 INFO cli.TestCLI: File: /home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data/testConf.xml not found
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> Results :
> Failed tests: 
>   testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)
> Tests run: 10, Failures: 1, Errors: 0, Skipped: 0
> More details:
> -------------------------------------------------------------------------------
> Test set: org.apache.bigtop.itest.hadooptests.TestTestCLI
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)  Time elapsed: 0.096 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Error reading test config file
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.hadoop.cli.TestCLI.readTestConfigFile(TestCLI.java:105)
>         at org.apache.hadoop.cli.TestCLI.setUp(TestCLI.java:114)

--
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

        

[jira] [Assigned] (BIGTOP-483) Smoke test of Hadoop fails with clitest missing testConf.xml file

Posted by "Roman Shaposhnik (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BIGTOP-483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman Shaposhnik reassigned BIGTOP-483:
---------------------------------------

    Assignee: David Liu
    
> Smoke test of Hadoop fails with clitest missing testConf.xml file
> -----------------------------------------------------------------
>
>                 Key: BIGTOP-483
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-483
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.3.0
>         Environment: Found on ubuntu, but applies to all systems.
>            Reporter: David Liu
>            Assignee: David Liu
>             Fix For: 0.3.0
>
>
> 12/03/21 23:10:05 INFO cli.TestCLI: File: /home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data/testConf.xml not found
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> Results :
> Failed tests: 
>   testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)
> Tests run: 10, Failures: 1, Errors: 0, Skipped: 0
> More details:
> -------------------------------------------------------------------------------
> Test set: org.apache.bigtop.itest.hadooptests.TestTestCLI
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)  Time elapsed: 0.096 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Error reading test config file
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.hadoop.cli.TestCLI.readTestConfigFile(TestCLI.java:105)
>         at org.apache.hadoop.cli.TestCLI.setUp(TestCLI.java:114)

--
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

        

Re: [jira] [Commented] (BIGTOP-483) Smoke test of Hadoop fails with clitest missing testConf.xml file

Posted by "David Liu (gmail dev)" <em...@gmail.com>.
Doug,

Thanks for your help. I will need clarification from you or Roman on the
where about of various pieces of codes.

David 

On 4/4/12 8:05 AM, "doug chang (Commented) (JIRA)" <ji...@apache.org> wrote:

>
>    [ 
>https://issues.apache.org/jira/browse/BIGTOP-483?page=com.atlassian.jira.p
>lugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246333#com
>ment-13246333 ] 
>
>doug chang commented on BIGTOP-483:
>-----------------------------------
>
>Hey David, how about I work on this with you? Find me at the sqoop meetup
>today and we can chat. This is a good learning experience, using system
>properties to get rid of the equivalent of #defines in Java. What ever
>they are called, static final constants.
>
>dc
>                
>> Smoke test of Hadoop fails with clitest missing testConf.xml file
>> -----------------------------------------------------------------
>>
>>                 Key: BIGTOP-483
>>                 URL: https://issues.apache.org/jira/browse/BIGTOP-483
>>             Project: Bigtop
>>          Issue Type: Bug
>>          Components: Tests
>>    Affects Versions: 0.3.0
>>         Environment: Found on ubuntu, but applies to all systems.
>>            Reporter: David Liu
>>            Assignee: Roman Shaposhnik
>>             Fix For: 0.4.0
>>
>>         Attachments: BIGTOP-483.patch.txt
>>
>>
>> 12/03/21 23:10:05 INFO cli.TestCLI: File:
>>/home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clit
>>est_data/testConf.xml not found
>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923
>>sec <<< FAILURE!
>> Results :
>> Failed tests: 
>>   testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)
>> Tests run: 10, Failures: 1, Errors: 0, Skipped: 0
>> More details:
>> 
>>-------------------------------------------------------------------------
>>------
>> Test set: org.apache.bigtop.itest.hadooptests.TestTestCLI
>> 
>>-------------------------------------------------------------------------
>>------
>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923
>>sec <<< FAILURE!
>> testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)  Time elapsed:
>>0.096 sec  <<< FAILURE!
>> junit.framework.AssertionFailedError: Error reading test config file
>>         at junit.framework.Assert.fail(Assert.java:47)
>>         at junit.framework.Assert.assertTrue(Assert.java:20)
>>         at 
>>org.apache.hadoop.cli.TestCLI.readTestConfigFile(TestCLI.java:105)
>>         at org.apache.hadoop.cli.TestCLI.setUp(TestCLI.java:114)
>
>--
>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
>
>        



[jira] [Commented] (BIGTOP-483) Smoke test of Hadoop fails with clitest missing testConf.xml file

Posted by "doug chang (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246333#comment-13246333 ] 

doug chang commented on BIGTOP-483:
-----------------------------------

Hey David, how about I work on this with you? Find me at the sqoop meetup today and we can chat. This is a good learning experience, using system properties to get rid of the equivalent of #defines in Java. What ever they are called, static final constants. 

dc
                
> Smoke test of Hadoop fails with clitest missing testConf.xml file
> -----------------------------------------------------------------
>
>                 Key: BIGTOP-483
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-483
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.3.0
>         Environment: Found on ubuntu, but applies to all systems.
>            Reporter: David Liu
>            Assignee: Roman Shaposhnik
>             Fix For: 0.4.0
>
>         Attachments: BIGTOP-483.patch.txt
>
>
> 12/03/21 23:10:05 INFO cli.TestCLI: File: /home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data/testConf.xml not found
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> Results :
> Failed tests: 
>   testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)
> Tests run: 10, Failures: 1, Errors: 0, Skipped: 0
> More details:
> -------------------------------------------------------------------------------
> Test set: org.apache.bigtop.itest.hadooptests.TestTestCLI
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)  Time elapsed: 0.096 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Error reading test config file
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.hadoop.cli.TestCLI.readTestConfigFile(TestCLI.java:105)
>         at org.apache.hadoop.cli.TestCLI.setUp(TestCLI.java:114)

--
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

        

[jira] [Commented] (BIGTOP-483) Smoke test of Hadoop fails with clitest missing testConf.xml file

Posted by "David Liu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236935#comment-13236935 ] 

David Liu commented on BIGTOP-483:
----------------------------------

Also seen by others. Comments from Lei Zou:

Do a find on testConf.xml under ./bigtop, then copy it to the target place, you can get pass this poiny

~/bigtop$ cp ./build/hadoop/deb/hadoop-1.0.1/src/test/org/apache/hadoop/cli/testConf.xml /home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data/testConf.xml


                
> Smoke test of Hadoop fails with clitest missing testConf.xml file
> -----------------------------------------------------------------
>
>                 Key: BIGTOP-483
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-483
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.3.0
>         Environment: Found on ubuntu, but applies to all systems.
>            Reporter: David Liu
>             Fix For: 0.3.0
>
>
> 12/03/21 23:10:05 INFO cli.TestCLI: File: /home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data/testConf.xml not found
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> Results :
> Failed tests: 
>   testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)
> Tests run: 10, Failures: 1, Errors: 0, Skipped: 0
> More details:
> -------------------------------------------------------------------------------
> Test set: org.apache.bigtop.itest.hadooptests.TestTestCLI
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)  Time elapsed: 0.096 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Error reading test config file
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.hadoop.cli.TestCLI.readTestConfigFile(TestCLI.java:105)
>         at org.apache.hadoop.cli.TestCLI.setUp(TestCLI.java:114)

--
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

        

[jira] [Updated] (BIGTOP-483) Smoke test of Hadoop fails with clitest missing testConf.xml file

Posted by "Roman Shaposhnik (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BIGTOP-483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman Shaposhnik updated BIGTOP-483:
------------------------------------

    Fix Version/s:     (was: 0.3.0)
                   0.4.0
    
> Smoke test of Hadoop fails with clitest missing testConf.xml file
> -----------------------------------------------------------------
>
>                 Key: BIGTOP-483
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-483
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.3.0
>         Environment: Found on ubuntu, but applies to all systems.
>            Reporter: David Liu
>            Assignee: David Liu
>             Fix For: 0.4.0
>
>         Attachments: BIGTOP-483.patch.txt
>
>
> 12/03/21 23:10:05 INFO cli.TestCLI: File: /home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data/testConf.xml not found
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> Results :
> Failed tests: 
>   testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)
> Tests run: 10, Failures: 1, Errors: 0, Skipped: 0
> More details:
> -------------------------------------------------------------------------------
> Test set: org.apache.bigtop.itest.hadooptests.TestTestCLI
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)  Time elapsed: 0.096 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Error reading test config file
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.hadoop.cli.TestCLI.readTestConfigFile(TestCLI.java:105)
>         at org.apache.hadoop.cli.TestCLI.setUp(TestCLI.java:114)

--
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

        

[jira] [Commented] (BIGTOP-483) Smoke test of Hadoop fails with clitest missing testConf.xml file

Posted by "Roman Shaposhnik (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246018#comment-13246018 ] 

Roman Shaposhnik commented on BIGTOP-483:
-----------------------------------------

David, sorry to mention it before, but is there any chance you can try to take a look at how to reuse the original artifact from the Hadoop itself? At this point, lets not worry about Hadoop 1.X code line and focus more on the Hadoop 0.23 (AKA Hadoop 2.X) codeline.

Here's what I have in mind: 
   https://github.com/apache/hadoop-common/blob/branch-0.22/common/src/test/core/org/apache/hadoop/cli/CLITestHelper.java#L85

Note however that this is Hadoop branch-0.22. It would be very nice if you could port this to the Hadoop upstream branch-2

I'd be willing to help.
                
> Smoke test of Hadoop fails with clitest missing testConf.xml file
> -----------------------------------------------------------------
>
>                 Key: BIGTOP-483
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-483
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.3.0
>         Environment: Found on ubuntu, but applies to all systems.
>            Reporter: David Liu
>            Assignee: David Liu
>             Fix For: 0.4.0
>
>         Attachments: BIGTOP-483.patch.txt
>
>
> 12/03/21 23:10:05 INFO cli.TestCLI: File: /home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data/testConf.xml not found
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> Results :
> Failed tests: 
>   testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)
> Tests run: 10, Failures: 1, Errors: 0, Skipped: 0
> More details:
> -------------------------------------------------------------------------------
> Test set: org.apache.bigtop.itest.hadooptests.TestTestCLI
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)  Time elapsed: 0.096 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Error reading test config file
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.hadoop.cli.TestCLI.readTestConfigFile(TestCLI.java:105)
>         at org.apache.hadoop.cli.TestCLI.setUp(TestCLI.java:114)

--
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

        

[jira] [Assigned] (BIGTOP-483) Smoke test of Hadoop fails with clitest missing testConf.xml file

Posted by "David Liu (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BIGTOP-483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Liu reassigned BIGTOP-483:
--------------------------------

    Assignee: Roman Shaposhnik  (was: David Liu)
    
> Smoke test of Hadoop fails with clitest missing testConf.xml file
> -----------------------------------------------------------------
>
>                 Key: BIGTOP-483
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-483
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.3.0
>         Environment: Found on ubuntu, but applies to all systems.
>            Reporter: David Liu
>            Assignee: Roman Shaposhnik
>             Fix For: 0.4.0
>
>         Attachments: BIGTOP-483.patch.txt
>
>
> 12/03/21 23:10:05 INFO cli.TestCLI: File: /home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data/testConf.xml not found
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> Results :
> Failed tests: 
>   testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)
> Tests run: 10, Failures: 1, Errors: 0, Skipped: 0
> More details:
> -------------------------------------------------------------------------------
> Test set: org.apache.bigtop.itest.hadooptests.TestTestCLI
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)  Time elapsed: 0.096 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Error reading test config file
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.hadoop.cli.TestCLI.readTestConfigFile(TestCLI.java:105)
>         at org.apache.hadoop.cli.TestCLI.setUp(TestCLI.java:114)

--
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

        

[jira] [Commented] (BIGTOP-483) Smoke test of Hadoop fails with clitest missing testConf.xml file

Posted by "Konstantin Boudnik (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246698#comment-13246698 ] 

Konstantin Boudnik commented on BIGTOP-483:
-------------------------------------------

There's that file in the source tree
{{bigtop-tests/test-artifacts/hadoop/src/main/resources/testConfCluster.xml}}
Perhaps this is something you were looking for?
                
> Smoke test of Hadoop fails with clitest missing testConf.xml file
> -----------------------------------------------------------------
>
>                 Key: BIGTOP-483
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-483
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.3.0
>         Environment: Found on ubuntu, but applies to all systems.
>            Reporter: David Liu
>            Assignee: Roman Shaposhnik
>             Fix For: 0.4.0
>
>         Attachments: BIGTOP-483.patch.txt
>
>
> 12/03/21 23:10:05 INFO cli.TestCLI: File: /home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data/testConf.xml not found
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> Results :
> Failed tests: 
>   testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)
> Tests run: 10, Failures: 1, Errors: 0, Skipped: 0
> More details:
> -------------------------------------------------------------------------------
> Test set: org.apache.bigtop.itest.hadooptests.TestTestCLI
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)  Time elapsed: 0.096 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Error reading test config file
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.hadoop.cli.TestCLI.readTestConfigFile(TestCLI.java:105)
>         at org.apache.hadoop.cli.TestCLI.setUp(TestCLI.java:114)

--
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

        

[jira] [Commented] (BIGTOP-483) Smoke test of Hadoop fails with clitest missing testConf.xml file

Posted by "Konstantin Boudnik (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13247012#comment-13247012 ] 

Konstantin Boudnik commented on BIGTOP-483:
-------------------------------------------

I think the second URL is a very old repo. The last update there came in back in Jun 18, 2009
                
> Smoke test of Hadoop fails with clitest missing testConf.xml file
> -----------------------------------------------------------------
>
>                 Key: BIGTOP-483
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-483
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.3.0
>         Environment: Found on ubuntu, but applies to all systems.
>            Reporter: David Liu
>            Assignee: Roman Shaposhnik
>             Fix For: 0.4.0
>
>         Attachments: BIGTOP-483.patch.txt
>
>
> 12/03/21 23:10:05 INFO cli.TestCLI: File: /home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data/testConf.xml not found
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> Results :
> Failed tests: 
>   testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)
> Tests run: 10, Failures: 1, Errors: 0, Skipped: 0
> More details:
> -------------------------------------------------------------------------------
> Test set: org.apache.bigtop.itest.hadooptests.TestTestCLI
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)  Time elapsed: 0.096 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Error reading test config file
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.hadoop.cli.TestCLI.readTestConfigFile(TestCLI.java:105)
>         at org.apache.hadoop.cli.TestCLI.setUp(TestCLI.java:114)

--
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

        

[jira] [Commented] (BIGTOP-483) Smoke test of Hadoop fails with clitest missing testConf.xml file

Posted by "Roman Shaposhnik (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13247656#comment-13247656 ] 

Roman Shaposhnik commented on BIGTOP-483:
-----------------------------------------

David, first of all thanks for being persistent on this issue. Some of this dates back to the most ancient time of iTest ever so please don't take it as a final truth written in stone. Essentially, the fact that we've always had it that way doesn't mean we shouldn't change it.

That said, the issue really boils down to whether we:
  # try to essentially fork the testConf.xml from upstream and maintain it in Bigtop
  # try to work with upstream to make testConf.xml not only applicable to the true unit tests, but also in a more generic system test context (what Bigtop does)

Of course number 2 has an advantage of HDFS developers maintaining it for us according to whatever changes they make to the source code of HDFS, but we have to make sure that there's nothing in there that is miniDFS specific (IOW hard coded assumptions that are going to break on a real cluster).
                
> Smoke test of Hadoop fails with clitest missing testConf.xml file
> -----------------------------------------------------------------
>
>                 Key: BIGTOP-483
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-483
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.3.0
>         Environment: Found on ubuntu, but applies to all systems.
>            Reporter: David Liu
>            Assignee: Roman Shaposhnik
>             Fix For: 0.4.0
>
>         Attachments: BIGTOP-483.patch.txt
>
>
> 12/03/21 23:10:05 INFO cli.TestCLI: File: /home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data/testConf.xml not found
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> Results :
> Failed tests: 
>   testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)
> Tests run: 10, Failures: 1, Errors: 0, Skipped: 0
> More details:
> -------------------------------------------------------------------------------
> Test set: org.apache.bigtop.itest.hadooptests.TestTestCLI
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)  Time elapsed: 0.096 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Error reading test config file
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.hadoop.cli.TestCLI.readTestConfigFile(TestCLI.java:105)
>         at org.apache.hadoop.cli.TestCLI.setUp(TestCLI.java:114)

--
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

        

RE: [jira] [Commented] (BIGTOP-483) Smoke test of Hadoop fails with clitest missing testConf.xml file

Posted by bikramjit ganguly <ga...@hotmail.com>.
+1 on this chain of thought.

> Date: Wed, 4 Apr 2012 19:42:46 -0700
> Subject: Re: [jira] [Commented] (BIGTOP-483) Smoke test of Hadoop fails with clitest missing testConf.xml file
> From: email4yliu@gmail.com
> To: bigtop-dev@incubator.apache.org
> 
> I am also wondering whether current smoke test is too ambitious and we
> probably should have just the minimal set of tests that can be run to test
> the "basic" health of bigtop builds for each of its sub projects say
> within 5 minutes with minimal dependencies.
> 
> Right now, only hadoop subproject can barely pass the smoke test after
> applying several patches (including this ticket BIGTOP-483 and BIGTOP-488,
> etc). See 
> https://cwiki.apache.org/confluence/display/BIGTOP/Known+Working+Tests
> which tracked some of the results. I am not sure others observed the same.
> 
> David
> 
> On 4/4/12 1:29 PM, "Konstantin Boudnik (Commented) (JIRA)"
> <ji...@apache.org> wrote:
> 
> >
> >    [ 
> >https://issues.apache.org/jira/browse/BIGTOP-483?page=com.atlassian.jira.p
> >lugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246702#com
> >ment-13246702 ] 
> >
> >Konstantin Boudnik commented on BIGTOP-483:
> >-------------------------------------------
> >
> >Also, the question is: why all of a sudden that test doesn't pass
> >anymore? It was there since the beginning and our development platform
> >was Ubuntu. That makes one think...
> >                
> >> Smoke test of Hadoop fails with clitest missing testConf.xml file
> >> -----------------------------------------------------------------
> >>
> >>                 Key: BIGTOP-483
> >>                 URL: https://issues.apache.org/jira/browse/BIGTOP-483
> >>             Project: Bigtop
> >>          Issue Type: Bug
> >>          Components: Tests
> >>    Affects Versions: 0.3.0
> >>         Environment: Found on ubuntu, but applies to all systems.
> >>            Reporter: David Liu
> >>            Assignee: Roman Shaposhnik
> >>             Fix For: 0.4.0
> >>
> >>         Attachments: BIGTOP-483.patch.txt
> >>
> >>
> >> 12/03/21 23:10:05 INFO cli.TestCLI: File:
> >>/home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clit
> >>est_data/testConf.xml not found
> >> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923
> >>sec <<< FAILURE!
> >> Results :
> >> Failed tests: 
> >>   testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)
> >> Tests run: 10, Failures: 1, Errors: 0, Skipped: 0
> >> More details:
> >> 
> >>-------------------------------------------------------------------------
> >>------
> >> Test set: org.apache.bigtop.itest.hadooptests.TestTestCLI
> >> 
> >>-------------------------------------------------------------------------
> >>------
> >> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923
> >>sec <<< FAILURE!
> >> testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)  Time elapsed:
> >>0.096 sec  <<< FAILURE!
> >> junit.framework.AssertionFailedError: Error reading test config file
> >>         at junit.framework.Assert.fail(Assert.java:47)
> >>         at junit.framework.Assert.assertTrue(Assert.java:20)
> >>         at 
> >>org.apache.hadoop.cli.TestCLI.readTestConfigFile(TestCLI.java:105)
> >>         at org.apache.hadoop.cli.TestCLI.setUp(TestCLI.java:114)
> >
> >--
> >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
> >
> >        
> 
> 
 		 	   		  

Re: [jira] [Commented] (BIGTOP-483) Smoke test of Hadoop fails with clitest missing testConf.xml file

Posted by "David Liu (gmail dev)" <em...@gmail.com>.
I am also wondering whether current smoke test is too ambitious and we
probably should have just the minimal set of tests that can be run to test
the "basic" health of bigtop builds for each of its sub projects say
within 5 minutes with minimal dependencies.

Right now, only hadoop subproject can barely pass the smoke test after
applying several patches (including this ticket BIGTOP-483 and BIGTOP-488,
etc). See 
https://cwiki.apache.org/confluence/display/BIGTOP/Known+Working+Tests
which tracked some of the results. I am not sure others observed the same.

David

On 4/4/12 1:29 PM, "Konstantin Boudnik (Commented) (JIRA)"
<ji...@apache.org> wrote:

>
>    [ 
>https://issues.apache.org/jira/browse/BIGTOP-483?page=com.atlassian.jira.p
>lugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246702#com
>ment-13246702 ] 
>
>Konstantin Boudnik commented on BIGTOP-483:
>-------------------------------------------
>
>Also, the question is: why all of a sudden that test doesn't pass
>anymore? It was there since the beginning and our development platform
>was Ubuntu. That makes one think...
>                
>> Smoke test of Hadoop fails with clitest missing testConf.xml file
>> -----------------------------------------------------------------
>>
>>                 Key: BIGTOP-483
>>                 URL: https://issues.apache.org/jira/browse/BIGTOP-483
>>             Project: Bigtop
>>          Issue Type: Bug
>>          Components: Tests
>>    Affects Versions: 0.3.0
>>         Environment: Found on ubuntu, but applies to all systems.
>>            Reporter: David Liu
>>            Assignee: Roman Shaposhnik
>>             Fix For: 0.4.0
>>
>>         Attachments: BIGTOP-483.patch.txt
>>
>>
>> 12/03/21 23:10:05 INFO cli.TestCLI: File:
>>/home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clit
>>est_data/testConf.xml not found
>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923
>>sec <<< FAILURE!
>> Results :
>> Failed tests: 
>>   testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)
>> Tests run: 10, Failures: 1, Errors: 0, Skipped: 0
>> More details:
>> 
>>-------------------------------------------------------------------------
>>------
>> Test set: org.apache.bigtop.itest.hadooptests.TestTestCLI
>> 
>>-------------------------------------------------------------------------
>>------
>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923
>>sec <<< FAILURE!
>> testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)  Time elapsed:
>>0.096 sec  <<< FAILURE!
>> junit.framework.AssertionFailedError: Error reading test config file
>>         at junit.framework.Assert.fail(Assert.java:47)
>>         at junit.framework.Assert.assertTrue(Assert.java:20)
>>         at 
>>org.apache.hadoop.cli.TestCLI.readTestConfigFile(TestCLI.java:105)
>>         at org.apache.hadoop.cli.TestCLI.setUp(TestCLI.java:114)
>
>--
>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
>
>        



[jira] [Commented] (BIGTOP-483) Smoke test of Hadoop fails with clitest missing testConf.xml file

Posted by "Konstantin Boudnik (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246702#comment-13246702 ] 

Konstantin Boudnik commented on BIGTOP-483:
-------------------------------------------

Also, the question is: why all of a sudden that test doesn't pass anymore? It was there since the beginning and our development platform was Ubuntu. That makes one think...
                
> Smoke test of Hadoop fails with clitest missing testConf.xml file
> -----------------------------------------------------------------
>
>                 Key: BIGTOP-483
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-483
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.3.0
>         Environment: Found on ubuntu, but applies to all systems.
>            Reporter: David Liu
>            Assignee: Roman Shaposhnik
>             Fix For: 0.4.0
>
>         Attachments: BIGTOP-483.patch.txt
>
>
> 12/03/21 23:10:05 INFO cli.TestCLI: File: /home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data/testConf.xml not found
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> Results :
> Failed tests: 
>   testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)
> Tests run: 10, Failures: 1, Errors: 0, Skipped: 0
> More details:
> -------------------------------------------------------------------------------
> Test set: org.apache.bigtop.itest.hadooptests.TestTestCLI
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)  Time elapsed: 0.096 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Error reading test config file
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.hadoop.cli.TestCLI.readTestConfigFile(TestCLI.java:105)
>         at org.apache.hadoop.cli.TestCLI.setUp(TestCLI.java:114)

--
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

        

[jira] [Commented] (BIGTOP-483) Smoke test of Hadoop fails with clitest missing testConf.xml file

Posted by "David Liu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13247024#comment-13247024 ] 

David Liu commented on BIGTOP-483:
----------------------------------

Thanks. So seems we need to 
a. use https://github.com/apache/hadoop-common/blob/trunk/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml, and 
b. put it where the testConfCluster.xml is, and 
c. remove any reference to testConfCluster.xml (as they duplicates), and
d. update the TestCLI.java and other source files to match the latest hadoop ones. 

Does this sound like a reasonable plan?  
                
> Smoke test of Hadoop fails with clitest missing testConf.xml file
> -----------------------------------------------------------------
>
>                 Key: BIGTOP-483
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-483
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.3.0
>         Environment: Found on ubuntu, but applies to all systems.
>            Reporter: David Liu
>            Assignee: Roman Shaposhnik
>             Fix For: 0.4.0
>
>         Attachments: BIGTOP-483.patch.txt
>
>
> 12/03/21 23:10:05 INFO cli.TestCLI: File: /home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data/testConf.xml not found
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> Results :
> Failed tests: 
>   testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)
> Tests run: 10, Failures: 1, Errors: 0, Skipped: 0
> More details:
> -------------------------------------------------------------------------------
> Test set: org.apache.bigtop.itest.hadooptests.TestTestCLI
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)  Time elapsed: 0.096 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Error reading test config file
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.hadoop.cli.TestCLI.readTestConfigFile(TestCLI.java:105)
>         at org.apache.hadoop.cli.TestCLI.setUp(TestCLI.java:114)

--
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

        

[jira] [Updated] (BIGTOP-483) Smoke test of Hadoop fails with clitest missing testConf.xml file

Posted by "David Liu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BIGTOP-483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Liu updated BIGTOP-483:
-----------------------------

    Attachment: BIGTOP-483.patch.txt

Adding the missing file from /build/hadoop/deb/hadoop-1.0.1/src/test/org/apache/hadoop/cli/testConf.xml 

                
> Smoke test of Hadoop fails with clitest missing testConf.xml file
> -----------------------------------------------------------------
>
>                 Key: BIGTOP-483
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-483
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.3.0
>         Environment: Found on ubuntu, but applies to all systems.
>            Reporter: David Liu
>            Assignee: David Liu
>             Fix For: 0.3.0
>
>         Attachments: BIGTOP-483.patch.txt
>
>
> 12/03/21 23:10:05 INFO cli.TestCLI: File: /home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data/testConf.xml not found
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> Results :
> Failed tests: 
>   testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)
> Tests run: 10, Failures: 1, Errors: 0, Skipped: 0
> More details:
> -------------------------------------------------------------------------------
> Test set: org.apache.bigtop.itest.hadooptests.TestTestCLI
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)  Time elapsed: 0.096 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Error reading test config file
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.hadoop.cli.TestCLI.readTestConfigFile(TestCLI.java:105)
>         at org.apache.hadoop.cli.TestCLI.setUp(TestCLI.java:114)

--
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