Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug][Agent] The forked VM terminated without properly saying goodbye #5000

Closed
2 tasks done
healchow opened this issue Jul 12, 2022 · 0 comments · Fixed by #5003
Closed
2 tasks done

[Bug][Agent] The forked VM terminated without properly saying goodbye #5000

healchow opened this issue Jul 12, 2022 · 0 comments · Fixed by #5003
Assignees
Labels
type/bug Something is wrong
Milestone

Comments

@healchow
Copy link
Member

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?

  • Yes, I am willing to submit a PR!

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something is wrong
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant