【发布时间】:2015-03-12 20:42:48
【问题描述】:
我在 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
有什么想法吗?
【问题讨论】:
标签: mysql maven amazon-web-services jenkins amazon-ec2