You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Lee Tucker (JIRA)" <ji...@apache.org> on 2009/05/20 00:39:45 UTC

[jira] Created: (ZOOKEEPER-411) Building zookeeper fails on RHEL 5 64 bit during test-cppunit

Building zookeeper fails on RHEL 5 64 bit during test-cppunit
-------------------------------------------------------------

                 Key: ZOOKEEPER-411
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-411
             Project: Zookeeper
          Issue Type: Bug
         Environment: RHEL5, 64bit 
            Reporter: Lee Tucker
             Fix For: 3.2.0


     [exec] Zookeeper_simpleSystem::testAsyncWatcherAutoReset : assertion
     [exec] 
     [exec] /grid/0/gs/gridre/hudson/workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:499: Assertion: assertion failed [Expression: ctx.waitForDisconnected(zk)]
     [exec] Failures !!!
     [exec] Run: 32   Failure total: 1   Failures: 1   Errors: 0
     [exec] make: *** [run-check] Error 1


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


[jira] Updated: (ZOOKEEPER-411) Building zookeeper fails on RHEL 5 64 bit during test-cppunit

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

Mahadev konar updated ZOOKEEPER-411:
------------------------------------

    Attachment: ZOOKEEPER-411.patch

this patch removes usage of fuser in build.xml.

> Building zookeeper fails on RHEL 5 64 bit during test-cppunit
> -------------------------------------------------------------
>
>                 Key: ZOOKEEPER-411
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-411
>             Project: Zookeeper
>          Issue Type: Bug
>         Environment: RHEL5, 64bit 
>            Reporter: Lee Tucker
>            Assignee: Mahadev konar
>             Fix For: 3.2.0
>
>         Attachments: ZOOKEEPER-411.patch, ZOOKEEPER-411.patch, ZOOKEEPER-411.patch, ZOOKEEPER-411.patch
>
>
>      [exec] Zookeeper_simpleSystem::testAsyncWatcherAutoReset : assertion
>      [exec] 
>      [exec] /grid/0/gs/gridre/hudson/workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:499: Assertion: assertion failed [Expression: ctx.waitForDisconnected(zk)]
>      [exec] Failures !!!
>      [exec] Run: 32   Failure total: 1   Failures: 1   Errors: 0
>      [exec] make: *** [run-check] Error 1

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


[jira] Updated: (ZOOKEEPER-411) Building zookeeper fails on RHEL 5 64 bit during test-cppunit

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

Mahadev konar updated ZOOKEEPER-411:
------------------------------------

    Attachment: ZOOKEEPER-411.patch

this patch also deletes the pid files once the process is killed.

> Building zookeeper fails on RHEL 5 64 bit during test-cppunit
> -------------------------------------------------------------
>
>                 Key: ZOOKEEPER-411
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-411
>             Project: Zookeeper
>          Issue Type: Bug
>         Environment: RHEL5, 64bit 
>            Reporter: Lee Tucker
>            Assignee: Mahadev konar
>             Fix For: 3.2.0
>
>         Attachments: ZOOKEEPER-411.patch, ZOOKEEPER-411.patch
>
>
>      [exec] Zookeeper_simpleSystem::testAsyncWatcherAutoReset : assertion
>      [exec] 
>      [exec] /grid/0/gs/gridre/hudson/workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:499: Assertion: assertion failed [Expression: ctx.waitForDisconnected(zk)]
>      [exec] Failures !!!
>      [exec] Run: 32   Failure total: 1   Failures: 1   Errors: 0
>      [exec] make: *** [run-check] Error 1

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


[jira] Commented: (ZOOKEEPER-411) Building zookeeper fails on RHEL 5 64 bit during test-cppunit

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

Patrick Hunt commented on ZOOKEEPER-411:
----------------------------------------

Can you fix this in all locations in the source?

src/c/tests/zkServer.sh
36:fuser -skn tcp 22181/tcp

src/contrib/rest/src/test/zkServer.sh
36:fuser -skn tcp 22182/tcp

src/contrib/zkpython/src/test/zkServer.sh
36:#fuser -skn tcp 22182/tcp

src/recipes/lock/src/c/tests/zkServer.sh
32:fuser -skn tcp 22181/tcp

also remove this (now unnecessary)

build.xml
671:        <property name="fuser.bin" value="/sbin"/>
675:		<env key="PATH" path="${env.PATH};${c.src.dir};${fuser.bin};"/>



> Building zookeeper fails on RHEL 5 64 bit during test-cppunit
> -------------------------------------------------------------
>
>                 Key: ZOOKEEPER-411
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-411
>             Project: Zookeeper
>          Issue Type: Bug
>         Environment: RHEL5, 64bit 
>            Reporter: Lee Tucker
>            Assignee: Mahadev konar
>             Fix For: 3.2.0
>
>         Attachments: ZOOKEEPER-411.patch, ZOOKEEPER-411.patch
>
>
>      [exec] Zookeeper_simpleSystem::testAsyncWatcherAutoReset : assertion
>      [exec] 
>      [exec] /grid/0/gs/gridre/hudson/workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:499: Assertion: assertion failed [Expression: ctx.waitForDisconnected(zk)]
>      [exec] Failures !!!
>      [exec] Run: 32   Failure total: 1   Failures: 1   Errors: 0
>      [exec] make: *** [run-check] Error 1

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


[jira] Updated: (ZOOKEEPER-411) Building zookeeper fails on RHEL 5 64 bit during test-cppunit

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

Mahadev konar updated ZOOKEEPER-411:
------------------------------------

    Status: Patch Available  (was: Open)

> Building zookeeper fails on RHEL 5 64 bit during test-cppunit
> -------------------------------------------------------------
>
>                 Key: ZOOKEEPER-411
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-411
>             Project: Zookeeper
>          Issue Type: Bug
>         Environment: RHEL5, 64bit 
>            Reporter: Lee Tucker
>            Assignee: Mahadev konar
>             Fix For: 3.2.0
>
>         Attachments: ZOOKEEPER-411.patch
>
>
>      [exec] Zookeeper_simpleSystem::testAsyncWatcherAutoReset : assertion
>      [exec] 
>      [exec] /grid/0/gs/gridre/hudson/workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:499: Assertion: assertion failed [Expression: ctx.waitForDisconnected(zk)]
>      [exec] Failures !!!
>      [exec] Run: 32   Failure total: 1   Failures: 1   Errors: 0
>      [exec] make: *** [run-check] Error 1

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


[jira] Assigned: (ZOOKEEPER-411) Building zookeeper fails on RHEL 5 64 bit during test-cppunit

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

Mahadev konar reassigned ZOOKEEPER-411:
---------------------------------------

    Assignee: Mahadev konar

> Building zookeeper fails on RHEL 5 64 bit during test-cppunit
> -------------------------------------------------------------
>
>                 Key: ZOOKEEPER-411
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-411
>             Project: Zookeeper
>          Issue Type: Bug
>         Environment: RHEL5, 64bit 
>            Reporter: Lee Tucker
>            Assignee: Mahadev konar
>             Fix For: 3.2.0
>
>
>      [exec] Zookeeper_simpleSystem::testAsyncWatcherAutoReset : assertion
>      [exec] 
>      [exec] /grid/0/gs/gridre/hudson/workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:499: Assertion: assertion failed [Expression: ctx.waitForDisconnected(zk)]
>      [exec] Failures !!!
>      [exec] Run: 32   Failure total: 1   Failures: 1   Errors: 0
>      [exec] make: *** [run-check] Error 1

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


[jira] Updated: (ZOOKEEPER-411) Building zookeeper fails on RHEL 5 64 bit during test-cppunit

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

Patrick Hunt updated ZOOKEEPER-411:
-----------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

+1, thanks Mahadev
Committed revision 776889.

> Building zookeeper fails on RHEL 5 64 bit during test-cppunit
> -------------------------------------------------------------
>
>                 Key: ZOOKEEPER-411
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-411
>             Project: Zookeeper
>          Issue Type: Bug
>         Environment: RHEL5, 64bit 
>            Reporter: Lee Tucker
>            Assignee: Mahadev konar
>             Fix For: 3.2.0
>
>         Attachments: ZOOKEEPER-411.patch, ZOOKEEPER-411.patch, ZOOKEEPER-411.patch, ZOOKEEPER-411.patch
>
>
>      [exec] Zookeeper_simpleSystem::testAsyncWatcherAutoReset : assertion
>      [exec] 
>      [exec] /grid/0/gs/gridre/hudson/workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:499: Assertion: assertion failed [Expression: ctx.waitForDisconnected(zk)]
>      [exec] Failures !!!
>      [exec] Run: 32   Failure total: 1   Failures: 1   Errors: 0
>      [exec] make: *** [run-check] Error 1

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


[jira] Commented: (ZOOKEEPER-411) Building zookeeper fails on RHEL 5 64 bit during test-cppunit

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

Hudson commented on ZOOKEEPER-411:
----------------------------------

Integrated in ZooKeeper-trunk #321 (See [http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/321/])
    

> Building zookeeper fails on RHEL 5 64 bit during test-cppunit
> -------------------------------------------------------------
>
>                 Key: ZOOKEEPER-411
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-411
>             Project: Zookeeper
>          Issue Type: Bug
>         Environment: RHEL5, 64bit 
>            Reporter: Lee Tucker
>            Assignee: Mahadev konar
>             Fix For: 3.2.0
>
>         Attachments: ZOOKEEPER-411.patch, ZOOKEEPER-411.patch, ZOOKEEPER-411.patch, ZOOKEEPER-411.patch
>
>
>      [exec] Zookeeper_simpleSystem::testAsyncWatcherAutoReset : assertion
>      [exec] 
>      [exec] /grid/0/gs/gridre/hudson/workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:499: Assertion: assertion failed [Expression: ctx.waitForDisconnected(zk)]
>      [exec] Failures !!!
>      [exec] Run: 32   Failure total: 1   Failures: 1   Errors: 0
>      [exec] make: *** [run-check] Error 1

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


[jira] Commented: (ZOOKEEPER-411) Building zookeeper fails on RHEL 5 64 bit during test-cppunit

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

