You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michael Han (JIRA)" <ji...@apache.org> on 2016/07/21 21:43:20 UTC
[jira] [Updated] (ZOOKEEPER-2481) Flaky Test: testZeroWeightQuorum
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Han updated ZOOKEEPER-2481:
-----------------------------------
Component/s: tests
> Flaky Test: testZeroWeightQuorum
> --------------------------------
>
> Key: ZOOKEEPER-2481
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2481
> Project: ZooKeeper
> Issue Type: Bug
> Components: server, tests
> Affects Versions: 3.5.2
> Reporter: Michael Han
> Assignee: Michael Han
> Labels: flaky, flaky-test
> Fix For: 3.5.3
>
>
> See https://builds.apache.org/job/ZooKeeper-trunk-openjdk7/1098/
> ###################################################################################
> ########################## LAST 60 LINES OF THE CONSOLE ###########################
> [...truncated 402735 lines...]
> [junit] 2016-07-21 05:01:16,792 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree]
> [junit] 2016-07-21 05:01:16,793 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port11222]
> [junit] 2016-07-21 05:01:16,793 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222
> [junit] 2016-07-21 05:01:16,793 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[]
> [junit] 2016-07-21 05:01:16,794 [myid:] - INFO [main:ClientBase@466] - STARTING server
> [junit] 2016-07-21 05:01:16,795 [myid:] - INFO [main:ClientBase@386] - CREATING server instance 127.0.0.1:11222
> [junit] 2016-07-21 05:01:16,795 [myid:] - INFO [main:NIOServerCnxnFactory@673] - Configuring NIO connection handler with 10s sessionless connection timeout, 1 selector thread(s), 8 worker threads, and 64 kB direct buffers.
> [junit] 2016-07-21 05:01:16,795 [myid:] - INFO [main:NIOServerCnxnFactory@686] - binding to port 0.0.0.0/0.0.0.0:11222
> [junit] 2016-07-21 05:01:16,796 [myid:] - INFO [main:ClientBase@361] - STARTING server instance 127.0.0.1:11222
> [junit] 2016-07-21 05:01:16,796 [myid:] - INFO [main:ZooKeeperServer@858] - minSessionTimeout set to 6000
> [junit] 2016-07-21 05:01:16,796 [myid:] - INFO [main:ZooKeeperServer@867] - maxSessionTimeout set to 60000
> [junit] 2016-07-21 05:01:16,796 [myid:] - INFO [main:ZooKeeperServer@156] - Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 60000 datadir /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/build/test/tmp/test8269853662217096746.junit.dir/version-2 snapdir /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/build/test/tmp/test8269853662217096746.junit.dir/version-2
> [junit] 2016-07-21 05:01:16,797 [myid:] - INFO [main:FileSnap@83] - Reading snapshot /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/build/test/tmp/test8269853662217096746.junit.dir/version-2/snapshot.b
> [junit] 2016-07-21 05:01:16,799 [myid:] - INFO [main:FileTxnSnapLog@298] - Snapshotting: 0xb to /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/build/test/tmp/test8269853662217096746.junit.dir/version-2/snapshot.b
> [junit] 2016-07-21 05:01:16,801 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222
> [junit] 2016-07-21 05:01:16,802 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296] - Accepted socket connection from /127.0.0.1:58040
> [junit] 2016-07-21 05:01:16,802 [myid:] - INFO [NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from /127.0.0.1:58040
> [junit] 2016-07-21 05:01:16,803 [myid:] - INFO [NIOWorkerThread-1:StatCommand@49] - Stat command output
> [junit] 2016-07-21 05:01:16,803 [myid:] - INFO [NIOWorkerThread-1:NIOServerCnxn@607] - Closed socket connection for client /127.0.0.1:58040 (no session established for client)
> [junit] 2016-07-21 05:01:16,803 [myid:] - INFO [main:JMXEnv@228] - ensureParent:[InMemoryDataTree, StandaloneServer_port]
> [junit] 2016-07-21 05:01:16,805 [myid:] - INFO [main:JMXEnv@245] - expect:InMemoryDataTree
> [junit] 2016-07-21 05:01:16,805 [myid:] - INFO [main:JMXEnv@249] - found:InMemoryDataTree org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree
> [junit] 2016-07-21 05:01:16,805 [myid:] - INFO [main:JMXEnv@245] - expect:StandaloneServer_port
> [junit] 2016-07-21 05:01:16,805 [myid:] - INFO [main:JMXEnv@249] - found:StandaloneServer_port org.apache.ZooKeeperService:name0=StandaloneServer_port11222
> [junit] 2016-07-21 05:01:16,806 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 15840
> [junit] 2016-07-21 05:01:16,806 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 23
> [junit] 2016-07-21 05:01:16,806 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testQuota
> [junit] 2016-07-21 05:01:16,806 [myid:] - INFO [main:ClientBase@543] - tearDown starting
> [junit] 2016-07-21 05:01:16,874 [myid:] - INFO [main:ZooKeeper@1313] - Session: 0x100030011980000 closed
> [junit] 2016-07-21 05:01:16,874 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x100030011980000
> [junit] 2016-07-21 05:01:16,874 [myid:] - INFO [main:ClientBase@513] - STOPPING server
> [junit] 2016-07-21 05:01:16,875 [myid:] - INFO [ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - ConnnectionExpirerThread interrupted
> [junit] 2016-07-21 05:01:16,875 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method
> [junit] 2016-07-21 05:01:16,875 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@219] - accept thread exitted run method
> [junit] 2016-07-21 05:01:16,875 [myid:] - INFO [main:ZooKeeperServer@498] - shutting down
> [junit] 2016-07-21 05:01:16,875 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down
> [junit] 2016-07-21 05:01:16,875 [myid:] - INFO [main:PrepRequestProcessor@965] - Shutting down
> [junit] 2016-07-21 05:01:16,876 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down
> [junit] 2016-07-21 05:01:16,876 [myid:] - INFO [ProcessThread(sid:0 cport:11222)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop!
> [junit] 2016-07-21 05:01:16,876 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
> [junit] 2016-07-21 05:01:16,876 [myid:] - INFO [main:FinalRequestProcessor@479] - shutdown of request processor complete
> [junit] 2016-07-21 05:01:16,876 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree]
> [junit] 2016-07-21 05:01:16,877 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port11222]
> [junit] 2016-07-21 05:01:16,877 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222
> [junit] 2016-07-21 05:01:16,877 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[]
> [junit] 2016-07-21 05:01:16,882 [myid:] - INFO [main:ClientBase@568] - fdcount after test is: 54 at start it was 43
> [junit] 2016-07-21 05:01:16,882 [myid:] - INFO [main:ClientBase@570] - sleeping for 20 secs
> [junit] 2016-07-21 05:01:16,884 [myid:] - INFO [main:ZKTestCase$1@65] - SUCCEEDED testQuota
> [junit] 2016-07-21 05:01:16,884 [myid:] - INFO [main:ZKTestCase$1@60] - FINISHED testQuota
> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.741 sec
> BUILD FAILED
> /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/build.xml:1233: Tests failed!
> Total time: 62 minutes 43 seconds
> Build step 'Invoke Ant' marked build as failure
> Recording test results
> Email was triggered for: Failure - Any
> Sending email for trigger: Failure - Any
> ###################################################################################
> ############################## FAILED TESTS (if any) ##############################
> 2 tests failed.
> FAILED: org.apache.zookeeper.test.FLEZeroWeightTest.testZeroWeightQuorum
> Error Message:
> Threads didn't join
> Stack Trace:
> junit.framework.AssertionFailedError: Threads didn't join
> at org.apache.zookeeper.test.FLEZeroWeightTest.testZeroWeightQuorum(FLEZeroWeightTest.java:167)
> at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
> FAILED: org.apache.zookeeper.test.LoadFromLogTest.testLoadFailure
> Error Message:
> KeeperErrorCode = ConnectionLoss for /data-
> Stack Trace:
> org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /data-
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
> at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:1412)
> at org.apache.zookeeper.test.LoadFromLogTest.testLoadFailure(LoadFromLogTest.java:157)
> at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)