ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Pizey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-9140) Fix flaky unit test for surefire plugin
Date Tue, 22 Dec 2015 12:14:46 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-9140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15068041#comment-15068041
] 

Tim Pizey commented on AMBARI-9140:
-----------------------------------

Me too:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site)
on project energy: failed to get report for org.apache.maven.plugins:maven-surefire-report-plugin:
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19:test (default-test)
on project energy: ExecutionException Error occurred in starting fork, check output in log
-> [Help 1]

Running under Jenkins. 

Surfire configuration: 
     <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.19</version>
        <configuration>
          <printSummary>true</printSummary>
          <redirectTestOutputToFile>true</redirectTestOutputToFile>
          <parallel>classes</parallel>
          <reuseForks>true</reuseForks>
          <forkCount>1C</forkCount>
          <threadCount>1</threadCount>
        </configuration>
      </plugin>

This started to break when reuse threads was set to true. 



> Fix flaky unit test for surefire plugin
> ---------------------------------------
>
>                 Key: AMBARI-9140
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9140
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Alejandro Fernandez
>              Labels: noob
>
> https://builds.apache.org/job/Ambari-trunk-Commit/1491/
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test
(default-test) on project ambari-server: ExecutionException; nested exception is java.util.concurrent.ExecutionException:
org.apache.maven.surefire.booter.SurefireBooterForkException: Error occurred in starting fork,
check output in log -> [Help 1]
> http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html
> http://stackoverflow.com/questions/13170860/failed-to-execute-goal-org-apache-maven-pluginsmaven-surefire-plugin2-10test
> http://stackoverflow.com/questions/25757539/failed-to-execute-goal-org-apache-maven-pluginsmaven-surefire-plugin2-4-3test



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message