Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-7183

Patch metadata record cannot handle spaces in file names

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • fuse-7.6-CR3
    • None
    • None
    • None

      [INFO] --- exec-maven-plugin:1.3.2:exec (run-fuse-eap-installer) @ fuse-eap-itests-standalone ---
      Installing fuse-patch-distro-wildfly-2.4.0.zip
      Copy to repository: fuse-patch-distro-wildfly-2.4.0.zip
      Copy to repository: fuse-eap-distro-6.3.0.redhat-291.zip
      Run command: java -Djboss.home=. -Dlogging.configuration=file:bin/fusepatch-logging.properties -jar jboss-modules.jar -mp modules org.wildfly.extras.patch --add file:fusepatch/repository/fuse-patch-distro-wildfly-2.4.0.zip
      Add fuse-patch-distro-wildfly-2.4.0
      Run command: java -Djboss.home=. -Dlogging.configuration=file:bin/fusepatch-logging.properties -jar jboss-modules.jar -mp modules org.wildfly.extras.patch --add file:fusepatch/repository/fuse-eap-distro-6.3.0.redhat-291.zip
      Add fuse-eap-distro-6.3.0.redhat-291
      Run command: java -Djboss.home=. -Dlogging.configuration=file:bin/fusepatch-logging.properties -jar jboss-modules.jar -mp modules org.wildfly.extras.patch --update fuse-patch-distro-wildfly
      Install fuse-patch-distro-wildfly-2.4.0
      Run command: java -Djboss.home=. -Dlogging.configuration=file:bin/fusepatch-logging.properties -jar jboss-modules.jar -mp modules org.wildfly.extras.patch --update fuse-eap-distro
      Error executing command: java.lang.IllegalStateException: Invalid line: INFO docs/fuse_licenses/apache 2.0 license - apache-2.0.txt 2562598008
      	at org.wildfly.extras.patch.utils.IllegalStateAssertion.assertTrue(IllegalStateAssertion.java:68) [fuse-patch-core-2.4.0.jar:]
      	at org.wildfly.extras.patch.utils.IllegalStateAssertion.assertEquals(IllegalStateAssertion.java:97) [fuse-patch-core-2.4.0.jar:]
      	at org.wildfly.extras.patch.Record.fromString(Record.java:62) [fuse-patch-core-2.4.0.jar:]
      	at org.wildfly.extras.patch.internal.MetadataParser.readPatch(MetadataParser.java:233) [fuse-patch-core-2.4.0.jar:]
      	at org.wildfly.extras.patch.internal.MetadataParser.readPatch(MetadataParser.java:88) [fuse-patch-core-2.4.0.jar:]
      	at org.wildfly.extras.patch.repository.LocalFileRepository.getPatch(LocalFileRepository.java:98) [fuse-patch-core-2.4.0.jar:]
      	at org.wildfly.extras.patch.repository.AbstractRepository.getSmartPatch(AbstractRepository.java:288) [fuse-patch-core-2.4.0.jar:]
      	at org.wildfly.extras.patch.internal.DefaultPatchTool.installInternal(DefaultPatchTool.java:120) [fuse-patch-core-2.4.0.jar:]
      	at org.wildfly.extras.patch.internal.DefaultPatchTool.update(DefaultPatchTool.java:85) [fuse-patch-core-2.4.0.jar:]
      	at org.wildfly.extras.patch.internal.Main.run(Main.java:156) [fuse-patch-core-2.4.0.jar:]
      	at org.wildfly.extras.patch.internal.Main.mainInternal(Main.java:74) [fuse-patch-core-2.4.0.jar:]
      	at org.wildfly.extras.patch.internal.Main.main(Main.java:55) [fuse-patch-core-2.4.0.jar:]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_80]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_80]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_80]
      	at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_80]
      	at org.jboss.modules.Module.run(Module.java:312) [jboss-modules.jar:1.3.7.Final-redhat-1]
      	at org.jboss.modules.Main.main(Main.java:473) [jboss-modules.jar:1.3.7.Final-redhat-1]
      
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] Fuse EAP ........................................... SUCCESS [  2.359 s]
      [INFO] Fuse EAP :: Config ................................. SUCCESS [  2.707 s]
      [INFO] Fuse EAP :: Distro ................................. SUCCESS [05:58 min]
      [INFO] Fuse EAP :: Installer .............................. SUCCESS [01:37 min]
      [INFO] Fuse EAP :: Testsuite .............................. SUCCESS [  0.813 s]
      [INFO] Fuse EAP :: Testsuite :: Standalone ................ FAILURE [ 30.667 s]
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 08:13 min
      [INFO] Finished at: 2017-08-10T14:06:24-04:00
      [INFO] Final Memory: 219M/2001M
      [INFO] ------------------------------------------------------------------------
      [WARNING] The requested profile "release" could not be activated because it does not exist.
      [WARNING] The requested profile "all" could not be activated because it does not exist.
      [WARNING] The requested profile "enable-schemagen" could not be activated because it does not exist.
      [WARNING] The requested profile "deploy" could not be activated because it does not exist.
      [WARNING] The requested profile "ts.all" could not be activated because it does not exist.
      [WARNING] The requested profile "jaxws22" could not be activated because it does not exist.
      [WARNING] The requested profile "nochecks" could not be activated because it does not exist.
      [WARNING] The requested profile "sap" could not be activated because it does not exist.
      [WARNING] The requested profile "quickstarts" could not be activated because it does not exist.
      [WARNING] The requested profile "apt" could not be activated because it does not exist.
      [WARNING] The requested profile "spring3.2" could not be activated because it does not exist.
      [WARNING] The requested profile "jetty9" could not be activated because it does not exist.
      [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:exec (run-fuse-eap-installer) on project fuse-eap-itests-standalone: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:exec (run-fuse-eap-installer) on project fuse-eap-itests-standalone: Command execution failed.
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
      	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:120)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
      	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
      	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: org.apache.maven.plugin.MojoExecutionException: Command execution failed.
      	at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:303)
      	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
      	... 19 more
      Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
      	at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:402)
      	at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:164)
      	at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:746)
      	at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:292)
      	... 21 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 :fuse-eap-itests-standalone
      

              jondruse@redhat.com Jiri Ondrusek
              janstey@redhat.com Jonathan Anstey
              Emil Cervenan Emil Cervenan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: