Discussion:
[tycho-user] package-feature reports MALFORMED
Christian Pontesegger
2017-03-07 13:04:20 UTC
Permalink
Hi,

I asked a while back about this error message which I get on eclipse
servers building features.
https://dev.eclipse.org/mhonarc/lists/tycho-user/msg07019.html

As it still occurs (now with tycho 1.0.0) I have some debug output
available in the hope that devs can figure out what goes wrong here:


[INFO] --- tycho-packaging-plugin:1.0.0:package-feature (default-package-feature) @ org.eclipse.ease.python.jython.feature ---
[DEBUG] Configuring mojo org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature from plugin realm ClassRealm[plugin>org.eclipse.tycho:tycho-packaging-plugin:1.0.0, parent: sun.misc.Launcher$***@55f96302]
[DEBUG] Configuring mojo 'org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature' with basic configurator -->
[DEBUG] (f) basedir = /jobs/genie.ease/ease-build-core/workspace/features/org.eclipse.ease.lang.python.jython.feature
[DEBUG] (f) deployableFeature = false
[DEBUG] (f) finalName = org.eclipse.ease.python.jython.feature-0.5.0-SNAPSHOT
[DEBUG] (f) outputDirectory = /jobs/genie.ease/ease-build-core/workspace/features/org.eclipse.ease.lang.python.jython.feature/target
[DEBUG] (f) project = MavenProject: org.eclipse.ease:org.eclipse.ease.python.jython.feature:0.5.0-SNAPSHOT @ /jobs/genie.ease/ease-build-core/workspace/features/org.eclipse.ease.lang.python.jython.feature/pom.xml
[DEBUG] (f) qualifier = I201701130755
[DEBUG] (f) session = ***@218c25b9
[DEBUG] (f) strictBinIncludes = true
[DEBUG] (f) target = /jobs/genie.ease/ease-build-core/workspace/features/org.eclipse.ease.lang.python.jython.feature/target/site
[DEBUG] (f) useDefaultExcludes = true
[DEBUG] -- end configuration --
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] org.eclipse.ease.releng ............................ SUCCESS [ 1.347 s]
[INFO] org.eclipse.ease ................................... SUCCESS [ 9.308 s]
[INFO] org.eclipse.ease.ui ................................ SUCCESS [ 6.446 s]
[INFO] org.eclipse.ease.ui.scripts ........................ SUCCESS [ 6.658 s]
[INFO] org.eclipse.ease.lang.javascript ................... SUCCESS [ 4.194 s]
[INFO] org.eclipse.ease.lang.javascript.nashorn ........... SUCCESS [ 5.498 s]
[INFO] org.eclipse.ease.lang.javascript.rhino ............. SUCCESS [ 4.055 s]
[INFO] org.eclipse.ease.lang.javascript.rhino.debugger .... SUCCESS [ 4.614 s]
[INFO] org.eclipse.ease.lang.javascript.ui ................ SUCCESS [ 11.435 s]
[INFO] org.eclipse.ease.lang.python ....................... SUCCESS [ 5.558 s]
[INFO] org.eclipse.ease.help .............................. SUCCESS [ 9.240 s]
[INFO] org.eclipse.ease.feature ........................... SUCCESS [ 2.621 s]
[INFO] org.eclipse.ease.ui.feature ........................ SUCCESS [ 2.259 s]
[INFO] org.eclipse.ease.lang.javascript.feature ........... SUCCESS [ 6.692 s]
[INFO] org.eclipse.ease.lang.python.feature ............... SUCCESS [ 2.452 s]
[INFO] org.eclipse.ease.lang.python.jython ................ SUCCESS [ 9.961 s]
[INFO] org.eclipse.ease.lang.python.jython.debugger ....... SUCCESS [ 4.205 s]
[INFO] org.eclipse.ease.python.jython.feature ............. FAILURE [ 0.185 s]
[INFO] org.eclipse.ease.lang.python.py4j .................. SKIPPED
[INFO] org.eclipse.ease.lang.python.py4j.feature .......... SKIPPED
[INFO] org.eclipse.ease.lang.jvm.compiled ................. SKIPPED
[INFO] org.eclipse.ease.lang.jvm.feature .................. SKIPPED
[INFO] org.eclipse.ease.lang.groovy ....................... SKIPPED
[INFO] org.eclipse.ease.lang.groovy.interpreter ........... SKIPPED
[INFO] org.eclipse.ease.lang.groovy.feature ............... SKIPPED
[INFO] org.eclipse.ease.lang.ruby ......................... SKIPPED
[INFO] org.eclipse.ease.lang.ruby.jruby ................... SKIPPED
[INFO] org.eclipse.ease.lang.ruby.feature ................. SKIPPED
[INFO] org.eclipse.ease.releng.target ..................... SKIPPED
[INFO] org.eclipse.ease.releng.p2 ......................... SKIPPED
[INFO] org.eclipse.ease.releng.p2.source .................. SKIPPED
[INFO] org.eclipse.ease.test .............................. SKIPPED
[INFO] org.eclipse.ease.lang.javascript.rhino.test ........ SKIPPED
[INFO] org.eclipse.ease.lang.javascript.test .............. SKIPPED
[INFO] org.eclipse.ease.lang.python.test .................. SKIPPED
[INFO] org.eclipse.ease.lang.python.py4j.test ............. SKIPPED
[INFO] org.eclipse.ease.ui.test ........................... SKIPPED
[INFO] EASE (Incubation) .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:18 min
[INFO] Finished at: 2017-03-07T07:56:06-05:00
[INFO] Final Memory: 157M/3924M
[INFO] ------------------------------------------------------------------------
[INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)
[INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature (default-package-feature) on project org.eclipse.ease.python.jython.feature: Execution default-package-feature of goal org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature failed: MALFORMED
[DEBUG] Closing connection to remote
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature (default-package-feature) on project org.eclipse.ease.python.jython.feature: Execution default-package-feature of goal org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature failed: MALFORMED -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature (default-package-feature) on project org.eclipse.ease.python.jython.feature: Execution default-package-feature of goal org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature failed: MALFORMED
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:498)
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.PluginExecutionException: Execution default-package-feature of goal org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature failed: MALFORMED
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 20 more
Caused by: java.lang.IllegalArgumentException: MALFORMED
at java.util.zip.ZipCoder.toString(ZipCoder.java:58)
at java.util.zip.ZipFile.getZipEntry(ZipFile.java:566)
at java.util.zip.ZipFile.access$900(ZipFile.java:60)
at java.util.zip.ZipFile$ZipEntryIterator.next(ZipFile.java:524)
at java.util.zip.ZipFile$ZipEntryIterator.nextElement(ZipFile.java:499)
at java.util.zip.ZipFile$ZipEntryIterator.nextElement(ZipFile.java:480)
at java.util.jar.JarFile$JarEntryIterator.next(JarFile.java:257)
at java.util.jar.JarFile$JarEntryIterator.nextElement(JarFile.java:266)
at java.util.jar.JarFile$JarEntryIterator.nextElement(JarFile.java:247)
at org.eclipse.tycho.packaging.FeatureXmlTransformer.getInstallSize(FeatureXmlTransformer.java:129)
at org.eclipse.tycho.packaging.FeatureXmlTransformer.setDownloadAndInstallSize(FeatureXmlTransformer.java:109)
at org.eclipse.tycho.packaging.FeatureXmlTransformer.expandReferences(FeatureXmlTransformer.java:64)
at org.eclipse.tycho.packaging.PackageFeatureMojo.expandVersionQualifiers(PackageFeatureMojo.java:254)
at org.eclipse.tycho.packaging.PackageFeatureMojo.execute(PackageFeatureMojo.java:125)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
... 21 more
[ERROR]
[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/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :org.eclipse.ease.python.jython.feature

Any idea what might go wrong here?

thanks
Christian
SCHREIBER.Martin
2017-03-07 13:20:43 UTC
Permalink
Hi,

Looks similar to that one: http://stackoverflow.com/questions/20013091/java-unzip-error-malformed

Could it be that there are files in that feature/plugin that do have abnormal file names?

-martin



Von: tycho-user-***@eclipse.org [mailto:tycho-user-***@eclipse.org] Im Auftrag von Christian Pontesegger
Gesendet: Dienstag, 07. MÀrz 2017 14:04
An: tycho-***@eclipse.org
Betreff: [tycho-user] package-feature reports MALFORMED


Hi,

I asked a while back about this error message which I get on eclipse servers building features.
https://dev.eclipse.org/mhonarc/lists/tycho-user/msg07019.html

As it still occurs (now with tycho 1.0.0) I have some debug output available in the hope that devs can figure out what goes wrong here:



[INFO] --- tycho-packaging-plugin:1.0.0:package-feature (default-package-feature) @ org.eclipse.ease.python.jython.feature ---

[DEBUG] Configuring mojo org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature from plugin realm ClassRealm[plugin>org.eclipse.tycho:tycho-packaging-plugin:1.0.0, parent: sun.misc.Launcher$***@55f96302<mailto:sun.misc.Launcher$***@55f96302>]

[DEBUG] Configuring mojo 'org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature' with basic configurator -->

[DEBUG] (f) basedir = /jobs/genie.ease/ease-build-core/workspace/features/org.eclipse.ease.lang.python.jython.feature

[DEBUG] (f) deployableFeature = false

[DEBUG] (f) finalName = org.eclipse.ease.python.jython.feature-0.5.0-SNAPSHOT

[DEBUG] (f) outputDirectory = /jobs/genie.ease/ease-build-core/workspace/features/org.eclipse.ease.lang.python.jython.feature/target

[DEBUG] (f) project = MavenProject: org.eclipse.ease:org.eclipse.ease.python.jython.feature:0.5.0-SNAPSHOT @ /jobs/genie.ease/ease-build-core/workspace/features/org.eclipse.ease.lang.python.jython.feature/pom.xml

[DEBUG] (f) qualifier = I201701130755

[DEBUG] (f) session = ***@218c25b9<mailto:***@218c25b9>

[DEBUG] (f) strictBinIncludes = true

[DEBUG] (f) target = /jobs/genie.ease/ease-build-core/workspace/features/org.eclipse.ease.lang.python.jython.feature/target/site

[DEBUG] (f) useDefaultExcludes = true

[DEBUG] -- end configuration --

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] org.eclipse.ease.releng ............................ SUCCESS [ 1.347 s]

[INFO] org.eclipse.ease ................................... SUCCESS [ 9.308 s]

[INFO] org.eclipse.ease.ui ................................ SUCCESS [ 6.446 s]

[INFO] org.eclipse.ease.ui.scripts ........................ SUCCESS [ 6.658 s]

[INFO] org.eclipse.ease.lang.javascript ................... SUCCESS [ 4.194 s]

[INFO] org.eclipse.ease.lang.javascript.nashorn ........... SUCCESS [ 5.498 s]

[INFO] org.eclipse.ease.lang.javascript.rhino ............. SUCCESS [ 4.055 s]

[INFO] org.eclipse.ease.lang.javascript.rhino.debugger .... SUCCESS [ 4.614 s]

[INFO] org.eclipse.ease.lang.javascript.ui ................ SUCCESS [ 11.435 s]

[INFO] org.eclipse.ease.lang.python ....................... SUCCESS [ 5.558 s]

[INFO] org.eclipse.ease.help .............................. SUCCESS [ 9.240 s]

[INFO] org.eclipse.ease.feature ........................... SUCCESS [ 2.621 s]

[INFO] org.eclipse.ease.ui.feature ........................ SUCCESS [ 2.259 s]

[INFO] org.eclipse.ease.lang.javascript.feature ........... SUCCESS [ 6.692 s]

[INFO] org.eclipse.ease.lang.python.feature ............... SUCCESS [ 2.452 s]

[INFO] org.eclipse.ease.lang.python.jython ................ SUCCESS [ 9.961 s]

[INFO] org.eclipse.ease.lang.python.jython.debugger ....... SUCCESS [ 4.205 s]

[INFO] org.eclipse.ease.python.jython.feature ............. FAILURE [ 0.185 s]

[INFO] org.eclipse.ease.lang.python.py4j .................. SKIPPED

[INFO] org.eclipse.ease.lang.python.py4j.feature .......... SKIPPED

[INFO] org.eclipse.ease.lang.jvm.compiled ................. SKIPPED

[INFO] org.eclipse.ease.lang.jvm.feature .................. SKIPPED

[INFO] org.eclipse.ease.lang.groovy ....................... SKIPPED

[INFO] org.eclipse.ease.lang.groovy.interpreter ........... SKIPPED

[INFO] org.eclipse.ease.lang.groovy.feature ............... SKIPPED

[INFO] org.eclipse.ease.lang.ruby ......................... SKIPPED

[INFO] org.eclipse.ease.lang.ruby.jruby ................... SKIPPED

[INFO] org.eclipse.ease.lang.ruby.feature ................. SKIPPED

[INFO] org.eclipse.ease.releng.target ..................... SKIPPED

