kaisun2000 edited a comment on issue #1281:
URL: https://github.com/apache/helix/issues/1281#issuecomment-678512631
> 2020-08-21T06:26:35.4853497Z [ERROR]
testResetSnapshots(org.apache.helix.controller.changedetector.TestResourceChangeDetector)
Time elapsed: 900.002 s <<< FAILURE!
2020-08-21T06:26:35.4866531Z
org.testng.internal.thread.ThreadTimeoutException: Method
org.testng.internal.TestNGMethod.testResetSnapshots() didn't finish within the
time-out 900000
2020-08-21T06:26:35.4878804Z at
org.apache.helix.controller.changedetector.TestResourceChangeDetector.testResetSnapshots(TestResourceChangeDetector.java:434)
Error:
>2020-08-21T04:49:04.9996955Z AfterClass: TestResourceChangeDetector of
TestResourceChangeDetector called.
2020-08-21T04:49:05.0036922Z 2226637 [TestNGInvoker-testResetSnapshots()]
ERROR org.apache.helix.tools.ClusterVerifiers.ZkHelixClusterVerifier -
Exception java.lang.InterruptedException in verifier
[java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1041),
java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1332),
java.util.concurrent.CountDownLatch.await(CountDownLatch.java:277),
org.apache.helix.tools.ClusterVerifiers.ZkHelixClusterVerifier.verifyByCallback(ZkHelixClusterVerifier.java:249),
org.apache.helix.tools.ClusterVerifiers.StrictMatchExternalViewVerifier.verifyByZkCallback(StrictMatchExternalViewVerifier.java:200),
org.apache.helix.tools.ClusterVerifiers.StrictMatchExternalViewVerifier.verify(StrictMatchExternalViewVerifier.java:179),
org.apache.helix.controller.changedetector.TestResourceChangeDetector.testResetSnapshots(TestResourceChangeDetector.java:434),
s
un.reflect.NativeMethodAccessorImpl.invoke0(Native Method),
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62),
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43),
java.lang.reflect.Method.invoke(Method.java:498),
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:76),
org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:46),
org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:37),
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511),
java.util.concurrent.FutureTask.run(FutureTask.java:266),
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149),
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624),
java.lang.Thread.run(Thread.java:748)]
2020-08-21T04:49:05.0420974Z 2226679
[HelixController-pipeline-default-TestResourceChangeDetector-(9d444036_DEFAULT)]
ERROR org.apache.helix.zookeeper.zkclient.callback.ZkAsyncCallbacks -
Interrupted waiting for success
2020-08-21T04:49:05.0421621Z java.lang.InterruptedException
2020-08-21T04:49:05.0422019Z at java.lang.Object.wait(Native Method)
2020-08-21T04:49:05.0422239Z at
java.lang.Object.wait(Object.java:502)
2020-08-21T04:49:05.0422373Z at
org.apache.helix.zookeeper.zkclient.callback.ZkAsyncCallbacks$DefaultCallback.waitForSuccess(ZkAsyncCallbacks.java:220)
2020-08-21T04:49:05.0422511Z at
org.apache.helix.manager.zk.ZkBaseDataAccessor.getStats(ZkBaseDataAccessor.java:1197)
2020-08-21T04:49:05.0422644Z at
org.apache.helix.manager.zk.ZKHelixDataAccessor.getPropertyStats(ZKHelixDataAccessor.java:365)
2020-08-21T04:49:05.0422782Z at
org.apache.helix.common.caches.AbstractDataCache.refreshProperties(AbstractDataCache.java:66)
2020-08-21T04:49:05.0422913Z at
org.apache.helix.common.caches.PropertyCache.doRefreshWithSelectiveUpdate(PropertyCache.java:175)
2020-08-21T04:49:05.0423042Z at
org.apache.helix.common.caches.PropertyCache.refresh(PropertyCache.java:158)
2020-08-21T04:49:05.0423181Z at
org.apache.helix.controller.dataproviders.BaseControllerDataProvider.refreshIdealState(BaseControllerDataProvider.java:244)
2020-08-21T04:49:05.0423328Z at
org.apache.helix.controller.dataproviders.BaseControllerDataProvider.doRefresh(BaseControllerDataProvider.java:329)
2020-08-21T04:49:05.0423684Z at
org.apache.helix.controller.dataproviders.ResourceControllerDataProvider.refresh(ResourceControllerDataProvider.java:143)
2020-08-21T04:49:05.0423822Z at
org.apache.helix.controller.stages.ReadClusterDataStage.process(ReadClusterDataStage.java:63)
2020-08-21T04:49:05.0424047Z at
org.apache.helix.controller.pipeline.Pipeline.handle(Pipeline.java:68)
2020-08-21T04:49:05.0424159Z at
org.apache.helix.controller.GenericHelixController.handleEvent(GenericHelixController.java:777)
2020-08-21T04:49:05.0424292Z at
org.apache.helix.controller.GenericHelixController.access$500(GenericHelixController.java:128)
2020-08-21T04:49:05.0424428Z at
org.apache.helix.controller.GenericHelixController$ClusterEventProcessor.run(GenericHelixController.java:1407)
2020-08-21T04:49:26.1087469Z 2247744 [main] ERROR
org.apache.helix.TestHelper - verifier time out, consider try longer timeout,
stack trace[java.lang.Thread.getStackTrace(Thread.java:1559),
org.apache.helix.TestHelper.verify(TestHelper.java:804),
org.apache.helix.controller.changedetector.TestResourceChangeDetector.afterClass(TestResourceChangeDetector.java:124),
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method),
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62),
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43),
java.lang.reflect.Method.invoke(Method.java:498),
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:76),
org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:525),
org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202),
org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130),
org.testng.internal.TestMethodWorker.invokeAfterClass
Methods(TestMethodWorker.java:222),
org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112),
org.testng.TestRunner.runWorkers(TestRunner.java:1147),
org.testng.TestRunner.privateRun(TestRunner.java:749),
org.testng.TestRunner.run(TestRunner.java:600),
org.testng.SuiteRunner.runTest(SuiteRunner.java:317),
org.testng.SuiteRunner.runSequentially(SuiteRunner.java:312),
org.testng.SuiteRunner.privateRun(SuiteRunner.java:274),
org.testng.SuiteRunner.run(SuiteRunner.java:223),
org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52),
org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86),
org.testng.TestNG.runSuitesSequentially(TestNG.java:1039),
org.testng.TestNG.runSuitesLocally(TestNG.java:964),
org.testng.TestNG.run(TestNG.java:900),
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283),
org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75),
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGPro
vider.java:120),
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384),
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345),
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126),
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)]
2020-08-21T04:49:26.1090128Z AfterClass:TestResourceChangeDetector
afterclass of ZkTestBase called!
2020-08-21T04:49:27.1047418Z TestResourceChangeDetector has active threads
cnt:207
2020-08-21T04:49:27.1146302Z zookeeper server threads has 4 thread
Solution: 1/ enlarge timeout
or 2/ not use callback verifier.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]