You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.
Describe the bug
Tests are not passing due to an error on Kubernetes client runtime, it created to a default configuration, failing with a NullPointerException.
To Reproduce
build pulsar from 2.7.0rc1 sources
run tests in pulsar-functions-runtime
Expected behavior
Tests are passing
Desktop (please complete the following information):
OS: Fedora
Maven 3.6.3
JDK 1.8 (OpenJDK)
Additional context
[ERROR] testResources(org.apache.pulsar.functions.runtime.kubernetes.KubernetesRuntimeTest) Time elapsed: 0.011 s <<< FAILURE!
java.lang.RuntimeException: java.lang.NullPointerException
at org.apache.pulsar.functions.runtime.kubernetes.KubernetesRuntimeFactory.initialize(KubernetesRuntimeFactory.java:211)
at org.apache.pulsar.functions.runtime.kubernetes.KubernetesRuntimeTest.createKubernetesRuntimeFactory(KubernetesRuntimeTest.java:217)
at org.apache.pulsar.functions.runtime.kubernetes.KubernetesRuntimeTest.createKubernetesRuntimeFactory(KubernetesRuntimeTest.java:225)
at org.apache.pulsar.functions.runtime.kubernetes.KubernetesRuntimeTest.testResources(KubernetesRuntimeTest.java:340)
at org.apache.pulsar.functions.runtime.kubernetes.KubernetesRuntimeTest.testResources(KubernetesRuntimeTest.java:324)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:45)
at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:73)
at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:11)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
at io.kubernetes.client.util.ClientBuilder.kubeconfig(ClientBuilder.java:259)
at io.kubernetes.client.util.ClientBuilder.getClientBuilder(ClientBuilder.java:108)
at io.kubernetes.client.util.ClientBuilder.standard(ClientBuilder.java:87)
at io.kubernetes.client.util.ClientBuilder.standard(ClientBuilder.java:79)
at io.kubernetes.client.util.Config.defaultClient(Config.java:113)
at org.apache.pulsar.functions.runtime.kubernetes.KubernetesRuntimeFactory.setupClient(KubernetesRuntimeFactory.java:339)
at org.apache.pul
The text was updated successfully, but these errors were encountered:
Original Issue: apache#8673
Describe the bug
Tests are not passing due to an error on Kubernetes client runtime, it created to a default configuration, failing with a NullPointerException.
To Reproduce
Expected behavior
Tests are passing
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: