litiliu opened a new issue, #9682:
URL: https://github.com/apache/seatunnel/issues/9682

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 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 https://github.com/apache/seatunnel/issues/7250
   
   
   ### SeaTunnel Version
   
   2.3.12-SNAPSHOT
   
   ### SeaTunnel Config
   
   ```conf
   none
   ```
   
   ### Running Command
   
   ```shell
   ./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
   
   ```log
   [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?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to