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 2014/02/11 01:24:21 UTC

[jira] [Updated] (ZOOKEEPER-1646) mt c client tests fail on Ubuntu Raring

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-1646:
------------------------------------

    Component/s: tests

> mt c client tests fail on Ubuntu Raring
> ---------------------------------------
>
>                 Key: ZOOKEEPER-1646
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1646
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client, tests
>    Affects Versions: 3.4.5, 3.5.0
>         Environment: Ubuntu 13.04 (raring), glibc 2.17
>            Reporter: James Page
>            Assignee: Patrick Hunt
>            Priority: Blocker
>             Fix For: 3.4.6, 3.5.0
>
>         Attachments: ZOOKEEPER-1646.patch
>
>
> Misc tests fail in the c client binding under the current Ubuntu development release:
> ./zktest-mt 
>  ZooKeeper server startedRunning 
> Zookeeper_clientretry::testRetry ZooKeeper server started ZooKeeper server started : elapsed 9315 : OK
> Zookeeper_operations::testAsyncWatcher1 : assertion : elapsed 1054
> Zookeeper_operations::testAsyncGetOperation : assertion : elapsed 1055
> Zookeeper_operations::testOperationsAndDisconnectConcurrently1 : assertion : elapsed 1066
> Zookeeper_operations::testOperationsAndDisconnectConcurrently2 : elapsed 0 : OK
> Zookeeper_operations::testConcurrentOperations1 : assertion : elapsed 1055
> Zookeeper_init::testBasic : elapsed 1 : OK
> Zookeeper_init::testAddressResolution : elapsed 0 : OK
> Zookeeper_init::testMultipleAddressResolution : elapsed 0 : OK
> Zookeeper_init::testNullAddressString : elapsed 0 : OK
> Zookeeper_init::testEmptyAddressString : elapsed 0 : OK
> Zookeeper_init::testOneSpaceAddressString : elapsed 0 : OK
> Zookeeper_init::testTwoSpacesAddressString : elapsed 0 : OK
> Zookeeper_init::testInvalidAddressString1 : elapsed 0 : OK
> Zookeeper_init::testInvalidAddressString2 : elapsed 175 : OK
> Zookeeper_init::testNonexistentHost : elapsed 92 : OK
> Zookeeper_init::testOutOfMemory_init : elapsed 0 : OK
> Zookeeper_init::testOutOfMemory_getaddrs1 : elapsed 0 : OK
> Zookeeper_init::testOutOfMemory_getaddrs2 : elapsed 1 : OK
> Zookeeper_init::testPermuteAddrsList : elapsed 0 : OK
> Zookeeper_close::testIOThreadStoppedOnExpire : assertion : elapsed 1056
> Zookeeper_close::testCloseUnconnected : elapsed 0 : OK
> Zookeeper_close::testCloseUnconnected1 : elapsed 91 : OK
> Zookeeper_close::testCloseConnected1 : assertion : elapsed 1056
> Zookeeper_close::testCloseFromWatcher1 : assertion : elapsed 1076
> Zookeeper_simpleSystem::testAsyncWatcherAutoReset ZooKeeper server started : elapsed 12155 : OK
> Zookeeper_simpleSystem::testDeserializeString : elapsed 0 : OK
> Zookeeper_simpleSystem::testNullData : elapsed 1031 : OK
> Zookeeper_simpleSystem::testIPV6 : elapsed 1005 : OK
> Zookeeper_simpleSystem::testPath : elapsed 1024 : OK
> Zookeeper_simpleSystem::testPathValidation : elapsed 1053 : OK
> Zookeeper_simpleSystem::testPing : elapsed 17287 : OK
> Zookeeper_simpleSystem::testAcl : elapsed 1019 : OK
> Zookeeper_simpleSystem::testChroot : elapsed 3052 : OK
> Zookeeper_simpleSystem::testAuth : assertion : elapsed 7010
> Zookeeper_simpleSystem::testHangingClient : elapsed 1015 : OK
> Zookeeper_simpleSystem::testWatcherAutoResetWithGlobal ZooKeeper server started ZooKeeper server started ZooKeeper server started : elapsed 20556 : OK
> Zookeeper_simpleSystem::testWatcherAutoResetWithLocal ZooKeeper server started ZooKeeper server started ZooKeeper server started : elapsed 20563 : OK
> Zookeeper_simpleSystem::testGetChildren2 : elapsed 1041 : OK
> Zookeeper_multi::testCreate : elapsed 1017 : OK
> Zookeeper_multi::testCreateDelete : elapsed 1007 : OK
> Zookeeper_multi::testInvalidVersion : elapsed 1011 : OK
> Zookeeper_multi::testNestedCreate : elapsed 1009 : OK
> Zookeeper_multi::testSetData : elapsed 6019 : OK
> Zookeeper_multi::testUpdateConflict : elapsed 1014 : OK
> Zookeeper_multi::testDeleteUpdateConflict : elapsed 1007 : OK
> Zookeeper_multi::testAsyncMulti : elapsed 2001 : OK
> Zookeeper_multi::testMultiFail : elapsed 1006 : OK
> Zookeeper_multi::testCheck : elapsed 1020 : OK
> Zookeeper_multi::testWatch : elapsed 2013 : OK
> Zookeeper_watchers::testDefaultSessionWatcher1zktest-mt: tests/ZKMocks.cc:271: SyncedBoolCondition DeliverWatchersWrapper::isDelivered() const: Assertion `i<1000' failed.
> Aborted (core dumped)
> It would appear that the zookeeper connection does not transition to connected within the required time; I increased the time allowed but no change.
> Ubuntu raring has glibc 2.17; the test suite works fine on previous Ubuntu releases and this is the only difference that stood out.
> Interestingly the cli_mt worked just fine connecting to the same zookeeper instance that the tests left lying around so I'm assuming this is a test error rather than an actual bug.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)