Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Hudson Build Fails After Running update-pom

Well it turns out that the hudson user was deleted from the system...

Once the user was restored, all was well.


On Tue, Jun 4, 2013 at 9:55 AM, Joseph D Carroll Jr <jdsalingerjr@xxxxxxxxx> wrote:
I should also note that maven is working on the server:

$ /usr/local/apache-maven/apache-maven-3.0.5/bin/mvn --version
which: no javac in (/opt/oracle/product/ora_current/bin:/usr/local/bin:/bin:/usr                                         /bin)
Warning: JAVA_HOME environment variable is not set.
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 13:51:                                         28+0000)
Maven home: /usr/local/apache-maven/apache-maven-3.0.5
Java version: 1.6.0, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.18-194.11.4.el5", arch: "amd64", family: "unix"
$

And if I switch to the "integrated" version of maven, I receive the same error....



On Tue, Jun 4, 2013 at 8:28 AM, Joseph D Carroll Jr <jdsalingerjr@xxxxxxxxx> wrote:
I'm using Hudson 3.0.0


On Tue, Jun 4, 2013 at 4:43 AM, Jeff MAURY <jeffmaury@xxxxxxxxxxxxx> wrote:
Joseph,

are you using Hudson or Jenkins ?

Regards
Jeff


On Tue, Jun 4, 2013 at 12:29 AM, Joseph D Carroll Jr <jdsalingerjr@xxxxxxxxx> wrote:
So I tried it locally, and it worked:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13:43.672s
[INFO] Finished at: Mon Jun 03 17:25:16 CDT 2013
[INFO] Final Memory: 202M/856M
[INFO] ------------------------------------------------------------------------

So does that mean the Hudson Maven integration is broken?  If so, what does that mean / how can I fix / how can I prevent?

Thanks,

JD


On Mon, Jun 3, 2013 at 10:31 AM, Oberlies, Tobias <tobias.oberlies@xxxxxxx> wrote:

I suspect that the Hudson Maven integration is broken. To check this, try to reproduce the problem with a local build from the command line.

 

Note that you can also have your Hudson/Jenkins execute builds via shell build steps. This should work just as a local build.

 

Regards

Tobias

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Joseph D Carroll Jr
Sent: Freitag, 31. Mai 2013 22:00
To: Tycho user list
Subject: [tycho-user] Hudson Build Fails After Running update-pom

 

I am able to sucessfully run update-pom for my build, and I have verified the updated poms in the build workspace.

 

However, the build fails just afterwards with:

 

org.osgi.framework.BundleException: Error converting plugin at /var/lib/hudson/jobs/Workbench Future - DEV/workspace.

Caused by: org.eclipse.osgi.service.pluginconversion.PluginConversionException: Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in /var/lib/hudson/jobs/Workbench Future - DEV/workspace.

Root exception:

org.eclipse.osgi.service.pluginconversion.PluginConversionException: Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in /var/lib/hudson/jobs/Workbench Future - DEV/workspace.

 

Attached is the full log.  Any insight would be appreciated.

 

At the very bottom it states:

 

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

[INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Could not instantiate required component

[DEBUG] Closing connection to remote

[ERROR] Internal error: java.lang.RuntimeException: Could not instantiate required component: com.google.inject.ProvisionException: Guice provision errors:

[ERROR] 

[ERROR] 1) Error notifying ProvisionListener org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager of org.eclipse.tycho.core.TargetPlatformResolver annotated with @com.google.inject.name.Named(value=p2).

[ERROR] Reason: java.lang.RuntimeException: java.lang.IllegalStateException: Service is not registered class='interface org.eclipse.tycho.core.facade.ProxyServiceFacade'

[ERROR] while locating org.eclipse.tycho.core.TargetPlatformResolver annotated with @com.google.inject.name.Named(value=p2)

[ERROR] 

[ERROR] 1 error

[ERROR] role: org.eclipse.tycho.core.TargetPlatformResolver

[ERROR] roleHint: p2

[ERROR] -> [Help 1]

org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Could not instantiate required component

Caused by: java.lang.RuntimeException: Could not instantiate required component

Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: com.google.inject.ProvisionException: Guice provision errors:

 

1) Error notifying ProvisionListener org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager of org.eclipse.tycho.core.TargetPlatformResolver annotated with @com.google.inject.name.Named(value=p2).

 Reason: java.lang.RuntimeException: java.lang.IllegalStateException: Service is not registered class='interface org.eclipse.tycho.core.facade.ProxyServiceFacade'

  while locating org.eclipse.tycho.core.TargetPlatformResolver annotated with @com.google.inject.name.Named(value=p2)

 

1 error

      role: org.eclipse.tycho.core.TargetPlatformResolver

  roleHint: p2

Caused by: com.google.inject.ProvisionException: Guice provision errors:

 

1) Error notifying ProvisionListener org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager of org.eclipse.tycho.core.TargetPlatformResolver annotated with @com.google.inject.name.Named(value=p2).

 Reason: java.lang.RuntimeException: java.lang.IllegalStateException: Service is not registered class='interface org.eclipse.tycho.core.facade.ProxyServiceFacade'

  while locating org.eclipse.tycho.core.TargetPlatformResolver annotated with @com.google.inject.name.Named(value=p2)

 

1 error

Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: Service is not registered class='interface org.eclipse.tycho.core.facade.ProxyServiceFacade'

Caused by: java.lang.IllegalStateException: Service is not registered class='interface org.eclipse.tycho.core.facade.ProxyServiceFacade'

 

Thanks,

 

JD


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user




--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user





Back to the top