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

fetch route in apache shenyu #11260

Merged
merged 20 commits into from
May 17, 2024

Conversation

123liuziming
Copy link
Contributor

No description provided.

@123liuziming 123liuziming requested a review from a team April 30, 2024 12:13
@github-actions github-actions bot requested a review from theletterf April 30, 2024 12:13
@123liuziming
Copy link
Contributor Author

related to #11233

@123liuziming
Copy link
Contributor Author

PlayAsyncServerTest > test exception STANDARD_OUT
    12:32:26.660 [application-akka.actor.default-dispatcher-8] ERROR application - 

    ! @85bpl46e2 - Internal server error, for (GET) [/exception] ->
 
    play.api.http.HttpErrorHandlerExceptions$$anon$1: Execution exception[[CompletionException: java.lang.reflect.UndeclaredThrowableException]]
    	at play.api.http.HttpErrorHandlerExceptions$.throwableToUsefulException(HttpErrorHandler.scala:293)
    	at play.api.http.DefaultHttpErrorHandler.onServerError(HttpErrorHandler.scala:220)
    	at play.core.server.netty.PlayRequestHandler$$anonfun$2$$anonfun$apply$1.applyOrElse(PlayRequestHandler.scala:100)
    	at play.core.server.netty.PlayRequestHandler$$anonfun$2$$anonfun$apply$1.applyOrElse(PlayRequestHandler.scala:99)
    	at scala.concurrent.Future$$anonfun$recoverWith$1.apply(Future.scala:346)
    	at scala.concurrent.Future$$anonfun$recoverWith$1.apply(Future.scala:345)
    	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:36)
    	at play.api.libs.iteratee.Execution$trampoline$.executeScheduled(Execution.scala:109)
    	at play.api.libs.iteratee.Execution$trampoline$.execute(Execution.scala:71)
    	at scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:44)
    	at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:252)
    	at scala.concurrent.Promise$class.complete(Promise.scala:55)
    	at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:157)
    	at scala.concurrent.java8.FuturesConvertersImpl$P.accept(FutureConvertersImpl.scala:94)
    	at scala.concurrent.java8.FuturesConvertersImpl$P.accept(FutureConvertersImpl.scala:89)
    	at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:774)
    	at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:750)
    	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488)
    	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1609)
    	at play.core.j.HttpExecutionContext$$anon$2.run(HttpExecutionContext.scala:56)
    	at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:39)
    	at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:415)
    	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
    	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
    	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
    	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
    Caused by: java.util.concurrent.CompletionException: java.lang.reflect.UndeclaredThrowableException
    	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
    	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
    	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1606)
    	... 7 common frames omitted
    Caused by: java.lang.reflect.UndeclaredThrowableException: null
    	at com.sun.proxy.$Proxy60.get(Unknown Source)
    	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
    	... 7 common frames omitted
    Caused by: java.lang.Exception: controller exception
    	at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321)
    	at server.PlayAsyncServerTest$_startServer_closure7$_closure21$_closure22.doCall(PlayAsyncServerTest.groovy:77)
    	at server.PlayAsyncServerTest$_startServer_closure7$_closure21$_closure22.doCall(PlayAsyncServerTest.groovy)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:343)
    	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:328)
    	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:279)
    	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1007)
    	at groovy.lang.Closure.call(Closure.java:433)
    	at groovy.lang.Closure.call(Closure.java:412)
    	at io.opentelemetry.instrumentation.test.base.HttpServerTest$_controller_closure1.doCall(HttpServerTest.groovy:198)
    	at io.opentelemetry.instrumentation.test.base.HttpServerTest$_controller_closure1.doCall(HttpServerTest.groovy)
    	at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:343)
    	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:328)
    	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:279)
    	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1007)
    	at groovy.lang.Closure.call(Closure.java:433)
    	at groovy.lang.Closure.call(Closure.java:412)
    	at io.opentelemetry.instrumentation.testing.TestInstrumenters.runWithInstrumenter(TestInstrumenters.java:103)
    	at io.opentelemetry.instrumentation.testing.TestInstrumenters.runWithSpan(TestInstrumenters.java:64)
    	at io.opentelemetry.instrumentation.testing.GlobalTraceUtil.runWithSpan(GlobalTraceUtil.java:51)
    	at io.opentelemetry.instrumentation.testing.GlobalTraceUtil.runWithSpan(GlobalTraceUtil.java:28)
    	at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321)
    	at io.opentelemetry.instrumentation.test.base.HttpServerTest.controller(HttpServerTest.groovy:197)
    	at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:343)
    	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:328)
    	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:342)
    	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1007)
    	at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:645)
    	at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:628)
    	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeOnDelegationObjects(ClosureMetaClass.java:391)
    	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:328)
    	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1007)
    	at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321)
    	at server.PlayAsyncServerTest$_startServer_closure7$_closure21.doCall(PlayAsyncServerTest.groovy:76)
    	at server.PlayAsyncServerTest$_startServer_closure7$_closure21.doCall(PlayAsyncServerTest.groovy)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:343)
    	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:328)
    	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:279)
    	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1007)
    	at groovy.lang.Closure.call(Closure.java:433)
    	at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:52)
    	at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:113)
    	... 9 common frames omitted

play latest depth test failed.

@123liuziming
Copy link
Contributor Author

may be I should merge main branch to fix the latestdepth test

@123liuziming 123liuziming force-pushed the feat/apache-shenyu-route branch from 869c565 to c42b12e Compare May 8, 2024 04:16
@laurit laurit added this to the v2.4.0 milestone May 13, 2024
@trask trask merged commit 9e48f24 into open-telemetry:main May 17, 2024
53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants