You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2012/07/31 00:28:36 UTC

[jira] [Created] (ZOOKEEPER-1522) intermittent failures in Zab test due to NPE in recursiveDelete test function

Patrick Hunt created ZOOKEEPER-1522:
---------------------------------------

             Summary: intermittent failures in Zab test due to NPE in recursiveDelete test function
                 Key: ZOOKEEPER-1522
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1522
             Project: ZooKeeper
          Issue Type: Bug
          Components: tests
    Affects Versions: 3.4.3, 3.5.0
            Reporter: Patrick Hunt
            Assignee: Patrick Hunt
             Fix For: 3.4.4, 3.5.0


The jdk7 test job on jenkins is failing intermittently with 

{noformat}
java.lang.NullPointerException
	at org.apache.zookeeper.server.quorum.Zab1_0Test.recursiveDelete(Zab1_0Test.java:917)
	at org.apache.zookeeper.server.quorum.Zab1_0Test.recursiveDelete(Zab1_0Test.java:918)
	at org.apache.zookeeper.server.quorum.Zab1_0Test.recursiveDelete(Zab1_0Test.java:918)
	at org.apache.zookeeper.server.quorum.Zab1_0Test.testPopulatedLeaderConversation(Zab1_0Test.java:419)
	at org.apache.zookeeper.server.quorum.Zab1_0Test.testUnnecessarySnap(Zab1_0Test.java:483)
{noformat}

Seems to not be handling the case where the file is deleted out from under. Also the recursive deletes should be at the very end of the finally I would think.

--
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] (ZOOKEEPER-1522) intermittent failures in Zab test due to NPE in recursiveDelete test function

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

Hudson commented on ZOOKEEPER-1522:
-----------------------------------

Integrated in ZooKeeper-trunk #1632 (See [https://builds.apache.org/job/ZooKeeper-trunk/1632/])
    ZOOKEEPER-1522. intermittent failures in Zab test due to NPE in recursiveDelete test function (phunt via flavio) (Revision 1368072)

     Result = SUCCESS
phunt : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1368072
Files : 
* /zookeeper/trunk/CHANGES.txt
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/server/quorum/Zab1_0Test.java

                
> intermittent failures in Zab test due to NPE in recursiveDelete test function
> -----------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1522
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1522
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: 3.4.3, 3.5.0
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.4.4, 3.5.0
>
>         Attachments: ZOOKEEPER-1522.patch
>
>
> The jdk7 test job on jenkins is failing intermittently with 
> {noformat}
> java.lang.NullPointerException
> 	at org.apache.zookeeper.server.quorum.Zab1_0Test.recursiveDelete(Zab1_0Test.java:917)
> 	at org.apache.zookeeper.server.quorum.Zab1_0Test.recursiveDelete(Zab1_0Test.java:918)
> 	at org.apache.zookeeper.server.quorum.Zab1_0Test.recursiveDelete(Zab1_0Test.java:918)
> 	at org.apache.zookeeper.server.quorum.Zab1_0Test.testPopulatedLeaderConversation(Zab1_0Test.java:419)
> 	at org.apache.zookeeper.server.quorum.Zab1_0Test.testUnnecessarySnap(Zab1_0Test.java:483)
> {noformat}
> Seems to not be handling the case where the file is deleted out from under. Also the recursive deletes should be at the very end of the finally I would think.

--
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] (ZOOKEEPER-1522) intermittent failures in Zab test due to NPE in recursiveDelete test function

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

Hadoop QA commented on ZOOKEEPER-1522:
--------------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12538442/ZOOKEEPER-1522.patch
  against trunk revision 1366784.

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

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +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 (version 1.3.9) warnings.

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

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1146//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1146//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1146//console

This message is automatically generated.
                
