Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-dev] Strange maven build error

Hi,

Has anyone an idea what happened with the jgit build below, see
https://hudson.eclipse.org/jgit/job/jgit.gerrit/7245/?

I've re-triggered it but it still fails with same error. Is the /tmp directory on the hudson instance full or not accessible for whatever reason?

The main build and tests were fine but maven throws this error at the end:

[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.DependencyResolver annotated with @com.google.inject.name.Named(value=p2). [ERROR] Reason: java.lang.RuntimeException: java.io.IOException: Could not create temp dir /tmp/tycho4833478202295173109equinox [ERROR] while locating org.eclipse.tycho.core.DependencyResolver annotated with @com.google.inject.name.Named(value=p2)
[ERROR]
[ERROR] 1 error
[ERROR] role: org.eclipse.tycho.core.DependencyResolver
[ERROR] roleHint: p2
[ERROR] -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Could not instantiate required component
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	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:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: java.lang.RuntimeException: Could not instantiate required component at org.eclipse.tycho.core.resolver.DefaultDependencyResolverFactory.lookupDependencyResolver(DefaultDependencyResolverFactory.java:76) at org.eclipse.tycho.core.resolver.DefaultTychoResolver.setupProject(DefaultTychoResolver.java:95) at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:90)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	... 11 more
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.DependencyResolver annotated with @com.google.inject.name.Named(value=p2). Reason: java.lang.RuntimeException: java.io.IOException: Could not create temp dir /tmp/tycho4833478202295173109equinox while locating org.eclipse.tycho.core.DependencyResolver annotated with @com.google.inject.name.Named(value=p2)

1 error
      role: org.eclipse.tycho.core.DependencyResolver
  roleHint: p2
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:257) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245) at org.eclipse.tycho.core.resolver.DefaultDependencyResolverFactory.lookupDependencyResolver(DefaultDependencyResolverFactory.java:74)
	... 15 more
Caused by: com.google.inject.ProvisionException: Guice provision errors:

1) Error notifying ProvisionListener org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager of org.eclipse.tycho.core.DependencyResolver annotated with @com.google.inject.name.Named(value=p2). Reason: java.lang.RuntimeException: java.io.IOException: Could not create temp dir /tmp/tycho4833478202295173109equinox while locating org.eclipse.tycho.core.DependencyResolver annotated with @com.google.inject.name.Named(value=p2)

1 error
	at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:974)
	at com.google.inject.Scopes$1$1.get(Scopes.java:59)
at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253)
	... 17 more
Caused by: java.lang.RuntimeException: java.io.IOException: Could not create temp dir /tmp/tycho4833478202295173109equinox at org.eclipse.sisu.equinox.embedder.internal.DefaultEquinoxEmbedder.checkStarted(DefaultEquinoxEmbedder.java:312) at org.eclipse.sisu.equinox.embedder.internal.DefaultEquinoxEmbedder.getService(DefaultEquinoxEmbedder.java:286) at org.eclipse.sisu.equinox.embedder.internal.DefaultEquinoxEmbedder.getService(DefaultEquinoxEmbedder.java:280) at org.eclipse.tycho.p2.resolver.P2DependencyResolver.initialize(P2DependencyResolver.java:428) at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:338) at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:296) at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:148) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108) at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
	at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011)
	at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961)
	... 21 more
Caused by: java.io.IOException: Could not create temp dir /tmp/tycho4833478202295173109equinox at org.eclipse.sisu.equinox.embedder.internal.DefaultEquinoxEmbedder.copyToTempFolder(DefaultEquinoxEmbedder.java:192) at org.eclipse.sisu.equinox.embedder.internal.DefaultEquinoxEmbedder.doStart(DefaultEquinoxEmbedder.java:138) at org.eclipse.sisu.equinox.embedder.internal.DefaultEquinoxEmbedder.start(DefaultEquinoxEmbedder.java:67) at org.eclipse.sisu.equinox.embedder.internal.DefaultEquinoxEmbedder.checkStarted(DefaultEquinoxEmbedder.java:310)
	... 34 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/InternalErrorException
[DEBUG] Waiting for process to finish
[DEBUG] Result: 1
[FINDBUGS] Skipping publisher since build result is FAILURE
[DRY] Skipping publisher since build result is FAILURE
Recording test results
Finished: FAILURE



-------- Weitergeleitete Nachricht --------
Betreff: Change in jgit/jgit[master]: Added closeForcibly() method to Repository
Datum: Wed, 14 Oct 2015 08:57:50 -0400
Von: Hudson CI (Code Review) <gerrit@xxxxxxxxxxx>
An: Andrey Loskutov <loskutov@xxxxxx>

Hudson CI has posted comments on this change.

Change subject: Added closeForcibly() method to Repository
......................................................................


Patch Set 1: Verified-1

Build Failed

https://hudson.eclipse.org/jgit/job/jgit.gerrit/7245/ : FAILURE

--
To view, visit https://git.eclipse.org/r/58149
To unsubscribe, visit https://git.eclipse.org/r/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I5baf4c62fd4c779f2f8e5c9054d216a84ae11264
Gerrit-PatchSet: 1
Gerrit-Project: jgit/jgit
Gerrit-Branch: master
Gerrit-Owner: Andrey Loskutov <loskutov@xxxxxx>
Gerrit-Reviewer: Hudson CI
Gerrit-HasComments: No




Back to the top