Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-2575

roo 1.2snapshot cae85b8d47e13362df329e6f211abf00d16d3d58 version a problem with perform test error.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 1.1.5.RELEASE
    • Component/s: BUILD
    • Labels:
      None
    • Environment:

      Description

      when i perform perform test,then show error,

      my command log
      // Spring Roo 1.2.0.BUILD-SNAPSHOT [rev cae85b8] log opened at 2011-07-08 10:36:23
      hint
      project --topLevelPackage com.stan.icsearcher
      hint
      persistence setup --database MYSQL --provider HIBERNATE
      database properties list
      database properties list
      database properties set --key database.username --value stan
      database properties set --key database4.password --value 888888
      database properties set --key database.password --value 888888
      database properties set --key database.url --value jdbc:mysql://localhost:3306/icshop?characterEncoding=UTF-8
      database properties list
      // [failed] database reverse engineer --schema icshop --package ~.model --testAutomatically
      addon info id --searchResultId 1
      osgi obr url add --url http://spring-roo-repository.springsource.org/repository.xml
      osgi obr start --bundleSymbolicName org.springframework.roo.wrapping.mysql-connector-java
      osgi obr url remove --url http://spring-roo-repository.springsource.org/repository.xml
      addon install id --searchResultId 1
      database reverse engineer --schema icshop --package ~.model --testAutomatically
      gwt setup
      perform tests
      perform eclipse
      // Spring Roo 1.2.0.BUILD-SNAPSHOT [rev cae85b8] log opened at 2011-07-08 13:24:51

      //The follow is the error log

      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 8.742s
      [INFO] Finished at: Fri Jul 08 14:03:21 CST 2011
      [INFO] Final Memory: 7M/111M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.8:test (default-te st) on project icsearcher: There are test failures.
      [ERROR]
      [ERROR] Please refer to /home/stan/projects/icsearcher/target/surefire-reports for the individual test results.
      [ERROR] -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.pl ugins:maven-surefire-plugin:2.8:test (default-test) on project icsearcher: There are test failures .

      Please refer to /home/stan/projects/icsearcher/target/surefire-reports for the individual test res ults.
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
      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(LifecycleModule Builder.java:84)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModule Builder.java:59)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStart er.java:183)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
      Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

      Please refer to /home/stan/projects/icsearcher/target/surefire-reports for the individual test res ults.
      at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:74)
      at org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:644)
      at org.apache.maven.plugin.surefire.SurefirePlugin.executeAfterPreconditionsChecked(Surefi rePlugin.java:640)
      at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java :103)
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager .java:101)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      ... 19 more
      [ERROR]
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following ar ticles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

        Attachments

          Activity

            People

            Assignee:
            aswan Andrew Swan
            Reporter:
            stanhangzhou stanhangzhou xi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: