kylixs opened a new issue #9268:
URL: https://github.com/apache/dubbo/issues/9268


   <!-- If you need to report a security issue please visit 
https://github.com/apache/dubbo/security/policy -->
   
   - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) 
of this repository and believe that this is not a duplicate.
   
   ### Environment
   
   * Dubbo version: 3.0.5
   * Operating System version: macOS 10.15.4
   * Java version: xxx
   
   ### Errors
   
   1. Run unit test in `IDEA`
   2. Error log
   ```
   [13/11/21 18:19:38:924 CST] main  INFO 
initializer.UnpackZookeeperInitializer:  [DUBBO] The file has been unpacked, 
target 
path:/var/folders/rm/xplq6_5j1s19bxtv8s6vprj80000gp/T/dubbo-mocked-zookeeper/2181,
 dubbo version: , current host: 192.168.31.105
   [13/11/21 18:19:38:932 CST] main  INFO 
initializer.UnpackZookeeperInitializer:  [DUBBO] The file has been unpacked, 
target 
path:/var/folders/rm/xplq6_5j1s19bxtv8s6vprj80000gp/T/dubbo-mocked-zookeeper/2182,
 dubbo version: , current host: 192.168.31.105
   [13/11/21 18:19:40:247 CST] main  INFO 
processor.StartZookeeperUnixProcessor:  [DUBBO] The zookeeper-2181 is 
starting..., dubbo version: , current host: 192.168.31.105
   ZooKeeper JMX enabled by default
   Using config: 
/var/folders/rm/xplq6_5j1s19bxtv8s6vprj80000gp/T/dubbo-mocked-zookeeper/2181/apache-zookeeper-3.6.0-bin/conf/zoo.cfg
   [13/11/21 18:25:35:286 CST] main  INFO 
processor.StartZookeeperUnixProcessor:  [DUBBO] The zookeeper-2182 is 
starting..., dubbo version: , current host: 192.168.31.105
   ZooKeeper JMX enabled by default
   Using config: 
/var/folders/rm/xplq6_5j1s19bxtv8s6vprj80000gp/T/dubbo-mocked-zookeeper/2182/apache-zookeeper-3.6.0-bin/conf/zoo.cfg
   十一月 13, 2021 6:25:35 下午 
org.junit.platform.launcher.core.TestExecutionListenerRegistry 
lambda$notifyEach$1
   警告: TestExecutionListener 
[org.apache.dubbo.test.check.RegistryCenterStarted] threw exception for method: 
testPlanExecutionStarted(org.junit.platform.launcher.core.InternalTestPlan@7dda48d9)
   java.lang.IllegalStateException: Failed to start zookeeper instance in unit 
test
        at 
org.apache.dubbo.test.check.RegistryCenterStarted.testPlanExecutionStarted(RegistryCenterStarted.java:36)
        at 
org.junit.platform.launcher.core.TestExecutionListenerRegistry$CompositeTestExecutionListener.lambda$testPlanExecutionStarted$12(TestExecutionListenerRegistry.java:115)
        at 
org.junit.platform.launcher.core.TestExecutionListenerRegistry.lambda$notifyEach$1(TestExecutionListenerRegistry.java:67)
        at java.util.ArrayList.forEach(ArrayList.java:1255)
        at 
org.junit.platform.launcher.core.TestExecutionListenerRegistry.notifyEach(TestExecutionListenerRegistry.java:65)
        at 
org.junit.platform.launcher.core.TestExecutionListenerRegistry.access$200(TestExecutionListenerRegistry.java:32)
        at 
org.junit.platform.launcher.core.TestExecutionListenerRegistry$CompositeTestExecutionListener.testPlanExecutionStarted(TestExecutionListenerRegistry.java:115)
        at 
org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$5(DefaultLauncher.java:200)
        at 
org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:226)
        at 
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:199)
        at 
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:132)
        at 
com.intellij.junit5.JUnit5IdeaTestRunner.startRunnerWithArgs(JUnit5IdeaTestRunner.java:71)
        at 
com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33)
        at 
com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:221)
        at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54)
   Caused by: org.apache.dubbo.test.check.exception.DubboTestException: Ready 
pattern not found in log, log: 
   Starting zookeeper ... already running as process 73031.
        at 
org.apache.dubbo.test.check.registrycenter.processor.ZookeeperUnixProcessor.awaitProcessReady(ZookeeperUnixProcessor.java:83)
        at 
org.apache.dubbo.test.check.registrycenter.processor.ZookeeperUnixProcessor.process(ZookeeperUnixProcessor.java:45)
        at 
org.apache.dubbo.test.check.registrycenter.ZookeeperRegistryCenter.startup(ZookeeperRegistryCenter.java:151)
        at 
org.apache.dubbo.test.check.registrycenter.GlobalRegistryCenter.startup(GlobalRegistryCenter.java:35)
        at 
org.apache.dubbo.test.check.RegistryCenterStarted.testPlanExecutionStarted(RegistryCenterStarted.java:33)
        ... 14 more
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to