Discussion:
[cross-project-issues-dev] Incompatible / incomplete update of tycho 1.3.0-SNAPSHOT?
Stephan Herrmann
2018-10-02 16:21:40 UTC
Permalink
Just now I started seeing the following exception in builds:

18:11:08 Exception in thread "main" java.lang.NoSuchMethodError:
org.eclipse.tycho.p2.metadata.DependencyMetadataGenerator.generateMetadata(Lorg/eclipse/tycho/p2/metadata/IArtifactFacade;Ljava/util/List;Lorg/eclipse/tycho/core/resolver/shared/OptionalResolutionAction;)Lorg/eclipse/tycho/p2/metadata/IDependencyMetadata;
18:11:08 at
org.eclipse.tycho.extras.custombundle.CustomBundleP2MetadataProvider.getDependencyMetadata(CustomBundleP2MetadataProvider.java:62)
18:11:08 at org.eclipse.tycho.p2.resolver.P2DependencyResolver$1.run(P2DependencyResolver.java:158)

details can be found at
https://hudson.eclipse.org/jdt/job/eclipse.jdt.core-run.javac-11/6/console

Could this be a SNAPSHOT deployment still in progress / aborted half way?
I do see slight variance in qualifiers:

https://repo.eclipse.org/content/repositories/tycho-snapshots/org/eclipse/tycho/tycho/1.3.0-SNAPSHOT/tycho-1.3.0-20181002.151915-12.pom
https://repo.eclipse.org/content/repositories/tycho-snapshots/org/eclipse/tycho/tycho-core/1.3.0-SNAPSHOT/tycho-core-1.3.0-20181002.152319-12.pom

Has anybody else seen this?

Stephan
Mickael Istria
2018-10-02 16:35:20 UTC
Permalink
Hi Stephan,
Post by Stephan Herrmann
org.eclipse.tycho.p2.metadata.DependencyMetadataGenerator.generateMetadata(Lorg/eclipse/tycho/p2/metadata/IArtifactFacade;Ljava/util/List;Lorg/eclipse/tycho/core/resolver/shared/OptionalResolutionAction;)Lorg/eclipse/tycho/p2/metadata/IDependencyMetadata;
Those specific Tycho issue would better be sent to the tycho-user
mailing-list and/or on Tycho bugzilla component.
Post by Stephan Herrmann
Could this be a SNAPSHOT deployment still in progress / aborted half way?
The extensive test suite in Tycho reports no issue, so I hope Tycho is fine.
This could very well be that your build took place at the same time as
https://ci.eclipse.org/tycho/job/tycho-build/904/ so you get different
versions of dependent jars resulting in such incompatibility.

I suggest you just try again, making sure you get the last version of the
snapshots. Since the job is configured to delete workspace on startup, it
should fetch the latest jars in anycase.
If after a retry you see the same failure, please report it as a bug in
Tycho.

HTH
Stephan Herrmann
2018-10-02 17:09:06 UTC
Permalink
Turns out, all JDT/Core tycho builds are affected, even after many retries.
And I assume many other builds will be, too.
I filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=539733

Stephan
Post by Mickael Istria
Hi Stephan,
org.eclipse.tycho.p2.metadata.DependencyMetadataGenerator.generateMetadata(Lorg/eclipse/tycho/p2/metadata/IArtifactFacade;Ljava/util/List;Lorg/eclipse/tycho/core/resolver/shared/OptionalResolutionAction;)Lorg/eclipse/tycho/p2/metadata/IDependencyMetadata;
Those specific Tycho issue would better be sent to the tycho-user mailing-list and/or on Tycho bugzilla component.
Could this be a SNAPSHOT deployment still in progress / aborted half way?
The extensive test suite in Tycho reports no issue, so I hope Tycho is fine.
This could very well be that your build took place at the same time as https://ci.eclipse.org/tycho/job/tycho-build/904/ so you get
different versions of dependent jars resulting in such incompatibility.
I suggest you just try again, making sure you get the last version of the snapshots. Since the job is configured to delete workspace
on startup, it should fetch the latest jars in anycase.
If after a retry you see the same failure, please report it as a bug in Tycho.
HTH
_______________________________________________
cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
Loading...