-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
Description
Search before asking
- I had searched in the issues and found no similar issues.
What happened
I'm running the E2E test case on my local but find it failed with the below exception:
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.241 s <<< FAILURE! - in org.apache.seatunnel.engine.e2e.k8s.KubernetesIT
[ERROR] testTcpDiscovery Time elapsed: 0.091 s <<< ERROR!
java.lang.NoSuchFieldError: Companion
at org.apache.seatunnel.engine.e2e.k8s.KubernetesIT.runDiscoveryTest(KubernetesIT.java:138)
at org.apache.seatunnel.engine.e2e.k8s.KubernetesIT.testTcpDiscovery(KubernetesIT.java:69)
I also found a similar issue #7250
SeaTunnel Version
2.3.12-SNAPSHOT
SeaTunnel Config
none
Running Command
./mvnw -T 1 -B verify -DskipUT=true -DskipIT=false -D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl :seatunnel-engine-k8s-e2e -am -Pci
Error Exception
[ERROR] testKubernetesDiscovery Time elapsed: 0 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class okhttp3.internal.concurrent.TaskRunner
at org.apache.seatunnel.engine.e2e.k8s.KubernetesIT.runDiscoveryTest(KubernetesIT.java:138)
at org.apache.seatunnel.engine.e2e.k8s.KubernetesIT.testKubernetesDiscovery(KubernetesIT.java:75)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoSuchFieldError: Companion [in thread "main"]
at org.apache.seatunnel.engine.e2e.k8s.KubernetesIT.runDiscoveryTest(KubernetesIT.java:138)
at org.apache.seatunnel.engine.e2e.k8s.KubernetesIT.testTcpDiscovery(KubernetesIT.java:69)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] KubernetesIT.testKubernetesDiscovery:75->runDiscoveryTest:138 » NoClassDefFound
[ERROR] KubernetesIT.testTcpDiscovery:69->runDiscoveryTest:138 » NoSuchField Companion
[INFO]
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
Zeta or Flink or Spark Version
No response
Java or Scala Version
java 17
Screenshots
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct