Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-2522

org.uberfire.java.nio.fs.k8s tests are failing on IBM JDK1.8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.39.0.Final
    • None
    • None
    • None

      Following K8s tests are failing to connect Kubernetes session on IBM JDK 1.8

      1. org.uberfire.java.nio.fs.k8s.K8SFileChannelTest.testChannelMustBeClosedRegardlessError
      2. org.uberfire.java.nio.fs.k8s.K8SFileChannelTest.testOpenAndCloseChannel
      3. org.uberfire.java.nio.fs.k8s.K8SFileChannelTest.org.uberfire.java.nio.fs.k8s.K8SFileChannelTest
      4. org.uberfire.java.nio.fs.k8s.K8SFileSystemInitTest.testAmbiguousCM
      5. org.uberfire.java.nio.fs.k8s.K8SFileSystemInitTest.testCopyDirShouldFail
      6. org.uberfire.java.nio.fs.k8s.K8SFileSystemInitTest.testReadAttributes
      7. org.uberfire.java.nio.fs.k8s.K8SFileSystemInitTest.testInitRoot
      8. org.uberfire.java.nio.fs.k8s.K8SFileSystemInitTest.testCheckFileExistsThenThrow
      9. org.uberfire.java.nio.fs.k8s.K8SFileSystemTest
      10. org.uberfire.java.nio.fs.k8s.K8SWatchServiceTest

      Caused by: io.fabric8.kubernetes.client.KubernetesClientException: Operation: [get] for kind: [ConfigMap] with name: [k8s-fsobj-86403b0c-78b7-11e9-ad76-8c16458eff35] in namespace: [test] failed.
      at io.fabric8.kubernetes.client.KubernetesClientException.launderThrowable(KubernetesClientException.java:64)
      at io.fabric8.kubernetes.client.KubernetesClientException.launderThrowable(KubernetesClientException.java:72)
      at io.fabric8.kubernetes.client.dsl.base.BaseOperation.getMandatory(BaseOperation.java:231)
      at io.fabric8.kubernetes.client.dsl.base.BaseOperation.get(BaseOperation.java:164)
      at io.fabric8.kubernetes.client.dsl.base.BaseOperation.createOrReplace(BaseOperation.java:386)
      at io.fabric8.kubernetes.client.dsl.base.BaseOperation.createOrReplace(BaseOperation.java:384)
      at org.uberfire.java.nio.fs.k8s.K8SFileSystemInitTest.testAmbiguousCM(K8SFileSystemInitTest.java:181)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      at java.lang.reflect.Method.invoke(Method.java:508)
      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19)
      ... 21 more
      Caused by: java.net.ConnectException: Failed to connect to psi-rhel8-14343/0:0:0:0:0:0:0:1:45239
      at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:248)
      at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:166)
      at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257)
      at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135)
      at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114)
      at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
      at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
      at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
      at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
      at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
      at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
      at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
      at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
      at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126)
      at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
      at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
      at io.fabric8.kubernetes.client.utils.BackwardsCompatibilityInterceptor.intercept(BackwardsCompatibilityInterceptor.java:119)
      at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
      at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
      at io.fabric8.kubernetes.client.utils.ImpersonatorInterceptor.intercept(ImpersonatorInterceptor.java:68)
      at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
      at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
      at io.fabric8.kubernetes.client.utils.HttpClientUtils.lambda$createHttpClient$3(HttpClientUtils.java:112)
      at io.fabric8.kubernetes.client.utils.HttpClientUtils$$Lambda$11/00000000B4A41610.intercept(Unknown Source)
      at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
      at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
      at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:254)
      at okhttp3.RealCall.execute(RealCall.java:92)
      at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:411)
      at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:372)
      at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleGet(OperationSupport.java:337)
      at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleGet(OperationSupport.java:318)
      at io.fabric8.kubernetes.client.dsl.base.BaseOperation.handleGet(BaseOperation.java:827)
      at io.fabric8.kubernetes.client.dsl.base.BaseOperation.getMandatory(BaseOperation.java:220)
      ... 34 more
      Caused by: java.net.ConnectException: Connection refused (Connection refused)
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:380)
      at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:236)
      at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:218)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)
      at java.net.Socket.connect(Socket.java:682)
      at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129)
      at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:246)
      ... 67 more

              evan.zhang@redhat.com Evan Zhang (Inactive)
              nbaby nibu baby (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: