Docker->Maven->Failsafe->Surefire starting fork fails with “The forked VM terminated without properly saying goodbye. VM crash or System.exit called?”

前端 未结 8 2023
生来不讨喜
生来不讨喜 2020-12-30 04:51

As per title: I\'m trying to run Maven automated test from Jenkins slave that is containerized and after battling this for a week now I\'m running out of ideas. It works as

8条回答
  •  暖寄归人
    2020-12-30 05:26

    Just hit the same problem when building inside maven:3.5.4-jdk-8 using surefire 2.21.0. Upgrading surefire didn't help either, but disabling forking finally did the trick.

    
        org.apache.maven.plugins
        maven-surefire-plugin
        2.22.1
        
            0
        
    
    

提交回复
热议问题