You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Konstantin Boudnik (JIRA)" <ji...@apache.org> on 2010/07/21 08:47:50 UTC

[jira] Created: (HDFS-1311) Running tests with 'testcase' cause triple execution of the same test case

Running tests with 'testcase' cause triple execution of the same test case
--------------------------------------------------------------------------

                 Key: HDFS-1311
                 URL: https://issues.apache.org/jira/browse/HDFS-1311
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: build
            Reporter: Konstantin Boudnik
            Priority: Minor


The change introduced in HDFS-1199 has the following side effect: if a test case name is set via {{-Dtestcase}} the same test case will be executed three times.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1311) Running tests with 'testcase' cause triple execution of the same test case

Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Boudnik updated HDFS-1311:
-------------------------------------

    Attachment: y20.backport.patch

Backport patch for y20. Not to commit here.

> Running tests with 'testcase' cause triple execution of the same test case
> --------------------------------------------------------------------------
>
>                 Key: HDFS-1311
>                 URL: https://issues.apache.org/jira/browse/HDFS-1311
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>            Priority: Minor
>             Fix For: 0.21.0
>
>         Attachments: HDFS-1311.patch, y20.backport.patch
>
>
> The change introduced in HDFS-1199 has the following side effect: if a test case name is set via {{-Dtestcase}} the same test case will be executed three times.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1311) Running tests with 'testcase' cause triple execution of the same test case

Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Boudnik updated HDFS-1311:
-------------------------------------

      Status: Patch Available  (was: Open)
    Assignee: Konstantin Boudnik

> Running tests with 'testcase' cause triple execution of the same test case
> --------------------------------------------------------------------------
>
>                 Key: HDFS-1311
>                 URL: https://issues.apache.org/jira/browse/HDFS-1311
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>            Priority: Minor
>         Attachments: HDFS-1311.patch
>
>
> The change introduced in HDFS-1199 has the following side effect: if a test case name is set via {{-Dtestcase}} the same test case will be executed three times.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1311) Running tests with 'testcase' cause triple execution of the same test case

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

Konstantin Boudnik commented on HDFS-1311:
------------------------------------------

Review comment from Nicholas:

{quote} Thanks for explaining the details to me.
+1 your patch looks good...
Nicholas
{quote}

> Running tests with 'testcase' cause triple execution of the same test case
> --------------------------------------------------------------------------
>
>                 Key: HDFS-1311
>                 URL: https://issues.apache.org/jira/browse/HDFS-1311
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>            Priority: Minor
>             Fix For: 0.21.0
>
>         Attachments: HDFS-1311.patch, y20.backport.patch
>
>
> The change introduced in HDFS-1199 has the following side effect: if a test case name is set via {{-Dtestcase}} the same test case will be executed three times.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1311) Running tests with 'testcase' cause triple execution of the same test case

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

Konstantin Boudnik commented on HDFS-1311:
------------------------------------------

Test failures are unrelated and intermittent. 
The patch doesn't have any tests included because this is a build modification.

> Running tests with 'testcase' cause triple execution of the same test case
> --------------------------------------------------------------------------
>
>                 Key: HDFS-1311
>                 URL: https://issues.apache.org/jira/browse/HDFS-1311
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>            Priority: Minor
>         Attachments: HDFS-1311.patch
>
>
> The change introduced in HDFS-1199 has the following side effect: if a test case name is set via {{-Dtestcase}} the same test case will be executed three times.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1311) Running tests with 'testcase' cause triple execution of the same test case

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890809#action_12890809 ] 

Tsz Wo (Nicholas), SZE commented on HDFS-1311:
----------------------------------------------

+1 patch looks good.

> Running tests with 'testcase' cause triple execution of the same test case
> --------------------------------------------------------------------------
>
>                 Key: HDFS-1311
>                 URL: https://issues.apache.org/jira/browse/HDFS-1311
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>            Priority: Minor
>         Attachments: HDFS-1311.patch
>
>
> The change introduced in HDFS-1199 has the following side effect: if a test case name is set via {{-Dtestcase}} the same test case will be executed three times.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1311) Running tests with 'testcase' cause triple execution of the same test case

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890631#action_12890631 ] 

Hadoop QA commented on HDFS-1311:
---------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12450027/HDFS-1311.patch
  against trunk revision 966031.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed core unit tests.

    -1 contrib tests.  The patch failed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/221/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/221/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/221/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/221/console

This message is automatically generated.

> Running tests with 'testcase' cause triple execution of the same test case
> --------------------------------------------------------------------------
>
>                 Key: HDFS-1311
>                 URL: https://issues.apache.org/jira/browse/HDFS-1311
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>            Priority: Minor
>         Attachments: HDFS-1311.patch
>
>
> The change introduced in HDFS-1199 has the following side effect: if a test case name is set via {{-Dtestcase}} the same test case will be executed three times.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1311) Running tests with 'testcase' cause triple execution of the same test case

Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Boudnik updated HDFS-1311:
-------------------------------------

           Status: Resolved  (was: Patch Available)
     Hadoop Flags: [Reviewed]
    Fix Version/s: 0.21.0
       Resolution: Fixed

I have just committed this.

> Running tests with 'testcase' cause triple execution of the same test case
> --------------------------------------------------------------------------
>
>                 Key: HDFS-1311
>                 URL: https://issues.apache.org/jira/browse/HDFS-1311
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>            Priority: Minor
>             Fix For: 0.21.0
>
>         Attachments: HDFS-1311.patch
>
>
> The change introduced in HDFS-1199 has the following side effect: if a test case name is set via {{-Dtestcase}} the same test case will be executed three times.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1311) Running tests with 'testcase' cause triple execution of the same test case

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890900#action_12890900 ] 

Hudson commented on HDFS-1311:
------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #349 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/349/])
    HDFS-1311. Running tests with 'testcase' cause triple execution of the same test case. Contributed by Konstantin Boudnik.


> Running tests with 'testcase' cause triple execution of the same test case
> --------------------------------------------------------------------------
>
>                 Key: HDFS-1311
>                 URL: https://issues.apache.org/jira/browse/HDFS-1311
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>            Priority: Minor
>             Fix For: 0.21.0
>
>         Attachments: HDFS-1311.patch
>
>
> The change introduced in HDFS-1199 has the following side effect: if a test case name is set via {{-Dtestcase}} the same test case will be executed three times.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1311) Running tests with 'testcase' cause triple execution of the same test case

Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Boudnik updated HDFS-1311:
-------------------------------------

    Attachment: HDFS-1311.patch

Here's the fix. The idea is quite simple: do not execute 'smoke' nor 'commit' targets if {{-Dtestcase}} is set.

> Running tests with 'testcase' cause triple execution of the same test case
> --------------------------------------------------------------------------
>
>                 Key: HDFS-1311
>                 URL: https://issues.apache.org/jira/browse/HDFS-1311
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>            Reporter: Konstantin Boudnik
>            Priority: Minor
>         Attachments: HDFS-1311.patch
>
>
> The change introduced in HDFS-1199 has the following side effect: if a test case name is set via {{-Dtestcase}} the same test case will be executed three times.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.