Benjamin Reed commented on ZOOKEEPER-411:
-----------------------------------------

you should remove the pid files.

> Building zookeeper fails on RHEL 5 64 bit during test-cppunit
> -------------------------------------------------------------
>
>                 Key: ZOOKEEPER-411
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-411
>             Project: Zookeeper
>          Issue Type: Bug
>         Environment: RHEL5, 64bit 
>            Reporter: Lee Tucker
>            Assignee: Mahadev konar
>             Fix For: 3.2.0
>
>         Attachments: ZOOKEEPER-411.patch
>
>
>      [exec] Zookeeper_simpleSystem::testAsyncWatcherAutoReset : assertion
>      [exec] 
>      [exec] /grid/0/gs/gridre/hudson/workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:499: Assertion: assertion failed [Expression: ctx.waitForDisconnected(zk)]
>      [exec] Failures !!!
>      [exec] Run: 32   Failure total: 1   Failures: 1   Errors: 0
>      [exec] make: *** [run-check] Error 1

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


[jira] Updated: (ZOOKEEPER-411) Building zookeeper fails on RHEL 5 64 bit during test-cppunit

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

Mahadev konar updated ZOOKEEPER-411:
------------------------------------

    Attachment: ZOOKEEPER-411.patch

it turns out that the test was failing becasue the zookeeper server wasnt being shut down in the c tests. Loooks like fuser does not work as published on rhel 5. I wasted quite some time on trying to figure out why fuser wasnt working but didnt find an answer. So, I decided to just change the script to get the pid and for killing the server kill it with the pid already stored in the file from previous start.

- this patch changes the script to use pid instead of fuser. 

I tested it to see iit works on rhel 5 64 bit, ipv6 machine.

> Building zookeeper fails on RHEL 5 64 bit during test-cppunit
> -------------------------------------------------------------
>
>                 Key: ZOOKEEPER-411
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-411
>             Project: Zookeeper
>          Issue Type: Bug
>         Environment: RHEL5, 64bit 
>            Reporter: Lee Tucker
>            Assignee: Mahadev konar
>             Fix For: 3.2.0
>
>         Attachments: ZOOKEEPER-411.patch
>
>
>      [exec] Zookeeper_simpleSystem::testAsyncWatcherAutoReset : assertion
>      [exec] 
>      [exec] /grid/0/gs/gridre/hudson/workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:499: Assertion: assertion failed [Expression: ctx.waitForDisconnected(zk)]
>      [exec] Failures !!!
>      [exec] Run: 32   Failure total: 1   Failures: 1   Errors: 0
>      [exec] make: *** [run-check] Error 1

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


[jira] Updated: (ZOOKEEPER-411) Building zookeeper fails on RHEL 5 64 bit during test-cppunit

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

Mahadev konar updated ZOOKEEPER-411:
------------------------------------

    Attachment: ZOOKEEPER-411.patch

this patch removes the use of fuser from all the scripts also from the build file...

pat can you review this? see if ant test passes on your machine.

> Building zookeeper fails on RHEL 5 64 bit during test-cppunit
> -------------------------------------------------------------
>
>                 Key: ZOOKEEPER-411
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-411
>             Project: Zookeeper
>          Issue Type: Bug
>         Environment: RHEL5, 64bit 
>            Reporter: Lee Tucker
>            Assignee: Mahadev konar
>             Fix For: 3.2.0
>
>         Attachments: ZOOKEEPER-411.patch, ZOOKEEPER-411.patch, ZOOKEEPER-411.patch
>
>
>      [exec] Zookeeper_simpleSystem::testAsyncWatcherAutoReset : assertion
>      [exec] 
>      [exec] /grid/0/gs/gridre/hudson/workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:499: Assertion: assertion failed [Expression: ctx.waitForDisconnected(zk)]
>      [exec] Failures !!!
>      [exec] Run: 32   Failure total: 1   Failures: 1   Errors: 0
>      [exec] make: *** [run-check] Error 1

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


[jira] Updated: (ZOOKEEPER-411) Building zookeeper fails on RHEL 5 64 bit during test-cppunit

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

Benjamin Reed updated ZOOKEEPER-411:
------------------------------------

    Hadoop Flags: [Reviewed]

+1 looks good

> Building zookeeper fails on RHEL 5 64 bit during test-cppunit
> -------------------------------------------------------------
>
>                 Key: ZOOKEEPER-411
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-411
>             Project: Zookeeper
>          Issue Type: Bug
>         Environment: RHEL5, 64bit 
>            Reporter: Lee Tucker
>            Assignee: Mahadev konar
>             Fix For: 3.2.0
>
>         Attachments: ZOOKEEPER-411.patch, ZOOKEEPER-411.patch
>
>
>      [exec] Zookeeper_simpleSystem::testAsyncWatcherAutoReset : assertion
>      [exec] 
>      [exec] /grid/0/gs/gridre/hudson/workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:499: Assertion: assertion failed [Expression: ctx.waitForDisconnected(zk)]
>      [exec] Failures !!!
>      [exec] Run: 32   Failure total: 1   Failures: 1   Errors: 0
>      [exec] make: *** [run-check] Error 1

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