org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project email-ext: There are test failures. Please refer to /Users/pooja/Documents/Automation/workspace/open/email-ext-plugin/target/surefire-reports for the individual test results.

Jenkins JIRA | pooja shah | 5 months ago
  1. 0

    Willing to contribute to the repo by adding 1 small feature I need to make work for my case. https://github.com/jenkinsci/email-ext-plugin/ Is there any step guide how to build it rightly as I see a lot of errors? I couldn't find any contributing doc & reporting issue is also disabled. Steps I Tried: 1. forked & cloned into my local box 2. imported as maven project in eclipse 3. tried maven update but it failed with Maven dependency building failures The error logs in pom file is attached PFA txt file Maven dependency building failures ​4. then tried from command line mvn clean - it passed mvn install - it failed (attached screenshot) Stacktrace: Running InjectedTest Tests run: 7, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 33.263 sec <<< FAILURE! - in InjectedTest testPluginActive(org.jvnet.hudson.test.PluginAutomaticTestBuilder$OtherTests) Time elapsed: 0.001 sec <<< ERROR! java.lang.Error: Plugin the.jpl failed to start at org.jvnet.hudson.test.PluginAutomaticTestBuilder$OtherTests.testPluginActive(PluginAutomaticTestBuilder.java:92) Caused by: java.io.IOException: No such file: /Users/pooja/Documents/Automation/workspace/open/email-ext-plugin/target/classes initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0 sec <<< ERROR! java.lang.Exception: No tests found matching Method testPluginActive(org.jvnet.hudson.test.PluginAutomaticTestBuilder$OtherTests) from org.junit.internal.requests.ClassRequest@64502326 initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0.001 sec <<< ERROR! java.lang.Exception: No runnable methods initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0.001 sec <<< ERROR! java.lang.Exception: No runnable methods initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0 sec <<< ERROR! java.lang.Exception: No runnable methods Results : Tests in error: org.junit.runner.manipulation.Filter.initializationError(org.junit.runner.manipulation.Filter) Run 1: Filter.initializationError » No tests found matching Method testPluginActive(... Run 2: Filter.initializationError » No runnable methods Run 3: Filter.initializationError » No runnable methods Run 4: Filter.initializationError » No runnable methods PluginAutomaticTestBuilder$OtherTests.testPluginActive:92 Plugin the.jpl fail... Tests run: 4, Failures: 0, Errors: 2, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 50.673 s [INFO] Finished at: 2016-07-21T14:38:07+05:30 [INFO] Final Memory: 37M/821M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project email-ext: There are test failures. [ERROR] [ERROR] Please refer to /Users/pooja/Documents/Automation/workspace/open/email-ext-plugin/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project email-ext: There are test failures. Please refer to /Users/pooja/Documents/Automation/workspace/open/email-ext-plugin/target/surefire-reports for the individual test results. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures. Please refer to /Users/pooja/Documents/Automation/workspace/open/email-ext-plugin/target/surefire-reports for the individual test results. at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:91) at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:320) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:892) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:755) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 more [ERROR]

    Jenkins JIRA | 5 months ago | pooja shah
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project email-ext: There are test failures. Please refer to /Users/pooja/Documents/Automation/workspace/open/email-ext-plugin/target/surefire-reports for the individual test results.
  2. 0

    [JIRA] (JENKINS-36846) Need a contribution guildeline to build email-ext-plugin from source

    Google Groups | 5 months ago | writeba...@gmail.com (JIRA)
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project email-ext: There are test failures.</p> <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0">Please refer to /Users/pooja/Documents/Automation/workspace/open/email-ext-plugin/target/surefire-reports for the individual test results.
  3. 0

    Unable to build neo4j: failing test shouldRecordUserAgentWithSpaces

    GitHub | 3 years ago | karabijavad
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project neo4j-server: There are test failures. Please refer to /home/javad/neo4j/community/server/target/surefire-reports for the individual test results.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    failure in tests when running mvn install clean on Windows 8

    GitHub | 3 years ago | ecemandirac
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.9:test (default-test) on project utilities: There are test failures. Please refer to C:\Users\ece\repose-master\repose-aggregator\commons\utilities\target\surefire-reports for the individual test results.
  6. 0

    rexsl-test failure

    GitHub | 4 years ago | simonjenga
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14:test (default-test) on project rexsl-test: There are test failures. Please refer to C:\javaworkspace\rexsl\rexsl-test\target\surefire-reports for the individual test results.

  1. davidvanlaatum 47 times, last 4 weeks ago
  2. tvrmsmith 8 times, last 1 week ago
  3. tzrlk 2 times, last 3 months ago
  4. pnaranja 6 times, last 5 months ago
  5. davidvanlaatum 34 times, last 7 months ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.maven.plugin.MojoFailureException

    There are test failures. Please refer to /Users/pooja/Documents/Automation/workspace/open/email-ext-plugin/target/surefire-reports for the individual test results.

    at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution()
  2. Maven Surefire Common
    AbstractSurefireMojo.execute
    1. org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:91)
    2. org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:320)
    3. org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:892)
    4. org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:755)
    4 frames
  3. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
    1 frame
  4. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
    2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
    5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
    9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    10 frames
  5. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
    3 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:483)
    4 frames
  7. Plexus
    Launcher.main
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
    4 frames