You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Dasha Boudnik (JIRA)" <ji...@apache.org> on 2014/03/04 23:09:43 UTC

[jira] [Comment Edited] (BIGTOP-1239) TestCLI: make ports optional in regex comparators

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

Dasha Boudnik edited comment on BIGTOP-1239 at 3/4/14 10:09 PM:
----------------------------------------------------------------

Thank you -- fixed!


was (Author: dasha.boudnik):
Thank you -- fixed!

I am still running into those two failures though...

{noformat}14/03/04 13:56:33 INFO cli.CLITestHelper: -------------------------------------------
14/03/04 13:56:33 INFO cli.CLITestHelper:                     Test ID: [242]
14/03/04 13:56:33 INFO cli.CLITestHelper:            Test Description: [checksum: checksum of files(relative path) using globbing]
14/03/04 13:56:33 INFO cli.CLITestHelper: 
14/03/04 13:56:33 INFO cli.CLITestHelper:               Test Commands: [-fs hdfs://myCluster -mkdir -p dir0]
14/03/04 13:56:33 INFO cli.CLITestHelper:               Test Commands: [-fs hdfs://myCluster -put file:/root/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data//data15bytes dir0/data15bytes]
14/03/04 13:56:33 INFO cli.CLITestHelper:               Test Commands: [-fs hdfs://myCluster -put file:/root/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data//data30bytes dir0/data30bytes]
14/03/04 13:56:33 INFO cli.CLITestHelper:               Test Commands: [-fs hdfs://myCluster -put file:/root/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data//data60bytes dir0/data60bytes]
14/03/04 13:56:33 INFO cli.CLITestHelper:               Test Commands: [-fs hdfs://myCluster -put file:/root/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data//data120bytes dir0/data120bytes]
14/03/04 13:56:33 INFO cli.CLITestHelper:               Test Commands: [-fs hdfs://myCluster -checksum dir0/data*]
14/03/04 13:56:33 INFO cli.CLITestHelper: 
14/03/04 13:56:33 INFO cli.CLITestHelper:            Cleanup Commands: [-fs hdfs://myCluster -rm -r /user/root/*]
14/03/04 13:56:33 INFO cli.CLITestHelper: 
14/03/04 13:56:33 INFO cli.CLITestHelper:                  Comparator: [RegexpComparator]
14/03/04 13:56:33 INFO cli.CLITestHelper:          Comparision result:   [fail]
14/03/04 13:56:33 INFO cli.CLITestHelper:             Expected output:   [^dir0/data120bytes\tMD5-of-0MD5-of-512CRC32C\t000002000000000000000000a58cdc3c0967fc8cddb7fed5960d06f2]
14/03/04 13:56:33 INFO cli.CLITestHelper:               Actual output:   [-checksum: Unknown command
]
14/03/04 13:56:33 INFO cli.CLITestHelper:                  Comparator: [RegexpComparator]
14/03/04 13:56:33 INFO cli.CLITestHelper:          Comparision result:   [fail]
14/03/04 13:56:33 INFO cli.CLITestHelper:             Expected output:   [^dir0/data15bytes\tMD5-of-0MD5-of-512CRC32C\t0000020000000000000000007267e9528002723a30939aefc238d665]
14/03/04 13:56:33 INFO cli.CLITestHelper:               Actual output:   [-checksum: Unknown command
]
14/03/04 13:56:33 INFO cli.CLITestHelper:                  Comparator: [RegexpComparator]
14/03/04 13:56:33 INFO cli.CLITestHelper:          Comparision result:   [fail]
14/03/04 13:56:33 INFO cli.CLITestHelper:             Expected output:   [^dir0/data30bytes\tMD5-of-0MD5-of-512CRC32C\t000002000000000000000000fc09371298117c4943cf089b4bd79c96]
14/03/04 13:56:33 INFO cli.CLITestHelper:               Actual output:   [-checksum: Unknown command
]
14/03/04 13:56:33 INFO cli.CLITestHelper:                  Comparator: [RegexpComparator]
14/03/04 13:56:33 INFO cli.CLITestHelper:          Comparision result:   [fail]
14/03/04 13:56:33 INFO cli.CLITestHelper:             Expected output:   [^dir0/data60bytes\tMD5-of-0MD5-of-512CRC32C\t000002000000000000000000009476431d851dd7b0a8d057a404d7b9]
14/03/04 13:56:33 INFO cli.CLITestHelper:               Actual output:   [-checksum: Unknown command
]
14/03/04 13:56:33 INFO cli.CLITestHelper: 
{noformat}

and

{noformat}14/03/04 13:56:33 INFO cli.CLITestHelper: -------------------------------------------
14/03/04 13:56:33 INFO cli.CLITestHelper:                     Test ID: [258]
14/03/04 13:56:33 INFO cli.CLITestHelper:            Test Description: [mkdir: Test create of directory with no parent and no -p fails]
14/03/04 13:56:33 INFO cli.CLITestHelper: 
14/03/04 13:56:33 INFO cli.CLITestHelper:               Test Commands: [-fs hdfs://myCluster -rm -r -f dir0]
14/03/04 13:56:33 INFO cli.CLITestHelper:               Test Commands: [-fs hdfs://myCluster -mkdir dir0/dir1]
14/03/04 13:56:33 INFO cli.CLITestHelper: 
14/03/04 13:56:33 INFO cli.CLITestHelper:            Cleanup Commands: [-fs hdfs://myCluster -rm -r dir0]
14/03/04 13:56:33 INFO cli.CLITestHelper: 
14/03/04 13:56:33 INFO cli.CLITestHelper:                  Comparator: [RegexpComparator]
14/03/04 13:56:33 INFO cli.CLITestHelper:          Comparision result:   [fail]
14/03/04 13:56:33 INFO cli.CLITestHelper:             Expected output:   [mkdir: `dir0/dir1': No such file or directory]
14/03/04 13:56:33 INFO cli.CLITestHelper:               Actual output:   []
14/03/04 13:56:33 INFO cli.CLITestHelper: {noformat}

Could it be a CDH thing?

> TestCLI: make ports optional in regex comparators
> -------------------------------------------------
>
>                 Key: BIGTOP-1239
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1239
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.7.0
>            Reporter: Dasha Boudnik
>            Assignee: Dasha Boudnik
>             Fix For: 0.8.0
>
>         Attachments: BIGTOP-1239.patch, BIGTOP-1239.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The following is seen in a multi-node configuration in HA:
> {noformat}14/03/03 19:32:40 INFO cli.CLITestHelper: -------------------------------------------
> 14/03/03 19:32:40 INFO cli.CLITestHelper:                     Test ID: [256]
> 14/03/03 19:32:40 INFO cli.CLITestHelper:            Test Description: [mkdir: Test for NAMENODE path - creating a directory with the name of an already existing directory]
> 14/03/03 19:32:40 INFO cli.CLITestHelper: 
> 14/03/03 19:32:40 INFO cli.CLITestHelper:               Test Commands: [-fs hdfs://myCluster -mkdir hdfs://myCluster/tmp/testcli_1393903659798/dir0]
> 14/03/03 19:32:40 INFO cli.CLITestHelper:               Test Commands: [-fs hdfs://myCluster -mkdir hdfs://myCluster/tmp/testcli_1393903659798/dir0]
> 14/03/03 19:32:40 INFO cli.CLITestHelper: 
> 14/03/03 19:32:40 INFO cli.CLITestHelper:            Cleanup Commands: [-fs hdfs://myCluster -rm -r hdfs://myCluster/tmp/testcli_1393903659798/dir0]
> 14/03/03 19:32:40 INFO cli.CLITestHelper: 
> 14/03/03 19:32:40 INFO cli.CLITestHelper:                  Comparator: [RegexpComparator]
> 14/03/03 19:32:40 INFO cli.CLITestHelper:          Comparision result:   [fail]
> 14/03/03 19:32:40 INFO cli.CLITestHelper:             Expected output:   [mkdir: `hdfs://\w+[-.a-z0-9]*:[0-9]+/tmp/testcli_1393903659798/dir0': File exists]
> 14/03/03 19:32:40 INFO cli.CLITestHelper:               Actual output:   [mkdir: `hdfs://myCluster/tmp/testcli_1393903659798/dir0': File exists
> ]
> 14/03/03 19:32:40 INFO cli.CLITestHelper: {noformat}
> A couple dozen other tests fail for the same reason.



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