[INFO] org.eclipse.ease.releng.p2 ......................... SKIPPED

[INFO] org.eclipse.ease.releng.p2.source .................. SKIPPED

[INFO] org.eclipse.ease.test .............................. SKIPPED

[INFO] org.eclipse.ease.lang.javascript.rhino.test ........ SKIPPED

[INFO] org.eclipse.ease.lang.javascript.test .............. SKIPPED

[INFO] org.eclipse.ease.lang.python.test .................. SKIPPED

[INFO] org.eclipse.ease.lang.python.py4j.test ............. SKIPPED

[INFO] org.eclipse.ease.ui.test ........................... SKIPPED

[INFO] EASE (Incubation) .................................. SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 02:18 min

[INFO] Finished at: 2017-03-07T07:56:06-05:00

[INFO] Final Memory: 157M/3924M

[INFO] ------------------------------------------------------------------------

[INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)

[INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature (default-package-feature) on project org.eclipse.ease.python.jython.feature: Execution default-package-feature of goal org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature failed: MALFORMED

[DEBUG] Closing connection to remote

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature (default-package-feature) on project org.eclipse.ease.python.jython.feature: Execution default-package-feature of goal org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature failed: MALFORMED -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature (default-package-feature) on project org.eclipse.ease.python.jython.feature: Execution default-package-feature of goal org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature failed: MALFORMED

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:498)

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.PluginExecutionException: Execution default-package-feature of goal org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature failed: MALFORMED

at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)

at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)

... 20 more

Caused by: java.lang.IllegalArgumentException: MALFORMED

at java.util.zip.ZipCoder.toString(ZipCoder.java:58)

at java.util.zip.ZipFile.getZipEntry(ZipFile.java:566)

at java.util.zip.ZipFile.access$900(ZipFile.java:60)

at java.util.zip.ZipFile$ZipEntryIterator.next(ZipFile.java:524)

at java.util.zip.ZipFile$ZipEntryIterator.nextElement(ZipFile.java:499)

at java.util.zip.ZipFile$ZipEntryIterator.nextElement(ZipFile.java:480)

at java.util.jar.JarFile$JarEntryIterator.next(JarFile.java:257)

at java.util.jar.JarFile$JarEntryIterator.nextElement(JarFile.java:266)

at java.util.jar.JarFile$JarEntryIterator.nextElement(JarFile.java:247)

at org.eclipse.tycho.packaging.FeatureXmlTransformer.getInstallSize(FeatureXmlTransformer.java:129)

at org.eclipse.tycho.packaging.FeatureXmlTransformer.setDownloadAndInstallSize(FeatureXmlTransformer.java:109)

at org.eclipse.tycho.packaging.FeatureXmlTransformer.expandReferences(FeatureXmlTransformer.java:64)

at org.eclipse.tycho.packaging.PackageFeatureMojo.expandVersionQualifiers(PackageFeatureMojo.java:254)

at org.eclipse.tycho.packaging.PackageFeatureMojo.execute(PackageFeatureMojo.java:125)

at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)

... 21 more

[ERROR]

[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/PluginExecutionException

[ERROR]

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR] mvn <goals> -rf :org.eclipse.ease.python.jython.feature



Any idea what might go wrong here?



thanks

Christian
Christian Pontesegger
2017-03-07 15:00:03 UTC
Permalink
no special characters used, just plain ASCII. Interestingly the build
just fails sometimes. Without changing any files roughly 10% of the
builds fail.

Christian
Sievers, Jan
2017-03-07 16:03:15 UTC
Permalink
any chance you are using special post-processing like signing with CBI [1]
and/or comparison and replacement of binaries from baseline repos [2] ?

could be caused e.g. by flaky network

can you share links to your git repo and steps for building?

Jan

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=464947
[2] https://wiki.eclipse.org/Tycho/Reproducible_Version_Qualifiers




On 07/03/2017, 14:04, "tycho-user-***@eclipse.org on behalf of Christian Pontesegger" <tycho-user-***@eclipse.org on behalf of ***@web.de> wrote:

Hi,
I asked a while back about this error message which I get on eclipse servers building features.
https://dev.eclipse.org/mhonarc/lists/tycho-user/msg07019.html
As it still occurs (now with tycho 1.0.0) I have some debug output available in the hope that devs can figure out what goes wrong here:


[INFO] --- tycho-packaging-plugin:1.0.0:package-feature (default-package-feature) @ org.eclipse.ease.python.jython.feature ---
[DEBUG] Configuring mojo org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature from plugin realm ClassRealm[plugin>org.eclipse.tycho:tycho-packaging-plugin:1.0.0, parent: sun.misc.Launcher$***@55f96302]
[DEBUG] Configuring mojo 'org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature' with basic configurator -->
[DEBUG] (f) basedir = /jobs/genie.ease/ease-build-core/workspace/features/org.eclipse.ease.lang.python.jython.feature
[DEBUG] (f) deployableFeature = false
[DEBUG] (f) finalName = org.eclipse.ease.python.jython.feature-0.5.0-SNAPSHOT
[DEBUG] (f) outputDirectory = /jobs/genie.ease/ease-build-core/workspace/features/org.eclipse.ease.lang.python.jython.feature/target
[DEBUG] (f) project = MavenProject: org.eclipse.ease:org.eclipse.ease.python.jython.feature:0.5.0-SNAPSHOT @ /jobs/genie.ease/ease-build-core/workspace/features/org.eclipse.ease.lang.python.jython.feature/pom.xml
[DEBUG] (f) qualifier = I201701130755
[DEBUG] (f) session = ***@218c25b9
[DEBUG] (f) strictBinIncludes = true
[DEBUG] (f) target = /jobs/genie.ease/ease-build-core/workspace/features/org.eclipse.ease.lang.python.jython.feature/target/site
[DEBUG] (f) useDefaultExcludes = true
[DEBUG] -- end configuration --
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] org.eclipse.ease.releng ............................ SUCCESS [ 1.347 s]
[INFO] org.eclipse.ease ................................... SUCCESS [ 9.308 s]
[INFO] org.eclipse.ease.ui ................................ SUCCESS [ 6.446 s]
[INFO] org.eclipse.ease.ui.scripts ........................ SUCCESS [ 6.658 s]
[INFO] org.eclipse.ease.lang.javascript ................... SUCCESS [ 4.194 s]
[INFO] org.eclipse.ease.lang.javascript.nashorn ........... SUCCESS [ 5.498 s]
[INFO] org.eclipse.ease.lang.javascript.rhino ............. SUCCESS [ 4.055 s]
[INFO] org.eclipse.ease.lang.javascript.rhino.debugger .... SUCCESS [ 4.614 s]
[INFO] org.eclipse.ease.lang.javascript.ui ................ SUCCESS [ 11.435 s]
[INFO] org.eclipse.ease.lang.python ....................... SUCCESS [ 5.558 s]
[INFO] org.eclipse.ease.help .............................. SUCCESS [ 9.240 s]
[INFO] org.eclipse.ease.feature ........................... SUCCESS [ 2.621 s]
[INFO] org.eclipse.ease.ui.feature ........................ SUCCESS [ 2.259 s]
[INFO] org.eclipse.ease.lang.javascript.feature ........... SUCCESS [ 6.692 s]
[INFO] org.eclipse.ease.lang.python.feature ............... SUCCESS [ 2.452 s]
[INFO] org.eclipse.ease.lang.python.jython ................ SUCCESS [ 9.961 s]
[INFO] org.eclipse.ease.lang.python.jython.debugger ....... SUCCESS [ 4.205 s]
[INFO] org.eclipse.ease.python.jython.feature ............. FAILURE [ 0.185 s]
[INFO] org.eclipse.ease.lang.python.py4j .................. SKIPPED
[INFO] org.eclipse.ease.lang.python.py4j.feature .......... SKIPPED
[INFO] org.eclipse.ease.lang.jvm.compiled ................. SKIPPED
[INFO] org.eclipse.ease.lang.jvm.feature .................. SKIPPED
[INFO] org.eclipse.ease.lang.groovy ....................... SKIPPED
[INFO] org.eclipse.ease.lang.groovy.interpreter ........... SKIPPED
[INFO] org.eclipse.ease.lang.groovy.feature ............... SKIPPED
[INFO] org.eclipse.ease.lang.ruby ......................... SKIPPED
[INFO] org.eclipse.ease.lang.ruby.jruby ................... SKIPPED
[INFO] org.eclipse.ease.lang.ruby.feature ................. SKIPPED
[INFO] org.eclipse.ease.releng.target ..................... SKIPPED
[INFO] org.eclipse.ease.releng.p2 ......................... SKIPPED
[INFO] org.eclipse.ease.releng.p2.source .................. SKIPPED
[INFO] org.eclipse.ease.test .............................. SKIPPED
[INFO] org.eclipse.ease.lang.javascript.rhino.test ........ SKIPPED
[INFO] org.eclipse.ease.lang.javascript.test .............. SKIPPED
[INFO] org.eclipse.ease.lang.python.test .................. SKIPPED
[INFO] org.eclipse.ease.lang.python.py4j.test ............. SKIPPED
[INFO] org.eclipse.ease.ui.test ........................... SKIPPED
[INFO] EASE (Incubation) .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:18 min
[INFO] Finished at: 2017-03-07T07:56:06-05:00
[INFO] Final Memory: 157M/3924M
[INFO] ------------------------------------------------------------------------
[INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)
[INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature (default-package-feature) on project org.eclipse.ease.python.jython.feature: Execution default-package-feature of goal org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature failed: MALFORMED
[DEBUG] Closing connection to remote
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature (default-package-feature) on project org.eclipse.ease.python.jython.feature: Execution default-package-feature of goal org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature failed: MALFORMED -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature (default-package-feature) on project org.eclipse.ease.python.jython.feature: Execution default-package-feature of goal org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature failed: MALFORMED
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:498)
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.PluginExecutionException: Execution default-package-feature of goal org.eclipse.tycho:tycho-packaging-plugin:1.0.0:package-feature failed: MALFORMED
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 20 more
Caused by: java.lang.IllegalArgumentException: MALFORMED
at java.util.zip.ZipCoder.toString(ZipCoder.java:58)
at java.util.zip.ZipFile.getZipEntry(ZipFile.java:566)
at java.util.zip.ZipFile.access$900(ZipFile.java:60)
at java.util.zip.ZipFile$ZipEntryIterator.next(ZipFile.java:524)
at java.util.zip.ZipFile$ZipEntryIterator.nextElement(ZipFile.java:499)
at java.util.zip.ZipFile$ZipEntryIterator.nextElement(ZipFile.java:480)
at java.util.jar.JarFile$JarEntryIterator.next(JarFile.java:257)
at java.util.jar.JarFile$JarEntryIterator.nextElement(JarFile.java:266)
at java.util.jar.JarFile$JarEntryIterator.nextElement(JarFile.java:247)
at org.eclipse.tycho.packaging.FeatureXmlTransformer.getInstallSize(FeatureXmlTransformer.java:129)
at org.eclipse.tycho.packaging.FeatureXmlTransformer.setDownloadAndInstallSize(FeatureXmlTransformer.java:109)
at org.eclipse.tycho.packaging.FeatureXmlTransformer.expandReferences(FeatureXmlTransformer.java:64)
at org.eclipse.tycho.packaging.PackageFeatureMojo.expandVersionQualifiers(PackageFeatureMojo.java:254)
at org.eclipse.tycho.packaging.PackageFeatureMojo.execute(PackageFeatureMojo.java:125)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
... 21 more
[ERROR]
[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/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :org.eclipse.ease.python.jython.feature
Any idea what might go wrong here?

thanks
Christian
Christian Pontesegger
2017-03-07 17:58:14 UTC
Permalink
I am using CBI signing v1.0.5. Will try to upgrade >=1.1.2 as suggested
in the bug entry and report back here.

Christian
Post by Sievers, Jan
any chance you are using special post-processing like signing with CBI [1]
and/or comparison and replacement of binaries from baseline repos [2] ?
could be caused e.g. by flaky network
can you share links to your git repo and steps for building?
Jan
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=464947
[2] https://wiki.eclipse.org/Tycho/Reproducible_Version_Qualifiers
Loading...