Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-775

Fix missing {errormessage} in nuxeo-ftest.xml script

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: NXFT-1.7.14
    • Fix Version/s: NXFT-1.7.15
    • Component/s: Load Testing

      Description

      Seen in :

      07:07:26 [ERROR] Error occurred while running /home/hudson/workspace/FT-nuxeo-master-bench-dm-tomcat/nuxeo-distribution-dm/ftest/funkload/ibench.xml@792:67
      07:07:26 The following error occurred while executing this line:
      07:07:26 /home/hudson/workspace/FT-nuxeo-master-bench-dm-tomcat/nuxeo-distribution-dm/ftest/funkload/target/nuxeo-ftest.xml:820: ${errormessage}
      07:07:26 org.apache.maven.plugin.MojoExecutionException: Error occurred while running /home/hudson/workspace/FT-nuxeo-master-bench-dm-tomcat/nuxeo-distribution-dm/ftest/funkload/ibench.xml@792:67
      07:07:26 The following error occurred while executing this line:
      07:07:26 /home/hudson/workspace/FT-nuxeo-master-bench-dm-tomcat/nuxeo-distribution-dm/ftest/funkload/target/nuxeo-ftest.xml:820: ${errormessage}
      07:07:26 	at org.nuxeo.build.maven.AntBuildMojo.execute(AntBuildMojo.java:268)
      07:07:26 	at org.nuxeo.build.maven.IntegrationTestMojo.execute(IntegrationTestMojo.java:103)
      07:07:26 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
      07:07:26 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
      07:07:26 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      07:07:26 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      07:07:26 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
      07:07:26 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
      07:07:26 	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      07:07:26 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
      07:07:26 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
      07:07:26 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
      07:07:26 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
      07:07:26 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
      07:07:26 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
      07:07:26 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      07:07:26 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      07:07:26 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      07:07:26 	at java.lang.reflect.Method.invoke(Method.java:606)
      07:07:26 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      07:07:26 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      07:07:26 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      07:07:26 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      07:07:26 Caused by: /home/hudson/workspace/FT-nuxeo-master-bench-dm-tomcat/nuxeo-distribution-dm/ftest/funkload/target/nuxeo-ftest.xml:792: The following error occurred while executing this line:
      07:07:26 /home/hudson/workspace/FT-nuxeo-master-bench-dm-tomcat/nuxeo-distribution-dm/ftest/funkload/target/nuxeo-ftest.xml:820: ${errormessage}
      07:07:26 	at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:568)
      07:07:26 	at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:399)
      07:07:26 	at net.sf.antcontrib.logic.ForTask.doSequentialIteration(ForTask.java:259)
      07:07:26 	at net.sf.antcontrib.logic.ForTask.doToken(ForTask.java:268)
      07:07:26 	at net.sf.antcontrib.logic.ForTask.doTheTasks(ForTask.java:299)
      07:07:26 	at net.sf.antcontrib.logic.ForTask.execute(ForTask.java:244)
      07:07:26 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
      07:07:26 	at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
      07:07:26 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      07:07:26 	at java.lang.reflect.Method.invoke(Method.java:606)
      07:07:26 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      07:07:26 	at org.apache.tools.ant.Task.perform(Task.java:348)
      07:07:26 	at org.apache.tools.ant.Target.execute(Target.java:435)
      07:07:26 	at org.apache.tools.ant.Target.performTasks(Target.java:456)
      07:07:26 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
      07:07:26 	at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
      07:07:26 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      07:07:26 	at org.nuxeo.build.ant.AntClient.run(AntClient.java:162)
      07:07:26 	at org.nuxeo.build.maven.AntBuildMojo.execute(AntBuildMojo.java:255)
      07:07:26 	... 22 more
      07:07:26 Caused by: /home/hudson/workspace/FT-nuxeo-master-bench-dm-tomcat/nuxeo-distribution-dm/ftest/funkload/target/nuxeo-ftest.xml:820: ${errormessage}
      07:07:26 	at org.apache.tools.ant.taskdefs.Exit.execute(Exit.java:164)
      07:07:26 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
      07:07:26 	at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
      07:07:26 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      07:07:26 	at java.lang.reflect.Method.invoke(Method.java:606)
      07:07:26 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      07:07:26 	at org.apache.tools.ant.Task.perform(Task.java:348)
      07:07:26 	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
      07:07:26 	at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
      07:07:26 	at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)
      07:07:26 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      07:07:26 	at java.lang.reflect.Method.invoke(Method.java:606)
      07:07:26 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      07:07:26 	at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
      07:07:26 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
      07:07:26 	at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
      07:07:26 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      07:07:26 	at java.lang.reflect.Method.invoke(Method.java:606)
      07:07:26 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      07:07:26 	at org.apache.tools.ant.Task.perform(Task.java:348)
      07:07:26 	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
      07:07:26 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
      07:07:26 	at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
      07:07:26 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      07:07:26 	at java.lang.reflect.Method.invoke(Method.java:606)
      07:07:26 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      07:07:26 	at org.apache.tools.ant.Task.perform(Task.java:348)
      07:07:26 	at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
      07:07:26 	... 39 more
      

      It seems that:

      <!-- Set exit status -->
      <propertyregex property="errormessage"
      override="true"
      input="${errmsg}"
      regexp="(.*),"
      select="\1"
      defaultValue="${errmsg}" />
      

      is missing before line 820 in nuxeo-ftest.xml

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: