Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [papyrus-rt-dev] Gerrit builds broken for Tooling

I’ve posted Gerrit 73860.  Of course the Codegen TPs needed regenerating, too.

😕

Christian



On 27 May, 2016 at 18:19:29, Ernesto Posse (eposse@xxxxxxxxxxxxx) wrote:

Thanks. Let me know if you'd like me to do anything on codegen.


On Fri, May 27, 2016 at 5:59 PM Christian Damus <give.a.damus@xxxxxxxxx> wrote:
The Gerrit with the fix was out of order, so it had to be rebased.

I’ll be merging as soon as the next test build passes.  They still take so long because of the packaging phase ...

Will send an update when it’s done.  I expect that would have to regenerate the codegen TPs.  In the best case, they import the base TPDs that the other components use, but they will still have to be regenerated because the actual TPs used by PDE and by Tycho are monolithic.

cW

On 27 May, 2016 at 17:56:22, Ernesto Posse (eposse@xxxxxxxxxxxxx) wrote:

Thanks Christian. 

Did you just merged these?

I started a codegen job and failed with the error below about the target platform. Is there something we need to do on the codegen side?

[ERROR] Cannot resolve target definition:
[ERROR]   Software being installed: org.eclipse.papyrus.sdk.feature.feature.group 2.0.0.201605251112
[ERROR]   Software being installed: org.eclipse.sdk.feature.group 4.6.0.v20160428-0800
[ERROR]   Only one of the following can be installed at once: [org.eclipse.ui 3.108.0.v20160518-1929, org.eclipse.ui 3.108.0.v20160505-1310, org.eclipse.ui 3.107.0.v20160422-1755]
[ERROR]   Cannot satisfy dependency: org.eclipse.papyrus.infra.gmfdiag.css.feature.feature.group 2.0.0.201605251112 depends on: org.eclipse.papyrus.infra.gmfdiag.css3.xtext.ui [2.0.0.201605251112]
[ERROR]   Cannot satisfy dependency: org.eclipse.papyrus.infra.gmfdiag.css3.xtext.ui 2.0.0.201605251112 depends on: bundle org.eclipse.ui [3.108.0,4.0.0)
[ERROR]   Cannot satisfy dependency: org.eclipse.papyrus.sdk.feature.feature.group 2.0.0.201605251112 depends on: org.eclipse.papyrus.infra.gmfdiag.css.feature.feature.group [2.0.0.201605251112]
[ERROR]   Cannot satisfy dependency: org.eclipse.platform.feature.group 4.6.0.v20160428-0800 depends on: org.eclipse.rcp.feature.group [4.6.0.v20160428-0800]
[ERROR]   Cannot satisfy dependency: org.eclipse.rcp.feature.group 4.6.0.v20160428-0800 depends on: org.eclipse.ui [3.107.0.v20160422-1755]
[ERROR]   Cannot satisfy dependency: org.eclipse.sdk.feature.group 4.6.0.v20160428-0800 depends on: org.eclipse.platform.feature.group [4.6.0.v20160428-0800]
[ERROR]   
[INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)
[INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.MavenExecutionException: Failed to resolve target definition /jobs/genie.papyrus-rt/Papyrus-RT-CodegenRTS-BuildFrom-gerrit-Master/workspace/source/releng/codegen/targetplatform/org.eclipse.papyrusrt.codegen.targetplatform.neon.papyrusrelease/org.eclipse.papyrusrt.codegen.targetplatform.neon.papyrusrelease.target
[DEBUG] Closing connection to remote
[ERROR] Failed to resolve target definition /jobs/genie.papyrus-rt/Papyrus-RT-CodegenRTS-BuildFrom-gerrit-Master/workspace/source/releng/codegen/targetplatform/org.eclipse.papyrusrt.codegen.targetplatform.neon.papyrusrelease/org.eclipse.papyrusrt.codegen.targetplatform.neon.papyrusrelease.target: See log for details -> [Help 1]
org.apache.maven.MavenExecutionException: Failed to resolve target definition /jobs/genie.papyrus-rt/Papyrus-RT-CodegenRTS-BuildFrom-gerrit-Master/workspace/source/releng/codegen/targetplatform/org.eclipse.papyrusrt.codegen.targetplatform.neon.papyrusrelease/org.eclipse.papyrusrt.codegen.targetplatform.neon.papyrusrelease.target
        at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:100)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:266)
        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.eclipse.tycho.core.shared.BuildFailureException: Failed to resolve target definition /jobs/genie.papyrus-rt/Papyrus-RT-CodegenRTS-BuildFrom-gerrit-Master/workspace/source/releng/codegen/targetplatform/org.eclipse.papyrusrt.codegen.targetplatform.neon.papyrusrelease/org.eclipse.papyrusrt.codegen.targetplatform.neon.papyrusrelease.target
        at org.eclipse.tycho.p2.target.TargetDefinitionResolver.resolveContent(TargetDefinitionResolver.java:103)
        at org.eclipse.tycho.p2.target.TargetDefinitionResolverService.resolveFromArguments(TargetDefinitionResolverService.java:70)
        at org.eclipse.tycho.p2.target.TargetDefinitionResolverService.getTargetDefinitionContent(TargetDefinitionResolverService.java:60)
        at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.resolveTargetDefinitions(TargetPlatformFactoryImpl.java:214)
        at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:155)
        at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:128)
        at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:1)
        at org.eclipse.tycho.p2.manager.ReactorRepositoryManagerImpl.computePreliminaryTargetPlatform(ReactorRepositoryManagerImpl.java:84)
        at org.eclipse.tycho.p2.resolver.P2DependencyResolver.computePreliminaryTargetPlatform(P2DependencyResolver.java:223)
        at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject(DefaultTychoResolver.java:109)
        at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:95)
        ... 14 more
Caused by: org.eclipse.tycho.p2.util.resolution.ResolverException: See log for details
        at org.eclipse.tycho.p2.util.resolution.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:88)
        at org.eclipse.tycho.p2.util.resolution.AbstractResolutionStrategy.multiPlatformResolve(AbstractResolutionStrategy.java:50)
        at org.eclipse.tycho.p2.target.TargetDefinitionResolver$ResolverRun.resolve(TargetDefinitionResolver.java:200)
        at org.eclipse.tycho.p2.target.TargetDefinitionResolver.resolveContentWithExceptions(TargetDefinitionResolver.java:136)
        at org.eclipse.tycho.p2.target.TargetDefinitionResolver.resolveContent(TargetDefinitionResolver.java:94)
        ... 24 more

On Fri, May 27, 2016 at 5:49 PM Christian Damus <give.a.damus@xxxxxxxxx> wrote:
Okay, I have a fix for the builds pending in Gerrit.

It was just as easy as re-generating the target platform definitions to align with the requirements of the latest Papyrus builds.

Christian



On 27 May, 2016 at 12:28:22, Christian Damus (give.a.damus@xxxxxxxxx) wrote:

Hi,

I have a Gerrit build failure [1] that looks like a misprovisioned target platform or some such, not just a temporary glitch in p2 repositories as we are accustomed to by now.  

The interesting bit is this:

[ERROR] Cannot resolve target definition:
[ERROR]   Software being installed: org.eclipse.papyrus.sdk.feature.feature.group 2.0.0.201605251112
[ERROR]   Software being installed: org.eclipse.sdk.feature.group 4.6.0.v20160428-0800
[ERROR]   Only one of the following can be installed at once: [org.eclipse.ui 3.108.0.v20160518-1929, org.eclipse.ui 3.108.0.v20160505-1310, org.eclipse.ui 3.107.0.v20160422-1755]
[ERROR]   Cannot satisfy dependency: org.eclipse.papyrus.infra.gmfdiag.css.feature.feature.group 2.0.0.201605251112 depends on: org.eclipse.papyrus.infra.gmfdiag.css3.xtext.ui [2.0.0.201605251112]
[ERROR]   Cannot satisfy dependency: org.eclipse.papyrus.infra.gmfdiag.css3.xtext.ui 2.0.0.201605251112 depends on: bundle org.eclipse.ui [3.108.0,4.0.0)
[ERROR]   Cannot satisfy dependency: org.eclipse.papyrus.sdk.feature.feature.group 2.0.0.201605251112 depends on: org.eclipse.papyrus.infra.gmfdiag.css.feature.feature.group [2.0.0.201605251112]
[ERROR]   Cannot satisfy dependency: org.eclipse.platform.feature.group 4.6.0.v20160428-0800 depends on: org.eclipse.rcp.feature.group [4.6.0.v20160428-0800]
[ERROR]   Cannot satisfy dependency: org.eclipse.rcp.feature.group 4.6.0.v20160428-0800 depends on: org.eclipse.ui [3.107.0.v20160422-1755]
[ERROR]   Cannot satisfy dependency: org.eclipse.sdk.feature.group 4.6.0.v20160428-0800 depends on: org.eclipse.platform.feature.group [4.6.0.v20160428-0800]
[ERROR]     
[INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)
[INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.MavenExecutionException: Failed to resolve target definition /jobs/genie.papyrus-rt/Papyrus-RT-Gerrit-master/workspace/source/targetplatform/org.eclipse.papyrusrt.targetplatform.neon.papyrusrelease/org.eclipse.papyrusrt.targetplatform.neon.papyrusrelease.target
[DEBUG] Closing connection to remote
[ERROR] Failed to resolve target definition /jobs/genie.papyrus-rt/Papyrus-RT-Gerrit-master/workspace/source/targetplatform/org.eclipse.papyrusrt.targetplatform.neon.papyrusrelease/org.eclipse.papyrusrt.targetplatform.neon.papyrusrelease.target: See log for details -> [Help 1]


Any ideas how to fix this?  This will stop Gerrit contributions in their tracks until it’s resolved.

_______________________________________________
papyrus-rt-dev mailing list
papyrus-rt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/papyrus-rt-dev
_______________________________________________
papyrus-rt-dev mailing list
papyrus-rt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/papyrus-rt-dev
_______________________________________________
papyrus-rt-dev mailing list
papyrus-rt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/papyrus-rt-dev
_______________________________________________
papyrus-rt-dev mailing list
papyrus-rt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/papyrus-rt-dev

Back to the top