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

Fix manual launch of Selenium tests

    XMLWordPrintable

    Details

      Description

      When executing the Maven command to launch the Selenium tests suite, I got the following error :

      [ERROR] Error occurred while running build.xml@0:0
      java.io.FileNotFoundException: /home/gildas/sources/nuxeo/nuxeo-distribution/nuxeo-distribution-dm/ftest/selenium/build.xml (No such file or directory)
      org.apache.maven.plugin.MojoExecutionException: Error occurred while running build.xml@0:0
      java.io.FileNotFoundException: /home/gildas/sources/nuxeo/nuxeo-distribution/nuxeo-distribution-dm/ftest/selenium/build.xml (No such file or directory)
      	at org.nuxeo.build.maven.AntBuildMojo.execute(AntBuildMojo.java:264)
      	at org.nuxeo.build.maven.IntegrationTestMojo.execute(IntegrationTestMojo.java:100)
      	at org.nuxeo.build.maven.compat.IntegrationTestMojo.execute(IntegrationTestMojo.java:38)
      	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
      	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:84)
      	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
      	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
      	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
      	at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	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: java.io.FileNotFoundException: /home/gildas/sources/nuxeo/nuxeo-distribution/nuxeo-distribution-dm/ftest/selenium/build.xml (No such file or directory)
      	at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:299)
      	at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:177)
      	at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:93)
      	at org.nuxeo.build.ant.AntClient.run(AntClient.java:155)
      	at org.nuxeo.build.ant.AntClient.run(AntClient.java:122)
      	at org.nuxeo.build.maven.AntBuildMojo.execute(AntBuildMojo.java:253)
      	... 23 more
      Caused by: java.io.FileNotFoundException: /home/gildas/sources/nuxeo/nuxeo-distribution/nuxeo-distribution-dm/ftest/selenium/build.xml (No such file or directory)
      	at java.io.FileInputStream.open(Native Method)
      	at java.io.FileInputStream.<init>(FileInputStream.java:146)
      	at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:249)
      	... 28 more
      

      The command I launched was :

      mvn org.nuxeo.build:nuxeo-distribution-tools:integration-test -Pqa -Dtarget=run-selenium -Dsuites=suite1

      It seems to be linked to the distribution tools module.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: