You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/07/01 02:56:26 UTC

[GitHub] [pulsar] nodece opened a new issue, #16314: [Branch-2.7][Test] Fix hostname verification test

nodece opened a new issue, #16314:
URL: https://github.com/apache/pulsar/issues/16314

   The test failure log, I guess was caused by #15824:
   ```
   Error:  testTopicLoadingOnDisableNamespaceBundle(org.apache.pulsar.broker.service.BrokerServiceTest)  Time elapsed: 0.202 s  <<< FAILURE!
   org.apache.pulsar.client.admin.PulsarAdminException: java.util.concurrent.CompletionException: org.apache.pulsar.client.admin.internal.http.AsyncHttpConnector$RetryException: Could not complete the operation. Number of retries has been exhausted. Failed reason: General OpenSslEngine problem
   	at org.apache.pulsar.client.admin.internal.BaseResource.getApiException(BaseResource.java:234)
   	at org.apache.pulsar.client.admin.internal.BaseResource$1.failed(BaseResource.java:130)
   	at org.glassfish.jersey.client.JerseyInvocation$1.failed(JerseyInvocation.java:839)
   	at org.glassfish.jersey.client.ClientRuntime.processFailure(ClientRuntime.java:247)
   	at org.glassfish.jersey.client.ClientRuntime.processFailure(ClientRuntime.java:242)
   	at org.glassfish.jersey.client.ClientRuntime.access$100(ClientRuntime.java:62)
   	at org.glassfish.jersey.client.ClientRuntime$2.lambda$failure$1(ClientRuntime.java:178)
   	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
   	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
   	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
   	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
   	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
   	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:288)
   	at org.glassfish.jersey.client.ClientRuntime$2.failure(ClientRuntime.java:178)
   	at org.apache.pulsar.client.admin.internal.http.AsyncHttpConnector.lambda$apply$1(AsyncHttpConnector.java:205)
   	at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
   	at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
   	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
   	at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088)
   	at org.apache.pulsar.client.admin.internal.http.AsyncHttpConnector.lambda$retryOperation$3(AsyncHttpConnector.java:263)
   	at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
   	at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
   	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
   	at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088)
   	at org.asynchttpclient.netty.NettyResponseFuture.abort(NettyResponseFuture.java:273)
   	at org.asynchttpclient.netty.channel.NettyConnectListener.onFailure(NettyConnectListener.java:181)
   	at org.asynchttpclient.netty.channel.NettyConnectListener$1.onFailure(NettyConnectListener.java:151)
   	at org.asynchttpclient.netty.SimpleFutureListener.operationComplete(SimpleFutureListener.java:26)
   	at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:578)
   	at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:571)
   	at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:550)
   	at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:491)
   	at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:616)
   	at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:609)
   	at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:117)
   	at io.netty.handler.ssl.SslHandler.handleUnwrapThrowable(SslHandler.java:1258)
   	at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1240)
   	at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1284)
   	at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:507)
   	at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:446)
   	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276)
   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
   	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
   	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
   	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
   	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
   	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719)
   	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655)
   	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581)
   	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
   	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986)
   	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
   	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
   	at java.base/java.lang.Thread.run(Thread.java:829)
   Caused by: java.util.concurrent.CompletionException: org.apache.pulsar.client.admin.internal.http.AsyncHttpConnector$RetryException: Could not complete the operation. Number of retries has been exhausted. Failed reason: General OpenSslEngine problem
   	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:331)
   	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:346)
   	at java.base/java.util.concurrent.CompletableFuture$OrApply.tryFire(CompletableFuture.java:1503)
   	... 40 more
   Caused by: org.apache.pulsar.client.admin.internal.http.AsyncHttpConnector$RetryException: Could not complete the operation. Number of retries has been exhausted. Failed reason: General OpenSslEngine problem
   	at org.apache.pulsar.client.admin.internal.http.AsyncHttpConnector.lambda$retryOperation$3(AsyncHttpConnector.java:265)
   	... 37 more
   Caused by: java.net.ConnectException: General OpenSslEngine problem
   	at org.asynchttpclient.netty.channel.NettyConnectListener.onFailure(NettyConnectListener.java:179)
   	... 31 more
   Caused by: javax.net.ssl.SSLHandshakeException: General OpenSslEngine problem
   	at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.handshakeException(ReferenceCountedOpenSslEngine.java:1892)
   	at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.wrap(ReferenceCountedOpenSslEngine.java:813)
   	at java.base/javax.net.ssl.SSLEngine.wrap(SSLEngine.java:522)
   	at io.netty.handler.ssl.SslHandler.wrap(SslHandler.java:1040)
   	at io.netty.handler.ssl.SslHandler.wrapNonAppData(SslHandler.java:926)
   	at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1408)
   	at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1235)
   	... 20 more
   Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
   	at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439)
   	at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306)
   	at java.base/sun.security.validator.Validator.validate(Validator.java:264)
   	at java.base/sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:313)
   	at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:276)
   	at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:141)
   	at io.netty.handler.ssl.ReferenceCountedOpenSslClientContext$ExtendedTrustManagerVerifyCallback.verify(ReferenceCountedOpenSslClientContext.java:234)
   	at io.netty.handler.ssl.ReferenceCountedOpenSslContext$AbstractCertificateVerifier.verify(ReferenceCountedOpenSslContext.java:748)
   	at io.netty.internal.tcnative.CertificateVerifierTask.runTask(CertificateVerifierTask.java:36)
   	at io.netty.internal.tcnative.SSLTask.run(SSLTask.java:48)
   	at io.netty.internal.tcnative.SSLTask.run(SSLTask.java:42)
   	at io.netty.handler.ssl.ReferenceCountedOpenSslEngine$TaskDecorator.run(ReferenceCountedOpenSslEngine.java:1455)
   	at io.netty.handler.ssl.SslHandler.runDelegatedTasks(SslHandler.java:[1548](https://github.com/apache/pulsar/runs/7128775007?check_suite_focus=true#step:13:1549))
   	at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1394)
   	... 21 more
   Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
   	at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
   	at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
   	at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297)
   	at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434)
   	... 34 more
   ```
   
   This error looks the TLS certificate is incorrect.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] nodece closed issue #16314: [Branch-2.7][Test] Failed tests

Posted by GitBox <gi...@apache.org>.
nodece closed issue #16314: [Branch-2.7][Test] Failed tests
URL: https://github.com/apache/pulsar/issues/16314


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] nodece commented on issue #16314: [Branch-2.7][Test] Failed tests

Posted by GitBox <gi...@apache.org>.
nodece commented on issue #16314:
URL: https://github.com/apache/pulsar/issues/16314#issuecomment-1179981670

   Has been fixed by #16430 and #16435.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org