Skip to content

Failing product test suite suite-oauth2 #8719

Closed

Description

https://github.com/trinodb/trino/runs/3199652457

tests               | 2021-07-30 13:20:08 INFO: [1 of 2] io.trino.tests.product.jdbc.TestExternalAuthorizerOAuth2.shouldAuthenticateAfterTokenExpires (Groups: profile_specific_tests, oauth2)
selenium-chrome     | 07:35:10.319 INFO [ActiveSessionFactory.apply] - Capabilities are: {
selenium-chrome     |   "acceptInsecureCerts": true,
selenium-chrome     |   "browserName": "chrome",
selenium-chrome     |   "goog:chromeOptions": {
selenium-chrome     |     "args": [
selenium-chrome     |     ],
selenium-chrome     |     "extensions": [
selenium-chrome     |     ]
selenium-chrome     |   }
selenium-chrome     | }
selenium-chrome     | 07:35:10.322 INFO [ActiveSessionFactory.lambda$apply$11] - Matched factory org.openqa.selenium.grid.session.remote.ServicedSession$Factory (provider: org.openqa.selenium.chrome.ChromeDriverService)
selenium-chrome     | Starting ChromeDriver 92.0.4515.107 (87a818b10553a07434ea9e2b6dccf3cbe7895134-refs/branch-heads/4515@{#1634}) on port 29737
selenium-chrome     | Only local connections are allowed.
selenium-chrome     | Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
selenium-chrome     | ChromeDriver was started successfully.
selenium-chrome     | [1627630510.358][SEVERE]: bind() failed: Cannot assign requested address (99)
2021-07-30T07:35:29.320Z	INFO	container-stats-0	io.trino.tests.product.launcher.env.EnvironmentListener	Container stats:
+--------------------------+---------+--------+---------+--------+----------+------+---------+---------+
|                container |     cpu |    mem | max mem |  mem % | peak mem | pids |  net in | net out |
+--------------------------+---------+--------+---------+--------+----------+------+---------+---------+
|                    hydra |     n/a |        |         |        |          |      |         |         |
| hydra-client-preparation |     n/a |        |         |        |          |      |         |         |
|            hydra-consent |     n/a |        |         |        |          |      |         |         |
|            presto-master |   1.93% | 6.79GB |  1.03GB | 15.24% |   1.22GB |  158 | 10.80kB |  6.41kB |
|          selenium-chrome | 133.17% | 6.79GB |  0.43GB |  6.26% |   0.43GB |  134 |  7.68kB |  3.46kB |
|                    tests |   0.05% | 6.79GB |  0.38GB |  5.59% |   0.40GB |   24 |  6.64kB |  5.35kB |
+--------------------------+---------+--------+---------+--------+----------+------+---------+---------+
2021-07-30T07:35:59.322Z	INFO	container-stats-0	io.trino.tests.product.launcher.env.EnvironmentListener	Container stats:
+--------------------------+---------+--------+---------+--------+----------+------+---------+---------+
|                container |     cpu |    mem | max mem |  mem % | peak mem | pids |  net in | net out |
+--------------------------+---------+--------+---------+--------+----------+------+---------+---------+
|                    hydra |     n/a |        |         |        |          |      |         |         |
| hydra-client-preparation |     n/a |        |         |        |          |      |         |         |
|            hydra-consent |     n/a |        |         |        |          |      |         |         |
|            presto-master |   2.47% | 6.79GB |  1.05GB | 15.48% |   1.22GB |  157 | 15.74kB | 11.75kB |
|          selenium-chrome | 129.82% | 6.79GB |  0.43GB |  6.29% |   0.43GB |  123 |  7.74kB |  3.52kB |
|                    tests |   0.06% | 6.79GB |  0.38GB |  5.60% |   0.40GB |   24 | 11.78kB | 10.05kB |
+--------------------------+---------+--------+---------+--------+----------+------+---------+---------+
2021-07-30T07:36:29.324Z	INFO	container-stats-0	io.trino.tests.product.launcher.env.EnvironmentListener	Container stats:
+--------------------------+---------+--------+---------+--------+----------+------+---------+---------+
|                container |     cpu |    mem | max mem |  mem % | peak mem | pids |  net in | net out |
+--------------------------+---------+--------+---------+--------+----------+------+---------+---------+
|                    hydra |     n/a |        |         |        |          |      |         |         |
| hydra-client-preparation |     n/a |        |         |        |          |      |         |         |
|            hydra-consent |     n/a |        |         |        |          |      |         |         |
|            presto-master |   1.48% | 6.79GB |  1.06GB | 15.60% |   1.22GB |  157 | 20.52kB | 18.11kB |
|          selenium-chrome | 131.74% | 6.79GB |  0.43GB |  6.33% |   0.43GB |  121 |  7.89kB |  3.60kB |
|                    tests |   0.06% | 6.79GB |  0.38GB |  5.58% |   0.40GB |   23 | 18.14kB | 14.83kB |
+--------------------------+---------+--------+---------+--------+----------+------+---------+---------+
2021-07-30T07:36:59.325Z	INFO	container-stats-0	io.trino.tests.product.launcher.env.EnvironmentListener	Container stats:
+--------------------------+---------+--------+---------+--------+----------+------+---------+---------+
|                container |     cpu |    mem | max mem |  mem % | peak mem | pids |  net in | net out |
+--------------------------+---------+--------+---------+--------+----------+------+---------+---------+
|                    hydra |     n/a |        |         |        |          |      |         |         |
| hydra-client-preparation |     n/a |        |         |        |          |      |         |         |
|            hydra-consent |     n/a |        |         |        |          |      |         |         |
|            presto-master |   2.20% | 6.79GB |  1.07GB | 15.78% |   1.22GB |  157 | 24.10kB | 22.36kB |
|          selenium-chrome | 129.18% | 6.79GB |  0.43GB |  6.37% |   0.43GB |  120 |  8.04kB |  3.75kB |
|                    tests |   0.06% | 6.79GB |  0.39GB |  5.68% |   0.40GB |   23 | 22.38kB | 18.34kB |
+--------------------------+---------+--------+---------+--------+----------+------+---------+---------+
tests               | 2021-07-30 13:22:14 WARNING: not retrying; stacktrace 'java.sql.SQLException: Error executing query
tests               | 	at io.trino.jdbc.TrinoStatement.internalExecute(TrinoStatement.java:287)
tests               | 	at io.trino.jdbc.TrinoStatement.execute(TrinoStatement.java:240)
tests               | 	at io.trino.jdbc.TrinoPreparedStatement.<init>(TrinoPreparedStatement.java:119)
tests               | 	at io.trino.jdbc.TrinoConnection.prepareStatement(TrinoConnection.java:159)
tests               | 	at io.trino.tests.product.jdbc.TestExternalAuthorizerOAuth2.shouldAuthenticateAfterTokenExpires(TestExternalAuthorizerOAuth2.java:97)
tests               | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
tests               | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
tests               | 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
tests               | 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
tests               | 	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
tests               | 	at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
tests               | 	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
tests               | 	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
tests               | 	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
tests               | 	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
tests               | 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
tests               | 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
tests               | 	at java.base/java.lang.Thread.run(Thread.java:829)
tests               | Caused by: java.io.UncheckedIOException: java.net.SocketTimeoutException: timeout
tests               | 	at io.trino.jdbc.$internal.client.auth.external.HttpTokenPoller.pollForToken(HttpTokenPoller.java:85)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.ExternalAuthentication.obtainToken(ExternalAuthentication.java:51)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.ExternalAuthenticator.lambda$authenticate$0(ExternalAuthenticator.java:67)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.LocalKnownToken.setupToken(LocalKnownToken.java:44)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.ExternalAuthenticator.authenticate(ExternalAuthenticator.java:61)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RetryAndFollowUpInterceptor.followUpRequest(RetryAndFollowUpInterceptor.java:230)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:119)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.ExternalAuthenticator.intercept(ExternalAuthenticator.java:84)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.client.OkHttpUtil.lambda$userAgent$0(OkHttpUtil.java:65)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229)
tests               | 	at io.trino.jdbc.$internal.okhttp3.RealCall.execute(RealCall.java:81)
tests               | 	at io.trino.jdbc.$internal.client.JsonResponse.execute(JsonResponse.java:130)
tests               | 	at io.trino.jdbc.$internal.client.StatementClientV1.<init>(StatementClientV1.java:109)
tests               | 	at io.trino.jdbc.$internal.client.StatementClientFactory.newStatementClient(StatementClientFactory.java:24)
tests               | 	at io.trino.jdbc.TrinoConnection.startQuery(TrinoConnection.java:750)
tests               | 	at io.trino.jdbc.TrinoStatement.internalExecute(TrinoStatement.java:252)
tests               | 	... 17 more
tests               | Caused by: java.net.SocketTimeoutException: timeout
tests               | 	at io.trino.jdbc.$internal.okio.Okio$4.newTimeoutException(Okio.java:232)
tests               | 	at io.trino.jdbc.$internal.okio.AsyncTimeout.exit(AsyncTimeout.java:286)
tests               | 	at io.trino.jdbc.$internal.okio.AsyncTimeout$2.read(AsyncTimeout.java:241)
tests               | 	at io.trino.jdbc.$internal.okio.RealBufferedSource.indexOf(RealBufferedSource.java:358)
tests               | 	at io.trino.jdbc.$internal.okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:230)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http1.Http1ExchangeCodec.readHeaderLine(Http1ExchangeCodec.java:242)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.java:213)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.java:115)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:94)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:43)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:88)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.client.OkHttpUtil.lambda$userAgent$0(OkHttpUtil.java:65)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229)
tests               | 	at io.trino.jdbc.$internal.okhttp3.RealCall.execute(RealCall.java:81)
tests               | 	at io.trino.jdbc.$internal.client.JsonResponse.execute(JsonResponse.java:130)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.HttpTokenPoller.executeRequest(HttpTokenPoller.java:152)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.HttpTokenPoller.executePoll(HttpTokenPoller.java:133)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.HttpTokenPoller.lambda$pollForToken$2(HttpTokenPoller.java:81)
tests               | 	at io.trino.jdbc.$internal.net.jodah.failsafe.Functions.lambda$get$0(Functions.java:48)
tests               | 	at io.trino.jdbc.$internal.net.jodah.failsafe.RetryPolicyExecutor.lambda$supply$0(RetryPolicyExecutor.java:62)
tests               | 	at io.trino.jdbc.$internal.net.jodah.failsafe.Execution.executeSync(Execution.java:129)
tests               | 	at io.trino.jdbc.$internal.net.jodah.failsafe.FailsafeExecutor.call(FailsafeExecutor.java:376)
tests               | 	at io.trino.jdbc.$internal.net.jodah.failsafe.FailsafeExecutor.get(FailsafeExecutor.java:67)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.HttpTokenPoller.pollForToken(HttpTokenPoller.java:81)
tests               | 	... 38 more
tests               | Caused by: javax
tests               | .net.ssl.SSLException: Socket closed
tests               | 	at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127)
tests               | 	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:349)
tests               | 	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:292)
tests               | 	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:287)
tests               | 	at java.base/sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1591)
tests               | 	at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:989)
tests               | 	at io.trino.jdbc.$internal.okio.Okio$2.read(Okio.java:140)
tests               | 	at io.trino.jdbc.$internal.okio.AsyncTimeout$2.read(AsyncTimeout.java:237)
tests               | 	... 71 more
tests               | Caused by: java.net.SocketException: Socket closed
tests               | 	at java.base/java.net.SocketInputStream.read(SocketInputStream.java:183)
tests               | 	at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
tests               | 	at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478)
tests               | 	at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:472)
tests               | 	at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:70)
tests               | 	at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1364)
tests               | 	at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:973)
tests               | 	... 73 more
tests               | ' does not match pattern 'Last login action has failed with exception'
tests               | 2021-07-30 13:22:14 INFO: Test io.trino.tests.product.jdbc.TestExternalAuthorizerOAuth2::shouldAuthenticateAfterTokenExpires took 2.09m
tests               | 2021-07-30 13:22:14 INFO: FAILURE     /    io.trino.tests.product.jdbc.TestExternalAuthorizerOAuth2.shouldAuthenticateAfterTokenExpires (Groups: profile_specific_tests, oauth2) took 2 minutes and 6 seconds
tests               | 2021-07-30 13:22:14 SEVERE: Failure cause:
tests               | java.sql.SQLException: Error executing query
tests               | 	at io.trino.jdbc.TrinoStatement.internalExecute(TrinoStatement.java:287)
tests               | 	at io.trino.jdbc.TrinoStatement.execute(TrinoStatement.java:240)
tests               | 	at io.trino.jdbc.TrinoPreparedStatement.<init>(TrinoPreparedStatement.java:119)
tests               | 	at io.trino.jdbc.TrinoConnection.prepareStatement(TrinoConnection.java:159)
tests               | 	at io.trino.tests.product.jdbc.TestExternalAuthorizerOAuth2.shouldAuthenticateAfterTokenExpires(TestExternalAuthorizerOAuth2.java:97)
tests               | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
tests               | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
tests               | 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
tests               | 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
tests               | 	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
tests               | 	at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
tests               | 	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
tests               | 	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
tests               | 	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
tests               | 	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
tests               | 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
tests               | 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
tests               | 	at java.base/java.lang.Thread.run(Thread.java:829)
tests               | Caused by: java.io.UncheckedIOException: java.net.SocketTimeoutException: timeout
tests               | 	at io.trino.jdbc.$internal.client.auth.external.HttpTokenPoller.pollForToken(HttpTokenPoller.java:85)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.ExternalAuthentication.obtainToken(ExternalAuthentication.java:51)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.ExternalAuthenticator.lambda$authenticate$0(ExternalAuthenticator.java:67)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.LocalKnownToken.setupToken(LocalKnownToken.java:44)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.ExternalAuthenticator.authenticate(ExternalAuthenticator.java:61)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RetryAndFollowUpInterceptor.followUpRequest(RetryAndFollowUpInterceptor.java:230)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:119)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.ExternalAuthenticator.intercept(ExternalAuthenticator.java:84)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.client.OkHttpUtil.lambda$userAgent$0(OkHttpUtil.java:65)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229)
tests               | 	at io.trino.jdbc.$internal.okhttp3.RealCall.execute(RealCall.java:81)
tests               | 	at io.trino.jdbc.$internal.client.JsonResponse.execute(JsonResponse.java:130)
tests               | 	at io.trino.jdbc.$internal.client.StatementClientV1.<init>(StatementClientV1.java:109)
tests               | 	at io.trino.jdbc.$internal.client.StatementClientFactory.newStatementClient(StatementClientFactory.java:24)
tests               | 	at io.trino.jdbc.TrinoConnection.startQuery(TrinoConnection.java:750)
tests               | 	at io.trino.jdbc.TrinoStatement.internalExecute(TrinoStatement.java:252)
tests               | 	... 17 more
tests               | Caused by: java.net.SocketTimeoutException: timeout
tests               | 	at io.trino.jdbc.$internal.okio.Okio$4.newTimeoutException(Okio.java:232)
tests               | 	at io.trino.jdbc.$internal.okio.AsyncTimeout.exit(AsyncTimeout.java:286)
tests               | 	at io.trino.jdbc.$internal.okio.AsyncTimeout$2.read(AsyncTimeout.java:241)
tests               | 	at io.trino.jdbc.$internal.okio.RealBufferedSource.indexOf(RealBufferedSource.java:358)
tests               | 	at io.trino.jdbc.$internal.okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:230)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http1.Http1ExchangeCodec.readHeaderLine(Http1ExchangeCodec.java:242)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.java:213)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.java:115)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:94)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:43)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:88)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.client.OkHttpUtil.lambda$userAgent$0(OkHttpUtil.java:65)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229)
tests               | 	at io.trino.jdbc.$internal.okhttp3.RealCall.execute(RealCall.java:81)
tests               | 	at io.trino.jdbc.$internal.client.JsonResponse.execute(JsonResponse.java:130)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.HttpTokenPoller.executeRequest(Http
tests               | TokenPoller.java:152)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.HttpTokenPoller.executePoll(HttpTokenPoller.java:133)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.HttpTokenPoller.lambda$pollForToken$2(HttpTokenPoller.java:81)
tests               | 	at io.trino.jdbc.$internal.net.jodah.failsafe.Functions.lambda$get$0(Functions.java:48)
tests               | 	at io.trino.jdbc.$internal.net.jodah.failsafe.RetryPolicyExecutor.lambda$supply$0(RetryPolicyExecutor.java:62)
tests               | 	at io.trino.jdbc.$internal.net.jodah.failsafe.Execution.executeSync(Execution.java:129)
tests               | 	at io.trino.jdbc.$internal.net.jodah.failsafe.FailsafeExecutor.call(FailsafeExecutor.java:376)
tests               | 	at io.trino.jdbc.$internal.net.jodah.failsafe.FailsafeExecutor.get(FailsafeExecutor.java:67)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.HttpTokenPoller.pollForToken(HttpTokenPoller.java:81)
tests               | 	... 38 more
tests               | Caused by: javax.net.ssl.SSLException: Socket closed
tests               | 	at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127)
tests               | 	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:349)
tests               | 	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:292)
tests               | 	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:287)
tests               | 	at java.base/sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1591)
tests               | 	at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:989)
tests               | 	at io.trino.jdbc.$internal.okio.Okio$2.read(Okio.java:140)
tests               | 	at io.trino.jdbc.$internal.okio.AsyncTimeout$2.read(AsyncTimeout.java:237)
tests               | 	... 71 more
tests               | Caused by: java.net.SocketException: Socket closed
tests               | 	at java.base/java.net.SocketInputStream.read(SocketInputStream.java:183)
tests               | 	at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
tests               | 	at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478)
tests               | 	at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:472)
tests               | 	at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:70)
tests               | 	at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1364)
tests               | 	at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:973)
tests               | 	... 73 more
tests               | 
tests               | 2021-07-30 13:22:14 INFO: [2 of 2] io.trino.tests.product.jdbc.TestExternalAuthorizerOAuth2.shouldAuthenticateAndExecuteQuery (Groups: profile_specific_tests, oauth2)
2021-07-30T07:37:29.326Z	INFO	container-stats-0	io.trino.tests.product.launcher.env.EnvironmentListener	Container stats:
+--------------------------+---------+--------+---------+--------+----------+------+---------+---------+
|                container |     cpu |    mem | max mem |  mem % | peak mem | pids |  net in | net out |
+--------------------------+---------+--------+---------+--------+----------+------+---------+---------+
|                    hydra |     n/a |        |         |        |          |      |         |         |
| hydra-client-preparation |     n/a |        |         |        |          |      |         |         |
|            hydra-consent |     n/a |        |         |        |          |      |         |         |
|            presto-master |   1.34% | 6.79GB |  1.08GB | 15.85% |   1.22GB |  157 | 31.26kB | 30.24kB |
|          selenium-chrome | 130.93% | 6.79GB |  0.43GB |  6.40% |   0.43GB |  121 |  8.11kB |  4.65kB |
|                    tests |   0.05% | 6.79GB |  0.41GB |  6.10% |   0.42GB |   23 | 31.17kB | 24.67kB |
+--------------------------+---------+--------+---------+--------+----------+------+---------+---------+
2021-07-30T07:37:59.327Z	INFO	container-stats-0	io.trino.tests.product.launcher.env.EnvironmentListener	Container stats:
+--------------------------+---------+--------+---------+--------+----------+------+---------+---------+
|                container |     cpu |    mem | max mem |  mem % | peak mem | pids |  net in | net out |
+--------------------------+---------+--------+---------+--------+----------+------+---------+---------+
|                    hydra |     n/a |        |         |        |          |      |         |         |
| hydra-client-preparation |     n/a |        |         |        |          |      |         |         |
|            hydra-consent |     n/a |        |         |        |          |      |         |         |
|            presto-master |   1.23% | 6.79GB |  1.08GB | 15.94% |   1.22GB |  157 | 36.11kB | 37.90kB |
|          selenium-chrome | 130.71% | 6.79GB |  0.44GB |  6.43% |   0.44GB |  119 |  8.19kB |  4.73kB |
|                    tests |   0.06% | 6.79GB |  0.41GB |  5.99% |   0.42GB |   23 | 38.83kB | 29.52kB |
+--------------------------+---------+--------+---------+--------+----------+------+---------+---------+
2021-07-30T07:38:29.329Z	INFO	container-stats-0	io.trino.tests.product.launcher.env.EnvironmentListener	Container stats:
+--------------------------+---------+--------+---------+--------+----------+------+---------+---------+
|                container |     cpu |    mem | max mem |  mem % | peak mem | pids |  net in | net out |
+--------------------------+---------+--------+---------+--------+----------+------+---------+---------+
|                    hydra |     n/a |        |         |        |          |      |         |         |
| hydra-client-preparation |     n/a |        |         |        |          |      |         |         |
|            hydra-consent |     n/a |        |         |        |          |      |         |         |
|            presto-master |  43.10% | 6.79GB |  1.09GB | 16.04% |   1.22GB |  157 | 41.16kB | 42.96kB |
|          selenium-chrome | 116.60% | 6.79GB |  0.47GB |  6.96% |   0.48GB |  126 |  7.65MB | 92.13kB |
|                    tests |   1.61% | 6.79GB |  0.41GB |  5.98% |   0.42GB |   23 | 44.24kB | 34.22kB |
+--------------------------+---------+--------+---------+--------+----------+------+---------+---------+
2021-07-30T07:38:59.330Z	INFO	container-stats-0	io.trino.tests.product.launcher.env.EnvironmentListener	Container stats:
+--------------------------+---------+--------+---------+--------+----------+------+---------+----------+
|                container |     cpu |    mem | max mem |  mem % | peak mem | pids |  net in |  net out |
+--------------------------+---------+--------+---------+--------+----------+------+---------+----------+
|                    hydra |     n/a |        |         |        |          |      |         |          |
| hydra-client-preparation |     n/a |        |         |        |          |      |         |          |
|            hydra-consent |     n/a |        |         |        |          |      |         |          |
|            presto-master |   2.48% | 6.79GB |  1.09GB | 16.12% |   1.22GB |  157 | 44.45kB |  46.94kB |
|          selenium-chrome | 134.12% | 6.79GB |  0.48GB |  7.05% |   0.48GB |  123 |  9.06MB | 109.33kB |
|                    tests |   0.05% | 6.79GB |  0.40GB |  5.96% |   0.42GB |   23 | 48.22kB |  37.51kB |
+--------------------------+---------+--------+---------+--------+----------+------+---------+----------+
tests               | 2021-07-30 13:24:21 WARNING: not retrying; stacktrace 'java.sql.SQLException: Error executing query
tests               | 	at io.trino.jdbc.TrinoStatement.internalExecute(TrinoStatement.java:287)
tests               | 	at io.trino.jdbc.TrinoStatement.execute(TrinoStatement.java:240)
tests               | 	at io.trino.jdbc.TrinoPreparedStatement.<init>(TrinoPreparedStatement.java:119)
tests               | 	at io.trino.jdbc.TrinoConnection.prepareStatement(TrinoConnection.java:159)
tests               | 	at io.trino.tests.product.jdbc.TestExternalAuthorizerOAuth2.shouldAuthenticateAndExecuteQuery(TestExternalAuthorizerOAuth2.java:81)
tests               | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
tests               | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
tests               | 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
tests               | 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
tests               | 	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
tests               | 	at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
tests               | 	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
tests               | 	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
tests               | 	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
tests               | 	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
tests               | 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
tests               | 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
tests               | 	at java.base/java.lang.Thread.run(Thread.java:829)
tests               | Caused by: java.io.UncheckedIOException: java.net.SocketTimeoutException: timeout
tests               | 	at io.trino.jdbc.$internal.client.auth.external.HttpTokenPoller.pollForToken(HttpTokenPoller.java:85)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.ExternalAuthentication.obtainToken(ExternalAuthentication.java:51)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.ExternalAuthenticator.lambda$authenticate$0(ExternalAuthenticator.java:67)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.LocalKnownToken.setupToken(LocalKnownToken.java:44)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.ExternalAuthenticator.authenticate(ExternalAuthenticator.java:61)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RetryAndFollowUpInterceptor.followUpRequest(RetryAndFollowUpInterceptor.java:230)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:119)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.ExternalAuthenticator.intercept(ExternalAuthenticator.java:84)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.client.OkHttpUtil.lambda$userAgent$0(OkHttpUtil.java:65)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229)
tests               | 	at io.trino.jdbc.$internal.okhttp3.RealCall.execute(RealCall.java:81)
tests               | 	at io.trino.jdbc.$internal.client.JsonResponse.execute(JsonResponse.java:130)
tests               | 	at io.trino.jdbc.$internal.client.StatementClientV1.<init>(StatementClientV1.java:109)
tests               | 	at io.trino.jdbc.$internal.client.StatementClientFactory.newStatementClient(StatementClientFactory.java:24)
tests               | 	at io.trino.jdbc.TrinoConnection.startQuery(TrinoConnection.java:750)
tests               | 	at io.trino.jdbc.TrinoStatement.internalExecute(TrinoStatement.java:252)
tests               | 	... 17 more
tests               | Caused by: java.net.SocketTimeoutException: timeout
tests               | 	at io.trino.jdbc.$internal.okio.Okio$4.newTimeoutException(Okio.java:232)
tests               | 	at io.trino.jdbc.$internal.okio.AsyncTimeout.exit(AsyncTimeout.java:286)
tests               | 	at io.trino.jdbc.$internal.okio.AsyncTimeout$2.read(AsyncTimeout.java:241)
tests               | 	at io.trino.jdbc.$internal.okio.RealBufferedSource.indexOf(RealBufferedSource.java:358)
tests               | 	at io.trino.jdbc.$internal.okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:230)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http1.Http1ExchangeCodec.readHeaderLine(Http1ExchangeCodec.java:242)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.java:213)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.java:115)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:94)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:43)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:88)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.client.OkHttpUtil.lambda$userAgent$0(OkHttpUtil.java:65)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229)
tests               | 	at io.trino.jdbc.$internal.okhttp3.RealCall.execute(RealCall.java:81)
tests               | 	at io.trino.jdbc.$internal.client.JsonResponse.execute(JsonResponse.java:130)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.HttpTokenPoller.executeRequest(HttpTokenPoller.java:152)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.HttpTokenPoller.executePoll(HttpTokenPoller.java:133)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.HttpTokenPoller.lambda$pollForToken$2(HttpTokenPoller.java:81)
tests               | 	at io.trino.jdbc.$internal.net.jodah.failsafe.Functions.lambda$get$0(Functions.java:48)
tests               | 	at io.trino.jdbc.$internal.net.jodah.failsafe.RetryPolicyExecutor.lambda$supply$0(RetryPolicyExecutor.java:62)
tests               | 	at io.trino.jdbc.$internal.net.jodah.failsafe.Execution.executeSync(Execution.java:129)
tests               | 	at io.trino.jdbc.$internal.net.jodah.failsafe.FailsafeExecutor.call(FailsafeExecutor.java:376)
tests               | 	at io.trino.jdbc.$internal.net.jodah.failsafe.FailsafeExecutor.get(FailsafeExecutor.java:67)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.HttpTokenPoller.pollForToken(HttpTokenPoller.java:81)
tests               | 	... 38 more
tests               | Caused by: javax.net.ssl.SSLException: Socket closed
tests               | 	at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127)
tests               | 	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:349)
tests               | 	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:292)
tests               | 	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:287)
tests               | 	at java.base/sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1591)
tests               | 	at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:989)
tests               | 	at io.trino.jdbc.$internal.okio.Okio$2.read(Okio.java:140)
tests               | 	at io.trino.jdbc.$internal.okio.AsyncTimeout$2.read(AsyncTimeout.java:237)
tests               | 	... 71 more
tests               | Caused by: java.net.SocketException: Socket closed
tests               | 	at java.base/java.net.SocketInputStream.read(SocketInputStream.java:183)
tests               | 	at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
tests               | 	at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478)
tests               | 	at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:472)
tests               | 	at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:70)
tests               | 	at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1364)
tests               | 	at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:973)
tests               | 	... 73 more
tests               | ' does not match pattern 'Last login action has failed with exception'
tests               | 2021-07-30 13:24:21 INFO: Test io.trino.tests.product.jdbc.TestExternalAuthorizerOAuth2::shouldAuthenticateAndExecuteQuery took 2.09m
tests               | 2021-07-30 13:24:21 INFO: FAILURE     /    io.trino.tests.product.jdbc.TestExternalAuthorizerOAuth2.shouldAuthenticateAndExecuteQuery (Groups: profile_specific_tests, oauth2) took 2 minutes and 6 seconds
tests               | 2021-07-30 13:24:21 SEVERE: Failure cause:
tests               | java.sql.SQLException: Error executing query
tests               | 	at io.trino.jdbc.TrinoStatement.internalExecute(TrinoStatement.java:287)
tests               | 	at io.trino.jdbc.TrinoStatement.execute(TrinoStatement.java:240)
tests               | 	at io.trino.jdbc.TrinoPreparedStatement.<init>(TrinoPreparedStatement.java:119)
tests               | 	at io.trino.jdbc.TrinoConnection.prepareStatement(TrinoConnection.java:159)
tests               | 	at io.trino.tests.product.jdbc.TestExternalAuthorizerOAuth2.shouldAuthenticateAndExecuteQuery(TestExternalAuthorizerOAuth2.java:81)
tests               | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
tests               | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
tests               | 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
tests               | 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
tests               | 	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
tests               | 	at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
tests               | 	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
tests               | 	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
tests               | 	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
tests               | 	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
tests               | 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
tests               | 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
tests               | 	at java.base/java.lang.Thread.run(Thread.java:829)
tests               | Caused by: java.io.UncheckedIOException: java.net.SocketTimeoutException: timeout
tests               | 	at io.trino.jdbc.$internal.client.auth.external.HttpTokenPoller.pollForToken(HttpTokenPoller.java:85)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.ExternalAuthentication.obtainToken(ExternalAuthentication.java:51)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.ExternalAuthenticator.lambda$authenticate$0(ExternalAuthenticator.java:67)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.LocalKnownToken.setupToken(LocalKnownToken.java:44)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.ExternalAuthenticator.authenticate(ExternalAuthenticator.java:61)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RetryAndFollowUpInterceptor.followUpRequest(RetryAndFollowUpInterceptor.java:230)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:119)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.ExternalAuthenticator.intercept(ExternalAuthenticator.java:84)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.client.OkHttpUtil.lambda$userAgent$0(OkHttpUtil.java:65)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229)
tests               | 	at io.trino.jdbc.$internal.okhttp3.RealCall.execute(RealCall.java:81)
tests               | 	at io.trino.jdbc.$internal.client.JsonResponse.execute(JsonResponse.java:130)
tests               | 	at io.trino.jdbc.$internal.client.StatementClientV1.<init>(StatementClientV1.java:109)
tests               | 	at io.trino.jdbc.$internal.client.StatementClientFactory.newStatementClient(StatementClientFactory.java:24)
tests               | 	at io.trino.jdbc.TrinoConnection.startQuery(TrinoConnection.java:750)
tests               | 	at io.trino.jdbc.TrinoStatement.internalExecute(TrinoStatement.java:252)
tests               | 	... 17 more
tests               | Caused by: java.net.SocketTimeoutException: timeout
tests               | 	at io.trino.jdbc.$internal.okio.Okio$4.newTimeoutException(Okio.java:232)
tests               | 	at io.trino.jdbc.$internal.okio.AsyncTimeout.exit(AsyncTimeout.java:286)
tests               | 	at io.trino.jdbc.$internal.okio.AsyncTimeout$2.read(AsyncTimeout.java:241)
tests               | 	at io.trino.jdbc.$internal.okio.RealBufferedSource.indexOf(RealBufferedSource.java:358)
tests               | 	at io.trino.jdbc.$internal.okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:230)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http1.Http1ExchangeCodec.readHeaderLine(Http1ExchangeCodec.java:242)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.java:213)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.java:115)
tests               | 	at io.trino.jdbc.$internal.okhttp3.in
tests               | ternal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:94)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:43)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:88)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.client.OkHttpUtil.lambda$userAgent$0(OkHttpUtil.java:65)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
tests               | 	at io.trino.jdbc.$internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
tests               | 	at io.trino.jdbc.$internal.okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229)
tests               | 	at io.trino.jdbc.$internal.okhttp3.RealCall.execute(RealCall.java:81)
tests               | 	at io.trino.jdbc.$internal.client.JsonResponse.execute(JsonResponse.java:130)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.HttpTokenPoller.executeRequest(HttpTokenPoller.java:152)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.HttpTokenPoller.executePoll(HttpTokenPoller.java:133)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.HttpTokenPoller.lambda$pollForToken$2(HttpTokenPoller.java:81)
tests               | 	at io.trino.jdbc.$internal.net.jodah.failsafe.Functions.lambda$get$0(Functions.java:48)
tests               | 	at io.trino.jdbc.$internal.net.jodah.failsafe.RetryPolicyExecutor.lambda$supply$0(RetryPolicyExecutor.java:62)
tests               | 	at io.trino.jdbc.$internal.net.jodah.failsafe.Execution.executeSync(Execution.java:129)
tests               | 	at io.trino.jdbc.$internal.net.jodah.failsafe.FailsafeExecutor.call(FailsafeExecutor.java:376)
tests               | 	at io.trino.jdbc.$internal.net.jodah.failsafe.FailsafeExecutor.get(FailsafeExecutor.java:67)
tests               | 	at io.trino.jdbc.$internal.client.auth.external.HttpTokenPoller.pollForToken(HttpTokenPoller.java:81)
tests               | 	... 38 more
tests               | Caused by: javax.net.ssl.SSLException: Socket closed
tests               | 	at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127)
tests               | 	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:349)
tests               | 	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:292)
tests               | 	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:287)
tests               | 	at java.base/sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1591)
tests               | 	at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:989)
tests               | 	at io.trino.jdbc.$internal.okio.Okio$2.read(Okio.java:140)
tests               | 	at io.trino.jdbc.$internal.okio.AsyncTimeout$2.read(AsyncTimeout.java:237)
tests               | 	... 71 more
tests               | Caused by: java.net.SocketException: Socket closed
tests               | 	at java.base/java.net.SocketInputStream.read(SocketInputStream.java:183)
tests               | 	at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
tests               | 	at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478)
tests               | 	at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:472)
tests               | 	at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:70)
tests               | 	at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1364)
tests               | 	at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:973)
tests               | 	... 73 more
tests               | 
tests               | 2021-07-30 13:24:21 WARNING: Tests from io.trino.tests.product.jdbc.TestExternalAuthorizerOAuth2 took 4.22m
2021-07-30T07:39:29.331Z	INFO	container-stats-0	io.trino.tests.product.launcher.env.EnvironmentListener	Container stats:
+--------------------------+---------+--------+---------+--------+----------+------+---------+----------+
|                container |     cpu |    mem | max mem |  mem % | peak mem | pids |  net in |  net out |
+--------------------------+---------+--------+---------+--------+----------+------+---------+----------+
|                    hydra |     n/a |        |         |        |          |      |         |          |
| hydra-client-preparation |     n/a |        |         |        |          |      |         |          |
|            hydra-consent |     n/a |        |         |        |          |      |         |          |
|            presto-master |   0.58% | 6.79GB |  1.11GB | 16.33% |   1.22GB |  156 | 48.84kB |  51.24kB |
|          selenium-chrome | 132.47% | 6.79GB |  0.48GB |  7.10% |   0.48GB |  121 |  9.06MB | 110.41kB |
|                    tests |   0.06% | 6.79GB |  0.40GB |  5.95% |   0.42GB |   23 | 53.42kB |  41.00kB |
+--------------------------+---------+--------+---------+--------+----------+------+---------+----------+
tests               | 2021-07-30 13:24:31 INFO: 
tests               | 2021-07-30 13:24:31 INFO: Completed 2 tests
tests               | 2021-07-30 13:24:31 INFO: 0 SUCCEEDED      /      2 FAILED      /      0 SKIPPED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions