Failed
com.ning.http.client.async.grizzly.GrizzlyAsyncStreamHandlerTest.asyncOptionsTest
Error Message
Index: 0
Stacktrace
java.lang.IndexOutOfBoundsException: Index: 0 at java.util.Collections$EmptyList.get(Collections.java:4454) at com.ning.http.client.async.AsyncStreamHandlerTest.asyncOptionsTest(AsyncStreamHandlerTest.java:435) 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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) at org.testng.internal.Invoker.invokeMethod(Invoker.java:714) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111) at org.testng.TestRunner.privateRun(TestRunner.java:767) at org.testng.TestRunner.run(TestRunner.java:617) at org.testng.SuiteRunner.runTest(SuiteRunner.java:348) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305) at org.testng.SuiteRunner.run(SuiteRunner.java:254) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.run(TestNG.java:1057) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:76) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:112) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:115) 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.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Standard Output
Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNGMapConfigurator@7dc5e7b4 06:59:41,205 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback-test.xml] at [file:/home/jenkins/agent/workspace/Grizzly-AHC-master-nightly/target/test-classes/logback-test.xml] 06:59:41,321 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set 06:59:41,322 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender] 06:59:41,334 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [CONSOLE] 06:59:41,413 |-WARN in ch.qos.logback.core.ConsoleAppender[CONSOLE] - This appender no longer admits a layout as a sub-component, set an encoder instead. 06:59:41,413 |-WARN in ch.qos.logback.core.ConsoleAppender[CONSOLE] - To ensure compatibility, wrapping your layout in LayoutWrappingEncoder. 06:59:41,413 |-WARN in ch.qos.logback.core.ConsoleAppender[CONSOLE] - See also http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details 06:59:41,415 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.eclipse] to INFO 06:59:41,415 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to DEBUG 06:59:41,416 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[ROOT] 06:59:41,416 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration. 06:59:41,420 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@76b0bfab - Registering current configuration as safe fallback point 2022-08-12 06:59:41,522 [main] INFO org.eclipse.jetty.util.log - Logging initialized @770ms to org.eclipse.jetty.util.log.Slf4jLog 2022-08-12 06:59:41,691 [main] INFO org.eclipse.jetty.server.Server - jetty-9.4.17.v20190418; built: 2019-04-18T19:45:35.259Z; git: aa1c656c315c011c01e7b21aabb04066635b9f67; jvm 1.8.0_202-b08 2022-08-12 06:59:41,750 [main] INFO org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@44a664f2{HTTP/1.1,[http/1.1]}{127.0.0.1:36399} 2022-08-12 06:59:41,751 [main] INFO org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@400cff1a{HTTP/1.1,[http/1.1]}{127.0.0.1:44491} 2022-08-12 06:59:41,751 [main] INFO org.eclipse.jetty.server.Server - Started @1007ms 2022-08-12 06:59:41,751 [main] INFO com.ning.http.client.async.AbstractBasicTest - Local HTTP server started successfully 2022-08-12 06:59:42,298 [grizzly-ahc-kernel(1) SelectorRunner] DEBUG com.ning.http.client.providers.grizzly.AsyncHttpClientFilter - REQUEST: HttpRequestPacket ( method=OPTIONS url=/ query=null protocol=HTTP/1.1 content-length=-1 headers=[ Host=www.apache.org User-Agent=AHC/1.0 Connection=keep-alive Accept=*/*] ) 2022-08-12 06:59:42,315 [AsyncHttpClient-Callback] DEBUG com.ning.http.client.providers.grizzly.AhcEventFilter - RESPONSE: HttpResponsePacket ( status=301 reason=Moved Permanently protocol=HTTP/1.1 content-length=0 committed=false headers=[ server=Varnish retry-after=0 location=https://www.apache.org/ content-length=0 accept-ranges=bytes date=Fri, 12 Aug 2022 06:59:42 GMT via=1.1 varnish connection=close x-served-by=cache-yul12832-YUL x-cache=HIT x-cache-hits=0 x-timer=S1660287582.305765,VS0,VE0] )