You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "jay vyas (JIRA)" <ji...@apache.org> on 2014/07/05 07:26:34 UTC

[jira] [Comment Edited] (BIGTOP-1341) Cleanup of TestCLI code

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

jay vyas edited comment on BIGTOP-1341 at 7/5/14 5:25 AM:
----------------------------------------------------------

 [~mbukatov] !!!

Finally set up some new VMs for doing bigtop testing.  This patch looks good, applies, and mostly seems to work but there are some failures (not necessarily the patch's fault - could be my system) when i try to run the complete test suite, which i should resolve ...........  I ran tests twice , and got EXACT same results, so its not a stochastic thing.
{noformat}
   # Tests pass: 456 (92%)  
   # Tests fail: 35 (7%)
{noformat}
 
Any thoughts on why this could be the case ?  Maybe its my *older hadoop* (i set up 2.0.6 hdfs instead of 2.3) or possibly its fs permissions (yes, im running tests as user *hdfs*)

Heres the *failures I got*.  I will dig some more later but in case your interested or saw these before, maybe you can think of a hint why these tests are failing: 
{noformat}
14/07/05 01:15:57 INFO cli.CLITestHelper: Failing tests:                                                                                                                                                                           [558/1609]
14/07/05 01:15:57 INFO cli.CLITestHelper: --------------
14/07/05 01:15:57 INFO cli.CLITestHelper: 368: chmod: change permission(octal mode) of file in absolute path
14/07/05 01:15:57 INFO cli.CLITestHelper: 376: chmod: change permission(octal mode) of directory in absolute path recursively 
14/07/05 01:15:57 INFO cli.CLITestHelper: 377: chmod: change permission(octal mode) of directory in relative path recursively
14/07/05 01:15:57 INFO cli.CLITestHelper: 378: chmod: change permission(normal mode) of directory in absolute path recursively
14/07/05 01:15:57 INFO cli.CLITestHelper: 379: chmod: change permission(normal mode) of directory in relative path recursively
14/07/05 01:15:57 INFO cli.CLITestHelper: 384: chmod: change permission(octal mode) of multiple files in absolute path using globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 385: chmod: change permission(octal mode) of multiple files in relative path using globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 388: chmod: change permission(octal mode) of multiple files in absolute path without globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 389: chmod: change permission(octal mode) of multiple files in relative path without globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 400: chmod: change permission(octal mode) of multiple directories in absolute path recursively using globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 401: chmod: change permission(octal mode) of multiple directories in relative path recursively using globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 402: chmod: change permission(octal mode) of multiple directories in absolute path recursively without globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 403: chmod: change permission(octal mode) of multiple directories in relative path recursively without globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 404: chmod: change permission(normal mode) of multiple directories in absolute path recursively using globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 405: chmod: change permission(normal mode) of multiple directories in relative path recursively using globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 406: chmod: change permission(normal mode) of multiple directories in absolute path recursively without globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 407: chmod: change permission(normal mode) of multiple directories in relative path recursively without globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 412: chmod: change permission(octal mode) of file in hdfs:// path
{noformat} 

anyways, like i said illl dig more , if its something obvious just let me know.  its suspicious that all the errors are chmod related... hopefully just something simple which I can fix.


was (Author: jayunit100):
 martin!!!

Finally set up some new VMs for doing bigtop testing.  This patch looks good, applies, and mostly seems to work but there are some failures (not necessarily the patch's fault - could be my system) when i try to run the complete test suite, which i should resolve ...........  I ran tests twice , and got EXACT same results, so its not a stochastic thing.
{noformat}
   # Tests pass: 456 (92%)  
   # Tests fail: 35 (7%)
{noformat}
 
Any thoughts on why this could be the case ?  Maybe its my *older hadoop* (i set up 2.0.6 hdfs instead of 2.3) or possibly its fs permissions (yes, im running tests as user *hdfs*)

Heres the *failures I got*.  I will dig some more later but in case your interested or saw these before, maybe you can think of a hint why these tests are failing: 
{noformat}
14/07/05 01:15:57 INFO cli.CLITestHelper: Failing tests:                                                                                                                                                                           [558/1609]
14/07/05 01:15:57 INFO cli.CLITestHelper: --------------
14/07/05 01:15:57 INFO cli.CLITestHelper: 368: chmod: change permission(octal mode) of file in absolute path
14/07/05 01:15:57 INFO cli.CLITestHelper: 376: chmod: change permission(octal mode) of directory in absolute path recursively 
14/07/05 01:15:57 INFO cli.CLITestHelper: 377: chmod: change permission(octal mode) of directory in relative path recursively
14/07/05 01:15:57 INFO cli.CLITestHelper: 378: chmod: change permission(normal mode) of directory in absolute path recursively
14/07/05 01:15:57 INFO cli.CLITestHelper: 379: chmod: change permission(normal mode) of directory in relative path recursively
14/07/05 01:15:57 INFO cli.CLITestHelper: 384: chmod: change permission(octal mode) of multiple files in absolute path using globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 385: chmod: change permission(octal mode) of multiple files in relative path using globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 388: chmod: change permission(octal mode) of multiple files in absolute path without globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 389: chmod: change permission(octal mode) of multiple files in relative path without globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 400: chmod: change permission(octal mode) of multiple directories in absolute path recursively using globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 401: chmod: change permission(octal mode) of multiple directories in relative path recursively using globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 402: chmod: change permission(octal mode) of multiple directories in absolute path recursively without globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 403: chmod: change permission(octal mode) of multiple directories in relative path recursively without globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 404: chmod: change permission(normal mode) of multiple directories in absolute path recursively using globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 405: chmod: change permission(normal mode) of multiple directories in relative path recursively using globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 406: chmod: change permission(normal mode) of multiple directories in absolute path recursively without globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 407: chmod: change permission(normal mode) of multiple directories in relative path recursively without globbing
14/07/05 01:15:57 INFO cli.CLITestHelper: 412: chmod: change permission(octal mode) of file in hdfs:// path
{noformat} 

anyways, like i said illl dig more , if its something obvious just let me know.  its suspicious that all the errors are chmod related... hopefully just something simple which I can fix.

> Cleanup of TestCLI code
> -----------------------
>
>                 Key: BIGTOP-1341
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1341
>             Project: Bigtop
>          Issue Type: Improvement
>          Components: Tests
>    Affects Versions: 0.8.0
>            Reporter: Martin Bukatovic
>            Priority: Minor
>         Attachments: BIGTOP-1341.1.patch
>
>
> Before we try to extend TestCLI to work on any hadoop filesystem, we need to clean up the current code a little.



--
This message was sent by Atlassian JIRA
(v6.2#6252)