Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save McPringle/c5fc0496cf50972a66471d5a99999b35 to your computer and use it in GitHub Desktop.
Save McPringle/c5fc0496cf50972a66471d5a99999b35 to your computer and use it in GitHub Desktop.
ktor 0.3.3-SNAPSHOT man install error details
Running org.jetbrains.ktor.tests.jetty.JettyServletContainerHostTest
2017-06-04 16:48:35.159 [qtp424732838-4140] WARN o.e.j.util.thread.QueuedThreadPool -
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:717)
at org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(QueuedThreadPool.java:476)
at org.eclipse.jetty.util.thread.QueuedThreadPool.access$200(QueuedThreadPool.java:49)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:635)
at java.lang.Thread.run(Thread.java:748)
2017-06-04 16:48:35.159 [qtp424732838-4142] WARN o.e.j.util.thread.QueuedThreadPool -
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:717)
at org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(QueuedThreadPool.java:476)
at org.eclipse.jetty.util.thread.QueuedThreadPool.access$200(QueuedThreadPool.java:49)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:635)
at java.lang.Thread.run(Thread.java:748)
2017-06-04 16:48:35.167 [qtp424732838-4140] WARN o.e.j.util.thread.QueuedThreadPool - Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$2@6c9b8a7c in qtp424732838{STARTED,8<=20<=200,i=0,q=0}
2017-06-04 16:48:35.167 [qtp424732838-4142] WARN o.e.j.util.thread.QueuedThreadPool - Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$2@6c9b8a7c in qtp424732838{STARTED,8<=20<=200,i=0,q=0}
Exception in thread "qtp424732838-4140" Exception in thread "qtp424732838-4142" java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:717)
at org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(QueuedThreadPool.java:476)
at org.eclipse.jetty.util.thread.QueuedThreadPool.access$200(QueuedThreadPool.java:49)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:657)
at java.lang.Thread.run(Thread.java:748)
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:717)
at org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(QueuedThreadPool.java:476)
at org.eclipse.jetty.util.thread.QueuedThreadPool.access$200(QueuedThreadPool.java:49)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:657)
at java.lang.Thread.run(Thread.java:748)
2017-06-04 16:48:35.942 [ktor-pool-73-thread-1 @coroutine#3315 @coroutine#3318] WARN o.e.j.util.thread.QueuedThreadPool - qtp1506938939{STOPPED,8<=20<=200,i=0,q=0} rejected HttpChannelOverHttp@1276ff5c{r=1,c=false,a=ASYNC_WOKEN,uri=//localhost:50500/}
Exception in thread "ktor-pool-73-thread-1 @coroutine#3315" java.lang.IllegalStateException: No instance for key AttributeKey: Transformation Support
at org.jetbrains.ktor.util.Attributes.get(Attributes.kt:15)
at org.jetbrains.ktor.application.ApplicationFeatureKt.feature(ApplicationFeature.kt:26)
at org.jetbrains.ktor.transform.ApplicationTransformKt.getTransform(ApplicationTransform.kt:56)
at org.jetbrains.ktor.transform.ApplicationTransform$Feature$install$1$1.doResume(ApplicationTransform.kt:45)
at org.jetbrains.ktor.transform.ApplicationTransform$Feature$install$1$1.invoke(ApplicationTransform.kt)
at org.jetbrains.ktor.transform.ApplicationTransform$Feature$install$1$1.invoke(ApplicationTransform.kt:32)
at org.jetbrains.ktor.pipeline.PipelineContext$proceed$1.doResume(PipelineContext.kt:26)
at org.jetbrains.ktor.pipeline.PipelineContext.proceed(PipelineContext.kt)
at org.jetbrains.ktor.host.BaseApplicationCall$respond$1.doResume(BaseApplicationCall.kt:21)
at org.jetbrains.ktor.host.BaseApplicationCall.respond(BaseApplicationCall.kt)
at org.jetbrains.ktor.servlet.ServletApplicationCall.access$respond$s-114627863(ServletApplicationCall.kt:13)
at org.jetbrains.ktor.servlet.ServletApplicationCall$respond$1.doResume(ServletApplicationCall.kt:53)
at org.jetbrains.ktor.servlet.ServletApplicationCall.respond(ServletApplicationCall.kt)
at org.jetbrains.ktor.host.DefaultHostPipelineKt$defaultHostPipeline$2.doResume(DefaultHostPipeline.kt:26)
at org.jetbrains.ktor.host.DefaultHostPipelineKt$defaultHostPipeline$2.invoke(DefaultHostPipeline.kt)
at org.jetbrains.ktor.host.DefaultHostPipelineKt$defaultHostPipeline$2.invoke(DefaultHostPipeline.kt)
at org.jetbrains.ktor.pipeline.PipelineContext$proceed$1.doResume(PipelineContext.kt:26)
at org.jetbrains.ktor.pipeline.PipelineContext.proceed(PipelineContext.kt)
at org.jetbrains.ktor.pipeline.Pipeline.execute(Pipeline.kt:21)
at org.jetbrains.ktor.servlet.KtorServlet$service$1.doResume(KtorServlet.kt:35)
at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:54)
at kotlinx.coroutines.experimental.DispatchedContinuation$resume$1.run(CoroutineDispatcher.kt:171)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Exception in thread "ktor-pool-73-thread-1 @coroutine#3317" java.lang.IllegalStateException: No instance for key AttributeKey: Transformation Support
at org.jetbrains.ktor.util.Attributes.get(Attributes.kt:15)
at org.jetbrains.ktor.application.ApplicationFeatureKt.feature(ApplicationFeature.kt:26)
at org.jetbrains.ktor.transform.ApplicationTransformKt.getTransform(ApplicationTransform.kt:56)
at org.jetbrains.ktor.transform.ApplicationTransform$Feature$install$1$1.doResume(ApplicationTransform.kt:45)
at org.jetbrains.ktor.transform.ApplicationTransform$Feature$install$1$1.invoke(ApplicationTransform.kt)
at org.jetbrains.ktor.transform.ApplicationTransform$Feature$install$1$1.invoke(ApplicationTransform.kt:32)
at org.jetbrains.ktor.pipeline.PipelineContext$proceed$1.doResume(PipelineContext.kt:26)
at org.jetbrains.ktor.pipeline.PipelineContext.proceed(PipelineContext.kt)
at org.jetbrains.ktor.host.BaseApplicationCall$respond$1.doResume(BaseApplicationCall.kt:21)
at org.jetbrains.ktor.host.BaseApplicationCall.respond(BaseApplicationCall.kt)
at org.jetbrains.ktor.servlet.ServletApplicationCall.access$respond$s-114627863(ServletApplicationCall.kt:13)
at org.jetbrains.ktor.servlet.ServletApplicationCall$respond$1.doResume(ServletApplicationCall.kt:53)
at org.jetbrains.ktor.servlet.ServletApplicationCall.respond(ServletApplicationCall.kt)
at org.jetbrains.ktor.host.DefaultHostPipelineKt$defaultHostPipeline$2.doResume(DefaultHostPipeline.kt:26)
at org.jetbrains.ktor.host.DefaultHostPipelineKt$defaultHostPipeline$2.invoke(DefaultHostPipeline.kt)
at org.jetbrains.ktor.host.DefaultHostPipelineKt$defaultHostPipeline$2.invoke(DefaultHostPipeline.kt)
at org.jetbrains.ktor.pipeline.PipelineContext$proceed$1.doResume(PipelineContext.kt:26)
at org.jetbrains.ktor.pipeline.PipelineContext.proceed(PipelineContext.kt)
at org.jetbrains.ktor.pipeline.Pipeline.execute(Pipeline.kt:21)
at org.jetbrains.ktor.servlet.KtorServlet$service$1.doResume(KtorServlet.kt:35)
at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:54)
at kotlinx.coroutines.experimental.DispatchedContinuation$resume$1.run(CoroutineDispatcher.kt:171)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
2017-06-04 16:48:35.957 [ktor-pool-73-thread-2 @coroutine#3316 @coroutine#3319] WARN o.e.j.util.thread.QueuedThreadPool - qtp1506938939{STOPPED,8<=20<=200,i=0,q=0} rejected HttpChannelOverHttp@50f97358{r=1,c=false,a=ASYNC_WOKEN,uri=//localhost:50500/}
Exception in thread "ktor-pool-73-thread-2 @coroutine#3316" java.lang.IllegalStateException: No instance for key AttributeKey: Transformation Support
at org.jetbrains.ktor.util.Attributes.get(Attributes.kt:15)
at org.jetbrains.ktor.application.ApplicationFeatureKt.feature(ApplicationFeature.kt:26)
at org.jetbrains.ktor.transform.ApplicationTransformKt.getTransform(ApplicationTransform.kt:56)
at org.jetbrains.ktor.transform.ApplicationTransform$Feature$install$1$1.doResume(ApplicationTransform.kt:45)
at org.jetbrains.ktor.transform.ApplicationTransform$Feature$install$1$1.invoke(ApplicationTransform.kt)
at org.jetbrains.ktor.transform.ApplicationTransform$Feature$install$1$1.invoke(ApplicationTransform.kt:32)
at org.jetbrains.ktor.pipeline.PipelineContext$proceed$1.doResume(PipelineContext.kt:26)
at org.jetbrains.ktor.pipeline.PipelineContext.proceed(PipelineContext.kt)
at org.jetbrains.ktor.host.BaseApplicationCall$respond$1.doResume(BaseApplicationCall.kt:21)
at org.jetbrains.ktor.host.BaseApplicationCall.respond(BaseApplicationCall.kt)
at org.jetbrains.ktor.servlet.ServletApplicationCall.access$respond$s-114627863(ServletApplicationCall.kt:13)
at org.jetbrains.ktor.servlet.ServletApplicationCall$respond$1.doResume(ServletApplicationCall.kt:53)
at org.jetbrains.ktor.servlet.ServletApplicationCall.respond(ServletApplicationCall.kt)
at org.jetbrains.ktor.host.DefaultHostPipelineKt$defaultHostPipeline$2.doResume(DefaultHostPipeline.kt:26)
at org.jetbrains.ktor.host.DefaultHostPipelineKt$defaultHostPipeline$2.invoke(DefaultHostPipeline.kt)
at org.jetbrains.ktor.host.DefaultHostPipelineKt$defaultHostPipeline$2.invoke(DefaultHostPipeline.kt)
at org.jetbrains.ktor.pipeline.PipelineContext$proceed$1.doResume(PipelineContext.kt:26)
at org.jetbrains.ktor.pipeline.PipelineContext.proceed(PipelineContext.kt)
at org.jetbrains.ktor.pipeline.Pipeline.execute(Pipeline.kt:21)
at org.jetbrains.ktor.servlet.KtorServlet$service$1.doResume(KtorServlet.kt:35)
at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:54)
at kotlinx.coroutines.experimental.DispatchedContinuation$resume$1.run(CoroutineDispatcher.kt:171)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
2017-06-04 16:49:05.166 [main] WARN o.e.j.util.thread.QueuedThreadPool - qtp424732838{STOPPING,8<=19<=200,i=0,q=0} Couldn't stop Thread[qtp424732838-4164,5,main]
2017-06-04 16:49:05.166 [main] WARN o.e.j.util.thread.QueuedThreadPool - qtp424732838{STOPPING,8<=19<=200,i=0,q=0} Couldn't stop Thread[qtp424732838-4142,5,]
2017-06-04 16:49:05.166 [main] WARN o.e.j.util.thread.QueuedThreadPool - qtp424732838{STOPPING,8<=19<=200,i=0,q=0} Couldn't stop Thread[qtp424732838-4166,5,main]
2017-06-04 16:49:05.166 [main] WARN o.e.j.util.thread.QueuedThreadPool - qtp424732838{STOPPING,8<=19<=200,i=0,q=0} Couldn't stop Thread[qtp424732838-4165,5,main]
2017-06-04 16:49:05.166 [main] WARN o.e.j.util.thread.QueuedThreadPool - qtp424732838{STOPPING,8<=19<=200,i=0,q=0} Couldn't stop Thread[qtp424732838-4163,5,main]
2017-06-04 16:49:05.166 [main] WARN o.e.j.util.thread.QueuedThreadPool - qtp424732838{STOPPING,8<=19<=200,i=0,q=0} Couldn't stop Thread[qtp424732838-4140,5,]
Tests run: 41, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 68.235 sec <<< FAILURE! - in org.jetbrains.ktor.tests.jetty.JettyServletContainerHostTest
testBlockingDeadlock(org.jetbrains.ktor.tests.jetty.JettyServletContainerHostTest) Time elapsed: 0.278 sec <<< ERROR!
java.lang.OutOfMemoryError: unable to create new native thread
testHostRequestParts(org.jetbrains.ktor.tests.jetty.JettyServletContainerHostTest) Time elapsed: 30.114 sec <<< ERROR!
java.net.SocketTimeoutException: Read timed out
testEchoBlocking(org.jetbrains.ktor.tests.jetty.JettyServletContainerHostTest) Time elapsed: 30.116 sec <<< ERROR!
java.net.SocketTimeoutException: Read timed out
Results :
Tests in error:
JettyServletContainerHostTest>HostTestSuite.testBlockingDeadlock:1010 » OutOfMemory
JettyServletContainerHostTest>HostTestSuite.testEchoBlocking:537->HostTestBase.withUrl:79->HostTestBase.withUrl:96 » SocketTimeout
JettyServletContainerHostTest>HostTestSuite.testHostRequestParts:818->HostTestBase.withUrl:79->HostTestBase.withUrl:96 » SocketTimeout
Tests run: 82, Failures: 0, Errors: 3, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ktor ............................................... SUCCESS [ 51.511 s]
[INFO] ktor-core .......................................... SUCCESS [ 50.244 s]
[INFO] ktor-hosts ......................................... SUCCESS [ 0.060 s]
[INFO] ktor-hosts-common .................................. SUCCESS [ 5.249 s]
[INFO] ktor-test-host ..................................... SUCCESS [ 8.692 s]
[INFO] ktor-core-tests .................................... SUCCESS [ 21.105 s]
[INFO] ktor-features ...................................... SUCCESS [ 0.048 s]
[INFO] ktor-freemarker .................................... SUCCESS [ 9.636 s]
[INFO] ktor-server-sessions ............................... SUCCESS [ 4.795 s]
[INFO] ktor-auth .......................................... SUCCESS [ 9.091 s]
[INFO] ktor-locations ..................................... SUCCESS [ 5.502 s]
[INFO] ktor-servlet ....................................... SUCCESS [ 2.205 s]
[INFO] ktor-jetty ......................................... FAILURE [01:38 min]
[INFO] ktor-netty ......................................... SKIPPED
[INFO] ktor-tomcat ........................................ SKIPPED
[INFO] ktor-websockets .................................... SKIPPED
[INFO] ktor-html-builder .................................. SKIPPED
[INFO] jetty-http-client .................................. SKIPPED
[INFO] ktor-auth-ldap ..................................... SKIPPED
[INFO] ktor-samples ....................................... SKIPPED
[INFO] ktor-samples-hello ................................. SKIPPED
[INFO] ktor-samples-html .................................. SKIPPED
[INFO] ktor-samples-locations ............................. SKIPPED
[INFO] ktor-samples-auth .................................. SKIPPED
[INFO] ktor-samples-async ................................. SKIPPED
[INFO] ktor-samples-testable .............................. SKIPPED
[INFO] ktor-samples-json .................................. SKIPPED
[INFO] ktor-samples-post .................................. SKIPPED
[INFO] ktor-samples-embedded .............................. SKIPPED
[INFO] you-kube ........................................... SKIPPED
[INFO] kweet .............................................. SKIPPED
[INFO] ktor-samples-websocket ............................. SKIPPED
[INFO] ktor-samples-ssl-http2 ............................. SKIPPED
[INFO] ktor-samples-custom-feature ........................ SKIPPED
[INFO] ktor-jmh ........................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:26 min
[INFO] Finished at: 2017-06-04T16:49:36+02:00
[INFO] Final Memory: 65M/1387M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project ktor-jetty: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/mcpringle/tmp/ktor/ktor-hosts/ktor-jetty/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :ktor-jetty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment