gpt4 book ai didi

mysql - 具有 RDS 的 EC2 上的 "The forked VM terminated without properly saying goodbye"

转载 作者:行者123 更新时间:2023-11-29 22:48:12 25 4
gpt4 key购买 nike

我在 AWS EC2 服务器上运行 jenkins,访问 AWS RDS 上的 mysql 数据库。当本地运行 mvn clean install 时,一切都很好,但是当 jenkins 在 EC2 服务器上运行时,我收到此错误:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project plenty: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /var/lib/jenkins/jobs/Plenty-api/workspace/plenty && /usr/lib/jvm/java-7-oracle/jre/bin/java -XX:MaxPermSize=128m -jar /var/lib/jenkins/jobs/Plenty-api/workspace/plenty/target/surefire/surefirebooter9140193949835996613.jar /var/lib/jenkins/jobs/Plenty-api/workspace/plenty/target/surefire/surefire21120104041831905tmp /var/lib/jenkins/jobs/Plenty-api/workspace/plenty/target/surefire/surefire_08001606298289854825tmp

有什么想法吗?

最佳答案

哦,是的,它从 EasyPeasyException(由您的测试类之一调用 System.exit();)扩展到完整的 DeepShitException(我在本地遇到过一次,重新安装了虚拟机,一切都正常了)以后就好了)。

如果它不是调用 System.exit() 的测试类之一(或其依赖项),您将必须找到虚拟机崩溃的转储并将其添加到问题中以供进一步使用协助(不幸的是,我无法处理存储在此类转储文件中的任何内容 - 但找到解决方案通常需要团队合作:))。

这也记录在插件文档中:http://maven.apache.org/surefire/maven-surefire-plugin/faq.html#vm-termination

关于mysql - 具有 RDS 的 EC2 上的 "The forked VM terminated without properly saying goodbye",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29006363/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com