Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GenericServiceTest.testGenericSerializationJava failed #2490

Closed
diecui1202 opened this issue Sep 12, 2018 · 2 comments
Closed

GenericServiceTest.testGenericSerializationJava failed #2490

diecui1202 opened this issue Sep 12, 2018 · 2 comments
Labels
help wanted Everything needs help from contributors
Milestone

Comments

@diecui1202
Copy link

diecui1202 commented Sep 12, 2018

JDK8

Tests in error: 
  GenericServiceTest.testGenericSerializationJava:159 » Rpc Invoke remote method...

Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.634 sec <<< FAILURE! - in org.apache.dubbo.config.GenericServiceTest
testGenericSerializationJava(org.apache.dubbo.config.GenericServiceTest)  Time elapsed: 6.965 sec  <<< ERROR!
org.apache.dubbo.rpc.RpcException: Invoke remote method timeout. method: $invoke, provider: dubbo://127.0.0.1:29581/org.apache.dubbo.config.api.DemoService?application=generic-consumer&dubbo=2.0.2&generic=nativejava&interface=org.apache.dubbo.config.api.DemoService&pid=4653&register.ip=172.17.0.25&scope=remote&side=consumer&timestamp=1536687085410, cause: Sending request timeout in client-side by scan timer. start time: 2018-09-11 17:31:27.527, end time: 2018-09-11 17:31:28.551, elapsed: 1024 ms, timeout: 1000 ms, request: Request [id=0, version=2.0.2, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=$invoke, parameterTypes=[class java.lang.String, class [Ljava.lang.String;, class [Ljava.lang.Object;], arguments=[sayName, [Ljava.lang.String;@688bd1e4, [Ljava.lang.Object;@e6f4550], attachments={path=org.apache.dubbo.config.api.DemoService, interface=org.apache.dubbo.config.api.DemoService, version=0.0.0, generic=nativejava}]], channel: /172.17.0.25:57036 -> /172.17.0.25:29581
	at org.apache.dubbo.config.GenericServiceTest.testGenericSerializationJava(GenericServiceTest.java:159)
Caused by: org.apache.dubbo.remoting.TimeoutException: Sending request timeout in client-side by scan timer. start time: 2018-09-11 17:31:27.527, end time: 2018-09-11 17:31:28.551, elapsed: 1024 ms, timeout: 1000 ms, request: Request [id=0, version=2.0.2, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=$invoke, parameterTypes=[class java.lang.String, class [Ljava.lang.String;, class [Ljava.lang.Object;], arguments=[sayName, [Ljava.lang.String;@688bd1e4, [Ljava.lang.Object;@e6f4550], attachments={path=org.apache.dubbo.config.api.DemoService, interface=org.apache.dubbo.config.api.DemoService, version=0.0.0, generic=nativejava}]], channel: /172.17.0.25:57036 -> /172.17.0.25:29581
	at org.apache.dubbo.config.GenericServiceTest.testGenericSerializationJava(GenericServiceTest.java:159)

The log is: https://api.travis-ci.org/v3/job/427288378/log.txt

@diecui1202 diecui1202 added help wanted Everything needs help from contributors type/suspicious labels Sep 12, 2018
@diecui1202
Copy link
Author

How about set timeout value to 3000?

@carryxyh
Copy link
Member

Agree.
There are some instability in our ut (especially on CI machines), it is recommended to adjust the timeout. We only need to ensure that the results are correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Everything needs help from contributors
Projects
None yet
Development

No branches or pull requests

2 participants