I managed to reproduce it as well - it's related to the folder length:

[INFO] Command was cmd.exe /X /C ""C:\Program
Files\Java\jdk1.8.0_92\jre\bin\java" -jar
"C:\Users\stain\ApacheTavernaBuilds\04 Try Engine
Again\incubator-taverna-engine\taverna-activity-archetype\target\test-classes\projects\dummyActivity\project\dummy-taverna-plugin\dummy-taverna-plugin-activity\target\surefire\surefirebooter3609180204497295203.jar"
"C:\Users\stain\ApacheTavernaBuilds\04 Try Engine
Again\incubator-taverna-engine\taverna-activity-archetype\target\test-classes\projects\dummyActivity\project\dummy-taverna-plugin\dummy-taverna-plugin-activity\target\surefire\surefire9169840870606093708tmp"
"C:\Users\stain\ApacheTavernaBuilds\04 Try Engine
Again\incubator-taverna-engine\taverna-activity-archetype\target\test-classes\projects\dummyActivity\project\dummy-taverna-plugin\dummy-taverna-plugin-activity\target\surefire\surefire_05020064088761634944tmp""
[INFO]  at 
org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:590)
[INFO]  at 
org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:460)
[INFO]  at 
org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:229)
[INFO]  at 
org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:201)
[INFO]  at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1026)
[INFO]  at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:862)
[INFO]  at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:755)
[INFO]  at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
[INFO]  ... 21 more

