Skip to content

GenericServiceTest.testGenericSerializationJava failed #2490

Closed

Description

@diecui1202

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

Activity

  1. added
    help wanted
    on Sep 12, 2018
  2. diecui1202 commented on Sep 13, 2018

    @diecui1202
    Author

    How about set timeout value to 3000?

  3. carryxyh commented on Sep 13, 2018

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

  4. added this to the 2.6.4 milestone on Sep 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wanted

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions