healchow opened a new issue, #5000:
URL: https://github.com/apache/inlong/issues/5000

   ### What happened
   
   When I execute `mvn clean install` for inlong-agent module, the error 
occurred:
   
   ```
   [ERROR] The forked VM terminated without properly saying goodbye. VM crash 
or System.exit called?
   [ERROR] Command was /bin/sh -c cd 
/Users/healchow/Projects/inlong/inlong-agent/agent-plugins && 
/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/bin/java 
-jar 
/Users/healchow/Projects/inlong/inlong-agent/agent-plugins/target/surefire/surefirebooter684825354029125150.jar
 /Users/healchow/Projects/inlong/inlong-agent/agent-plugins/target/surefire 
2022-07-12T10-53-17_334-jvmRun1 surefire3886297947682872745tmp 
surefire_21320484226817939144tmp
   [ERROR] Error occurred in starting fork, check output in log
   [ERROR] Process Exit Code: 134
   ```
   
   In the surefile file, the info is:
   
   ```
   # Created at 2022-07-12T10:55:06.636
   Corrupted STDOUT by directly writing to native stream in forked JVM 1. 
Stream '#'.
   java.lang.IllegalArgumentException: Stream stdin corrupted. Expected comma 
after third character in command '#'.
        at 
org.apache.maven.plugin.surefire.booterclient.output.ForkClient$OperationalData.<init>(ForkClient.java:511)
        at 
org.apache.maven.plugin.surefire.booterclient.output.ForkClient.processLine(ForkClient.java:209)
        at 
org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine(ForkClient.java:176)
        at 
org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run(ThreadedStreamConsumer.java:88)
        at java.lang.Thread.run(Thread.java:748)
   ```
   
   ### What you expected to happen
   
   Should not error when packaging or installing.
   
   ### How to reproduce
   
   Execute `mvn clean install` for inlong-agent module.
   
   ### Environment
   
   _No response_
   
   ### InLong version
   
   master
   
   ### InLong Component
   
   InLong Agent
   
   ### 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