[
https://issues.apache.org/jira/browse/ZOOKEEPER-1477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295923#comment-13295923
]
Diwaker Gupta commented on ZOOKEEPER-1477:
------------------------------------------
FWIW I upgraded to JDK 7u5 (from Oracle) and still have the exact same problem.
Here are some of the tests that failed (within ZooKeeperTest):
{noformat}
2012-06-15 13:59:58,654 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@54] - TEST METHOD FAILED
testDeleteRecursive
2012-06-15 13:59:59,852 [myid:] - INFO [main:ZKTestCase$1@66] - FAILED
testDeleteRecursive
2012-06-15 14:00:19,984 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@54] - TEST METHOD FAILED
testDeleteRecursiveAsync
2012-06-15 14:00:21,097 [myid:] - INFO [main:ZKTestCase$1@66] - FAILED
testDeleteRecursiveAsync
2012-06-15 14:00:41,225 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@54] - TEST METHOD FAILED
testStatWhenPathDoesNotExist
2012-06-15 14:00:42,362 [myid:] - INFO [main:ZKTestCase$1@66] - FAILED
testStatWhenPathDoesNotExist
2012-06-15 14:01:42,787 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@54] - TEST METHOD FAILED
testCreateNodeWithoutData
2012-06-15 14:01:44,452 [myid:] - INFO [main:ZKTestCase$1@66] - FAILED
testCreateNodeWithoutData
2012-06-15 14:02:04,577 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@54] - TEST METHOD FAILED
testACLWithExtraAgruments
2012-06-15 14:02:05,749 [myid:] - INFO [main:ZKTestCase$1@66] - FAILED
testACLWithExtraAgruments
2012-06-15 14:02:25,874 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@54] - TEST METHOD FAILED
testCreatePersistentNode
2012-06-15 14:02:27,324 [myid:] - INFO [main:ZKTestCase$1@66] - FAILED
testCreatePersistentNode
2012-06-15 14:02:47,449 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@54] - TEST METHOD FAILED testDelete
2012-06-15 14:02:48,585 [myid:] - INFO [main:ZKTestCase$1@66] - FAILED
testDelete
2012-06-15 14:03:08,705 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@54] - TEST METHOD FAILED
testStatCommand
2012-06-15 14:03:10,173 [myid:] - INFO [main:ZKTestCase$1@66] - FAILED
testStatCommand
2012-06-15 14:03:30,295 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@54] - TEST METHOD FAILED
testInvalidStatCommand
2012-06-15 14:03:31,688 [myid:] - INFO [main:ZKTestCase$1@66] - FAILED
testInvalidStatCommand
2012-06-15 14:03:51,809 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@54] - TEST METHOD FAILED testSetData
2012-06-15 14:03:53,674 [myid:] - INFO [main:ZKTestCase$1@66] - FAILED
testSetData
2012-06-15 14:04:13,836 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@54] - TEST METHOD FAILED
testDeleteWithInvalidVersionNo
{noformat}
> Test failures with Java 7 on Mac OS X
> -------------------------------------
>
> Key: ZOOKEEPER-1477
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1477
> Project: ZooKeeper
> Issue Type: Bug
> Components: server, tests
> Affects Versions: 3.4.3
> Environment: Mac OS X Lion (10.7.4)
> Java version:
> java version "1.7.0_04"
> Java(TM) SE Runtime Environment (build 1.7.0_04-b21)
> Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)
> Reporter: Diwaker Gupta
> Priority: Critical
>
> I downloaded ZK 3.4.3 sources and ran {{ant test}}. Many of the tests failed,
> including ZooKeeperTest. A common symptom was spurious
> {{ConnectionLossException}}:
> {code}
> 2012-06-01 12:01:23,420 [myid:] - INFO
> [main:JUnit4ZKTestRunner$LoggedInvokeMethod@54] - TEST METHOD FAILED
> testDeleteRecursiveAsync
> org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode
> = ConnectionLoss for /
> at
> org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
> at
> org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
> at org.apache.zookeeper.ZooKeeper.setData(ZooKeeper.java:1246)
> at
> org.apache.zookeeper.ZooKeeperTest.testDeleteRecursiveAsync(ZooKeeperTest.java:77)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ... (snipped)
> {code}
> As background, I was actually investigating some non-deterministic failures
> when using Netflix's Curator with Java 7 (see
> https://github.com/Netflix/curator/issues/79). After a while, I figured I
> should establish a clean ZK baseline first and realized it is actually a ZK
> issue, not a Curator issue.
> We are trying to migrate to Java 7 but this is a blocking issue for us right
> now.
--
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