> intermittent failures in Zab test due to NPE in recursiveDelete test function
> -----------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1522
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1522
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: 3.4.3, 3.5.0
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.4.4, 3.5.0
>
>         Attachments: ZOOKEEPER-1522.patch
>
>
> The jdk7 test job on jenkins is failing intermittently with 
> {noformat}
> java.lang.NullPointerException
> 	at org.apache.zookeeper.server.quorum.Zab1_0Test.recursiveDelete(Zab1_0Test.java:917)
> 	at org.apache.zookeeper.server.quorum.Zab1_0Test.recursiveDelete(Zab1_0Test.java:918)
> 	at org.apache.zookeeper.server.quorum.Zab1_0Test.recursiveDelete(Zab1_0Test.java:918)
> 	at org.apache.zookeeper.server.quorum.Zab1_0Test.testPopulatedLeaderConversation(Zab1_0Test.java:419)
> 	at org.apache.zookeeper.server.quorum.Zab1_0Test.testUnnecessarySnap(Zab1_0Test.java:483)
> {noformat}
> Seems to not be handling the case where the file is deleted out from under. Also the recursive deletes should be at the very end of the finally I would think.

--
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] (ZOOKEEPER-1522) intermittent failures in Zab test due to NPE in recursiveDelete test function

Posted by "Flavio Junqueira (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426153#comment-13426153 ] 

Flavio Junqueira commented on ZOOKEEPER-1522:
---------------------------------------------

+1, lgtm.
                
> intermittent failures in Zab test due to NPE in recursiveDelete test function
> -----------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1522
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1522
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: 3.4.3, 3.5.0
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.4.4, 3.5.0
>
>         Attachments: ZOOKEEPER-1522.patch
>
>
> The jdk7 test job on jenkins is failing intermittently with 
> {noformat}
> java.lang.NullPointerException
> 	at org.apache.zookeeper.server.quorum.Zab1_0Test.recursiveDelete(Zab1_0Test.java:917)
> 	at org.apache.zookeeper.server.quorum.Zab1_0Test.recursiveDelete(Zab1_0Test.java:918)
> 	at org.apache.zookeeper.server.quorum.Zab1_0Test.recursiveDelete(Zab1_0Test.java:918)
> 	at org.apache.zookeeper.server.quorum.Zab1_0Test.testPopulatedLeaderConversation(Zab1_0Test.java:419)
> 	at org.apache.zookeeper.server.quorum.Zab1_0Test.testUnnecessarySnap(Zab1_0Test.java:483)
> {noformat}
> Seems to not be handling the case where the file is deleted out from under. Also the recursive deletes should be at the very end of the finally I would think.

--
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] (ZOOKEEPER-1522) intermittent failures in Zab test due to NPE in recursiveDelete test function

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

Patrick Hunt updated ZOOKEEPER-1522:
------------------------------------

    Attachment: ZOOKEEPER-1522.patch
    
> intermittent failures in Zab test due to NPE in recursiveDelete test function
> -----------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1522
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1522
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: 3.4.3, 3.5.0
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.4.4, 3.5.0
>
>         Attachments: ZOOKEEPER-1522.patch
>
>
> The jdk7 test job on jenkins is failing intermittently with 
> {noformat}
> java.lang.NullPointerException
> 	at org.apache.zookeeper.server.quorum.Zab1_0Test.recursiveDelete(Zab1_0Test.java:917)
> 	at org.apache.zookeeper.server.quorum.Zab1_0Test.recursiveDelete(Zab1_0Test.java:918)
> 	at org.apache.zookeeper.server.quorum.Zab1_0Test.recursiveDelete(Zab1_0Test.java:918)
> 	at org.apache.zookeeper.server.quorum.Zab1_0Test.testPopulatedLeaderConversation(Zab1_0Test.java:419)
> 	at org.apache.zookeeper.server.quorum.Zab1_0Test.testUnnecessarySnap(Zab1_0Test.java:483)
> {noformat}
> Seems to not be handling the case where the file is deleted out from under. Also the recursive deletes should be at the very end of the finally I would think.

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