On 27 May 2016 at 15:39, Stian Soiland-Reyes <[email protected]> wrote:
> Hm, this error seems different from the previous
>
>> [ERROR] Archetype IT 'dummyActivity' failed: Cannot run additions goals.
>
> I was able to reproduce the above in Windows 10 by removing the
> maven-invoker dependency from the pom.xml - and if I add it back in,
> it works.
>
> IS it because of the space in your folder name
> C:\Users\Gale\ApacheTavernaBuilds\04 Try Engine again\ or possibly the
> total length of the file path?
>
> I built it from D:\incubator-taverna-engine without reproducing the
> problem.  Could you try to say build it from C:\1\  ?
>
> (BTW - to save time you can test this by running just mvn clean
> install within the taverna-activity-archetype folder)
>
>
> If I try to copy this folder to my
> C:\Users\stain\ApacheTavernaBuilds\04 Try Engine Again I actually get
> an error from Windows Explorer:
>
>> The filename(s) would be too long for the destination folder
>> DummyActivityFactory.java
>
> so a big hint that the folder paths of the internal test project can
> become a bit long for Windows. (It's OK as long as you are inside
> Java, you are allowed to make and use "too long" paths - but it breaks
> as soon as you then try to start a sub-process as the inner maven fork
> would do)
>
>
> Should we disable this test on Windows or just warn about this in the
> README? I think it could affect other parts as well - which is why I
> tend to put my source code straight on my D:\ while in Windows :)
>
>
>
> On 23 May 2016 at 15:01, Gale Naylor <[email protected]> wrote:
>> Sorry, BUILD FAILURE again. Actually, two: Dummy Taverna activity
>> and Apache Taverna Activity archetype.
>>
>> [INFO] [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [INFO] Reactor Summary:
>> [INFO] [INFO]
>> [INFO] [INFO] Dummy Taverna project .............................. SUCCESS
>> [ 12.754 s]
>> [INFO] [INFO] Dummy Taverna activity ............................. FAILURE
>> [ 23.582 s]
>> [INFO] [INFO] Dummy Taverna plugin ............................... SKIPPED
>> [INFO] [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [INFO] BUILD FAILURE
>> [INFO] [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [INFO] Total time: 38.075 s
>> [INFO] [INFO] Finished at: 2016-05-23T06:51:36-07:00
>> [INFO] [INFO] Final Memory: 26M/202M
>> [INFO] [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test)
>> on project dummy-taverna-plugin-activity: Execution default-test of goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The
>> forked VM terminated without properly saying goodbye. VM crash or
>> System.exit called?
>> [INFO] [ERROR] Command was cmd.exe /X /C
>> "c:\PROGRA~1\Java\JDK18~1.0_4\jre\bin\java -jar
>> "C:\Users\Gale\ApacheTavernaBuilds\04 Try Engine
>> again\incubator-taverna-engine-master\taverna-activity-archetype\target\test-classes\projects\dummyActivity\project\dummy-taverna-plugin\dummy-taverna-plugin-activity\target\surefire\surefirebooter7662048493632791084.jar"
>> "C:\Users\Gale\ApacheTavernaBuilds\04 Try Engine
>> again\incubator-taverna-engine-master\taverna-activity-archetype\target\test-classes\projects\dummyActivity\project\dummy-taverna-plugin\dummy-taverna-plugin-activity\target\surefire\surefire2131732548318184089tmp"
>> "C:\Users\Gale\ApacheTavernaBuilds\04 Try Engine
>> again\incubator-taverna-engine-master\taverna-activity-archetype\target\test-classes\projects\dummyActivity\project\dummy-taverna-plugin\dummy-taverna-plugin-activity\target\surefire\surefire_07668064436317001826tmp""
>> [INFO] [ERROR] -> [Help 1]
>> [INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>> execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
>> (default-test) on project dummy-taverna-plugin-activity: Execution
>> default-test of goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The
>> forked VM terminated without properly saying goodbye. VM crash or
>> System.exit called?
>> [INFO] Command was cmd.exe /X /C "c:\PROGRA~1\Java\JDK18~1.0_4\jre\bin\java
>> -jar "C:\Users\Gale\ApacheTavernaBuilds\04 Try Engine
>> again\incubator-taverna-engine-master\taverna-activity-archetype\target\test-classes\projects\dummyActivity\project\dummy-taverna-plugin\dummy-taverna-plugin-activity\target\surefire\surefirebooter7662048493632791084.jar"
>> "C:\Users\Gale\ApacheTavernaBuilds\04 Try Engine
>> again\incubator-taverna-engine-master\taverna-activity-archetype\target\test-classes\projects\dummyActivity\project\dummy-taverna-plugin\dummy-taverna-plugin-activity\target\surefire\surefire2131732548318184089tmp"
>> "C:\Users\Gale\ApacheTavernaBuilds\04 Try Engine
>> again\incubator-taverna-engine-master\taverna-activity-archetype\target\test-classes\projects\dummyActivity\project\dummy-taverna-plugin\dummy-taverna-plugin-activity\target\surefire\surefire_07668064436317001826tmp""
>> [INFO] at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
>> [INFO] at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>> [INFO] at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>> [INFO] at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
>> [INFO] at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>> [INFO] at
>> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>> [INFO] at
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
>> [INFO] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
>> [INFO] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>> [INFO] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>> [INFO] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
>> [INFO] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
>> [INFO] at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
>> [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> [INFO] at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>> [INFO] at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> [INFO] at java.lang.reflect.Method.invoke(Method.java:497)
>> [INFO] at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>> [INFO] at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>> [INFO] at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>> [INFO] at
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
>> [INFO] Caused by: org.apache.maven.plugin.PluginExecutionException:
>> Execution default-test of goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The
>> forked VM terminated without properly saying goodbye. VM crash or
>> System.exit called?
>> [INFO] Command was cmd.exe /X /C "c:\PROGRA~1\Java\JDK18~1.0_4\jre\bin\java
>> -jar "C:\Users\Gale\ApacheTavernaBuilds\04 Try Engine
>> again\incubator-taverna-engine-master\taverna-activity-archetype\target\test-classes\projects\dummyActivity\project\dummy-taverna-plugin\dummy-taverna-plugin-activity\target\surefire\surefirebooter7662048493632791084.jar"
>> "C:\Users\Gale\ApacheTavernaBuilds\04 Try Engine
>> again\incubator-taverna-engine-master\taverna-activity-archetype\target\test-classes\projects\dummyActivity\project\dummy-taverna-plugin\dummy-taverna-plugin-activity\target\surefire\surefire2131732548318184089tmp"
>> "C:\Users\Gale\ApacheTavernaBuilds\04 Try Engine
>> again\incubator-taverna-engine-master\taverna-activity-archetype\target\test-classes\projects\dummyActivity\project\dummy-taverna-plugin\dummy-taverna-plugin-activity\target\surefire\surefire_07668064436317001826tmp""
>> [INFO] at
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
>> [INFO] at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
>> [INFO] ... 20 more
>> [INFO] Caused by: java.lang.RuntimeException: The forked VM terminated
>> without properly saying goodbye. VM crash or System.exit called?
>> [INFO] Command was cmd.exe /X /C "c:\PROGRA~1\Java\JDK18~1.0_4\jre\bin\java
>> -jar "C:\Users\Gale\ApacheTavernaBuilds\04 Try Engine
>> again\incubator-taverna-engine-master\taverna-activity-archetype\target\test-classes\projects\dummyActivity\project\dummy-taverna-plugin\dummy-taverna-plugin-activity\target\surefire\surefirebooter7662048493632791084.jar"
>> "C:\Users\Gale\ApacheTavernaBuilds\04 Try Engine
>> again\incubator-taverna-engine-master\taverna-activity-archetype\target\test-classes\projects\dummyActivity\project\dummy-taverna-plugin\dummy-taverna-plugin-activity\target\surefire\surefire2131732548318184089tmp"
>> "C:\Users\Gale\ApacheTavernaBuilds\04 Try Engine
>> again\incubator-taverna-engine-master\taverna-activity-archetype\target\test-classes\projects\dummyActivity\project\dummy-taverna-plugin\dummy-taverna-plugin-activity\target\surefire\surefire_07668064436317001826tmp""
>> [INFO] at
>> org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:590)
>> [INFO] at
>> org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:460)
>> [INFO] at
>> org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:229)
>> [INFO] at
>> org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:201)
>> [INFO] at
>> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1026)
>> [INFO] at
>> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:862)
>> [INFO] at
>> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:755)
>> [INFO] at
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
>> [INFO] ... 21 more
>> [INFO] [ERROR]
>> [INFO] [ERROR] Re-run Maven using the -X switch to enable full debug
>> logging.
>> [INFO] [ERROR]
>> [INFO] [ERROR] For more information about the errors and possible
>> solutions, please read the following articles:
>> [INFO] [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
>> [INFO] [ERROR]
>> [INFO] [ERROR] After correcting the problems, you can resume the build with
>> the command
>> [INFO] [ERROR]   mvn <goals> -rf :dummy-taverna-plugin-activity
>> [INFO] Post-archetype-generation invoker exit code: 1
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Taverna Engine and Platform ................. SUCCESS [
>>  3.095 s]
>> [INFO] Apache Taverna Activity archetype .................. FAILURE [
>> 46.310 s]
>> [INFO] Apache Taverna Reference Manager API ............... SKIPPED
>> [INFO] Apache Taverna Observer pattern .................... SKIPPED
>> [INFO] Apache Taverna Workflow Model API .................. SKIPPED
>> [INFO] Apache Taverna Workflow Model Extension Points ..... SKIPPED
>> [INFO] Apache Taverna Workflow Model impl ................. SKIPPED
>> [INFO] Apache Taverna Database Configuration API .......... SKIPPED
>> [INFO] Apache Taverna Reference Test Helpers .............. SKIPPED
>> [INFO] Apache Taverna Reference Manager impl .............. SKIPPED
>> [INFO] Apache Taverna Engine Reference Types .............. SKIPPED
>> [INFO] Apache Taverna Activity test utils ................. SKIPPED
>> [INFO] Apache Taverna Platform Capability API ............. SKIPPED
>> [INFO] Apache Taverna Platform Capability impl ............ SKIPPED
>> [INFO] Apache Taverna Credential Manager API .............. SKIPPED
>> [INFO] Apache Taverna Credential Manager impl ............. SKIPPED
>> [INFO] Apache Taverna Database Configuration impl ......... SKIPPED
>> [INFO] Apache Taverna Dataflow Activity ................... SKIPPED
>> [INFO] Apache Taverna Platform Report Service ............. SKIPPED
>> [INFO] Apache Taverna Platform Execution Service API ...... SKIPPED
>> [INFO] Apache Taverna Hadoop Workflow Execution Service ... SKIPPED
>> [INFO] Apache Taverna Platform Execution Service impl ..... SKIPPED
>> [INFO] Apache Taverna Platform Local Execution Service .... SKIPPED
>> [INFO] Apache Taverna Platform Remote Execution Service ... SKIPPED
>> [INFO] Apache Taverna Platform Run Service API ............ SKIPPED
>> [INFO] Apache Taverna Platform Run Service impl ........... SKIPPED
>> [INFO] Apache Taverna Services API ........................ SKIPPED
>> [INFO] Apache Taverna Platform Services impl .............. SKIPPED
>> [INFO] Apache Taverna StringConstant Activity ............. SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 51.317 s
>> [INFO] Finished at: 2016-05-23T06:51:36-07:00
>> [INFO] Final Memory: 41M/439M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-archetype-plugin:2.4:integration-test
>> (default-integration-test) on project taverna-activity-archetype:
>> [ERROR] Archetype IT 'dummyActivity' failed: Execution failure: exit code =
>> 1
>> [ERROR] -> [Help 1]
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
>> goal org.apache.maven.plugins:maven-archetype-plugin:2.4:integration-test
>> (default-integration-test) on project taverna-activity-archetype:
>> Archetype IT 'dummyActivity' failed: Execution failure: exit code = 1
>> 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:863)
>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
>> 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:497)
>> 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.MojoExecutionException:
>> Archetype IT 'dummyActivity' failed: Execution failure: exit code = 1
>> at
>> org.apache.maven.archetype.mojos.IntegrationTestMojo.execute(IntegrationTestMojo.java:269)
>> at
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
>> ... 20 more
>> [ERROR]
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn <goals> -rf :taverna-activity-archetype
>>
>>
>> On Mon, May 23, 2016 at 6:47 AM Gale Naylor <[email protected]>
>> wrote:
>>
>>> Yes, sorry - I'm at a conference and didn't check email yesterday. FYI I'm
>>> running mvn 3.3.9. I'll try it again.
>>>
>>> On Sun, May 22, 2016 at 10:39 AM Stian Soiland-Reyes <[email protected]>
>>> wrote:
>>>
>>>> I added the explicit plugin dependency as described in ARCHETYPE-488 -
>>>> could you see if it works now on your setup, Gale?
>>>>
>>>> On 22 May 2016 at 19:35, Stian Soiland-Reyes <[email protected]> wrote:
>>>> > On 22 May 2016 at 19:32, Stian Soiland-Reyes <[email protected]> wrote:
>>>> >
>>>> >> We can try to add that workaround - I upgraded it to the newer
>>>> >> maven-archetype-plugin 2.5 now - is the problem still there?
>>>> >
>>>> > Sorry, archetype-plugin 2.5 was not released yet  - so that didn't
>>>> work. :(
>>>> >
>>>> >
>>>> > I'll see if some other workaround can be added.. or we can just
>>>> > disable that test on Windows.
>>>> >
>>>> > (I think it's something to do with mvn.cmd vs. mvn.bat ?)
>>>> >
>>>> >
>>>> > --
>>>> > Stian Soiland-Reyes
>>>> > Apache Commons, Apache Taverna (incubating), Apache Commons RDF
>>>> (incubating)
>>>> > http://orcid.org/0000-0001-9842-9718
>>>>
>>>>
>>>>
>>>> --
>>>> Stian Soiland-Reyes
>>>> Apache Commons, Apache Taverna (incubating), Apache Commons RDF
>>>> (incubating)
>>>> http://orcid.org/0000-0001-9842-9718
>>>>
>>>
>
>
>
> --
> Stian Soiland-Reyes
> Apache Taverna (incubating), Apache Commons
> http://orcid.org/0000-0001-9842-9718



-- 
Stian Soiland-Reyes
Apache Taverna (incubating), Apache Commons
http://orcid.org/0000-0001-9842-9718

Reply via email to